Udostępnij za pośrednictwem


PublishedBlueprintsOperationsExtensions.CreateAsync Metoda

Definicja

Opublikuj nową wersję definicji strategii z najnowszymi artefaktami. Opublikowane definicje strategii są niezmienne.

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)

Parametry

operations
IPublishedBlueprintsOperations

Grupa operacji dla tej metody rozszerzenia.

resourceScope
String

Zakres zasobu. Prawidłowe zakresy to: grupa zarządzania (format: "/providers/Microsoft.Management/managementGroups/{managementGroup}"), subskrypcja (format: "/subscriptions/{subscriptionId}").

blueprintName
String

Nazwa definicji strategii.

versionId
String

Wersja opublikowanej definicji strategii.

publishedBlueprint
PublishedBlueprint

Opublikowana strategia do utworzenia lub zaktualizowania.

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Dotyczy