Freigeben über


MySqlPrivateEndpointConnectionCollection.Get Methode

Definition

Ruft eine Verbindung mit einem privaten Endpunkt ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Vorgangs-IdPrivateEndpointConnections_Get
public virtual Azure.Response<Azure.ResourceManager.MySql.MySqlPrivateEndpointConnectionResource> Get (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MySql.MySqlPrivateEndpointConnectionResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MySql.MySqlPrivateEndpointConnectionResource>
Public Overridable Function Get (privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MySqlPrivateEndpointConnectionResource)

Parameter

privateEndpointConnectionName
String

Der Name der Verbindung mit dem privaten Endpunkt.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

privateEndpointConnectionName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

privateEndpointConnectionName ist NULL.

Gilt für: