Interface ActionGroupsClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<ActionGroupResourceInner>, InnerSupportsListing<ActionGroupResourceInner>

An instance of this class provides access to all the operations defined in ActionGroupsClient.
  • 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 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.
    • 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 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.
    • getByResourceGroupAsync

      Mono<ActionGroupResourceInner> getByResourceGroupAsync(String resourceGroupName, String actionGroupName)
      Get an action group.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<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

      ActionGroupResourceInner getByResourceGroup(String resourceGroupName, String actionGroupName)
      Get an action group.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<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 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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String actionGroupName)
      Delete an action group.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<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

      void delete(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.
      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 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

      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 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.
    • 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 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.
    • 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 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.
    • 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 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.
    • getTestNotificationsAsync

      Mono<TestNotificationDetailsResponseInner> getTestNotificationsAsync(String notificationId)
      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

      TestNotificationDetailsResponseInner getTestNotifications(String notificationId)
      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 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.
    • 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 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.
    • 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 interface InnerSupportsListing<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 interface InnerSupportsListing<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 interface InnerSupportsListing<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 interface InnerSupportsListing<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 of Mono.
      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

      void enableReceiver(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.
      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.