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

ManagementGroupPublishedBlueprintsExtensions.CreateInManagementGroupAsync 方法

定义

使用最新项目发布新版本的蓝图。 已发布的蓝图是不可变的。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.PublishedBlueprint> CreateInManagementGroupAsync (this Microsoft.Azure.Management.Blueprint.IPublishedBlueprintsOperations operations, string managementGroupName, string blueprintName, string versionId, Microsoft.Azure.Management.Blueprint.Models.PublishedBlueprint publishedBlueprint = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateInManagementGroupAsync : Microsoft.Azure.Management.Blueprint.IPublishedBlueprintsOperations * string * string * string * Microsoft.Azure.Management.Blueprint.Models.PublishedBlueprint * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.PublishedBlueprint>
<Extension()>
Public Function CreateInManagementGroupAsync (operations As IPublishedBlueprintsOperations, managementGroupName As String, blueprintName As String, versionId As String, Optional publishedBlueprint As PublishedBlueprint = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PublishedBlueprint)

参数

operations
IPublishedBlueprintsOperations

此扩展方法的操作组。

managementGroupName
String

将蓝图保存到的 azure managementGroup 名称。

blueprintName
String

蓝图的名称。

versionId
String

已发布蓝图的版本。

publishedBlueprint
PublishedBlueprint

已发布的蓝图对象

cancellationToken
CancellationToken

取消标记。

返回

适用于