@azure/arm-hdinsight 0.22.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -74
  4. package/dist/index.js +7702 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/hDInsightManagementClient.d.ts +29 -0
  9. package/dist-esm/src/hDInsightManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/hDInsightManagementClient.js +62 -0
  11. package/dist-esm/src/hDInsightManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/{esm/models/configurationsMappers.js → dist-esm/src/index.js} +5 -2
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +1966 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +133 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +111 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +1813 -1305
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +37 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +280 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/applications.d.ts +90 -0
  33. package/dist-esm/src/operations/applications.d.ts.map +1 -0
  34. package/dist-esm/src/operations/applications.js +367 -0
  35. package/dist-esm/src/operations/applications.js.map +1 -0
  36. package/dist-esm/src/operations/clusters.d.ts +214 -0
  37. package/dist-esm/src/operations/clusters.d.ts.map +1 -0
  38. package/dist-esm/src/operations/clusters.js +979 -0
  39. package/dist-esm/src/operations/clusters.js.map +1 -0
  40. package/dist-esm/src/operations/configurations.d.ts +54 -0
  41. package/dist-esm/src/operations/configurations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/configurations.js +178 -0
  43. package/dist-esm/src/operations/configurations.js.map +1 -0
  44. package/dist-esm/src/operations/extensions.d.ts +139 -0
  45. package/dist-esm/src/operations/extensions.d.ts.map +1 -0
  46. package/dist-esm/src/operations/extensions.js +602 -0
  47. package/dist-esm/src/operations/extensions.js.map +1 -0
  48. package/{esm → dist-esm/src}/operations/index.d.ts +2 -0
  49. package/dist-esm/src/operations/index.d.ts.map +1 -0
  50. package/dist-esm/src/operations/index.js +19 -0
  51. package/dist-esm/src/operations/index.js.map +1 -0
  52. package/dist-esm/src/operations/locations.d.ts +52 -0
  53. package/dist-esm/src/operations/locations.d.ts.map +1 -0
  54. package/dist-esm/src/operations/locations.js +199 -0
  55. package/dist-esm/src/operations/locations.js.map +1 -0
  56. package/dist-esm/src/operations/operations.d.ts +32 -0
  57. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  58. package/dist-esm/src/operations/operations.js +120 -0
  59. package/dist-esm/src/operations/operations.js.map +1 -0
  60. package/dist-esm/src/operations/privateEndpointConnections.d.ts +81 -0
  61. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  62. package/dist-esm/src/operations/privateEndpointConnections.js +349 -0
  63. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  64. package/dist-esm/src/operations/privateLinkResources.d.ts +28 -0
  65. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  66. package/dist-esm/src/operations/privateLinkResources.js +85 -0
  67. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  68. package/dist-esm/src/operations/scriptActions.d.ts +62 -0
  69. package/dist-esm/src/operations/scriptActions.d.ts.map +1 -0
  70. package/dist-esm/src/operations/scriptActions.js +232 -0
  71. package/dist-esm/src/operations/scriptActions.js.map +1 -0
  72. package/dist-esm/src/operations/scriptExecutionHistory.d.ts +46 -0
  73. package/dist-esm/src/operations/scriptExecutionHistory.d.ts.map +1 -0
  74. package/dist-esm/src/operations/scriptExecutionHistory.js +167 -0
  75. package/dist-esm/src/operations/scriptExecutionHistory.js.map +1 -0
  76. package/dist-esm/src/operations/virtualMachines.d.ts +45 -0
  77. package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -0
  78. package/dist-esm/src/operations/virtualMachines.js +169 -0
  79. package/dist-esm/src/operations/virtualMachines.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/applications.d.ts +65 -0
  81. package/dist-esm/src/operationsInterfaces/applications.d.ts.map +1 -0
  82. package/{src/models/virtualMachinesMappers.ts → dist-esm/src/operationsInterfaces/applications.js} +2 -5
  83. package/dist-esm/src/operationsInterfaces/applications.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/clusters.d.ts +178 -0
  85. package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -0
  86. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/clusters.js} +2 -1
  87. package/dist-esm/src/operationsInterfaces/clusters.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/configurations.d.ts +46 -0
  89. package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +1 -0
  90. package/{src/models/configurationsMappers.ts → dist-esm/src/operationsInterfaces/configurations.js} +2 -5
  91. package/dist-esm/src/operationsInterfaces/configurations.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/extensions.d.ts +131 -0
  93. package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +1 -0
  94. package/{esm/models/virtualMachinesMappers.js → dist-esm/src/operationsInterfaces/extensions.js} +2 -2
  95. package/dist-esm/src/operationsInterfaces/extensions.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
  97. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/index.js +19 -0
  99. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/locations.d.ts +44 -0
  101. package/dist-esm/src/operationsInterfaces/locations.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/locations.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/locations.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  105. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
  109. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +20 -0
  113. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/scriptActions.d.ts +37 -0
  117. package/dist-esm/src/operationsInterfaces/scriptActions.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/scriptActions.js +9 -0
  119. package/dist-esm/src/operationsInterfaces/scriptActions.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/scriptExecutionHistory.d.ts +21 -0
  121. package/dist-esm/src/operationsInterfaces/scriptExecutionHistory.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/scriptExecutionHistory.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/scriptExecutionHistory.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +37 -0
  125. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/virtualMachines.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +1 -0
  128. package/dist-esm/test/sampleTest.d.ts +2 -0
  129. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  130. package/dist-esm/test/sampleTest.js +40 -0
  131. package/dist-esm/test/sampleTest.js.map +1 -0
  132. package/package.json +65 -31
  133. package/review/arm-hdinsight.api.md +1678 -0
  134. package/rollup.config.js +181 -30
  135. package/src/hDInsightManagementClient.ts +106 -44
  136. package/src/{models/extensionsMappers.ts → index.ts} +4 -6
  137. package/src/lroImpl.ts +34 -0
  138. package/src/models/index.ts +1760 -2084
  139. package/src/models/mappers.ts +1840 -1291
  140. package/src/models/parameters.ts +236 -44
  141. package/src/operations/applications.ts +383 -187
  142. package/src/operations/clusters.ts +1051 -535
  143. package/src/operations/configurations.ts +162 -154
  144. package/src/operations/extensions.ts +693 -216
  145. package/src/operations/index.ts +3 -2
  146. package/src/operations/locations.ts +186 -99
  147. package/src/operations/operations.ts +85 -73
  148. package/src/operations/privateEndpointConnections.ts +495 -0
  149. package/src/operations/privateLinkResources.ts +116 -0
  150. package/src/operations/scriptActions.ts +215 -157
  151. package/src/operations/scriptExecutionHistory.ts +155 -123
  152. package/src/operations/virtualMachines.ts +166 -101
  153. package/src/operationsInterfaces/applications.ts +126 -0
  154. package/src/operationsInterfaces/clusters.ts +327 -0
  155. package/src/operationsInterfaces/configurations.ts +77 -0
  156. package/src/operationsInterfaces/extensions.ts +234 -0
  157. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +4 -3
  158. package/src/operationsInterfaces/locations.ts +88 -0
  159. package/src/operationsInterfaces/operations.ts +22 -0
  160. package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
  161. package/src/operationsInterfaces/privateLinkResources.ts +42 -0
  162. package/src/operationsInterfaces/scriptActions.ts +73 -0
  163. package/src/operationsInterfaces/scriptExecutionHistory.ts +43 -0
  164. package/src/operationsInterfaces/virtualMachines.ts +70 -0
  165. package/tsconfig.json +3 -3
  166. package/types/arm-hdinsight.d.ts +2866 -0
  167. package/types/tsdoc-metadata.json +11 -0
  168. package/dist/arm-hdinsight.js +0 -5759
  169. package/dist/arm-hdinsight.js.map +0 -1
  170. package/dist/arm-hdinsight.min.js +0 -1
  171. package/dist/arm-hdinsight.min.js.map +0 -1
  172. package/esm/hDInsightManagementClient.d.ts +0 -27
  173. package/esm/hDInsightManagementClient.d.ts.map +0 -1
  174. package/esm/hDInsightManagementClient.js +0 -41
  175. package/esm/hDInsightManagementClient.js.map +0 -1
  176. package/esm/hDInsightManagementClientContext.d.ts +0 -17
  177. package/esm/hDInsightManagementClientContext.d.ts.map +0 -1
  178. package/esm/hDInsightManagementClientContext.js +0 -56
  179. package/esm/hDInsightManagementClientContext.js.map +0 -1
  180. package/esm/models/applicationsMappers.d.ts +0 -2
  181. package/esm/models/applicationsMappers.d.ts.map +0 -1
  182. package/esm/models/applicationsMappers.js +0 -9
  183. package/esm/models/applicationsMappers.js.map +0 -1
  184. package/esm/models/clustersMappers.d.ts +0 -2
  185. package/esm/models/clustersMappers.d.ts.map +0 -1
  186. package/esm/models/clustersMappers.js +0 -9
  187. package/esm/models/clustersMappers.js.map +0 -1
  188. package/esm/models/configurationsMappers.d.ts +0 -2
  189. package/esm/models/configurationsMappers.d.ts.map +0 -1
  190. package/esm/models/configurationsMappers.js.map +0 -1
  191. package/esm/models/extensionsMappers.d.ts +0 -2
  192. package/esm/models/extensionsMappers.d.ts.map +0 -1
  193. package/esm/models/extensionsMappers.js +0 -9
  194. package/esm/models/extensionsMappers.js.map +0 -1
  195. package/esm/models/index.d.ts +0 -2397
  196. package/esm/models/index.d.ts.map +0 -1
  197. package/esm/models/index.js.map +0 -1
  198. package/esm/models/locationsMappers.d.ts +0 -2
  199. package/esm/models/locationsMappers.d.ts.map +0 -1
  200. package/esm/models/locationsMappers.js +0 -9
  201. package/esm/models/locationsMappers.js.map +0 -1
  202. package/esm/models/mappers.d.ts +0 -94
  203. package/esm/models/mappers.d.ts.map +0 -1
  204. package/esm/models/mappers.js.map +0 -1
  205. package/esm/models/operationsMappers.d.ts +0 -2
  206. package/esm/models/operationsMappers.d.ts.map +0 -1
  207. package/esm/models/operationsMappers.js +0 -9
  208. package/esm/models/operationsMappers.js.map +0 -1
  209. package/esm/models/parameters.d.ts +0 -15
  210. package/esm/models/parameters.d.ts.map +0 -1
  211. package/esm/models/parameters.js +0 -142
  212. package/esm/models/parameters.js.map +0 -1
  213. package/esm/models/scriptActionsMappers.d.ts +0 -2
  214. package/esm/models/scriptActionsMappers.d.ts.map +0 -1
  215. package/esm/models/scriptActionsMappers.js +0 -9
  216. package/esm/models/scriptActionsMappers.js.map +0 -1
  217. package/esm/models/scriptExecutionHistoryMappers.d.ts +0 -2
  218. package/esm/models/scriptExecutionHistoryMappers.d.ts.map +0 -1
  219. package/esm/models/scriptExecutionHistoryMappers.js +0 -9
  220. package/esm/models/scriptExecutionHistoryMappers.js.map +0 -1
  221. package/esm/models/virtualMachinesMappers.d.ts +0 -2
  222. package/esm/models/virtualMachinesMappers.d.ts.map +0 -1
  223. package/esm/models/virtualMachinesMappers.js.map +0 -1
  224. package/esm/operations/applications.d.ts +0 -115
  225. package/esm/operations/applications.d.ts.map +0 -1
  226. package/esm/operations/applications.js +0 -233
  227. package/esm/operations/applications.js.map +0 -1
  228. package/esm/operations/clusters.d.ts +0 -273
  229. package/esm/operations/clusters.d.ts.map +0 -1
  230. package/esm/operations/clusters.js +0 -621
  231. package/esm/operations/clusters.js.map +0 -1
  232. package/esm/operations/configurations.d.ts +0 -90
  233. package/esm/operations/configurations.d.ts.map +0 -1
  234. package/esm/operations/configurations.js +0 -173
  235. package/esm/operations/configurations.js.map +0 -1
  236. package/esm/operations/extensions.d.ts +0 -131
  237. package/esm/operations/extensions.d.ts.map +0 -1
  238. package/esm/operations/extensions.js +0 -307
  239. package/esm/operations/extensions.js.map +0 -1
  240. package/esm/operations/index.d.ts.map +0 -1
  241. package/esm/operations/index.js.map +0 -1
  242. package/esm/operations/locations.d.ts +0 -67
  243. package/esm/operations/locations.d.ts.map +0 -1
  244. package/esm/operations/locations.js +0 -113
  245. package/esm/operations/locations.js.map +0 -1
  246. package/esm/operations/operations.d.ts +0 -46
  247. package/esm/operations/operations.d.ts.map +0 -1
  248. package/esm/operations/operations.js +0 -79
  249. package/esm/operations/operations.js.map +0 -1
  250. package/esm/operations/scriptActions.d.ts +0 -100
  251. package/esm/operations/scriptActions.d.ts.map +0 -1
  252. package/esm/operations/scriptActions.js +0 -151
  253. package/esm/operations/scriptActions.js.map +0 -1
  254. package/esm/operations/scriptExecutionHistory.d.ts +0 -76
  255. package/esm/operations/scriptExecutionHistory.d.ts.map +0 -1
  256. package/esm/operations/scriptExecutionHistory.js +0 -117
  257. package/esm/operations/scriptExecutionHistory.js.map +0 -1
  258. package/esm/operations/virtualMachines.d.ts +0 -53
  259. package/esm/operations/virtualMachines.d.ts.map +0 -1
  260. package/esm/operations/virtualMachines.js +0 -134
  261. package/esm/operations/virtualMachines.js.map +0 -1
  262. package/src/hDInsightManagementClientContext.ts +0 -62
  263. package/src/models/applicationsMappers.ts +0 -56
  264. package/src/models/clustersMappers.ts +0 -65
  265. package/src/models/locationsMappers.ts +0 -28
  266. package/src/models/operationsMappers.ts +0 -18
  267. package/src/models/scriptActionsMappers.ts +0 -15
  268. package/src/models/scriptExecutionHistoryMappers.ts +0 -15
