Partager via


IWorkspacesOperations.BeginCreateOrUpdateWithHttpMessagesAsync Méthode

Définition

Crée ou met à jour une ressource d’espace de travail avec les paramètres spécifiés.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.HealthcareApis.Models.Workspace>> BeginCreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string workspaceName, Microsoft.Azure.Management.HealthcareApis.Models.Workspace workspace, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginCreateOrUpdateWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.HealthcareApis.Models.Workspace * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.HealthcareApis.Models.Workspace>>
Public Function BeginCreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, workspaceName As String, workspace As Workspace, 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 qui contient le service instance.

workspaceName
String

Nom de la ressource d’espace de travail.

workspace
Workspace

Paramètres de création ou de mise à jour d’un espace de travail de soins de santé.

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Exceptions

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

Levée en cas d’impossibilité de désérialiser la réponse

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

S’applique à