Share via


ManagedHsmsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Create or update a managed HSM Pool in the specified subscription.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Models.ManagedHsm> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.KeyVault.IManagedHsmsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.KeyVault.Models.ManagedHsm parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.KeyVault.IManagedHsmsOperations * string * string * Microsoft.Azure.Management.KeyVault.Models.ManagedHsm * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Models.ManagedHsm>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IManagedHsmsOperations, resourceGroupName As String, name As String, parameters As ManagedHsm, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagedHsm)

Parameters

operations
IManagedHsmsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group that contains the managed HSM pool.

name
String

Name of the managed HSM Pool

parameters
ManagedHsm

Parameters to create or update the managed HSM Pool

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to