SiteRecoveryAlertCollection.GetAllAsync(CancellationToken) Method

Definition

Gets the list of email notification(alert) configurations for the vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings
  • Operation Id: ReplicationAlertSettings_List
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryAlertResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryAlertResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryAlertResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryAlertResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SiteRecoveryAlertResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SiteRecoveryAlertResource that may take multiple service requests to iterate over.

Applies to