Compartilhar via


SiteRecoveryFabricResource.GetSiteRecoveryServicesProviderAsync Método

Definição

Obtém os detalhes do provedor de serviços de recuperação registrado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}
  • Operação IdReplicationRecoveryServicesProviders_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryServicesProviderResource>> GetSiteRecoveryServicesProviderAsync (string providerName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSiteRecoveryServicesProviderAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryServicesProviderResource>>
override this.GetSiteRecoveryServicesProviderAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryServicesProviderResource>>
Public Overridable Function GetSiteRecoveryServicesProviderAsync (providerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SiteRecoveryServicesProviderResource))

Parâmetros

providerName
String

Nome do provedor de serviços de recuperação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

providerName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

providerName é nulo.

Aplica-se a