PrivateEndpointConnectionsOperationsExtensions.CreateOrUpdateAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Aktualisieren Sie den Status der angegebenen privaten Endpunktverbindung, die dem Cognitive Services-Konto zugeordnet ist.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.CognitiveServices.Models.PrivateEndpointConnection> CreateOrUpdateAsync (this Microsoft.Azure.Management.CognitiveServices.IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName, Microsoft.Azure.Management.CognitiveServices.Models.PrivateEndpointConnection properties, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.CognitiveServices.IPrivateEndpointConnectionsOperations * string * string * string * Microsoft.Azure.Management.CognitiveServices.Models.PrivateEndpointConnection * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CognitiveServices.Models.PrivateEndpointConnection>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPrivateEndpointConnectionsOperations, resourceGroupName As String, accountName As String, privateEndpointConnectionName As String, properties As PrivateEndpointConnection, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateEndpointConnection)
Parameter
- operations
- IPrivateEndpointConnectionsOperations
Die Vorgangsgruppe für diese Erweiterungsmethode.
- resourceGroupName
- String
Der Name der Ressourcengruppe. Für den Namen wird die Groß-/Kleinschreibung nicht beachtet.
- accountName
- String
Der Name des Cognitive Services-Kontos.
- privateEndpointConnectionName
- String
Der Name der privaten Endpunktverbindung, die dem Cognitive Services-Konto zugeordnet ist.
- properties
- PrivateEndpointConnection
Die Verbindungseigenschaften des privaten Endpunkts.
- cancellationToken
- CancellationToken
Das Abbruchtoken.
Gibt zurück
Gilt für:
Azure SDK for .NET