Dela via


StepsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a rollout step with the given step properties.

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)

Parameters

operations
IStepsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

stepName
String

The name of the deployment step.

stepInfo
StepResource

The step object.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Synchronously creates a new step or updates an existing step.

Applies to