Share via


WorkspaceManagedSqlServerEncryptionProtectorOperationsExtensions.CreateOrUpdateAsync Method

Definition

Updates workspace server's encryption protector.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Synapse.Models.EncryptionProtector> CreateOrUpdateAsync (this Microsoft.Azure.Management.Synapse.IWorkspaceManagedSqlServerEncryptionProtectorOperations operations, string resourceGroupName, string workspaceName, Microsoft.Azure.Management.Synapse.Models.EncryptionProtector parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Synapse.IWorkspaceManagedSqlServerEncryptionProtectorOperations * string * string * Microsoft.Azure.Management.Synapse.Models.EncryptionProtector * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Synapse.Models.EncryptionProtector>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IWorkspaceManagedSqlServerEncryptionProtectorOperations, resourceGroupName As String, workspaceName As String, parameters As EncryptionProtector, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EncryptionProtector)

Parameters

operations
IWorkspaceManagedSqlServerEncryptionProtectorOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

workspaceName
String

The name of the workspace

parameters
EncryptionProtector

The requested encryption protector resource state.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Updates workspace managed sql server's encryption protector.

Applies to