共用方式為


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

取消語彙基元。

傳回

適用於