Compartilhar via


RecoveryServicesExtensions.GetRecoveryServicesVaultsAsync Método

Definição

Busca todos os recursos do tipo especificado na assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.RecoveryServices/vaults
  • Operação IdVaults_ListBySubscriptionId
public static Azure.AsyncPageable<Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource> GetRecoveryServicesVaultsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetRecoveryServicesVaultsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource>
<Extension()>
Public Function GetRecoveryServicesVaultsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RecoveryServicesVaultResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de RecoveryServicesVaultResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a