Share via


AssignmentsOperationsExtensions.CreateOrUpdate Method

Definition

Create or update a blueprint assignment.

public static Microsoft.Azure.Management.Blueprint.Models.Assignment CreateOrUpdate (this Microsoft.Azure.Management.Blueprint.IAssignmentsOperations operations, string resourceScope, string assignmentName, Microsoft.Azure.Management.Blueprint.Models.Assignment assignment);
static member CreateOrUpdate : Microsoft.Azure.Management.Blueprint.IAssignmentsOperations * string * string * Microsoft.Azure.Management.Blueprint.Models.Assignment -> Microsoft.Azure.Management.Blueprint.Models.Assignment
<Extension()>
Public Function CreateOrUpdate (operations As IAssignmentsOperations, resourceScope As String, assignmentName As String, assignment As Assignment) As Assignment

Parameters

operations
IAssignmentsOperations

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}').

assignmentName
String

Name of the blueprint assignment.

assignment
Assignment

Blueprint assignment object to save.

Returns

Applies to