Share via


StorageSyncServiceResource.GetPrivateLinkResourcesAsync Method

Definition

Gets the private link resources that need to be created for a storage sync service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/privateLinkResources
  • Operation Id: PrivateLinkResources_ListByStorageSyncService
public virtual Azure.AsyncPageable<Azure.ResourceManager.StorageSync.Models.StorageSyncPrivateLinkResource> GetPrivateLinkResourcesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPrivateLinkResourcesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StorageSync.Models.StorageSyncPrivateLinkResource>
override this.GetPrivateLinkResourcesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StorageSync.Models.StorageSyncPrivateLinkResource>
Public Overridable Function GetPrivateLinkResourcesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of StorageSyncPrivateLinkResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to