Freigeben über


BotResource.GetBotServicePrivateEndpointConnectionAsync Methode

Definition

Ruft die angegebene private Endpunktverbindung ab, die dem Bot zugeordnet ist.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Vorgangs-IdPrivateEndpointConnections_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BotService.BotServicePrivateEndpointConnectionResource>> GetBotServicePrivateEndpointConnectionAsync (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBotServicePrivateEndpointConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BotService.BotServicePrivateEndpointConnectionResource>>
override this.GetBotServicePrivateEndpointConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BotService.BotServicePrivateEndpointConnectionResource>>
Public Overridable Function GetBotServicePrivateEndpointConnectionAsync (privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BotServicePrivateEndpointConnectionResource))

Parameter

privateEndpointConnectionName
String

Der Name der privaten Endpunktverbindung, die der Azure-Ressource zugeordnet ist.

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: