共用方式為


ResourceGuardProxyOperationsExtensions.PutAsync Method

Definition

Add or Update ResourceGuardProxy under vault Secures vault critical operations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.ResourceGuardProxyBaseResource> PutAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.IResourceGuardProxyOperations operations, string vaultName, string resourceGroupName, string resourceGuardProxyName, Microsoft.Azure.Management.RecoveryServices.Backup.Models.ResourceGuardProxyBaseResource parameters, System.Threading.CancellationToken cancellationToken = default);
static member PutAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IResourceGuardProxyOperations * string * string * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.ResourceGuardProxyBaseResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.ResourceGuardProxyBaseResource>
<Extension()>
Public Function PutAsync (operations As IResourceGuardProxyOperations, vaultName As String, resourceGroupName As String, resourceGuardProxyName As String, parameters As ResourceGuardProxyBaseResource, 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
parameters
ResourceGuardProxyBaseResource

Request body for operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to