Condividi tramite


RolloutsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a rollout.

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

Parameters

operations
IRolloutsOperations

The operations group for this extension method.

resourceGroupName
String

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

rolloutName
String

The rollout name.

rolloutRequest
RolloutRequest

Source rollout request object that defines the rollout.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

This is an asynchronous operation and can be polled to completion using the location header returned by this operation.

Applies to