Freigeben über


GrafanaPrivateEndpointConnectionCollection.GetAsync Methode

Definition

Rufen Sie private Endpunktverbindungen ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Vorgangs-IdPrivateEndpointConnections_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Grafana.GrafanaPrivateEndpointConnectionResource>> GetAsync (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Grafana.GrafanaPrivateEndpointConnectionResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Grafana.GrafanaPrivateEndpointConnectionResource>>
Public Overridable Function GetAsync (privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GrafanaPrivateEndpointConnectionResource))

Parameter

privateEndpointConnectionName
String

Der Verbindungsname des privaten Endpunkts von Azure Managed Grafana.

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: