次の方法で共有


StepsOperationsExtensions.CreateOrUpdateAsync メソッド

定義

指定したステップ プロパティを使用してロールアウト ステップを作成または更新します。

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

パラメーター

operations
IStepsOperations

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

resourceGroupName
String

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

stepName
String

デプロイ ステップの名前。

stepInfo
StepResource

step オブジェクト。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

同期的に新しいステップを作成するか、既存のステップを更新します。

適用対象