Freigeben über


WebAppsOperationsExtensions.GetRelayServiceConnectionSlotAsync Methode

Definition

Ruft eine Hybridverbindungskonfiguration nach ihrem Namen ab.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.RelayServiceConnectionEntity> GetRelayServiceConnectionSlotAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string entityName, string slot, System.Threading.CancellationToken cancellationToken = default);
static member GetRelayServiceConnectionSlotAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.RelayServiceConnectionEntity>
<Extension()>
Public Function GetRelayServiceConnectionSlotAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, entityName As String, slot As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RelayServiceConnectionEntity)

Parameter

operations
IWebAppsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe, zu der die Ressource gehört.

name
String

Name der App

entityName
String

Name der Hybridverbindung.

slot
String

Name des Bereitstellungsslots. Wenn kein Slot angegeben ist, erhält die API eine Hybridverbindung für den Produktionsslot.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Ruft eine Hybridverbindungskonfiguration nach ihrem Namen ab.

Gilt für: