Partager via


IFhirServicesOperations.CreateOrUpdateWithHttpMessagesAsync Méthode

Définition

Crée ou met à jour une ressource de service FHIR avec les paramètres spécifiés.

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

Paramètres

resourceGroupName
String

Nom du groupe de ressources qui contient le service instance.

workspaceName
String

Nom de la ressource d’espace de travail.

fhirServiceName
String

Nom de la ressource de service FHIR.

fhirservice
FhirService

Paramètres de création ou de mise à jour d’une ressource Fhir Service.

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 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 à