WebAppsOperationsExtensions.GetHostNameBindingSlot(IWebAppsOperations, String, String, String, String) 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
System.String

Name of the resource group to which the resource belongs.

name
System.String

Name of the app.

slot
System.String

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

hostName
System.String

Hostname in the hostname binding.

Returns

HostNameBinding

Remarks

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

Applies to