Share via


ManagedInstanceResource.ValidateAzureKeyVaultEncryptionKeyAsync Method

Definition

Validates customer managed key.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/validateAzureKeyVaultEncryptionKey
  • Operation Id: ManagedInstances_ValidateAzureKeyVaultEncryptionKey
  • Default Api Version: 2024-11-01-preview
  • Resource: ManagedInstanceResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> ValidateAzureKeyVaultEncryptionKeyAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.Sql.Models.ManagedInstanceValidateAzureKeyVaultEncryptionKeyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateAzureKeyVaultEncryptionKeyAsync : Azure.WaitUntil * Azure.ResourceManager.Sql.Models.ManagedInstanceValidateAzureKeyVaultEncryptionKeyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.ValidateAzureKeyVaultEncryptionKeyAsync : Azure.WaitUntil * Azure.ResourceManager.Sql.Models.ManagedInstanceValidateAzureKeyVaultEncryptionKeyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function ValidateAzureKeyVaultEncryptionKeyAsync (waitUntil As WaitUntil, content As ManagedInstanceValidateAzureKeyVaultEncryptionKeyContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
ManagedInstanceValidateAzureKeyVaultEncryptionKeyContent

The validate azure key vault encryption key parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to