共用方式為


SubscriptionPublishedBlueprintsExtensions.CreateInSubscriptionAsync 方法

定義

使用最新的成品發佈新版本的藍圖。 已發佈的藍圖是不可變的。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.PublishedBlueprint> CreateInSubscriptionAsync (this Microsoft.Azure.Management.Blueprint.IPublishedBlueprintsOperations operations, string subscriptionId, string blueprintName, string versionId, Microsoft.Azure.Management.Blueprint.Models.PublishedBlueprint publishedBlueprint = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateInSubscriptionAsync : 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 CreateInSubscriptionAsync (operations As IPublishedBlueprintsOperations, subscriptionId As String, blueprintName As String, versionId As String, Optional publishedBlueprint As PublishedBlueprint = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PublishedBlueprint)

參數

operations
IPublishedBlueprintsOperations

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

subscriptionId
String

azure subscriptionId,我們會將藍圖儲存到其中。

blueprintName
String

藍圖的名稱。

versionId
String

已發佈藍圖的版本。

publishedBlueprint
PublishedBlueprint

已發佈的藍圖物件

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於