Partilhar via


RecoveryServicesExtensions.GetRecoveryServicesVaults Método

Definição

Sobrecargas

GetRecoveryServicesVaults(ResourceGroupResource)

Obtém uma coleção de RecoveryServicesVaultResources no ResourceGroupResource.

GetRecoveryServicesVaults(SubscriptionResource, CancellationToken)

Busca todos os recursos do tipo especificado na assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.RecoveryServices/vaults
  • Operação IdVaults_ListBySubscriptionId

GetRecoveryServicesVaults(ResourceGroupResource)

Obtém uma coleção de RecoveryServicesVaultResources no ResourceGroupResource.

public static Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultCollection GetRecoveryServicesVaults (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetRecoveryServicesVaults : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultCollection
<Extension()>
Public Function GetRecoveryServicesVaults (resourceGroupResource As ResourceGroupResource) As RecoveryServicesVaultCollection

Parâmetros

resourceGroupResource
ResourceGroupResource

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

Retornos

Um objeto que representa uma coleção de RecoveryServicesVaultResources e suas operações em um RecoveryServicesVaultResource.

Aplica-se a

GetRecoveryServicesVaults(SubscriptionResource, CancellationToken)

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.Pageable<Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource> GetRecoveryServicesVaults (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetRecoveryServicesVaults : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource>
<Extension()>
Public Function GetRecoveryServicesVaults (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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 de RecoveryServicesVaultResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a