PublishedBlueprintsOperationsExtensions.CreateAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用最新的成品發佈新版本的藍圖定義。 已發佈的藍圖定義不可變。
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.PublishedBlueprint> CreateAsync (this Microsoft.Azure.Management.Blueprint.IPublishedBlueprintsOperations operations, string resourceScope, string blueprintName, string versionId, Microsoft.Azure.Management.Blueprint.Models.PublishedBlueprint publishedBlueprint = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : 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 CreateAsync (operations As IPublishedBlueprintsOperations, resourceScope As String, blueprintName As String, versionId As String, Optional publishedBlueprint As PublishedBlueprint = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PublishedBlueprint)
參數
- operations
- IPublishedBlueprintsOperations
這個擴充方法的作業群組。
- resourceScope
- String
資源的範圍。 有效範圍包括:管理群組 (格式:'/providers/Microsoft.Management/managementGroups/{managementGroup}') 、訂用帳戶 (格式:'/subscriptions/{subscriptionId}') 。
- blueprintName
- String
藍圖定義的名稱。
- versionId
- String
已發佈藍圖定義的版本。
- publishedBlueprint
- PublishedBlueprint
已發佈的藍圖以建立或更新。
- cancellationToken
- CancellationToken
取消語彙基元。