Udostępnij za pośrednictwem


WebAppsOperationsExtensions.GetHostNameBindingSlot Method

Definition

Get the named hostname binding for an app (or deployment slot, if specified).

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

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the app.

slot
String

Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.

hostName
String

Hostname in the hostname binding.

Returns

Remarks

Description for Get the named hostname binding for an app (or deployment slot, if specified).

Applies to