SiteRecoveryVCenterCollection.GetAll(CancellationToken) Method

Definition

Lists the vCenter servers registered in a fabric.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of SiteRecoveryVCenterResource that may take multiple service requests to iterate over.

Applies to