StepsOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET