Share via


KeysOperationsExtensions.DeleteAsync Method

Definition

Deletes a workspace key

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Synapse.Models.Key> DeleteAsync (this Microsoft.Azure.Management.Synapse.IKeysOperations operations, string resourceGroupName, string workspaceName, string keyName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.Synapse.IKeysOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Synapse.Models.Key>
<Extension()>
Public Function DeleteAsync (operations As IKeysOperations, resourceGroupName As String, workspaceName As String, keyName As String, 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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to