@azure/arm-azurestack 2.1.1 → 3.0.0-beta.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 (174) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +69 -80
  4. package/dist/index.js +3000 -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/azureStackManagementClient.d.ts +24 -0
  9. package/dist-esm/src/azureStackManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/azureStackManagementClient.js +57 -0
  11. package/dist-esm/src/azureStackManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +854 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +55 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +37 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +608 -394
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +20 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/src/models/parameters.js +163 -0
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operations/cloudManifestFile.d.ts +24 -0
  29. package/dist-esm/src/operations/cloudManifestFile.d.ts.map +1 -0
  30. package/dist-esm/src/operations/cloudManifestFile.js +70 -0
  31. package/dist-esm/src/operations/cloudManifestFile.js.map +1 -0
  32. package/dist-esm/src/operations/customerSubscriptions.d.ts +63 -0
  33. package/dist-esm/src/operations/customerSubscriptions.d.ts.map +1 -0
  34. package/dist-esm/src/operations/customerSubscriptions.js +241 -0
  35. package/dist-esm/src/operations/customerSubscriptions.js.map +1 -0
  36. package/{esm → dist-esm/src}/operations/index.d.ts +3 -1
  37. package/dist-esm/src/operations/index.d.ts.map +1 -0
  38. package/{esm → dist-esm/src}/operations/index.js +6 -6
  39. package/dist-esm/src/operations/index.js.map +1 -0
  40. package/dist-esm/src/operations/linkedSubscriptions.d.ts +83 -0
  41. package/dist-esm/src/operations/linkedSubscriptions.d.ts.map +1 -0
  42. package/dist-esm/src/operations/linkedSubscriptions.js +359 -0
  43. package/dist-esm/src/operations/linkedSubscriptions.js.map +1 -0
  44. package/dist-esm/src/operations/operations.d.ts +32 -0
  45. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/operations.js +120 -0
  47. package/dist-esm/src/operations/operations.js.map +1 -0
  48. package/dist-esm/src/operations/products.d.ts +78 -0
  49. package/dist-esm/src/operations/products.d.ts.map +1 -0
  50. package/dist-esm/src/operations/products.js +303 -0
  51. package/dist-esm/src/operations/products.js.map +1 -0
  52. package/dist-esm/src/operations/registrations.d.ts +97 -0
  53. package/dist-esm/src/operations/registrations.d.ts.map +1 -0
  54. package/dist-esm/src/operations/registrations.js +416 -0
  55. package/dist-esm/src/operations/registrations.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/cloudManifestFile.d.ts +16 -0
  57. package/dist-esm/src/operationsInterfaces/cloudManifestFile.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/cloudManifestFile.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/cloudManifestFile.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/customerSubscriptions.d.ts +38 -0
  61. package/dist-esm/src/operationsInterfaces/customerSubscriptions.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/customerSubscriptions.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/customerSubscriptions.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
  65. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/index.js +14 -0
  67. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/linkedSubscriptions.d.ts +47 -0
  69. package/dist-esm/src/operationsInterfaces/linkedSubscriptions.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/linkedSubscriptions.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/linkedSubscriptions.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/products.d.ts +53 -0
  77. package/dist-esm/src/operationsInterfaces/products.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/products.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/products.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/registrations.d.ts +61 -0
  81. package/dist-esm/src/operationsInterfaces/registrations.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/registrations.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/registrations.js.map +1 -0
  84. package/dist-esm/test/sampleTest.d.ts +4 -0
  85. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  86. package/dist-esm/test/sampleTest.js +43 -0
  87. package/dist-esm/test/sampleTest.js.map +1 -0
  88. package/package.json +63 -32
  89. package/review/arm-azurestack.api.md +695 -0
  90. package/rollup.config.js +181 -30
  91. package/src/azureStackManagementClient.ts +88 -43
  92. package/src/index.ts +12 -0
  93. package/src/models/index.ts +725 -836
  94. package/src/models/mappers.ts +623 -384
  95. package/src/models/parameters.ts +130 -32
  96. package/src/operations/cloudManifestFile.ts +93 -0
  97. package/src/operations/customerSubscriptions.ts +191 -206
  98. package/src/operations/index.ts +6 -6
  99. package/src/operations/linkedSubscriptions.ts +450 -0
  100. package/src/operations/operations.ts +89 -75
  101. package/src/operations/products.ts +240 -299
  102. package/src/operations/registrations.ts +347 -266
  103. package/src/operationsInterfaces/cloudManifestFile.ts +34 -0
  104. package/src/operationsInterfaces/customerSubscriptions.ts +75 -0
  105. package/src/operationsInterfaces/index.ts +14 -0
  106. package/src/operationsInterfaces/linkedSubscriptions.ts +91 -0
  107. package/src/operationsInterfaces/operations.ts +22 -0
  108. package/src/operationsInterfaces/products.ts +104 -0
  109. package/src/operationsInterfaces/registrations.ts +116 -0
  110. package/tsconfig.json +3 -3
  111. package/types/arm-azurestack.d.ts +1206 -0
  112. package/types/tsdoc-metadata.json +11 -0
  113. package/dist/arm-azurestack.js +0 -2153
  114. package/dist/arm-azurestack.js.map +0 -1
  115. package/dist/arm-azurestack.min.js +0 -1
  116. package/dist/arm-azurestack.min.js.map +0 -1
  117. package/esm/azureStackManagementClient.d.ts +0 -28
  118. package/esm/azureStackManagementClient.d.ts.map +0 -1
  119. package/esm/azureStackManagementClient.js +0 -42
  120. package/esm/azureStackManagementClient.js.map +0 -1
  121. package/esm/azureStackManagementClientContext.d.ts +0 -23
  122. package/esm/azureStackManagementClientContext.d.ts.map +0 -1
  123. package/esm/azureStackManagementClientContext.js +0 -62
  124. package/esm/azureStackManagementClientContext.js.map +0 -1
  125. package/esm/models/customerSubscriptionsMappers.d.ts +0 -2
  126. package/esm/models/customerSubscriptionsMappers.d.ts.map +0 -1
  127. package/esm/models/customerSubscriptionsMappers.js +0 -9
  128. package/esm/models/customerSubscriptionsMappers.js.map +0 -1
  129. package/esm/models/index.d.ts +0 -1014
  130. package/esm/models/index.d.ts.map +0 -1
  131. package/esm/models/index.js +0 -8
  132. package/esm/models/index.js.map +0 -1
  133. package/esm/models/mappers.d.ts +0 -31
  134. package/esm/models/mappers.d.ts.map +0 -1
  135. package/esm/models/mappers.js.map +0 -1
  136. package/esm/models/operationsMappers.d.ts +0 -2
  137. package/esm/models/operationsMappers.d.ts.map +0 -1
  138. package/esm/models/operationsMappers.js +0 -9
  139. package/esm/models/operationsMappers.js.map +0 -1
  140. package/esm/models/parameters.d.ts +0 -10
  141. package/esm/models/parameters.d.ts.map +0 -1
  142. package/esm/models/parameters.js +0 -92
  143. package/esm/models/parameters.js.map +0 -1
  144. package/esm/models/productsMappers.d.ts +0 -2
  145. package/esm/models/productsMappers.d.ts.map +0 -1
  146. package/esm/models/productsMappers.js +0 -9
  147. package/esm/models/productsMappers.js.map +0 -1
  148. package/esm/models/registrationsMappers.d.ts +0 -2
  149. package/esm/models/registrationsMappers.d.ts.map +0 -1
  150. package/esm/models/registrationsMappers.js +0 -9
  151. package/esm/models/registrationsMappers.js.map +0 -1
  152. package/esm/operations/customerSubscriptions.d.ts +0 -127
  153. package/esm/operations/customerSubscriptions.d.ts.map +0 -1
  154. package/esm/operations/customerSubscriptions.js +0 -188
  155. package/esm/operations/customerSubscriptions.js.map +0 -1
  156. package/esm/operations/index.d.ts.map +0 -1
  157. package/esm/operations/index.js.map +0 -1
  158. package/esm/operations/operations.d.ts +0 -46
  159. package/esm/operations/operations.d.ts.map +0 -1
  160. package/esm/operations/operations.js +0 -77
  161. package/esm/operations/operations.js.map +0 -1
  162. package/esm/operations/products.d.ts +0 -169
  163. package/esm/operations/products.d.ts.map +0 -1
  164. package/esm/operations/products.js +0 -268
  165. package/esm/operations/products.js.map +0 -1
  166. package/esm/operations/registrations.d.ts +0 -160
  167. package/esm/operations/registrations.d.ts.map +0 -1
  168. package/esm/operations/registrations.js +0 -250
  169. package/esm/operations/registrations.js.map +0 -1
  170. package/src/azureStackManagementClientContext.ts +0 -69
  171. package/src/models/customerSubscriptionsMappers.ts +0 -24
  172. package/src/models/operationsMappers.ts +0 -14
  173. package/src/models/productsMappers.ts +0 -30
  174. package/src/models/registrationsMappers.ts +0 -26
