Share via


VaultsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Create or update a key vault in the specified subscription.

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

Parameters to create or update the vault

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to