Skip to content

Commit 77e4232

Browse files
author
Zhenyu Zhou
committed
Fix output issue of Restart-AzHDInsightHosts and update help doc
1 parent 82034ab commit 77e4232

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

src/HDInsight/HDInsight/help/Restart-AzHDInsightHost.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ Restarts the specific hosts of HDInsight cluster.
1515
### SetByNameParameterSet (Default)
1616
```
1717
Restart-AzHDInsightHost [[-ResourceGroupName] <String>] [-ClusterName] <String> [-Name] <String[]> [-AsJob]
18-
[[-DefaultProfile] <IAzureContextContainer>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
18+
[-DefaultProfile <IAzureContextContainer>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
1919
```
2020

2121
### SetByAzureHDInsightHostInfoParameterSet
2222
```
2323
Restart-AzHDInsightHost [[-ResourceGroupName] <String>] [-ClusterName] <String>
24-
[-AzureHDInsightHostInfo] <AzureHDInsightHostInfo[]> [-AsJob] [[-DefaultProfile] <IAzureContextContainer>]
24+
[-AzureHDInsightHostInfo] <AzureHDInsightHostInfo[]> [-AsJob] [-DefaultProfile <IAzureContextContainer>]
2525
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
2626
```
2727

@@ -192,11 +192,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
192192
193193
## INPUTS
194194
195-
### System.Collections.Generic.IList`1[[Microsoft.Azure.Commands.HDInsight.Models.Management.AzureHDInsightHostInfo, Microsoft.Azure.PowerShell.Cmdlets.HDInsight, Version=3.2.0.0, Culture=neutral, PublicKeyToken=null]]
195+
### System.String[]
196+
197+
### Microsoft.Azure.Commands.HDInsight.Models.Management.AzureHDInsightHostInfo[]
196198
197199
## OUTPUTS
198200
199-
### Microsoft.Azure.Management.HDInsight.Models.Cluster
201+
### System.Boolean
200202
201203
## NOTES
202204
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
"AssemblyFileName","ClassName","Target","Severity","ProblemId","Description","Remediation"
2+
"Microsoft.Azure.PowerShell.Cmdlets.HDInsight.dll","Microsoft.Azure.Commands.HDInsight.RestartAzureHDInsightHostCommand","Restart-AzHDInsightHost","0","1020","The cmdlet 'Restart-AzHDInsightHost' no longer has output type 'Microsoft.Azure.Management.HDInsight.Models.Cluster'.","Make cmdlet 'Restart-AzHDInsightHost' return type 'Microsoft.Azure.Management.HDInsight.Models.Cluster'."
3+
"Microsoft.Azure.PowerShell.Cmdlets.HDInsight.dll","Microsoft.Azure.Commands.HDInsight.SetAzureHDInsightClusterDiskEncryptionKeyCommand","Set-AzHDInsightClusterDiskEncryptionKey","0","3010","The property 'NetworkSettings' of type 'Microsoft.Azure.Management.HDInsight.Models.ClusterGetProperties' has been removed.","Add the property 'NetworkSettings' back to type 'Microsoft.Azure.Management.HDInsight.Models.ClusterGetProperties'."

0 commit comments

Comments
 (0)