Compartir a través de


PrivateLinkResourcesOperationsExtensions.GetAsync Método

Definición

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Models.PrivateLinkResource> GetAsync (this Microsoft.Azure.Management.RecoveryServices.IPrivateLinkResourcesOperations operations, string resourceGroupName, string vaultName, string privateLinkResourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.RecoveryServices.IPrivateLinkResourcesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Models.PrivateLinkResource>
<Extension()>
Public Function GetAsync (operations As IPrivateLinkResourcesOperations, resourceGroupName As String, vaultName As String, privateLinkResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateLinkResource)

Parámetros

operations
IPrivateLinkResourcesOperations

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos donde está presente el almacén de Recovery Services.

vaultName
String

Nombre del almacén de Recovery Services.

privateLinkResourceName
String
cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a