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


ManagementGroupArtifactsExtensions.CreateOrUpdateInManagementGroupAsync Метод

Определение

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.Artifact> CreateOrUpdateInManagementGroupAsync (this Microsoft.Azure.Management.Blueprint.IArtifactsOperations operations, string managementGroupName, string blueprintName, string artifactName, Microsoft.Azure.Management.Blueprint.Models.Artifact artifact, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateInManagementGroupAsync : 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 CreateOrUpdateInManagementGroupAsync (operations As IArtifactsOperations, managementGroupName As String, blueprintName As String, artifactName As String, artifact As Artifact, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Artifact)

Параметры

operations
IArtifactsOperations

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

managementGroupName
String

имя azure managementGroup, в котором мы сохраняем схему.

blueprintName
String

имя схемы.

artifactName
String

имя артефакта.

artifact
Artifact

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

cancellationToken
CancellationToken

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

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

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