PrivateLinkResourcesOperations.ListByStorageAccountAsync(String, String, CancellationToken) Method

Definition

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

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.Models.PrivateLinkResourceListResult>> ListByStorageAccountAsync (string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByStorageAccountAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.Models.PrivateLinkResourceListResult>>
override this.ListByStorageAccountAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.Models.PrivateLinkResourceListResult>>
Public Overridable Function ListByStorageAccountAsync (resourceGroupName As String, accountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PrivateLinkResourceListResult))

Parameters

resourceGroupName
System.String

The name of the resource group within the user's subscription. The name is case insensitive.

accountName
System.String

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<Response<PrivateLinkResourceListResult>>

Applies to