共用方式為


ResourceGuardProxyOperationsExtensions.GetAsync Method

Definition

Returns ResourceGuardProxy under vault and with the name referenced in request

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

Parameters

operations
IResourceGuardProxyOperations

The operations group for this extension method.

vaultName
String

The name of the recovery services vault.

resourceGroupName
String

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

resourceGuardProxyName
String
cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to