@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
@@ -0,0 +1,854 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ /** List of Operations */
3
+ export interface OperationList {
4
+ /** Array of operations */
5
+ value?: Operation[];
6
+ /** URI to the next page of operations. */
7
+ nextLink?: string;
8
+ }
9
+ /** Describes the supported REST operation. */
10
+ export interface Operation {
11
+ /** The name of the operation being performed on this particular object. */
12
+ name?: string;
13
+ /** Contains the localized display information for this particular operation or action. */
14
+ display?: Display;
15
+ /** The intended executor of the operation. */
16
+ origin?: string;
17
+ }
18
+ /** Contains the localized display information for this particular operation or action. */
19
+ export interface Display {
20
+ /** The localized, friendly version of the resource provider name. */
21
+ provider?: string;
22
+ /** The localized, friendly version of the resource type related to this action or operation; the resource type should match the public documentation for the resource provider. */
23
+ resource?: string;
24
+ /** The localized, friendly name for the operation. Use the name as it will displayed to the user. */
25
+ operation?: string;
26
+ /** The localized, friendly description for the operation. The description will be displayed to the user. It should be thorough and concise for used in both tooltips and detailed views. */
27
+ description?: string;
28
+ }
29
+ /** Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message. */
30
+ export interface ErrorResponse {
31
+ /** The details of the error. */
32
+ error?: ErrorDetails;
33
+ }
34
+ /** The details of the error. */
35
+ export interface ErrorDetails {
36
+ /**
37
+ * Error code.
38
+ * NOTE: This property will not be serialized. It can only be populated by the server.
39
+ */
40
+ readonly code?: string;
41
+ /**
42
+ * Error message indicating why the operation failed.
43
+ * NOTE: This property will not be serialized. It can only be populated by the server.
44
+ */
45
+ readonly message?: string;
46
+ /**
47
+ * The target of the particular error.
48
+ * NOTE: This property will not be serialized. It can only be populated by the server.
49
+ */
50
+ readonly target?: string;
51
+ }
52
+ /** Cloud specific manifest JSON properties. */
53
+ export interface CloudManifestFileProperties {
54
+ /** Cloud specific manifest data. */
55
+ deploymentData?: CloudManifestFileDeploymentData;
56
+ /** Signature of the cloud specific manifest data. */
57
+ signature?: string;
58
+ }
59
+ /** Cloud specific manifest data for AzureStack deployment. */
60
+ export interface CloudManifestFileDeploymentData {
61
+ /** Dsms external certificates. */
62
+ externalDsmsCertificates?: string;
63
+ /** Signing verification public key. */
64
+ customCloudVerificationKey?: string;
65
+ /** ARM endpoint. */
66
+ customCloudArmEndpoint?: string;
67
+ /** Dsms endpoint. */
68
+ externalDsmsEndpoint?: string;
69
+ }
70
+ /** Base resource object. */
71
+ export interface Resource {
72
+ /**
73
+ * ID of the resource.
74
+ * NOTE: This property will not be serialized. It can only be populated by the server.
75
+ */
76
+ readonly id?: string;
77
+ /**
78
+ * Name of the resource.
79
+ * NOTE: This property will not be serialized. It can only be populated by the server.
80
+ */
81
+ readonly name?: string;
82
+ /**
83
+ * Type of Resource.
84
+ * NOTE: This property will not be serialized. It can only be populated by the server.
85
+ */
86
+ readonly type?: string;
87
+ /** The entity tag used for optimistic concurrency when modifying the resource. */
88
+ etag?: string;
89
+ }
90
+ /** Pageable list of customer subscriptions. */
91
+ export interface CustomerSubscriptionList {
92
+ /** URI to the next page. */
93
+ nextLink?: string;
94
+ /** List of customer subscriptions. */
95
+ value?: CustomerSubscription[];
96
+ }
97
+ /** Metadata pertaining to creation and last modification of the resource. */
98
+ export interface SystemData {
99
+ /** The identity that created the resource. */
100
+ createdBy?: string;
101
+ /** The type of identity that created the resource. */
102
+ createdByType?: CreatedByType;
103
+ /** The timestamp of resource creation (UTC). */
104
+ createdAt?: Date;
105
+ /** The identity that last modified the resource. */
106
+ lastModifiedBy?: string;
107
+ /** The type of identity that last modified the resource. */
108
+ lastModifiedByType?: CreatedByType;
109
+ /** The timestamp of resource last modification (UTC) */
110
+ lastModifiedAt?: Date;
111
+ }
112
+ /** Pageable list of products. */
113
+ export interface ProductList {
114
+ /** URI to the next page. */
115
+ nextLink?: string;
116
+ /** List of products. */
117
+ value?: Product[];
118
+ }
119
+ /** Links to product icons. */
120
+ export interface IconUris {
121
+ /** URI to large icon. */
122
+ large?: string;
123
+ /** URI to wide icon. */
124
+ wide?: string;
125
+ /** URI to medium icon. */
126
+ medium?: string;
127
+ /** URI to small icon. */
128
+ small?: string;
129
+ /** URI to hero icon. */
130
+ hero?: string;
131
+ }
132
+ /** Link with additional information about a product. */
133
+ export interface ProductLink {
134
+ /** The description of the link. */
135
+ displayName?: string;
136
+ /** The URI corresponding to the link. */
137
+ uri?: string;
138
+ }
139
+ /** Additional properties of the product */
140
+ export interface ProductProperties {
141
+ /** The version. */
142
+ version?: string;
143
+ }
144
+ /** Product compatibility */
145
+ export interface Compatibility {
146
+ /** Tells if product is compatible with current device */
147
+ isCompatible?: boolean;
148
+ /** Short error message if any compatibility issues are found */
149
+ message?: string;
150
+ /** Full error message if any compatibility issues are found */
151
+ description?: string;
152
+ /** List of all issues found */
153
+ issues?: CompatibilityIssue[];
154
+ }
155
+ /** Extended description about the product required for installing it into Azure Stack. */
156
+ export interface ExtendedProduct {
157
+ /**
158
+ * The URI to the .azpkg file that provides information required for showing product in the gallery.
159
+ * NOTE: This property will not be serialized. It can only be populated by the server.
160
+ */
161
+ readonly galleryPackageBlobSasUri?: string;
162
+ /**
163
+ * Specifies the kind of the product (virtualMachine or virtualMachineExtension).
164
+ * NOTE: This property will not be serialized. It can only be populated by the server.
165
+ */
166
+ readonly productKind?: string;
167
+ /**
168
+ * Specifies kind of compute role included in the package.
169
+ * NOTE: This property will not be serialized. It can only be populated by the server.
170
+ */
171
+ readonly computeRole?: ComputeRole;
172
+ /**
173
+ * Specifies if product is a Virtual Machine Extension.
174
+ * NOTE: This property will not be serialized. It can only be populated by the server.
175
+ */
176
+ readonly isSystemExtension?: boolean;
177
+ /**
178
+ * Indicates if specified product supports multiple extensions.
179
+ * NOTE: This property will not be serialized. It can only be populated by the server.
180
+ */
181
+ readonly supportMultipleExtensions?: boolean;
182
+ /**
183
+ * Specifies product version.
184
+ * NOTE: This property will not be serialized. It can only be populated by the server.
185
+ */
186
+ readonly versionPropertiesVersion?: string;
187
+ /**
188
+ * Specifies operating system used by the product.
189
+ * NOTE: This property will not be serialized. It can only be populated by the server.
190
+ */
191
+ readonly vmOsType?: OperatingSystem;
192
+ /**
193
+ * Indicates if virtual machine Scale Set is enabled in the specified product.
194
+ * NOTE: This property will not be serialized. It can only be populated by the server.
195
+ */
196
+ readonly vmScaleSetEnabled?: boolean;
197
+ /**
198
+ * The URI.
199
+ * NOTE: This property will not be serialized. It can only be populated by the server.
200
+ */
201
+ readonly uri?: string;
202
+ /**
203
+ * Specifies product version.
204
+ * NOTE: This property will not be serialized. It can only be populated by the server.
205
+ */
206
+ readonly version?: string;
207
+ /**
208
+ * OS disk image used by product.
209
+ * NOTE: This property will not be serialized. It can only be populated by the server.
210
+ */
211
+ readonly osDiskImage?: OsDiskImage;
212
+ /**
213
+ * List of attached data disks.
214
+ * NOTE: This property will not be serialized. It can only be populated by the server.
215
+ */
216
+ readonly dataDiskImages?: DataDiskImage[];
217
+ }
218
+ /** Product information. */
219
+ export interface VirtualMachineExtensionProductProperties {
220
+ /**
221
+ * Specifies kind of compute role included in the package.
222
+ * NOTE: This property will not be serialized. It can only be populated by the server.
223
+ */
224
+ readonly computeRole?: ComputeRole;
225
+ /**
226
+ * Specifies if product is a Virtual Machine Extension.
227
+ * NOTE: This property will not be serialized. It can only be populated by the server.
228
+ */
229
+ readonly isSystemExtension?: boolean;
230
+ /**
231
+ * Indicates if specified product supports multiple extensions.
232
+ * NOTE: This property will not be serialized. It can only be populated by the server.
233
+ */
234
+ readonly supportMultipleExtensions?: boolean;
235
+ /**
236
+ * Specifies product version.
237
+ * NOTE: This property will not be serialized. It can only be populated by the server.
238
+ */
239
+ readonly version?: string;
240
+ /**
241
+ * Specifies operating system used by the product.
242
+ * NOTE: This property will not be serialized. It can only be populated by the server.
243
+ */
244
+ readonly vmOsType?: OperatingSystem;
245
+ /**
246
+ * Indicates if virtual machine Scale Set is enabled in the specified product.
247
+ * NOTE: This property will not be serialized. It can only be populated by the server.
248
+ */
249
+ readonly vmScaleSetEnabled?: boolean;
250
+ /**
251
+ * The URI.
252
+ * NOTE: This property will not be serialized. It can only be populated by the server.
253
+ */
254
+ readonly uri?: string;
255
+ }
256
+ /** Product information. */
257
+ export interface VirtualMachineProductProperties {
258
+ /**
259
+ * Specifies product version.
260
+ * NOTE: This property will not be serialized. It can only be populated by the server.
261
+ */
262
+ readonly version?: string;
263
+ /**
264
+ * OS disk image used by product.
265
+ * NOTE: This property will not be serialized. It can only be populated by the server.
266
+ */
267
+ readonly osDiskImage?: OsDiskImage;
268
+ /**
269
+ * List of attached data disks.
270
+ * NOTE: This property will not be serialized. It can only be populated by the server.
271
+ */
272
+ readonly dataDiskImages?: DataDiskImage[];
273
+ }
274
+ /** OS disk image. */
275
+ export interface OsDiskImage {
276
+ /**
277
+ * OS operating system type.
278
+ * NOTE: This property will not be serialized. It can only be populated by the server.
279
+ */
280
+ readonly operatingSystem?: OperatingSystem;
281
+ /**
282
+ * SAS key for source blob.
283
+ * NOTE: This property will not be serialized. It can only be populated by the server.
284
+ */
285
+ readonly sourceBlobSasUri?: string;
286
+ }
287
+ /** Data disk image. */
288
+ export interface DataDiskImage {
289
+ /**
290
+ * The LUN.
291
+ * NOTE: This property will not be serialized. It can only be populated by the server.
292
+ */
293
+ readonly lun?: number;
294
+ /**
295
+ * SAS key for source blob.
296
+ * NOTE: This property will not be serialized. It can only be populated by the server.
297
+ */
298
+ readonly sourceBlobSasUri?: string;
299
+ }
300
+ /** Device Configuration. */
301
+ export interface DeviceConfiguration {
302
+ /**
303
+ * Version of the device.
304
+ * NOTE: This property will not be serialized. It can only be populated by the server.
305
+ */
306
+ readonly deviceVersion?: string;
307
+ /**
308
+ * Identity system of the device.
309
+ * NOTE: This property will not be serialized. It can only be populated by the server.
310
+ */
311
+ readonly identitySystem?: Category;
312
+ }
313
+ /** Update details for product log. */
314
+ export interface MarketplaceProductLogUpdate {
315
+ /**
316
+ * Operation to log.
317
+ * NOTE: This property will not be serialized. It can only be populated by the server.
318
+ */
319
+ readonly operation?: string;
320
+ /**
321
+ * Operation status to log.
322
+ * NOTE: This property will not be serialized. It can only be populated by the server.
323
+ */
324
+ readonly status?: string;
325
+ /**
326
+ * Error related to the operation.
327
+ * NOTE: This property will not be serialized. It can only be populated by the server.
328
+ */
329
+ readonly error?: string;
330
+ /**
331
+ * Error details related to operation.
332
+ * NOTE: This property will not be serialized. It can only be populated by the server.
333
+ */
334
+ readonly details?: string;
335
+ }
336
+ /** Product action log. */
337
+ export interface ProductLog {
338
+ /**
339
+ * Log ID.
340
+ * NOTE: This property will not be serialized. It can only be populated by the server.
341
+ */
342
+ readonly id?: string;
343
+ /**
344
+ * Logged product ID.
345
+ * NOTE: This property will not be serialized. It can only be populated by the server.
346
+ */
347
+ readonly productId?: string;
348
+ /**
349
+ * Logged subscription ID.
350
+ * NOTE: This property will not be serialized. It can only be populated by the server.
351
+ */
352
+ readonly subscriptionId?: string;
353
+ /**
354
+ * Logged registration name.
355
+ * NOTE: This property will not be serialized. It can only be populated by the server.
356
+ */
357
+ readonly registrationName?: string;
358
+ /**
359
+ * Logged resource group name.
360
+ * NOTE: This property will not be serialized. It can only be populated by the server.
361
+ */
362
+ readonly resourceGroupName?: string;
363
+ /**
364
+ * Logged operation.
365
+ * NOTE: This property will not be serialized. It can only be populated by the server.
366
+ */
367
+ readonly operation?: string;
368
+ /**
369
+ * Operation start datetime.
370
+ * NOTE: This property will not be serialized. It can only be populated by the server.
371
+ */
372
+ readonly startDate?: string;
373
+ /**
374
+ * Operation end datetime.
375
+ * NOTE: This property will not be serialized. It can only be populated by the server.
376
+ */
377
+ readonly endDate?: string;
378
+ /**
379
+ * Operation status.
380
+ * NOTE: This property will not be serialized. It can only be populated by the server.
381
+ */
382
+ readonly status?: string;
383
+ /**
384
+ * Operation error data.
385
+ * NOTE: This property will not be serialized. It can only be populated by the server.
386
+ */
387
+ readonly error?: string;
388
+ /**
389
+ * Operation error details.
390
+ * NOTE: This property will not be serialized. It can only be populated by the server.
391
+ */
392
+ readonly details?: string;
393
+ }
394
+ /** Pageable list of registrations. */
395
+ export interface RegistrationList {
396
+ /** URI to the next page. */
397
+ nextLink?: string;
398
+ /** List of Registrations */
399
+ value?: Registration[];
400
+ }
401
+ /** Base resource object. */
402
+ export interface TrackedResource {
403
+ /**
404
+ * ID of the resource.
405
+ * NOTE: This property will not be serialized. It can only be populated by the server.
406
+ */
407
+ readonly id?: string;
408
+ /**
409
+ * Name of the resource.
410
+ * NOTE: This property will not be serialized. It can only be populated by the server.
411
+ */
412
+ readonly name?: string;
413
+ /**
414
+ * Type of Resource.
415
+ * NOTE: This property will not be serialized. It can only be populated by the server.
416
+ */
417
+ readonly type?: string;
418
+ /**
419
+ * The kind of the resource.
420
+ * NOTE: This property will not be serialized. It can only be populated by the server.
421
+ */
422
+ readonly kind?: string;
423
+ /**
424
+ * Metadata pertaining to creation and last modification of the resource.
425
+ * NOTE: This property will not be serialized. It can only be populated by the server.
426
+ */
427
+ readonly systemData?: SystemData;
428
+ /** Location of the resource. */
429
+ location: Location;
430
+ /** Custom tags for the resource. */
431
+ tags?: {
432
+ [propertyName: string]: string;
433
+ };
434
+ /** The entity tag used for optimistic concurrency when modifying the resource. */
435
+ etag?: string;
436
+ }
437
+ /** Registration resource */
438
+ export interface RegistrationParameter {
439
+ /** Location of the resource. */
440
+ location: Location;
441
+ /** The token identifying registered Azure Stack */
442
+ registrationToken: string;
443
+ }
444
+ /** The resource containing the Azure Stack activation key. */
445
+ export interface ActivationKeyResult {
446
+ /** Azure Stack activation key. */
447
+ activationKey?: string;
448
+ }
449
+ /** List of linked subscriptions with paging support. */
450
+ export interface LinkedSubscriptionsList {
451
+ /** URI to the next page. */
452
+ nextLink?: string;
453
+ /** List of Linked Subscriptions */
454
+ value?: LinkedSubscription[];
455
+ }
456
+ /** Linked Subscription resource */
457
+ export interface LinkedSubscriptionParameter {
458
+ /** Location of the resource. */
459
+ location: Location;
460
+ /** The identifier associated with the device subscription. */
461
+ linkedSubscriptionId: string;
462
+ /** The identifier associated with the device registration. */
463
+ registrationResourceId: string;
464
+ }
465
+ /** Cloud specific manifest GET response. */
466
+ export declare type CloudManifestFileResponse = Resource & {
467
+ /** Cloud specific manifest data. */
468
+ properties?: CloudManifestFileProperties;
469
+ };
470
+ /** Customer subscription. */
471
+ export declare type CustomerSubscription = Resource & {
472
+ /**
473
+ * Metadata pertaining to creation and last modification of the resource.
474
+ * NOTE: This property will not be serialized. It can only be populated by the server.
475
+ */
476
+ readonly systemData?: SystemData;
477
+ /** Tenant Id. */
478
+ tenantId?: string;
479
+ };
480
+ /** Product information. */
481
+ export declare type Product = Resource & {
482
+ /**
483
+ * Metadata pertaining to creation and last modification of the resource.
484
+ * NOTE: This property will not be serialized. It can only be populated by the server.
485
+ */
486
+ readonly systemData?: SystemData;
487
+ /** The display name of the product. */
488
+ displayName?: string;
489
+ /** The description of the product. */
490
+ description?: string;
491
+ /** The user-friendly name of the product publisher. */
492
+ publisherDisplayName?: string;
493
+ /** Publisher identifier. */
494
+ publisherIdentifier?: string;
495
+ /** The offer representing the product. */
496
+ offer?: string;
497
+ /** The version of the product offer. */
498
+ offerVersion?: string;
499
+ /** The product SKU. */
500
+ sku?: string;
501
+ /** The part number used for billing purposes. */
502
+ billingPartNumber?: string;
503
+ /** The type of the Virtual Machine Extension. */
504
+ vmExtensionType?: string;
505
+ /** The identifier of the gallery item corresponding to the product. */
506
+ galleryItemIdentity?: string;
507
+ /** Additional links available for this product. */
508
+ iconUris?: IconUris;
509
+ /** Additional links available for this product. */
510
+ links?: ProductLink[];
511
+ /** The legal terms. */
512
+ legalTerms?: string;
513
+ /** The privacy policy. */
514
+ privacyPolicy?: string;
515
+ /** The length of product content. */
516
+ payloadLength?: number;
517
+ /** The kind of the product (virtualMachine or virtualMachineExtension) */
518
+ productKind?: string;
519
+ /** Additional properties for the product. */
520
+ productProperties?: ProductProperties;
521
+ /** Product compatibility with current device. */
522
+ compatibility?: Compatibility;
523
+ };
524
+ /** Product information. */
525
+ export declare type ExtendedProductProperties = VirtualMachineExtensionProductProperties & VirtualMachineProductProperties & {};
526
+ /** Registration information. */
527
+ export declare type Registration = TrackedResource & {
528
+ /** The object identifier associated with the Azure Stack connecting to Azure. */
529
+ objectId?: string;
530
+ /** The identifier of the registered Azure Stack. */
531
+ cloudId?: string;
532
+ /** Specifies the billing mode for the Azure Stack registration. */
533
+ billingModel?: string;
534
+ };
535
+ /** Linked Subscription information. */
536
+ export declare type LinkedSubscription = TrackedResource & {
537
+ /** The identifier associated with the device subscription. */
538
+ linkedSubscriptionId?: string;
539
+ /** The identifier associated with the device registration. */
540
+ registrationResourceId?: string;
541
+ /**
542
+ * The identifier of the Azure Stack device for remote management.
543
+ * NOTE: This property will not be serialized. It can only be populated by the server.
544
+ */
545
+ readonly deviceId?: string;
546
+ /**
547
+ * The object identifier associated with the Azure Stack device connecting to Azure.
548
+ * NOTE: This property will not be serialized. It can only be populated by the server.
549
+ */
550
+ readonly deviceObjectId?: string;
551
+ /**
552
+ * The connection state of the Azure Stack device.
553
+ * NOTE: This property will not be serialized. It can only be populated by the server.
554
+ */
555
+ readonly deviceLinkState?: string;
556
+ /**
557
+ * The last remote management connection time for the Azure Stack device connected to the linked subscription resource.
558
+ * NOTE: This property will not be serialized. It can only be populated by the server.
559
+ */
560
+ readonly lastConnectedTime?: string;
561
+ /**
562
+ * The status of the remote management connection of the Azure Stack device.
563
+ * NOTE: This property will not be serialized. It can only be populated by the server.
564
+ */
565
+ readonly deviceConnectionStatus?: string;
566
+ };
567
+ /** Known values of {@link CreatedByType} that the service accepts. */
568
+ export declare enum KnownCreatedByType {
569
+ User = "User",
570
+ Application = "Application",
571
+ ManagedIdentity = "ManagedIdentity",
572
+ Key = "Key"
573
+ }
574
+ /**
575
+ * Defines values for CreatedByType. \
576
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
577
+ * this enum contains the known values that the service supports.
578
+ * ### Known values supported by the service
579
+ * **User** \
580
+ * **Application** \
581
+ * **ManagedIdentity** \
582
+ * **Key**
583
+ */
584
+ export declare type CreatedByType = string;
585
+ /** Known values of {@link CompatibilityIssue} that the service accepts. */
586
+ export declare enum KnownCompatibilityIssue {
587
+ HigherDeviceVersionRequired = "HigherDeviceVersionRequired",
588
+ LowerDeviceVersionRequired = "LowerDeviceVersionRequired",
589
+ CapacityBillingModelRequired = "CapacityBillingModelRequired",
590
+ PayAsYouGoBillingModelRequired = "PayAsYouGoBillingModelRequired",
591
+ DevelopmentBillingModelRequired = "DevelopmentBillingModelRequired",
592
+ AzureADIdentitySystemRequired = "AzureADIdentitySystemRequired",
593
+ AdfsIdentitySystemRequired = "ADFSIdentitySystemRequired",
594
+ ConnectionToInternetRequired = "ConnectionToInternetRequired",
595
+ ConnectionToAzureRequired = "ConnectionToAzureRequired",
596
+ DisconnectedEnvironmentRequired = "DisconnectedEnvironmentRequired"
597
+ }
598
+ /**
599
+ * Defines values for CompatibilityIssue. \
600
+ * {@link KnownCompatibilityIssue} can be used interchangeably with CompatibilityIssue,
601
+ * this enum contains the known values that the service supports.
602
+ * ### Known values supported by the service
603
+ * **HigherDeviceVersionRequired** \
604
+ * **LowerDeviceVersionRequired** \
605
+ * **CapacityBillingModelRequired** \
606
+ * **PayAsYouGoBillingModelRequired** \
607
+ * **DevelopmentBillingModelRequired** \
608
+ * **AzureADIdentitySystemRequired** \
609
+ * **ADFSIdentitySystemRequired** \
610
+ * **ConnectionToInternetRequired** \
611
+ * **ConnectionToAzureRequired** \
612
+ * **DisconnectedEnvironmentRequired**
613
+ */
614
+ export declare type CompatibilityIssue = string;
615
+ /** Known values of {@link ComputeRole} that the service accepts. */
616
+ export declare enum KnownComputeRole {
617
+ None = "None",
618
+ IaaS = "IaaS",
619
+ PaaS = "PaaS"
620
+ }
621
+ /**
622
+ * Defines values for ComputeRole. \
623
+ * {@link KnownComputeRole} can be used interchangeably with ComputeRole,
624
+ * this enum contains the known values that the service supports.
625
+ * ### Known values supported by the service
626
+ * **None** \
627
+ * **IaaS** \
628
+ * **PaaS**
629
+ */
630
+ export declare type ComputeRole = string;
631
+ /** Known values of {@link OperatingSystem} that the service accepts. */
632
+ export declare enum KnownOperatingSystem {
633
+ None = "None",
634
+ Windows = "Windows",
635
+ Linux = "Linux"
636
+ }
637
+ /**
638
+ * Defines values for OperatingSystem. \
639
+ * {@link KnownOperatingSystem} can be used interchangeably with OperatingSystem,
640
+ * this enum contains the known values that the service supports.
641
+ * ### Known values supported by the service
642
+ * **None** \
643
+ * **Windows** \
644
+ * **Linux**
645
+ */
646
+ export declare type OperatingSystem = string;
647
+ /** Known values of {@link Category} that the service accepts. */
648
+ export declare enum KnownCategory {
649
+ AzureAD = "AzureAD",
650
+ Adfs = "ADFS"
651
+ }
652
+ /**
653
+ * Defines values for Category. \
654
+ * {@link KnownCategory} can be used interchangeably with Category,
655
+ * this enum contains the known values that the service supports.
656
+ * ### Known values supported by the service
657
+ * **AzureAD** \
658
+ * **ADFS**
659
+ */
660
+ export declare type Category = string;
661
+ /** Known values of {@link Location} that the service accepts. */
662
+ export declare enum KnownLocation {
663
+ Global = "global"
664
+ }
665
+ /**
666
+ * Defines values for Location. \
667
+ * {@link KnownLocation} can be used interchangeably with Location,
668
+ * this enum contains the known values that the service supports.
669
+ * ### Known values supported by the service
670
+ * **global**
671
+ */
672
+ export declare type Location = string;
673
+ /** Defines values for ProvisioningState. */
674
+ export declare type ProvisioningState = "Creating" | "Failed" | "Succeeded" | "Canceled";
675
+ /** Optional parameters. */
676
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
677
+ }
678
+ /** Contains response data for the list operation. */
679
+ export declare type OperationsListResponse = OperationList;
680
+ /** Optional parameters. */
681
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
682
+ }
683
+ /** Contains response data for the listNext operation. */
684
+ export declare type OperationsListNextResponse = OperationList;
685
+ /** Optional parameters. */
686
+ export interface CloudManifestFileListOptionalParams extends coreClient.OperationOptions {
687
+ }
688
+ /** Contains response data for the list operation. */
689
+ export declare type CloudManifestFileListResponse = CloudManifestFileResponse;
690
+ /** Optional parameters. */
691
+ export interface CloudManifestFileGetOptionalParams extends coreClient.OperationOptions {
692
+ /** Signing verification key version creation date. */
693
+ versionCreationDate?: string;
694
+ }
695
+ /** Contains response data for the get operation. */
696
+ export declare type CloudManifestFileGetResponse = CloudManifestFileResponse;
697
+ /** Optional parameters. */
698
+ export interface CustomerSubscriptionsListOptionalParams extends coreClient.OperationOptions {
699
+ }
700
+ /** Contains response data for the list operation. */
701
+ export declare type CustomerSubscriptionsListResponse = CustomerSubscriptionList;
702
+ /** Optional parameters. */
703
+ export interface CustomerSubscriptionsGetOptionalParams extends coreClient.OperationOptions {
704
+ }
705
+ /** Contains response data for the get operation. */
706
+ export declare type CustomerSubscriptionsGetResponse = CustomerSubscription;
707
+ /** Optional parameters. */
708
+ export interface CustomerSubscriptionsDeleteOptionalParams extends coreClient.OperationOptions {
709
+ }
710
+ /** Optional parameters. */
711
+ export interface CustomerSubscriptionsCreateOptionalParams extends coreClient.OperationOptions {
712
+ }
713
+ /** Contains response data for the create operation. */
714
+ export declare type CustomerSubscriptionsCreateResponse = CustomerSubscription;
715
+ /** Optional parameters. */
716
+ export interface CustomerSubscriptionsListNextOptionalParams extends coreClient.OperationOptions {
717
+ }
718
+ /** Contains response data for the listNext operation. */
719
+ export declare type CustomerSubscriptionsListNextResponse = CustomerSubscriptionList;
720
+ /** Optional parameters. */
721
+ export interface ProductsListOptionalParams extends coreClient.OperationOptions {
722
+ }
723
+ /** Contains response data for the list operation. */
724
+ export declare type ProductsListResponse = ProductList;
725
+ /** Optional parameters. */
726
+ export interface ProductsGetOptionalParams extends coreClient.OperationOptions {
727
+ }
728
+ /** Contains response data for the get operation. */
729
+ export declare type ProductsGetResponse = Product;
730
+ /** Optional parameters. */
731
+ export interface ProductsListDetailsOptionalParams extends coreClient.OperationOptions {
732
+ }
733
+ /** Contains response data for the listDetails operation. */
734
+ export declare type ProductsListDetailsResponse = ExtendedProduct;
735
+ /** Optional parameters. */
736
+ export interface ProductsGetProductsOptionalParams extends coreClient.OperationOptions {
737
+ /** Device configuration. */
738
+ deviceConfiguration?: DeviceConfiguration;
739
+ }
740
+ /** Contains response data for the getProducts operation. */
741
+ export declare type ProductsGetProductsResponse = ProductList;
742
+ /** Optional parameters. */
743
+ export interface ProductsGetProductOptionalParams extends coreClient.OperationOptions {
744
+ /** Device configuration. */
745
+ deviceConfiguration?: DeviceConfiguration;
746
+ }
747
+ /** Contains response data for the getProduct operation. */
748
+ export declare type ProductsGetProductResponse = Product;
749
+ /** Optional parameters. */
750
+ export interface ProductsUploadLogOptionalParams extends coreClient.OperationOptions {
751
+ /** Update details for product log. */
752
+ marketplaceProductLogUpdate?: MarketplaceProductLogUpdate;
753
+ }
754
+ /** Contains response data for the uploadLog operation. */
755
+ export declare type ProductsUploadLogResponse = ProductLog;
756
+ /** Optional parameters. */
757
+ export interface ProductsListNextOptionalParams extends coreClient.OperationOptions {
758
+ }
759
+ /** Contains response data for the listNext operation. */
760
+ export declare type ProductsListNextResponse = ProductList;
761
+ /** Optional parameters. */
762
+ export interface RegistrationsListOptionalParams extends coreClient.OperationOptions {
763
+ }
764
+ /** Contains response data for the list operation. */
765
+ export declare type RegistrationsListResponse = RegistrationList;
766
+ /** Optional parameters. */
767
+ export interface RegistrationsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
768
+ }
769
+ /** Contains response data for the listBySubscription operation. */
770
+ export declare type RegistrationsListBySubscriptionResponse = RegistrationList;
771
+ /** Optional parameters. */
772
+ export interface RegistrationsGetOptionalParams extends coreClient.OperationOptions {
773
+ }
774
+ /** Contains response data for the get operation. */
775
+ export declare type RegistrationsGetResponse = Registration;
776
+ /** Optional parameters. */
777
+ export interface RegistrationsDeleteOptionalParams extends coreClient.OperationOptions {
778
+ }
779
+ /** Optional parameters. */
780
+ export interface RegistrationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
781
+ }
782
+ /** Contains response data for the createOrUpdate operation. */
783
+ export declare type RegistrationsCreateOrUpdateResponse = Registration;
784
+ /** Optional parameters. */
785
+ export interface RegistrationsUpdateOptionalParams extends coreClient.OperationOptions {
786
+ }
787
+ /** Contains response data for the update operation. */
788
+ export declare type RegistrationsUpdateResponse = Registration;
789
+ /** Optional parameters. */
790
+ export interface RegistrationsGetActivationKeyOptionalParams extends coreClient.OperationOptions {
791
+ }
792
+ /** Contains response data for the getActivationKey operation. */
793
+ export declare type RegistrationsGetActivationKeyResponse = ActivationKeyResult;
794
+ /** Optional parameters. */
795
+ export interface RegistrationsEnableRemoteManagementOptionalParams extends coreClient.OperationOptions {
796
+ }
797
+ /** Optional parameters. */
798
+ export interface RegistrationsListNextOptionalParams extends coreClient.OperationOptions {
799
+ }
800
+ /** Contains response data for the listNext operation. */
801
+ export declare type RegistrationsListNextResponse = RegistrationList;
802
+ /** Optional parameters. */
803
+ export interface RegistrationsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
804
+ }
805
+ /** Contains response data for the listBySubscriptionNext operation. */
806
+ export declare type RegistrationsListBySubscriptionNextResponse = RegistrationList;
807
+ /** Optional parameters. */
808
+ export interface LinkedSubscriptionsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
809
+ }
810
+ /** Contains response data for the listByResourceGroup operation. */
811
+ export declare type LinkedSubscriptionsListByResourceGroupResponse = LinkedSubscriptionsList;
812
+ /** Optional parameters. */
813
+ export interface LinkedSubscriptionsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
814
+ }
815
+ /** Contains response data for the listBySubscription operation. */
816
+ export declare type LinkedSubscriptionsListBySubscriptionResponse = LinkedSubscriptionsList;
817
+ /** Optional parameters. */
818
+ export interface LinkedSubscriptionsGetOptionalParams extends coreClient.OperationOptions {
819
+ }
820
+ /** Contains response data for the get operation. */
821
+ export declare type LinkedSubscriptionsGetResponse = LinkedSubscription;
822
+ /** Optional parameters. */
823
+ export interface LinkedSubscriptionsDeleteOptionalParams extends coreClient.OperationOptions {
824
+ }
825
+ /** Optional parameters. */
826
+ export interface LinkedSubscriptionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
827
+ }
828
+ /** Contains response data for the createOrUpdate operation. */
829
+ export declare type LinkedSubscriptionsCreateOrUpdateResponse = LinkedSubscription;
830
+ /** Optional parameters. */
831
+ export interface LinkedSubscriptionsUpdateOptionalParams extends coreClient.OperationOptions {
832
+ }
833
+ /** Contains response data for the update operation. */
834
+ export declare type LinkedSubscriptionsUpdateResponse = LinkedSubscription;
835
+ /** Optional parameters. */
836
+ export interface LinkedSubscriptionsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
837
+ }
838
+ /** Contains response data for the listByResourceGroupNext operation. */
839
+ export declare type LinkedSubscriptionsListByResourceGroupNextResponse = LinkedSubscriptionsList;
840
+ /** Optional parameters. */
841
+ export interface LinkedSubscriptionsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
842
+ }
843
+ /** Contains response data for the listBySubscriptionNext operation. */
844
+ export declare type LinkedSubscriptionsListBySubscriptionNextResponse = LinkedSubscriptionsList;
845
+ /** Optional parameters. */
846
+ export interface AzureStackManagementClientOptionalParams extends coreClient.ServiceClientOptions {
847
+ /** server parameter */
848
+ $host?: string;
849
+ /** Api Version */
850
+ apiVersion?: string;
851
+ /** Overrides client endpoint. */
852
+ endpoint?: string;
853
+ }
854
+ //# sourceMappingURL=index.d.ts.map