Compartir a través de


RecoveryServicesVaultResource.GetRecoveryServicesPrivateLinkResourceAsync Método

Definición

Devuelve un recurso de vínculo privado especificado que se debe crear para Backup y SiteRecovery.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateLinkResources/{privateLinkResourceName}
  • IdPrivateLinkResources_Get de operación
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

Cadena que se va a usar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

privateLinkResourceName es una cadena vacía y se esperaba que no estuviera vacía.

privateLinkResourceName es null.

Se aplica a