PublishedBlueprintsOperationsExtensions.CreateAsync Method

Definition

Overloads

CreateAsync(IPublishedBlueprintsOperations, String, String, String, CancellationToken)

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

CreateAsync(IPublishedBlueprintsOperations, String, String, String, PublishedBlueprint, CancellationToken)

Publish a new version of the blueprint definition with the latest artifacts. Published blueprint definitions are immutable.

CreateAsync(IPublishedBlueprintsOperations, String, String, String, CancellationToken)

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

Parameters

operations
IPublishedBlueprintsOperations

The operations group for this extension method.

scope
System.String

The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').

blueprintName
System.String

name of the blueprint.

versionId
System.String

version of the published blueprint.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<PublishedBlueprint>

Applies to

CreateAsync(IPublishedBlueprintsOperations, String, String, String, PublishedBlueprint, CancellationToken)

Publish a new version of the blueprint definition with the latest artifacts. Published blueprint definitions are immutable.

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)

Parameters

operations
IPublishedBlueprintsOperations

The operations group for this extension method.

resourceScope
System.String

The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').

blueprintName
System.String

Name of the blueprint definition.

versionId
System.String

Version of the published blueprint definition.

publishedBlueprint
PublishedBlueprint

Published Blueprint to create or update.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<PublishedBlueprint>

Applies to