KeysOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.