Compartir a través de


ManagementGroupAssignmentsExtentions.CreateOrUpdateInManagementGroupAsync Método

Definición

Crea o actualiza una asignación de plano técnico en un grupo de administración.

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)

Parámetros

operations
IAssignmentsOperations

El grupo de operaciones de este método de extensión.

managementGroupName
String

Nombre del grupo de administración donde se guardará la asignación.

assignmentName
String

Nombre de la asignación.

assignment
Assignment

Objeto de asignación que se va a guardar.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a