ObjectReplicationPoliciesOperationsExtensions.ListAsync(IObjectReplicationPoliciesOperations, String, String, CancellationToken) Method

Definition

List the object replication policies associated with the storage account.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Storage.Models.ObjectReplicationPolicy>> ListAsync (this Microsoft.Azure.Management.Storage.IObjectReplicationPoliciesOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Storage.IObjectReplicationPoliciesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Storage.Models.ObjectReplicationPolicy>>
<Extension()>
Public Function ListAsync (operations As IObjectReplicationPoliciesOperations, resourceGroupName As String, accountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of ObjectReplicationPolicy))

Parameters

operations
IObjectReplicationPoliciesOperations

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<System.Collections.Generic.IEnumerable<ObjectReplicationPolicy>>

Applies to