Resume-ServiceFabricApplicationUpgrade
恢复不受监视的 Service Fabric 应用程序升级。
语法
Default (默认值)
Resume-ServiceFabricApplicationUpgrade
[-ApplicationName] <Uri>
[-UpgradeDomainName] <String>
[-TimeoutSec <Int32>]
[<CommonParameters>]
说明
Resume-ServiceFabricApplicationUpgrade cmdlet 恢复不受监视的手动 Service Fabric 应用程序升级。 Service Fabric 一次升级一个升级域。 对于不受监视的手动升级,Service Fabric 完成升级域后,它会等待使用此 cmdlet 继续下一个升级域。
在 Service Fabric 群集上执行任何操作之前,请使用 Connect-ServiceFabricCluster cmdlet 建立与群集的连接。
示例
示例 1:恢复升级
PS C:\> Resume-ServiceFabricApplicationUpgrade -ApplicationName fabric:/myapp/persistenttodolist -UpgradeDomainName "MYUD02"
此命令将启动名为 MYUD02 的域的升级。
参数
-ApplicationName
指定 Service Fabric 应用程序的统一资源标识符(URI)。 该 cmdlet 将恢复具有指定 URI 的应用程序的升级。
参数属性
| 类型: | Uri |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | 0 |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-TimeoutSec
指定操作的超时期限(以秒为单位)。
参数属性
| 类型: | Int32 |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-UpgradeDomainName
指定要升级的下一个升级域的名称。
参数属性
| 类型: | String |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | 1 |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。