Partager via


SubscriptionPublishedBlueprintsExtensions.CreateInSubscriptionAsync Méthode

Définition

Publiez une nouvelle version du Blueprint avec les artefacts les plus récents. Les blueprints publiés sont immuables.

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)

Paramètres

operations
IPublishedBlueprintsOperations

Groupe d’opérations pour cette méthode d’extension.

subscriptionId
String

azure subscriptionId, dans lequel nous enregistrons le blueprint.

blueprintName
String

nom du blueprint.

versionId
String

version du blueprint publié.

publishedBlueprint
PublishedBlueprint

objet blueprint publié

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à