Share via


SubscriptionPublishedBlueprintsExtensions.CreateInSubscriptionAsync Method

Definition

Publish a new version of the Blueprint with the latest artifacts. Published Blueprints are immutable.

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)

Parameters

operations
IPublishedBlueprintsOperations

The operations group for this extension method.

subscriptionId
String

azure subscriptionId, which we save the blueprint to.

blueprintName
String

name of the blueprint.

versionId
String

version of the published blueprint.

publishedBlueprint
PublishedBlueprint

published blueprint object

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to