Share via


BlueprintsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a blueprint definition.

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)

Parameters

operations
IBlueprintsOperations

The operations group for this extension method.

resourceScope
String

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

blueprintName
String

Name of the blueprint definition.

blueprint
BlueprintModel

Blueprint definition.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to