Interface ApplicationGroupsClient
public interface ApplicationGroupsClient
An instance of this class provides access to all the operations defined in ApplicationGroupsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String applicationGroupName, ApplicationGroupInner applicationGroup) Create or update an applicationGroup.createOrUpdateAsync
(String resourceGroupName, String applicationGroupName, ApplicationGroupInner applicationGroup) Create or update an applicationGroup.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.Mono<com.azure.core.http.rest.Response<ApplicationGroupInner>>
createOrUpdateWithResponseAsync
(String resourceGroupName, String applicationGroupName, ApplicationGroupInner applicationGroup) Create or update an applicationGroup.void
Remove an applicationGroup.deleteAsync
(String resourceGroupName, String applicationGroupName) Remove an applicationGroup.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String applicationGroupName, com.azure.core.util.Context context) Remove an applicationGroup.deleteWithResponseAsync
(String resourceGroupName, String applicationGroupName) Remove an applicationGroup.getByResourceGroup
(String resourceGroupName, String applicationGroupName) Get an application group.getByResourceGroupAsync
(String resourceGroupName, String applicationGroupName) Get an application group.com.azure.core.http.rest.Response<ApplicationGroupInner>
getByResourceGroupWithResponse
(String resourceGroupName, String applicationGroupName, com.azure.core.util.Context context) Get an application group.Mono<com.azure.core.http.rest.Response<ApplicationGroupInner>>
getByResourceGroupWithResponseAsync
(String resourceGroupName, String applicationGroupName) Get an application group.com.azure.core.http.rest.PagedIterable<ApplicationGroupInner>
list()
List applicationGroups in subscription.com.azure.core.http.rest.PagedIterable<ApplicationGroupInner>
List applicationGroups in subscription.com.azure.core.http.rest.PagedFlux<ApplicationGroupInner>
List applicationGroups in subscription.com.azure.core.http.rest.PagedFlux<ApplicationGroupInner>
List applicationGroups in subscription.com.azure.core.http.rest.PagedIterable<ApplicationGroupInner>
listByResourceGroup
(String resourceGroupName) List applicationGroups.com.azure.core.http.rest.PagedIterable<ApplicationGroupInner>
listByResourceGroup
(String resourceGroupName, String filter, com.azure.core.util.Context context) List applicationGroups.com.azure.core.http.rest.PagedFlux<ApplicationGroupInner>
listByResourceGroupAsync
(String resourceGroupName) List applicationGroups.com.azure.core.http.rest.PagedFlux<ApplicationGroupInner>
listByResourceGroupAsync
(String resourceGroupName, String filter) List applicationGroups.Update an applicationGroup.updateAsync
(String resourceGroupName, String applicationGroupName) Update an applicationGroup.updateAsync
(String resourceGroupName, String applicationGroupName, ApplicationGroupPatch applicationGroup) Update an applicationGroup.com.azure.core.http.rest.Response<ApplicationGroupInner>
updateWithResponse
(String resourceGroupName, String applicationGroupName, ApplicationGroupPatch applicationGroup, com.azure.core.util.Context context) Update an applicationGroup.Mono<com.azure.core.http.rest.Response<ApplicationGroupInner>>
updateWithResponseAsync
(String resourceGroupName, String applicationGroupName, ApplicationGroupPatch applicationGroup) Update an applicationGroup.
-
Method Details
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<ApplicationGroupInner>> getByResourceGroupWithResponseAsync(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 along with
Response
on successful completion ofMono
. - 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.
-
getByResourceGroupAsync
Mono<ApplicationGroupInner> getByResourceGroupAsync(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 on successful completion of
Mono
. - 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.
-
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 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<ApplicationGroupInner>> createOrUpdateWithResponseAsync(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 along with
Response
on successful completion ofMono
. - 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.
-
createOrUpdateAsync
Mono<ApplicationGroupInner> createOrUpdateAsync(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 on successful completion of
Mono
. - 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 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(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.- Returns:
- the
Response
on successful completion ofMono
. - 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.
-
deleteAsync
Remove an applicationGroup.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationGroupName
- The name of the application group.- Returns:
- A
Mono
that completes when a successful response is received. - 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
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.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<ApplicationGroupInner>> updateWithResponseAsync(String resourceGroupName, String applicationGroupName, ApplicationGroupPatch applicationGroup) 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 along with
Response
on successful completion ofMono
. - 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.
-
updateAsync
Mono<ApplicationGroupInner> updateAsync(String resourceGroupName, String applicationGroupName, ApplicationGroupPatch applicationGroup) 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 on successful completion of
Mono
. - 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.
-
updateAsync
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 on successful completion of
Mono
. - 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
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 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<ApplicationGroupInner> listByResourceGroupAsync(String resourceGroupName, String filter) 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.- Returns:
- applicationGroupList as paginated response with
PagedFlux
. - 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<ApplicationGroupInner> listByResourceGroupAsync(String resourceGroupName) List applicationGroups.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- applicationGroupList as paginated response with
PagedFlux
. - 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 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<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 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.
-
listAsync
List applicationGroups in subscription.- Parameters:
filter
- OData filter expression. Valid properties for filtering are applicationGroupType.- Returns:
- applicationGroupList as paginated response with
PagedFlux
. - 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<ApplicationGroupInner> listAsync()List applicationGroups in subscription.- Returns:
- applicationGroupList as paginated response with
PagedFlux
. - 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()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<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 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.
-