Udostępnij za pośrednictwem


AssignmentsOperationsExtensions.CreateOrUpdate Metoda

Definicja

Tworzenie lub aktualizowanie przypisania strategii.

public static Microsoft.Azure.Management.Blueprint.Models.Assignment CreateOrUpdate (this Microsoft.Azure.Management.Blueprint.IAssignmentsOperations operations, string resourceScope, string assignmentName, Microsoft.Azure.Management.Blueprint.Models.Assignment assignment);
static member CreateOrUpdate : Microsoft.Azure.Management.Blueprint.IAssignmentsOperations * string * string * Microsoft.Azure.Management.Blueprint.Models.Assignment -> Microsoft.Azure.Management.Blueprint.Models.Assignment
<Extension()>
Public Function CreateOrUpdate (operations As IAssignmentsOperations, resourceScope As String, assignmentName As String, assignment As Assignment) As Assignment

Parametry

operations
IAssignmentsOperations

Grupa operacji dla tej metody rozszerzenia.

resourceScope
String

Zakres zasobu. Prawidłowe zakresy to: grupa zarządzania (format: "/providers/Microsoft.Management/managementGroups/{managementGroup}"), subskrypcja (format: "/subscriptions/{subscriptionId}").

assignmentName
String

Nazwa przypisania strategii.

assignment
Assignment

Obiekt przypisania strategii do zapisania.

Zwraca

Dotyczy