Partager via


WebAppsOperationsExtensions.CreateOrUpdateAsync Method

Definition

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

Parameters

operations
IWebAppsOperations
resourceGroupName
String
name
String
siteEnvelope
Site
cancellationToken
CancellationToken

Returns

Applies to