Interface ActionGroupsClient
- All Superinterfaces:
InnerSupportsDelete<Void>
,InnerSupportsGet<ActionGroupResourceInner>
,InnerSupportsListing<ActionGroupResourceInner>
public interface ActionGroupsClient
extends InnerSupportsGet<ActionGroupResourceInner>, InnerSupportsListing<ActionGroupResourceInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in ActionGroupsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<TestNotificationDetailsResponseInner>, TestNotificationDetailsResponseInner> beginCreateNotificationsAtActionGroupResourceLevel
(String resourceGroupName, String actionGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<TestNotificationDetailsResponseInner>, TestNotificationDetailsResponseInner> beginCreateNotificationsAtActionGroupResourceLevel
(String resourceGroupName, String actionGroupName, NotificationRequestBody notificationRequest, com.azure.core.util.Context context) Send test notifications to a set of provided receivers.com.azure.core.util.polling.PollerFlux
<com.azure.core.management.polling.PollResult<TestNotificationDetailsResponseInner>, TestNotificationDetailsResponseInner> beginCreateNotificationsAtActionGroupResourceLevelAsync
(String resourceGroupName, String actionGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<TestNotificationDetailsResponseInner>, TestNotificationDetailsResponseInner> beginCreateNotificationsAtResourceGroupLevel
(String resourceGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<TestNotificationDetailsResponseInner>, TestNotificationDetailsResponseInner> beginCreateNotificationsAtResourceGroupLevel
(String resourceGroupName, NotificationRequestBody notificationRequest, com.azure.core.util.Context context) Send test notifications to a set of provided receivers.com.azure.core.util.polling.PollerFlux
<com.azure.core.management.polling.PollResult<TestNotificationDetailsResponseInner>, TestNotificationDetailsResponseInner> beginCreateNotificationsAtResourceGroupLevelAsync
(String resourceGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<TestNotificationDetailsResponseInner>, TestNotificationDetailsResponseInner> beginPostTestNotifications
(NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<TestNotificationDetailsResponseInner>, TestNotificationDetailsResponseInner> beginPostTestNotifications
(NotificationRequestBody notificationRequest, com.azure.core.util.Context context) Send test notifications to a set of provided receivers.com.azure.core.util.polling.PollerFlux
<com.azure.core.management.polling.PollResult<TestNotificationDetailsResponseInner>, TestNotificationDetailsResponseInner> beginPostTestNotificationsAsync
(NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.createNotificationsAtActionGroupResourceLevel
(String resourceGroupName, String actionGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.createNotificationsAtActionGroupResourceLevel
(String resourceGroupName, String actionGroupName, NotificationRequestBody notificationRequest, com.azure.core.util.Context context) Send test notifications to a set of provided receivers.createNotificationsAtActionGroupResourceLevelAsync
(String resourceGroupName, String actionGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createNotificationsAtActionGroupResourceLevelWithResponseAsync
(String resourceGroupName, String actionGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.createNotificationsAtResourceGroupLevel
(String resourceGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.createNotificationsAtResourceGroupLevel
(String resourceGroupName, NotificationRequestBody notificationRequest, com.azure.core.util.Context context) Send test notifications to a set of provided receivers.createNotificationsAtResourceGroupLevelAsync
(String resourceGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createNotificationsAtResourceGroupLevelWithResponseAsync
(String resourceGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.createOrUpdate
(String resourceGroupName, String actionGroupName, ActionGroupResourceInner actionGroup) Create a new action group or update an existing one.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 an action group.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.deleteWithResponseAsync
(String resourceGroupName, String actionGroupName) Delete an action group.void
enableReceiver
(String resourceGroupName, String actionGroupName, EnableRequest enableRequest) Enable a receiver in an action group.enableReceiverAsync
(String resourceGroupName, String actionGroupName, EnableRequest enableRequest) Enable a receiver in an action group.com.azure.core.http.rest.Response
<Void> enableReceiverWithResponse
(String resourceGroupName, String actionGroupName, EnableRequest enableRequest, com.azure.core.util.Context context) Enable a receiver in an action group.enableReceiverWithResponseAsync
(String resourceGroupName, String actionGroupName, EnableRequest enableRequest) Enable a receiver in an action group.getByResourceGroup
(String resourceGroupName, String actionGroupName) Get an action group.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.getTestNotifications
(String notificationId) Get the test notifications by the notification id.getTestNotificationsAsync
(String notificationId) Get the test notifications by the notification id.getTestNotificationsAtActionGroupResourceLevel
(String resourceGroupName, String actionGroupName, String notificationId) Get the test notifications by the notification id.getTestNotificationsAtActionGroupResourceLevelAsync
(String resourceGroupName, String actionGroupName, String notificationId) Get the test notifications by the notification id.com.azure.core.http.rest.Response
<TestNotificationDetailsResponseInner> getTestNotificationsAtActionGroupResourceLevelWithResponse
(String resourceGroupName, String actionGroupName, String notificationId, com.azure.core.util.Context context) Get the test notifications by the notification id.Mono
<com.azure.core.http.rest.Response<TestNotificationDetailsResponseInner>> getTestNotificationsAtActionGroupResourceLevelWithResponseAsync
(String resourceGroupName, String actionGroupName, String notificationId) Get the test notifications by the notification id.getTestNotificationsAtResourceGroupLevel
(String resourceGroupName, String notificationId) Get the test notifications by the notification id.getTestNotificationsAtResourceGroupLevelAsync
(String resourceGroupName, String notificationId) Get the test notifications by the notification id.com.azure.core.http.rest.Response
<TestNotificationDetailsResponseInner> getTestNotificationsAtResourceGroupLevelWithResponse
(String resourceGroupName, String notificationId, com.azure.core.util.Context context) Get the test notifications by the notification id.Mono
<com.azure.core.http.rest.Response<TestNotificationDetailsResponseInner>> getTestNotificationsAtResourceGroupLevelWithResponseAsync
(String resourceGroupName, String notificationId) Get the test notifications by the notification id.com.azure.core.http.rest.Response
<TestNotificationDetailsResponseInner> getTestNotificationsWithResponse
(String notificationId, com.azure.core.util.Context context) Get the test notifications by the notification id.Mono
<com.azure.core.http.rest.Response<TestNotificationDetailsResponseInner>> getTestNotificationsWithResponseAsync
(String notificationId) Get the test notifications by the notification id.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> 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.postTestNotifications
(NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.postTestNotifications
(NotificationRequestBody notificationRequest, com.azure.core.util.Context context) Send test notifications to a set of provided receivers.postTestNotificationsAsync
(NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> postTestNotificationsWithResponseAsync
(NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.update
(String resourceGroupName, String actionGroupName, ActionGroupPatchBody actionGroupPatch) Updates an existing action group's tags.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.
-
Method Details
-
createOrUpdateWithResponseAsync
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.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.actionGroup
- The action group to create or use for the update.- Returns:
- an action group resource 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<ActionGroupResourceInner> createOrUpdateAsync(String resourceGroupName, String actionGroupName, ActionGroupResourceInner actionGroup) Create a new action group or update an existing one.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.actionGroup
- The action group to create or use for the update.- Returns:
- an action group resource 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.
-
createOrUpdateWithResponse
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.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.actionGroup
- The action group to create or use for the update.context
- The context to associate with this operation.- Returns:
- an action group resource 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.
-
createOrUpdate
ActionGroupResourceInner createOrUpdate(String resourceGroupName, String actionGroupName, ActionGroupResourceInner actionGroup) Create a new action group or update an existing one.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.actionGroup
- The action group to create or use for the update.- Returns:
- an action group resource.
- 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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<ActionGroupResourceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String actionGroupName) Get an action group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.- Returns:
- an action 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<ActionGroupResourceInner> getByResourceGroupAsync(String resourceGroupName, String actionGroupName) Get an action group.- Specified by:
getByResourceGroupAsync
in interfaceInnerSupportsGet<ActionGroupResourceInner>
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.- Returns:
- an action 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ActionGroupResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String actionGroupName, com.azure.core.util.Context context) Get an action group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.context
- The context to associate with this operation.- Returns:
- an action 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 action group.- Specified by:
getByResourceGroup
in interfaceInnerSupportsGet<ActionGroupResourceInner>
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.- Returns:
- an action 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String actionGroupName) Delete an action group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action 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
Delete an action group.- Specified by:
deleteAsync
in interfaceInnerSupportsDelete<Void>
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String actionGroupName, com.azure.core.util.Context context) Delete an action group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action 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.
-
delete
Delete an action group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action 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.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<ActionGroupResourceInner>> updateWithResponseAsync(String resourceGroupName, String actionGroupName, ActionGroupPatchBody actionGroupPatch) Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.actionGroupPatch
- Parameters supplied to the operation.- Returns:
- an action group resource 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<ActionGroupResourceInner> updateAsync(String resourceGroupName, String actionGroupName, ActionGroupPatchBody actionGroupPatch) Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.actionGroupPatch
- Parameters supplied to the operation.- Returns:
- an action group resource 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.
-
updateWithResponse
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. To update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.actionGroupPatch
- Parameters supplied to the operation.context
- The context to associate with this operation.- Returns:
- an action group resource 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.
-
update
ActionGroupResourceInner update(String resourceGroupName, String actionGroupName, ActionGroupPatchBody actionGroupPatch) Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.actionGroupPatch
- Parameters supplied to the operation.- Returns:
- an action group resource.
- 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.
-
postTestNotificationsWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> postTestNotificationsWithResponseAsync(NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.- Parameters:
notificationRequest
- The notification request body which includes the contact details.- Returns:
- the details of the test notification results 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.
-
beginPostTestNotificationsAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<TestNotificationDetailsResponseInner>,TestNotificationDetailsResponseInner> beginPostTestNotificationsAsync(NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.- Parameters:
notificationRequest
- The notification request body which includes the contact details.- Returns:
- the
PollerFlux
for polling of the details of the test notification results. - 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.
-
beginPostTestNotifications
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TestNotificationDetailsResponseInner>,TestNotificationDetailsResponseInner> beginPostTestNotifications(NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.- Parameters:
notificationRequest
- The notification request body which includes the contact details.- Returns:
- the
SyncPoller
for polling of the details of the test notification results. - 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.
-
beginPostTestNotifications
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TestNotificationDetailsResponseInner>,TestNotificationDetailsResponseInner> beginPostTestNotifications(NotificationRequestBody notificationRequest, com.azure.core.util.Context context) Send test notifications to a set of provided receivers.- Parameters:
notificationRequest
- The notification request body which includes the contact details.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the details of the test notification results. - 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.
-
postTestNotificationsAsync
Mono<TestNotificationDetailsResponseInner> postTestNotificationsAsync(NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.- Parameters:
notificationRequest
- The notification request body which includes the contact details.- Returns:
- the details of the test notification results 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.
-
postTestNotifications
TestNotificationDetailsResponseInner postTestNotifications(NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.- Parameters:
notificationRequest
- The notification request body which includes the contact details.- Returns:
- the details of the test notification results.
- 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.
-
postTestNotifications
TestNotificationDetailsResponseInner postTestNotifications(NotificationRequestBody notificationRequest, com.azure.core.util.Context context) Send test notifications to a set of provided receivers.- Parameters:
notificationRequest
- The notification request body which includes the contact details.context
- The context to associate with this operation.- Returns:
- the details of the test notification results.
- 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.
-
createNotificationsAtResourceGroupLevelWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createNotificationsAtResourceGroupLevelWithResponseAsync(String resourceGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.notificationRequest
- The notification request body which includes the contact details.- Returns:
- the details of the test notification results 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.
-
beginCreateNotificationsAtResourceGroupLevelAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<TestNotificationDetailsResponseInner>,TestNotificationDetailsResponseInner> beginCreateNotificationsAtResourceGroupLevelAsync(String resourceGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.notificationRequest
- The notification request body which includes the contact details.- Returns:
- the
PollerFlux
for polling of the details of the test notification results. - 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.
-
beginCreateNotificationsAtResourceGroupLevel
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TestNotificationDetailsResponseInner>,TestNotificationDetailsResponseInner> beginCreateNotificationsAtResourceGroupLevel(String resourceGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.notificationRequest
- The notification request body which includes the contact details.- Returns:
- the
SyncPoller
for polling of the details of the test notification results. - 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.
-
beginCreateNotificationsAtResourceGroupLevel
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TestNotificationDetailsResponseInner>,TestNotificationDetailsResponseInner> beginCreateNotificationsAtResourceGroupLevel(String resourceGroupName, NotificationRequestBody notificationRequest, com.azure.core.util.Context context) Send test notifications to a set of provided receivers.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.notificationRequest
- The notification request body which includes the contact details.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the details of the test notification results. - 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.
-
createNotificationsAtResourceGroupLevelAsync
Mono<TestNotificationDetailsResponseInner> createNotificationsAtResourceGroupLevelAsync(String resourceGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.notificationRequest
- The notification request body which includes the contact details.- Returns:
- the details of the test notification results 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.
-
createNotificationsAtResourceGroupLevel
TestNotificationDetailsResponseInner createNotificationsAtResourceGroupLevel(String resourceGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.notificationRequest
- The notification request body which includes the contact details.- Returns:
- the details of the test notification results.
- 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.
-
createNotificationsAtResourceGroupLevel
TestNotificationDetailsResponseInner createNotificationsAtResourceGroupLevel(String resourceGroupName, NotificationRequestBody notificationRequest, com.azure.core.util.Context context) Send test notifications to a set of provided receivers.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.notificationRequest
- The notification request body which includes the contact details.context
- The context to associate with this operation.- Returns:
- the details of the test notification results.
- 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.
-
createNotificationsAtActionGroupResourceLevelWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createNotificationsAtActionGroupResourceLevelWithResponseAsync(String resourceGroupName, String actionGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.notificationRequest
- The notification request body which includes the contact details.- Returns:
- the details of the test notification results 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.
-
beginCreateNotificationsAtActionGroupResourceLevelAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<TestNotificationDetailsResponseInner>,TestNotificationDetailsResponseInner> beginCreateNotificationsAtActionGroupResourceLevelAsync(String resourceGroupName, String actionGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.notificationRequest
- The notification request body which includes the contact details.- Returns:
- the
PollerFlux
for polling of the details of the test notification results. - 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.
-
beginCreateNotificationsAtActionGroupResourceLevel
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TestNotificationDetailsResponseInner>,TestNotificationDetailsResponseInner> beginCreateNotificationsAtActionGroupResourceLevel(String resourceGroupName, String actionGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.notificationRequest
- The notification request body which includes the contact details.- Returns:
- the
SyncPoller
for polling of the details of the test notification results. - 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.
-
beginCreateNotificationsAtActionGroupResourceLevel
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TestNotificationDetailsResponseInner>,TestNotificationDetailsResponseInner> beginCreateNotificationsAtActionGroupResourceLevel(String resourceGroupName, String actionGroupName, NotificationRequestBody notificationRequest, com.azure.core.util.Context context) Send test notifications to a set of provided receivers.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.notificationRequest
- The notification request body which includes the contact details.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the details of the test notification results. - 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.
-
createNotificationsAtActionGroupResourceLevelAsync
Mono<TestNotificationDetailsResponseInner> createNotificationsAtActionGroupResourceLevelAsync(String resourceGroupName, String actionGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.notificationRequest
- The notification request body which includes the contact details.- Returns:
- the details of the test notification results 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.
-
createNotificationsAtActionGroupResourceLevel
TestNotificationDetailsResponseInner createNotificationsAtActionGroupResourceLevel(String resourceGroupName, String actionGroupName, NotificationRequestBody notificationRequest) Send test notifications to a set of provided receivers.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.notificationRequest
- The notification request body which includes the contact details.- Returns:
- the details of the test notification results.
- 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.
-
createNotificationsAtActionGroupResourceLevel
TestNotificationDetailsResponseInner createNotificationsAtActionGroupResourceLevel(String resourceGroupName, String actionGroupName, NotificationRequestBody notificationRequest, com.azure.core.util.Context context) Send test notifications to a set of provided receivers.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.notificationRequest
- The notification request body which includes the contact details.context
- The context to associate with this operation.- Returns:
- the details of the test notification results.
- 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.
-
getTestNotificationsWithResponseAsync
Mono<com.azure.core.http.rest.Response<TestNotificationDetailsResponseInner>> getTestNotificationsWithResponseAsync(String notificationId) Get the test notifications by the notification id.- Parameters:
notificationId
- The notification id.- Returns:
- the test notifications by the notification id 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.
-
getTestNotificationsAsync
Get the test notifications by the notification id.- Parameters:
notificationId
- The notification id.- Returns:
- the test notifications by the notification id 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.
-
getTestNotificationsWithResponse
com.azure.core.http.rest.Response<TestNotificationDetailsResponseInner> getTestNotificationsWithResponse(String notificationId, com.azure.core.util.Context context) Get the test notifications by the notification id.- Parameters:
notificationId
- The notification id.context
- The context to associate with this operation.- Returns:
- the test notifications by the notification id 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.
-
getTestNotifications
Get the test notifications by the notification id.- Parameters:
notificationId
- The notification id.- Returns:
- the test notifications by the notification 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.
-
getTestNotificationsAtResourceGroupLevelWithResponseAsync
Mono<com.azure.core.http.rest.Response<TestNotificationDetailsResponseInner>> getTestNotificationsAtResourceGroupLevelWithResponseAsync(String resourceGroupName, String notificationId) Get the test notifications by the notification id.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.notificationId
- The notification id.- Returns:
- the test notifications by the notification id 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.
-
getTestNotificationsAtResourceGroupLevelAsync
Mono<TestNotificationDetailsResponseInner> getTestNotificationsAtResourceGroupLevelAsync(String resourceGroupName, String notificationId) Get the test notifications by the notification id.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.notificationId
- The notification id.- Returns:
- the test notifications by the notification id 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.
-
getTestNotificationsAtResourceGroupLevelWithResponse
com.azure.core.http.rest.Response<TestNotificationDetailsResponseInner> getTestNotificationsAtResourceGroupLevelWithResponse(String resourceGroupName, String notificationId, com.azure.core.util.Context context) Get the test notifications by the notification id.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.notificationId
- The notification id.context
- The context to associate with this operation.- Returns:
- the test notifications by the notification id 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.
-
getTestNotificationsAtResourceGroupLevel
TestNotificationDetailsResponseInner getTestNotificationsAtResourceGroupLevel(String resourceGroupName, String notificationId) Get the test notifications by the notification id.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.notificationId
- The notification id.- Returns:
- the test notifications by the notification 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.
-
getTestNotificationsAtActionGroupResourceLevelWithResponseAsync
Mono<com.azure.core.http.rest.Response<TestNotificationDetailsResponseInner>> getTestNotificationsAtActionGroupResourceLevelWithResponseAsync(String resourceGroupName, String actionGroupName, String notificationId) Get the test notifications by the notification id.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.notificationId
- The notification id.- Returns:
- the test notifications by the notification id 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.
-
getTestNotificationsAtActionGroupResourceLevelAsync
Mono<TestNotificationDetailsResponseInner> getTestNotificationsAtActionGroupResourceLevelAsync(String resourceGroupName, String actionGroupName, String notificationId) Get the test notifications by the notification id.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.notificationId
- The notification id.- Returns:
- the test notifications by the notification id 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.
-
getTestNotificationsAtActionGroupResourceLevelWithResponse
com.azure.core.http.rest.Response<TestNotificationDetailsResponseInner> getTestNotificationsAtActionGroupResourceLevelWithResponse(String resourceGroupName, String actionGroupName, String notificationId, com.azure.core.util.Context context) Get the test notifications by the notification id.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.notificationId
- The notification id.context
- The context to associate with this operation.- Returns:
- the test notifications by the notification id 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.
-
getTestNotificationsAtActionGroupResourceLevel
TestNotificationDetailsResponseInner getTestNotificationsAtActionGroupResourceLevel(String resourceGroupName, String actionGroupName, String notificationId) Get the test notifications by the notification id.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.notificationId
- The notification id.- Returns:
- the test notifications by the notification 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<ActionGroupResourceInner> listAsync()Get a list of all action groups in a subscription.- Specified by:
listAsync
in interfaceInnerSupportsListing<ActionGroupResourceInner>
- Returns:
- a list of all action groups in a subscription 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<ActionGroupResourceInner> list()Get a list of all action groups in a subscription.- Specified by:
list
in interfaceInnerSupportsListing<ActionGroupResourceInner>
- Returns:
- a list of all action groups in a subscription 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<ActionGroupResourceInner> list(com.azure.core.util.Context context) Get a list of all action groups in a subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- a list of all action groups in a subscription 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<ActionGroupResourceInner> listByResourceGroupAsync(String resourceGroupName) Get a list of all action groups in a resource group.- Specified by:
listByResourceGroupAsync
in interfaceInnerSupportsListing<ActionGroupResourceInner>
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- a list of all action groups in a resource group 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<ActionGroupResourceInner> listByResourceGroup(String resourceGroupName) Get a list of all action groups in a resource group.- Specified by:
listByResourceGroup
in interfaceInnerSupportsListing<ActionGroupResourceInner>
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- a list of all action groups in a resource group 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<ActionGroupResourceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Get a list of all action groups in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- a list of all action groups in a resource group 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.
-
enableReceiverWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> enableReceiverWithResponseAsync(String resourceGroupName, String actionGroupName, EnableRequest enableRequest) Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.enableRequest
- The receiver to re-enable.- 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.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server on status code 409.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
enableReceiverAsync
Mono<Void> enableReceiverAsync(String resourceGroupName, String actionGroupName, EnableRequest enableRequest) Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.enableRequest
- The receiver to re-enable.- 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.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server on status code 409.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
enableReceiverWithResponse
com.azure.core.http.rest.Response<Void> enableReceiverWithResponse(String resourceGroupName, String actionGroupName, EnableRequest enableRequest, com.azure.core.util.Context context) Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.enableRequest
- The receiver to re-enable.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.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server on status code 409.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
enableReceiver
Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.actionGroupName
- The name of the action group.enableRequest
- The receiver to re-enable.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server on status code 409.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-