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


ArtifactsOperationsExtensions.CreateOrUpdateAsync Метод

Определение

Создание или обновление артефакта схемы.

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

Параметры

operations
IArtifactsOperations

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

resourceScope
String

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

blueprintName
String

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

artifactName
String

Имя артефакта схемы.

artifact
Artifact

Артефакт схемы для создания или обновления.

cancellationToken
CancellationToken

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

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

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