Freigeben über


WebAppsOperationsExtensions.GetHostNameBindingAsync Methode

Definition

Rufen Sie die benannte Hostnamenbindung für eine App (oder einen Bereitstellungsslot, falls angegeben) ab.

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

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

hostName
String

Hostname in der Hostnamenbindung.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Get the named hostname binding for a app (or deployment slot, if specified).

Gilt für: