你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DeploymentScriptsOperationsExtensions.BeginCreateAsync 方法

定义

创建部署脚本。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DeploymentScript> BeginCreateAsync (this Microsoft.Azure.Management.ResourceManager.IDeploymentScriptsOperations operations, string resourceGroupName, string scriptName, Microsoft.Azure.Management.ResourceManager.Models.DeploymentScript deploymentScript, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateAsync : Microsoft.Azure.Management.ResourceManager.IDeploymentScriptsOperations * string * string * Microsoft.Azure.Management.ResourceManager.Models.DeploymentScript * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DeploymentScript>
<Extension()>
Public Function BeginCreateAsync (operations As IDeploymentScriptsOperations, resourceGroupName As String, scriptName As String, deploymentScript As DeploymentScript, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DeploymentScript)

参数

operations
IDeploymentScriptsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。 此名称不区分大小写。

scriptName
String

部署脚本的名称。

deploymentScript
DeploymentScript

提供给操作的部署脚本。

cancellationToken
CancellationToken

取消标记。

返回

适用于