次の方法で共有


ArtifactSourcesOperationsExtensions.CreateOrUpdateAsync メソッド

定義

成果物ソースを作成または更新します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DeploymentManager.Models.ArtifactSource> CreateOrUpdateAsync(this Microsoft.Azure.Management.DeploymentManager.IArtifactSourcesOperations operations, string resourceGroupName, string artifactSourceName, Microsoft.Azure.Management.DeploymentManager.Models.ArtifactSource artifactSourceInfo = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.DeploymentManager.IArtifactSourcesOperations * string * string * Microsoft.Azure.Management.DeploymentManager.Models.ArtifactSource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DeploymentManager.Models.ArtifactSource>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IArtifactSourcesOperations, resourceGroupName As String, artifactSourceName As String, Optional artifactSourceInfo As ArtifactSource = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArtifactSource)

パラメーター

operations
IArtifactSourcesOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

リソース グループの名前。 名前の大文字と小文字は区別されます。

artifactSourceName
String

成果物ソースの名前。

artifactSourceInfo
ArtifactSource

リソースを定義するソース オブジェクト。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

新しい成果物ソースを同期的に作成するか、既存の成果物ソースを更新します。

適用対象