Freigeben über


WebAppsOperationsExtensions.CreateOrUpdateHostNameBinding Methode

Definition

Erstellt eine Hostnamenbindung für eine App.

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

hostName
String

Hostname in der Hostnamenbindung.

hostNameBinding
HostNameBinding

Bindungsdetails. Dies ist die JSON-Darstellung eines HostNameBinding-Objekts.

Gibt zurück

Hinweise

Beschreibung für Erstellt eine Hostnamenbindung für eine App.

Gilt für: