Freigeben über


WebSiteSlotResource.GetSiteSlotPrivateEndpointConnectionAsync Methode

Definition

Beschreibung für Ruft eine Verbindung mit einem privaten Endpunkt ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections/{privateEndpointConnectionName}
  • Vorgangs-IdWebApps_GetPrivateEndpointConnectionSlot
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotPrivateEndpointConnectionResource>> GetSiteSlotPrivateEndpointConnectionAsync (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSiteSlotPrivateEndpointConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotPrivateEndpointConnectionResource>>
override this.GetSiteSlotPrivateEndpointConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotPrivateEndpointConnectionResource>>
Public Overridable Function GetSiteSlotPrivateEndpointConnectionAsync (privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SiteSlotPrivateEndpointConnectionResource))

Parameter

privateEndpointConnectionName
String

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: