你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Rollouts class

表示推出项的类。

构造函数

Rollouts(AzureDeploymentManagerContext)

创建推出。

方法

beginCreateOrUpdate(string, string, RolloutsBeginCreateOrUpdateOptionalParams)

这是一个异步作,可以使用此作返回的位置标头轮询到完成。

cancel(string, string, RequestOptionsBase)

只能取消正在运行的推出。

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

这是一个异步作,可以使用此作返回的位置标头轮询到完成。

deleteMethod(string, string, RequestOptionsBase)

只能删除处于终端状态的推出。

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)

只能重启失败的推出。

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

构造函数详细信息

Rollouts(AzureDeploymentManagerContext)

创建推出。

new Rollouts(client: AzureDeploymentManagerContext)

参数

client
AzureDeploymentManagerContext

对服务客户端的引用。

方法详细信息

beginCreateOrUpdate(string, string, RolloutsBeginCreateOrUpdateOptionalParams)

这是一个异步作,可以使用此作返回的位置标头轮询到完成。

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

rolloutName

string

推出名称。

返回

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

承诺<msRestAzure.LROPoller>

cancel(string, string, RequestOptionsBase)

只能取消正在运行的推出。

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

rolloutName

string

推出名称。

options
RequestOptionsBase

可选参数

返回

承诺<Models.RolloutsCancelResponse>

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

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

rolloutName

string

推出名称。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<Rollout>

回调

cancel(string, string, ServiceCallback<Rollout>)

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

rolloutName

string

推出名称。

callback

ServiceCallback<Rollout>

回调

createOrUpdate(string, string, RolloutsCreateOrUpdateOptionalParams)

这是一个异步作,可以使用此作返回的位置标头轮询到完成。

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

rolloutName

string

推出名称。

返回

Promise<Models.RolloutsCreateOrUpdateResponse>

deleteMethod(string, string, RequestOptionsBase)

只能删除处于终端状态的推出。

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

rolloutName

string

推出名称。

options
RequestOptionsBase

可选参数

返回

Promise<RestResponse>

承诺<msRest.RestResponse>

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

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

rolloutName

string

推出名称。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<void>

回调

deleteMethod(string, string, ServiceCallback<void>)

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

rolloutName

string

推出名称。

callback

ServiceCallback<void>

回调

get(string, string, RolloutsGetOptionalParams)

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

rolloutName

string

推出名称。

options
RolloutsGetOptionalParams

可选参数

返回

承诺<Models.RolloutsGetResponse>

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

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

rolloutName

string

推出名称。

options
RolloutsGetOptionalParams

可选参数

callback

ServiceCallback<Rollout>

回调

get(string, string, ServiceCallback<Rollout>)

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

rolloutName

string

推出名称。

callback

ServiceCallback<Rollout>

回调

list(string, RequestOptionsBase)

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

options
RequestOptionsBase

可选参数

返回

承诺<Models.RolloutsListResponse>

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

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<Rollout[]>

回调

list(string, ServiceCallback<Rollout[]>)

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

callback

ServiceCallback<Rollout[]>

回调

restart(string, string, RolloutsRestartOptionalParams)

只能重启失败的推出。

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

rolloutName

string

推出名称。

options
RolloutsRestartOptionalParams

可选参数

返回

Promise<Models.RolloutsRestartResponse>

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

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

rolloutName

string

推出名称。

options
RolloutsRestartOptionalParams

可选参数

callback

ServiceCallback<Rollout>

回调

restart(string, string, ServiceCallback<Rollout>)

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

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

rolloutName

string

推出名称。

callback

ServiceCallback<Rollout>

回调