SiteRecoveryNetworkCollection.GetAllAsync(CancellationToken) Method

Definition

Lists the networks available for a fabric.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to