共用方式為


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

取消語彙基元。

傳回

適用於