Share via


AppServiceEnvironmentsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update an App Service Environment.

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

Parameters

operations
IAppServiceEnvironmentsOperations

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 Service Environment.

hostingEnvironmentEnvelope
AppServiceEnvironmentResource

Configuration details of the App Service Environment.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Create or update an App Service Environment.

Applies to