ManagementGroupAssignmentsExtentions.CreateOrUpdateInManagementGroupAsync Method

Definition

Creates or updates a Blueprint assignment in a management group.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.Assignment> CreateOrUpdateInManagementGroupAsync (this Microsoft.Azure.Management.Blueprint.IAssignmentsOperations operations, string managementGroupName, string assignmentName, Microsoft.Azure.Management.Blueprint.Models.Assignment assignment, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateInManagementGroupAsync : Microsoft.Azure.Management.Blueprint.IAssignmentsOperations * string * string * Microsoft.Azure.Management.Blueprint.Models.Assignment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.Assignment>
<Extension()>
Public Function CreateOrUpdateInManagementGroupAsync (operations As IAssignmentsOperations, managementGroupName As String, assignmentName As String, assignment As Assignment, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Assignment)

Parameters

operations
IAssignmentsOperations

The operations group for this extension method.

managementGroupName
String

The name of the management group where the assignment will be saved.

assignmentName
String

The name of the assignment.

assignment
Assignment

The assignment object to save.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to