ManagementGroupAssignmentsExtentions.CreateOrUpdateInManagementGroupAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET