Compartilhar via


WebAppsOperationsExtensions.CreateOrUpdateHostNameBindingSlotAsync Method

Definition

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

Parameters

operations
IWebAppsOperations
resourceGroupName
String
name
String
hostName
String
hostNameBinding
HostNameBinding
slot
String
cancellationToken
CancellationToken

Returns

Applies to