Partager via


IWorkspaceAadAdminsOperations.CreateOrUpdateWithHttpMessagesAsync Méthode

Définition

Crée ou met à jour un administrateur Active Directory d’espace de travail

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Synapse.Models.WorkspaceAadAdminInfo>> CreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string workspaceName, Microsoft.Azure.Management.Synapse.Models.WorkspaceAadAdminInfo aadAdminInfo, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.Synapse.Models.WorkspaceAadAdminInfo * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Synapse.Models.WorkspaceAadAdminInfo>>
Public Function CreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, workspaceName As String, aadAdminInfo As WorkspaceAadAdminInfo, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of WorkspaceAadAdminInfo))

Paramètres

resourceGroupName
String

Nom du groupe de ressources. Le nom ne respecte pas la casse.

workspaceName
String

Nom de l’espace de travail

aadAdminInfo
WorkspaceAadAdminInfo

Propriétés de l’administrateur Active Directory de l’espace de travail

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Exceptions

Microsoft.Azure.Management.Synapse.Models.ErrorContractException

Levée lorsque l’opération a retourné un code status non valide

Levée lorsque l’opération a retourné un code status non valide

Levée lorsque la réponse ne peut pas être désérialisée

Levée lorsqu’un paramètre requis a la valeur Null

S’applique à