@azure/arm-datalake-analytics 1.1.1 → 2.0.0-alpha.20211220.1

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 (217) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +69 -91
  4. package/dist/index.js +4780 -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/dataLakeAnalyticsAccountManagementClient.d.ts +22 -0
  9. package/dist-esm/src/dataLakeAnalyticsAccountManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/dataLakeAnalyticsAccountManagementClient.js +29 -0
  11. package/dist-esm/src/dataLakeAnalyticsAccountManagementClient.js.map +1 -0
  12. package/dist-esm/src/dataLakeAnalyticsAccountManagementClientContext.d.ts +17 -0
  13. package/dist-esm/src/dataLakeAnalyticsAccountManagementClientContext.d.ts.map +1 -0
  14. package/dist-esm/src/dataLakeAnalyticsAccountManagementClientContext.js +50 -0
  15. package/dist-esm/src/dataLakeAnalyticsAccountManagementClientContext.js.map +1 -0
  16. package/dist-esm/src/index.d.ts +6 -0
  17. package/dist-esm/src/index.d.ts.map +1 -0
  18. package/dist-esm/src/index.js +13 -0
  19. package/dist-esm/src/index.js.map +1 -0
  20. package/dist-esm/src/lroImpl.d.ts +16 -0
  21. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  22. package/dist-esm/src/lroImpl.js +29 -0
  23. package/dist-esm/src/lroImpl.js.map +1 -0
  24. package/dist-esm/src/models/index.d.ts +1346 -0
  25. package/dist-esm/src/models/index.d.ts.map +1 -0
  26. package/dist-esm/src/models/index.js +31 -0
  27. package/dist-esm/src/models/index.js.map +1 -0
  28. package/dist-esm/src/models/mappers.d.ts +56 -0
  29. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/mappers.js +1439 -1205
  31. package/dist-esm/src/models/mappers.js.map +1 -0
  32. package/dist-esm/src/models/parameters.d.ts +32 -0
  33. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  34. package/dist-esm/src/models/parameters.js +254 -0
  35. package/dist-esm/src/models/parameters.js.map +1 -0
  36. package/dist-esm/src/operations/accounts.d.ts +120 -0
  37. package/dist-esm/src/operations/accounts.d.ts.map +1 -0
  38. package/dist-esm/src/operations/accounts.js +569 -0
  39. package/dist-esm/src/operations/accounts.js.map +1 -0
  40. package/dist-esm/src/operations/computePolicies.d.ts +76 -0
  41. package/dist-esm/src/operations/computePolicies.d.ts.map +1 -0
  42. package/dist-esm/src/operations/computePolicies.js +280 -0
  43. package/dist-esm/src/operations/computePolicies.js.map +1 -0
  44. package/dist-esm/src/operations/dataLakeStoreAccounts.d.ts +64 -0
  45. package/dist-esm/src/operations/dataLakeStoreAccounts.d.ts.map +1 -0
  46. package/dist-esm/src/operations/dataLakeStoreAccounts.js +250 -0
  47. package/dist-esm/src/operations/dataLakeStoreAccounts.js.map +1 -0
  48. package/dist-esm/src/operations/firewallRules.d.ts +72 -0
  49. package/dist-esm/src/operations/firewallRules.d.ts.map +1 -0
  50. package/dist-esm/src/operations/firewallRules.js +270 -0
  51. package/dist-esm/src/operations/firewallRules.js.map +1 -0
  52. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  53. package/dist-esm/src/operations/index.d.ts.map +1 -0
  54. package/{esm → dist-esm/src}/operations/index.js +1 -2
  55. package/dist-esm/src/operations/index.js.map +1 -0
  56. package/dist-esm/src/operations/locations.d.ts +20 -0
  57. package/dist-esm/src/operations/locations.d.ts.map +1 -0
  58. package/dist-esm/src/operations/locations.js +53 -0
  59. package/dist-esm/src/operations/locations.js.map +1 -0
  60. package/dist-esm/src/operations/operations.d.ts +18 -0
  61. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  62. package/dist-esm/src/operations/operations.js +46 -0
  63. package/dist-esm/src/operations/operations.js.map +1 -0
  64. package/dist-esm/src/operations/storageAccounts.d.ts +153 -0
  65. package/dist-esm/src/operations/storageAccounts.d.ts.map +1 -0
  66. package/dist-esm/src/operations/storageAccounts.js +594 -0
  67. package/dist-esm/src/operations/storageAccounts.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/accounts.d.ts +82 -0
  69. package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
  70. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/accounts.js} +2 -1
  71. package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/computePolicies.d.ts +50 -0
  73. package/dist-esm/src/operationsInterfaces/computePolicies.d.ts.map +1 -0
  74. package/{src/models/locationsMappers.ts → dist-esm/src/operationsInterfaces/computePolicies.js} +2 -7
  75. package/dist-esm/src/operationsInterfaces/computePolicies.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/dataLakeStoreAccounts.d.ts +38 -0
  77. package/dist-esm/src/operationsInterfaces/dataLakeStoreAccounts.d.ts.map +1 -0
  78. package/{esm/models/locationsMappers.js → dist-esm/src/operationsInterfaces/dataLakeStoreAccounts.js} +2 -2
  79. package/dist-esm/src/operationsInterfaces/dataLakeStoreAccounts.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts +47 -0
  81. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/firewallRules.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/firewallRules.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/index.d.ts +8 -0
  85. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/index.js +15 -0
  87. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/locations.d.ts +12 -0
  89. package/dist-esm/src/operationsInterfaces/locations.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/locations.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/locations.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -0
  93. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  95. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts +81 -0
  97. package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/storageAccounts.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/storageAccounts.js.map +1 -0
  100. package/dist-esm/test/sampleTest.d.ts +4 -0
  101. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  102. package/dist-esm/test/sampleTest.js +89 -0
  103. package/dist-esm/test/sampleTest.js.map +1 -0
  104. package/package.json +65 -22
  105. package/review/arm-datalake-analytics.api.md +935 -0
  106. package/rollup.config.js +181 -30
  107. package/src/dataLakeAnalyticsAccountManagementClient.ts +45 -44
  108. package/src/dataLakeAnalyticsAccountManagementClientContext.ts +46 -43
  109. package/src/index.ts +13 -0
  110. package/src/lroImpl.ts +34 -0
  111. package/src/models/index.ts +1160 -1948
  112. package/src/models/mappers.ts +1446 -1179
  113. package/src/models/parameters.ts +183 -93
  114. package/src/operations/accounts.ts +540 -372
  115. package/src/operations/computePolicies.ts +225 -254
  116. package/src/operations/dataLakeStoreAccounts.ts +213 -220
  117. package/src/operations/firewallRules.ts +222 -255
  118. package/src/operations/index.ts +1 -2
  119. package/src/operations/locations.ts +32 -44
  120. package/src/operations/operations.ts +24 -38
  121. package/src/operations/storageAccounts.ts +562 -476
  122. package/src/operationsInterfaces/accounts.ts +155 -0
  123. package/src/operationsInterfaces/computePolicies.ts +95 -0
  124. package/src/operationsInterfaces/dataLakeStoreAccounts.ts +73 -0
  125. package/src/operationsInterfaces/firewallRules.ts +92 -0
  126. package/src/operationsInterfaces/index.ts +15 -0
  127. package/src/operationsInterfaces/locations.ts +26 -0
  128. package/src/operationsInterfaces/operations.ts +21 -0
  129. package/src/operationsInterfaces/storageAccounts.ts +147 -0
  130. package/tsconfig.json +3 -3
  131. package/types/arm-datalake-analytics.d.ts +1829 -0
  132. package/types/tsdoc-metadata.json +11 -0
  133. package/dist/arm-datalake-analytics.js +0 -4239
  134. package/dist/arm-datalake-analytics.js.map +0 -1
  135. package/dist/arm-datalake-analytics.min.js +0 -1
  136. package/dist/arm-datalake-analytics.min.js.map +0 -1
  137. package/esm/dataLakeAnalyticsAccountManagementClient.d.ts +0 -31
  138. package/esm/dataLakeAnalyticsAccountManagementClient.d.ts.map +0 -1
  139. package/esm/dataLakeAnalyticsAccountManagementClient.js +0 -44
  140. package/esm/dataLakeAnalyticsAccountManagementClient.js.map +0 -1
  141. package/esm/dataLakeAnalyticsAccountManagementClientContext.d.ts +0 -23
  142. package/esm/dataLakeAnalyticsAccountManagementClientContext.d.ts.map +0 -1
  143. package/esm/dataLakeAnalyticsAccountManagementClientContext.js +0 -61
  144. package/esm/dataLakeAnalyticsAccountManagementClientContext.js.map +0 -1
  145. package/esm/models/accountsMappers.d.ts +0 -2
  146. package/esm/models/accountsMappers.d.ts.map +0 -1
  147. package/esm/models/accountsMappers.js +0 -9
  148. package/esm/models/accountsMappers.js.map +0 -1
  149. package/esm/models/computePoliciesMappers.d.ts +0 -2
  150. package/esm/models/computePoliciesMappers.d.ts.map +0 -1
  151. package/esm/models/computePoliciesMappers.js +0 -9
  152. package/esm/models/computePoliciesMappers.js.map +0 -1
  153. package/esm/models/dataLakeStoreAccountsMappers.d.ts +0 -2
  154. package/esm/models/dataLakeStoreAccountsMappers.d.ts.map +0 -1
  155. package/esm/models/dataLakeStoreAccountsMappers.js +0 -9
  156. package/esm/models/dataLakeStoreAccountsMappers.js.map +0 -1
  157. package/esm/models/firewallRulesMappers.d.ts +0 -2
  158. package/esm/models/firewallRulesMappers.d.ts.map +0 -1
  159. package/esm/models/firewallRulesMappers.js +0 -9
  160. package/esm/models/firewallRulesMappers.js.map +0 -1
  161. package/esm/models/index.d.ts +0 -2162
  162. package/esm/models/index.d.ts.map +0 -1
  163. package/esm/models/index.js.map +0 -1
  164. package/esm/models/locationsMappers.d.ts +0 -2
  165. package/esm/models/locationsMappers.d.ts.map +0 -1
  166. package/esm/models/locationsMappers.js.map +0 -1
  167. package/esm/models/mappers.d.ts +0 -56
  168. package/esm/models/mappers.d.ts.map +0 -1
  169. package/esm/models/mappers.js.map +0 -1
  170. package/esm/models/operationsMappers.d.ts +0 -2
  171. package/esm/models/operationsMappers.d.ts.map +0 -1
  172. package/esm/models/operationsMappers.js +0 -9
  173. package/esm/models/operationsMappers.js.map +0 -1
  174. package/esm/models/parameters.d.ts +0 -20
  175. package/esm/models/parameters.d.ts.map +0 -1
  176. package/esm/models/parameters.js +0 -208
  177. package/esm/models/parameters.js.map +0 -1
  178. package/esm/models/storageAccountsMappers.d.ts +0 -2
  179. package/esm/models/storageAccountsMappers.d.ts.map +0 -1
  180. package/esm/models/storageAccountsMappers.js +0 -9
  181. package/esm/models/storageAccountsMappers.js.map +0 -1
  182. package/esm/operations/accounts.d.ts +0 -188
  183. package/esm/operations/accounts.d.ts.map +0 -1
  184. package/esm/operations/accounts.js +0 -406
  185. package/esm/operations/accounts.js.map +0 -1
  186. package/esm/operations/computePolicies.d.ts +0 -158
  187. package/esm/operations/computePolicies.d.ts.map +0 -1
  188. package/esm/operations/computePolicies.js +0 -230
  189. package/esm/operations/computePolicies.js.map +0 -1
  190. package/esm/operations/dataLakeStoreAccounts.d.ts +0 -128
  191. package/esm/operations/dataLakeStoreAccounts.d.ts.map +0 -1
  192. package/esm/operations/dataLakeStoreAccounts.js +0 -200
  193. package/esm/operations/dataLakeStoreAccounts.js.map +0 -1
  194. package/esm/operations/firewallRules.d.ts +0 -152
  195. package/esm/operations/firewallRules.d.ts.map +0 -1
  196. package/esm/operations/firewallRules.js +0 -230
  197. package/esm/operations/firewallRules.js.map +0 -1
  198. package/esm/operations/index.d.ts.map +0 -1
  199. package/esm/operations/index.js.map +0 -1
  200. package/esm/operations/locations.d.ts +0 -32
  201. package/esm/operations/locations.d.ts.map +0 -1
  202. package/esm/operations/locations.js +0 -56
  203. package/esm/operations/locations.js.map +0 -1
  204. package/esm/operations/operations.d.ts +0 -28
  205. package/esm/operations/operations.d.ts.map +0 -1
  206. package/esm/operations/operations.js +0 -50
  207. package/esm/operations/operations.js.map +0 -1
  208. package/esm/operations/storageAccounts.d.ts +0 -293
  209. package/esm/operations/storageAccounts.d.ts.map +0 -1
  210. package/esm/operations/storageAccounts.js +0 -398
  211. package/esm/operations/storageAccounts.js.map +0 -1
  212. package/src/models/accountsMappers.ts +0 -38
  213. package/src/models/computePoliciesMappers.ts +0 -28
  214. package/src/models/dataLakeStoreAccountsMappers.ts +0 -27
  215. package/src/models/firewallRulesMappers.ts +0 -28
  216. package/src/models/operationsMappers.ts +0 -21
  217. package/src/models/storageAccountsMappers.ts +0 -31
@@ -1,4239 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- (function (global, factory) {
9
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
10
- typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
11
- (global = global || self, factory((global.Azure = global.Azure || {}, global.Azure.ArmDatalakeAnalytics = {}), global.msRestAzure, global.msRest));
12
- }(this, (function (exports, msRestAzure, msRest) { 'use strict';
13
-
14
- /*! *****************************************************************************
15
- Copyright (c) Microsoft Corporation.
16
-
17
- Permission to use, copy, modify, and/or distribute this software for any
18
- purpose with or without fee is hereby granted.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
21
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
22
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
23
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
24
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
25
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
26
- PERFORMANCE OF THIS SOFTWARE.
27
- ***************************************************************************** */
28
- /* global Reflect, Promise */
29
-
30
- var extendStatics = function(d, b) {
31
- extendStatics = Object.setPrototypeOf ||
32
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
33
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
34
- return extendStatics(d, b);
35
- };
36
-
37
- function __extends(d, b) {
38
- extendStatics(d, b);
39
- function __() { this.constructor = d; }
40
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41
- }
42
-
43
- var __assign = function() {
44
- __assign = Object.assign || function __assign(t) {
45
- for (var s, i = 1, n = arguments.length; i < n; i++) {
46
- s = arguments[i];
47
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
48
- }
49
- return t;
50
- };
51
- return __assign.apply(this, arguments);
52
- };
53
-
54
- /*
55
- * Copyright (c) Microsoft Corporation.
56
- * Licensed under the MIT License.
57
- *
58
- * Code generated by Microsoft (R) AutoRest Code Generator.
59
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
60
- */
61
-
62
- var index = /*#__PURE__*/Object.freeze({
63
- __proto__: null
64
- });
65
-
66
- /*
67
- * Copyright (c) Microsoft Corporation.
68
- * Licensed under the MIT License.
69
- *
70
- * Code generated by Microsoft (R) AutoRest Code Generator.
71
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
72
- */
73
- var CloudError = msRestAzure.CloudErrorMapper;
74
- var BaseResource = msRestAzure.BaseResourceMapper;
75
- var Resource = {
76
- serializedName: "Resource",
77
- type: {
78
- name: "Composite",
79
- className: "Resource",
80
- modelProperties: {
81
- id: {
82
- readOnly: true,
83
- serializedName: "id",
84
- type: {
85
- name: "String"
86
- }
87
- },
88
- name: {
89
- readOnly: true,
90
- serializedName: "name",
91
- type: {
92
- name: "String"
93
- }
94
- },
95
- type: {
96
- readOnly: true,
97
- serializedName: "type",
98
- type: {
99
- name: "String"
100
- }
101
- },
102
- location: {
103
- readOnly: true,
104
- serializedName: "location",
105
- type: {
106
- name: "String"
107
- }
108
- },
109
- tags: {
110
- readOnly: true,
111
- serializedName: "tags",
112
- type: {
113
- name: "Dictionary",
114
- value: {
115
- type: {
116
- name: "String"
117
- }
118
- }
119
- }
120
- }
121
- }
122
- }
123
- };
124
- var SubResource = {
125
- serializedName: "SubResource",
126
- type: {
127
- name: "Composite",
128
- className: "SubResource",
129
- modelProperties: {
130
- id: {
131
- readOnly: true,
132
- serializedName: "id",
133
- type: {
134
- name: "String"
135
- }
136
- },
137
- name: {
138
- readOnly: true,
139
- serializedName: "name",
140
- type: {
141
- name: "String"
142
- }
143
- },
144
- type: {
145
- readOnly: true,
146
- serializedName: "type",
147
- type: {
148
- name: "String"
149
- }
150
- }
151
- }
152
- }
153
- };
154
- var DataLakeStoreAccountInformation = {
155
- serializedName: "DataLakeStoreAccountInformation",
156
- type: {
157
- name: "Composite",
158
- className: "DataLakeStoreAccountInformation",
159
- modelProperties: __assign(__assign({}, SubResource.type.modelProperties), { suffix: {
160
- readOnly: true,
161
- serializedName: "properties.suffix",
162
- type: {
163
- name: "String"
164
- }
165
- } })
166
- }
167
- };
168
- var StorageAccountInformation = {
169
- serializedName: "StorageAccountInformation",
170
- type: {
171
- name: "Composite",
172
- className: "StorageAccountInformation",
173
- modelProperties: __assign(__assign({}, SubResource.type.modelProperties), { suffix: {
174
- readOnly: true,
175
- serializedName: "properties.suffix",
176
- type: {
177
- name: "String"
178
- }
179
- } })
180
- }
181
- };
182
- var ComputePolicy = {
183
- serializedName: "ComputePolicy",
184
- type: {
185
- name: "Composite",
186
- className: "ComputePolicy",
187
- modelProperties: __assign(__assign({}, SubResource.type.modelProperties), { objectId: {
188
- readOnly: true,
189
- serializedName: "properties.objectId",
190
- type: {
191
- name: "Uuid"
192
- }
193
- }, objectType: {
194
- readOnly: true,
195
- serializedName: "properties.objectType",
196
- type: {
197
- name: "String"
198
- }
199
- }, maxDegreeOfParallelismPerJob: {
200
- readOnly: true,
201
- serializedName: "properties.maxDegreeOfParallelismPerJob",
202
- constraints: {
203
- InclusiveMinimum: 1
204
- },
205
- type: {
206
- name: "Number"
207
- }
208
- }, minPriorityPerJob: {
209
- readOnly: true,
210
- serializedName: "properties.minPriorityPerJob",
211
- constraints: {
212
- InclusiveMinimum: 1
213
- },
214
- type: {
215
- name: "Number"
216
- }
217
- } })
218
- }
219
- };
220
- var HiveMetastore = {
221
- serializedName: "HiveMetastore",
222
- type: {
223
- name: "Composite",
224
- className: "HiveMetastore",
225
- modelProperties: __assign(__assign({}, SubResource.type.modelProperties), { serverUri: {
226
- readOnly: true,
227
- serializedName: "properties.serverUri",
228
- type: {
229
- name: "String"
230
- }
231
- }, databaseName: {
232
- readOnly: true,
233
- serializedName: "properties.databaseName",
234
- type: {
235
- name: "String"
236
- }
237
- }, runtimeVersion: {
238
- readOnly: true,
239
- serializedName: "properties.runtimeVersion",
240
- type: {
241
- name: "String"
242
- }
243
- }, userName: {
244
- readOnly: true,
245
- serializedName: "properties.userName",
246
- type: {
247
- name: "String"
248
- }
249
- }, password: {
250
- readOnly: true,
251
- serializedName: "properties.password",
252
- type: {
253
- name: "String"
254
- }
255
- }, nestedResourceProvisioningState: {
256
- readOnly: true,
257
- serializedName: "properties.nestedResourceProvisioningState",
258
- type: {
259
- name: "Enum",
260
- allowedValues: [
261
- "Succeeded",
262
- "Canceled",
263
- "Failed"
264
- ]
265
- }
266
- } })
267
- }
268
- };
269
- var VirtualNetworkRule = {
270
- serializedName: "VirtualNetworkRule",
271
- type: {
272
- name: "Composite",
273
- className: "VirtualNetworkRule",
274
- modelProperties: __assign(__assign({}, SubResource.type.modelProperties), { subnetId: {
275
- readOnly: true,
276
- serializedName: "properties.subnetId",
277
- type: {
278
- name: "String"
279
- }
280
- }, virtualNetworkRuleState: {
281
- readOnly: true,
282
- serializedName: "properties.virtualNetworkRuleState",
283
- type: {
284
- name: "Enum",
285
- allowedValues: [
286
- "Active",
287
- "NetworkSourceDeleted",
288
- "Failed"
289
- ]
290
- }
291
- } })
292
- }
293
- };
294
- var FirewallRule = {
295
- serializedName: "FirewallRule",
296
- type: {
297
- name: "Composite",
298
- className: "FirewallRule",
299
- modelProperties: __assign(__assign({}, SubResource.type.modelProperties), { startIpAddress: {
300
- readOnly: true,
301
- serializedName: "properties.startIpAddress",
302
- type: {
303
- name: "String"
304
- }
305
- }, endIpAddress: {
306
- readOnly: true,
307
- serializedName: "properties.endIpAddress",
308
- type: {
309
- name: "String"
310
- }
311
- } })
312
- }
313
- };
314
- var DataLakeAnalyticsAccount = {
315
- serializedName: "DataLakeAnalyticsAccount",
316
- type: {
317
- name: "Composite",
318
- className: "DataLakeAnalyticsAccount",
319
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { accountId: {
320
- readOnly: true,
321
- serializedName: "properties.accountId",
322
- type: {
323
- name: "Uuid"
324
- }
325
- }, provisioningState: {
326
- readOnly: true,
327
- serializedName: "properties.provisioningState",
328
- type: {
329
- name: "Enum",
330
- allowedValues: [
331
- "Failed",
332
- "Creating",
333
- "Running",
334
- "Succeeded",
335
- "Patching",
336
- "Suspending",
337
- "Resuming",
338
- "Deleting",
339
- "Deleted",
340
- "Undeleting",
341
- "Canceled"
342
- ]
343
- }
344
- }, state: {
345
- readOnly: true,
346
- serializedName: "properties.state",
347
- type: {
348
- name: "Enum",
349
- allowedValues: [
350
- "Active",
351
- "Suspended"
352
- ]
353
- }
354
- }, creationTime: {
355
- readOnly: true,
356
- serializedName: "properties.creationTime",
357
- type: {
358
- name: "DateTime"
359
- }
360
- }, lastModifiedTime: {
361
- readOnly: true,
362
- serializedName: "properties.lastModifiedTime",
363
- type: {
364
- name: "DateTime"
365
- }
366
- }, endpoint: {
367
- readOnly: true,
368
- serializedName: "properties.endpoint",
369
- type: {
370
- name: "String"
371
- }
372
- }, defaultDataLakeStoreAccount: {
373
- readOnly: true,
374
- serializedName: "properties.defaultDataLakeStoreAccount",
375
- type: {
376
- name: "String"
377
- }
378
- }, dataLakeStoreAccounts: {
379
- readOnly: true,
380
- serializedName: "properties.dataLakeStoreAccounts",
381
- type: {
382
- name: "Sequence",
383
- element: {
384
- type: {
385
- name: "Composite",
386
- className: "DataLakeStoreAccountInformation"
387
- }
388
- }
389
- }
390
- }, storageAccounts: {
391
- readOnly: true,
392
- serializedName: "properties.storageAccounts",
393
- type: {
394
- name: "Sequence",
395
- element: {
396
- type: {
397
- name: "Composite",
398
- className: "StorageAccountInformation"
399
- }
400
- }
401
- }
402
- }, computePolicies: {
403
- readOnly: true,
404
- serializedName: "properties.computePolicies",
405
- type: {
406
- name: "Sequence",
407
- element: {
408
- type: {
409
- name: "Composite",
410
- className: "ComputePolicy"
411
- }
412
- }
413
- }
414
- }, hiveMetastores: {
415
- readOnly: true,
416
- serializedName: "properties.hiveMetastores",
417
- type: {
418
- name: "Sequence",
419
- element: {
420
- type: {
421
- name: "Composite",
422
- className: "HiveMetastore"
423
- }
424
- }
425
- }
426
- }, virtualNetworkRules: {
427
- readOnly: true,
428
- serializedName: "properties.virtualNetworkRules",
429
- type: {
430
- name: "Sequence",
431
- element: {
432
- type: {
433
- name: "Composite",
434
- className: "VirtualNetworkRule"
435
- }
436
- }
437
- }
438
- }, firewallRules: {
439
- readOnly: true,
440
- serializedName: "properties.firewallRules",
441
- type: {
442
- name: "Sequence",
443
- element: {
444
- type: {
445
- name: "Composite",
446
- className: "FirewallRule"
447
- }
448
- }
449
- }
450
- }, firewallState: {
451
- readOnly: true,
452
- serializedName: "properties.firewallState",
453
- type: {
454
- name: "Enum",
455
- allowedValues: [
456
- "Enabled",
457
- "Disabled"
458
- ]
459
- }
460
- }, firewallAllowAzureIps: {
461
- readOnly: true,
462
- serializedName: "properties.firewallAllowAzureIps",
463
- type: {
464
- name: "Enum",
465
- allowedValues: [
466
- "Enabled",
467
- "Disabled"
468
- ]
469
- }
470
- }, newTier: {
471
- readOnly: true,
472
- serializedName: "properties.newTier",
473
- type: {
474
- name: "Enum",
475
- allowedValues: [
476
- "Consumption",
477
- "Commitment_100AUHours",
478
- "Commitment_500AUHours",
479
- "Commitment_1000AUHours",
480
- "Commitment_5000AUHours",
481
- "Commitment_10000AUHours",
482
- "Commitment_50000AUHours",
483
- "Commitment_100000AUHours",
484
- "Commitment_500000AUHours"
485
- ]
486
- }
487
- }, currentTier: {
488
- readOnly: true,
489
- serializedName: "properties.currentTier",
490
- type: {
491
- name: "Enum",
492
- allowedValues: [
493
- "Consumption",
494
- "Commitment_100AUHours",
495
- "Commitment_500AUHours",
496
- "Commitment_1000AUHours",
497
- "Commitment_5000AUHours",
498
- "Commitment_10000AUHours",
499
- "Commitment_50000AUHours",
500
- "Commitment_100000AUHours",
501
- "Commitment_500000AUHours"
502
- ]
503
- }
504
- }, maxJobCount: {
505
- serializedName: "properties.maxJobCount",
506
- defaultValue: 3,
507
- constraints: {
508
- InclusiveMinimum: 1
509
- },
510
- type: {
511
- name: "Number"
512
- }
513
- }, systemMaxJobCount: {
514
- readOnly: true,
515
- serializedName: "properties.systemMaxJobCount",
516
- type: {
517
- name: "Number"
518
- }
519
- }, maxDegreeOfParallelism: {
520
- serializedName: "properties.maxDegreeOfParallelism",
521
- defaultValue: 30,
522
- constraints: {
523
- InclusiveMinimum: 1
524
- },
525
- type: {
526
- name: "Number"
527
- }
528
- }, systemMaxDegreeOfParallelism: {
529
- readOnly: true,
530
- serializedName: "properties.systemMaxDegreeOfParallelism",
531
- type: {
532
- name: "Number"
533
- }
534
- }, maxDegreeOfParallelismPerJob: {
535
- readOnly: true,
536
- serializedName: "properties.maxDegreeOfParallelismPerJob",
537
- constraints: {
538
- InclusiveMinimum: 1
539
- },
540
- type: {
541
- name: "Number"
542
- }
543
- }, minPriorityPerJob: {
544
- readOnly: true,
545
- serializedName: "properties.minPriorityPerJob",
546
- constraints: {
547
- InclusiveMinimum: 1
548
- },
549
- type: {
550
- name: "Number"
551
- }
552
- }, queryStoreRetention: {
553
- serializedName: "properties.queryStoreRetention",
554
- defaultValue: 30,
555
- constraints: {
556
- InclusiveMaximum: 180,
557
- InclusiveMinimum: 1
558
- },
559
- type: {
560
- name: "Number"
561
- }
562
- }, debugDataAccessLevel: {
563
- readOnly: true,
564
- serializedName: "properties.debugDataAccessLevel",
565
- type: {
566
- name: "Enum",
567
- allowedValues: [
568
- "All",
569
- "Customer",
570
- "None"
571
- ]
572
- }
573
- } })
574
- }
575
- };
576
- var DataLakeAnalyticsAccountBasic = {
577
- serializedName: "DataLakeAnalyticsAccountBasic",
578
- type: {
579
- name: "Composite",
580
- className: "DataLakeAnalyticsAccountBasic",
581
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { accountId: {
582
- readOnly: true,
583
- serializedName: "properties.accountId",
584
- type: {
585
- name: "Uuid"
586
- }
587
- }, provisioningState: {
588
- readOnly: true,
589
- serializedName: "properties.provisioningState",
590
- type: {
591
- name: "Enum",
592
- allowedValues: [
593
- "Failed",
594
- "Creating",
595
- "Running",
596
- "Succeeded",
597
- "Patching",
598
- "Suspending",
599
- "Resuming",
600
- "Deleting",
601
- "Deleted",
602
- "Undeleting",
603
- "Canceled"
604
- ]
605
- }
606
- }, state: {
607
- readOnly: true,
608
- serializedName: "properties.state",
609
- type: {
610
- name: "Enum",
611
- allowedValues: [
612
- "Active",
613
- "Suspended"
614
- ]
615
- }
616
- }, creationTime: {
617
- readOnly: true,
618
- serializedName: "properties.creationTime",
619
- type: {
620
- name: "DateTime"
621
- }
622
- }, lastModifiedTime: {
623
- readOnly: true,
624
- serializedName: "properties.lastModifiedTime",
625
- type: {
626
- name: "DateTime"
627
- }
628
- }, endpoint: {
629
- readOnly: true,
630
- serializedName: "properties.endpoint",
631
- type: {
632
- name: "String"
633
- }
634
- } })
635
- }
636
- };
637
- var StorageContainer = {
638
- serializedName: "StorageContainer",
639
- type: {
640
- name: "Composite",
641
- className: "StorageContainer",
642
- modelProperties: __assign(__assign({}, SubResource.type.modelProperties), { lastModifiedTime: {
643
- readOnly: true,
644
- serializedName: "properties.lastModifiedTime",
645
- type: {
646
- name: "DateTime"
647
- }
648
- } })
649
- }
650
- };
651
- var SasTokenInformation = {
652
- serializedName: "SasTokenInformation",
653
- type: {
654
- name: "Composite",
655
- className: "SasTokenInformation",
656
- modelProperties: {
657
- accessToken: {
658
- readOnly: true,
659
- serializedName: "accessToken",
660
- type: {
661
- name: "String"
662
- }
663
- }
664
- }
665
- }
666
- };
667
- var VirtualNetworkRuleListResult = {
668
- serializedName: "VirtualNetworkRuleListResult",
669
- type: {
670
- name: "Composite",
671
- className: "VirtualNetworkRuleListResult",
672
- modelProperties: {
673
- value: {
674
- readOnly: true,
675
- serializedName: "value",
676
- type: {
677
- name: "Sequence",
678
- element: {
679
- type: {
680
- name: "Composite",
681
- className: "VirtualNetworkRule"
682
- }
683
- }
684
- }
685
- },
686
- nextLink: {
687
- readOnly: true,
688
- serializedName: "nextLink",
689
- type: {
690
- name: "String"
691
- }
692
- }
693
- }
694
- }
695
- };
696
- var HiveMetastoreListResult = {
697
- serializedName: "HiveMetastoreListResult",
698
- type: {
699
- name: "Composite",
700
- className: "HiveMetastoreListResult",
701
- modelProperties: {
702
- value: {
703
- readOnly: true,
704
- serializedName: "value",
705
- type: {
706
- name: "Sequence",
707
- element: {
708
- type: {
709
- name: "Composite",
710
- className: "HiveMetastore"
711
- }
712
- }
713
- }
714
- },
715
- nextLink: {
716
- readOnly: true,
717
- serializedName: "nextLink",
718
- type: {
719
- name: "String"
720
- }
721
- }
722
- }
723
- }
724
- };
725
- var OperationDisplay = {
726
- serializedName: "OperationDisplay",
727
- type: {
728
- name: "Composite",
729
- className: "OperationDisplay",
730
- modelProperties: {
731
- provider: {
732
- readOnly: true,
733
- serializedName: "provider",
734
- type: {
735
- name: "String"
736
- }
737
- },
738
- resource: {
739
- readOnly: true,
740
- serializedName: "resource",
741
- type: {
742
- name: "String"
743
- }
744
- },
745
- operation: {
746
- readOnly: true,
747
- serializedName: "operation",
748
- type: {
749
- name: "String"
750
- }
751
- },
752
- description: {
753
- readOnly: true,
754
- serializedName: "description",
755
- type: {
756
- name: "String"
757
- }
758
- }
759
- }
760
- }
761
- };
762
- var OperationMetaMetricAvailabilitiesSpecification = {
763
- serializedName: "OperationMetaMetricAvailabilitiesSpecification",
764
- type: {
765
- name: "Composite",
766
- className: "OperationMetaMetricAvailabilitiesSpecification",
767
- modelProperties: {
768
- timeGrain: {
769
- serializedName: "timeGrain",
770
- type: {
771
- name: "String"
772
- }
773
- },
774
- blobDuration: {
775
- serializedName: "blobDuration",
776
- type: {
777
- name: "String"
778
- }
779
- }
780
- }
781
- }
782
- };
783
- var OperationMetaMetricSpecification = {
784
- serializedName: "OperationMetaMetricSpecification",
785
- type: {
786
- name: "Composite",
787
- className: "OperationMetaMetricSpecification",
788
- modelProperties: {
789
- name: {
790
- serializedName: "name",
791
- type: {
792
- name: "String"
793
- }
794
- },
795
- displayName: {
796
- serializedName: "displayName",
797
- type: {
798
- name: "String"
799
- }
800
- },
801
- unit: {
802
- serializedName: "unit",
803
- type: {
804
- name: "String"
805
- }
806
- },
807
- aggregationType: {
808
- serializedName: "aggregationType",
809
- type: {
810
- name: "String"
811
- }
812
- },
813
- availabilities: {
814
- serializedName: "availabilities",
815
- type: {
816
- name: "Sequence",
817
- element: {
818
- type: {
819
- name: "Composite",
820
- className: "OperationMetaMetricAvailabilitiesSpecification"
821
- }
822
- }
823
- }
824
- }
825
- }
826
- }
827
- };
828
- var OperationMetaLogSpecification = {
829
- serializedName: "OperationMetaLogSpecification",
830
- type: {
831
- name: "Composite",
832
- className: "OperationMetaLogSpecification",
833
- modelProperties: {
834
- name: {
835
- serializedName: "name",
836
- type: {
837
- name: "String"
838
- }
839
- },
840
- displayName: {
841
- serializedName: "displayName",
842
- type: {
843
- name: "String"
844
- }
845
- },
846
- blobDuration: {
847
- serializedName: "blobDuration",
848
- type: {
849
- name: "String"
850
- }
851
- }
852
- }
853
- }
854
- };
855
- var OperationMetaServiceSpecification = {
856
- serializedName: "OperationMetaServiceSpecification",
857
- type: {
858
- name: "Composite",
859
- className: "OperationMetaServiceSpecification",
860
- modelProperties: {
861
- metricSpecifications: {
862
- serializedName: "metricSpecifications",
863
- type: {
864
- name: "Sequence",
865
- element: {
866
- type: {
867
- name: "Composite",
868
- className: "OperationMetaMetricSpecification"
869
- }
870
- }
871
- }
872
- },
873
- logSpecifications: {
874
- serializedName: "logSpecifications",
875
- type: {
876
- name: "Sequence",
877
- element: {
878
- type: {
879
- name: "Composite",
880
- className: "OperationMetaLogSpecification"
881
- }
882
- }
883
- }
884
- }
885
- }
886
- }
887
- };
888
- var OperationMetaPropertyInfo = {
889
- serializedName: "OperationMetaPropertyInfo",
890
- type: {
891
- name: "Composite",
892
- className: "OperationMetaPropertyInfo",
893
- modelProperties: {
894
- serviceSpecification: {
895
- serializedName: "serviceSpecification",
896
- type: {
897
- name: "Composite",
898
- className: "OperationMetaServiceSpecification"
899
- }
900
- }
901
- }
902
- }
903
- };
904
- var Operation = {
905
- serializedName: "Operation",
906
- type: {
907
- name: "Composite",
908
- className: "Operation",
909
- modelProperties: {
910
- name: {
911
- readOnly: true,
912
- serializedName: "name",
913
- type: {
914
- name: "String"
915
- }
916
- },
917
- display: {
918
- readOnly: true,
919
- serializedName: "display",
920
- type: {
921
- name: "Composite",
922
- className: "OperationDisplay"
923
- }
924
- },
925
- properties: {
926
- readOnly: true,
927
- serializedName: "properties",
928
- type: {
929
- name: "Composite",
930
- className: "OperationMetaPropertyInfo"
931
- }
932
- },
933
- origin: {
934
- readOnly: true,
935
- serializedName: "origin",
936
- type: {
937
- name: "String"
938
- }
939
- }
940
- }
941
- }
942
- };
943
- var OperationListResult = {
944
- serializedName: "OperationListResult",
945
- type: {
946
- name: "Composite",
947
- className: "OperationListResult",
948
- modelProperties: {
949
- value: {
950
- readOnly: true,
951
- serializedName: "value",
952
- type: {
953
- name: "Sequence",
954
- element: {
955
- type: {
956
- name: "Composite",
957
- className: "Operation"
958
- }
959
- }
960
- }
961
- },
962
- nextLink: {
963
- readOnly: true,
964
- serializedName: "nextLink",
965
- type: {
966
- name: "String"
967
- }
968
- }
969
- }
970
- }
971
- };
972
- var CapabilityInformation = {
973
- serializedName: "CapabilityInformation",
974
- type: {
975
- name: "Composite",
976
- className: "CapabilityInformation",
977
- modelProperties: {
978
- subscriptionId: {
979
- readOnly: true,
980
- serializedName: "subscriptionId",
981
- type: {
982
- name: "Uuid"
983
- }
984
- },
985
- state: {
986
- readOnly: true,
987
- serializedName: "state",
988
- type: {
989
- name: "String"
990
- }
991
- },
992
- maxAccountCount: {
993
- readOnly: true,
994
- serializedName: "maxAccountCount",
995
- type: {
996
- name: "Number"
997
- }
998
- },
999
- accountCount: {
1000
- readOnly: true,
1001
- serializedName: "accountCount",
1002
- type: {
1003
- name: "Number"
1004
- }
1005
- },
1006
- migrationState: {
1007
- readOnly: true,
1008
- serializedName: "migrationState",
1009
- type: {
1010
- name: "Boolean"
1011
- }
1012
- }
1013
- }
1014
- }
1015
- };
1016
- var NameAvailabilityInformation = {
1017
- serializedName: "NameAvailabilityInformation",
1018
- type: {
1019
- name: "Composite",
1020
- className: "NameAvailabilityInformation",
1021
- modelProperties: {
1022
- nameAvailable: {
1023
- readOnly: true,
1024
- serializedName: "nameAvailable",
1025
- type: {
1026
- name: "Boolean"
1027
- }
1028
- },
1029
- reason: {
1030
- readOnly: true,
1031
- serializedName: "reason",
1032
- type: {
1033
- name: "String"
1034
- }
1035
- },
1036
- message: {
1037
- readOnly: true,
1038
- serializedName: "message",
1039
- type: {
1040
- name: "String"
1041
- }
1042
- }
1043
- }
1044
- }
1045
- };
1046
- var AddDataLakeStoreWithAccountParameters = {
1047
- serializedName: "AddDataLakeStoreWithAccountParameters",
1048
- type: {
1049
- name: "Composite",
1050
- className: "AddDataLakeStoreWithAccountParameters",
1051
- modelProperties: {
1052
- name: {
1053
- required: true,
1054
- serializedName: "name",
1055
- type: {
1056
- name: "String"
1057
- }
1058
- },
1059
- suffix: {
1060
- serializedName: "properties.suffix",
1061
- type: {
1062
- name: "String"
1063
- }
1064
- }
1065
- }
1066
- }
1067
- };
1068
- var AddStorageAccountWithAccountParameters = {
1069
- serializedName: "AddStorageAccountWithAccountParameters",
1070
- type: {
1071
- name: "Composite",
1072
- className: "AddStorageAccountWithAccountParameters",
1073
- modelProperties: {
1074
- name: {
1075
- required: true,
1076
- serializedName: "name",
1077
- type: {
1078
- name: "String"
1079
- }
1080
- },
1081
- accessKey: {
1082
- required: true,
1083
- serializedName: "properties.accessKey",
1084
- type: {
1085
- name: "String"
1086
- }
1087
- },
1088
- suffix: {
1089
- serializedName: "properties.suffix",
1090
- type: {
1091
- name: "String"
1092
- }
1093
- }
1094
- }
1095
- }
1096
- };
1097
- var CreateComputePolicyWithAccountParameters = {
1098
- serializedName: "CreateComputePolicyWithAccountParameters",
1099
- type: {
1100
- name: "Composite",
1101
- className: "CreateComputePolicyWithAccountParameters",
1102
- modelProperties: {
1103
- name: {
1104
- required: true,
1105
- serializedName: "name",
1106
- type: {
1107
- name: "String"
1108
- }
1109
- },
1110
- objectId: {
1111
- required: true,
1112
- serializedName: "properties.objectId",
1113
- type: {
1114
- name: "Uuid"
1115
- }
1116
- },
1117
- objectType: {
1118
- required: true,
1119
- serializedName: "properties.objectType",
1120
- type: {
1121
- name: "String"
1122
- }
1123
- },
1124
- maxDegreeOfParallelismPerJob: {
1125
- serializedName: "properties.maxDegreeOfParallelismPerJob",
1126
- constraints: {
1127
- InclusiveMinimum: 1
1128
- },
1129
- type: {
1130
- name: "Number"
1131
- }
1132
- },
1133
- minPriorityPerJob: {
1134
- serializedName: "properties.minPriorityPerJob",
1135
- constraints: {
1136
- InclusiveMinimum: 1
1137
- },
1138
- type: {
1139
- name: "Number"
1140
- }
1141
- }
1142
- }
1143
- }
1144
- };
1145
- var CreateFirewallRuleWithAccountParameters = {
1146
- serializedName: "CreateFirewallRuleWithAccountParameters",
1147
- type: {
1148
- name: "Composite",
1149
- className: "CreateFirewallRuleWithAccountParameters",
1150
- modelProperties: {
1151
- name: {
1152
- required: true,
1153
- serializedName: "name",
1154
- type: {
1155
- name: "String"
1156
- }
1157
- },
1158
- startIpAddress: {
1159
- required: true,
1160
- serializedName: "properties.startIpAddress",
1161
- type: {
1162
- name: "String"
1163
- }
1164
- },
1165
- endIpAddress: {
1166
- required: true,
1167
- serializedName: "properties.endIpAddress",
1168
- type: {
1169
- name: "String"
1170
- }
1171
- }
1172
- }
1173
- }
1174
- };
1175
- var CreateDataLakeAnalyticsAccountParameters = {
1176
- serializedName: "CreateDataLakeAnalyticsAccountParameters",
1177
- type: {
1178
- name: "Composite",
1179
- className: "CreateDataLakeAnalyticsAccountParameters",
1180
- modelProperties: {
1181
- location: {
1182
- required: true,
1183
- serializedName: "location",
1184
- type: {
1185
- name: "String"
1186
- }
1187
- },
1188
- tags: {
1189
- serializedName: "tags",
1190
- type: {
1191
- name: "Dictionary",
1192
- value: {
1193
- type: {
1194
- name: "String"
1195
- }
1196
- }
1197
- }
1198
- },
1199
- defaultDataLakeStoreAccount: {
1200
- required: true,
1201
- serializedName: "properties.defaultDataLakeStoreAccount",
1202
- type: {
1203
- name: "String"
1204
- }
1205
- },
1206
- dataLakeStoreAccounts: {
1207
- required: true,
1208
- serializedName: "properties.dataLakeStoreAccounts",
1209
- type: {
1210
- name: "Sequence",
1211
- element: {
1212
- type: {
1213
- name: "Composite",
1214
- className: "AddDataLakeStoreWithAccountParameters"
1215
- }
1216
- }
1217
- }
1218
- },
1219
- storageAccounts: {
1220
- serializedName: "properties.storageAccounts",
1221
- type: {
1222
- name: "Sequence",
1223
- element: {
1224
- type: {
1225
- name: "Composite",
1226
- className: "AddStorageAccountWithAccountParameters"
1227
- }
1228
- }
1229
- }
1230
- },
1231
- computePolicies: {
1232
- serializedName: "properties.computePolicies",
1233
- type: {
1234
- name: "Sequence",
1235
- element: {
1236
- type: {
1237
- name: "Composite",
1238
- className: "CreateComputePolicyWithAccountParameters"
1239
- }
1240
- }
1241
- }
1242
- },
1243
- firewallRules: {
1244
- serializedName: "properties.firewallRules",
1245
- type: {
1246
- name: "Sequence",
1247
- element: {
1248
- type: {
1249
- name: "Composite",
1250
- className: "CreateFirewallRuleWithAccountParameters"
1251
- }
1252
- }
1253
- }
1254
- },
1255
- firewallState: {
1256
- serializedName: "properties.firewallState",
1257
- type: {
1258
- name: "Enum",
1259
- allowedValues: [
1260
- "Enabled",
1261
- "Disabled"
1262
- ]
1263
- }
1264
- },
1265
- firewallAllowAzureIps: {
1266
- serializedName: "properties.firewallAllowAzureIps",
1267
- type: {
1268
- name: "Enum",
1269
- allowedValues: [
1270
- "Enabled",
1271
- "Disabled"
1272
- ]
1273
- }
1274
- },
1275
- newTier: {
1276
- serializedName: "properties.newTier",
1277
- type: {
1278
- name: "Enum",
1279
- allowedValues: [
1280
- "Consumption",
1281
- "Commitment_100AUHours",
1282
- "Commitment_500AUHours",
1283
- "Commitment_1000AUHours",
1284
- "Commitment_5000AUHours",
1285
- "Commitment_10000AUHours",
1286
- "Commitment_50000AUHours",
1287
- "Commitment_100000AUHours",
1288
- "Commitment_500000AUHours"
1289
- ]
1290
- }
1291
- },
1292
- maxJobCount: {
1293
- serializedName: "properties.maxJobCount",
1294
- defaultValue: 3,
1295
- constraints: {
1296
- InclusiveMinimum: 1
1297
- },
1298
- type: {
1299
- name: "Number"
1300
- }
1301
- },
1302
- maxDegreeOfParallelism: {
1303
- serializedName: "properties.maxDegreeOfParallelism",
1304
- defaultValue: 30,
1305
- constraints: {
1306
- InclusiveMinimum: 1
1307
- },
1308
- type: {
1309
- name: "Number"
1310
- }
1311
- },
1312
- maxDegreeOfParallelismPerJob: {
1313
- serializedName: "properties.maxDegreeOfParallelismPerJob",
1314
- constraints: {
1315
- InclusiveMinimum: 1
1316
- },
1317
- type: {
1318
- name: "Number"
1319
- }
1320
- },
1321
- minPriorityPerJob: {
1322
- serializedName: "properties.minPriorityPerJob",
1323
- constraints: {
1324
- InclusiveMinimum: 1
1325
- },
1326
- type: {
1327
- name: "Number"
1328
- }
1329
- },
1330
- queryStoreRetention: {
1331
- serializedName: "properties.queryStoreRetention",
1332
- defaultValue: 30,
1333
- constraints: {
1334
- InclusiveMaximum: 180,
1335
- InclusiveMinimum: 1
1336
- },
1337
- type: {
1338
- name: "Number"
1339
- }
1340
- }
1341
- }
1342
- }
1343
- };
1344
- var UpdateDataLakeStoreWithAccountParameters = {
1345
- serializedName: "UpdateDataLakeStoreWithAccountParameters",
1346
- type: {
1347
- name: "Composite",
1348
- className: "UpdateDataLakeStoreWithAccountParameters",
1349
- modelProperties: {
1350
- name: {
1351
- required: true,
1352
- serializedName: "name",
1353
- type: {
1354
- name: "String"
1355
- }
1356
- },
1357
- suffix: {
1358
- serializedName: "properties.suffix",
1359
- type: {
1360
- name: "String"
1361
- }
1362
- }
1363
- }
1364
- }
1365
- };
1366
- var UpdateStorageAccountWithAccountParameters = {
1367
- serializedName: "UpdateStorageAccountWithAccountParameters",
1368
- type: {
1369
- name: "Composite",
1370
- className: "UpdateStorageAccountWithAccountParameters",
1371
- modelProperties: {
1372
- name: {
1373
- required: true,
1374
- serializedName: "name",
1375
- type: {
1376
- name: "String"
1377
- }
1378
- },
1379
- accessKey: {
1380
- serializedName: "properties.accessKey",
1381
- type: {
1382
- name: "String"
1383
- }
1384
- },
1385
- suffix: {
1386
- serializedName: "properties.suffix",
1387
- type: {
1388
- name: "String"
1389
- }
1390
- }
1391
- }
1392
- }
1393
- };
1394
- var UpdateComputePolicyWithAccountParameters = {
1395
- serializedName: "UpdateComputePolicyWithAccountParameters",
1396
- type: {
1397
- name: "Composite",
1398
- className: "UpdateComputePolicyWithAccountParameters",
1399
- modelProperties: {
1400
- name: {
1401
- required: true,
1402
- serializedName: "name",
1403
- type: {
1404
- name: "String"
1405
- }
1406
- },
1407
- objectId: {
1408
- serializedName: "properties.objectId",
1409
- type: {
1410
- name: "Uuid"
1411
- }
1412
- },
1413
- objectType: {
1414
- serializedName: "properties.objectType",
1415
- type: {
1416
- name: "String"
1417
- }
1418
- },
1419
- maxDegreeOfParallelismPerJob: {
1420
- serializedName: "properties.maxDegreeOfParallelismPerJob",
1421
- constraints: {
1422
- InclusiveMinimum: 1
1423
- },
1424
- type: {
1425
- name: "Number"
1426
- }
1427
- },
1428
- minPriorityPerJob: {
1429
- serializedName: "properties.minPriorityPerJob",
1430
- constraints: {
1431
- InclusiveMinimum: 1
1432
- },
1433
- type: {
1434
- name: "Number"
1435
- }
1436
- }
1437
- }
1438
- }
1439
- };
1440
- var UpdateFirewallRuleWithAccountParameters = {
1441
- serializedName: "UpdateFirewallRuleWithAccountParameters",
1442
- type: {
1443
- name: "Composite",
1444
- className: "UpdateFirewallRuleWithAccountParameters",
1445
- modelProperties: {
1446
- name: {
1447
- required: true,
1448
- serializedName: "name",
1449
- type: {
1450
- name: "String"
1451
- }
1452
- },
1453
- startIpAddress: {
1454
- serializedName: "properties.startIpAddress",
1455
- type: {
1456
- name: "String"
1457
- }
1458
- },
1459
- endIpAddress: {
1460
- serializedName: "properties.endIpAddress",
1461
- type: {
1462
- name: "String"
1463
- }
1464
- }
1465
- }
1466
- }
1467
- };
1468
- var UpdateDataLakeAnalyticsAccountParameters = {
1469
- serializedName: "UpdateDataLakeAnalyticsAccountParameters",
1470
- type: {
1471
- name: "Composite",
1472
- className: "UpdateDataLakeAnalyticsAccountParameters",
1473
- modelProperties: {
1474
- tags: {
1475
- serializedName: "tags",
1476
- type: {
1477
- name: "Dictionary",
1478
- value: {
1479
- type: {
1480
- name: "String"
1481
- }
1482
- }
1483
- }
1484
- },
1485
- dataLakeStoreAccounts: {
1486
- serializedName: "properties.dataLakeStoreAccounts",
1487
- type: {
1488
- name: "Sequence",
1489
- element: {
1490
- type: {
1491
- name: "Composite",
1492
- className: "UpdateDataLakeStoreWithAccountParameters"
1493
- }
1494
- }
1495
- }
1496
- },
1497
- storageAccounts: {
1498
- serializedName: "properties.storageAccounts",
1499
- type: {
1500
- name: "Sequence",
1501
- element: {
1502
- type: {
1503
- name: "Composite",
1504
- className: "UpdateStorageAccountWithAccountParameters"
1505
- }
1506
- }
1507
- }
1508
- },
1509
- computePolicies: {
1510
- serializedName: "properties.computePolicies",
1511
- type: {
1512
- name: "Sequence",
1513
- element: {
1514
- type: {
1515
- name: "Composite",
1516
- className: "UpdateComputePolicyWithAccountParameters"
1517
- }
1518
- }
1519
- }
1520
- },
1521
- firewallRules: {
1522
- serializedName: "properties.firewallRules",
1523
- type: {
1524
- name: "Sequence",
1525
- element: {
1526
- type: {
1527
- name: "Composite",
1528
- className: "UpdateFirewallRuleWithAccountParameters"
1529
- }
1530
- }
1531
- }
1532
- },
1533
- firewallState: {
1534
- serializedName: "properties.firewallState",
1535
- type: {
1536
- name: "Enum",
1537
- allowedValues: [
1538
- "Enabled",
1539
- "Disabled"
1540
- ]
1541
- }
1542
- },
1543
- firewallAllowAzureIps: {
1544
- serializedName: "properties.firewallAllowAzureIps",
1545
- type: {
1546
- name: "Enum",
1547
- allowedValues: [
1548
- "Enabled",
1549
- "Disabled"
1550
- ]
1551
- }
1552
- },
1553
- newTier: {
1554
- serializedName: "properties.newTier",
1555
- type: {
1556
- name: "Enum",
1557
- allowedValues: [
1558
- "Consumption",
1559
- "Commitment_100AUHours",
1560
- "Commitment_500AUHours",
1561
- "Commitment_1000AUHours",
1562
- "Commitment_5000AUHours",
1563
- "Commitment_10000AUHours",
1564
- "Commitment_50000AUHours",
1565
- "Commitment_100000AUHours",
1566
- "Commitment_500000AUHours"
1567
- ]
1568
- }
1569
- },
1570
- maxJobCount: {
1571
- serializedName: "properties.maxJobCount",
1572
- constraints: {
1573
- InclusiveMinimum: 1
1574
- },
1575
- type: {
1576
- name: "Number"
1577
- }
1578
- },
1579
- maxDegreeOfParallelism: {
1580
- serializedName: "properties.maxDegreeOfParallelism",
1581
- constraints: {
1582
- InclusiveMinimum: 1
1583
- },
1584
- type: {
1585
- name: "Number"
1586
- }
1587
- },
1588
- maxDegreeOfParallelismPerJob: {
1589
- serializedName: "properties.maxDegreeOfParallelismPerJob",
1590
- constraints: {
1591
- InclusiveMinimum: 1
1592
- },
1593
- type: {
1594
- name: "Number"
1595
- }
1596
- },
1597
- minPriorityPerJob: {
1598
- serializedName: "properties.minPriorityPerJob",
1599
- constraints: {
1600
- InclusiveMinimum: 1
1601
- },
1602
- type: {
1603
- name: "Number"
1604
- }
1605
- },
1606
- queryStoreRetention: {
1607
- serializedName: "properties.queryStoreRetention",
1608
- constraints: {
1609
- InclusiveMaximum: 180,
1610
- InclusiveMinimum: 1
1611
- },
1612
- type: {
1613
- name: "Number"
1614
- }
1615
- }
1616
- }
1617
- }
1618
- };
1619
- var AddDataLakeStoreParameters = {
1620
- serializedName: "AddDataLakeStoreParameters",
1621
- type: {
1622
- name: "Composite",
1623
- className: "AddDataLakeStoreParameters",
1624
- modelProperties: {
1625
- suffix: {
1626
- serializedName: "properties.suffix",
1627
- type: {
1628
- name: "String"
1629
- }
1630
- }
1631
- }
1632
- }
1633
- };
1634
- var AddStorageAccountParameters = {
1635
- serializedName: "AddStorageAccountParameters",
1636
- type: {
1637
- name: "Composite",
1638
- className: "AddStorageAccountParameters",
1639
- modelProperties: {
1640
- accessKey: {
1641
- required: true,
1642
- serializedName: "properties.accessKey",
1643
- type: {
1644
- name: "String"
1645
- }
1646
- },
1647
- suffix: {
1648
- serializedName: "properties.suffix",
1649
- type: {
1650
- name: "String"
1651
- }
1652
- }
1653
- }
1654
- }
1655
- };
1656
- var UpdateStorageAccountParameters = {
1657
- serializedName: "UpdateStorageAccountParameters",
1658
- type: {
1659
- name: "Composite",
1660
- className: "UpdateStorageAccountParameters",
1661
- modelProperties: {
1662
- accessKey: {
1663
- serializedName: "properties.accessKey",
1664
- type: {
1665
- name: "String"
1666
- }
1667
- },
1668
- suffix: {
1669
- serializedName: "properties.suffix",
1670
- type: {
1671
- name: "String"
1672
- }
1673
- }
1674
- }
1675
- }
1676
- };
1677
- var CreateOrUpdateComputePolicyParameters = {
1678
- serializedName: "CreateOrUpdateComputePolicyParameters",
1679
- type: {
1680
- name: "Composite",
1681
- className: "CreateOrUpdateComputePolicyParameters",
1682
- modelProperties: {
1683
- objectId: {
1684
- required: true,
1685
- serializedName: "properties.objectId",
1686
- type: {
1687
- name: "Uuid"
1688
- }
1689
- },
1690
- objectType: {
1691
- required: true,
1692
- serializedName: "properties.objectType",
1693
- type: {
1694
- name: "String"
1695
- }
1696
- },
1697
- maxDegreeOfParallelismPerJob: {
1698
- serializedName: "properties.maxDegreeOfParallelismPerJob",
1699
- constraints: {
1700
- InclusiveMinimum: 1
1701
- },
1702
- type: {
1703
- name: "Number"
1704
- }
1705
- },
1706
- minPriorityPerJob: {
1707
- serializedName: "properties.minPriorityPerJob",
1708
- constraints: {
1709
- InclusiveMinimum: 1
1710
- },
1711
- type: {
1712
- name: "Number"
1713
- }
1714
- }
1715
- }
1716
- }
1717
- };
1718
- var UpdateComputePolicyParameters = {
1719
- serializedName: "UpdateComputePolicyParameters",
1720
- type: {
1721
- name: "Composite",
1722
- className: "UpdateComputePolicyParameters",
1723
- modelProperties: {
1724
- objectId: {
1725
- serializedName: "properties.objectId",
1726
- type: {
1727
- name: "Uuid"
1728
- }
1729
- },
1730
- objectType: {
1731
- serializedName: "properties.objectType",
1732
- type: {
1733
- name: "String"
1734
- }
1735
- },
1736
- maxDegreeOfParallelismPerJob: {
1737
- serializedName: "properties.maxDegreeOfParallelismPerJob",
1738
- constraints: {
1739
- InclusiveMinimum: 1
1740
- },
1741
- type: {
1742
- name: "Number"
1743
- }
1744
- },
1745
- minPriorityPerJob: {
1746
- serializedName: "properties.minPriorityPerJob",
1747
- constraints: {
1748
- InclusiveMinimum: 1
1749
- },
1750
- type: {
1751
- name: "Number"
1752
- }
1753
- }
1754
- }
1755
- }
1756
- };
1757
- var CreateOrUpdateFirewallRuleParameters = {
1758
- serializedName: "CreateOrUpdateFirewallRuleParameters",
1759
- type: {
1760
- name: "Composite",
1761
- className: "CreateOrUpdateFirewallRuleParameters",
1762
- modelProperties: {
1763
- startIpAddress: {
1764
- required: true,
1765
- serializedName: "properties.startIpAddress",
1766
- type: {
1767
- name: "String"
1768
- }
1769
- },
1770
- endIpAddress: {
1771
- required: true,
1772
- serializedName: "properties.endIpAddress",
1773
- type: {
1774
- name: "String"
1775
- }
1776
- }
1777
- }
1778
- }
1779
- };
1780
- var UpdateFirewallRuleParameters = {
1781
- serializedName: "UpdateFirewallRuleParameters",
1782
- type: {
1783
- name: "Composite",
1784
- className: "UpdateFirewallRuleParameters",
1785
- modelProperties: {
1786
- startIpAddress: {
1787
- serializedName: "properties.startIpAddress",
1788
- type: {
1789
- name: "String"
1790
- }
1791
- },
1792
- endIpAddress: {
1793
- serializedName: "properties.endIpAddress",
1794
- type: {
1795
- name: "String"
1796
- }
1797
- }
1798
- }
1799
- }
1800
- };
1801
- var CheckNameAvailabilityParameters = {
1802
- serializedName: "CheckNameAvailabilityParameters",
1803
- type: {
1804
- name: "Composite",
1805
- className: "CheckNameAvailabilityParameters",
1806
- modelProperties: {
1807
- name: {
1808
- required: true,
1809
- serializedName: "name",
1810
- type: {
1811
- name: "String"
1812
- }
1813
- },
1814
- type: {
1815
- required: true,
1816
- isConstant: true,
1817
- serializedName: "type",
1818
- defaultValue: 'Microsoft.DataLakeAnalytics/accounts',
1819
- type: {
1820
- name: "String"
1821
- }
1822
- }
1823
- }
1824
- }
1825
- };
1826
- var ErrorAdditionalInfo = {
1827
- serializedName: "ErrorAdditionalInfo",
1828
- type: {
1829
- name: "Composite",
1830
- className: "ErrorAdditionalInfo",
1831
- modelProperties: {
1832
- type: {
1833
- readOnly: true,
1834
- serializedName: "type",
1835
- type: {
1836
- name: "String"
1837
- }
1838
- },
1839
- info: {
1840
- readOnly: true,
1841
- serializedName: "info",
1842
- type: {
1843
- name: "Object"
1844
- }
1845
- }
1846
- }
1847
- }
1848
- };
1849
- var ErrorDetail = {
1850
- serializedName: "ErrorDetail",
1851
- type: {
1852
- name: "Composite",
1853
- className: "ErrorDetail",
1854
- modelProperties: {
1855
- code: {
1856
- readOnly: true,
1857
- serializedName: "code",
1858
- type: {
1859
- name: "String"
1860
- }
1861
- },
1862
- message: {
1863
- readOnly: true,
1864
- serializedName: "message",
1865
- type: {
1866
- name: "String"
1867
- }
1868
- },
1869
- target: {
1870
- readOnly: true,
1871
- serializedName: "target",
1872
- type: {
1873
- name: "String"
1874
- }
1875
- },
1876
- details: {
1877
- readOnly: true,
1878
- serializedName: "details",
1879
- type: {
1880
- name: "Sequence",
1881
- element: {
1882
- type: {
1883
- name: "Composite",
1884
- className: "ErrorDetail"
1885
- }
1886
- }
1887
- }
1888
- },
1889
- additionalInfo: {
1890
- readOnly: true,
1891
- serializedName: "additionalInfo",
1892
- type: {
1893
- name: "Sequence",
1894
- element: {
1895
- type: {
1896
- name: "Composite",
1897
- className: "ErrorAdditionalInfo"
1898
- }
1899
- }
1900
- }
1901
- }
1902
- }
1903
- }
1904
- };
1905
- var ErrorResponse = {
1906
- serializedName: "ErrorResponse",
1907
- type: {
1908
- name: "Composite",
1909
- className: "ErrorResponse",
1910
- modelProperties: {
1911
- error: {
1912
- serializedName: "error",
1913
- type: {
1914
- name: "Composite",
1915
- className: "ErrorDetail"
1916
- }
1917
- }
1918
- }
1919
- }
1920
- };
1921
- var DataLakeAnalyticsAccountListResult = {
1922
- serializedName: "DataLakeAnalyticsAccountListResult",
1923
- type: {
1924
- name: "Composite",
1925
- className: "DataLakeAnalyticsAccountListResult",
1926
- modelProperties: {
1927
- value: {
1928
- readOnly: true,
1929
- serializedName: "",
1930
- type: {
1931
- name: "Sequence",
1932
- element: {
1933
- type: {
1934
- name: "Composite",
1935
- className: "DataLakeAnalyticsAccountBasic"
1936
- }
1937
- }
1938
- }
1939
- },
1940
- nextLink: {
1941
- readOnly: true,
1942
- serializedName: "nextLink",
1943
- type: {
1944
- name: "String"
1945
- }
1946
- }
1947
- }
1948
- }
1949
- };
1950
- var DataLakeStoreAccountInformationListResult = {
1951
- serializedName: "DataLakeStoreAccountInformationListResult",
1952
- type: {
1953
- name: "Composite",
1954
- className: "DataLakeStoreAccountInformationListResult",
1955
- modelProperties: {
1956
- value: {
1957
- readOnly: true,
1958
- serializedName: "",
1959
- type: {
1960
- name: "Sequence",
1961
- element: {
1962
- type: {
1963
- name: "Composite",
1964
- className: "DataLakeStoreAccountInformation"
1965
- }
1966
- }
1967
- }
1968
- },
1969
- nextLink: {
1970
- readOnly: true,
1971
- serializedName: "nextLink",
1972
- type: {
1973
- name: "String"
1974
- }
1975
- }
1976
- }
1977
- }
1978
- };
1979
- var StorageAccountInformationListResult = {
1980
- serializedName: "StorageAccountInformationListResult",
1981
- type: {
1982
- name: "Composite",
1983
- className: "StorageAccountInformationListResult",
1984
- modelProperties: {
1985
- value: {
1986
- readOnly: true,
1987
- serializedName: "",
1988
- type: {
1989
- name: "Sequence",
1990
- element: {
1991
- type: {
1992
- name: "Composite",
1993
- className: "StorageAccountInformation"
1994
- }
1995
- }
1996
- }
1997
- },
1998
- nextLink: {
1999
- readOnly: true,
2000
- serializedName: "nextLink",
2001
- type: {
2002
- name: "String"
2003
- }
2004
- }
2005
- }
2006
- }
2007
- };
2008
- var StorageContainerListResult = {
2009
- serializedName: "StorageContainerListResult",
2010
- type: {
2011
- name: "Composite",
2012
- className: "StorageContainerListResult",
2013
- modelProperties: {
2014
- value: {
2015
- readOnly: true,
2016
- serializedName: "",
2017
- type: {
2018
- name: "Sequence",
2019
- element: {
2020
- type: {
2021
- name: "Composite",
2022
- className: "StorageContainer"
2023
- }
2024
- }
2025
- }
2026
- },
2027
- nextLink: {
2028
- readOnly: true,
2029
- serializedName: "nextLink",
2030
- type: {
2031
- name: "String"
2032
- }
2033
- }
2034
- }
2035
- }
2036
- };
2037
- var SasTokenInformationListResult = {
2038
- serializedName: "SasTokenInformationListResult",
2039
- type: {
2040
- name: "Composite",
2041
- className: "SasTokenInformationListResult",
2042
- modelProperties: {
2043
- value: {
2044
- readOnly: true,
2045
- serializedName: "",
2046
- type: {
2047
- name: "Sequence",
2048
- element: {
2049
- type: {
2050
- name: "Composite",
2051
- className: "SasTokenInformation"
2052
- }
2053
- }
2054
- }
2055
- },
2056
- nextLink: {
2057
- readOnly: true,
2058
- serializedName: "nextLink",
2059
- type: {
2060
- name: "String"
2061
- }
2062
- }
2063
- }
2064
- }
2065
- };
2066
- var ComputePolicyListResult = {
2067
- serializedName: "ComputePolicyListResult",
2068
- type: {
2069
- name: "Composite",
2070
- className: "ComputePolicyListResult",
2071
- modelProperties: {
2072
- value: {
2073
- readOnly: true,
2074
- serializedName: "",
2075
- type: {
2076
- name: "Sequence",
2077
- element: {
2078
- type: {
2079
- name: "Composite",
2080
- className: "ComputePolicy"
2081
- }
2082
- }
2083
- }
2084
- },
2085
- nextLink: {
2086
- readOnly: true,
2087
- serializedName: "nextLink",
2088
- type: {
2089
- name: "String"
2090
- }
2091
- }
2092
- }
2093
- }
2094
- };
2095
- var FirewallRuleListResult = {
2096
- serializedName: "FirewallRuleListResult",
2097
- type: {
2098
- name: "Composite",
2099
- className: "FirewallRuleListResult",
2100
- modelProperties: {
2101
- value: {
2102
- readOnly: true,
2103
- serializedName: "",
2104
- type: {
2105
- name: "Sequence",
2106
- element: {
2107
- type: {
2108
- name: "Composite",
2109
- className: "FirewallRule"
2110
- }
2111
- }
2112
- }
2113
- },
2114
- nextLink: {
2115
- readOnly: true,
2116
- serializedName: "nextLink",
2117
- type: {
2118
- name: "String"
2119
- }
2120
- }
2121
- }
2122
- }
2123
- };
2124
-
2125
- var mappers = /*#__PURE__*/Object.freeze({
2126
- __proto__: null,
2127
- CloudError: CloudError,
2128
- BaseResource: BaseResource,
2129
- Resource: Resource,
2130
- SubResource: SubResource,
2131
- DataLakeStoreAccountInformation: DataLakeStoreAccountInformation,
2132
- StorageAccountInformation: StorageAccountInformation,
2133
- ComputePolicy: ComputePolicy,
2134
- HiveMetastore: HiveMetastore,
2135
- VirtualNetworkRule: VirtualNetworkRule,
2136
- FirewallRule: FirewallRule,
2137
- DataLakeAnalyticsAccount: DataLakeAnalyticsAccount,
2138
- DataLakeAnalyticsAccountBasic: DataLakeAnalyticsAccountBasic,
2139
- StorageContainer: StorageContainer,
2140
- SasTokenInformation: SasTokenInformation,
2141
- VirtualNetworkRuleListResult: VirtualNetworkRuleListResult,
2142
- HiveMetastoreListResult: HiveMetastoreListResult,
2143
- OperationDisplay: OperationDisplay,
2144
- OperationMetaMetricAvailabilitiesSpecification: OperationMetaMetricAvailabilitiesSpecification,
2145
- OperationMetaMetricSpecification: OperationMetaMetricSpecification,
2146
- OperationMetaLogSpecification: OperationMetaLogSpecification,
2147
- OperationMetaServiceSpecification: OperationMetaServiceSpecification,
2148
- OperationMetaPropertyInfo: OperationMetaPropertyInfo,
2149
- Operation: Operation,
2150
- OperationListResult: OperationListResult,
2151
- CapabilityInformation: CapabilityInformation,
2152
- NameAvailabilityInformation: NameAvailabilityInformation,
2153
- AddDataLakeStoreWithAccountParameters: AddDataLakeStoreWithAccountParameters,
2154
- AddStorageAccountWithAccountParameters: AddStorageAccountWithAccountParameters,
2155
- CreateComputePolicyWithAccountParameters: CreateComputePolicyWithAccountParameters,
2156
- CreateFirewallRuleWithAccountParameters: CreateFirewallRuleWithAccountParameters,
2157
- CreateDataLakeAnalyticsAccountParameters: CreateDataLakeAnalyticsAccountParameters,
2158
- UpdateDataLakeStoreWithAccountParameters: UpdateDataLakeStoreWithAccountParameters,
2159
- UpdateStorageAccountWithAccountParameters: UpdateStorageAccountWithAccountParameters,
2160
- UpdateComputePolicyWithAccountParameters: UpdateComputePolicyWithAccountParameters,
2161
- UpdateFirewallRuleWithAccountParameters: UpdateFirewallRuleWithAccountParameters,
2162
- UpdateDataLakeAnalyticsAccountParameters: UpdateDataLakeAnalyticsAccountParameters,
2163
- AddDataLakeStoreParameters: AddDataLakeStoreParameters,
2164
- AddStorageAccountParameters: AddStorageAccountParameters,
2165
- UpdateStorageAccountParameters: UpdateStorageAccountParameters,
2166
- CreateOrUpdateComputePolicyParameters: CreateOrUpdateComputePolicyParameters,
2167
- UpdateComputePolicyParameters: UpdateComputePolicyParameters,
2168
- CreateOrUpdateFirewallRuleParameters: CreateOrUpdateFirewallRuleParameters,
2169
- UpdateFirewallRuleParameters: UpdateFirewallRuleParameters,
2170
- CheckNameAvailabilityParameters: CheckNameAvailabilityParameters,
2171
- ErrorAdditionalInfo: ErrorAdditionalInfo,
2172
- ErrorDetail: ErrorDetail,
2173
- ErrorResponse: ErrorResponse,
2174
- DataLakeAnalyticsAccountListResult: DataLakeAnalyticsAccountListResult,
2175
- DataLakeStoreAccountInformationListResult: DataLakeStoreAccountInformationListResult,
2176
- StorageAccountInformationListResult: StorageAccountInformationListResult,
2177
- StorageContainerListResult: StorageContainerListResult,
2178
- SasTokenInformationListResult: SasTokenInformationListResult,
2179
- ComputePolicyListResult: ComputePolicyListResult,
2180
- FirewallRuleListResult: FirewallRuleListResult
2181
- });
2182
-
2183
- /*
2184
- * Copyright (c) Microsoft Corporation.
2185
- * Licensed under the MIT License.
2186
- *
2187
- * Code generated by Microsoft (R) AutoRest Code Generator.
2188
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2189
- */
2190
-
2191
- var Mappers = /*#__PURE__*/Object.freeze({
2192
- __proto__: null,
2193
- AddDataLakeStoreWithAccountParameters: AddDataLakeStoreWithAccountParameters,
2194
- AddStorageAccountWithAccountParameters: AddStorageAccountWithAccountParameters,
2195
- BaseResource: BaseResource,
2196
- CheckNameAvailabilityParameters: CheckNameAvailabilityParameters,
2197
- ComputePolicy: ComputePolicy,
2198
- CreateComputePolicyWithAccountParameters: CreateComputePolicyWithAccountParameters,
2199
- CreateDataLakeAnalyticsAccountParameters: CreateDataLakeAnalyticsAccountParameters,
2200
- CreateFirewallRuleWithAccountParameters: CreateFirewallRuleWithAccountParameters,
2201
- DataLakeAnalyticsAccount: DataLakeAnalyticsAccount,
2202
- DataLakeAnalyticsAccountBasic: DataLakeAnalyticsAccountBasic,
2203
- DataLakeAnalyticsAccountListResult: DataLakeAnalyticsAccountListResult,
2204
- DataLakeStoreAccountInformation: DataLakeStoreAccountInformation,
2205
- ErrorAdditionalInfo: ErrorAdditionalInfo,
2206
- ErrorDetail: ErrorDetail,
2207
- ErrorResponse: ErrorResponse,
2208
- FirewallRule: FirewallRule,
2209
- HiveMetastore: HiveMetastore,
2210
- NameAvailabilityInformation: NameAvailabilityInformation,
2211
- Resource: Resource,
2212
- StorageAccountInformation: StorageAccountInformation,
2213
- StorageContainer: StorageContainer,
2214
- SubResource: SubResource,
2215
- UpdateComputePolicyWithAccountParameters: UpdateComputePolicyWithAccountParameters,
2216
- UpdateDataLakeAnalyticsAccountParameters: UpdateDataLakeAnalyticsAccountParameters,
2217
- UpdateDataLakeStoreWithAccountParameters: UpdateDataLakeStoreWithAccountParameters,
2218
- UpdateFirewallRuleWithAccountParameters: UpdateFirewallRuleWithAccountParameters,
2219
- UpdateStorageAccountWithAccountParameters: UpdateStorageAccountWithAccountParameters,
2220
- VirtualNetworkRule: VirtualNetworkRule
2221
- });
2222
-
2223
- /*
2224
- * Copyright (c) Microsoft Corporation.
2225
- * Licensed under the MIT License.
2226
- *
2227
- * Code generated by Microsoft (R) AutoRest Code Generator.
2228
- * Changes may cause incorrect behavior and will be lost if the code is
2229
- * regenerated.
2230
- */
2231
- var acceptLanguage = {
2232
- parameterPath: "acceptLanguage",
2233
- mapper: {
2234
- serializedName: "accept-language",
2235
- defaultValue: 'en-US',
2236
- type: {
2237
- name: "String"
2238
- }
2239
- }
2240
- };
2241
- var accountName = {
2242
- parameterPath: "accountName",
2243
- mapper: {
2244
- required: true,
2245
- serializedName: "accountName",
2246
- type: {
2247
- name: "String"
2248
- }
2249
- }
2250
- };
2251
- var apiVersion = {
2252
- parameterPath: "apiVersion",
2253
- mapper: {
2254
- required: true,
2255
- serializedName: "api-version",
2256
- type: {
2257
- name: "String"
2258
- }
2259
- }
2260
- };
2261
- var computePolicyName = {
2262
- parameterPath: "computePolicyName",
2263
- mapper: {
2264
- required: true,
2265
- serializedName: "computePolicyName",
2266
- type: {
2267
- name: "String"
2268
- }
2269
- }
2270
- };
2271
- var containerName = {
2272
- parameterPath: "containerName",
2273
- mapper: {
2274
- required: true,
2275
- serializedName: "containerName",
2276
- type: {
2277
- name: "String"
2278
- }
2279
- }
2280
- };
2281
- var count = {
2282
- parameterPath: [
2283
- "options",
2284
- "count"
2285
- ],
2286
- mapper: {
2287
- serializedName: "$count",
2288
- type: {
2289
- name: "Boolean"
2290
- }
2291
- }
2292
- };
2293
- var dataLakeStoreAccountName = {
2294
- parameterPath: "dataLakeStoreAccountName",
2295
- mapper: {
2296
- required: true,
2297
- serializedName: "dataLakeStoreAccountName",
2298
- type: {
2299
- name: "String"
2300
- }
2301
- }
2302
- };
2303
- var filter = {
2304
- parameterPath: [
2305
- "options",
2306
- "filter"
2307
- ],
2308
- mapper: {
2309
- serializedName: "$filter",
2310
- type: {
2311
- name: "String"
2312
- }
2313
- }
2314
- };
2315
- var firewallRuleName = {
2316
- parameterPath: "firewallRuleName",
2317
- mapper: {
2318
- required: true,
2319
- serializedName: "firewallRuleName",
2320
- type: {
2321
- name: "String"
2322
- }
2323
- }
2324
- };
2325
- var location = {
2326
- parameterPath: "location",
2327
- mapper: {
2328
- required: true,
2329
- serializedName: "location",
2330
- type: {
2331
- name: "String"
2332
- }
2333
- }
2334
- };
2335
- var nextPageLink = {
2336
- parameterPath: "nextPageLink",
2337
- mapper: {
2338
- required: true,
2339
- serializedName: "nextLink",
2340
- type: {
2341
- name: "String"
2342
- }
2343
- },
2344
- skipEncoding: true
2345
- };
2346
- var orderby = {
2347
- parameterPath: [
2348
- "options",
2349
- "orderby"
2350
- ],
2351
- mapper: {
2352
- serializedName: "$orderby",
2353
- type: {
2354
- name: "String"
2355
- }
2356
- }
2357
- };
2358
- var resourceGroupName = {
2359
- parameterPath: "resourceGroupName",
2360
- mapper: {
2361
- required: true,
2362
- serializedName: "resourceGroupName",
2363
- type: {
2364
- name: "String"
2365
- }
2366
- }
2367
- };
2368
- var select = {
2369
- parameterPath: [
2370
- "options",
2371
- "select"
2372
- ],
2373
- mapper: {
2374
- serializedName: "$select",
2375
- type: {
2376
- name: "String"
2377
- }
2378
- }
2379
- };
2380
- var skip = {
2381
- parameterPath: [
2382
- "options",
2383
- "skip"
2384
- ],
2385
- mapper: {
2386
- serializedName: "$skip",
2387
- constraints: {
2388
- InclusiveMinimum: 1
2389
- },
2390
- type: {
2391
- name: "Number"
2392
- }
2393
- }
2394
- };
2395
- var storageAccountName = {
2396
- parameterPath: "storageAccountName",
2397
- mapper: {
2398
- required: true,
2399
- serializedName: "storageAccountName",
2400
- type: {
2401
- name: "String"
2402
- }
2403
- }
2404
- };
2405
- var subscriptionId = {
2406
- parameterPath: "subscriptionId",
2407
- mapper: {
2408
- required: true,
2409
- serializedName: "subscriptionId",
2410
- type: {
2411
- name: "String"
2412
- }
2413
- }
2414
- };
2415
- var top = {
2416
- parameterPath: [
2417
- "options",
2418
- "top"
2419
- ],
2420
- mapper: {
2421
- serializedName: "$top",
2422
- constraints: {
2423
- InclusiveMinimum: 1
2424
- },
2425
- type: {
2426
- name: "Number"
2427
- }
2428
- }
2429
- };
2430
-
2431
- /*
2432
- * Copyright (c) Microsoft Corporation.
2433
- * Licensed under the MIT License.
2434
- *
2435
- * Code generated by Microsoft (R) AutoRest Code Generator.
2436
- * Changes may cause incorrect behavior and will be lost if the code is
2437
- * regenerated.
2438
- */
2439
- /** Class representing a Accounts. */
2440
- var Accounts = /** @class */ (function () {
2441
- /**
2442
- * Create a Accounts.
2443
- * @param {DataLakeAnalyticsAccountManagementClientContext} client Reference to the service client.
2444
- */
2445
- function Accounts(client) {
2446
- this.client = client;
2447
- }
2448
- Accounts.prototype.list = function (options, callback) {
2449
- return this.client.sendOperationRequest({
2450
- options: options
2451
- }, listOperationSpec, callback);
2452
- };
2453
- Accounts.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
2454
- return this.client.sendOperationRequest({
2455
- resourceGroupName: resourceGroupName,
2456
- options: options
2457
- }, listByResourceGroupOperationSpec, callback);
2458
- };
2459
- /**
2460
- * Creates the specified Data Lake Analytics account. This supplies the user with computation
2461
- * services for Data Lake Analytics workloads.
2462
- * @param resourceGroupName The name of the Azure resource group.
2463
- * @param accountName The name of the Data Lake Analytics account.
2464
- * @param parameters Parameters supplied to create a new Data Lake Analytics account.
2465
- * @param [options] The optional parameters
2466
- * @returns Promise<Models.AccountsCreateResponse>
2467
- */
2468
- Accounts.prototype.create = function (resourceGroupName, accountName, parameters, options) {
2469
- return this.beginCreate(resourceGroupName, accountName, parameters, options)
2470
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
2471
- };
2472
- Accounts.prototype.get = function (resourceGroupName, accountName, options, callback) {
2473
- return this.client.sendOperationRequest({
2474
- resourceGroupName: resourceGroupName,
2475
- accountName: accountName,
2476
- options: options
2477
- }, getOperationSpec, callback);
2478
- };
2479
- /**
2480
- * Updates the Data Lake Analytics account object specified by the accountName with the contents of
2481
- * the account object.
2482
- * @param resourceGroupName The name of the Azure resource group.
2483
- * @param accountName The name of the Data Lake Analytics account.
2484
- * @param [options] The optional parameters
2485
- * @returns Promise<Models.AccountsUpdateResponse>
2486
- */
2487
- Accounts.prototype.update = function (resourceGroupName, accountName, options) {
2488
- return this.beginUpdate(resourceGroupName, accountName, options)
2489
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
2490
- };
2491
- /**
2492
- * Begins the delete process for the Data Lake Analytics account object specified by the account
2493
- * name.
2494
- * @param resourceGroupName The name of the Azure resource group.
2495
- * @param accountName The name of the Data Lake Analytics account.
2496
- * @param [options] The optional parameters
2497
- * @returns Promise<msRest.RestResponse>
2498
- */
2499
- Accounts.prototype.deleteMethod = function (resourceGroupName, accountName, options) {
2500
- return this.beginDeleteMethod(resourceGroupName, accountName, options)
2501
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
2502
- };
2503
- Accounts.prototype.checkNameAvailability = function (location, parameters, options, callback) {
2504
- return this.client.sendOperationRequest({
2505
- location: location,
2506
- parameters: parameters,
2507
- options: options
2508
- }, checkNameAvailabilityOperationSpec, callback);
2509
- };
2510
- /**
2511
- * Creates the specified Data Lake Analytics account. This supplies the user with computation
2512
- * services for Data Lake Analytics workloads.
2513
- * @param resourceGroupName The name of the Azure resource group.
2514
- * @param accountName The name of the Data Lake Analytics account.
2515
- * @param parameters Parameters supplied to create a new Data Lake Analytics account.
2516
- * @param [options] The optional parameters
2517
- * @returns Promise<msRestAzure.LROPoller>
2518
- */
2519
- Accounts.prototype.beginCreate = function (resourceGroupName, accountName, parameters, options) {
2520
- return this.client.sendLRORequest({
2521
- resourceGroupName: resourceGroupName,
2522
- accountName: accountName,
2523
- parameters: parameters,
2524
- options: options
2525
- }, beginCreateOperationSpec, options);
2526
- };
2527
- /**
2528
- * Updates the Data Lake Analytics account object specified by the accountName with the contents of
2529
- * the account object.
2530
- * @param resourceGroupName The name of the Azure resource group.
2531
- * @param accountName The name of the Data Lake Analytics account.
2532
- * @param [options] The optional parameters
2533
- * @returns Promise<msRestAzure.LROPoller>
2534
- */
2535
- Accounts.prototype.beginUpdate = function (resourceGroupName, accountName, options) {
2536
- return this.client.sendLRORequest({
2537
- resourceGroupName: resourceGroupName,
2538
- accountName: accountName,
2539
- options: options
2540
- }, beginUpdateOperationSpec, options);
2541
- };
2542
- /**
2543
- * Begins the delete process for the Data Lake Analytics account object specified by the account
2544
- * name.
2545
- * @param resourceGroupName The name of the Azure resource group.
2546
- * @param accountName The name of the Data Lake Analytics account.
2547
- * @param [options] The optional parameters
2548
- * @returns Promise<msRestAzure.LROPoller>
2549
- */
2550
- Accounts.prototype.beginDeleteMethod = function (resourceGroupName, accountName, options) {
2551
- return this.client.sendLRORequest({
2552
- resourceGroupName: resourceGroupName,
2553
- accountName: accountName,
2554
- options: options
2555
- }, beginDeleteMethodOperationSpec, options);
2556
- };
2557
- Accounts.prototype.listNext = function (nextPageLink, options, callback) {
2558
- return this.client.sendOperationRequest({
2559
- nextPageLink: nextPageLink,
2560
- options: options
2561
- }, listNextOperationSpec, callback);
2562
- };
2563
- Accounts.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
2564
- return this.client.sendOperationRequest({
2565
- nextPageLink: nextPageLink,
2566
- options: options
2567
- }, listByResourceGroupNextOperationSpec, callback);
2568
- };
2569
- return Accounts;
2570
- }());
2571
- // Operation Specifications
2572
- var serializer = new msRest.Serializer(Mappers);
2573
- var listOperationSpec = {
2574
- httpMethod: "GET",
2575
- path: "subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/accounts",
2576
- urlParameters: [
2577
- subscriptionId
2578
- ],
2579
- queryParameters: [
2580
- filter,
2581
- top,
2582
- skip,
2583
- select,
2584
- orderby,
2585
- count,
2586
- apiVersion
2587
- ],
2588
- headerParameters: [
2589
- acceptLanguage
2590
- ],
2591
- responses: {
2592
- 200: {
2593
- bodyMapper: DataLakeAnalyticsAccountListResult
2594
- },
2595
- default: {
2596
- bodyMapper: ErrorResponse
2597
- }
2598
- },
2599
- serializer: serializer
2600
- };
2601
- var listByResourceGroupOperationSpec = {
2602
- httpMethod: "GET",
2603
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts",
2604
- urlParameters: [
2605
- subscriptionId,
2606
- resourceGroupName
2607
- ],
2608
- queryParameters: [
2609
- filter,
2610
- top,
2611
- skip,
2612
- select,
2613
- orderby,
2614
- count,
2615
- apiVersion
2616
- ],
2617
- headerParameters: [
2618
- acceptLanguage
2619
- ],
2620
- responses: {
2621
- 200: {
2622
- bodyMapper: DataLakeAnalyticsAccountListResult
2623
- },
2624
- default: {
2625
- bodyMapper: ErrorResponse
2626
- }
2627
- },
2628
- serializer: serializer
2629
- };
2630
- var getOperationSpec = {
2631
- httpMethod: "GET",
2632
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}",
2633
- urlParameters: [
2634
- subscriptionId,
2635
- resourceGroupName,
2636
- accountName
2637
- ],
2638
- queryParameters: [
2639
- apiVersion
2640
- ],
2641
- headerParameters: [
2642
- acceptLanguage
2643
- ],
2644
- responses: {
2645
- 200: {
2646
- bodyMapper: DataLakeAnalyticsAccount
2647
- },
2648
- default: {
2649
- bodyMapper: ErrorResponse
2650
- }
2651
- },
2652
- serializer: serializer
2653
- };
2654
- var checkNameAvailabilityOperationSpec = {
2655
- httpMethod: "POST",
2656
- path: "subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/locations/{location}/checkNameAvailability",
2657
- urlParameters: [
2658
- subscriptionId,
2659
- location
2660
- ],
2661
- queryParameters: [
2662
- apiVersion
2663
- ],
2664
- headerParameters: [
2665
- acceptLanguage
2666
- ],
2667
- requestBody: {
2668
- parameterPath: "parameters",
2669
- mapper: __assign(__assign({}, CheckNameAvailabilityParameters), { required: true })
2670
- },
2671
- responses: {
2672
- 200: {
2673
- bodyMapper: NameAvailabilityInformation
2674
- },
2675
- default: {
2676
- bodyMapper: ErrorResponse
2677
- }
2678
- },
2679
- serializer: serializer
2680
- };
2681
- var beginCreateOperationSpec = {
2682
- httpMethod: "PUT",
2683
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}",
2684
- urlParameters: [
2685
- subscriptionId,
2686
- resourceGroupName,
2687
- accountName
2688
- ],
2689
- queryParameters: [
2690
- apiVersion
2691
- ],
2692
- headerParameters: [
2693
- acceptLanguage
2694
- ],
2695
- requestBody: {
2696
- parameterPath: "parameters",
2697
- mapper: __assign(__assign({}, CreateDataLakeAnalyticsAccountParameters), { required: true })
2698
- },
2699
- responses: {
2700
- 200: {
2701
- bodyMapper: DataLakeAnalyticsAccount
2702
- },
2703
- 201: {
2704
- bodyMapper: DataLakeAnalyticsAccount
2705
- },
2706
- default: {
2707
- bodyMapper: ErrorResponse
2708
- }
2709
- },
2710
- serializer: serializer
2711
- };
2712
- var beginUpdateOperationSpec = {
2713
- httpMethod: "PATCH",
2714
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}",
2715
- urlParameters: [
2716
- subscriptionId,
2717
- resourceGroupName,
2718
- accountName
2719
- ],
2720
- queryParameters: [
2721
- apiVersion
2722
- ],
2723
- headerParameters: [
2724
- acceptLanguage
2725
- ],
2726
- requestBody: {
2727
- parameterPath: [
2728
- "options",
2729
- "parameters"
2730
- ],
2731
- mapper: UpdateDataLakeAnalyticsAccountParameters
2732
- },
2733
- responses: {
2734
- 200: {
2735
- bodyMapper: DataLakeAnalyticsAccount
2736
- },
2737
- 201: {
2738
- bodyMapper: DataLakeAnalyticsAccount
2739
- },
2740
- 202: {
2741
- bodyMapper: DataLakeAnalyticsAccount
2742
- },
2743
- default: {
2744
- bodyMapper: ErrorResponse
2745
- }
2746
- },
2747
- serializer: serializer
2748
- };
2749
- var beginDeleteMethodOperationSpec = {
2750
- httpMethod: "DELETE",
2751
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}",
2752
- urlParameters: [
2753
- subscriptionId,
2754
- resourceGroupName,
2755
- accountName
2756
- ],
2757
- queryParameters: [
2758
- apiVersion
2759
- ],
2760
- headerParameters: [
2761
- acceptLanguage
2762
- ],
2763
- responses: {
2764
- 200: {},
2765
- 202: {},
2766
- 204: {},
2767
- default: {
2768
- bodyMapper: ErrorResponse
2769
- }
2770
- },
2771
- serializer: serializer
2772
- };
2773
- var listNextOperationSpec = {
2774
- httpMethod: "GET",
2775
- baseUrl: "https://management.azure.com",
2776
- path: "{nextLink}",
2777
- urlParameters: [
2778
- nextPageLink
2779
- ],
2780
- queryParameters: [
2781
- filter,
2782
- top,
2783
- skip,
2784
- select,
2785
- orderby,
2786
- count,
2787
- apiVersion
2788
- ],
2789
- headerParameters: [
2790
- acceptLanguage
2791
- ],
2792
- responses: {
2793
- 200: {
2794
- bodyMapper: DataLakeAnalyticsAccountListResult
2795
- },
2796
- default: {
2797
- bodyMapper: ErrorResponse
2798
- }
2799
- },
2800
- serializer: serializer
2801
- };
2802
- var listByResourceGroupNextOperationSpec = {
2803
- httpMethod: "GET",
2804
- baseUrl: "https://management.azure.com",
2805
- path: "{nextLink}",
2806
- urlParameters: [
2807
- nextPageLink
2808
- ],
2809
- queryParameters: [
2810
- filter,
2811
- top,
2812
- skip,
2813
- select,
2814
- orderby,
2815
- count,
2816
- apiVersion
2817
- ],
2818
- headerParameters: [
2819
- acceptLanguage
2820
- ],
2821
- responses: {
2822
- 200: {
2823
- bodyMapper: DataLakeAnalyticsAccountListResult
2824
- },
2825
- default: {
2826
- bodyMapper: ErrorResponse
2827
- }
2828
- },
2829
- serializer: serializer
2830
- };
2831
-
2832
- /*
2833
- * Copyright (c) Microsoft Corporation.
2834
- * Licensed under the MIT License.
2835
- *
2836
- * Code generated by Microsoft (R) AutoRest Code Generator.
2837
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2838
- */
2839
-
2840
- var Mappers$1 = /*#__PURE__*/Object.freeze({
2841
- __proto__: null,
2842
- AddDataLakeStoreParameters: AddDataLakeStoreParameters,
2843
- BaseResource: BaseResource,
2844
- ComputePolicy: ComputePolicy,
2845
- DataLakeAnalyticsAccount: DataLakeAnalyticsAccount,
2846
- DataLakeAnalyticsAccountBasic: DataLakeAnalyticsAccountBasic,
2847
- DataLakeStoreAccountInformation: DataLakeStoreAccountInformation,
2848
- DataLakeStoreAccountInformationListResult: DataLakeStoreAccountInformationListResult,
2849
- ErrorAdditionalInfo: ErrorAdditionalInfo,
2850
- ErrorDetail: ErrorDetail,
2851
- ErrorResponse: ErrorResponse,
2852
- FirewallRule: FirewallRule,
2853
- HiveMetastore: HiveMetastore,
2854
- Resource: Resource,
2855
- StorageAccountInformation: StorageAccountInformation,
2856
- StorageContainer: StorageContainer,
2857
- SubResource: SubResource,
2858
- VirtualNetworkRule: VirtualNetworkRule
2859
- });
2860
-
2861
- /*
2862
- * Copyright (c) Microsoft Corporation.
2863
- * Licensed under the MIT License.
2864
- *
2865
- * Code generated by Microsoft (R) AutoRest Code Generator.
2866
- * Changes may cause incorrect behavior and will be lost if the code is
2867
- * regenerated.
2868
- */
2869
- /** Class representing a DataLakeStoreAccounts. */
2870
- var DataLakeStoreAccounts = /** @class */ (function () {
2871
- /**
2872
- * Create a DataLakeStoreAccounts.
2873
- * @param {DataLakeAnalyticsAccountManagementClientContext} client Reference to the service client.
2874
- */
2875
- function DataLakeStoreAccounts(client) {
2876
- this.client = client;
2877
- }
2878
- DataLakeStoreAccounts.prototype.listByAccount = function (resourceGroupName, accountName, options, callback) {
2879
- return this.client.sendOperationRequest({
2880
- resourceGroupName: resourceGroupName,
2881
- accountName: accountName,
2882
- options: options
2883
- }, listByAccountOperationSpec, callback);
2884
- };
2885
- DataLakeStoreAccounts.prototype.add = function (resourceGroupName, accountName, dataLakeStoreAccountName, options, callback) {
2886
- return this.client.sendOperationRequest({
2887
- resourceGroupName: resourceGroupName,
2888
- accountName: accountName,
2889
- dataLakeStoreAccountName: dataLakeStoreAccountName,
2890
- options: options
2891
- }, addOperationSpec, callback);
2892
- };
2893
- DataLakeStoreAccounts.prototype.get = function (resourceGroupName, accountName, dataLakeStoreAccountName, options, callback) {
2894
- return this.client.sendOperationRequest({
2895
- resourceGroupName: resourceGroupName,
2896
- accountName: accountName,
2897
- dataLakeStoreAccountName: dataLakeStoreAccountName,
2898
- options: options
2899
- }, getOperationSpec$1, callback);
2900
- };
2901
- DataLakeStoreAccounts.prototype.deleteMethod = function (resourceGroupName, accountName, dataLakeStoreAccountName, options, callback) {
2902
- return this.client.sendOperationRequest({
2903
- resourceGroupName: resourceGroupName,
2904
- accountName: accountName,
2905
- dataLakeStoreAccountName: dataLakeStoreAccountName,
2906
- options: options
2907
- }, deleteMethodOperationSpec, callback);
2908
- };
2909
- DataLakeStoreAccounts.prototype.listByAccountNext = function (nextPageLink, options, callback) {
2910
- return this.client.sendOperationRequest({
2911
- nextPageLink: nextPageLink,
2912
- options: options
2913
- }, listByAccountNextOperationSpec, callback);
2914
- };
2915
- return DataLakeStoreAccounts;
2916
- }());
2917
- // Operation Specifications
2918
- var serializer$1 = new msRest.Serializer(Mappers$1);
2919
- var listByAccountOperationSpec = {
2920
- httpMethod: "GET",
2921
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts",
2922
- urlParameters: [
2923
- subscriptionId,
2924
- resourceGroupName,
2925
- accountName
2926
- ],
2927
- queryParameters: [
2928
- filter,
2929
- top,
2930
- skip,
2931
- select,
2932
- orderby,
2933
- count,
2934
- apiVersion
2935
- ],
2936
- headerParameters: [
2937
- acceptLanguage
2938
- ],
2939
- responses: {
2940
- 200: {
2941
- bodyMapper: DataLakeStoreAccountInformationListResult
2942
- },
2943
- default: {
2944
- bodyMapper: ErrorResponse
2945
- }
2946
- },
2947
- serializer: serializer$1
2948
- };
2949
- var addOperationSpec = {
2950
- httpMethod: "PUT",
2951
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts/{dataLakeStoreAccountName}",
2952
- urlParameters: [
2953
- subscriptionId,
2954
- resourceGroupName,
2955
- accountName,
2956
- dataLakeStoreAccountName
2957
- ],
2958
- queryParameters: [
2959
- apiVersion
2960
- ],
2961
- headerParameters: [
2962
- acceptLanguage
2963
- ],
2964
- requestBody: {
2965
- parameterPath: [
2966
- "options",
2967
- "parameters"
2968
- ],
2969
- mapper: AddDataLakeStoreParameters
2970
- },
2971
- responses: {
2972
- 200: {},
2973
- default: {
2974
- bodyMapper: ErrorResponse
2975
- }
2976
- },
2977
- serializer: serializer$1
2978
- };
2979
- var getOperationSpec$1 = {
2980
- httpMethod: "GET",
2981
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts/{dataLakeStoreAccountName}",
2982
- urlParameters: [
2983
- subscriptionId,
2984
- resourceGroupName,
2985
- accountName,
2986
- dataLakeStoreAccountName
2987
- ],
2988
- queryParameters: [
2989
- apiVersion
2990
- ],
2991
- headerParameters: [
2992
- acceptLanguage
2993
- ],
2994
- responses: {
2995
- 200: {
2996
- bodyMapper: DataLakeStoreAccountInformation
2997
- },
2998
- default: {
2999
- bodyMapper: ErrorResponse
3000
- }
3001
- },
3002
- serializer: serializer$1
3003
- };
3004
- var deleteMethodOperationSpec = {
3005
- httpMethod: "DELETE",
3006
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts/{dataLakeStoreAccountName}",
3007
- urlParameters: [
3008
- subscriptionId,
3009
- resourceGroupName,
3010
- accountName,
3011
- dataLakeStoreAccountName
3012
- ],
3013
- queryParameters: [
3014
- apiVersion
3015
- ],
3016
- headerParameters: [
3017
- acceptLanguage
3018
- ],
3019
- responses: {
3020
- 200: {},
3021
- default: {
3022
- bodyMapper: ErrorResponse
3023
- }
3024
- },
3025
- serializer: serializer$1
3026
- };
3027
- var listByAccountNextOperationSpec = {
3028
- httpMethod: "GET",
3029
- baseUrl: "https://management.azure.com",
3030
- path: "{nextLink}",
3031
- urlParameters: [
3032
- nextPageLink
3033
- ],
3034
- queryParameters: [
3035
- filter,
3036
- top,
3037
- skip,
3038
- select,
3039
- orderby,
3040
- count,
3041
- apiVersion
3042
- ],
3043
- headerParameters: [
3044
- acceptLanguage
3045
- ],
3046
- responses: {
3047
- 200: {
3048
- bodyMapper: DataLakeStoreAccountInformationListResult
3049
- },
3050
- default: {
3051
- bodyMapper: ErrorResponse
3052
- }
3053
- },
3054
- serializer: serializer$1
3055
- };
3056
-
3057
- /*
3058
- * Copyright (c) Microsoft Corporation.
3059
- * Licensed under the MIT License.
3060
- *
3061
- * Code generated by Microsoft (R) AutoRest Code Generator.
3062
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
3063
- */
3064
-
3065
- var Mappers$2 = /*#__PURE__*/Object.freeze({
3066
- __proto__: null,
3067
- AddStorageAccountParameters: AddStorageAccountParameters,
3068
- BaseResource: BaseResource,
3069
- ComputePolicy: ComputePolicy,
3070
- DataLakeAnalyticsAccount: DataLakeAnalyticsAccount,
3071
- DataLakeAnalyticsAccountBasic: DataLakeAnalyticsAccountBasic,
3072
- DataLakeStoreAccountInformation: DataLakeStoreAccountInformation,
3073
- ErrorAdditionalInfo: ErrorAdditionalInfo,
3074
- ErrorDetail: ErrorDetail,
3075
- ErrorResponse: ErrorResponse,
3076
- FirewallRule: FirewallRule,
3077
- HiveMetastore: HiveMetastore,
3078
- Resource: Resource,
3079
- SasTokenInformation: SasTokenInformation,
3080
- SasTokenInformationListResult: SasTokenInformationListResult,
3081
- StorageAccountInformation: StorageAccountInformation,
3082
- StorageAccountInformationListResult: StorageAccountInformationListResult,
3083
- StorageContainer: StorageContainer,
3084
- StorageContainerListResult: StorageContainerListResult,
3085
- SubResource: SubResource,
3086
- UpdateStorageAccountParameters: UpdateStorageAccountParameters,
3087
- VirtualNetworkRule: VirtualNetworkRule
3088
- });
3089
-
3090
- /*
3091
- * Copyright (c) Microsoft Corporation.
3092
- * Licensed under the MIT License.
3093
- *
3094
- * Code generated by Microsoft (R) AutoRest Code Generator.
3095
- * Changes may cause incorrect behavior and will be lost if the code is
3096
- * regenerated.
3097
- */
3098
- /** Class representing a StorageAccounts. */
3099
- var StorageAccounts = /** @class */ (function () {
3100
- /**
3101
- * Create a StorageAccounts.
3102
- * @param {DataLakeAnalyticsAccountManagementClientContext} client Reference to the service client.
3103
- */
3104
- function StorageAccounts(client) {
3105
- this.client = client;
3106
- }
3107
- StorageAccounts.prototype.listByAccount = function (resourceGroupName, accountName, options, callback) {
3108
- return this.client.sendOperationRequest({
3109
- resourceGroupName: resourceGroupName,
3110
- accountName: accountName,
3111
- options: options
3112
- }, listByAccountOperationSpec$1, callback);
3113
- };
3114
- StorageAccounts.prototype.add = function (resourceGroupName, accountName, storageAccountName, parameters, options, callback) {
3115
- return this.client.sendOperationRequest({
3116
- resourceGroupName: resourceGroupName,
3117
- accountName: accountName,
3118
- storageAccountName: storageAccountName,
3119
- parameters: parameters,
3120
- options: options
3121
- }, addOperationSpec$1, callback);
3122
- };
3123
- StorageAccounts.prototype.get = function (resourceGroupName, accountName, storageAccountName, options, callback) {
3124
- return this.client.sendOperationRequest({
3125
- resourceGroupName: resourceGroupName,
3126
- accountName: accountName,
3127
- storageAccountName: storageAccountName,
3128
- options: options
3129
- }, getOperationSpec$2, callback);
3130
- };
3131
- StorageAccounts.prototype.update = function (resourceGroupName, accountName, storageAccountName, options, callback) {
3132
- return this.client.sendOperationRequest({
3133
- resourceGroupName: resourceGroupName,
3134
- accountName: accountName,
3135
- storageAccountName: storageAccountName,
3136
- options: options
3137
- }, updateOperationSpec, callback);
3138
- };
3139
- StorageAccounts.prototype.deleteMethod = function (resourceGroupName, accountName, storageAccountName, options, callback) {
3140
- return this.client.sendOperationRequest({
3141
- resourceGroupName: resourceGroupName,
3142
- accountName: accountName,
3143
- storageAccountName: storageAccountName,
3144
- options: options
3145
- }, deleteMethodOperationSpec$1, callback);
3146
- };
3147
- StorageAccounts.prototype.listStorageContainers = function (resourceGroupName, accountName, storageAccountName, options, callback) {
3148
- return this.client.sendOperationRequest({
3149
- resourceGroupName: resourceGroupName,
3150
- accountName: accountName,
3151
- storageAccountName: storageAccountName,
3152
- options: options
3153
- }, listStorageContainersOperationSpec, callback);
3154
- };
3155
- StorageAccounts.prototype.getStorageContainer = function (resourceGroupName, accountName, storageAccountName, containerName, options, callback) {
3156
- return this.client.sendOperationRequest({
3157
- resourceGroupName: resourceGroupName,
3158
- accountName: accountName,
3159
- storageAccountName: storageAccountName,
3160
- containerName: containerName,
3161
- options: options
3162
- }, getStorageContainerOperationSpec, callback);
3163
- };
3164
- StorageAccounts.prototype.listSasTokens = function (resourceGroupName, accountName, storageAccountName, containerName, options, callback) {
3165
- return this.client.sendOperationRequest({
3166
- resourceGroupName: resourceGroupName,
3167
- accountName: accountName,
3168
- storageAccountName: storageAccountName,
3169
- containerName: containerName,
3170
- options: options
3171
- }, listSasTokensOperationSpec, callback);
3172
- };
3173
- StorageAccounts.prototype.listByAccountNext = function (nextPageLink, options, callback) {
3174
- return this.client.sendOperationRequest({
3175
- nextPageLink: nextPageLink,
3176
- options: options
3177
- }, listByAccountNextOperationSpec$1, callback);
3178
- };
3179
- StorageAccounts.prototype.listStorageContainersNext = function (nextPageLink, options, callback) {
3180
- return this.client.sendOperationRequest({
3181
- nextPageLink: nextPageLink,
3182
- options: options
3183
- }, listStorageContainersNextOperationSpec, callback);
3184
- };
3185
- StorageAccounts.prototype.listSasTokensNext = function (nextPageLink, options, callback) {
3186
- return this.client.sendOperationRequest({
3187
- nextPageLink: nextPageLink,
3188
- options: options
3189
- }, listSasTokensNextOperationSpec, callback);
3190
- };
3191
- return StorageAccounts;
3192
- }());
3193
- // Operation Specifications
3194
- var serializer$2 = new msRest.Serializer(Mappers$2);
3195
- var listByAccountOperationSpec$1 = {
3196
- httpMethod: "GET",
3197
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts",
3198
- urlParameters: [
3199
- subscriptionId,
3200
- resourceGroupName,
3201
- accountName
3202
- ],
3203
- queryParameters: [
3204
- filter,
3205
- top,
3206
- skip,
3207
- select,
3208
- orderby,
3209
- count,
3210
- apiVersion
3211
- ],
3212
- headerParameters: [
3213
- acceptLanguage
3214
- ],
3215
- responses: {
3216
- 200: {
3217
- bodyMapper: StorageAccountInformationListResult
3218
- },
3219
- default: {
3220
- bodyMapper: ErrorResponse
3221
- }
3222
- },
3223
- serializer: serializer$2
3224
- };
3225
- var addOperationSpec$1 = {
3226
- httpMethod: "PUT",
3227
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}",
3228
- urlParameters: [
3229
- subscriptionId,
3230
- resourceGroupName,
3231
- accountName,
3232
- storageAccountName
3233
- ],
3234
- queryParameters: [
3235
- apiVersion
3236
- ],
3237
- headerParameters: [
3238
- acceptLanguage
3239
- ],
3240
- requestBody: {
3241
- parameterPath: "parameters",
3242
- mapper: __assign(__assign({}, AddStorageAccountParameters), { required: true })
3243
- },
3244
- responses: {
3245
- 200: {},
3246
- default: {
3247
- bodyMapper: ErrorResponse
3248
- }
3249
- },
3250
- serializer: serializer$2
3251
- };
3252
- var getOperationSpec$2 = {
3253
- httpMethod: "GET",
3254
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}",
3255
- urlParameters: [
3256
- subscriptionId,
3257
- resourceGroupName,
3258
- accountName,
3259
- storageAccountName
3260
- ],
3261
- queryParameters: [
3262
- apiVersion
3263
- ],
3264
- headerParameters: [
3265
- acceptLanguage
3266
- ],
3267
- responses: {
3268
- 200: {
3269
- bodyMapper: StorageAccountInformation
3270
- },
3271
- default: {
3272
- bodyMapper: ErrorResponse
3273
- }
3274
- },
3275
- serializer: serializer$2
3276
- };
3277
- var updateOperationSpec = {
3278
- httpMethod: "PATCH",
3279
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}",
3280
- urlParameters: [
3281
- subscriptionId,
3282
- resourceGroupName,
3283
- accountName,
3284
- storageAccountName
3285
- ],
3286
- queryParameters: [
3287
- apiVersion
3288
- ],
3289
- headerParameters: [
3290
- acceptLanguage
3291
- ],
3292
- requestBody: {
3293
- parameterPath: [
3294
- "options",
3295
- "parameters"
3296
- ],
3297
- mapper: UpdateStorageAccountParameters
3298
- },
3299
- responses: {
3300
- 200: {},
3301
- default: {
3302
- bodyMapper: ErrorResponse
3303
- }
3304
- },
3305
- serializer: serializer$2
3306
- };
3307
- var deleteMethodOperationSpec$1 = {
3308
- httpMethod: "DELETE",
3309
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}",
3310
- urlParameters: [
3311
- subscriptionId,
3312
- resourceGroupName,
3313
- accountName,
3314
- storageAccountName
3315
- ],
3316
- queryParameters: [
3317
- apiVersion
3318
- ],
3319
- headerParameters: [
3320
- acceptLanguage
3321
- ],
3322
- responses: {
3323
- 200: {},
3324
- default: {
3325
- bodyMapper: ErrorResponse
3326
- }
3327
- },
3328
- serializer: serializer$2
3329
- };
3330
- var listStorageContainersOperationSpec = {
3331
- httpMethod: "GET",
3332
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}/containers",
3333
- urlParameters: [
3334
- subscriptionId,
3335
- resourceGroupName,
3336
- accountName,
3337
- storageAccountName
3338
- ],
3339
- queryParameters: [
3340
- apiVersion
3341
- ],
3342
- headerParameters: [
3343
- acceptLanguage
3344
- ],
3345
- responses: {
3346
- 200: {
3347
- bodyMapper: StorageContainerListResult
3348
- },
3349
- default: {
3350
- bodyMapper: ErrorResponse
3351
- }
3352
- },
3353
- serializer: serializer$2
3354
- };
3355
- var getStorageContainerOperationSpec = {
3356
- httpMethod: "GET",
3357
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}/containers/{containerName}",
3358
- urlParameters: [
3359
- subscriptionId,
3360
- resourceGroupName,
3361
- accountName,
3362
- storageAccountName,
3363
- containerName
3364
- ],
3365
- queryParameters: [
3366
- apiVersion
3367
- ],
3368
- headerParameters: [
3369
- acceptLanguage
3370
- ],
3371
- responses: {
3372
- 200: {
3373
- bodyMapper: StorageContainer
3374
- },
3375
- default: {
3376
- bodyMapper: ErrorResponse
3377
- }
3378
- },
3379
- serializer: serializer$2
3380
- };
3381
- var listSasTokensOperationSpec = {
3382
- httpMethod: "POST",
3383
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}/containers/{containerName}/listSasTokens",
3384
- urlParameters: [
3385
- subscriptionId,
3386
- resourceGroupName,
3387
- accountName,
3388
- storageAccountName,
3389
- containerName
3390
- ],
3391
- queryParameters: [
3392
- apiVersion
3393
- ],
3394
- headerParameters: [
3395
- acceptLanguage
3396
- ],
3397
- responses: {
3398
- 200: {
3399
- bodyMapper: SasTokenInformationListResult
3400
- },
3401
- default: {
3402
- bodyMapper: ErrorResponse
3403
- }
3404
- },
3405
- serializer: serializer$2
3406
- };
3407
- var listByAccountNextOperationSpec$1 = {
3408
- httpMethod: "GET",
3409
- baseUrl: "https://management.azure.com",
3410
- path: "{nextLink}",
3411
- urlParameters: [
3412
- nextPageLink
3413
- ],
3414
- queryParameters: [
3415
- filter,
3416
- top,
3417
- skip,
3418
- select,
3419
- orderby,
3420
- count,
3421
- apiVersion
3422
- ],
3423
- headerParameters: [
3424
- acceptLanguage
3425
- ],
3426
- responses: {
3427
- 200: {
3428
- bodyMapper: StorageAccountInformationListResult
3429
- },
3430
- default: {
3431
- bodyMapper: ErrorResponse
3432
- }
3433
- },
3434
- serializer: serializer$2
3435
- };
3436
- var listStorageContainersNextOperationSpec = {
3437
- httpMethod: "GET",
3438
- baseUrl: "https://management.azure.com",
3439
- path: "{nextLink}",
3440
- urlParameters: [
3441
- nextPageLink
3442
- ],
3443
- queryParameters: [
3444
- apiVersion
3445
- ],
3446
- headerParameters: [
3447
- acceptLanguage
3448
- ],
3449
- responses: {
3450
- 200: {
3451
- bodyMapper: StorageContainerListResult
3452
- },
3453
- default: {
3454
- bodyMapper: ErrorResponse
3455
- }
3456
- },
3457
- serializer: serializer$2
3458
- };
3459
- var listSasTokensNextOperationSpec = {
3460
- httpMethod: "POST",
3461
- baseUrl: "https://management.azure.com",
3462
- path: "{nextLink}",
3463
- urlParameters: [
3464
- nextPageLink
3465
- ],
3466
- queryParameters: [
3467
- apiVersion
3468
- ],
3469
- headerParameters: [
3470
- acceptLanguage
3471
- ],
3472
- responses: {
3473
- 200: {
3474
- bodyMapper: SasTokenInformationListResult
3475
- },
3476
- default: {
3477
- bodyMapper: ErrorResponse
3478
- }
3479
- },
3480
- serializer: serializer$2
3481
- };
3482
-
3483
- /*
3484
- * Copyright (c) Microsoft Corporation.
3485
- * Licensed under the MIT License.
3486
- *
3487
- * Code generated by Microsoft (R) AutoRest Code Generator.
3488
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
3489
- */
3490
-
3491
- var Mappers$3 = /*#__PURE__*/Object.freeze({
3492
- __proto__: null,
3493
- BaseResource: BaseResource,
3494
- ComputePolicy: ComputePolicy,
3495
- ComputePolicyListResult: ComputePolicyListResult,
3496
- CreateOrUpdateComputePolicyParameters: CreateOrUpdateComputePolicyParameters,
3497
- DataLakeAnalyticsAccount: DataLakeAnalyticsAccount,
3498
- DataLakeAnalyticsAccountBasic: DataLakeAnalyticsAccountBasic,
3499
- DataLakeStoreAccountInformation: DataLakeStoreAccountInformation,
3500
- ErrorAdditionalInfo: ErrorAdditionalInfo,
3501
- ErrorDetail: ErrorDetail,
3502
- ErrorResponse: ErrorResponse,
3503
- FirewallRule: FirewallRule,
3504
- HiveMetastore: HiveMetastore,
3505
- Resource: Resource,
3506
- StorageAccountInformation: StorageAccountInformation,
3507
- StorageContainer: StorageContainer,
3508
- SubResource: SubResource,
3509
- UpdateComputePolicyParameters: UpdateComputePolicyParameters,
3510
- VirtualNetworkRule: VirtualNetworkRule
3511
- });
3512
-
3513
- /*
3514
- * Copyright (c) Microsoft Corporation.
3515
- * Licensed under the MIT License.
3516
- *
3517
- * Code generated by Microsoft (R) AutoRest Code Generator.
3518
- * Changes may cause incorrect behavior and will be lost if the code is
3519
- * regenerated.
3520
- */
3521
- /** Class representing a ComputePolicies. */
3522
- var ComputePolicies = /** @class */ (function () {
3523
- /**
3524
- * Create a ComputePolicies.
3525
- * @param {DataLakeAnalyticsAccountManagementClientContext} client Reference to the service client.
3526
- */
3527
- function ComputePolicies(client) {
3528
- this.client = client;
3529
- }
3530
- ComputePolicies.prototype.listByAccount = function (resourceGroupName, accountName, options, callback) {
3531
- return this.client.sendOperationRequest({
3532
- resourceGroupName: resourceGroupName,
3533
- accountName: accountName,
3534
- options: options
3535
- }, listByAccountOperationSpec$2, callback);
3536
- };
3537
- ComputePolicies.prototype.createOrUpdate = function (resourceGroupName, accountName, computePolicyName, parameters, options, callback) {
3538
- return this.client.sendOperationRequest({
3539
- resourceGroupName: resourceGroupName,
3540
- accountName: accountName,
3541
- computePolicyName: computePolicyName,
3542
- parameters: parameters,
3543
- options: options
3544
- }, createOrUpdateOperationSpec, callback);
3545
- };
3546
- ComputePolicies.prototype.get = function (resourceGroupName, accountName, computePolicyName, options, callback) {
3547
- return this.client.sendOperationRequest({
3548
- resourceGroupName: resourceGroupName,
3549
- accountName: accountName,
3550
- computePolicyName: computePolicyName,
3551
- options: options
3552
- }, getOperationSpec$3, callback);
3553
- };
3554
- ComputePolicies.prototype.update = function (resourceGroupName, accountName, computePolicyName, options, callback) {
3555
- return this.client.sendOperationRequest({
3556
- resourceGroupName: resourceGroupName,
3557
- accountName: accountName,
3558
- computePolicyName: computePolicyName,
3559
- options: options
3560
- }, updateOperationSpec$1, callback);
3561
- };
3562
- ComputePolicies.prototype.deleteMethod = function (resourceGroupName, accountName, computePolicyName, options, callback) {
3563
- return this.client.sendOperationRequest({
3564
- resourceGroupName: resourceGroupName,
3565
- accountName: accountName,
3566
- computePolicyName: computePolicyName,
3567
- options: options
3568
- }, deleteMethodOperationSpec$2, callback);
3569
- };
3570
- ComputePolicies.prototype.listByAccountNext = function (nextPageLink, options, callback) {
3571
- return this.client.sendOperationRequest({
3572
- nextPageLink: nextPageLink,
3573
- options: options
3574
- }, listByAccountNextOperationSpec$2, callback);
3575
- };
3576
- return ComputePolicies;
3577
- }());
3578
- // Operation Specifications
3579
- var serializer$3 = new msRest.Serializer(Mappers$3);
3580
- var listByAccountOperationSpec$2 = {
3581
- httpMethod: "GET",
3582
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies",
3583
- urlParameters: [
3584
- subscriptionId,
3585
- resourceGroupName,
3586
- accountName
3587
- ],
3588
- queryParameters: [
3589
- apiVersion
3590
- ],
3591
- headerParameters: [
3592
- acceptLanguage
3593
- ],
3594
- responses: {
3595
- 200: {
3596
- bodyMapper: ComputePolicyListResult
3597
- },
3598
- default: {
3599
- bodyMapper: ErrorResponse
3600
- }
3601
- },
3602
- serializer: serializer$3
3603
- };
3604
- var createOrUpdateOperationSpec = {
3605
- httpMethod: "PUT",
3606
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}",
3607
- urlParameters: [
3608
- subscriptionId,
3609
- resourceGroupName,
3610
- accountName,
3611
- computePolicyName
3612
- ],
3613
- queryParameters: [
3614
- apiVersion
3615
- ],
3616
- headerParameters: [
3617
- acceptLanguage
3618
- ],
3619
- requestBody: {
3620
- parameterPath: "parameters",
3621
- mapper: __assign(__assign({}, CreateOrUpdateComputePolicyParameters), { required: true })
3622
- },
3623
- responses: {
3624
- 200: {
3625
- bodyMapper: ComputePolicy
3626
- },
3627
- default: {
3628
- bodyMapper: ErrorResponse
3629
- }
3630
- },
3631
- serializer: serializer$3
3632
- };
3633
- var getOperationSpec$3 = {
3634
- httpMethod: "GET",
3635
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}",
3636
- urlParameters: [
3637
- subscriptionId,
3638
- resourceGroupName,
3639
- accountName,
3640
- computePolicyName
3641
- ],
3642
- queryParameters: [
3643
- apiVersion
3644
- ],
3645
- headerParameters: [
3646
- acceptLanguage
3647
- ],
3648
- responses: {
3649
- 200: {
3650
- bodyMapper: ComputePolicy
3651
- },
3652
- default: {
3653
- bodyMapper: ErrorResponse
3654
- }
3655
- },
3656
- serializer: serializer$3
3657
- };
3658
- var updateOperationSpec$1 = {
3659
- httpMethod: "PATCH",
3660
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}",
3661
- urlParameters: [
3662
- subscriptionId,
3663
- resourceGroupName,
3664
- accountName,
3665
- computePolicyName
3666
- ],
3667
- queryParameters: [
3668
- apiVersion
3669
- ],
3670
- headerParameters: [
3671
- acceptLanguage
3672
- ],
3673
- requestBody: {
3674
- parameterPath: [
3675
- "options",
3676
- "parameters"
3677
- ],
3678
- mapper: UpdateComputePolicyParameters
3679
- },
3680
- responses: {
3681
- 200: {
3682
- bodyMapper: ComputePolicy
3683
- },
3684
- default: {
3685
- bodyMapper: ErrorResponse
3686
- }
3687
- },
3688
- serializer: serializer$3
3689
- };
3690
- var deleteMethodOperationSpec$2 = {
3691
- httpMethod: "DELETE",
3692
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}",
3693
- urlParameters: [
3694
- subscriptionId,
3695
- resourceGroupName,
3696
- accountName,
3697
- computePolicyName
3698
- ],
3699
- queryParameters: [
3700
- apiVersion
3701
- ],
3702
- headerParameters: [
3703
- acceptLanguage
3704
- ],
3705
- responses: {
3706
- 200: {},
3707
- 204: {},
3708
- default: {
3709
- bodyMapper: ErrorResponse
3710
- }
3711
- },
3712
- serializer: serializer$3
3713
- };
3714
- var listByAccountNextOperationSpec$2 = {
3715
- httpMethod: "GET",
3716
- baseUrl: "https://management.azure.com",
3717
- path: "{nextLink}",
3718
- urlParameters: [
3719
- nextPageLink
3720
- ],
3721
- queryParameters: [
3722
- apiVersion
3723
- ],
3724
- headerParameters: [
3725
- acceptLanguage
3726
- ],
3727
- responses: {
3728
- 200: {
3729
- bodyMapper: ComputePolicyListResult
3730
- },
3731
- default: {
3732
- bodyMapper: ErrorResponse
3733
- }
3734
- },
3735
- serializer: serializer$3
3736
- };
3737
-
3738
- /*
3739
- * Copyright (c) Microsoft Corporation.
3740
- * Licensed under the MIT License.
3741
- *
3742
- * Code generated by Microsoft (R) AutoRest Code Generator.
3743
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
3744
- */
3745
-
3746
- var Mappers$4 = /*#__PURE__*/Object.freeze({
3747
- __proto__: null,
3748
- BaseResource: BaseResource,
3749
- ComputePolicy: ComputePolicy,
3750
- CreateOrUpdateFirewallRuleParameters: CreateOrUpdateFirewallRuleParameters,
3751
- DataLakeAnalyticsAccount: DataLakeAnalyticsAccount,
3752
- DataLakeAnalyticsAccountBasic: DataLakeAnalyticsAccountBasic,
3753
- DataLakeStoreAccountInformation: DataLakeStoreAccountInformation,
3754
- ErrorAdditionalInfo: ErrorAdditionalInfo,
3755
- ErrorDetail: ErrorDetail,
3756
- ErrorResponse: ErrorResponse,
3757
- FirewallRule: FirewallRule,
3758
- FirewallRuleListResult: FirewallRuleListResult,
3759
- HiveMetastore: HiveMetastore,
3760
- Resource: Resource,
3761
- StorageAccountInformation: StorageAccountInformation,
3762
- StorageContainer: StorageContainer,
3763
- SubResource: SubResource,
3764
- UpdateFirewallRuleParameters: UpdateFirewallRuleParameters,
3765
- VirtualNetworkRule: VirtualNetworkRule
3766
- });
3767
-
3768
- /*
3769
- * Copyright (c) Microsoft Corporation.
3770
- * Licensed under the MIT License.
3771
- *
3772
- * Code generated by Microsoft (R) AutoRest Code Generator.
3773
- * Changes may cause incorrect behavior and will be lost if the code is
3774
- * regenerated.
3775
- */
3776
- /** Class representing a FirewallRules. */
3777
- var FirewallRules = /** @class */ (function () {
3778
- /**
3779
- * Create a FirewallRules.
3780
- * @param {DataLakeAnalyticsAccountManagementClientContext} client Reference to the service client.
3781
- */
3782
- function FirewallRules(client) {
3783
- this.client = client;
3784
- }
3785
- FirewallRules.prototype.listByAccount = function (resourceGroupName, accountName, options, callback) {
3786
- return this.client.sendOperationRequest({
3787
- resourceGroupName: resourceGroupName,
3788
- accountName: accountName,
3789
- options: options
3790
- }, listByAccountOperationSpec$3, callback);
3791
- };
3792
- FirewallRules.prototype.createOrUpdate = function (resourceGroupName, accountName, firewallRuleName, parameters, options, callback) {
3793
- return this.client.sendOperationRequest({
3794
- resourceGroupName: resourceGroupName,
3795
- accountName: accountName,
3796
- firewallRuleName: firewallRuleName,
3797
- parameters: parameters,
3798
- options: options
3799
- }, createOrUpdateOperationSpec$1, callback);
3800
- };
3801
- FirewallRules.prototype.get = function (resourceGroupName, accountName, firewallRuleName, options, callback) {
3802
- return this.client.sendOperationRequest({
3803
- resourceGroupName: resourceGroupName,
3804
- accountName: accountName,
3805
- firewallRuleName: firewallRuleName,
3806
- options: options
3807
- }, getOperationSpec$4, callback);
3808
- };
3809
- FirewallRules.prototype.update = function (resourceGroupName, accountName, firewallRuleName, options, callback) {
3810
- return this.client.sendOperationRequest({
3811
- resourceGroupName: resourceGroupName,
3812
- accountName: accountName,
3813
- firewallRuleName: firewallRuleName,
3814
- options: options
3815
- }, updateOperationSpec$2, callback);
3816
- };
3817
- FirewallRules.prototype.deleteMethod = function (resourceGroupName, accountName, firewallRuleName, options, callback) {
3818
- return this.client.sendOperationRequest({
3819
- resourceGroupName: resourceGroupName,
3820
- accountName: accountName,
3821
- firewallRuleName: firewallRuleName,
3822
- options: options
3823
- }, deleteMethodOperationSpec$3, callback);
3824
- };
3825
- FirewallRules.prototype.listByAccountNext = function (nextPageLink, options, callback) {
3826
- return this.client.sendOperationRequest({
3827
- nextPageLink: nextPageLink,
3828
- options: options
3829
- }, listByAccountNextOperationSpec$3, callback);
3830
- };
3831
- return FirewallRules;
3832
- }());
3833
- // Operation Specifications
3834
- var serializer$4 = new msRest.Serializer(Mappers$4);
3835
- var listByAccountOperationSpec$3 = {
3836
- httpMethod: "GET",
3837
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/firewallRules",
3838
- urlParameters: [
3839
- subscriptionId,
3840
- resourceGroupName,
3841
- accountName
3842
- ],
3843
- queryParameters: [
3844
- apiVersion
3845
- ],
3846
- headerParameters: [
3847
- acceptLanguage
3848
- ],
3849
- responses: {
3850
- 200: {
3851
- bodyMapper: FirewallRuleListResult
3852
- },
3853
- default: {
3854
- bodyMapper: ErrorResponse
3855
- }
3856
- },
3857
- serializer: serializer$4
3858
- };
3859
- var createOrUpdateOperationSpec$1 = {
3860
- httpMethod: "PUT",
3861
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/firewallRules/{firewallRuleName}",
3862
- urlParameters: [
3863
- subscriptionId,
3864
- resourceGroupName,
3865
- accountName,
3866
- firewallRuleName
3867
- ],
3868
- queryParameters: [
3869
- apiVersion
3870
- ],
3871
- headerParameters: [
3872
- acceptLanguage
3873
- ],
3874
- requestBody: {
3875
- parameterPath: "parameters",
3876
- mapper: __assign(__assign({}, CreateOrUpdateFirewallRuleParameters), { required: true })
3877
- },
3878
- responses: {
3879
- 200: {
3880
- bodyMapper: FirewallRule
3881
- },
3882
- default: {
3883
- bodyMapper: ErrorResponse
3884
- }
3885
- },
3886
- serializer: serializer$4
3887
- };
3888
- var getOperationSpec$4 = {
3889
- httpMethod: "GET",
3890
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/firewallRules/{firewallRuleName}",
3891
- urlParameters: [
3892
- subscriptionId,
3893
- resourceGroupName,
3894
- accountName,
3895
- firewallRuleName
3896
- ],
3897
- queryParameters: [
3898
- apiVersion
3899
- ],
3900
- headerParameters: [
3901
- acceptLanguage
3902
- ],
3903
- responses: {
3904
- 200: {
3905
- bodyMapper: FirewallRule
3906
- },
3907
- default: {
3908
- bodyMapper: ErrorResponse
3909
- }
3910
- },
3911
- serializer: serializer$4
3912
- };
3913
- var updateOperationSpec$2 = {
3914
- httpMethod: "PATCH",
3915
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/firewallRules/{firewallRuleName}",
3916
- urlParameters: [
3917
- subscriptionId,
3918
- resourceGroupName,
3919
- accountName,
3920
- firewallRuleName
3921
- ],
3922
- queryParameters: [
3923
- apiVersion
3924
- ],
3925
- headerParameters: [
3926
- acceptLanguage
3927
- ],
3928
- requestBody: {
3929
- parameterPath: [
3930
- "options",
3931
- "parameters"
3932
- ],
3933
- mapper: UpdateFirewallRuleParameters
3934
- },
3935
- responses: {
3936
- 200: {
3937
- bodyMapper: FirewallRule
3938
- },
3939
- default: {
3940
- bodyMapper: ErrorResponse
3941
- }
3942
- },
3943
- serializer: serializer$4
3944
- };
3945
- var deleteMethodOperationSpec$3 = {
3946
- httpMethod: "DELETE",
3947
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/firewallRules/{firewallRuleName}",
3948
- urlParameters: [
3949
- subscriptionId,
3950
- resourceGroupName,
3951
- accountName,
3952
- firewallRuleName
3953
- ],
3954
- queryParameters: [
3955
- apiVersion
3956
- ],
3957
- headerParameters: [
3958
- acceptLanguage
3959
- ],
3960
- responses: {
3961
- 200: {},
3962
- 204: {},
3963
- default: {
3964
- bodyMapper: ErrorResponse
3965
- }
3966
- },
3967
- serializer: serializer$4
3968
- };
3969
- var listByAccountNextOperationSpec$3 = {
3970
- httpMethod: "GET",
3971
- baseUrl: "https://management.azure.com",
3972
- path: "{nextLink}",
3973
- urlParameters: [
3974
- nextPageLink
3975
- ],
3976
- queryParameters: [
3977
- apiVersion
3978
- ],
3979
- headerParameters: [
3980
- acceptLanguage
3981
- ],
3982
- responses: {
3983
- 200: {
3984
- bodyMapper: FirewallRuleListResult
3985
- },
3986
- default: {
3987
- bodyMapper: ErrorResponse
3988
- }
3989
- },
3990
- serializer: serializer$4
3991
- };
3992
-
3993
- /*
3994
- * Copyright (c) Microsoft Corporation.
3995
- * Licensed under the MIT License.
3996
- *
3997
- * Code generated by Microsoft (R) AutoRest Code Generator.
3998
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
3999
- */
4000
-
4001
- var Mappers$5 = /*#__PURE__*/Object.freeze({
4002
- __proto__: null,
4003
- ErrorAdditionalInfo: ErrorAdditionalInfo,
4004
- ErrorDetail: ErrorDetail,
4005
- ErrorResponse: ErrorResponse,
4006
- Operation: Operation,
4007
- OperationDisplay: OperationDisplay,
4008
- OperationListResult: OperationListResult,
4009
- OperationMetaLogSpecification: OperationMetaLogSpecification,
4010
- OperationMetaMetricAvailabilitiesSpecification: OperationMetaMetricAvailabilitiesSpecification,
4011
- OperationMetaMetricSpecification: OperationMetaMetricSpecification,
4012
- OperationMetaPropertyInfo: OperationMetaPropertyInfo,
4013
- OperationMetaServiceSpecification: OperationMetaServiceSpecification
4014
- });
4015
-
4016
- /*
4017
- * Copyright (c) Microsoft Corporation.
4018
- * Licensed under the MIT License.
4019
- *
4020
- * Code generated by Microsoft (R) AutoRest Code Generator.
4021
- * Changes may cause incorrect behavior and will be lost if the code is
4022
- * regenerated.
4023
- */
4024
- /** Class representing a Operations. */
4025
- var Operations = /** @class */ (function () {
4026
- /**
4027
- * Create a Operations.
4028
- * @param {DataLakeAnalyticsAccountManagementClientContext} client Reference to the service client.
4029
- */
4030
- function Operations(client) {
4031
- this.client = client;
4032
- }
4033
- Operations.prototype.list = function (options, callback) {
4034
- return this.client.sendOperationRequest({
4035
- options: options
4036
- }, listOperationSpec$1, callback);
4037
- };
4038
- return Operations;
4039
- }());
4040
- // Operation Specifications
4041
- var serializer$5 = new msRest.Serializer(Mappers$5);
4042
- var listOperationSpec$1 = {
4043
- httpMethod: "GET",
4044
- path: "providers/Microsoft.DataLakeAnalytics/operations",
4045
- queryParameters: [
4046
- apiVersion
4047
- ],
4048
- headerParameters: [
4049
- acceptLanguage
4050
- ],
4051
- responses: {
4052
- 200: {
4053
- bodyMapper: OperationListResult
4054
- },
4055
- default: {
4056
- bodyMapper: ErrorResponse
4057
- }
4058
- },
4059
- serializer: serializer$5
4060
- };
4061
-
4062
- /*
4063
- * Copyright (c) Microsoft Corporation.
4064
- * Licensed under the MIT License.
4065
- *
4066
- * Code generated by Microsoft (R) AutoRest Code Generator.
4067
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
4068
- */
4069
-
4070
- var Mappers$6 = /*#__PURE__*/Object.freeze({
4071
- __proto__: null,
4072
- CapabilityInformation: CapabilityInformation,
4073
- ErrorAdditionalInfo: ErrorAdditionalInfo,
4074
- ErrorDetail: ErrorDetail,
4075
- ErrorResponse: ErrorResponse
4076
- });
4077
-
4078
- /*
4079
- * Copyright (c) Microsoft Corporation.
4080
- * Licensed under the MIT License.
4081
- *
4082
- * Code generated by Microsoft (R) AutoRest Code Generator.
4083
- * Changes may cause incorrect behavior and will be lost if the code is
4084
- * regenerated.
4085
- */
4086
- /** Class representing a Locations. */
4087
- var Locations = /** @class */ (function () {
4088
- /**
4089
- * Create a Locations.
4090
- * @param {DataLakeAnalyticsAccountManagementClientContext} client Reference to the service client.
4091
- */
4092
- function Locations(client) {
4093
- this.client = client;
4094
- }
4095
- Locations.prototype.getCapability = function (location, options, callback) {
4096
- return this.client.sendOperationRequest({
4097
- location: location,
4098
- options: options
4099
- }, getCapabilityOperationSpec, callback);
4100
- };
4101
- return Locations;
4102
- }());
4103
- // Operation Specifications
4104
- var serializer$6 = new msRest.Serializer(Mappers$6);
4105
- var getCapabilityOperationSpec = {
4106
- httpMethod: "GET",
4107
- path: "subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/locations/{location}/capability",
4108
- urlParameters: [
4109
- subscriptionId,
4110
- location
4111
- ],
4112
- queryParameters: [
4113
- apiVersion
4114
- ],
4115
- headerParameters: [
4116
- acceptLanguage
4117
- ],
4118
- responses: {
4119
- 200: {
4120
- bodyMapper: CapabilityInformation
4121
- },
4122
- 404: {},
4123
- default: {
4124
- bodyMapper: ErrorResponse
4125
- }
4126
- },
4127
- serializer: serializer$6
4128
- };
4129
-
4130
- /*
4131
- * Copyright (c) Microsoft Corporation.
4132
- * Licensed under the MIT License.
4133
- *
4134
- * Code generated by Microsoft (R) AutoRest Code Generator.
4135
- * Changes may cause incorrect behavior and will be lost if the code is
4136
- * regenerated.
4137
- */
4138
- var packageName = "@azure/arm-datalake-analytics";
4139
- var packageVersion = "1.1.1";
4140
- var DataLakeAnalyticsAccountManagementClientContext = /** @class */ (function (_super) {
4141
- __extends(DataLakeAnalyticsAccountManagementClientContext, _super);
4142
- /**
4143
- * Initializes a new instance of the DataLakeAnalyticsAccountManagementClient class.
4144
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
4145
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
4146
- * more information about these credentials, see
4147
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
4148
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
4149
- * @azure/ms-rest-browserauth are also supported.
4150
- * @param subscriptionId Get subscription credentials which uniquely identify Microsoft Azure
4151
- * subscription. The subscription ID forms part of the URI for every service call.
4152
- * @param [options] The parameter options
4153
- */
4154
- function DataLakeAnalyticsAccountManagementClientContext(credentials, subscriptionId, options) {
4155
- var _this = this;
4156
- if (credentials == undefined) {
4157
- throw new Error('\'credentials\' cannot be null.');
4158
- }
4159
- if (subscriptionId == undefined) {
4160
- throw new Error('\'subscriptionId\' cannot be null.');
4161
- }
4162
- if (!options) {
4163
- options = {};
4164
- }
4165
- if (!options.userAgent) {
4166
- var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
4167
- options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
4168
- }
4169
- _this = _super.call(this, credentials, options) || this;
4170
- _this.apiVersion = '2016-11-01';
4171
- _this.acceptLanguage = 'en-US';
4172
- _this.longRunningOperationRetryTimeout = 30;
4173
- _this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
4174
- _this.requestContentType = "application/json; charset=utf-8";
4175
- _this.credentials = credentials;
4176
- _this.subscriptionId = subscriptionId;
4177
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
4178
- _this.acceptLanguage = options.acceptLanguage;
4179
- }
4180
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
4181
- _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
4182
- }
4183
- return _this;
4184
- }
4185
- return DataLakeAnalyticsAccountManagementClientContext;
4186
- }(msRestAzure.AzureServiceClient));
4187
-
4188
- /*
4189
- * Copyright (c) Microsoft Corporation.
4190
- * Licensed under the MIT License.
4191
- *
4192
- * Code generated by Microsoft (R) AutoRest Code Generator.
4193
- * Changes may cause incorrect behavior and will be lost if the code is
4194
- * regenerated.
4195
- */
4196
- var DataLakeAnalyticsAccountManagementClient = /** @class */ (function (_super) {
4197
- __extends(DataLakeAnalyticsAccountManagementClient, _super);
4198
- /**
4199
- * Initializes a new instance of the DataLakeAnalyticsAccountManagementClient class.
4200
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
4201
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
4202
- * more information about these credentials, see
4203
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
4204
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
4205
- * @azure/ms-rest-browserauth are also supported.
4206
- * @param subscriptionId Get subscription credentials which uniquely identify Microsoft Azure
4207
- * subscription. The subscription ID forms part of the URI for every service call.
4208
- * @param [options] The parameter options
4209
- */
4210
- function DataLakeAnalyticsAccountManagementClient(credentials, subscriptionId, options) {
4211
- var _this = _super.call(this, credentials, subscriptionId, options) || this;
4212
- _this.accounts = new Accounts(_this);
4213
- _this.dataLakeStoreAccounts = new DataLakeStoreAccounts(_this);
4214
- _this.storageAccounts = new StorageAccounts(_this);
4215
- _this.computePolicies = new ComputePolicies(_this);
4216
- _this.firewallRules = new FirewallRules(_this);
4217
- _this.operations = new Operations(_this);
4218
- _this.locations = new Locations(_this);
4219
- return _this;
4220
- }
4221
- return DataLakeAnalyticsAccountManagementClient;
4222
- }(DataLakeAnalyticsAccountManagementClientContext));
4223
-
4224
- exports.Accounts = Accounts;
4225
- exports.ComputePolicies = ComputePolicies;
4226
- exports.DataLakeAnalyticsAccountManagementClient = DataLakeAnalyticsAccountManagementClient;
4227
- exports.DataLakeAnalyticsAccountManagementClientContext = DataLakeAnalyticsAccountManagementClientContext;
4228
- exports.DataLakeAnalyticsAccountManagementMappers = mappers;
4229
- exports.DataLakeAnalyticsAccountManagementModels = index;
4230
- exports.DataLakeStoreAccounts = DataLakeStoreAccounts;
4231
- exports.FirewallRules = FirewallRules;
4232
- exports.Locations = Locations;
4233
- exports.Operations = Operations;
4234
- exports.StorageAccounts = StorageAccounts;
4235
-
4236
- Object.defineProperty(exports, '__esModule', { value: true });
4237
-
4238
- })));
4239
- //# sourceMappingURL=arm-datalake-analytics.js.map