public interface ActionGroupsClient extends InnerSupportsGet<ActionGroupResourceInner>, InnerSupportsListing<ActionGroupResourceInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
ActionGroupResourceInner |
createOrUpdate(String resourceGroupName,
String actionGroupName,
ActionGroupResourceInner actionGroup)
Create a new action group or update an existing one.
|
Mono<ActionGroupResourceInner> |
createOrUpdateAsync(String resourceGroupName,
String actionGroupName,
ActionGroupResourceInner actionGroup)
Create a new action group or update an existing one.
|
com.azure.core.http.rest.Response<ActionGroupResourceInner> |
createOrUpdateWithResponse(String resourceGroupName,
String actionGroupName,
ActionGroupResourceInner actionGroup,
com.azure.core.util.Context context)
Create a new action group or update an existing one.
|
Mono<com.azure.core.http.rest.Response<ActionGroupResourceInner>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String actionGroupName,
ActionGroupResourceInner actionGroup)
Create a new action group or update an existing one.
|
void |
delete(String resourceGroupName,
String actionGroupName)
Delete an action group.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String actionGroupName)
Delete an action group.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String actionGroupName,
com.azure.core.util.Context context)
Delete an action group.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteWithResponseAsync(String resourceGroupName,
String actionGroupName)
Delete an action group.
|
void |
enableReceiver(String resourceGroupName,
String actionGroupName,
String receiverName)
Enable a receiver in an action group.
|
Mono<Void> |
enableReceiverAsync(String resourceGroupName,
String actionGroupName,
String receiverName)
Enable a receiver in an action group.
|
com.azure.core.http.rest.Response<Void> |
enableReceiverWithResponse(String resourceGroupName,
String actionGroupName,
String receiverName,
com.azure.core.util.Context context)
Enable a receiver in an action group.
|
Mono<com.azure.core.http.rest.Response<Void>> |
enableReceiverWithResponseAsync(String resourceGroupName,
String actionGroupName,
String receiverName)
Enable a receiver in an action group.
|
ActionGroupResourceInner |
getByResourceGroup(String resourceGroupName,
String actionGroupName)
Get an action group.
|
Mono<ActionGroupResourceInner> |
getByResourceGroupAsync(String resourceGroupName,
String actionGroupName)
Get an action group.
|
com.azure.core.http.rest.Response<ActionGroupResourceInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String actionGroupName,
com.azure.core.util.Context context)
Get an action group.
|
Mono<com.azure.core.http.rest.Response<ActionGroupResourceInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String actionGroupName)
Get an action group.
|
com.azure.core.http.rest.PagedIterable<ActionGroupResourceInner> |
list()
Get a list of all action groups in a subscription.
|
com.azure.core.http.rest.PagedIterable<ActionGroupResourceInner> |
list(com.azure.core.util.Context context)
Get a list of all action groups in a subscription.
|
com.azure.core.http.rest.PagedFlux<ActionGroupResourceInner> |
listAsync()
Get a list of all action groups in a subscription.
|
com.azure.core.http.rest.PagedIterable<ActionGroupResourceInner> |
listByResourceGroup(String resourceGroupName)
Get a list of all action groups in a resource group.
|
com.azure.core.http.rest.PagedIterable<ActionGroupResourceInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Get a list of all action groups in a resource group.
|
com.azure.core.http.rest.PagedFlux<ActionGroupResourceInner> |
listByResourceGroupAsync(String resourceGroupName)
Get a list of all action groups in a resource group.
|
ActionGroupResourceInner |
update(String resourceGroupName,
String actionGroupName,
ActionGroupPatchBody actionGroupPatch)
Updates an existing action group's tags.
|
Mono<ActionGroupResourceInner> |
updateAsync(String resourceGroupName,
String actionGroupName,
ActionGroupPatchBody actionGroupPatch)
Updates an existing action group's tags.
|
com.azure.core.http.rest.Response<ActionGroupResourceInner> |
updateWithResponse(String resourceGroupName,
String actionGroupName,
ActionGroupPatchBody actionGroupPatch,
com.azure.core.util.Context context)
Updates an existing action group's tags.
|
Mono<com.azure.core.http.rest.Response<ActionGroupResourceInner>> |
updateWithResponseAsync(String resourceGroupName,
String actionGroupName,
ActionGroupPatchBody actionGroupPatch)
Updates an existing action group's tags.
|
Mono<com.azure.core.http.rest.Response<ActionGroupResourceInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String actionGroupName, ActionGroupResourceInner actionGroup)
resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.actionGroup - An action group resource.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.Mono<ActionGroupResourceInner> createOrUpdateAsync(String resourceGroupName, String actionGroupName, ActionGroupResourceInner actionGroup)
resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.actionGroup - An action group resource.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.ActionGroupResourceInner createOrUpdate(String resourceGroupName, String actionGroupName, ActionGroupResourceInner actionGroup)
resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.actionGroup - An action group resource.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.com.azure.core.http.rest.Response<ActionGroupResourceInner> createOrUpdateWithResponse(String resourceGroupName, String actionGroupName, ActionGroupResourceInner actionGroup, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.actionGroup - An action group resource.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<ActionGroupResourceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String actionGroupName)
resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.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.Mono<ActionGroupResourceInner> getByResourceGroupAsync(String resourceGroupName, String actionGroupName)
getByResourceGroupAsync in interface InnerSupportsGet<ActionGroupResourceInner>resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.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.ActionGroupResourceInner getByResourceGroup(String resourceGroupName, String actionGroupName)
getByResourceGroup in interface InnerSupportsGet<ActionGroupResourceInner>resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.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.com.azure.core.http.rest.Response<ActionGroupResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String actionGroupName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String actionGroupName)
resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.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.Mono<Void> deleteAsync(String resourceGroupName, String actionGroupName)
deleteAsync in interface InnerSupportsDelete<Void>resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.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.void delete(String resourceGroupName, String actionGroupName)
resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.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.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String actionGroupName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<ActionGroupResourceInner>> updateWithResponseAsync(String resourceGroupName, String actionGroupName, ActionGroupPatchBody actionGroupPatch)
resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.actionGroupPatch - An action group object for the body of patch operations.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.Mono<ActionGroupResourceInner> updateAsync(String resourceGroupName, String actionGroupName, ActionGroupPatchBody actionGroupPatch)
resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.actionGroupPatch - An action group object for the body of patch operations.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.ActionGroupResourceInner update(String resourceGroupName, String actionGroupName, ActionGroupPatchBody actionGroupPatch)
resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.actionGroupPatch - An action group object for the body of patch operations.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.com.azure.core.http.rest.Response<ActionGroupResourceInner> updateWithResponse(String resourceGroupName, String actionGroupName, ActionGroupPatchBody actionGroupPatch, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.actionGroupPatch - An action group object for the body of patch operations.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<ActionGroupResourceInner> listAsync()
listAsync in interface InnerSupportsListing<ActionGroupResourceInner>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.com.azure.core.http.rest.PagedIterable<ActionGroupResourceInner> list()
list in interface InnerSupportsListing<ActionGroupResourceInner>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.com.azure.core.http.rest.PagedIterable<ActionGroupResourceInner> list(com.azure.core.util.Context context)
context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<ActionGroupResourceInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync in interface InnerSupportsListing<ActionGroupResourceInner>resourceGroupName - The name of the resource group.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.com.azure.core.http.rest.PagedIterable<ActionGroupResourceInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup in interface InnerSupportsListing<ActionGroupResourceInner>resourceGroupName - The name of the resource group.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.com.azure.core.http.rest.PagedIterable<ActionGroupResourceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Void>> enableReceiverWithResponseAsync(String resourceGroupName, String actionGroupName, String receiverName)
resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.receiverName - The name of the receiver to resubscribe.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.Mono<Void> enableReceiverAsync(String resourceGroupName, String actionGroupName, String receiverName)
resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.receiverName - The name of the receiver to resubscribe.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.void enableReceiver(String resourceGroupName, String actionGroupName, String receiverName)
resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.receiverName - The name of the receiver to resubscribe.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.com.azure.core.http.rest.Response<Void> enableReceiverWithResponse(String resourceGroupName, String actionGroupName, String receiverName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.actionGroupName - The name of the action group.receiverName - The name of the receiver to resubscribe.context - The context to associate with this operation.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.Copyright © 2020 Microsoft Corporation. All rights reserved.