Rollouts class

Class representing a Rollouts.

Constructors

Rollouts(AzureDeploymentManagerContext)

Create a Rollouts.

Methods

beginCreateOrUpdate(string, string, RolloutsBeginCreateOrUpdateOptionalParams)

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

cancel(string, string, RequestOptionsBase)

Only running rollouts can be canceled.

cancel(string, string, RequestOptionsBase, ServiceCallback<Rollout>)
cancel(string, string, ServiceCallback<Rollout>)
createOrUpdate(string, string, RolloutsCreateOrUpdateOptionalParams)

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

deleteMethod(string, string, RequestOptionsBase)

Only rollouts in terminal state can be deleted.

deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, ServiceCallback<void>)
get(string, string, RolloutsGetOptionalParams)
get(string, string, RolloutsGetOptionalParams, ServiceCallback<Rollout>)
get(string, string, ServiceCallback<Rollout>)
list(string, RequestOptionsBase)
list(string, RequestOptionsBase, ServiceCallback<Rollout[]>)
list(string, ServiceCallback<Rollout[]>)
restart(string, string, RolloutsRestartOptionalParams)

Only failed rollouts can be restarted.

restart(string, string, RolloutsRestartOptionalParams, ServiceCallback<Rollout>)
restart(string, string, ServiceCallback<Rollout>)

Constructor Details

Rollouts(AzureDeploymentManagerContext)

Create a Rollouts.

new Rollouts(client: AzureDeploymentManagerContext)

Parameters

client
AzureDeploymentManagerContext

Reference to the service client.

Method Details

beginCreateOrUpdate(string, string, RolloutsBeginCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdate(resourceGroupName: string, rolloutName: string, options?: RolloutsBeginCreateOrUpdateOptionalParams): Promise<LROPoller>

Parameters

resourceGroupName

string

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

rolloutName

string

The rollout name.

options
RolloutsBeginCreateOrUpdateOptionalParams

The optional parameters

Returns

Promise<@azure/ms-rest-azure-js.LROPoller>

Promise<msRestAzure.LROPoller>

cancel(string, string, RequestOptionsBase)

Only running rollouts can be canceled.

function cancel(resourceGroupName: string, rolloutName: string, options?: RequestOptionsBase): Promise<RolloutsCancelResponse>

Parameters

resourceGroupName

string

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

rolloutName

string

The rollout name.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.RolloutsCancelResponse>

cancel(string, string, RequestOptionsBase, ServiceCallback<Rollout>)

function cancel(resourceGroupName: string, rolloutName: string, options: RequestOptionsBase, callback: ServiceCallback<Rollout>)

Parameters

resourceGroupName

string

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

rolloutName

string

The rollout name.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Rollout>

The callback

cancel(string, string, ServiceCallback<Rollout>)

function cancel(resourceGroupName: string, rolloutName: string, callback: ServiceCallback<Rollout>)

Parameters

resourceGroupName

string

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

rolloutName

string

The rollout name.

callback

ServiceCallback<Rollout>

The callback

createOrUpdate(string, string, RolloutsCreateOrUpdateOptionalParams)

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

function createOrUpdate(resourceGroupName: string, rolloutName: string, options?: RolloutsCreateOrUpdateOptionalParams): Promise<RolloutsCreateOrUpdateResponse>

Parameters

resourceGroupName

string

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

rolloutName

string

The rollout name.

options
RolloutsCreateOrUpdateOptionalParams

The optional parameters

Returns

Promise<Models.RolloutsCreateOrUpdateResponse>

deleteMethod(string, string, RequestOptionsBase)

Only rollouts in terminal state can be deleted.

function deleteMethod(resourceGroupName: string, rolloutName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

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

rolloutName

string

The rollout name.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, rolloutName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

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

rolloutName

string

The rollout name.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

deleteMethod(string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, rolloutName: string, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

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

rolloutName

string

The rollout name.

callback

ServiceCallback<void>

The callback

get(string, string, RolloutsGetOptionalParams)

function get(resourceGroupName: string, rolloutName: string, options?: RolloutsGetOptionalParams): Promise<RolloutsGetResponse>

Parameters

resourceGroupName

string

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

rolloutName

string

The rollout name.

options
RolloutsGetOptionalParams

The optional parameters

Returns

Promise<Models.RolloutsGetResponse>

get(string, string, RolloutsGetOptionalParams, ServiceCallback<Rollout>)

function get(resourceGroupName: string, rolloutName: string, options: RolloutsGetOptionalParams, callback: ServiceCallback<Rollout>)

Parameters

resourceGroupName

string

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

rolloutName

string

The rollout name.

options
RolloutsGetOptionalParams

The optional parameters

callback

ServiceCallback<Rollout>

The callback

get(string, string, ServiceCallback<Rollout>)

function get(resourceGroupName: string, rolloutName: string, callback: ServiceCallback<Rollout>)

Parameters

resourceGroupName

string

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

rolloutName

string

The rollout name.

callback

ServiceCallback<Rollout>

The callback

list(string, RequestOptionsBase)

function list(resourceGroupName: string, options?: RequestOptionsBase): Promise<RolloutsListResponse>

Parameters

resourceGroupName

string

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

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.RolloutsListResponse>

list(string, RequestOptionsBase, ServiceCallback<Rollout[]>)

function list(resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<Rollout[]>)

Parameters

resourceGroupName

string

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

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Rollout[]>

The callback

list(string, ServiceCallback<Rollout[]>)

function list(resourceGroupName: string, callback: ServiceCallback<Rollout[]>)

Parameters

resourceGroupName

string

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

callback

ServiceCallback<Rollout[]>

The callback

restart(string, string, RolloutsRestartOptionalParams)

Only failed rollouts can be restarted.

function restart(resourceGroupName: string, rolloutName: string, options?: RolloutsRestartOptionalParams): Promise<RolloutsRestartResponse>

Parameters

resourceGroupName

string

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

rolloutName

string

The rollout name.

options
RolloutsRestartOptionalParams

The optional parameters

Returns

Promise<Models.RolloutsRestartResponse>

restart(string, string, RolloutsRestartOptionalParams, ServiceCallback<Rollout>)

function restart(resourceGroupName: string, rolloutName: string, options: RolloutsRestartOptionalParams, callback: ServiceCallback<Rollout>)

Parameters

resourceGroupName

string

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

rolloutName

string

The rollout name.

options
RolloutsRestartOptionalParams

The optional parameters

callback

ServiceCallback<Rollout>

The callback

restart(string, string, ServiceCallback<Rollout>)

function restart(resourceGroupName: string, rolloutName: string, callback: ServiceCallback<Rollout>)

Parameters

resourceGroupName

string

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

rolloutName

string

The rollout name.

callback

ServiceCallback<Rollout>

The callback