Skip to content

Commit 114a8b9

Browse files
yuc-Liv-yuchenlidolauli
authored
[HDInsight] Check in autorest.powershell source code and add a new feature. (#23726)
* Add autorest.powershell generate code. * Update propertiy names changed in generated code. * Add feature enable secure channel. * Update test case and session records. * Fix an error and add default cluster version. * Update changelog. Update Readme to avoid breaking changes. * Update generate code * Revert "Update generate code" This reverts commit 634cbc7. * Update readme.md * Update ChangeLog.md for HDInsight --------- Co-authored-by: v-yuchenli <v-yuchenli@microsoft.com> Co-authored-by: Xiaogang <xidi@microsoft.com>
1 parent 74c3674 commit 114a8b9

File tree

208 files changed

+55180
-14637
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

208 files changed

+55180
-14637
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for
3+
// license information.
4+
//
5+
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
6+
// Changes may cause incorrect behavior and will be lost if the code is
7+
// regenerated.
8+
9+
namespace Microsoft.Azure.Management.HDInsight.Models
10+
{
11+
/// <summary>
12+
/// A list of roles in a HDInsight Hadoop cluster to run config action on.
13+
/// </summary>
14+
public enum ClusterNodeType
15+
{
16+
/// <summary>
17+
/// The head nodes of the cluster.
18+
/// </summary>
19+
HeadNode,
20+
21+
/// <summary>
22+
/// The worker nodes of the cluster.
23+
/// </summary>
24+
WorkerNode,
25+
26+
/// <summary>
27+
/// The zookeper nodes of the cluster.
28+
/// </summary>
29+
ZookeeperNode,
30+
31+
/// <summary>
32+
/// The edge nodes of the cluster.
33+
/// </summary>
34+
EdgeNode
35+
}
36+
}
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for
3+
// license information.
4+
//
5+
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
6+
// Changes may cause incorrect behavior and will be lost if the code is
7+
// regenerated.
8+
9+
namespace Microsoft.Azure.Management.HDInsight.Models
10+
{
11+
public static class ConfigurationKey
12+
{
13+
/// <summary>
14+
/// The constant for Core site configs.
15+
/// </summary>
16+
public const string CoreSite = "core-site";
17+
18+
/// <summary>
19+
/// The constant for Hive site configs.
20+
/// </summary>
21+
public const string HiveSite = "hive-site";
22+
23+
/// <summary>
24+
/// The constant for hive environment configs.
25+
/// </summary>
26+
public const string HiveEnv = "hive-env";
27+
28+
/// <summary>
29+
/// The constant for Oozie site configs.
30+
/// </summary>
31+
public const string OozieSite = "oozie-site";
32+
33+
/// <summary>
34+
/// The constant for Oozie environment configs.
35+
/// </summary>
36+
public const string OozieEnv = "oozie-env";
37+
38+
/// <summary>
39+
/// The constant for WebHCAT site configs.
40+
/// </summary>
41+
public const string WebHCatSite = "webhcat-site";
42+
43+
/// <summary>
44+
/// The constant for HBase environment configs.
45+
/// </summary>
46+
public const string HBaseEnv = "hbase-env";
47+
48+
/// <summary>
49+
/// The constant for HBase site configs.
50+
/// </summary>
51+
public const string HBaseSite = "hbase-site";
52+
53+
/// <summary>
54+
/// The constant for Storm site configs.
55+
/// </summary>
56+
public const string StormSite = "storm-site";
57+
58+
/// <summary>
59+
/// The constant for Yarn site configs.
60+
/// </summary>
61+
public const string YarnSite = "yarn-site";
62+
63+
/// <summary>
64+
/// The constant for MapRed site configs.
65+
/// </summary>
66+
public const string MapRedSite = "mapred-site";
67+
68+
/// <summary>
69+
/// The constant for Tez site configs.
70+
/// </summary>
71+
public const string TezSite = "tez-site";
72+
73+
/// <summary>
74+
/// The constant for HDFS site configs.
75+
/// </summary>
76+
public const string HdfsSite = "hdfs-site";
77+
78+
/// <summary>
79+
/// The constant for Gateway configs.
80+
/// </summary>
81+
public const string Gateway = "gateway";
82+
83+
/// <summary>
84+
/// The constant for cluster identity configs.
85+
/// </summary>
86+
public const string ClusterIdentity = "clusterIdentity";
87+
88+
/// <summary>
89+
/// The constant for Spark-Defaults configs.
90+
/// </summary>
91+
public const string SparkDefaults = "spark-defaults";
92+
93+
/// <summary>
94+
/// The constant for Spark-Thrift-SparkConf configs.
95+
/// </summary>
96+
public const string SparkThriftConf = "spark-thrift-sparkconf";
97+
98+
/// <summary>
99+
/// The constant for Spark2-Defaults configs.
100+
/// </summary>
101+
public const string Spark2Defaults = "spark2-defaults";
102+
103+
/// <summary>
104+
/// The constant for Spark2-Thrift-SparkConf configs.
105+
/// </summary>
106+
public const string Spark2ThriftConf = "spark2-thrift-sparkconf";
107+
}
108+
}

0 commit comments

Comments
 (0)