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


BlueprintsOperationsExtensions.CreateOrUpdateAsync Метод

Определение

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.BlueprintModel> CreateOrUpdateAsync (this Microsoft.Azure.Management.Blueprint.IBlueprintsOperations operations, string resourceScope, string blueprintName, Microsoft.Azure.Management.Blueprint.Models.BlueprintModel blueprint, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Blueprint.IBlueprintsOperations * string * string * Microsoft.Azure.Management.Blueprint.Models.BlueprintModel * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.BlueprintModel>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IBlueprintsOperations, resourceScope As String, blueprintName As String, blueprint As BlueprintModel, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BlueprintModel)

Параметры

operations
IBlueprintsOperations

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

resourceScope
String

Область видимости ресурса. Допустимые области: группа управления (формат:/providers/Microsoft.Management/managementGroups/{managementGroup}), подписка (формат:/subscriptions/{subscriptionId}).

blueprintName
String

Имя определения схемы.

blueprint
BlueprintModel

Определение схемы.

cancellationToken
CancellationToken

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

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

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