Interface ApplicationGroups


  • public interface ApplicationGroups
    Resource collection API of ApplicationGroups.
    • Method Detail

      • getByResourceGroup

        ApplicationGroup 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<ApplicationGroup> 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.
      • deleteByResourceGroup

        void deleteByResourceGroup​(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.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<ApplicationGroup> 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<ApplicationGroup> 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<ApplicationGroup> 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<ApplicationGroup> 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.
      • getById

        ApplicationGroup getById​(String id)
        Get an application group.
        Parameters:
        id - the resource ID.
        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.
      • getByIdWithResponse

        com.azure.core.http.rest.Response<ApplicationGroup> getByIdWithResponse​(String id,
                                                                                com.azure.core.util.Context context)
        Get an application group.
        Parameters:
        id - the resource ID.
        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.
      • deleteById

        void deleteById​(String id)
        Remove an applicationGroup.
        Parameters:
        id - the resource ID.
        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.
      • deleteByIdWithResponse

        com.azure.core.http.rest.Response<Void> deleteByIdWithResponse​(String id,
                                                                       com.azure.core.util.Context context)
        Remove an applicationGroup.
        Parameters:
        id - the resource ID.
        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.
      • define

        ApplicationGroup.DefinitionStages.Blank define​(String name)
        Begins definition for a new ApplicationGroup resource.
        Parameters:
        name - resource name.
        Returns:
        the first stage of the new ApplicationGroup definition.