Delen via


AssignmentsOperationsExtensions.CreateOrUpdateAsync Methode

Definitie

Een blauwdruktoewijzing maken of bijwerken.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.Assignment> CreateOrUpdateAsync (this Microsoft.Azure.Management.Blueprint.IAssignmentsOperations operations, string resourceScope, string assignmentName, Microsoft.Azure.Management.Blueprint.Models.Assignment assignment, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : 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 CreateOrUpdateAsync (operations As IAssignmentsOperations, resourceScope As String, assignmentName As String, assignment As Assignment, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Assignment)

Parameters

operations
IAssignmentsOperations

De bewerkingsgroep voor deze extensiemethode.

resourceScope
String

Het bereik van de resource. Geldige bereiken zijn: beheergroep (indeling: /providers/Microsoft.Management/managementGroups/{managementGroup}), abonnement (indeling: '/subscriptions/{subscriptionId}').

assignmentName
String

Naam van de blauwdruktoewijzing.

assignment
Assignment

Blauwdruktoewijzingsobject om op te slaan.

cancellationToken
CancellationToken

Het annuleringstoken.

Retouren

Van toepassing op