다음을 통해 공유


PrivateLinkResourcesOperationsExtensions.GetAsync Method

Definition

Returns a specified private link resource that need to be created for Backup and 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)

Parameters

operations
IPrivateLinkResourcesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group where the recovery services vault is present.

vaultName
String

The name of the recovery services vault.

privateLinkResourceName
String
cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to