Partager via


IPrivateEndpointConnectionsOperations.BeginCreateOrUpdateWithHttpMessagesAsync Méthode

Définition

Mettez à jour l’état de la connexion de point de terminaison privé spécifiée associée au compte Cognitive Services.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.CognitiveServices.Models.PrivateEndpointConnection>> BeginCreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string accountName, string privateEndpointConnectionName, Microsoft.Azure.Management.CognitiveServices.Models.PrivateEndpointConnection properties, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginCreateOrUpdateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.CognitiveServices.Models.PrivateEndpointConnection * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.CognitiveServices.Models.PrivateEndpointConnection>>
Public Function BeginCreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, accountName As String, privateEndpointConnectionName As String, properties As PrivateEndpointConnection, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of PrivateEndpointConnection))

Paramètres

resourceGroupName
String

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

accountName
String

Nom du compte Cognitive Services.

privateEndpointConnectionName
String

Nom de la connexion de point de terminaison privé associée au compte Cognitive Services

properties
PrivateEndpointConnection

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