Get-ServiceFabricClusterUpgrade
获取 Service Fabric 群集升级的状态。
语法
Default (默认值)
Get-ServiceFabricClusterUpgrade
[-TimeoutSec <Int32>]
[<CommonParameters>]
说明
Get-ServiceFabricClusterUpgrade cmdlet 获取正在进行的 Service Fabric 群集升级的状态。
在 Service Fabric 群集上执行任何操作之前,请使用 Connect-ServiceFabricCluster cmdlet 建立与群集的连接。
示例
示例 1:获取群集更新状态
PS C:\> Get-ServiceFabricClusterUpgrade
此命令获取 Service Fabric 群集升级的状态。
参数
-TimeoutSec
指定操作的超时期限(以秒为单位)。
参数属性
| 类型: | Int32 |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。