Compartilhar via


WebAppsOperationsExtensions.CreateOrUpdateHostNameBindingAsync Method

Definition

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

Parameters

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

Returns

Applies to