VaultsOperationsExtensions.UpdateAsync Method

Definition

Update a key vault in the specified subscription.

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

Parameters

operations
IVaultsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the Resource Group to which the server belongs.

vaultName
System.String

Name of the vault

parameters
VaultPatchParameters

Parameters to patch the vault

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<VaultInner>

Applies to