Share via


WorkspaceAadAdminsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a workspace active directory admin

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Synapse.Models.WorkspaceAadAdminInfo> CreateOrUpdateAsync (this Microsoft.Azure.Management.Synapse.IWorkspaceAadAdminsOperations operations, string resourceGroupName, string workspaceName, Microsoft.Azure.Management.Synapse.Models.WorkspaceAadAdminInfo aadAdminInfo, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Synapse.IWorkspaceAadAdminsOperations * 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 IWorkspaceAadAdminsOperations, resourceGroupName As String, workspaceName As String, aadAdminInfo As WorkspaceAadAdminInfo, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WorkspaceAadAdminInfo)

Parameters

operations
IWorkspaceAadAdminsOperations

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