Udostępnij za pośrednictwem


BlueprintsOperationsExtensions.CreateOrUpdateAsync Metoda

Definicja

Tworzenie lub aktualizowanie definicji strategii.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.BlueprintModel> CreateOrUpdateAsync (this Microsoft.Azure.Management.Blueprint.IBlueprintsOperations operations, string resourceScope, string blueprintName, Microsoft.Azure.Management.Blueprint.Models.BlueprintModel blueprint, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Blueprint.IBlueprintsOperations * string * string * Microsoft.Azure.Management.Blueprint.Models.BlueprintModel * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.BlueprintModel>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IBlueprintsOperations, resourceScope As String, blueprintName As String, blueprint As BlueprintModel, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BlueprintModel)

Parametry

operations
IBlueprintsOperations

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.

blueprint
BlueprintModel

Definicja strategii.

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Dotyczy