PrivateLinkResourcesOperationsExtensions.ListByStorageAccountAsync(IPrivateLinkResourcesOperations, String, String, CancellationToken) Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Models.PrivateLinkResourceListResult> ListByStorageAccountAsync (this Microsoft.Azure.Management.Storage.IPrivateLinkResourcesOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default);
static member ListByStorageAccountAsync : Microsoft.Azure.Management.Storage.IPrivateLinkResourcesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Models.PrivateLinkResourceListResult>
<Extension()>
Public Function ListByStorageAccountAsync (operations As IPrivateLinkResourcesOperations, resourceGroupName As String, accountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateLinkResourceListResult)

Parameters

operations
IPrivateLinkResourcesOperations

The operations group for this extension method.

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.

Returns

System.Threading.Tasks.Task<PrivateLinkResourceListResult>

Applies to