SubscriptionPublishedBlueprintsExtensions.CreateInSubscriptionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET