Interface SystemProfilesApi


  • public interface SystemProfilesApi
    • Method Detail

      • getProfiles

        @GET("api/v2/profiles")
        retrofit2.Call<SystemProfiles> getProfiles()
        List System Profiles Get a list of all System Profiles of the AppMon Server.
        Returns:
        Call<SystemProfiles>
      • getSystemProfileConfigurationStatus

        @GET("api/v2/profiles/{profileid}/configurations/{configname}/status")
        retrofit2.Call<ActivationStatus> getSystemProfileConfigurationStatus​(@Path("profileid")
                                                                             String profileid,
                                                                             @Path("configname")
                                                                             String configname)
        Activation status of System Profile configuration Retrieve the activation state of a System Profile configuration.
        Parameters:
        profileid - System Profile id (required)
        configname - Configuration name (required)
        Returns:
        Call<ActivationStatus>
      • getSystemProfileConfigurations

        @GET("api/v2/profiles/{profileid}/configurations")
        retrofit2.Call<SystemProfileConfigurations> getSystemProfileConfigurations​(@Path("profileid")
                                                                                   String profileid)
        List System Profile configurations Get a list of all configurations of the specified System Profile.
        Parameters:
        profileid - System Profile id (required)
        Returns:
        Call<SystemProfileConfigurations>
      • getSystemProfileMetaData

        @GET("api/v2/profiles/{profileid}")
        retrofit2.Call<SystemProfile> getSystemProfileMetaData​(@Path("profileid")
                                                               String profileid)
        System Profile Metadata Get a JSON representation describing the System Profile and its meta data.
        Parameters:
        profileid - System Profile id (required)
        Returns:
        Call<SystemProfile>
      • getSystemProfileState

        @GET("api/v2/profiles/{profileid}/status")
        retrofit2.Call<ActivationStatus> getSystemProfileState​(@Path("profileid")
                                                               String profileid)
        Activation status of System Profile Retrieve the activation state of a System Profile.
        Parameters:
        profileid - System Profile id (required)
        Returns:
        Call<ActivationStatus>
      • putSystemProfileConfigurationStatus

        @Headers("Content-Type:application/json")
        @PUT("api/v2/profiles/{profileid}/configurations/{configname}/status")
        retrofit2.Call<Void> putSystemProfileConfigurationStatus​(@Path("profileid")
                                                                 String profileid,
                                                                 @Path("configname")
                                                                 String configname,
                                                                 @Body
                                                                 ActivationStatus body)
        Activate System Profile configuration Change the activation state of a System Profile. Activating a configuration automatically sets all other configurations to DISABLED. Manually setting the activation state to DISABLED via this call is not allowed.
        Parameters:
        profileid - System Profile id (required)
        configname - Configuration name (required)
        body - Activation state (optional)
        Returns:
        Call<Void>
      • putSystemProfileState

        @Headers("Content-Type:application/json")
        @PUT("api/v2/profiles/{profileid}/status")
        retrofit2.Call<Void> putSystemProfileState​(@Path("profileid")
                                                   String profileid,
                                                   @Body
                                                   ActivationStatus body)
        Enable/disable System Profile Change the activation state of a System Profile.
        Parameters:
        profileid - System Profile id (required)
        body - Activation state (optional)
        Returns:
        Call<Void>