共用方式為


WebAppsOperationsExtensions.CreateDeploymentAsync 方法

定義

為應用程式或部署位置建立部署。

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

參數

operations
IWebAppsOperations

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

resourceGroupName
String

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

name
String

應用程式的名稱。

id
String

現有部署的識別碼。

deployment
DeploymentInner

部署詳細資料。

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

建立應用程式部署或部署位置的描述。

適用於