Partager via


PrivateEndpointConnectionsOperationsExtensions.CreateOrUpdateAsync Méthode

Définition

Approuver ou rejeter une connexion de point de terminaison privé avec un nom donné.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.PostgreSQL.Models.PrivateEndpointConnection> CreateOrUpdateAsync (this Microsoft.Azure.Management.PostgreSQL.IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string serverName, string privateEndpointConnectionName, Microsoft.Azure.Management.PostgreSQL.Models.PrivateEndpointConnection parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.PostgreSQL.IPrivateEndpointConnectionsOperations * string * string * string * Microsoft.Azure.Management.PostgreSQL.Models.PrivateEndpointConnection * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.PostgreSQL.Models.PrivateEndpointConnection>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPrivateEndpointConnectionsOperations, resourceGroupName As String, serverName As String, privateEndpointConnectionName As String, parameters As PrivateEndpointConnection, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateEndpointConnection)

Paramètres

operations
IPrivateEndpointConnectionsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

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

serverName
String

Le nom du serveur

privateEndpointConnectionName
String
cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à