Share via


VaultsOperationsExtensions.UpdateAsync Method

Definition

Updates the vault.

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

Parameters

operations
IVaultsOperations

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.

vault
PatchVault

Recovery Services Vault to be created.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to