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. : StorageSyncServices_ListByStorageSyncService.
  • Default Api Version. : 2022-09-01.
  • Resource. : StorageSyncServiceResource.
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

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

Applies to