Freigeben über


ManagedInstancePrivateEndpointConnectionsOperationsExtensions.CreateOrUpdateAsync Methode

Definition

Genehmigen oder Ablehnen einer Verbindung mit einem privaten Endpunkt mit einem angegebenen Namen.

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

Parameter

operations
IManagedInstancePrivateEndpointConnectionsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, die die Ressource enthält. Dieser Wert kann über die Azure-Ressourcen-Manager-API oder das Portal abgerufen werden.

managedInstanceName
String

Der Name der verwalteten Instanz.

privateEndpointConnectionName
String
cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: