Compartir a través de


AssignmentsOperationsExtensions.CreateOrUpdateAsync Método

Definición

Cree o actualice una asignación de plano técnico.

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)

Parámetros

operations
IAssignmentsOperations

Grupo de operaciones para este método de extensión.

resourceScope
String

Ámbito del recurso. Los ámbitos válidos son: grupo de administración (formato: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), suscripción (formato: '/subscriptions/{subscriptionId}').

assignmentName
String

Nombre de la asignación del plano técnico.

assignment
Assignment

Objeto de asignación de plano técnico que se va a guardar.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a