Share via


VaultsOperationsExtensions.UpdateAsync Method

Definition

Update a key vault in the specified subscription.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Models.Vault> UpdateAsync (this Microsoft.Azure.Management.KeyVault.IVaultsOperations operations, string resourceGroupName, string vaultName, Microsoft.Azure.Management.KeyVault.Models.VaultPatchParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.KeyVault.IVaultsOperations * string * string * Microsoft.Azure.Management.KeyVault.Models.VaultPatchParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Models.Vault>
<Extension()>
Public Function UpdateAsync (operations As IVaultsOperations, resourceGroupName As String, vaultName As String, parameters As VaultPatchParameters, 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 to which the server belongs.

vaultName
String

Name of the vault

parameters
VaultPatchParameters

Parameters to patch the vault

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to