Share via


RecoveryServicesPrivateLinkResourceCollection.GetAllAsync Method

Definition

Returns the list of private link resources that need to be created for Backup and SiteRecovery

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to