Partilhar via


RecoveryServicesVaultResource.GetRecoveryServicesPrivateLinkResourceAsync Método

Definição

Retorna um recurso de link privado especificado que precisa ser criado para Backup e SiteRecovery

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateLinkResources/{privateLinkResourceName}
  • Operação IdPrivateLinkResources_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServices.RecoveryServicesPrivateLinkResource>> GetRecoveryServicesPrivateLinkResourceAsync (string privateLinkResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRecoveryServicesPrivateLinkResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServices.RecoveryServicesPrivateLinkResource>>
override this.GetRecoveryServicesPrivateLinkResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServices.RecoveryServicesPrivateLinkResource>>
Public Overridable Function GetRecoveryServicesPrivateLinkResourceAsync (privateLinkResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RecoveryServicesPrivateLinkResource))

Parâmetros

privateLinkResourceName
String

A cadeia de caracteres a ser usada.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

privateLinkResourceName é nulo.

Aplica-se a