VaultsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a key vault in the specified subscription.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Fluent.Models.VaultInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.KeyVault.Fluent.IVaultsOperations operations, string resourceGroupName, string vaultName, Microsoft.Azure.Management.KeyVault.Fluent.Models.VaultCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.KeyVault.Fluent.IVaultsOperations * string * string * Microsoft.Azure.Management.KeyVault.Fluent.Models.VaultCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Fluent.Models.VaultInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IVaultsOperations, resourceGroupName As String, vaultName As String, parameters As VaultCreateOrUpdateParameters, 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
VaultCreateOrUpdateParameters

Parameters to create or update the vault

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<VaultInner>

Applies to