Interface ApplicationGroups
public interface ApplicationGroups
Resource collection API of ApplicationGroups.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new ApplicationGroup resource.voiddeleteById(String id) Remove an applicationGroup.com.azure.core.http.rest.Response<Void>deleteByIdWithResponse(String id, com.azure.core.util.Context context) Remove an applicationGroup.voiddeleteByResourceGroup(String resourceGroupName, String applicationGroupName) Remove an applicationGroup.com.azure.core.http.rest.Response<Void>deleteByResourceGroupWithResponse(String resourceGroupName, String applicationGroupName, com.azure.core.util.Context context) Remove an applicationGroup.Get an application group.com.azure.core.http.rest.Response<ApplicationGroup>getByIdWithResponse(String id, com.azure.core.util.Context context) Get an application group.getByResourceGroup(String resourceGroupName, String applicationGroupName) Get an application group.com.azure.core.http.rest.Response<ApplicationGroup>getByResourceGroupWithResponse(String resourceGroupName, String applicationGroupName, com.azure.core.util.Context context) Get an application group.com.azure.core.http.rest.PagedIterable<ApplicationGroup>list()List applicationGroups in subscription.com.azure.core.http.rest.PagedIterable<ApplicationGroup>List applicationGroups in subscription.com.azure.core.http.rest.PagedIterable<ApplicationGroup>listByResourceGroup(String resourceGroupName) List applicationGroups.com.azure.core.http.rest.PagedIterable<ApplicationGroup>listByResourceGroup(String resourceGroupName, String filter, Integer pageSize, Boolean isDescending, Integer initialSkip, com.azure.core.util.Context context) List applicationGroups.
-
Method Details
-
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 along with
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.
-
getByResourceGroup
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.
-
deleteByResourceGroupWithResponse
com.azure.core.http.rest.Response<Void> deleteByResourceGroupWithResponse(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.
-
deleteByResourceGroup
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.
-
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 as paginated response with
PagedIterable. - 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, Integer pageSize, Boolean isDescending, Integer initialSkip, 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.pageSize- Number of items per page.isDescending- Indicates whether the collection is descending.initialSkip- Initial number of items to skip.context- The context to associate with this operation.- Returns:
- applicationGroupList as paginated response with
PagedIterable. - 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 as paginated response with
PagedIterable. - 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 as paginated response with
PagedIterable. - 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
Get an application group.- Parameters:
id- the resource ID.- Returns:
- an application group along with
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.
-
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 along with
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.
-
deleteById
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
Begins definition for a new ApplicationGroup resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new ApplicationGroup definition.
-