Share via


VaultsOperationsExtensions.ListBySubscriptionIdAsync Method

Definition

Fetches all the resources of the specified type in the subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.RecoveryServices.Models.Vault>> ListBySubscriptionIdAsync (this Microsoft.Azure.Management.RecoveryServices.IVaultsOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListBySubscriptionIdAsync : Microsoft.Azure.Management.RecoveryServices.IVaultsOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.RecoveryServices.Models.Vault>>
<Extension()>
Public Function ListBySubscriptionIdAsync (operations As IVaultsOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Vault))

Parameters

operations
IVaultsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to