Поделиться через


SubscriptionAssignmentsExtensions.CreateOrUpdateInSubscriptionAsync Метод

Определение

Создание или обновление назначения схемы.

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)

Параметры

operations
IAssignmentsOperations

Группа операций для этого метода расширения.

subscriptionId
String

azure subscriptionId, которому мы назначаем схему.

assignmentName
String

имя назначения.

assignment
Assignment

объект assignment для сохранения.

cancellationToken
CancellationToken

Токен отмены.

Возвращаемое значение

Применяется к