Share via


WorkspaceSqlAadAdminsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a workspace SQL active directory admin

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

Parameters

operations
IWorkspaceSqlAadAdminsOperations

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

aadAdminInfo
WorkspaceAadAdminInfo

Workspace active directory administrator properties

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to