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