Share via


AppServiceEnvironmentsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update an App Service Environment.

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

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
AppServiceEnvironmentResourceInner

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