Sdílet prostřednictvím


KeysOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a workspace key

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

Parameters

operations
IKeysOperations

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

keyName
String

The name of the workspace key

keyProperties
Key

Key put request properties

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to