@@ -1,1014 +0,0 @@
1
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
2
- import * as msRest from "@azure/ms-rest-js";
3
- export { BaseResource, CloudError };
4
- /**
5
- * Base resource object.
6
- */
7
- export interface Resource extends BaseResource {
8
- /**
9
- * ID of the resource.
10
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
11
- */
12
- readonly id?: string;
13
- /**
14
- * Name of the resource.
15
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
16
- */
17
- readonly name?: string;
18
- /**
19
- * Type of Resource.
20
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
21
- */
22
- readonly type?: string;
23
- /**
24
- * The entity tag used for optimistic concurrency when modifying the resource.
25
- */
26
- etag?: string;
27
- }
28
- /**
29
- * Base resource object.
30
- */
31
- export interface TrackedResource extends BaseResource {
32
- /**
33
- * ID of the resource.
34
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
35
- */
36
- readonly id?: string;
37
- /**
38
- * Name of the resource.
39
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
40
- */
41
- readonly name?: string;
42
- /**
43
- * Type of Resource.
44
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
45
- */
46
- readonly type?: string;
47
- /**
48
- * Custom tags for the resource.
49
- */
50
- tags?: {
51
- [propertyName: string]: string;
52
- };
53
- /**
54
- * The entity tag used for optimistic concurrency when modifying the resource.
55
- */
56
- etag?: string;
57
- }
58
- /**
59
- * Contains the localized display information for this particular operation or action.
60
- */
61
- export interface Display {
62
- /**
63
- * The localized, friendly version of the resource provider name.
64
- */
65
- provider?: string;
66
- /**
67
- * The localized, friendly version of the resource type related to this action or operation; the
68
- * resource type should match the public documentation for the resource provider.
69
- */
70
- resource?: string;
71
- /**
72
- * The localized, friendly name for the operation. Use the name as it will displayed to the user.
73
- */
74
- operation?: string;
75
- /**
76
- * The localized, friendly description for the operation. The description will be displayed to
77
- * the user. It should be thorough and concise for used in both tooltips and detailed views.
78
- */
79
- description?: string;
80
- }
81
- /**
82
- * Describes the supported REST operation.
83
- */
84
- export interface Operation {
85
- /**
86
- * The name of the operation being performed on this particular object.
87
- */
88
- name?: string;
89
- /**
90
- * Contains the localized display information for this particular operation or action.
91
- */
92
- display?: Display;
93
- /**
94
- * The intended executor of the operation.
95
- */
96
- origin?: string;
97
- }
98
- /**
99
- * The details of the error.
100
- */
101
- export interface ErrorDetails {
102
- /**
103
- * Error code.
104
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
105
- */
106
- readonly code?: string;
107
- /**
108
- * Error message indicating why the operation failed.
109
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
110
- */
111
- readonly message?: string;
112
- /**
113
- * The target of the particular error.
114
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
115
- */
116
- readonly target?: string;
117
- }
118
- /**
119
- * Error response indicates that the service is not able to process the incoming request. The
120
- * reason is provided in the error message.
121
- */
122
- export interface ErrorResponse {
123
- /**
124
- * The details of the error.
125
- */
126
- error?: ErrorDetails;
127
- }
128
- /**
129
- * OS disk image.
130
- */
131
- export interface OsDiskImage {
132
- /**
133
- * OS operating system type. Possible values include: 'None', 'Windows', 'Linux'
134
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
135
- */
136
- readonly operatingSystem?: OperatingSystem;
137
- /**
138
- * SAS key for source blob.
139
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
140
- */
141
- readonly sourceBlobSasUri?: string;
142
- }
143
- /**
144
- * Data disk image.
145
- */
146
- export interface DataDiskImage {
147
- /**
148
- * The LUN.
149
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
150
- */
151
- readonly lun?: number;
152
- /**
153
- * SAS key for source blob.
154
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
155
- */
156
- readonly sourceBlobSasUri?: string;
157
- }
158
- /**
159
- * Extended description about the product required for installing it into Azure Stack.
160
- */
161
- export interface ExtendedProduct {
162
- /**
163
- * The URI to the .azpkg file that provides information required for showing product in the
164
- * gallery.
165
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
166
- */
167
- readonly galleryPackageBlobSasUri?: string;
168
- /**
169
- * Specifies the kind of the product (virtualMachine or virtualMachineExtension).
170
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
171
- */
172
- readonly productKind?: string;
173
- /**
174
- * Specifies kind of compute role included in the package. Possible values include: 'None',
175
- * 'IaaS', 'PaaS'
176
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
177
- */
178
- readonly computeRole?: ComputeRole;
179
- /**
180
- * Specifies if product is a Virtual Machine Extension.
181
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
182
- */
183
- readonly isSystemExtension?: boolean;
184
- /**
185
- * The URI.
186
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
187
- */
188
- readonly uri?: string;
189
- /**
190
- * Indicates if specified product supports multiple extensions.
191
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
192
- */
193
- readonly supportMultipleExtensions?: boolean;
194
- /**
195
- * Specifies product version.
196
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
197
- */
198
- readonly version?: string;
199
- /**
200
- * Specifies operating system used by the product. Possible values include: 'None', 'Windows',
201
- * 'Linux'
202
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
203
- */
204
- readonly vmOsType?: OperatingSystem;
205
- /**
206
- * Indicates if virtual machine Scale Set is enabled in the specified product.
207
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
208
- */
209
- readonly vmScaleSetEnabled?: boolean;
210
- /**
211
- * OS disk image used by product.
212
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
213
- */
214
- readonly osDiskImage?: OsDiskImage;
215
- /**
216
- * List of attached data disks.
217
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
218
- */
219
- readonly dataDiskImages?: DataDiskImage[];
220
- }
221
- /**
222
- * Product information.
223
- */
224
- export interface VirtualMachineExtensionProductProperties {
225
- /**
226
- * Specifies kind of compute role included in the package. Possible values include: 'None',
227
- * 'IaaS', 'PaaS'
228
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
229
- */
230
- readonly computeRole?: ComputeRole;
231
- /**
232
- * Specifies if product is a Virtual Machine Extension.
233
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
234
- */
235
- readonly isSystemExtension?: boolean;
236
- /**
237
- * The URI.
238
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
239
- */
240
- readonly uri?: string;
241
- /**
242
- * Indicates if specified product supports multiple extensions.
243
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
244
- */
245
- readonly supportMultipleExtensions?: boolean;
246
- /**
247
- * Specifies product version.
248
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
249
- */
250
- readonly version?: string;
251
- /**
252
- * Specifies operating system used by the product. Possible values include: 'None', 'Windows',
253
- * 'Linux'
254
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
255
- */
256
- readonly vmOsType?: OperatingSystem;
257
- /**
258
- * Indicates if virtual machine Scale Set is enabled in the specified product.
259
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
260
- */
261
- readonly vmScaleSetEnabled?: boolean;
262
- }
263
- /**
264
- * Product information.
265
- */
266
- export interface VirtualMachineProductProperties {
267
- /**
268
- * Specifies product version.
269
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
270
- */
271
- readonly version?: string;
272
- /**
273
- * OS disk image used by product.
274
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
275
- */
276
- readonly osDiskImage?: OsDiskImage;
277
- /**
278
- * List of attached data disks.
279
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
280
- */
281
- readonly dataDiskImages?: DataDiskImage[];
282
- }
283
- /**
284
- * Links to product icons.
285
- */
286
- export interface IconUris {
287
- /**
288
- * URI to large icon.
289
- */
290
- large?: string;
291
- /**
292
- * URI to wide icon.
293
- */
294
- wide?: string;
295
- /**
296
- * URI to medium icon.
297
- */
298
- medium?: string;
299
- /**
300
- * URI to small icon.
301
- */
302
- small?: string;
303
- /**
304
- * URI to hero icon.
305
- */
306
- hero?: string;
307
- }
308
- /**
309
- * Link with additional information about a product.
310
- */
311
- export interface ProductLink {
312
- /**
313
- * The description of the link.
314
- */
315
- displayName?: string;
316
- /**
317
- * The URI corresponding to the link.
318
- */
319
- uri?: string;
320
- }
321
- /**
322
- * Additional properties of the product
323
- */
324
- export interface ProductProperties {
325
- /**
326
- * The version.
327
- */
328
- version?: string;
329
- }
330
- /**
331
- * Product compatibility
332
- */
333
- export interface Compatibility {
334
- /**
335
- * Tells if product is compatible with current device
336
- */
337
- isCompatible?: boolean;
338
- /**
339
- * Short error message if any compatibility issues are found
340
- */
341
- message?: string;
342
- /**
343
- * Full error message if any compatibility issues are found
344
- */
345
- description?: string;
346
- /**
347
- * List of all issues found
348
- */
349
- issues?: CompatibilityIssue[];
350
- }
351
- /**
352
- * Product information.
353
- */
354
- export interface Product extends Resource {
355
- /**
356
- * The display name of the product.
357
- */
358
- displayName?: string;
359
- /**
360
- * The description of the product.
361
- */
362
- description?: string;
363
- /**
364
- * The user-friendly name of the product publisher.
365
- */
366
- publisherDisplayName?: string;
367
- /**
368
- * Publisher identifier.
369
- */
370
- publisherIdentifier?: string;
371
- /**
372
- * The offer representing the product.
373
- */
374
- offer?: string;
375
- /**
376
- * The version of the product offer.
377
- */
378
- offerVersion?: string;
379
- /**
380
- * The product SKU.
381
- */
382
- sku?: string;
383
- /**
384
- * The part number used for billing purposes.
385
- */
386
- billingPartNumber?: string;
387
- /**
388
- * The type of the Virtual Machine Extension.
389
- */
390
- vmExtensionType?: string;
391
- /**
392
- * The identifier of the gallery item corresponding to the product.
393
- */
394
- galleryItemIdentity?: string;
395
- /**
396
- * Additional links available for this product.
397
- */
398
- iconUris?: IconUris;
399
- /**
400
- * Additional links available for this product.
401
- */
402
- links?: ProductLink[];
403
- /**
404
- * The legal terms.
405
- */
406
- legalTerms?: string;
407
- /**
408
- * The privacy policy.
409
- */
410
- privacyPolicy?: string;
411
- /**
412
- * The length of product content.
413
- */
414
- payloadLength?: number;
415
- /**
416
- * The kind of the product (virtualMachine or virtualMachineExtension)
417
- */
418
- productKind?: string;
419
- /**
420
- * Additional properties for the product.
421
- */
422
- productProperties?: ProductProperties;
423
- /**
424
- * Product compatibility with current device.
425
- */
426
- compatibility?: Compatibility;
427
- }
428
- /**
429
- * Device Configuration.
430
- */
431
- export interface DeviceConfiguration {
432
- /**
433
- * Version of the device.
434
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
435
- */
436
- readonly deviceVersion?: string;
437
- /**
438
- * Identity system of the device. Possible values include: 'AzureAD', 'ADFS'
439
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
440
- */
441
- readonly identitySystem?: Category;
442
- }
443
- /**
444
- * Update details for product log.
445
- */
446
- export interface MarketplaceProductLogUpdate {
447
- /**
448
- * Operation to log.
449
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
450
- */
451
- readonly operation?: string;
452
- /**
453
- * Operation status to log.
454
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
455
- */
456
- readonly status?: string;
457
- /**
458
- * Error related to the operation.
459
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
460
- */
461
- readonly error?: string;
462
- /**
463
- * Error details related to operation.
464
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
465
- */
466
- readonly details?: string;
467
- }
468
- /**
469
- * Product action log.
470
- */
471
- export interface ProductLog {
472
- /**
473
- * Log ID.
474
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
475
- */
476
- readonly id?: string;
477
- /**
478
- * Logged product ID.
479
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
480
- */
481
- readonly productId?: string;
482
- /**
483
- * Logged subscription ID.
484
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
485
- */
486
- readonly subscriptionId?: string;
487
- /**
488
- * Logged registration name.
489
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
490
- */
491
- readonly registrationName?: string;
492
- /**
493
- * Logged resource group name.
494
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
495
- */
496
- readonly resourceGroupName?: string;
497
- /**
498
- * Logged operation.
499
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
500
- */
501
- readonly operation?: string;
502
- /**
503
- * Operation start datetime.
504
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
505
- */
506
- readonly startDate?: string;
507
- /**
508
- * Operation end datetime.
509
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
510
- */
511
- readonly endDate?: string;
512
- /**
513
- * Operation status.
514
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
515
- */
516
- readonly status?: string;
517
- /**
518
- * Operation error data.
519
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
520
- */
521
- readonly error?: string;
522
- /**
523
- * Operation error details.
524
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
525
- */
526
- readonly details?: string;
527
- }
528
- /**
529
- * Registration information.
530
- */
531
- export interface Registration extends TrackedResource {
532
- /**
533
- * The object identifier associated with the Azure Stack connecting to Azure.
534
- */
535
- objectId?: string;
536
- /**
537
- * The identifier of the registered Azure Stack.
538
- */
539
- cloudId?: string;
540
- /**
541
- * Specifies the billing mode for the Azure Stack registration.
542
- */
543
- billingModel?: string;
544
- }
545
- /**
546
- * The resource containing the Azure Stack activation key.
547
- */
548
- export interface ActivationKeyResult {
549
- /**
550
- * Azure Stack activation key.
551
- */
552
- activationKey?: string;
553
- }
554
- /**
555
- * Registration resource
556
- */
557
- export interface RegistrationParameter {
558
- /**
559
- * The token identifying registered Azure Stack
560
- */
561
- registrationToken: string;
562
- /**
563
- * Location of the resource. Possible values include: 'global'
564
- */
565
- location?: Location;
566
- }
567
- /**
568
- * Customer subscription.
569
- */
570
- export interface CustomerSubscription extends Resource {
571
- /**
572
- * Tenant Id.
573
- */
574
- tenantId?: string;
575
- }
576
- /**
577
- * An interface representing AzureStackManagementClientOptions.
578
- */
579
- export interface AzureStackManagementClientOptions extends AzureServiceClientOptions {
580
- baseUri?: string;
581
- }
582
- /**
583
- * @interface
584
- * List of Operations
585
- * @extends Array<Operation>
586
- */
587
- export interface OperationList extends Array<Operation> {
588
- /**
589
- * URI to the next page of operations.
590
- */
591
- nextLink?: string;
592
- }
593
- /**
594
- * @interface
595
- * Pageable list of products.
596
- * @extends Array<Product>
597
- */
598
- export interface ProductList extends Array<Product> {
599
- /**
600
- * URI to the next page.
601
- */
602
- nextLink?: string;
603
- }
604
- /**
605
- * @interface
606
- * Pageable list of registrations.
607
- * @extends Array<Registration>
608
- */
609
- export interface RegistrationList extends Array<Registration> {
610
- /**
611
- * URI to the next page.
612
- */
613
- nextLink?: string;
614
- }
615
- /**
616
- * @interface
617
- * Pageable list of customer subscriptions.
618
- * @extends Array<CustomerSubscription>
619
- */
620
- export interface CustomerSubscriptionList extends Array<CustomerSubscription> {
621
- /**
622
- * URI to the next page.
623
- */
624
- nextLink?: string;
625
- }
626
- /**
627
- * Defines values for ProvisioningState.
628
- * Possible values include: 'Creating', 'Failed', 'Succeeded', 'Canceled'
629
- * @readonly
630
- * @enum {string}
631
- */
632
- export declare type ProvisioningState = 'Creating' | 'Failed' | 'Succeeded' | 'Canceled';
633
- /**
634
- * Defines values for ComputeRole.
635
- * Possible values include: 'None', 'IaaS', 'PaaS'
636
- * @readonly
637
- * @enum {string}
638
- */
639
- export declare type ComputeRole = 'None' | 'IaaS' | 'PaaS';
640
- /**
641
- * Defines values for OperatingSystem.
642
- * Possible values include: 'None', 'Windows', 'Linux'
643
- * @readonly
644
- * @enum {string}
645
- */
646
- export declare type OperatingSystem = 'None' | 'Windows' | 'Linux';
647
- /**
648
- * Defines values for CompatibilityIssue.
649
- * Possible values include: 'HigherDeviceVersionRequired', 'LowerDeviceVersionRequired',
650
- * 'CapacityBillingModelRequired', 'PayAsYouGoBillingModelRequired',
651
- * 'DevelopmentBillingModelRequired', 'AzureADIdentitySystemRequired',
652
- * 'ADFSIdentitySystemRequired', 'ConnectionToInternetRequired', 'ConnectionToAzureRequired',
653
- * 'DisconnectedEnvironmentRequired'
654
- * @readonly
655
- * @enum {string}
656
- */
657
- export declare type CompatibilityIssue = 'HigherDeviceVersionRequired' | 'LowerDeviceVersionRequired' | 'CapacityBillingModelRequired' | 'PayAsYouGoBillingModelRequired' | 'DevelopmentBillingModelRequired' | 'AzureADIdentitySystemRequired' | 'ADFSIdentitySystemRequired' | 'ConnectionToInternetRequired' | 'ConnectionToAzureRequired' | 'DisconnectedEnvironmentRequired';
658
- /**
659
- * Defines values for Category.
660
- * Possible values include: 'AzureAD', 'ADFS'
661
- * @readonly
662
- * @enum {string}
663
- */
664
- export declare type Category = 'AzureAD' | 'ADFS';
665
- /**
666
- * Defines values for Location.
667
- * Possible values include: 'global'
668
- * @readonly
669
- * @enum {string}
670
- */
671
- export declare type Location = 'global';
672
- /**
673
- * Contains response data for the list operation.
674
- */
675
- export declare type OperationsListResponse = OperationList & {
676
- /**
677
- * The underlying HTTP response.
678
- */
679
- _response: msRest.HttpResponse & {
680
- /**
681
- * The response body as text (string format)
682
- */
683
- bodyAsText: string;
684
- /**
685
- * The response body as parsed JSON or XML
686
- */
687
- parsedBody: OperationList;
688
- };
689
- };
690
- /**
691
- * Contains response data for the listNext operation.
692
- */
693
- export declare type OperationsListNextResponse = OperationList & {
694
- /**
695
- * The underlying HTTP response.
696
- */
697
- _response: msRest.HttpResponse & {
698
- /**
699
- * The response body as text (string format)
700
- */
701
- bodyAsText: string;
702
- /**
703
- * The response body as parsed JSON or XML
704
- */
705
- parsedBody: OperationList;
706
- };
707
- };
708
- /**
709
- * Contains response data for the list operation.
710
- */
711
- export declare type ProductsListResponse = ProductList & {
712
- /**
713
- * The underlying HTTP response.
714
- */
715
- _response: msRest.HttpResponse & {
716
- /**
717
- * The response body as text (string format)
718
- */
719
- bodyAsText: string;
720
- /**
721
- * The response body as parsed JSON or XML
722
- */
723
- parsedBody: ProductList;
724
- };
725
- };
726
- /**
727
- * Contains response data for the get operation.
728
- */
729
- export declare type ProductsGetResponse = Product & {
730
- /**
731
- * The underlying HTTP response.
732
- */
733
- _response: msRest.HttpResponse & {
734
- /**
735
- * The response body as text (string format)
736
- */
737
- bodyAsText: string;
738
- /**
739
- * The response body as parsed JSON or XML
740
- */
741
- parsedBody: Product;
742
- };
743
- };
744
- /**
745
- * Contains response data for the listDetails operation.
746
- */
747
- export declare type ProductsListDetailsResponse = ExtendedProduct & {
748
- /**
749
- * The underlying HTTP response.
750
- */
751
- _response: msRest.HttpResponse & {
752
- /**
753
- * The response body as text (string format)
754
- */
755
- bodyAsText: string;
756
- /**
757
- * The response body as parsed JSON or XML
758
- */
759
- parsedBody: ExtendedProduct;
760
- };
761
- };
762
- /**
763
- * Contains response data for the getProducts operation.
764
- */
765
- export declare type ProductsGetProductsResponse = ProductList & {
766
- /**
767
- * The underlying HTTP response.
768
- */
769
- _response: msRest.HttpResponse & {
770
- /**
771
- * The response body as text (string format)
772
- */
773
- bodyAsText: string;
774
- /**
775
- * The response body as parsed JSON or XML
776
- */
777
- parsedBody: ProductList;
778
- };
779
- };
780
- /**
781
- * Contains response data for the getProduct operation.
782
- */
783
- export declare type ProductsGetProductResponse = Product & {
784
- /**
785
- * The underlying HTTP response.
786
- */
787
- _response: msRest.HttpResponse & {
788
- /**
789
- * The response body as text (string format)
790
- */
791
- bodyAsText: string;
792
- /**
793
- * The response body as parsed JSON or XML
794
- */
795
- parsedBody: Product;
796
- };
797
- };
798
- /**
799
- * Contains response data for the uploadLog operation.
800
- */
801
- export declare type ProductsUploadLogResponse = ProductLog & {
802
- /**
803
- * The underlying HTTP response.
804
- */
805
- _response: msRest.HttpResponse & {
806
- /**
807
- * The response body as text (string format)
808
- */
809
- bodyAsText: string;
810
- /**
811
- * The response body as parsed JSON or XML
812
- */
813
- parsedBody: ProductLog;
814
- };
815
- };
816
- /**
817
- * Contains response data for the listNext operation.
818
- */
819
- export declare type ProductsListNextResponse = ProductList & {
820
- /**
821
- * The underlying HTTP response.
822
- */
823
- _response: msRest.HttpResponse & {
824
- /**
825
- * The response body as text (string format)
826
- */
827
- bodyAsText: string;
828
- /**
829
- * The response body as parsed JSON or XML
830
- */
831
- parsedBody: ProductList;
832
- };
833
- };
834
- /**
835
- * Contains response data for the list operation.
836
- */
837
- export declare type RegistrationsListResponse = RegistrationList & {
838
- /**
839
- * The underlying HTTP response.
840
- */
841
- _response: msRest.HttpResponse & {
842
- /**
843
- * The response body as text (string format)
844
- */
845
- bodyAsText: string;
846
- /**
847
- * The response body as parsed JSON or XML
848
- */
849
- parsedBody: RegistrationList;
850
- };
851
- };
852
- /**
853
- * Contains response data for the get operation.
854
- */
855
- export declare type RegistrationsGetResponse = Registration & {
856
- /**
857
- * The underlying HTTP response.
858
- */
859
- _response: msRest.HttpResponse & {
860
- /**
861
- * The response body as text (string format)
862
- */
863
- bodyAsText: string;
864
- /**
865
- * The response body as parsed JSON or XML
866
- */
867
- parsedBody: Registration;
868
- };
869
- };
870
- /**
871
- * Contains response data for the createOrUpdate operation.
872
- */
873
- export declare type RegistrationsCreateOrUpdateResponse = Registration & {
874
- /**
875
- * The underlying HTTP response.
876
- */
877
- _response: msRest.HttpResponse & {
878
- /**
879
- * The response body as text (string format)
880
- */
881
- bodyAsText: string;
882
- /**
883
- * The response body as parsed JSON or XML
884
- */
885
- parsedBody: Registration;
886
- };
887
- };
888
- /**
889
- * Contains response data for the update operation.
890
- */
891
- export declare type RegistrationsUpdateResponse = Registration & {
892
- /**
893
- * The underlying HTTP response.
894
- */
895
- _response: msRest.HttpResponse & {
896
- /**
897
- * The response body as text (string format)
898
- */
899
- bodyAsText: string;
900
- /**
901
- * The response body as parsed JSON or XML
902
- */
903
- parsedBody: Registration;
904
- };
905
- };
906
- /**
907
- * Contains response data for the getActivationKey operation.
908
- */
909
- export declare type RegistrationsGetActivationKeyResponse = ActivationKeyResult & {
910
- /**
911
- * The underlying HTTP response.
912
- */
913
- _response: msRest.HttpResponse & {
914
- /**
915
- * The response body as text (string format)
916
- */
917
- bodyAsText: string;
918
- /**
919
- * The response body as parsed JSON or XML
920
- */
921
- parsedBody: ActivationKeyResult;
922
- };
923
- };
924
- /**
925
- * Contains response data for the listNext operation.
926
- */
927
- export declare type RegistrationsListNextResponse = RegistrationList & {
928
- /**
929
- * The underlying HTTP response.
930
- */
931
- _response: msRest.HttpResponse & {
932
- /**
933
- * The response body as text (string format)
934
- */
935
- bodyAsText: string;
936
- /**
937
- * The response body as parsed JSON or XML
938
- */
939
- parsedBody: RegistrationList;
940
- };
941
- };
942
- /**
943
- * Contains response data for the list operation.
944
- */
945
- export declare type CustomerSubscriptionsListResponse = CustomerSubscriptionList & {
946
- /**
947
- * The underlying HTTP response.
948
- */
949
- _response: msRest.HttpResponse & {
950
- /**
951
- * The response body as text (string format)
952
- */
953
- bodyAsText: string;
954
- /**
955
- * The response body as parsed JSON or XML
956
- */
957
- parsedBody: CustomerSubscriptionList;
958
- };
959
- };
960
- /**
961
- * Contains response data for the get operation.
962
- */
963
- export declare type CustomerSubscriptionsGetResponse = CustomerSubscription & {
964
- /**
965
- * The underlying HTTP response.
966
- */
967
- _response: msRest.HttpResponse & {
968
- /**
969
- * The response body as text (string format)
970
- */
971
- bodyAsText: string;
972
- /**
973
- * The response body as parsed JSON or XML
974
- */
975
- parsedBody: CustomerSubscription;
976
- };
977
- };
978
- /**
979
- * Contains response data for the create operation.
980
- */
981
- export declare type CustomerSubscriptionsCreateResponse = CustomerSubscription & {
982
- /**
983
- * The underlying HTTP response.
984
- */
985
- _response: msRest.HttpResponse & {
986
- /**
987
- * The response body as text (string format)
988
- */
989
- bodyAsText: string;
990
- /**
991
- * The response body as parsed JSON or XML
992
- */
993
- parsedBody: CustomerSubscription;
994
- };
995
- };
996
- /**
997
- * Contains response data for the listNext operation.
998
- */
999
- export declare type CustomerSubscriptionsListNextResponse = CustomerSubscriptionList & {
1000
- /**
1001
- * The underlying HTTP response.
1002
- */
1003
- _response: msRest.HttpResponse & {
1004
- /**
1005
- * The response body as text (string format)
1006
- */
1007
- bodyAsText: string;
1008
- /**
1009
- * The response body as parsed JSON or XML
1010
- */
1011
- parsedBody: CustomerSubscriptionList;
1012
- };
1013
- };
1014
- //# sourceMappingURL=index.d.ts.map