Interface ApplicationsClient


  • public interface ApplicationsClient
    An instance of this class provides access to all the operations defined in ApplicationsClient.
    • Method Detail

      • get

        ApplicationInner get​(String resourceGroupName,
                             String applicationGroupName,
                             String applicationName)
        Get an application.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        applicationGroupName - The name of the application group.
        applicationName - The name of the application within the specified application group.
        Returns:
        an application.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponse

        com.azure.core.http.rest.Response<ApplicationInner> getWithResponse​(String resourceGroupName,
                                                                            String applicationGroupName,
                                                                            String applicationName,
                                                                            com.azure.core.util.Context context)
        Get an application.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        applicationGroupName - The name of the application group.
        applicationName - The name of the application within the specified application group.
        context - The context to associate with this operation.
        Returns:
        an application.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        ApplicationInner createOrUpdate​(String resourceGroupName,
                                        String applicationGroupName,
                                        String applicationName,
                                        ApplicationInner application)
        Create or update an application.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        applicationGroupName - The name of the application group.
        applicationName - The name of the application within the specified application group.
        application - Object containing Application definitions.
        Returns:
        schema for Application properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdateWithResponse

        com.azure.core.http.rest.Response<ApplicationInner> createOrUpdateWithResponse​(String resourceGroupName,
                                                                                       String applicationGroupName,
                                                                                       String applicationName,
                                                                                       ApplicationInner application,
                                                                                       com.azure.core.util.Context context)
        Create or update an application.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        applicationGroupName - The name of the application group.
        applicationName - The name of the application within the specified application group.
        application - Object containing Application definitions.
        context - The context to associate with this operation.
        Returns:
        schema for Application properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • delete

        void delete​(String resourceGroupName,
                    String applicationGroupName,
                    String applicationName)
        Remove an application.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        applicationGroupName - The name of the application group.
        applicationName - The name of the application within the specified application group.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteWithResponse

        com.azure.core.http.rest.Response<Void> deleteWithResponse​(String resourceGroupName,
                                                                   String applicationGroupName,
                                                                   String applicationName,
                                                                   com.azure.core.util.Context context)
        Remove an application.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        applicationGroupName - The name of the application group.
        applicationName - The name of the application within the specified application group.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • update

        ApplicationInner update​(String resourceGroupName,
                                String applicationGroupName,
                                String applicationName)
        Update an application.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        applicationGroupName - The name of the application group.
        applicationName - The name of the application within the specified application group.
        Returns:
        schema for Application properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateWithResponse

        com.azure.core.http.rest.Response<ApplicationInner> updateWithResponse​(String resourceGroupName,
                                                                               String applicationGroupName,
                                                                               String applicationName,
                                                                               ApplicationPatch application,
                                                                               com.azure.core.util.Context context)
        Update an application.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        applicationGroupName - The name of the application group.
        applicationName - The name of the application within the specified application group.
        application - Object containing Application definitions.
        context - The context to associate with this operation.
        Returns:
        schema for Application properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.PagedIterable<ApplicationInner> list​(String resourceGroupName,
                                                                      String applicationGroupName)
        List applications.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        applicationGroupName - The name of the application group.
        Returns:
        applicationList.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.PagedIterable<ApplicationInner> list​(String resourceGroupName,
                                                                      String applicationGroupName,
                                                                      com.azure.core.util.Context context)
        List applications.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        applicationGroupName - The name of the application group.
        context - The context to associate with this operation.
        Returns:
        applicationList.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.