Partager via


IWorkspacesOperations.UpdateWithHttpMessagesAsync Méthode

Définition

Mises à jour un espace de travail

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Synapse.Models.Workspace>> UpdateWithHttpMessagesAsync (string resourceGroupName, string workspaceName, Microsoft.Azure.Management.Synapse.Models.WorkspacePatchInfo workspacePatchInfo, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.Synapse.Models.WorkspacePatchInfo * 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.Workspace>>
Public Function UpdateWithHttpMessagesAsync (resourceGroupName As String, workspaceName As String, workspacePatchInfo As WorkspacePatchInfo, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of Workspace))

Paramètres

resourceGroupName
String

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

workspaceName
String

Nom de l’espace de travail

workspacePatchInfo
WorkspacePatchInfo

Propriétés de la demande de correctif 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 à