Invoke-AzHdInsightOnAksClusterManualRollback
Manual rollback upgrade for a cluster.
语法
UpgradeExpanded (默认值)
Invoke-AzHdInsightOnAksClusterManualRollback
-ClusterName <String>
-ClusterPoolName <String>
-ResourceGroupName <String>
-UpgradeHistory <String>
[-SubscriptionId <String>]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
UpgradeViaJsonString
Invoke-AzHdInsightOnAksClusterManualRollback
-ClusterName <String>
-ClusterPoolName <String>
-ResourceGroupName <String>
-JsonString <String>
[-SubscriptionId <String>]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
UpgradeViaJsonFilePath
Invoke-AzHdInsightOnAksClusterManualRollback
-ClusterName <String>
-ClusterPoolName <String>
-ResourceGroupName <String>
-JsonFilePath <String>
[-SubscriptionId <String>]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
UpgradeViaIdentityClusterpoolExpanded
Invoke-AzHdInsightOnAksClusterManualRollback
-ClusterName <String>
-ClusterpoolInputObject <IHdInsightOnAksIdentity>
-UpgradeHistory <String>
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
UpgradeViaIdentityClusterpool
Invoke-AzHdInsightOnAksClusterManualRollback
-ClusterName <String>
-ClusterpoolInputObject <IHdInsightOnAksIdentity>
-ClusterRollbackUpgradeRequest <IClusterUpgradeRollback>
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Upgrade
Invoke-AzHdInsightOnAksClusterManualRollback
-ClusterName <String>
-ClusterPoolName <String>
-ResourceGroupName <String>
-ClusterRollbackUpgradeRequest <IClusterUpgradeRollback>
[-SubscriptionId <String>]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
UpgradeViaIdentityExpanded
Invoke-AzHdInsightOnAksClusterManualRollback
-InputObject <IHdInsightOnAksIdentity>
-UpgradeHistory <String>
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
UpgradeViaIdentity
Invoke-AzHdInsightOnAksClusterManualRollback
-InputObject <IHdInsightOnAksIdentity>
-ClusterRollbackUpgradeRequest <IClusterUpgradeRollback>
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
说明
Manual rollback upgrade for a cluster.
示例
Example 1: Roll back the upgrade of a cluster
$clusterResourceGroupName = "Group"
$clusterpoolName = "ps-test-pool"
$clusterName = "cluster"
Invoke-AzHdInsightOnAksClusterManualRollback -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName -UpgradeHistory /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/devrp/providers/Microsoft.HDInsight/clusterpools/pool/clusters/cluster202458152055/upgradeHistories/05_11_2024_06_41_26_AM-AKSPatchUpgrade
Roll back the upgrade of a cluster
参数
-AsJob
Run the command as a job
参数属性
参数集
(All)
Position: Named
必需: False
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
-ClusterName
The name of the HDInsight cluster.
参数属性
类型: String
默认值: None
支持通配符: False
不显示: False
参数集
UpgradeExpanded
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
UpgradeViaJsonString
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
UpgradeViaJsonFilePath
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
UpgradeViaIdentityClusterpoolExpanded
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
UpgradeViaIdentityClusterpool
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
Upgrade
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
Identity Parameter
UpgradeViaIdentityClusterpoolExpanded
Position: Named
必需: True
来自管道的值: True
来自管道的值(按属性名称): False
来自剩余参数的值: False
UpgradeViaIdentityClusterpool
Position: Named
必需: True
来自管道的值: True
来自管道的值(按属性名称): False
来自剩余参数的值: False
-ClusterPoolName
The name of the cluster pool.
参数属性
类型: String
默认值: None
支持通配符: False
不显示: False
参数集
UpgradeExpanded
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
UpgradeViaJsonString
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
UpgradeViaJsonFilePath
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
Upgrade
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
-ClusterRollbackUpgradeRequest
Cluster Upgrade.
参数属性
参数集
UpgradeViaIdentityClusterpool
Position: Named
必需: True
来自管道的值: True
来自管道的值(按属性名称): False
来自剩余参数的值: False
Upgrade
Position: Named
必需: True
来自管道的值: True
来自管道的值(按属性名称): False
来自剩余参数的值: False
UpgradeViaIdentity
Position: Named
必需: True
来自管道的值: True
来自管道的值(按属性名称): False
来自剩余参数的值: False
-Confirm
Prompts you for confirmation before running the cmdlet.
参数属性
参数集
(All)
Position: Named
必需: False
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
-DefaultProfile
The DefaultProfile parameter is not functional.
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
参数属性
类型: PSObject
默认值: None
支持通配符: False
不显示: False
别名: AzureRMContext, AzureCredential
参数集
(All)
Position: Named
必需: False
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
Identity Parameter
UpgradeViaIdentityExpanded
Position: Named
必需: True
来自管道的值: True
来自管道的值(按属性名称): False
来自剩余参数的值: False
UpgradeViaIdentity
Position: Named
必需: True
来自管道的值: True
来自管道的值(按属性名称): False
来自剩余参数的值: False
-JsonFilePath
Path of Json file supplied to the Upgrade operation
参数属性
类型: String
默认值: None
支持通配符: False
不显示: False
参数集
UpgradeViaJsonFilePath
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
-JsonString
Json string supplied to the Upgrade operation
参数属性
类型: String
默认值: None
支持通配符: False
不显示: False
参数集
UpgradeViaJsonString
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
-NoWait
Run the command asynchronously
参数属性
参数集
(All)
Position: Named
必需: False
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
-ResourceGroupName
The name of the resource group.
The name is case insensitive.
参数属性
类型: String
默认值: None
支持通配符: False
不显示: False
参数集
UpgradeExpanded
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
UpgradeViaJsonString
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
UpgradeViaJsonFilePath
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
Upgrade
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
-SubscriptionId
The ID of the target subscription.
The value must be an UUID.
参数属性
类型: String
默认值: (Get-AzContext).Subscription.Id
支持通配符: False
不显示: False
参数集
UpgradeExpanded
Position: Named
必需: False
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
UpgradeViaJsonString
Position: Named
必需: False
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
UpgradeViaJsonFilePath
Position: Named
必需: False
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
Upgrade
Position: Named
必需: False
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
-UpgradeHistory
A specific upgrade history to rollback
参数属性
类型: String
默认值: None
支持通配符: False
不显示: False
参数集
UpgradeExpanded
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
UpgradeViaIdentityClusterpoolExpanded
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
UpgradeViaIdentityExpanded
Position: Named
必需: True
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
-WhatIf
Shows what would happen if the cmdlet runs.
The cmdlet is not run.
参数属性
参数集
(All)
Position: Named
必需: False
来自管道的值: False
来自管道的值(按属性名称): False
来自剩余参数的值: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
输出