@@ -1,2397 +0,0 @@
1
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
2
- import * as msRest from "@azure/ms-rest-js";
3
- export { BaseResource, CloudError };
4
- /**
5
- * The cluster definition.
6
- */
7
- export interface ClusterDefinition {
8
- /**
9
- * The link to the blueprint.
10
- */
11
- blueprint?: string;
12
- /**
13
- * The type of cluster.
14
- */
15
- kind?: string;
16
- /**
17
- * The versions of different services in the cluster.
18
- */
19
- componentVersion?: {
20
- [propertyName: string]: string;
21
- };
22
- /**
23
- * The cluster configurations.
24
- */
25
- configurations?: any;
26
- }
27
- /**
28
- * The information of AAD security group.
29
- */
30
- export interface ClientGroupInfo {
31
- /**
32
- * The AAD security group name.
33
- */
34
- groupName?: string;
35
- /**
36
- * The AAD security group id.
37
- */
38
- groupId?: string;
39
- }
40
- /**
41
- * The kafka rest proxy configuration which contains AAD security group information.
42
- */
43
- export interface KafkaRestProperties {
44
- /**
45
- * The information of AAD security group.
46
- */
47
- clientGroupInfo?: ClientGroupInfo;
48
- }
49
- /**
50
- * The security profile which contains Ssh public key for the HDInsight cluster.
51
- */
52
- export interface SecurityProfile {
53
- /**
54
- * The directory type. Possible values include: 'ActiveDirectory'
55
- */
56
- directoryType?: DirectoryType;
57
- /**
58
- * The organization's active directory domain.
59
- */
60
- domain?: string;
61
- /**
62
- * The organizational unit within the Active Directory to place the cluster and service accounts.
63
- */
64
- organizationalUnitDN?: string;
65
- /**
66
- * The LDAPS protocol URLs to communicate with the Active Directory.
67
- */
68
- ldapsUrls?: string[];
69
- /**
70
- * The domain user account that will have admin privileges on the cluster.
71
- */
72
- domainUsername?: string;
73
- /**
74
- * The domain admin password.
75
- */
76
- domainUserPassword?: string;
77
- /**
78
- * Optional. The Distinguished Names for cluster user groups
79
- */
80
- clusterUsersGroupDNs?: string[];
81
- /**
82
- * The resource ID of the user's Azure Active Directory Domain Service.
83
- */
84
- aaddsResourceId?: string;
85
- /**
86
- * User assigned identity that has permissions to read and create cluster-related artifacts in
87
- * the user's AADDS.
88
- */
89
- msiResourceId?: string;
90
- }
91
- /**
92
- * Time and capacity request parameters
93
- */
94
- export interface AutoscaleTimeAndCapacity {
95
- /**
96
- * 24-hour time in the form xx:xx
97
- */
98
- time?: string;
99
- /**
100
- * The minimum instance count of the cluster
101
- */
102
- minInstanceCount?: number;
103
- /**
104
- * The maximum instance count of the cluster
105
- */
106
- maxInstanceCount?: number;
107
- }
108
- /**
109
- * Parameters for a schedule-based autoscale rule, consisting of an array of days + a time and
110
- * capacity
111
- */
112
- export interface AutoscaleSchedule {
113
- /**
114
- * Days of the week for a schedule-based autoscale rule
115
- */
116
- days?: DaysOfWeek[];
117
- /**
118
- * Time and capacity for a schedule-based autoscale rule
119
- */
120
- timeAndCapacity?: AutoscaleTimeAndCapacity;
121
- }
122
- /**
123
- * The load-based autoscale request parameters
124
- */
125
- export interface AutoscaleCapacity {
126
- /**
127
- * The minimum instance count of the cluster
128
- */
129
- minInstanceCount?: number;
130
- /**
131
- * The maximum instance count of the cluster
132
- */
133
- maxInstanceCount?: number;
134
- }
135
- /**
136
- * Schedule-based autoscale request parameters
137
- */
138
- export interface AutoscaleRecurrence {
139
- /**
140
- * The time zone for the autoscale schedule times
141
- */
142
- timeZone?: string;
143
- /**
144
- * Array of schedule-based autoscale rules
145
- */
146
- schedule?: AutoscaleSchedule[];
147
- }
148
- /**
149
- * The autoscale request parameters
150
- */
151
- export interface Autoscale {
152
- /**
153
- * Parameters for load-based autoscale
154
- */
155
- capacity?: AutoscaleCapacity;
156
- /**
157
- * Parameters for schedule-based autoscale
158
- */
159
- recurrence?: AutoscaleRecurrence;
160
- }
161
- /**
162
- * The autoscale configuration update parameter.
163
- */
164
- export interface AutoscaleConfigurationUpdateParameter {
165
- /**
166
- * The autoscale configuration.
167
- */
168
- autoscale?: Autoscale;
169
- }
170
- /**
171
- * The hardware profile.
172
- */
173
- export interface HardwareProfile {
174
- /**
175
- * The size of the VM
176
- */
177
- vmSize?: string;
178
- }
179
- /**
180
- * The virtual network properties.
181
- */
182
- export interface VirtualNetworkProfile {
183
- /**
184
- * The ID of the virtual network.
185
- */
186
- id?: string;
187
- /**
188
- * The name of the subnet.
189
- */
190
- subnet?: string;
191
- }
192
- /**
193
- * The data disks groups for the role.
194
- */
195
- export interface DataDisksGroups {
196
- /**
197
- * The number of disks per node.
198
- */
199
- disksPerNode?: number;
200
- /**
201
- * ReadOnly. The storage account type. Do not set this value.
202
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
203
- */
204
- readonly storageAccountType?: string;
205
- /**
206
- * ReadOnly. The DiskSize in GB. Do not set this value.
207
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
208
- */
209
- readonly diskSizeGB?: number;
210
- }
211
- /**
212
- * The SSH public key for the cluster nodes.
213
- */
214
- export interface SshPublicKey {
215
- /**
216
- * The certificate for SSH.
217
- */
218
- certificateData?: string;
219
- }
220
- /**
221
- * The list of SSH public keys.
222
- */
223
- export interface SshProfile {
224
- /**
225
- * The list of SSH public keys.
226
- */
227
- publicKeys?: SshPublicKey[];
228
- }
229
- /**
230
- * The ssh username, password, and ssh public key.
231
- */
232
- export interface LinuxOperatingSystemProfile {
233
- /**
234
- * The username.
235
- */
236
- username?: string;
237
- /**
238
- * The password.
239
- */
240
- password?: string;
241
- /**
242
- * The SSH profile.
243
- */
244
- sshProfile?: SshProfile;
245
- }
246
- /**
247
- * The Linux operation systems profile.
248
- */
249
- export interface OsProfile {
250
- /**
251
- * The Linux OS profile.
252
- */
253
- linuxOperatingSystemProfile?: LinuxOperatingSystemProfile;
254
- }
255
- /**
256
- * Describes a script action on role on the cluster.
257
- */
258
- export interface ScriptAction {
259
- /**
260
- * The name of the script action.
261
- */
262
- name: string;
263
- /**
264
- * The URI to the script.
265
- */
266
- uri: string;
267
- /**
268
- * The parameters for the script provided.
269
- */
270
- parameters: string;
271
- }
272
- /**
273
- * Describes a role on the cluster.
274
- */
275
- export interface Role {
276
- /**
277
- * The name of the role.
278
- */
279
- name?: string;
280
- /**
281
- * The minimum instance count of the cluster.
282
- */
283
- minInstanceCount?: number;
284
- /**
285
- * The instance count of the cluster.
286
- */
287
- targetInstanceCount?: number;
288
- /**
289
- * The autoscale configurations.
290
- */
291
- autoscaleConfiguration?: Autoscale;
292
- /**
293
- * The hardware profile.
294
- */
295
- hardwareProfile?: HardwareProfile;
296
- /**
297
- * The operating system profile.
298
- */
299
- osProfile?: OsProfile;
300
- /**
301
- * The virtual network profile.
302
- */
303
- virtualNetworkProfile?: VirtualNetworkProfile;
304
- /**
305
- * The data disks groups for the role.
306
- */
307
- dataDisksGroups?: DataDisksGroups[];
308
- /**
309
- * The list of script actions on the role.
310
- */
311
- scriptActions?: ScriptAction[];
312
- /**
313
- * Indicates whether encrypt the data disks.
314
- */
315
- encryptDataDisks?: boolean;
316
- }
317
- /**
318
- * Describes the compute profile.
319
- */
320
- export interface ComputeProfile {
321
- /**
322
- * The list of roles in the cluster.
323
- */
324
- roles?: Role[];
325
- }
326
- /**
327
- * The storage Account.
328
- */
329
- export interface StorageAccount {
330
- /**
331
- * The name of the storage account.
332
- */
333
- name?: string;
334
- /**
335
- * Whether or not the storage account is the default storage account.
336
- */
337
- isDefault?: boolean;
338
- /**
339
- * The container in the storage account, only to be specified for WASB storage accounts.
340
- */
341
- container?: string;
342
- /**
343
- * The filesystem, only to be specified for Azure Data Lake Storage Gen 2.
344
- */
345
- fileSystem?: string;
346
- /**
347
- * The storage account access key.
348
- */
349
- key?: string;
350
- /**
351
- * The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.
352
- */
353
- resourceId?: string;
354
- /**
355
- * The managed identity (MSI) that is allowed to access the storage account, only to be specified
356
- * for Azure Data Lake Storage Gen 2.
357
- */
358
- msiResourceId?: string;
359
- }
360
- /**
361
- * The storage profile.
362
- */
363
- export interface StorageProfile {
364
- /**
365
- * The list of storage accounts in the cluster.
366
- */
367
- storageaccounts?: StorageAccount[];
368
- }
369
- /**
370
- * The configuration that services will be excluded when creating cluster.
371
- */
372
- export interface ExcludedServicesConfig {
373
- /**
374
- * The config id of excluded services.
375
- */
376
- excludedServicesConfigId?: string;
377
- /**
378
- * The list of excluded services.
379
- */
380
- excludedServicesList?: string;
381
- }
382
- /**
383
- * The network properties.
384
- */
385
- export interface NetworkProperties {
386
- /**
387
- * The direction for the resource provider connection. Possible values include: 'Inbound',
388
- * 'Outbound'
389
- */
390
- resourceProviderConnection?: ResourceProviderConnection;
391
- /**
392
- * Indicates whether or not private link is enabled. Possible values include: 'Disabled',
393
- * 'Enabled'
394
- */
395
- privateLink?: PrivateLink;
396
- }
397
- /**
398
- * The compute isolation properties.
399
- */
400
- export interface ComputeIsolationProperties {
401
- /**
402
- * The flag indicates whether enable compute isolation or not.
403
- */
404
- enableComputeIsolation?: boolean;
405
- /**
406
- * The host sku.
407
- */
408
- hostSku?: string;
409
- }
410
- /**
411
- * The disk encryption properties
412
- */
413
- export interface DiskEncryptionProperties {
414
- /**
415
- * Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
416
- */
417
- vaultUri?: string;
418
- /**
419
- * Key name that is used for enabling disk encryption.
420
- */
421
- keyName?: string;
422
- /**
423
- * Specific key version that is used for enabling disk encryption.
424
- */
425
- keyVersion?: string;
426
- /**
427
- * Algorithm identifier for encryption, default RSA-OAEP. Possible values include: 'RSA-OAEP',
428
- * 'RSA-OAEP-256', 'RSA1_5'
429
- */
430
- encryptionAlgorithm?: JsonWebKeyEncryptionAlgorithm;
431
- /**
432
- * Resource ID of Managed Identity that is used to access the key vault.
433
- */
434
- msiResourceId?: string;
435
- /**
436
- * Indicates whether or not resource disk encryption is enabled. Default value: false.
437
- */
438
- encryptionAtHost?: boolean;
439
- }
440
- /**
441
- * The encryption-in-transit properties.
442
- */
443
- export interface EncryptionInTransitProperties {
444
- /**
445
- * Indicates whether or not inter cluster node communication is encrypted in transit. Default
446
- * value: false.
447
- */
448
- isEncryptionInTransitEnabled?: boolean;
449
- }
450
- /**
451
- * The cluster create parameters.
452
- */
453
- export interface ClusterCreateProperties {
454
- /**
455
- * The version of the cluster.
456
- */
457
- clusterVersion?: string;
458
- /**
459
- * The type of operating system. Possible values include: 'Windows', 'Linux'
460
- */
461
- osType?: OSType;
462
- /**
463
- * The cluster tier. Possible values include: 'Standard', 'Premium'
464
- */
465
- tier?: Tier;
466
- /**
467
- * The cluster definition.
468
- */
469
- clusterDefinition?: ClusterDefinition;
470
- /**
471
- * The cluster kafka rest proxy configuration.
472
- */
473
- kafkaRestProperties?: KafkaRestProperties;
474
- /**
475
- * The security profile.
476
- */
477
- securityProfile?: SecurityProfile;
478
- /**
479
- * The compute profile.
480
- */
481
- computeProfile?: ComputeProfile;
482
- /**
483
- * The storage profile.
484
- */
485
- storageProfile?: StorageProfile;
486
- /**
487
- * The disk encryption properties.
488
- */
489
- diskEncryptionProperties?: DiskEncryptionProperties;
490
- /**
491
- * The encryption-in-transit properties.
492
- */
493
- encryptionInTransitProperties?: EncryptionInTransitProperties;
494
- /**
495
- * The minimal supported tls version.
496
- */
497
- minSupportedTlsVersion?: string;
498
- /**
499
- * The network properties.
500
- */
501
- networkProperties?: NetworkProperties;
502
- /**
503
- * The compute isolation properties.
504
- */
505
- computeIsolationProperties?: ComputeIsolationProperties;
506
- }
507
- /**
508
- * An interface representing ClusterIdentityUserAssignedIdentitiesValue.
509
- */
510
- export interface ClusterIdentityUserAssignedIdentitiesValue {
511
- /**
512
- * The principal id of user assigned identity.
513
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
514
- */
515
- readonly principalId?: string;
516
- /**
517
- * The client id of user assigned identity.
518
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
519
- */
520
- readonly clientId?: string;
521
- /**
522
- * The tenant id of user assigned identity.
523
- */
524
- tenantId?: string;
525
- }
526
- /**
527
- * Identity for the cluster.
528
- */
529
- export interface ClusterIdentity {
530
- /**
531
- * The principal id of cluster identity. This property will only be provided for a system
532
- * assigned identity.
533
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
534
- */
535
- readonly principalId?: string;
536
- /**
537
- * The tenant id associated with the cluster. This property will only be provided for a system
538
- * assigned identity.
539
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
540
- */
541
- readonly tenantId?: string;
542
- /**
543
- * The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes
544
- * both an implicitly created identity and a set of user assigned identities. Possible values
545
- * include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'
546
- */
547
- type?: ResourceIdentityType;
548
- /**
549
- * The list of user identities associated with the cluster. The user identity dictionary key
550
- * references will be ARM resource ids in the form:
551
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
552
- */
553
- userAssignedIdentities?: {
554
- [propertyName: string]: ClusterIdentityUserAssignedIdentitiesValue;
555
- };
556
- }
557
- /**
558
- * The CreateCluster request parameters.
559
- */
560
- export interface ClusterCreateParametersExtended {
561
- /**
562
- * The location of the cluster.
563
- */
564
- location?: string;
565
- /**
566
- * The resource tags.
567
- */
568
- tags?: {
569
- [propertyName: string]: string;
570
- };
571
- /**
572
- * The cluster create parameters.
573
- */
574
- properties?: ClusterCreateProperties;
575
- /**
576
- * The identity of the cluster, if configured.
577
- */
578
- identity?: ClusterIdentity;
579
- }
580
- /**
581
- * The PatchCluster request parameters
582
- */
583
- export interface ClusterPatchParameters {
584
- /**
585
- * The resource tags.
586
- */
587
- tags?: {
588
- [propertyName: string]: string;
589
- };
590
- }
591
- /**
592
- * The quota properties for the cluster.
593
- */
594
- export interface QuotaInfo {
595
- /**
596
- * The cores used by the cluster.
597
- */
598
- coresUsed?: number;
599
- }
600
- /**
601
- * The error message associated with the cluster creation.
602
- */
603
- export interface Errors {
604
- /**
605
- * The error code.
606
- */
607
- code?: string;
608
- /**
609
- * The error message.
610
- */
611
- message?: string;
612
- }
613
- /**
614
- * The connectivity properties
615
- */
616
- export interface ConnectivityEndpoint {
617
- /**
618
- * The name of the endpoint.
619
- */
620
- name?: string;
621
- /**
622
- * The protocol of the endpoint.
623
- */
624
- protocol?: string;
625
- /**
626
- * The location of the endpoint.
627
- */
628
- location?: string;
629
- /**
630
- * The port to connect to.
631
- */
632
- port?: number;
633
- /**
634
- * The private ip address of the endpoint.
635
- */
636
- privateIPAddress?: string;
637
- }
638
- /**
639
- * The properties of cluster.
640
- */
641
- export interface ClusterGetProperties {
642
- /**
643
- * The version of the cluster.
644
- */
645
- clusterVersion?: string;
646
- /**
647
- * The hdp version of the cluster.
648
- */
649
- clusterHdpVersion?: string;
650
- /**
651
- * The type of operating system. Possible values include: 'Windows', 'Linux'
652
- */
653
- osType?: OSType;
654
- /**
655
- * The cluster tier. Possible values include: 'Standard', 'Premium'
656
- */
657
- tier?: Tier;
658
- /**
659
- * The cluster id.
660
- */
661
- clusterId?: string;
662
- /**
663
- * The cluster definition.
664
- */
665
- clusterDefinition: ClusterDefinition;
666
- /**
667
- * The cluster kafka rest proxy configuration.
668
- */
669
- kafkaRestProperties?: KafkaRestProperties;
670
- /**
671
- * The security profile.
672
- */
673
- securityProfile?: SecurityProfile;
674
- /**
675
- * The compute profile.
676
- */
677
- computeProfile?: ComputeProfile;
678
- /**
679
- * The provisioning state, which only appears in the response. Possible values include:
680
- * 'InProgress', 'Failed', 'Succeeded', 'Canceled', 'Deleting'
681
- */
682
- provisioningState?: HDInsightClusterProvisioningState;
683
- /**
684
- * The date on which the cluster was created.
685
- */
686
- createdDate?: string;
687
- /**
688
- * The state of the cluster.
689
- */
690
- clusterState?: string;
691
- /**
692
- * The quota information.
693
- */
694
- quotaInfo?: QuotaInfo;
695
- /**
696
- * The list of errors.
697
- */
698
- errors?: Errors[];
699
- /**
700
- * The list of connectivity endpoints.
701
- */
702
- connectivityEndpoints?: ConnectivityEndpoint[];
703
- /**
704
- * The disk encryption properties.
705
- */
706
- diskEncryptionProperties?: DiskEncryptionProperties;
707
- /**
708
- * The encryption-in-transit properties.
709
- */
710
- encryptionInTransitProperties?: EncryptionInTransitProperties;
711
- /**
712
- * The storage profile.
713
- */
714
- storageProfile?: StorageProfile;
715
- /**
716
- * The minimal supported tls version.
717
- */
718
- minSupportedTlsVersion?: string;
719
- /**
720
- * The excluded services config.
721
- */
722
- excludedServicesConfig?: ExcludedServicesConfig;
723
- /**
724
- * The network properties.
725
- */
726
- networkProperties?: NetworkProperties;
727
- /**
728
- * The compute isolation properties.
729
- */
730
- computeIsolationProperties?: ComputeIsolationProperties;
731
- }
732
- /**
733
- * The core properties of ARM resources
734
- */
735
- export interface Resource extends BaseResource {
736
- /**
737
- * Fully qualified resource Id for the resource.
738
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
739
- */
740
- readonly id?: string;
741
- /**
742
- * The name of the resource
743
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
744
- */
745
- readonly name?: string;
746
- /**
747
- * The type of the resource.
748
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
749
- */
750
- readonly type?: string;
751
- }
752
- /**
753
- * The resource model definition for a ARM tracked top level resource
754
- */
755
- export interface TrackedResource extends Resource {
756
- /**
757
- * The Azure Region where the resource lives
758
- */
759
- location?: string;
760
- /**
761
- * Resource tags.
762
- */
763
- tags?: {
764
- [propertyName: string]: string;
765
- };
766
- }
767
- /**
768
- * The HDInsight cluster.
769
- */
770
- export interface Cluster extends TrackedResource {
771
- /**
772
- * The ETag for the resource
773
- */
774
- etag?: string;
775
- /**
776
- * The properties of the cluster.
777
- */
778
- properties?: ClusterGetProperties;
779
- /**
780
- * The identity of the cluster, if configured.
781
- */
782
- identity?: ClusterIdentity;
783
- }
784
- /**
785
- * Describes a script action on a running cluster.
786
- */
787
- export interface RuntimeScriptAction {
788
- /**
789
- * The name of the script action.
790
- */
791
- name: string;
792
- /**
793
- * The URI to the script.
794
- */
795
- uri: string;
796
- /**
797
- * The parameters for the script
798
- */
799
- parameters?: string;
800
- /**
801
- * The list of roles where script will be executed.
802
- */
803
- roles: string[];
804
- /**
805
- * The application name of the script action, if any.
806
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
807
- */
808
- readonly applicationName?: string;
809
- }
810
- /**
811
- * The parameters for the script actions to execute on a running cluster.
812
- */
813
- export interface ExecuteScriptActionParameters {
814
- /**
815
- * The list of run time script actions.
816
- */
817
- scriptActions?: RuntimeScriptAction[];
818
- /**
819
- * Gets or sets if the scripts needs to be persisted.
820
- */
821
- persistOnSuccess: boolean;
822
- }
823
- /**
824
- * The ListPersistedScriptActions operation response.
825
- */
826
- export interface ClusterListPersistedScriptActionsResult {
827
- /**
828
- * The list of Persisted Script Actions.
829
- */
830
- value?: RuntimeScriptAction[];
831
- /**
832
- * The link (url) to the next page of results.
833
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
834
- */
835
- readonly nextLink?: string;
836
- }
837
- /**
838
- * The execution summary of a script action.
839
- */
840
- export interface ScriptActionExecutionSummary {
841
- /**
842
- * The status of script action execution.
843
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
844
- */
845
- readonly status?: string;
846
- /**
847
- * The instance count for a given script action execution status.
848
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
849
- */
850
- readonly instanceCount?: number;
851
- }
852
- /**
853
- * The execution details of a script action.
854
- */
855
- export interface RuntimeScriptActionDetail extends RuntimeScriptAction {
856
- /**
857
- * The execution id of the script action.
858
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
859
- */
860
- readonly scriptExecutionId?: number;
861
- /**
862
- * The start time of script action execution.
863
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
864
- */
865
- readonly startTime?: string;
866
- /**
867
- * The end time of script action execution.
868
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
869
- */
870
- readonly endTime?: string;
871
- /**
872
- * The current execution status of the script action.
873
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
874
- */
875
- readonly status?: string;
876
- /**
877
- * The reason why the script action was executed.
878
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
879
- */
880
- readonly operation?: string;
881
- /**
882
- * The summary of script action execution result.
883
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
884
- */
885
- readonly executionSummary?: ScriptActionExecutionSummary[];
886
- /**
887
- * The script action execution debug information.
888
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
889
- */
890
- readonly debugInformation?: string;
891
- }
892
- /**
893
- * The list runtime script action detail response.
894
- */
895
- export interface ClusterListRuntimeScriptActionDetailResult {
896
- /**
897
- * The list of persisted script action details for the cluster.
898
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
899
- */
900
- readonly value?: RuntimeScriptActionDetail[];
901
- /**
902
- * The link (url) to the next page of results.
903
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
904
- */
905
- readonly nextLink?: string;
906
- }
907
- /**
908
- * The Resize Cluster request parameters.
909
- */
910
- export interface ClusterResizeParameters {
911
- /**
912
- * The target instance count for the operation.
913
- */
914
- targetInstanceCount?: number;
915
- }
916
- /**
917
- * The Disk Encryption Cluster request parameters.
918
- */
919
- export interface ClusterDiskEncryptionParameters {
920
- /**
921
- * Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
922
- */
923
- vaultUri?: string;
924
- /**
925
- * Key name that is used for enabling disk encryption.
926
- */
927
- keyName?: string;
928
- /**
929
- * Specific key version that is used for enabling disk encryption.
930
- */
931
- keyVersion?: string;
932
- }
933
- /**
934
- * The update gateway settings request parameters.
935
- */
936
- export interface UpdateGatewaySettingsParameters {
937
- /**
938
- * Indicates whether or not the gateway settings based authorization is enabled. Default value:
939
- * true.
940
- */
941
- isCredentialEnabled?: boolean;
942
- /**
943
- * The gateway settings user name.
944
- */
945
- userName?: string;
946
- /**
947
- * The gateway settings user password.
948
- */
949
- password?: string;
950
- }
951
- /**
952
- * Gateway settings.
953
- */
954
- export interface GatewaySettings {
955
- /**
956
- * Indicates whether or not the gateway settings based authorization is enabled.
957
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
958
- */
959
- readonly isCredentialEnabled?: string;
960
- /**
961
- * The gateway settings user name.
962
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
963
- */
964
- readonly userName?: string;
965
- /**
966
- * The gateway settings user password.
967
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
968
- */
969
- readonly password?: string;
970
- }
971
- /**
972
- * The azure async operation response.
973
- */
974
- export interface OperationResource {
975
- /**
976
- * The async operation state. Possible values include: 'InProgress', 'Succeeded', 'Failed'
977
- */
978
- status?: AsyncOperationState;
979
- /**
980
- * The operation error information.
981
- */
982
- error?: Errors;
983
- }
984
- /**
985
- * The resource model definition for a ARM proxy resource. It will have everything other than
986
- * required location and tags
987
- */
988
- export interface ProxyResource extends Resource {
989
- }
990
- /**
991
- * Describes the format of Error response.
992
- */
993
- export interface ErrorResponse {
994
- /**
995
- * Error code
996
- */
997
- code?: string;
998
- /**
999
- * Error message indicating why the operation failed.
1000
- */
1001
- message?: string;
1002
- }
1003
- /**
1004
- * Gets the application HTTP endpoints.
1005
- */
1006
- export interface ApplicationGetHttpsEndpoint {
1007
- /**
1008
- * The list of access modes for the application.
1009
- */
1010
- accessModes?: string[];
1011
- /**
1012
- * The location of the endpoint.
1013
- */
1014
- location?: string;
1015
- /**
1016
- * The destination port to connect to.
1017
- */
1018
- destinationPort?: number;
1019
- /**
1020
- * The public port to connect to.
1021
- */
1022
- publicPort?: number;
1023
- /**
1024
- * The subdomain suffix of the application.
1025
- */
1026
- subDomainSuffix?: string;
1027
- /**
1028
- * The value indicates whether to disable GatewayAuth.
1029
- */
1030
- disableGatewayAuth?: boolean;
1031
- }
1032
- /**
1033
- * Gets the application SSH endpoint
1034
- */
1035
- export interface ApplicationGetEndpoint {
1036
- /**
1037
- * The location of the endpoint.
1038
- */
1039
- location?: string;
1040
- /**
1041
- * The destination port to connect to.
1042
- */
1043
- destinationPort?: number;
1044
- /**
1045
- * The public port to connect to.
1046
- */
1047
- publicPort?: number;
1048
- /**
1049
- * The private ip address of the endpoint.
1050
- */
1051
- privateIPAddress?: string;
1052
- }
1053
- /**
1054
- * The HDInsight cluster application GET response.
1055
- */
1056
- export interface ApplicationProperties {
1057
- /**
1058
- * The list of roles in the cluster.
1059
- */
1060
- computeProfile?: ComputeProfile;
1061
- /**
1062
- * The list of install script actions.
1063
- */
1064
- installScriptActions?: RuntimeScriptAction[];
1065
- /**
1066
- * The list of uninstall script actions.
1067
- */
1068
- uninstallScriptActions?: RuntimeScriptAction[];
1069
- /**
1070
- * The list of application HTTPS endpoints.
1071
- */
1072
- httpsEndpoints?: ApplicationGetHttpsEndpoint[];
1073
- /**
1074
- * The list of application SSH endpoints.
1075
- */
1076
- sshEndpoints?: ApplicationGetEndpoint[];
1077
- /**
1078
- * The provisioning state of the application.
1079
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1080
- */
1081
- readonly provisioningState?: string;
1082
- /**
1083
- * The application type.
1084
- */
1085
- applicationType?: string;
1086
- /**
1087
- * The application state.
1088
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1089
- */
1090
- readonly applicationState?: string;
1091
- /**
1092
- * The list of errors.
1093
- */
1094
- errors?: Errors[];
1095
- /**
1096
- * The application create date time.
1097
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1098
- */
1099
- readonly createdDate?: string;
1100
- /**
1101
- * The marketplace identifier.
1102
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1103
- */
1104
- readonly marketplaceIdentifier?: string;
1105
- }
1106
- /**
1107
- * The HDInsight cluster application
1108
- */
1109
- export interface Application extends ProxyResource {
1110
- /**
1111
- * The ETag for the application
1112
- */
1113
- etag?: string;
1114
- /**
1115
- * The tags for the application.
1116
- */
1117
- tags?: {
1118
- [propertyName: string]: string;
1119
- };
1120
- /**
1121
- * The properties of the application.
1122
- */
1123
- properties?: ApplicationProperties;
1124
- }
1125
- /**
1126
- * The version properties.
1127
- */
1128
- export interface VersionSpec {
1129
- /**
1130
- * The friendly name
1131
- */
1132
- friendlyName?: string;
1133
- /**
1134
- * The display name
1135
- */
1136
- displayName?: string;
1137
- /**
1138
- * Whether or not the version is the default version.
1139
- */
1140
- isDefault?: string;
1141
- /**
1142
- * The component version property.
1143
- */
1144
- componentVersions?: {
1145
- [propertyName: string]: string;
1146
- };
1147
- }
1148
- /**
1149
- * The version capability.
1150
- */
1151
- export interface VersionsCapability {
1152
- /**
1153
- * The list of version capabilities.
1154
- */
1155
- available?: VersionSpec[];
1156
- }
1157
- /**
1158
- * The regions capability.
1159
- */
1160
- export interface RegionsCapability {
1161
- /**
1162
- * The list of region capabilities.
1163
- */
1164
- available?: string[];
1165
- }
1166
- /**
1167
- * The virtual machine sizes capability.
1168
- */
1169
- export interface VmSizesCapability {
1170
- /**
1171
- * The list of virtual machine size capabilities.
1172
- */
1173
- available?: string[];
1174
- }
1175
- /**
1176
- * The virtual machine type compatibility filter.
1177
- */
1178
- export interface VmSizeCompatibilityFilter {
1179
- /**
1180
- * The mode for the filter.
1181
- */
1182
- filterMode?: string;
1183
- /**
1184
- * The list of regions.
1185
- */
1186
- regions?: string[];
1187
- /**
1188
- * The list of cluster types available.
1189
- */
1190
- clusterFlavors?: string[];
1191
- /**
1192
- * The list of node types.
1193
- */
1194
- nodeTypes?: string[];
1195
- /**
1196
- * The list of cluster versions.
1197
- */
1198
- clusterVersions?: string[];
1199
- /**
1200
- * The list of virtual machine sizes.
1201
- */
1202
- vmsizes?: string[];
1203
- }
1204
- /**
1205
- * The regional quota capacity.
1206
- */
1207
- export interface RegionalQuotaCapability {
1208
- /**
1209
- * The region name.
1210
- */
1211
- regionName?: string;
1212
- /**
1213
- * The number of cores used in the region.
1214
- */
1215
- coresUsed?: number;
1216
- /**
1217
- * The number of cores available in the region.
1218
- */
1219
- coresAvailable?: number;
1220
- }
1221
- /**
1222
- * The regional quota capability.
1223
- */
1224
- export interface QuotaCapability {
1225
- /**
1226
- * The number of cores used in the subscription.
1227
- */
1228
- coresUsed?: number;
1229
- /**
1230
- * The number of cores that the subscription allowed.
1231
- */
1232
- maxCoresAllowed?: number;
1233
- /**
1234
- * The list of region quota capabilities.
1235
- */
1236
- regionalQuotas?: RegionalQuotaCapability[];
1237
- }
1238
- /**
1239
- * The Get Capabilities operation response.
1240
- */
1241
- export interface CapabilitiesResult {
1242
- /**
1243
- * The version capability.
1244
- */
1245
- versions?: {
1246
- [propertyName: string]: VersionsCapability;
1247
- };
1248
- /**
1249
- * The virtual machine size compatibility features.
1250
- */
1251
- regions?: {
1252
- [propertyName: string]: RegionsCapability;
1253
- };
1254
- /**
1255
- * The virtual machine sizes.
1256
- */
1257
- vmSizes?: {
1258
- [propertyName: string]: VmSizesCapability;
1259
- };
1260
- /**
1261
- * The virtual machine size compatibility filters.
1262
- */
1263
- vmSizeFilters?: VmSizeCompatibilityFilter[];
1264
- /**
1265
- * The capability features.
1266
- */
1267
- features?: string[];
1268
- /**
1269
- * The quota capability.
1270
- */
1271
- quota?: QuotaCapability;
1272
- }
1273
- /**
1274
- * The details about the localizable name of a type of usage.
1275
- */
1276
- export interface LocalizedName {
1277
- /**
1278
- * The name of the used resource.
1279
- */
1280
- value?: string;
1281
- /**
1282
- * The localized name of the used resource.
1283
- */
1284
- localizedValue?: string;
1285
- }
1286
- /**
1287
- * The details about the usage of a particular limited resource.
1288
- */
1289
- export interface Usage {
1290
- /**
1291
- * The type of measurement for usage.
1292
- */
1293
- unit?: string;
1294
- /**
1295
- * The current usage.
1296
- */
1297
- currentValue?: number;
1298
- /**
1299
- * The maximum allowed usage.
1300
- */
1301
- limit?: number;
1302
- /**
1303
- * The details about the localizable name of the used resource.
1304
- */
1305
- name?: LocalizedName;
1306
- }
1307
- /**
1308
- * The response for the operation to get regional usages for a subscription.
1309
- */
1310
- export interface UsagesListResult {
1311
- /**
1312
- * The list of usages.
1313
- */
1314
- value?: Usage[];
1315
- }
1316
- /**
1317
- * This class represent a single filter object that defines a multidimensional set. The dimensions
1318
- * of this set are Regions, ClusterFlavors, NodeTypes and ClusterVersions. The constraint should be
1319
- * defined based on the following: FilterMode (Exclude vs Include), VMSizes (the vm sizes in affect
1320
- * of exclusion/inclusion) and the ordering of the Filters. Later filters override previous
1321
- * settings if conflicted.
1322
- */
1323
- export interface VmSizeCompatibilityFilterV2 {
1324
- /**
1325
- * The filtering mode. Effectively this can enabling or disabling the VM sizes in a particular
1326
- * set. Possible values include: 'Exclude', 'Include', 'Recommend', 'Default'
1327
- */
1328
- filterMode?: FilterMode;
1329
- /**
1330
- * The list of regions under the effect of the filter.
1331
- */
1332
- regions?: string[];
1333
- /**
1334
- * The list of cluster flavors under the effect of the filter.
1335
- */
1336
- clusterFlavors?: string[];
1337
- /**
1338
- * The list of node types affected by the filter.
1339
- */
1340
- nodeTypes?: string[];
1341
- /**
1342
- * The list of cluster versions affected in Major.Minor format.
1343
- */
1344
- clusterVersions?: string[];
1345
- /**
1346
- * The OSType affected, Windows or Linux.
1347
- */
1348
- osType?: OSType[];
1349
- /**
1350
- * The list of virtual machine sizes to include or exclude.
1351
- */
1352
- vmSizes?: string[];
1353
- }
1354
- /**
1355
- * The vm size property
1356
- */
1357
- export interface VmSizeProperty {
1358
- /**
1359
- * The vm size name.
1360
- */
1361
- name?: string;
1362
- /**
1363
- * The number of cores that the vm size has.
1364
- */
1365
- cores?: number;
1366
- /**
1367
- * The data disk storage tier of the vm size.
1368
- */
1369
- dataDiskStorageTier?: string;
1370
- /**
1371
- * The label of the vm size.
1372
- */
1373
- label?: string;
1374
- /**
1375
- * The max data disk count of the vm size.
1376
- */
1377
- maxDataDiskCount?: number;
1378
- /**
1379
- * The memory whose unit is MB of the vm size.
1380
- */
1381
- memoryInMb?: number;
1382
- /**
1383
- * This indicates this vm size is supported by virtual machines or not
1384
- */
1385
- supportedByVirtualMachines?: boolean;
1386
- /**
1387
- * The indicates this vm size is supported by web worker roles or not
1388
- */
1389
- supportedByWebWorkerRoles?: boolean;
1390
- /**
1391
- * The virtual machine resource disk size whose unit is MB of the vm size.
1392
- */
1393
- virtualMachineResourceDiskSizeInMb?: number;
1394
- /**
1395
- * The web worker resource disk size whose unit is MB of the vm size.
1396
- */
1397
- webWorkerResourceDiskSizeInMb?: number;
1398
- }
1399
- /**
1400
- * The billing meters.
1401
- */
1402
- export interface BillingMeters {
1403
- /**
1404
- * The virtual machine sizes.
1405
- */
1406
- meterParameter?: string;
1407
- /**
1408
- * The HDInsight meter guid.
1409
- */
1410
- meter?: string;
1411
- /**
1412
- * The unit of meter, VMHours or CoreHours.
1413
- */
1414
- unit?: string;
1415
- }
1416
- /**
1417
- * The disk billing meters.
1418
- */
1419
- export interface DiskBillingMeters {
1420
- /**
1421
- * The managed disk meter guid.
1422
- */
1423
- diskRpMeter?: string;
1424
- /**
1425
- * The managed disk billing sku, P30 or S30.
1426
- */
1427
- sku?: string;
1428
- /**
1429
- * The managed disk billing tier, Standard or Premium. Possible values include: 'Standard',
1430
- * 'Premium'
1431
- */
1432
- tier?: Tier;
1433
- }
1434
- /**
1435
- * The billing resources.
1436
- */
1437
- export interface BillingResources {
1438
- /**
1439
- * The region or location.
1440
- */
1441
- region?: string;
1442
- /**
1443
- * The billing meter information.
1444
- */
1445
- billingMeters?: BillingMeters[];
1446
- /**
1447
- * The managed disk billing information.
1448
- */
1449
- diskBillingMeters?: DiskBillingMeters[];
1450
- }
1451
- /**
1452
- * The response for the operation to get regional billingSpecs for a subscription.
1453
- */
1454
- export interface BillingResponseListResult {
1455
- /**
1456
- * The virtual machine sizes to include or exclude.
1457
- */
1458
- vmSizes?: string[];
1459
- /**
1460
- * The vm sizes which enable encryption at host.
1461
- */
1462
- vmSizesWithEncryptionAtHost?: string[];
1463
- /**
1464
- * The virtual machine filtering mode. Effectively this can enabling or disabling the virtual
1465
- * machine sizes in a particular set.
1466
- */
1467
- vmSizeFilters?: VmSizeCompatibilityFilterV2[];
1468
- /**
1469
- * The vm size properties.
1470
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1471
- */
1472
- readonly vmSizeProperties?: VmSizeProperty[];
1473
- /**
1474
- * The billing and managed disk billing resources for a region.
1475
- */
1476
- billingResources?: BillingResources[];
1477
- }
1478
- /**
1479
- * The configuration object for the specified cluster.
1480
- */
1481
- export interface ClusterConfigurations {
1482
- /**
1483
- * The configuration object for the specified configuration for the specified cluster.
1484
- */
1485
- configurations?: {
1486
- [propertyName: string]: {
1487
- [propertyName: string]: string;
1488
- };
1489
- };
1490
- }
1491
- /**
1492
- * Cluster monitoring extensions
1493
- */
1494
- export interface Extension {
1495
- /**
1496
- * The workspace ID for the cluster monitoring extension.
1497
- */
1498
- workspaceId?: string;
1499
- /**
1500
- * The certificate for the cluster monitoring extensions.
1501
- */
1502
- primaryKey?: string;
1503
- }
1504
- /**
1505
- * The Operations Management Suite (OMS) status response
1506
- */
1507
- export interface ClusterMonitoringResponse {
1508
- /**
1509
- * The status of the Operations Management Suite (OMS) on the HDInsight cluster.
1510
- */
1511
- clusterMonitoringEnabled?: boolean;
1512
- /**
1513
- * The workspace ID of the Operations Management Suite (OMS) on the HDInsight cluster.
1514
- */
1515
- workspaceId?: string;
1516
- }
1517
- /**
1518
- * The Operations Management Suite (OMS) parameters.
1519
- */
1520
- export interface ClusterMonitoringRequest {
1521
- /**
1522
- * The Operations Management Suite (OMS) workspace ID.
1523
- */
1524
- workspaceId?: string;
1525
- /**
1526
- * The Operations Management Suite (OMS) workspace key.
1527
- */
1528
- primaryKey?: string;
1529
- }
1530
- /**
1531
- * The persisted script action for cluster.
1532
- */
1533
- export interface ScriptActionPersistedGetResponseSpec {
1534
- /**
1535
- * The name of script action.
1536
- */
1537
- name?: string;
1538
- /**
1539
- * The URI to the script.
1540
- */
1541
- uri?: string;
1542
- /**
1543
- * The parameters for the script provided.
1544
- */
1545
- parameters?: string;
1546
- /**
1547
- * The list of roles where script will be executed.
1548
- */
1549
- roles?: string[];
1550
- /**
1551
- * The application name for the script action.
1552
- */
1553
- applicationName?: string;
1554
- }
1555
- /**
1556
- * The object that represents the operation.
1557
- */
1558
- export interface OperationDisplay {
1559
- /**
1560
- * The service provider: Microsoft.HDInsight
1561
- */
1562
- provider?: string;
1563
- /**
1564
- * The resource on which the operation is performed: Cluster, Applications, etc.
1565
- */
1566
- resource?: string;
1567
- /**
1568
- * The operation type: read, write, delete, etc.
1569
- */
1570
- operation?: string;
1571
- /**
1572
- * Localized friendly description for the operation
1573
- */
1574
- description?: string;
1575
- }
1576
- /**
1577
- * The definition of Dimension.
1578
- */
1579
- export interface Dimension {
1580
- /**
1581
- * The name of the dimension.
1582
- */
1583
- name?: string;
1584
- /**
1585
- * The display name of the dimension.
1586
- */
1587
- displayName?: string;
1588
- /**
1589
- * The display name of the dimension.
1590
- */
1591
- internalName?: string;
1592
- /**
1593
- * The flag indicates whether the metric will be exported for shoebox or not.
1594
- */
1595
- toBeExportedForShoebox?: boolean;
1596
- }
1597
- /**
1598
- * The details of metric specifications.
1599
- */
1600
- export interface MetricSpecifications {
1601
- /**
1602
- * The name of the metric specification.
1603
- */
1604
- name?: string;
1605
- /**
1606
- * The display name of the metric specification.
1607
- */
1608
- displayName?: string;
1609
- /**
1610
- * The display description of the metric specification.
1611
- */
1612
- displayDescription?: string;
1613
- /**
1614
- * The unit of the metric specification.
1615
- */
1616
- unit?: string;
1617
- /**
1618
- * The aggregation type of the metric specification.
1619
- */
1620
- aggregationType?: string;
1621
- /**
1622
- * The supported aggregation types of the metric specification.
1623
- */
1624
- supportedAggregationTypes?: string[];
1625
- /**
1626
- * The supported time grain types of the metric specification.
1627
- */
1628
- supportedTimeGrainTypes?: string[];
1629
- /**
1630
- * The flag indicates whether enable regional mdm account or not.
1631
- */
1632
- enableRegionalMdmAccount?: boolean;
1633
- /**
1634
- * The source mdm account.
1635
- */
1636
- sourceMdmAccount?: string;
1637
- /**
1638
- * The source mdm namespace.
1639
- */
1640
- sourceMdmNamespace?: string;
1641
- /**
1642
- * The metric filter pattern.
1643
- */
1644
- metricFilterPattern?: string;
1645
- /**
1646
- * The flag indicates whether filling gap with zero.
1647
- */
1648
- fillGapWithZero?: boolean;
1649
- /**
1650
- * The category of the metric.
1651
- */
1652
- category?: string;
1653
- /**
1654
- * The override name of resource id dimension name.
1655
- */
1656
- resourceIdDimensionNameOverride?: string;
1657
- /**
1658
- * The flag indicates whether the metric is internal or not.
1659
- */
1660
- isInternal?: boolean;
1661
- /**
1662
- * The override name of delegate metric.
1663
- */
1664
- delegateMetricNameOverride?: string;
1665
- /**
1666
- * The dimensions of the metric specification.
1667
- */
1668
- dimensions?: Dimension[];
1669
- }
1670
- /**
1671
- * The specification of the service.
1672
- */
1673
- export interface ServiceSpecification {
1674
- /**
1675
- * The metric specifications.
1676
- */
1677
- metricSpecifications?: MetricSpecifications[];
1678
- }
1679
- /**
1680
- * The details of operation.
1681
- */
1682
- export interface OperationProperties {
1683
- /**
1684
- * The specification of the service.
1685
- */
1686
- serviceSpecification?: ServiceSpecification;
1687
- }
1688
- /**
1689
- * The HDInsight REST API operation.
1690
- */
1691
- export interface Operation {
1692
- /**
1693
- * The operation name: {provider}/{resource}/{operation}
1694
- */
1695
- name?: string;
1696
- /**
1697
- * The object that represents the operation.
1698
- */
1699
- display?: OperationDisplay;
1700
- /**
1701
- * The operation properties.
1702
- */
1703
- properties?: OperationProperties;
1704
- }
1705
- /**
1706
- * The cluster host information.
1707
- */
1708
- export interface HostInfo {
1709
- /**
1710
- * The host name
1711
- */
1712
- name?: string;
1713
- /**
1714
- * The Fully Qualified Domain Name of host
1715
- */
1716
- fqdn?: string;
1717
- /**
1718
- * The effective disk encryption key URL used by the host
1719
- */
1720
- effectiveDiskEncryptionKeyUrl?: string;
1721
- }
1722
- /**
1723
- * An interface representing HDInsightManagementClientOptions.
1724
- */
1725
- export interface HDInsightManagementClientOptions extends AzureServiceClientOptions {
1726
- baseUri?: string;
1727
- }
1728
- /**
1729
- * @interface
1730
- * The List Cluster operation response.
1731
- * @extends Array<Cluster>
1732
- */
1733
- export interface ClusterListResult extends Array<Cluster> {
1734
- /**
1735
- * The link (url) to the next page of results.
1736
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1737
- */
1738
- readonly nextLink?: string;
1739
- }
1740
- /**
1741
- * @interface
1742
- * Result of the request to list cluster Applications. It contains a list of operations and a URL
1743
- * link to get the next set of results.
1744
- * @extends Array<Application>
1745
- */
1746
- export interface ApplicationListResult extends Array<Application> {
1747
- /**
1748
- * The URL to get the next set of operation list results if there are any.
1749
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1750
- */
1751
- readonly nextLink?: string;
1752
- }
1753
- /**
1754
- * @interface
1755
- * The persisted script action for the cluster.
1756
- * @extends Array<RuntimeScriptActionDetail>
1757
- */
1758
- export interface ScriptActionsList extends Array<RuntimeScriptActionDetail> {
1759
- /**
1760
- * The link (url) to the next page of results.
1761
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1762
- */
1763
- readonly nextLink?: string;
1764
- }
1765
- /**
1766
- * @interface
1767
- * The list script execution history response.
1768
- * @extends Array<RuntimeScriptActionDetail>
1769
- */
1770
- export interface ScriptActionExecutionHistoryList extends Array<RuntimeScriptActionDetail> {
1771
- /**
1772
- * The link (url) to the next page of results.
1773
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1774
- */
1775
- readonly nextLink?: string;
1776
- }
1777
- /**
1778
- * @interface
1779
- * Result of the request to list HDInsight operations. It contains a list of operations and a URL
1780
- * link to get the next set of results.
1781
- * @extends Array<Operation>
1782
- */
1783
- export interface OperationListResult extends Array<Operation> {
1784
- /**
1785
- * The URL to get the next set of operation list results if there are any.
1786
- */
1787
- nextLink?: string;
1788
- }
1789
- /**
1790
- * Defines values for DirectoryType.
1791
- * Possible values include: 'ActiveDirectory'
1792
- * @readonly
1793
- * @enum {string}
1794
- */
1795
- export declare type DirectoryType = 'ActiveDirectory';
1796
- /**
1797
- * Defines values for DaysOfWeek.
1798
- * Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday',
1799
- * 'Sunday'
1800
- * @readonly
1801
- * @enum {string}
1802
- */
1803
- export declare type DaysOfWeek = 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday';
1804
- /**
1805
- * Defines values for ResourceProviderConnection.
1806
- * Possible values include: 'Inbound', 'Outbound'
1807
- * @readonly
1808
- * @enum {string}
1809
- */
1810
- export declare type ResourceProviderConnection = 'Inbound' | 'Outbound';
1811
- /**
1812
- * Defines values for PrivateLink.
1813
- * Possible values include: 'Disabled', 'Enabled'
1814
- * @readonly
1815
- * @enum {string}
1816
- */
1817
- export declare type PrivateLink = 'Disabled' | 'Enabled';
1818
- /**
1819
- * Defines values for OSType.
1820
- * Possible values include: 'Windows', 'Linux'
1821
- * @readonly
1822
- * @enum {string}
1823
- */
1824
- export declare type OSType = 'Windows' | 'Linux';
1825
- /**
1826
- * Defines values for Tier.
1827
- * Possible values include: 'Standard', 'Premium'
1828
- * @readonly
1829
- * @enum {string}
1830
- */
1831
- export declare type Tier = 'Standard' | 'Premium';
1832
- /**
1833
- * Defines values for JsonWebKeyEncryptionAlgorithm.
1834
- * Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
1835
- * @readonly
1836
- * @enum {string}
1837
- */
1838
- export declare type JsonWebKeyEncryptionAlgorithm = 'RSA-OAEP' | 'RSA-OAEP-256' | 'RSA1_5';
1839
- /**
1840
- * Defines values for ResourceIdentityType.
1841
- * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned',
1842
- * 'None'
1843
- * @readonly
1844
- * @enum {string}
1845
- */
1846
- export declare type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None';
1847
- /**
1848
- * Defines values for HDInsightClusterProvisioningState.
1849
- * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'Canceled', 'Deleting'
1850
- * @readonly
1851
- * @enum {string}
1852
- */
1853
- export declare type HDInsightClusterProvisioningState = 'InProgress' | 'Failed' | 'Succeeded' | 'Canceled' | 'Deleting';
1854
- /**
1855
- * Defines values for AsyncOperationState.
1856
- * Possible values include: 'InProgress', 'Succeeded', 'Failed'
1857
- * @readonly
1858
- * @enum {string}
1859
- */
1860
- export declare type AsyncOperationState = 'InProgress' | 'Succeeded' | 'Failed';
1861
- /**
1862
- * Defines values for FilterMode.
1863
- * Possible values include: 'Exclude', 'Include', 'Recommend', 'Default'
1864
- * @readonly
1865
- * @enum {string}
1866
- */
1867
- export declare type FilterMode = 'Exclude' | 'Include' | 'Recommend' | 'Default';
1868
- /**
1869
- * Contains response data for the create operation.
1870
- */
1871
- export declare type ClustersCreateResponse = Cluster & {
1872
- /**
1873
- * The underlying HTTP response.
1874
- */
1875
- _response: msRest.HttpResponse & {
1876
- /**
1877
- * The response body as text (string format)
1878
- */
1879
- bodyAsText: string;
1880
- /**
1881
- * The response body as parsed JSON or XML
1882
- */
1883
- parsedBody: Cluster;
1884
- };
1885
- };
1886
- /**
1887
- * Contains response data for the update operation.
1888
- */
1889
- export declare type ClustersUpdateResponse = Cluster & {
1890
- /**
1891
- * The underlying HTTP response.
1892
- */
1893
- _response: msRest.HttpResponse & {
1894
- /**
1895
- * The response body as text (string format)
1896
- */
1897
- bodyAsText: string;
1898
- /**
1899
- * The response body as parsed JSON or XML
1900
- */
1901
- parsedBody: Cluster;
1902
- };
1903
- };
1904
- /**
1905
- * Contains response data for the get operation.
1906
- */
1907
- export declare type ClustersGetResponse = Cluster & {
1908
- /**
1909
- * The underlying HTTP response.
1910
- */
1911
- _response: msRest.HttpResponse & {
1912
- /**
1913
- * The response body as text (string format)
1914
- */
1915
- bodyAsText: string;
1916
- /**
1917
- * The response body as parsed JSON or XML
1918
- */
1919
- parsedBody: Cluster;
1920
- };
1921
- };
1922
- /**
1923
- * Contains response data for the listByResourceGroup operation.
1924
- */
1925
- export declare type ClustersListByResourceGroupResponse = ClusterListResult & {
1926
- /**
1927
- * The underlying HTTP response.
1928
- */
1929
- _response: msRest.HttpResponse & {
1930
- /**
1931
- * The response body as text (string format)
1932
- */
1933
- bodyAsText: string;
1934
- /**
1935
- * The response body as parsed JSON or XML
1936
- */
1937
- parsedBody: ClusterListResult;
1938
- };
1939
- };
1940
- /**
1941
- * Contains response data for the list operation.
1942
- */
1943
- export declare type ClustersListResponse = ClusterListResult & {
1944
- /**
1945
- * The underlying HTTP response.
1946
- */
1947
- _response: msRest.HttpResponse & {
1948
- /**
1949
- * The response body as text (string format)
1950
- */
1951
- bodyAsText: string;
1952
- /**
1953
- * The response body as parsed JSON or XML
1954
- */
1955
- parsedBody: ClusterListResult;
1956
- };
1957
- };
1958
- /**
1959
- * Contains response data for the getGatewaySettings operation.
1960
- */
1961
- export declare type ClustersGetGatewaySettingsResponse = GatewaySettings & {
1962
- /**
1963
- * The underlying HTTP response.
1964
- */
1965
- _response: msRest.HttpResponse & {
1966
- /**
1967
- * The response body as text (string format)
1968
- */
1969
- bodyAsText: string;
1970
- /**
1971
- * The response body as parsed JSON or XML
1972
- */
1973
- parsedBody: GatewaySettings;
1974
- };
1975
- };
1976
- /**
1977
- * Contains response data for the beginCreate operation.
1978
- */
1979
- export declare type ClustersBeginCreateResponse = Cluster & {
1980
- /**
1981
- * The underlying HTTP response.
1982
- */
1983
- _response: msRest.HttpResponse & {
1984
- /**
1985
- * The response body as text (string format)
1986
- */
1987
- bodyAsText: string;
1988
- /**
1989
- * The response body as parsed JSON or XML
1990
- */
1991
- parsedBody: Cluster;
1992
- };
1993
- };
1994
- /**
1995
- * Contains response data for the listByResourceGroupNext operation.
1996
- */
1997
- export declare type ClustersListByResourceGroupNextResponse = ClusterListResult & {
1998
- /**
1999
- * The underlying HTTP response.
2000
- */
2001
- _response: msRest.HttpResponse & {
2002
- /**
2003
- * The response body as text (string format)
2004
- */
2005
- bodyAsText: string;
2006
- /**
2007
- * The response body as parsed JSON or XML
2008
- */
2009
- parsedBody: ClusterListResult;
2010
- };
2011
- };
2012
- /**
2013
- * Contains response data for the listNext operation.
2014
- */
2015
- export declare type ClustersListNextResponse = ClusterListResult & {
2016
- /**
2017
- * The underlying HTTP response.
2018
- */
2019
- _response: msRest.HttpResponse & {
2020
- /**
2021
- * The response body as text (string format)
2022
- */
2023
- bodyAsText: string;
2024
- /**
2025
- * The response body as parsed JSON or XML
2026
- */
2027
- parsedBody: ClusterListResult;
2028
- };
2029
- };
2030
- /**
2031
- * Contains response data for the listByCluster operation.
2032
- */
2033
- export declare type ApplicationsListByClusterResponse = ApplicationListResult & {
2034
- /**
2035
- * The underlying HTTP response.
2036
- */
2037
- _response: msRest.HttpResponse & {
2038
- /**
2039
- * The response body as text (string format)
2040
- */
2041
- bodyAsText: string;
2042
- /**
2043
- * The response body as parsed JSON or XML
2044
- */
2045
- parsedBody: ApplicationListResult;
2046
- };
2047
- };
2048
- /**
2049
- * Contains response data for the get operation.
2050
- */
2051
- export declare type ApplicationsGetResponse = Application & {
2052
- /**
2053
- * The underlying HTTP response.
2054
- */
2055
- _response: msRest.HttpResponse & {
2056
- /**
2057
- * The response body as text (string format)
2058
- */
2059
- bodyAsText: string;
2060
- /**
2061
- * The response body as parsed JSON or XML
2062
- */
2063
- parsedBody: Application;
2064
- };
2065
- };
2066
- /**
2067
- * Contains response data for the create operation.
2068
- */
2069
- export declare type ApplicationsCreateResponse = Application & {
2070
- /**
2071
- * The underlying HTTP response.
2072
- */
2073
- _response: msRest.HttpResponse & {
2074
- /**
2075
- * The response body as text (string format)
2076
- */
2077
- bodyAsText: string;
2078
- /**
2079
- * The response body as parsed JSON or XML
2080
- */
2081
- parsedBody: Application;
2082
- };
2083
- };
2084
- /**
2085
- * Contains response data for the beginCreate operation.
2086
- */
2087
- export declare type ApplicationsBeginCreateResponse = Application & {
2088
- /**
2089
- * The underlying HTTP response.
2090
- */
2091
- _response: msRest.HttpResponse & {
2092
- /**
2093
- * The response body as text (string format)
2094
- */
2095
- bodyAsText: string;
2096
- /**
2097
- * The response body as parsed JSON or XML
2098
- */
2099
- parsedBody: Application;
2100
- };
2101
- };
2102
- /**
2103
- * Contains response data for the listByClusterNext operation.
2104
- */
2105
- export declare type ApplicationsListByClusterNextResponse = ApplicationListResult & {
2106
- /**
2107
- * The underlying HTTP response.
2108
- */
2109
- _response: msRest.HttpResponse & {
2110
- /**
2111
- * The response body as text (string format)
2112
- */
2113
- bodyAsText: string;
2114
- /**
2115
- * The response body as parsed JSON or XML
2116
- */
2117
- parsedBody: ApplicationListResult;
2118
- };
2119
- };
2120
- /**
2121
- * Contains response data for the getCapabilities operation.
2122
- */
2123
- export declare type LocationsGetCapabilitiesResponse = CapabilitiesResult & {
2124
- /**
2125
- * The underlying HTTP response.
2126
- */
2127
- _response: msRest.HttpResponse & {
2128
- /**
2129
- * The response body as text (string format)
2130
- */
2131
- bodyAsText: string;
2132
- /**
2133
- * The response body as parsed JSON or XML
2134
- */
2135
- parsedBody: CapabilitiesResult;
2136
- };
2137
- };
2138
- /**
2139
- * Contains response data for the listUsages operation.
2140
- */
2141
- export declare type LocationsListUsagesResponse = UsagesListResult & {
2142
- /**
2143
- * The underlying HTTP response.
2144
- */
2145
- _response: msRest.HttpResponse & {
2146
- /**
2147
- * The response body as text (string format)
2148
- */
2149
- bodyAsText: string;
2150
- /**
2151
- * The response body as parsed JSON or XML
2152
- */
2153
- parsedBody: UsagesListResult;
2154
- };
2155
- };
2156
- /**
2157
- * Contains response data for the listBillingSpecs operation.
2158
- */
2159
- export declare type LocationsListBillingSpecsResponse = BillingResponseListResult & {
2160
- /**
2161
- * The underlying HTTP response.
2162
- */
2163
- _response: msRest.HttpResponse & {
2164
- /**
2165
- * The response body as text (string format)
2166
- */
2167
- bodyAsText: string;
2168
- /**
2169
- * The response body as parsed JSON or XML
2170
- */
2171
- parsedBody: BillingResponseListResult;
2172
- };
2173
- };
2174
- /**
2175
- * Contains response data for the list operation.
2176
- */
2177
- export declare type ConfigurationsListResponse = ClusterConfigurations & {
2178
- /**
2179
- * The underlying HTTP response.
2180
- */
2181
- _response: msRest.HttpResponse & {
2182
- /**
2183
- * The response body as text (string format)
2184
- */
2185
- bodyAsText: string;
2186
- /**
2187
- * The response body as parsed JSON or XML
2188
- */
2189
- parsedBody: ClusterConfigurations;
2190
- };
2191
- };
2192
- /**
2193
- * Contains response data for the get operation.
2194
- */
2195
- export declare type ConfigurationsGetResponse = {
2196
- /**
2197
- * The response body properties.
2198
- */
2199
- [propertyName: string]: string;
2200
- } & {
2201
- /**
2202
- * The underlying HTTP response.
2203
- */
2204
- _response: msRest.HttpResponse & {
2205
- /**
2206
- * The response body as text (string format)
2207
- */
2208
- bodyAsText: string;
2209
- /**
2210
- * The response body as parsed JSON or XML
2211
- */
2212
- parsedBody: {
2213
- [propertyName: string]: string;
2214
- };
2215
- };
2216
- };
2217
- /**
2218
- * Contains response data for the getMonitoringStatus operation.
2219
- */
2220
- export declare type ExtensionsGetMonitoringStatusResponse = ClusterMonitoringResponse & {
2221
- /**
2222
- * The underlying HTTP response.
2223
- */
2224
- _response: msRest.HttpResponse & {
2225
- /**
2226
- * The response body as text (string format)
2227
- */
2228
- bodyAsText: string;
2229
- /**
2230
- * The response body as parsed JSON or XML
2231
- */
2232
- parsedBody: ClusterMonitoringResponse;
2233
- };
2234
- };
2235
- /**
2236
- * Contains response data for the get operation.
2237
- */
2238
- export declare type ExtensionsGetResponse = Extension & {
2239
- /**
2240
- * The underlying HTTP response.
2241
- */
2242
- _response: msRest.HttpResponse & {
2243
- /**
2244
- * The response body as text (string format)
2245
- */
2246
- bodyAsText: string;
2247
- /**
2248
- * The response body as parsed JSON or XML
2249
- */
2250
- parsedBody: Extension;
2251
- };
2252
- };
2253
- /**
2254
- * Contains response data for the listByCluster operation.
2255
- */
2256
- export declare type ScriptActionsListByClusterResponse = ScriptActionsList & {
2257
- /**
2258
- * The underlying HTTP response.
2259
- */
2260
- _response: msRest.HttpResponse & {
2261
- /**
2262
- * The response body as text (string format)
2263
- */
2264
- bodyAsText: string;
2265
- /**
2266
- * The response body as parsed JSON or XML
2267
- */
2268
- parsedBody: ScriptActionsList;
2269
- };
2270
- };
2271
- /**
2272
- * Contains response data for the getExecutionDetail operation.
2273
- */
2274
- export declare type ScriptActionsGetExecutionDetailResponse = RuntimeScriptActionDetail & {
2275
- /**
2276
- * The underlying HTTP response.
2277
- */
2278
- _response: msRest.HttpResponse & {
2279
- /**
2280
- * The response body as text (string format)
2281
- */
2282
- bodyAsText: string;
2283
- /**
2284
- * The response body as parsed JSON or XML
2285
- */
2286
- parsedBody: RuntimeScriptActionDetail;
2287
- };
2288
- };
2289
- /**
2290
- * Contains response data for the listByClusterNext operation.
2291
- */
2292
- export declare type ScriptActionsListByClusterNextResponse = ScriptActionsList & {
2293
- /**
2294
- * The underlying HTTP response.
2295
- */
2296
- _response: msRest.HttpResponse & {
2297
- /**
2298
- * The response body as text (string format)
2299
- */
2300
- bodyAsText: string;
2301
- /**
2302
- * The response body as parsed JSON or XML
2303
- */
2304
- parsedBody: ScriptActionsList;
2305
- };
2306
- };
2307
- /**
2308
- * Contains response data for the listByCluster operation.
2309
- */
2310
- export declare type ScriptExecutionHistoryListByClusterResponse = ScriptActionExecutionHistoryList & {
2311
- /**
2312
- * The underlying HTTP response.
2313
- */
2314
- _response: msRest.HttpResponse & {
2315
- /**
2316
- * The response body as text (string format)
2317
- */
2318
- bodyAsText: string;
2319
- /**
2320
- * The response body as parsed JSON or XML
2321
- */
2322
- parsedBody: ScriptActionExecutionHistoryList;
2323
- };
2324
- };
2325
- /**
2326
- * Contains response data for the listByClusterNext operation.
2327
- */
2328
- export declare type ScriptExecutionHistoryListByClusterNextResponse = ScriptActionExecutionHistoryList & {
2329
- /**
2330
- * The underlying HTTP response.
2331
- */
2332
- _response: msRest.HttpResponse & {
2333
- /**
2334
- * The response body as text (string format)
2335
- */
2336
- bodyAsText: string;
2337
- /**
2338
- * The response body as parsed JSON or XML
2339
- */
2340
- parsedBody: ScriptActionExecutionHistoryList;
2341
- };
2342
- };
2343
- /**
2344
- * Contains response data for the list operation.
2345
- */
2346
- export declare type OperationsListResponse = OperationListResult & {
2347
- /**
2348
- * The underlying HTTP response.
2349
- */
2350
- _response: msRest.HttpResponse & {
2351
- /**
2352
- * The response body as text (string format)
2353
- */
2354
- bodyAsText: string;
2355
- /**
2356
- * The response body as parsed JSON or XML
2357
- */
2358
- parsedBody: OperationListResult;
2359
- };
2360
- };
2361
- /**
2362
- * Contains response data for the listNext operation.
2363
- */
2364
- export declare type OperationsListNextResponse = OperationListResult & {
2365
- /**
2366
- * The underlying HTTP response.
2367
- */
2368
- _response: msRest.HttpResponse & {
2369
- /**
2370
- * The response body as text (string format)
2371
- */
2372
- bodyAsText: string;
2373
- /**
2374
- * The response body as parsed JSON or XML
2375
- */
2376
- parsedBody: OperationListResult;
2377
- };
2378
- };
2379
- /**
2380
- * Contains response data for the listHosts operation.
2381
- */
2382
- export declare type VirtualMachinesListHostsResponse = Array<HostInfo> & {
2383
- /**
2384
- * The underlying HTTP response.
2385
- */
2386
- _response: msRest.HttpResponse & {
2387
- /**
2388
- * The response body as text (string format)
2389
- */
2390
- bodyAsText: string;
2391
- /**
2392
- * The response body as parsed JSON or XML
2393
- */
2394
- parsedBody: HostInfo[];
2395
- };
2396
- };
2397
- //# sourceMappingURL=index.d.ts.map