Interface ApplicationGroupsClient


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

      • getByResourceGroup

        ApplicationGroupInner getByResourceGroup​(String resourceGroupName,
                                                 String applicationGroupName)
        Get an application group.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        applicationGroupName - The name of the application group.
        Returns:
        an 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.
      • getByResourceGroupWithResponse

        com.azure.core.http.rest.Response<ApplicationGroupInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                                String applicationGroupName,
                                                                                                com.azure.core.util.Context context)
        Get an application group.
        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:
        an 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.
      • createOrUpdate

        ApplicationGroupInner createOrUpdate​(String resourceGroupName,
                                             String applicationGroupName,
                                             ApplicationGroupInner applicationGroup)
        Create or update an applicationGroup.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        applicationGroupName - The name of the application group.
        applicationGroup - Object containing ApplicationGroup definitions.
        Returns:
        represents a ApplicationGroup definition.
        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<ApplicationGroupInner> createOrUpdateWithResponse​(String resourceGroupName,
                                                                                            String applicationGroupName,
                                                                                            ApplicationGroupInner applicationGroup,
                                                                                            com.azure.core.util.Context context)
        Create or update an applicationGroup.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        applicationGroupName - The name of the application group.
        applicationGroup - Object containing ApplicationGroup definitions.
        context - The context to associate with this operation.
        Returns:
        represents a ApplicationGroup definition.
        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)
        Remove an applicationGroup.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        applicationGroupName - The name of the 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,
                                                                   com.azure.core.util.Context context)
        Remove an applicationGroup.
        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:
        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

        ApplicationGroupInner update​(String resourceGroupName,
                                     String applicationGroupName)
        Update an applicationGroup.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        applicationGroupName - The name of the application group.
        Returns:
        represents a ApplicationGroup definition.
        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<ApplicationGroupInner> updateWithResponse​(String resourceGroupName,
                                                                                    String applicationGroupName,
                                                                                    ApplicationGroupPatch applicationGroup,
                                                                                    com.azure.core.util.Context context)
        Update an applicationGroup.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        applicationGroupName - The name of the application group.
        applicationGroup - Object containing ApplicationGroup definitions.
        context - The context to associate with this operation.
        Returns:
        represents a ApplicationGroup definition.
        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.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<ApplicationGroupInner> listByResourceGroup​(String resourceGroupName)
        List applicationGroups.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        Returns:
        applicationGroupList.
        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.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<ApplicationGroupInner> listByResourceGroup​(String resourceGroupName,
                                                                                          String filter,
                                                                                          com.azure.core.util.Context context)
        List applicationGroups.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        filter - OData filter expression. Valid properties for filtering are applicationGroupType.
        context - The context to associate with this operation.
        Returns:
        applicationGroupList.
        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<ApplicationGroupInner> list()
        List applicationGroups in subscription.
        Returns:
        applicationGroupList.
        Throws:
        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<ApplicationGroupInner> list​(String filter,
                                                                           com.azure.core.util.Context context)
        List applicationGroups in subscription.
        Parameters:
        filter - OData filter expression. Valid properties for filtering are applicationGroupType.
        context - The context to associate with this operation.
        Returns:
        applicationGroupList.
        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.