Freigeben über


WebAppsOperationsExtensions.GetHostNameBindingSlot Methode

Definition

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

public static Microsoft.Azure.Management.WebSites.Models.HostNameBinding GetHostNameBindingSlot (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string slot, string hostName);
static member GetHostNameBindingSlot : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * string -> Microsoft.Azure.Management.WebSites.Models.HostNameBinding
<Extension()>
Public Function GetHostNameBindingSlot (operations As IWebAppsOperations, resourceGroupName As String, name As String, slot As String, hostName As String) As 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

slot
String

Name des Bereitstellungsslots. Wenn kein Slot angegeben ist, ist die API die benannte Bindung für den Produktionsslot.

hostName
String

Hostname in der Hostnamenbindung.

Gibt zurück

Hinweise

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

Gilt für: