@azure/arm-subscriptions 3.1.2 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +69 -79
  4. package/dist/index.js +2330 -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/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +658 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +36 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +36 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/dist-esm/src/models/mappers.js +1057 -0
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +15 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/src/models/parameters.js +121 -0
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operations/alias.d.ts +53 -0
  29. package/dist-esm/src/operations/alias.d.ts.map +1 -0
  30. package/dist-esm/src/operations/alias.js +180 -0
  31. package/dist-esm/src/operations/alias.js.map +1 -0
  32. package/dist-esm/src/operations/billingAccount.d.ts +19 -0
  33. package/dist-esm/src/operations/billingAccount.d.ts.map +1 -0
  34. package/dist-esm/src/operations/billingAccount.js +47 -0
  35. package/dist-esm/src/operations/billingAccount.js.map +1 -0
  36. package/{esm → dist-esm/src}/operations/index.d.ts +2 -0
  37. package/dist-esm/src/operations/index.d.ts.map +1 -0
  38. package/{esm → dist-esm/src}/operations/index.js +5 -5
  39. package/dist-esm/src/operations/index.js.map +1 -0
  40. package/dist-esm/src/operations/operations.d.ts +32 -0
  41. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/operations.js +120 -0
  43. package/dist-esm/src/operations/operations.js.map +1 -0
  44. package/dist-esm/src/operations/subscriptionOperations.d.ts +53 -0
  45. package/dist-esm/src/operations/subscriptionOperations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/subscriptionOperations.js +201 -0
  47. package/dist-esm/src/operations/subscriptionOperations.js.map +1 -0
  48. package/dist-esm/src/operations/subscriptionPolicy.d.ts +43 -0
  49. package/dist-esm/src/operations/subscriptionPolicy.d.ts.map +1 -0
  50. package/dist-esm/src/operations/subscriptionPolicy.js +169 -0
  51. package/dist-esm/src/operations/subscriptionPolicy.js.map +1 -0
  52. package/dist-esm/src/operations/subscriptions.d.ts +54 -0
  53. package/dist-esm/src/operations/subscriptions.d.ts.map +1 -0
  54. package/dist-esm/src/operations/subscriptions.js +201 -0
  55. package/dist-esm/src/operations/subscriptions.js.map +1 -0
  56. package/dist-esm/src/operations/tenants.d.ts +32 -0
  57. package/dist-esm/src/operations/tenants.d.ts.map +1 -0
  58. package/dist-esm/src/operations/tenants.js +114 -0
  59. package/dist-esm/src/operations/tenants.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/alias.d.ts +45 -0
  61. package/dist-esm/src/operationsInterfaces/alias.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/alias.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/alias.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/billingAccount.d.ts +11 -0
  65. package/dist-esm/src/operationsInterfaces/billingAccount.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/billingAccount.js +9 -0
  67. package/dist-esm/src/operationsInterfaces/billingAccount.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/index.d.ts +8 -0
  69. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/index.js +15 -0
  71. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  73. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/subscriptionOperations.d.ts +45 -0
  77. package/dist-esm/src/operationsInterfaces/subscriptionOperations.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/subscriptionOperations.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/subscriptionOperations.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/subscriptionPolicy.d.ts +22 -0
  81. package/dist-esm/src/operationsInterfaces/subscriptionPolicy.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/subscriptionPolicy.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/subscriptionPolicy.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/subscriptions.d.ts +24 -0
  85. package/dist-esm/src/operationsInterfaces/subscriptions.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/subscriptions.js +9 -0
  87. package/dist-esm/src/operationsInterfaces/subscriptions.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/tenants.d.ts +11 -0
  89. package/dist-esm/src/operationsInterfaces/tenants.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/tenants.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/tenants.js.map +1 -0
  92. package/dist-esm/src/subscriptionClient.d.ts +21 -0
  93. package/dist-esm/src/subscriptionClient.d.ts.map +1 -0
  94. package/dist-esm/src/subscriptionClient.js +50 -0
  95. package/dist-esm/src/subscriptionClient.js.map +1 -0
  96. package/dist-esm/test/sampleTest.d.ts +2 -0
  97. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  98. package/dist-esm/test/sampleTest.js +40 -0
  99. package/dist-esm/test/sampleTest.js.map +1 -0
  100. package/package.json +65 -32
  101. package/review/arm-subscriptions.api.md +559 -0
  102. package/rollup.config.js +181 -30
  103. package/src/index.ts +12 -0
  104. package/src/lroImpl.ts +34 -0
  105. package/src/models/index.ts +551 -489
  106. package/src/models/mappers.ts +685 -190
  107. package/src/models/parameters.ts +94 -27
  108. package/src/operations/alias.ts +170 -170
  109. package/src/operations/billingAccount.ts +65 -0
  110. package/src/operations/index.ts +5 -5
  111. package/src/operations/operations.ts +103 -40
  112. package/src/operations/subscriptionOperations.ts +216 -120
  113. package/src/operations/subscriptionPolicy.ts +207 -0
  114. package/src/operations/subscriptions.ts +163 -153
  115. package/src/operations/tenants.ts +87 -79
  116. package/src/operationsInterfaces/alias.ts +75 -0
  117. package/src/operationsInterfaces/billingAccount.ts +25 -0
  118. package/src/operationsInterfaces/index.ts +15 -0
  119. package/src/operationsInterfaces/operations.ts +22 -0
  120. package/src/operationsInterfaces/subscriptionOperations.ts +92 -0
  121. package/src/operationsInterfaces/subscriptionPolicy.ts +46 -0
  122. package/src/operationsInterfaces/subscriptions.ts +48 -0
  123. package/src/operationsInterfaces/tenants.ts +22 -0
  124. package/src/subscriptionClient.ts +81 -43
  125. package/tsconfig.json +3 -3
  126. package/types/arm-subscriptions.d.ts +925 -0
  127. package/types/tsdoc-metadata.json +11 -0
  128. package/dist/arm-subscriptions.js +0 -1442
  129. package/dist/arm-subscriptions.js.map +0 -1
  130. package/dist/arm-subscriptions.min.js +0 -1
  131. package/dist/arm-subscriptions.min.js.map +0 -1
  132. package/esm/models/aliasMappers.d.ts +0 -2
  133. package/esm/models/aliasMappers.d.ts.map +0 -1
  134. package/esm/models/aliasMappers.js +0 -9
  135. package/esm/models/aliasMappers.js.map +0 -1
  136. package/esm/models/index.d.ts +0 -624
  137. package/esm/models/index.d.ts.map +0 -1
  138. package/esm/models/index.js +0 -8
  139. package/esm/models/index.js.map +0 -1
  140. package/esm/models/mappers.d.ts +0 -25
  141. package/esm/models/mappers.d.ts.map +0 -1
  142. package/esm/models/mappers.js +0 -574
  143. package/esm/models/mappers.js.map +0 -1
  144. package/esm/models/operationsMappers.d.ts +0 -2
  145. package/esm/models/operationsMappers.d.ts.map +0 -1
  146. package/esm/models/operationsMappers.js +0 -9
  147. package/esm/models/operationsMappers.js.map +0 -1
  148. package/esm/models/parameters.d.ts +0 -8
  149. package/esm/models/parameters.d.ts.map +0 -1
  150. package/esm/models/parameters.js +0 -75
  151. package/esm/models/parameters.js.map +0 -1
  152. package/esm/models/subscriptionOperationsMappers.d.ts +0 -2
  153. package/esm/models/subscriptionOperationsMappers.d.ts.map +0 -1
  154. package/esm/models/subscriptionOperationsMappers.js +0 -9
  155. package/esm/models/subscriptionOperationsMappers.js.map +0 -1
  156. package/esm/models/subscriptionsMappers.d.ts +0 -2
  157. package/esm/models/subscriptionsMappers.d.ts.map +0 -1
  158. package/esm/models/subscriptionsMappers.js +0 -9
  159. package/esm/models/subscriptionsMappers.js.map +0 -1
  160. package/esm/models/tenantsMappers.d.ts +0 -2
  161. package/esm/models/tenantsMappers.d.ts.map +0 -1
  162. package/esm/models/tenantsMappers.js +0 -9
  163. package/esm/models/tenantsMappers.js.map +0 -1
  164. package/esm/operations/alias.d.ts +0 -81
  165. package/esm/operations/alias.d.ts.map +0 -1
  166. package/esm/operations/alias.js +0 -161
  167. package/esm/operations/alias.js.map +0 -1
  168. package/esm/operations/index.d.ts.map +0 -1
  169. package/esm/operations/index.js.map +0 -1
  170. package/esm/operations/operations.d.ts +0 -28
  171. package/esm/operations/operations.d.ts.map +0 -1
  172. package/esm/operations/operations.js +0 -51
  173. package/esm/operations/operations.js.map +0 -1
  174. package/esm/operations/subscriptionOperations.d.ts +0 -70
  175. package/esm/operations/subscriptionOperations.d.ts.map +0 -1
  176. package/esm/operations/subscriptionOperations.js +0 -117
  177. package/esm/operations/subscriptionOperations.js.map +0 -1
  178. package/esm/operations/subscriptions.d.ts +0 -84
  179. package/esm/operations/subscriptions.d.ts.map +0 -1
  180. package/esm/operations/subscriptions.js +0 -133
  181. package/esm/operations/subscriptions.js.map +0 -1
  182. package/esm/operations/tenants.d.ts +0 -46
  183. package/esm/operations/tenants.d.ts.map +0 -1
  184. package/esm/operations/tenants.js +0 -77
  185. package/esm/operations/tenants.js.map +0 -1
  186. package/esm/subscriptionClient.d.ts +0 -27
  187. package/esm/subscriptionClient.d.ts.map +0 -1
  188. package/esm/subscriptionClient.js +0 -41
  189. package/esm/subscriptionClient.js.map +0 -1
  190. package/esm/subscriptionClientContext.d.ts +0 -19
  191. package/esm/subscriptionClientContext.d.ts.map +0 -1
  192. package/esm/subscriptionClientContext.js +0 -55
  193. package/esm/subscriptionClientContext.js.map +0 -1
  194. package/src/models/aliasMappers.ts +0 -18
  195. package/src/models/operationsMappers.ts +0 -14
  196. package/src/models/subscriptionOperationsMappers.ts +0 -15
  197. package/src/models/subscriptionsMappers.ts +0 -16
  198. package/src/models/tenantsMappers.ts +0 -13
  199. package/src/subscriptionClientContext.ts +0 -60
@@ -0,0 +1,1057 @@
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
+ export const LocationListResult = {
9
+ type: {
10
+ name: "Composite",
11
+ className: "LocationListResult",
12
+ modelProperties: {
13
+ value: {
14
+ serializedName: "value",
15
+ type: {
16
+ name: "Sequence",
17
+ element: {
18
+ type: {
19
+ name: "Composite",
20
+ className: "Location"
21
+ }
22
+ }
23
+ }
24
+ }
25
+ }
26
+ }
27
+ };
28
+ export const Location = {
29
+ type: {
30
+ name: "Composite",
31
+ className: "Location",
32
+ modelProperties: {
33
+ id: {
34
+ serializedName: "id",
35
+ readOnly: true,
36
+ type: {
37
+ name: "String"
38
+ }
39
+ },
40
+ subscriptionId: {
41
+ serializedName: "subscriptionId",
42
+ readOnly: true,
43
+ type: {
44
+ name: "String"
45
+ }
46
+ },
47
+ name: {
48
+ serializedName: "name",
49
+ readOnly: true,
50
+ type: {
51
+ name: "String"
52
+ }
53
+ },
54
+ displayName: {
55
+ serializedName: "displayName",
56
+ readOnly: true,
57
+ type: {
58
+ name: "String"
59
+ }
60
+ },
61
+ latitude: {
62
+ serializedName: "latitude",
63
+ readOnly: true,
64
+ type: {
65
+ name: "String"
66
+ }
67
+ },
68
+ longitude: {
69
+ serializedName: "longitude",
70
+ readOnly: true,
71
+ type: {
72
+ name: "String"
73
+ }
74
+ }
75
+ }
76
+ }
77
+ };
78
+ export const Subscription = {
79
+ type: {
80
+ name: "Composite",
81
+ className: "Subscription",
82
+ modelProperties: {
83
+ id: {
84
+ serializedName: "id",
85
+ readOnly: true,
86
+ type: {
87
+ name: "String"
88
+ }
89
+ },
90
+ subscriptionId: {
91
+ serializedName: "subscriptionId",
92
+ readOnly: true,
93
+ type: {
94
+ name: "String"
95
+ }
96
+ },
97
+ displayName: {
98
+ serializedName: "displayName",
99
+ readOnly: true,
100
+ type: {
101
+ name: "String"
102
+ }
103
+ },
104
+ state: {
105
+ serializedName: "state",
106
+ readOnly: true,
107
+ type: {
108
+ name: "Enum",
109
+ allowedValues: ["Enabled", "Warned", "PastDue", "Disabled", "Deleted"]
110
+ }
111
+ },
112
+ subscriptionPolicies: {
113
+ serializedName: "subscriptionPolicies",
114
+ type: {
115
+ name: "Composite",
116
+ className: "SubscriptionPolicies"
117
+ }
118
+ },
119
+ authorizationSource: {
120
+ serializedName: "authorizationSource",
121
+ type: {
122
+ name: "String"
123
+ }
124
+ }
125
+ }
126
+ }
127
+ };
128
+ export const SubscriptionPolicies = {
129
+ type: {
130
+ name: "Composite",
131
+ className: "SubscriptionPolicies",
132
+ modelProperties: {
133
+ locationPlacementId: {
134
+ serializedName: "locationPlacementId",
135
+ readOnly: true,
136
+ type: {
137
+ name: "String"
138
+ }
139
+ },
140
+ quotaId: {
141
+ serializedName: "quotaId",
142
+ readOnly: true,
143
+ type: {
144
+ name: "String"
145
+ }
146
+ },
147
+ spendingLimit: {
148
+ serializedName: "spendingLimit",
149
+ readOnly: true,
150
+ type: {
151
+ name: "Enum",
152
+ allowedValues: ["On", "Off", "CurrentPeriodOff"]
153
+ }
154
+ }
155
+ }
156
+ }
157
+ };
158
+ export const SubscriptionListResult = {
159
+ type: {
160
+ name: "Composite",
161
+ className: "SubscriptionListResult",
162
+ modelProperties: {
163
+ value: {
164
+ serializedName: "value",
165
+ type: {
166
+ name: "Sequence",
167
+ element: {
168
+ type: {
169
+ name: "Composite",
170
+ className: "Subscription"
171
+ }
172
+ }
173
+ }
174
+ },
175
+ nextLink: {
176
+ serializedName: "nextLink",
177
+ required: true,
178
+ type: {
179
+ name: "String"
180
+ }
181
+ }
182
+ }
183
+ }
184
+ };
185
+ export const TenantListResult = {
186
+ type: {
187
+ name: "Composite",
188
+ className: "TenantListResult",
189
+ modelProperties: {
190
+ value: {
191
+ serializedName: "value",
192
+ type: {
193
+ name: "Sequence",
194
+ element: {
195
+ type: {
196
+ name: "Composite",
197
+ className: "TenantIdDescription"
198
+ }
199
+ }
200
+ }
201
+ },
202
+ nextLink: {
203
+ serializedName: "nextLink",
204
+ required: true,
205
+ type: {
206
+ name: "String"
207
+ }
208
+ }
209
+ }
210
+ }
211
+ };
212
+ export const TenantIdDescription = {
213
+ type: {
214
+ name: "Composite",
215
+ className: "TenantIdDescription",
216
+ modelProperties: {
217
+ id: {
218
+ serializedName: "id",
219
+ readOnly: true,
220
+ type: {
221
+ name: "String"
222
+ }
223
+ },
224
+ tenantId: {
225
+ serializedName: "tenantId",
226
+ readOnly: true,
227
+ type: {
228
+ name: "String"
229
+ }
230
+ }
231
+ }
232
+ }
233
+ };
234
+ export const CanceledSubscriptionId = {
235
+ type: {
236
+ name: "Composite",
237
+ className: "CanceledSubscriptionId",
238
+ modelProperties: {
239
+ subscriptionId: {
240
+ serializedName: "subscriptionId",
241
+ readOnly: true,
242
+ type: {
243
+ name: "String"
244
+ }
245
+ }
246
+ }
247
+ }
248
+ };
249
+ export const ErrorResponseBody = {
250
+ type: {
251
+ name: "Composite",
252
+ className: "ErrorResponseBody",
253
+ modelProperties: {
254
+ error: {
255
+ serializedName: "error",
256
+ type: {
257
+ name: "Composite",
258
+ className: "ErrorResponse"
259
+ }
260
+ },
261
+ code: {
262
+ serializedName: "code",
263
+ type: {
264
+ name: "String"
265
+ }
266
+ },
267
+ message: {
268
+ serializedName: "message",
269
+ type: {
270
+ name: "String"
271
+ }
272
+ }
273
+ }
274
+ }
275
+ };
276
+ export const ErrorResponse = {
277
+ type: {
278
+ name: "Composite",
279
+ className: "ErrorResponse",
280
+ modelProperties: {
281
+ code: {
282
+ serializedName: "code",
283
+ type: {
284
+ name: "String"
285
+ }
286
+ },
287
+ message: {
288
+ serializedName: "message",
289
+ type: {
290
+ name: "String"
291
+ }
292
+ }
293
+ }
294
+ }
295
+ };
296
+ export const SubscriptionName = {
297
+ type: {
298
+ name: "Composite",
299
+ className: "SubscriptionName",
300
+ modelProperties: {
301
+ subscriptionName: {
302
+ serializedName: "subscriptionName",
303
+ type: {
304
+ name: "String"
305
+ }
306
+ }
307
+ }
308
+ }
309
+ };
310
+ export const RenamedSubscriptionId = {
311
+ type: {
312
+ name: "Composite",
313
+ className: "RenamedSubscriptionId",
314
+ modelProperties: {
315
+ subscriptionId: {
316
+ serializedName: "subscriptionId",
317
+ readOnly: true,
318
+ type: {
319
+ name: "String"
320
+ }
321
+ }
322
+ }
323
+ }
324
+ };
325
+ export const EnabledSubscriptionId = {
326
+ type: {
327
+ name: "Composite",
328
+ className: "EnabledSubscriptionId",
329
+ modelProperties: {
330
+ subscriptionId: {
331
+ serializedName: "subscriptionId",
332
+ readOnly: true,
333
+ type: {
334
+ name: "String"
335
+ }
336
+ }
337
+ }
338
+ }
339
+ };
340
+ export const OperationListResult = {
341
+ type: {
342
+ name: "Composite",
343
+ className: "OperationListResult",
344
+ modelProperties: {
345
+ value: {
346
+ serializedName: "value",
347
+ type: {
348
+ name: "Sequence",
349
+ element: {
350
+ type: {
351
+ name: "Composite",
352
+ className: "Operation"
353
+ }
354
+ }
355
+ }
356
+ },
357
+ nextLink: {
358
+ serializedName: "nextLink",
359
+ type: {
360
+ name: "String"
361
+ }
362
+ }
363
+ }
364
+ }
365
+ };
366
+ export const Operation = {
367
+ type: {
368
+ name: "Composite",
369
+ className: "Operation",
370
+ modelProperties: {
371
+ name: {
372
+ serializedName: "name",
373
+ type: {
374
+ name: "String"
375
+ }
376
+ },
377
+ isDataAction: {
378
+ serializedName: "isDataAction",
379
+ type: {
380
+ name: "Boolean"
381
+ }
382
+ },
383
+ display: {
384
+ serializedName: "display",
385
+ type: {
386
+ name: "Composite",
387
+ className: "OperationDisplay"
388
+ }
389
+ }
390
+ }
391
+ }
392
+ };
393
+ export const OperationDisplay = {
394
+ type: {
395
+ name: "Composite",
396
+ className: "OperationDisplay",
397
+ modelProperties: {
398
+ provider: {
399
+ serializedName: "provider",
400
+ type: {
401
+ name: "String"
402
+ }
403
+ },
404
+ resource: {
405
+ serializedName: "resource",
406
+ type: {
407
+ name: "String"
408
+ }
409
+ },
410
+ operation: {
411
+ serializedName: "operation",
412
+ type: {
413
+ name: "String"
414
+ }
415
+ },
416
+ description: {
417
+ serializedName: "description",
418
+ type: {
419
+ name: "String"
420
+ }
421
+ }
422
+ }
423
+ }
424
+ };
425
+ export const PutAliasRequest = {
426
+ type: {
427
+ name: "Composite",
428
+ className: "PutAliasRequest",
429
+ modelProperties: {
430
+ properties: {
431
+ serializedName: "properties",
432
+ type: {
433
+ name: "Composite",
434
+ className: "PutAliasRequestProperties"
435
+ }
436
+ }
437
+ }
438
+ }
439
+ };
440
+ export const PutAliasRequestProperties = {
441
+ type: {
442
+ name: "Composite",
443
+ className: "PutAliasRequestProperties",
444
+ modelProperties: {
445
+ displayName: {
446
+ serializedName: "displayName",
447
+ type: {
448
+ name: "String"
449
+ }
450
+ },
451
+ workload: {
452
+ serializedName: "workload",
453
+ type: {
454
+ name: "String"
455
+ }
456
+ },
457
+ billingScope: {
458
+ serializedName: "billingScope",
459
+ type: {
460
+ name: "String"
461
+ }
462
+ },
463
+ subscriptionId: {
464
+ serializedName: "subscriptionId",
465
+ type: {
466
+ name: "String"
467
+ }
468
+ },
469
+ resellerId: {
470
+ serializedName: "resellerId",
471
+ type: {
472
+ name: "String"
473
+ }
474
+ },
475
+ additionalProperties: {
476
+ serializedName: "additionalProperties",
477
+ type: {
478
+ name: "Composite",
479
+ className: "PutAliasRequestAdditionalProperties"
480
+ }
481
+ }
482
+ }
483
+ }
484
+ };
485
+ export const PutAliasRequestAdditionalProperties = {
486
+ type: {
487
+ name: "Composite",
488
+ className: "PutAliasRequestAdditionalProperties",
489
+ modelProperties: {
490
+ managementGroupId: {
491
+ serializedName: "managementGroupId",
492
+ type: {
493
+ name: "String"
494
+ }
495
+ },
496
+ subscriptionTenantId: {
497
+ serializedName: "subscriptionTenantId",
498
+ type: {
499
+ name: "String"
500
+ }
501
+ },
502
+ subscriptionOwnerId: {
503
+ serializedName: "subscriptionOwnerId",
504
+ type: {
505
+ name: "String"
506
+ }
507
+ },
508
+ tags: {
509
+ serializedName: "tags",
510
+ type: {
511
+ name: "Dictionary",
512
+ value: { type: { name: "String" } }
513
+ }
514
+ }
515
+ }
516
+ }
517
+ };
518
+ export const SubscriptionAliasResponse = {
519
+ type: {
520
+ name: "Composite",
521
+ className: "SubscriptionAliasResponse",
522
+ modelProperties: {
523
+ id: {
524
+ serializedName: "id",
525
+ readOnly: true,
526
+ type: {
527
+ name: "String"
528
+ }
529
+ },
530
+ name: {
531
+ serializedName: "name",
532
+ readOnly: true,
533
+ type: {
534
+ name: "String"
535
+ }
536
+ },
537
+ type: {
538
+ serializedName: "type",
539
+ readOnly: true,
540
+ type: {
541
+ name: "String"
542
+ }
543
+ },
544
+ properties: {
545
+ serializedName: "properties",
546
+ type: {
547
+ name: "Composite",
548
+ className: "SubscriptionAliasResponseProperties"
549
+ }
550
+ },
551
+ systemData: {
552
+ serializedName: "systemData",
553
+ type: {
554
+ name: "Composite",
555
+ className: "SystemData"
556
+ }
557
+ }
558
+ }
559
+ }
560
+ };
561
+ export const SubscriptionAliasResponseProperties = {
562
+ type: {
563
+ name: "Composite",
564
+ className: "SubscriptionAliasResponseProperties",
565
+ modelProperties: {
566
+ subscriptionId: {
567
+ serializedName: "subscriptionId",
568
+ readOnly: true,
569
+ type: {
570
+ name: "String"
571
+ }
572
+ },
573
+ displayName: {
574
+ serializedName: "displayName",
575
+ type: {
576
+ name: "String"
577
+ }
578
+ },
579
+ provisioningState: {
580
+ serializedName: "provisioningState",
581
+ type: {
582
+ name: "String"
583
+ }
584
+ },
585
+ acceptOwnershipUrl: {
586
+ serializedName: "acceptOwnershipUrl",
587
+ readOnly: true,
588
+ type: {
589
+ name: "String"
590
+ }
591
+ },
592
+ acceptOwnershipState: {
593
+ serializedName: "acceptOwnershipState",
594
+ readOnly: true,
595
+ type: {
596
+ name: "String"
597
+ }
598
+ },
599
+ billingScope: {
600
+ serializedName: "billingScope",
601
+ type: {
602
+ name: "String"
603
+ }
604
+ },
605
+ workload: {
606
+ serializedName: "workload",
607
+ type: {
608
+ name: "String"
609
+ }
610
+ },
611
+ resellerId: {
612
+ serializedName: "resellerId",
613
+ type: {
614
+ name: "String"
615
+ }
616
+ },
617
+ subscriptionOwnerId: {
618
+ serializedName: "subscriptionOwnerId",
619
+ type: {
620
+ name: "String"
621
+ }
622
+ },
623
+ managementGroupId: {
624
+ serializedName: "managementGroupId",
625
+ type: {
626
+ name: "String"
627
+ }
628
+ },
629
+ createdTime: {
630
+ serializedName: "createdTime",
631
+ type: {
632
+ name: "String"
633
+ }
634
+ },
635
+ tags: {
636
+ serializedName: "tags",
637
+ type: {
638
+ name: "Dictionary",
639
+ value: { type: { name: "String" } }
640
+ }
641
+ }
642
+ }
643
+ }
644
+ };
645
+ export const SystemData = {
646
+ type: {
647
+ name: "Composite",
648
+ className: "SystemData",
649
+ modelProperties: {
650
+ createdBy: {
651
+ serializedName: "createdBy",
652
+ type: {
653
+ name: "String"
654
+ }
655
+ },
656
+ createdByType: {
657
+ serializedName: "createdByType",
658
+ type: {
659
+ name: "String"
660
+ }
661
+ },
662
+ createdAt: {
663
+ serializedName: "createdAt",
664
+ type: {
665
+ name: "DateTime"
666
+ }
667
+ },
668
+ lastModifiedBy: {
669
+ serializedName: "lastModifiedBy",
670
+ type: {
671
+ name: "String"
672
+ }
673
+ },
674
+ lastModifiedByType: {
675
+ serializedName: "lastModifiedByType",
676
+ type: {
677
+ name: "String"
678
+ }
679
+ },
680
+ lastModifiedAt: {
681
+ serializedName: "lastModifiedAt",
682
+ type: {
683
+ name: "DateTime"
684
+ }
685
+ }
686
+ }
687
+ }
688
+ };
689
+ export const SubscriptionAliasListResult = {
690
+ type: {
691
+ name: "Composite",
692
+ className: "SubscriptionAliasListResult",
693
+ modelProperties: {
694
+ value: {
695
+ serializedName: "value",
696
+ readOnly: true,
697
+ type: {
698
+ name: "Sequence",
699
+ element: {
700
+ type: {
701
+ name: "Composite",
702
+ className: "SubscriptionAliasResponse"
703
+ }
704
+ }
705
+ }
706
+ },
707
+ nextLink: {
708
+ serializedName: "nextLink",
709
+ readOnly: true,
710
+ type: {
711
+ name: "String"
712
+ }
713
+ }
714
+ }
715
+ }
716
+ };
717
+ export const AcceptOwnershipRequest = {
718
+ type: {
719
+ name: "Composite",
720
+ className: "AcceptOwnershipRequest",
721
+ modelProperties: {
722
+ properties: {
723
+ serializedName: "properties",
724
+ type: {
725
+ name: "Composite",
726
+ className: "AcceptOwnershipRequestProperties"
727
+ }
728
+ }
729
+ }
730
+ }
731
+ };
732
+ export const AcceptOwnershipRequestProperties = {
733
+ type: {
734
+ name: "Composite",
735
+ className: "AcceptOwnershipRequestProperties",
736
+ modelProperties: {
737
+ displayName: {
738
+ serializedName: "displayName",
739
+ required: true,
740
+ type: {
741
+ name: "String"
742
+ }
743
+ },
744
+ managementGroupId: {
745
+ serializedName: "managementGroupId",
746
+ type: {
747
+ name: "String"
748
+ }
749
+ },
750
+ tags: {
751
+ serializedName: "tags",
752
+ type: {
753
+ name: "Dictionary",
754
+ value: { type: { name: "String" } }
755
+ }
756
+ }
757
+ }
758
+ }
759
+ };
760
+ export const AcceptOwnershipStatusResponse = {
761
+ type: {
762
+ name: "Composite",
763
+ className: "AcceptOwnershipStatusResponse",
764
+ modelProperties: {
765
+ subscriptionId: {
766
+ serializedName: "subscriptionId",
767
+ readOnly: true,
768
+ type: {
769
+ name: "String"
770
+ }
771
+ },
772
+ acceptOwnershipState: {
773
+ serializedName: "acceptOwnershipState",
774
+ readOnly: true,
775
+ type: {
776
+ name: "String"
777
+ }
778
+ },
779
+ billingOwner: {
780
+ serializedName: "billingOwner",
781
+ readOnly: true,
782
+ type: {
783
+ name: "String"
784
+ }
785
+ },
786
+ subscriptionTenantId: {
787
+ serializedName: "subscriptionTenantId",
788
+ type: {
789
+ name: "String"
790
+ }
791
+ },
792
+ displayName: {
793
+ serializedName: "displayName",
794
+ type: {
795
+ name: "String"
796
+ }
797
+ },
798
+ tags: {
799
+ serializedName: "tags",
800
+ type: {
801
+ name: "Dictionary",
802
+ value: { type: { name: "String" } }
803
+ }
804
+ }
805
+ }
806
+ }
807
+ };
808
+ export const PutTenantPolicyRequestProperties = {
809
+ type: {
810
+ name: "Composite",
811
+ className: "PutTenantPolicyRequestProperties",
812
+ modelProperties: {
813
+ blockSubscriptionsLeavingTenant: {
814
+ serializedName: "blockSubscriptionsLeavingTenant",
815
+ type: {
816
+ name: "Boolean"
817
+ }
818
+ },
819
+ blockSubscriptionsIntoTenant: {
820
+ serializedName: "blockSubscriptionsIntoTenant",
821
+ type: {
822
+ name: "Boolean"
823
+ }
824
+ },
825
+ exemptedPrincipals: {
826
+ serializedName: "exemptedPrincipals",
827
+ type: {
828
+ name: "Sequence",
829
+ element: {
830
+ type: {
831
+ name: "Uuid"
832
+ }
833
+ }
834
+ }
835
+ }
836
+ }
837
+ }
838
+ };
839
+ export const GetTenantPolicyResponse = {
840
+ type: {
841
+ name: "Composite",
842
+ className: "GetTenantPolicyResponse",
843
+ modelProperties: {
844
+ id: {
845
+ serializedName: "id",
846
+ readOnly: true,
847
+ type: {
848
+ name: "String"
849
+ }
850
+ },
851
+ name: {
852
+ serializedName: "name",
853
+ readOnly: true,
854
+ type: {
855
+ name: "String"
856
+ }
857
+ },
858
+ type: {
859
+ serializedName: "type",
860
+ readOnly: true,
861
+ type: {
862
+ name: "String"
863
+ }
864
+ },
865
+ properties: {
866
+ serializedName: "properties",
867
+ type: {
868
+ name: "Composite",
869
+ className: "TenantPolicy"
870
+ }
871
+ },
872
+ systemData: {
873
+ serializedName: "systemData",
874
+ type: {
875
+ name: "Composite",
876
+ className: "SystemData"
877
+ }
878
+ }
879
+ }
880
+ }
881
+ };
882
+ export const TenantPolicy = {
883
+ type: {
884
+ name: "Composite",
885
+ className: "TenantPolicy",
886
+ modelProperties: {
887
+ policyId: {
888
+ serializedName: "policyId",
889
+ readOnly: true,
890
+ type: {
891
+ name: "String"
892
+ }
893
+ },
894
+ blockSubscriptionsLeavingTenant: {
895
+ serializedName: "blockSubscriptionsLeavingTenant",
896
+ type: {
897
+ name: "Boolean"
898
+ }
899
+ },
900
+ blockSubscriptionsIntoTenant: {
901
+ serializedName: "blockSubscriptionsIntoTenant",
902
+ type: {
903
+ name: "Boolean"
904
+ }
905
+ },
906
+ exemptedPrincipals: {
907
+ serializedName: "exemptedPrincipals",
908
+ type: {
909
+ name: "Sequence",
910
+ element: {
911
+ type: {
912
+ name: "Uuid"
913
+ }
914
+ }
915
+ }
916
+ }
917
+ }
918
+ }
919
+ };
920
+ export const GetTenantPolicyListResponse = {
921
+ type: {
922
+ name: "Composite",
923
+ className: "GetTenantPolicyListResponse",
924
+ modelProperties: {
925
+ value: {
926
+ serializedName: "value",
927
+ readOnly: true,
928
+ type: {
929
+ name: "Sequence",
930
+ element: {
931
+ type: {
932
+ name: "Composite",
933
+ className: "GetTenantPolicyResponse"
934
+ }
935
+ }
936
+ }
937
+ },
938
+ nextLink: {
939
+ serializedName: "nextLink",
940
+ readOnly: true,
941
+ type: {
942
+ name: "String"
943
+ }
944
+ }
945
+ }
946
+ }
947
+ };
948
+ export const BillingAccountPoliciesResponse = {
949
+ type: {
950
+ name: "Composite",
951
+ className: "BillingAccountPoliciesResponse",
952
+ modelProperties: {
953
+ id: {
954
+ serializedName: "id",
955
+ readOnly: true,
956
+ type: {
957
+ name: "String"
958
+ }
959
+ },
960
+ name: {
961
+ serializedName: "name",
962
+ readOnly: true,
963
+ type: {
964
+ name: "String"
965
+ }
966
+ },
967
+ type: {
968
+ serializedName: "type",
969
+ readOnly: true,
970
+ type: {
971
+ name: "String"
972
+ }
973
+ },
974
+ properties: {
975
+ serializedName: "properties",
976
+ type: {
977
+ name: "Composite",
978
+ className: "BillingAccountPoliciesResponseProperties"
979
+ }
980
+ },
981
+ systemData: {
982
+ serializedName: "systemData",
983
+ type: {
984
+ name: "Composite",
985
+ className: "SystemData"
986
+ }
987
+ }
988
+ }
989
+ }
990
+ };
991
+ export const BillingAccountPoliciesResponseProperties = {
992
+ type: {
993
+ name: "Composite",
994
+ className: "BillingAccountPoliciesResponseProperties",
995
+ modelProperties: {
996
+ serviceTenants: {
997
+ serializedName: "serviceTenants",
998
+ type: {
999
+ name: "Sequence",
1000
+ element: {
1001
+ type: {
1002
+ name: "Composite",
1003
+ className: "ServiceTenantResponse"
1004
+ }
1005
+ }
1006
+ }
1007
+ },
1008
+ allowTransfers: {
1009
+ serializedName: "allowTransfers",
1010
+ type: {
1011
+ name: "Boolean"
1012
+ }
1013
+ }
1014
+ }
1015
+ }
1016
+ };
1017
+ export const ServiceTenantResponse = {
1018
+ type: {
1019
+ name: "Composite",
1020
+ className: "ServiceTenantResponse",
1021
+ modelProperties: {
1022
+ tenantId: {
1023
+ serializedName: "tenantId",
1024
+ type: {
1025
+ name: "String"
1026
+ }
1027
+ },
1028
+ tenantName: {
1029
+ serializedName: "tenantName",
1030
+ type: {
1031
+ name: "String"
1032
+ }
1033
+ }
1034
+ }
1035
+ }
1036
+ };
1037
+ export const SubscriptionAcceptOwnershipHeaders = {
1038
+ type: {
1039
+ name: "Composite",
1040
+ className: "SubscriptionAcceptOwnershipHeaders",
1041
+ modelProperties: {
1042
+ location: {
1043
+ serializedName: "location",
1044
+ type: {
1045
+ name: "String"
1046
+ }
1047
+ },
1048
+ retryAfter: {
1049
+ serializedName: "retry-after",
1050
+ type: {
1051
+ name: "Number"
1052
+ }
1053
+ }
1054
+ }
1055
+ }
1056
+ };
1057
+ //# sourceMappingURL=mappers.js.map