다음을 통해 공유


ManagedHsmsOperationsExtensions.CreateOrUpdateAsync 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> CreateOrUpdateAsync (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 CreateOrUpdateAsync : 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 CreateOrUpdateAsync (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