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

Extensions.UpgradeComposeDeploymentAsync 方法

定义

重载

UpgradeComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, ComposeDeploymentUpgradeDescription)

开始升级群集中由部署名称标识的 compose 部署。

UpgradeComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, ComposeDeploymentUpgradeDescription, TimeSpan, CancellationToken)

开始升级群集中由部署名称标识的 compose 部署。

UpgradeComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, ComposeDeploymentUpgradeDescription)

开始升级群集中由部署名称标识的 compose 部署。

public static System.Threading.Tasks.Task UpgradeComposeDeploymentAsync (this System.Fabric.FabricClient.ComposeDeploymentClient client, Microsoft.ServiceFabric.Preview.Client.Description.ComposeDeploymentUpgradeDescription upgradeDescription);
static member UpgradeComposeDeploymentAsync : System.Fabric.FabricClient.ComposeDeploymentClient * Microsoft.ServiceFabric.Preview.Client.Description.ComposeDeploymentUpgradeDescription -> System.Threading.Tasks.Task
<Extension()>
Public Function UpgradeComposeDeploymentAsync (client As FabricClient.ComposeDeploymentClient, upgradeDescription As ComposeDeploymentUpgradeDescription) As Task

参数

返回

适用于

UpgradeComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, ComposeDeploymentUpgradeDescription, TimeSpan, CancellationToken)

开始升级群集中由部署名称标识的 compose 部署。

public static System.Threading.Tasks.Task UpgradeComposeDeploymentAsync (this System.Fabric.FabricClient.ComposeDeploymentClient client, Microsoft.ServiceFabric.Preview.Client.Description.ComposeDeploymentUpgradeDescription upgradeDescription, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
static member UpgradeComposeDeploymentAsync : System.Fabric.FabricClient.ComposeDeploymentClient * Microsoft.ServiceFabric.Preview.Client.Description.ComposeDeploymentUpgradeDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpgradeComposeDeploymentAsync (client As FabricClient.ComposeDeploymentClient, upgradeDescription As ComposeDeploymentUpgradeDescription, timeout As TimeSpan, cancellationToken As CancellationToken) As Task

参数

timeout
TimeSpan
cancellationToken
CancellationToken

返回

适用于