Share via


StorageAccountResource.GetPrivateLinkResourcesAsync(CancellationToken) Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateLinkResources
  • Operation Id: PrivateLinkResources_ListByStorageAccount
  • Default Api Version: 2022-09-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.Storage.Models.StoragePrivateLinkResourceData> GetPrivateLinkResourcesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPrivateLinkResourcesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.Models.StoragePrivateLinkResourceData>
override this.GetPrivateLinkResourcesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.Models.StoragePrivateLinkResourceData>
Public Overridable Function GetPrivateLinkResourcesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of StoragePrivateLinkResourceData)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to