Skip to content

Commit fa796e6

Browse files
committed
Merge pull request #418 from Azure/dev
HPF PR: dev <- Azure:dev
2 parents 910f676 + cf8caa3 commit fa796e6

File tree

4 files changed

+192
-4
lines changed

4 files changed

+192
-4
lines changed

src/ResourceManager/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<Compile Include="JobCommands\StopAzureHDInsightJobCommand.cs" />
5252
<Compile Include="JobCommands\StartAzureHDInsightJobCommand.cs" />
5353
<Compile Include="ManagementCommands\SetAzureHDInsightDefaultStorageCommand.cs" />
54-
<Compile Include="ManagementCommands\NewAzureHDInsightClusterIdentity.cs" />
54+
<Compile Include="ManagementCommands\AddAzureHDInsightClusterIdentity.cs" />
5555
<Compile Include="ManagementCommands\AddAzureHDInsightStorageCommand.cs" />
5656
<Compile Include="ManagementCommands\AddAzureHDInsightScriptActionCommand.cs" />
5757
<Compile Include="ManagementCommands\AddAzureHDInsightMetastoreCommand.cs" />

src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static class CommandNames
3131
public const string AzureHDInsightJobOutput = "AzureRmHDInsightJobOutput";
3232
public const string AzureHDInsightDefaultStorage = "AzureRmHDInsightDefaultStorage";
3333
public const string AzureHDInsightHiveJob = "AzureRmHDInsightHiveJob";
34-
public const string AzureHDInsightClusterIdentity = "AzureHDInsightClusterIdentity";
34+
public const string AzureHDInsightClusterIdentity = "AzureRmHDInsightClusterIdentity";
3535
public const string Hive = "Hive";
3636
}
3737

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
namespace Microsoft.Azure.Commands.HDInsight.ManagementCommands
2121
{
2222
[Cmdlet(
23-
VerbsCommon.New,
23+
VerbsCommon.Add,
2424
Constants.CommandNames.AzureHDInsightClusterIdentity),
2525
OutputType(typeof(AzureHDInsightConfig))]
26-
public class NewAzureHDInsightClusterIdentity : HDInsightCmdletBase
26+
public class AddAzureHDInsightClusterIdentity : HDInsightCmdletBase
2727
{
2828
#region Input Parameter Definitions
2929

src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help.xml

Lines changed: 188 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,193 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<helpItems schema="maml">
3+
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
4+
<command:details>
5+
<command:name>Add-AzureRmHDInsightClusterIdentity</command:name>
6+
<maml:description>
7+
<maml:para>Adds a cluster identity to the Microsoft Azure HDInsight cluster configuration.</maml:para>
8+
</maml:description>
9+
<maml:copyright>
10+
<maml:para />
11+
</maml:copyright>
12+
<command:verb>Add</command:verb>
13+
<command:noun>AzureHDInsightClusterIdentity</command:noun>
14+
<dev:version />
15+
</command:details>
16+
<maml:description>
17+
<maml:para>Adds a cluster identity to the Microsoft Azure HDInsight cluster configuration.</maml:para>
18+
</maml:description>
19+
<command:syntax>
20+
<command:syntaxItem>
21+
<maml:name>Add-AzureRmHDInsightClusterIdentity</maml:name>
22+
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
23+
<maml:name>Config</maml:name>
24+
<maml:description>
25+
<maml:para>The HDInsight cluster configuration to use when creating the new cluster.</maml:para>
26+
</maml:description>
27+
<command:parameterValue required="true" variableLength="false">AzureHDInsightConfig</command:parameterValue>
28+
</command:parameter>
29+
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
30+
<maml:name>ObjectId</maml:name>
31+
<maml:description>
32+
<maml:para>The Service Principal Object Id for accessing Azure Data Lake.</maml:para>
33+
</maml:description>
34+
<command:parameterValue required="true" variableLength="false">Guid</command:parameterValue>
35+
</command:parameter>
36+
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
37+
<maml:name>CertificateFilePath</maml:name>
38+
<maml:description>
39+
<maml:para>The Service Principal certificate for accessing Azure Data Lake.</maml:para>
40+
</maml:description>
41+
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
42+
</command:parameter>
43+
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3">
44+
<maml:name>CertificatePassword</maml:name>
45+
<maml:description>
46+
<maml:para>The Service Principal certificate password for accessing Azure Data Lake.</maml:para>
47+
</maml:description>
48+
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
49+
</command:parameter>
50+
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
51+
<maml:name>AadTenantId</maml:name>
52+
<maml:description>
53+
<maml:para>The Service Principal AAD Tenant Id for accessing Azure Data Lake.</maml:para>
54+
</maml:description>
55+
<command:parameterValue required="false" variableLength="false">Guid</command:parameterValue>
56+
</command:parameter>
57+
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
58+
<maml:name>Profile</maml:name>
59+
<maml:description>
60+
<maml:para />
61+
</maml:description>
62+
<command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue>
63+
</command:parameter>
64+
</command:syntaxItem>
65+
</command:syntax>
66+
<command:parameters>
67+
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0">
68+
<maml:name>Config</maml:name>
69+
<maml:description>
70+
<maml:para>The HDInsight cluster configuration to use when creating the new cluster.</maml:para>
71+
</maml:description>
72+
<command:parameterValue required="true" variableLength="false">AzureHDInsightConfig</command:parameterValue>
73+
<dev:type>
74+
<maml:name>AzureHDInsightConfig</maml:name>
75+
<maml:uri />
76+
</dev:type>
77+
<dev:defaultValue>
78+
</dev:defaultValue>
79+
</command:parameter>
80+
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
81+
<maml:name>ObjectId</maml:name>
82+
<maml:description>
83+
<maml:para>The Service Principal Object Id for accessing Azure Data Lake.</maml:para>
84+
</maml:description>
85+
<command:parameterValue required="true" variableLength="false">Guid</command:parameterValue>
86+
<dev:type>
87+
<maml:name>Guid</maml:name>
88+
<maml:uri />
89+
</dev:type>
90+
<dev:defaultValue>
91+
</dev:defaultValue>
92+
</command:parameter>
93+
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
94+
<maml:name>CertificateFilePath</maml:name>
95+
<maml:description>
96+
<maml:para>The Service Principal certificate for accessing Azure Data Lake.</maml:para>
97+
</maml:description>
98+
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
99+
<dev:type>
100+
<maml:name>String</maml:name>
101+
<maml:uri />
102+
</dev:type>
103+
<dev:defaultValue>
104+
</dev:defaultValue>
105+
</command:parameter>
106+
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3">
107+
<maml:name>CertificatePassword</maml:name>
108+
<maml:description>
109+
<maml:para>The Service Principal certificate password for accessing Azure Data Lake.</maml:para>
110+
</maml:description>
111+
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
112+
<dev:type>
113+
<maml:name>String</maml:name>
114+
<maml:uri />
115+
</dev:type>
116+
<dev:defaultValue>
117+
</dev:defaultValue>
118+
</command:parameter>
119+
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
120+
<maml:name>AadTenantId</maml:name>
121+
<maml:description>
122+
<maml:para>The Service Principal AAD Tenant Id for accessing Azure Data Lake.</maml:para>
123+
</maml:description>
124+
<command:parameterValue required="false" variableLength="false">Guid</command:parameterValue>
125+
<dev:type>
126+
<maml:name>Guid</maml:name>
127+
<maml:uri />
128+
</dev:type>
129+
<dev:defaultValue>
130+
</dev:defaultValue>
131+
</command:parameter>
132+
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
133+
<maml:name>Profile</maml:name>
134+
<maml:description>
135+
<maml:para />
136+
</maml:description>
137+
<command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue>
138+
<dev:type>
139+
<maml:name>AzureProfile</maml:name>
140+
<maml:uri />
141+
</dev:type>
142+
<dev:defaultValue>
143+
</dev:defaultValue>
144+
</command:parameter>
145+
</command:parameters>
146+
<command:inputTypes>
147+
<command:inputType>
148+
<dev:type>
149+
<maml:name>
150+
</maml:name>
151+
<maml:uri>
152+
</maml:uri>
153+
<maml:description />
154+
</dev:type>
155+
<maml:description>
156+
<maml:para />
157+
</maml:description>
158+
</command:inputType>
159+
</command:inputTypes>
160+
<command:returnValues>
161+
<command:returnValue>
162+
<dev:type>
163+
<maml:name>
164+
</maml:name>
165+
<maml:uri>
166+
</maml:uri>
167+
<maml:description />
168+
</dev:type>
169+
<maml:description>
170+
<maml:para />
171+
</maml:description>
172+
</command:returnValue>
173+
</command:returnValues>
174+
<command:terminatingErrors>
175+
</command:terminatingErrors>
176+
<command:nonTerminatingErrors>
177+
</command:nonTerminatingErrors>
178+
<maml:alertSet>
179+
<maml:title>
180+
</maml:title>
181+
<maml:alert>
182+
<maml:para />
183+
<maml:para>Keywords: azure, azurerm, arm, resource, management, manager, hadoop, hdinsight, hd, insight</maml:para>
184+
</maml:alert>
185+
</maml:alertSet>
186+
<command:examples>
187+
</command:examples>
188+
<maml:relatedLinks>
189+
</maml:relatedLinks>
190+
</command:command>
3191
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
4192
<!--Generated by PS Cmdlet Help Editor-->
5193
<command:details>

0 commit comments

Comments
 (0)