共用方式為


AppServiceEnvironmentsOperationsExtensions.CreateOrUpdateAsync 方法

定義

建立或更新App Service 環境。

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)

參數

operations
IAppServiceEnvironmentsOperations

這個擴充方法的作業群組。

resourceGroupName
String

資源所屬資源群組的名稱。

name
String

App Service 環境的名稱。

hostingEnvironmentEnvelope
AppServiceEnvironmentResourceInner

App Service 環境的組態詳細資料。

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

建立或更新App Service 環境的描述。

適用於