SubscriptionAssignmentsExtensions.CreateOrUpdateInSubscriptionAsync 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.
Create or update a Blueprint assignment.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.Assignment> CreateOrUpdateInSubscriptionAsync (this Microsoft.Azure.Management.Blueprint.IAssignmentsOperations operations, string subscriptionId, string assignmentName, Microsoft.Azure.Management.Blueprint.Models.Assignment assignment, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateInSubscriptionAsync : 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 CreateOrUpdateInSubscriptionAsync (operations As IAssignmentsOperations, subscriptionId 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.
- subscriptionId
- String
azure subscriptionId, which we assign the blueprint to.
- assignmentName
- String
name of the assignment.
- assignment
- Assignment
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