共用方式為


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

取消語彙基元。

傳回

適用於