BlueprintsOperationsExtensions.CreateOrUpdateAsync(IBlueprintsOperations, String, String, BlueprintModel, CancellationToken) 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);
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.BlueprintModel> CreateOrUpdateAsync (this Microsoft.Azure.Management.Blueprint.IBlueprintsOperations operations, string scope, 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>
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)
<Extension()>
Public Function CreateOrUpdateAsync (operations As IBlueprintsOperations, scope 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.

resourceScopescope
System.String

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

blueprintName
System.String

Name of the blueprint definition.

blueprint
BlueprintModel

Blueprint definition.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<BlueprintModel>

Applies to