Partager via


IWorkspacePrivateEndpointConnectionsOperations.CreateOrUpdateWithHttpMessagesAsync Méthode

Définition

Mettez à jour l’état de la connexion de point de terminaison privé spécifiée associée à l’espace de travail.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.HealthcareApis.Models.PrivateEndpointConnectionDescription>> CreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string workspaceName, string privateEndpointConnectionName, Microsoft.Azure.Management.HealthcareApis.Models.PrivateEndpointConnectionDescription properties, 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.PrivateEndpointConnectionDescription * 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.PrivateEndpointConnectionDescription>>
Public Function CreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, workspaceName As String, privateEndpointConnectionName As String, properties As PrivateEndpointConnectionDescription, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of PrivateEndpointConnectionDescription))

Paramètres

resourceGroupName
String

Nom du groupe de ressources qui contient le service instance.

workspaceName
String

Nom de la ressource d’espace de travail.

privateEndpointConnectionName
String

Nom de la connexion de point de terminaison privé associée à la ressource Azure

properties
PrivateEndpointConnectionDescription

Propriétés de connexion de point de terminaison privé.

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 à