Compartilhar via


PrivateEndpointConnectionsOperationsExtensions.CreateOrUpdateAsync Método

Definição

Aprovar ou rejeitar uma conexão de ponto de extremidade privado com um determinado nome.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.MySQL.Models.PrivateEndpointConnection> CreateOrUpdateAsync (this Microsoft.Azure.Management.MySQL.IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string serverName, string privateEndpointConnectionName, Microsoft.Azure.Management.MySQL.Models.PrivateEndpointConnection parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.MySQL.IPrivateEndpointConnectionsOperations * string * string * string * Microsoft.Azure.Management.MySQL.Models.PrivateEndpointConnection * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.MySQL.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)

Parâmetros

operations
IPrivateEndpointConnectionsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos. O nome diferencia maiúsculas de minúsculas.

serverName
String

O nome do servidor.

privateEndpointConnectionName
String
cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a