@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
@@ -0,0 +1,416 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing Registrations operations. */
14
+ export class RegistrationsImpl {
15
+ /**
16
+ * Initialize a new instance of the class Registrations class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Returns a list of all registrations.
24
+ * @param resourceGroup Name of the resource group.
25
+ * @param options The options parameters.
26
+ */
27
+ list(resourceGroup, options) {
28
+ const iter = this.listPagingAll(resourceGroup, options);
29
+ return {
30
+ next() {
31
+ return iter.next();
32
+ },
33
+ [Symbol.asyncIterator]() {
34
+ return this;
35
+ },
36
+ byPage: () => {
37
+ return this.listPagingPage(resourceGroup, options);
38
+ }
39
+ };
40
+ }
41
+ listPagingPage(resourceGroup, options) {
42
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
43
+ let result = yield __await(this._list(resourceGroup, options));
44
+ yield yield __await(result.value || []);
45
+ let continuationToken = result.nextLink;
46
+ while (continuationToken) {
47
+ result = yield __await(this._listNext(resourceGroup, continuationToken, options));
48
+ continuationToken = result.nextLink;
49
+ yield yield __await(result.value || []);
50
+ }
51
+ });
52
+ }
53
+ listPagingAll(resourceGroup, options) {
54
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
55
+ var e_1, _a;
56
+ try {
57
+ for (var _b = __asyncValues(this.listPagingPage(resourceGroup, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
58
+ const page = _c.value;
59
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
60
+ }
61
+ }
62
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
63
+ finally {
64
+ try {
65
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
66
+ }
67
+ finally { if (e_1) throw e_1.error; }
68
+ }
69
+ });
70
+ }
71
+ /**
72
+ * Returns a list of all registrations under current subscription.
73
+ * @param options The options parameters.
74
+ */
75
+ listBySubscription(options) {
76
+ const iter = this.listBySubscriptionPagingAll(options);
77
+ return {
78
+ next() {
79
+ return iter.next();
80
+ },
81
+ [Symbol.asyncIterator]() {
82
+ return this;
83
+ },
84
+ byPage: () => {
85
+ return this.listBySubscriptionPagingPage(options);
86
+ }
87
+ };
88
+ }
89
+ listBySubscriptionPagingPage(options) {
90
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
91
+ let result = yield __await(this._listBySubscription(options));
92
+ yield yield __await(result.value || []);
93
+ let continuationToken = result.nextLink;
94
+ while (continuationToken) {
95
+ result = yield __await(this._listBySubscriptionNext(continuationToken, options));
96
+ continuationToken = result.nextLink;
97
+ yield yield __await(result.value || []);
98
+ }
99
+ });
100
+ }
101
+ listBySubscriptionPagingAll(options) {
102
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
103
+ var e_2, _a;
104
+ try {
105
+ for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
106
+ const page = _c.value;
107
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
108
+ }
109
+ }
110
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
111
+ finally {
112
+ try {
113
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
114
+ }
115
+ finally { if (e_2) throw e_2.error; }
116
+ }
117
+ });
118
+ }
119
+ /**
120
+ * Returns a list of all registrations.
121
+ * @param resourceGroup Name of the resource group.
122
+ * @param options The options parameters.
123
+ */
124
+ _list(resourceGroup, options) {
125
+ return this.client.sendOperationRequest({ resourceGroup, options }, listOperationSpec);
126
+ }
127
+ /**
128
+ * Returns a list of all registrations under current subscription.
129
+ * @param options The options parameters.
130
+ */
131
+ _listBySubscription(options) {
132
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
133
+ }
134
+ /**
135
+ * Returns the properties of an Azure Stack registration.
136
+ * @param resourceGroup Name of the resource group.
137
+ * @param registrationName Name of the Azure Stack registration.
138
+ * @param options The options parameters.
139
+ */
140
+ get(resourceGroup, registrationName, options) {
141
+ return this.client.sendOperationRequest({ resourceGroup, registrationName, options }, getOperationSpec);
142
+ }
143
+ /**
144
+ * Delete the requested Azure Stack registration.
145
+ * @param resourceGroup Name of the resource group.
146
+ * @param registrationName Name of the Azure Stack registration.
147
+ * @param options The options parameters.
148
+ */
149
+ delete(resourceGroup, registrationName, options) {
150
+ return this.client.sendOperationRequest({ resourceGroup, registrationName, options }, deleteOperationSpec);
151
+ }
152
+ /**
153
+ * Create or update an Azure Stack registration.
154
+ * @param resourceGroup Name of the resource group.
155
+ * @param registrationName Name of the Azure Stack registration.
156
+ * @param token Registration token
157
+ * @param options The options parameters.
158
+ */
159
+ createOrUpdate(resourceGroup, registrationName, token, options) {
160
+ return this.client.sendOperationRequest({ resourceGroup, registrationName, token, options }, createOrUpdateOperationSpec);
161
+ }
162
+ /**
163
+ * Patch an Azure Stack registration.
164
+ * @param resourceGroup Name of the resource group.
165
+ * @param registrationName Name of the Azure Stack registration.
166
+ * @param token Registration token
167
+ * @param options The options parameters.
168
+ */
169
+ update(resourceGroup, registrationName, token, options) {
170
+ return this.client.sendOperationRequest({ resourceGroup, registrationName, token, options }, updateOperationSpec);
171
+ }
172
+ /**
173
+ * Returns Azure Stack Activation Key.
174
+ * @param resourceGroup Name of the resource group.
175
+ * @param registrationName Name of the Azure Stack registration.
176
+ * @param options The options parameters.
177
+ */
178
+ getActivationKey(resourceGroup, registrationName, options) {
179
+ return this.client.sendOperationRequest({ resourceGroup, registrationName, options }, getActivationKeyOperationSpec);
180
+ }
181
+ /**
182
+ * Enables remote management for device under the Azure Stack registration.
183
+ * @param resourceGroup Name of the resource group.
184
+ * @param registrationName Name of the Azure Stack registration.
185
+ * @param options The options parameters.
186
+ */
187
+ enableRemoteManagement(resourceGroup, registrationName, options) {
188
+ return this.client.sendOperationRequest({ resourceGroup, registrationName, options }, enableRemoteManagementOperationSpec);
189
+ }
190
+ /**
191
+ * ListNext
192
+ * @param resourceGroup Name of the resource group.
193
+ * @param nextLink The nextLink from the previous successful call to the List method.
194
+ * @param options The options parameters.
195
+ */
196
+ _listNext(resourceGroup, nextLink, options) {
197
+ return this.client.sendOperationRequest({ resourceGroup, nextLink, options }, listNextOperationSpec);
198
+ }
199
+ /**
200
+ * ListBySubscriptionNext
201
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
202
+ * @param options The options parameters.
203
+ */
204
+ _listBySubscriptionNext(nextLink, options) {
205
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
206
+ }
207
+ }
208
+ // Operation Specifications
209
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
210
+ const listOperationSpec = {
211
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations",
212
+ httpMethod: "GET",
213
+ responses: {
214
+ 200: {
215
+ bodyMapper: Mappers.RegistrationList
216
+ },
217
+ default: {
218
+ bodyMapper: Mappers.ErrorResponse
219
+ }
220
+ },
221
+ queryParameters: [Parameters.apiVersion],
222
+ urlParameters: [
223
+ Parameters.$host,
224
+ Parameters.subscriptionId,
225
+ Parameters.resourceGroup
226
+ ],
227
+ headerParameters: [Parameters.accept],
228
+ serializer
229
+ };
230
+ const listBySubscriptionOperationSpec = {
231
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/registrations",
232
+ httpMethod: "GET",
233
+ responses: {
234
+ 200: {
235
+ bodyMapper: Mappers.RegistrationList
236
+ },
237
+ default: {
238
+ bodyMapper: Mappers.ErrorResponse
239
+ }
240
+ },
241
+ queryParameters: [Parameters.apiVersion],
242
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
243
+ headerParameters: [Parameters.accept],
244
+ serializer
245
+ };
246
+ const getOperationSpec = {
247
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
248
+ httpMethod: "GET",
249
+ responses: {
250
+ 200: {
251
+ bodyMapper: Mappers.Registration
252
+ },
253
+ default: {
254
+ bodyMapper: Mappers.ErrorResponse
255
+ }
256
+ },
257
+ queryParameters: [Parameters.apiVersion],
258
+ urlParameters: [
259
+ Parameters.$host,
260
+ Parameters.subscriptionId,
261
+ Parameters.resourceGroup,
262
+ Parameters.registrationName
263
+ ],
264
+ headerParameters: [Parameters.accept],
265
+ serializer
266
+ };
267
+ const deleteOperationSpec = {
268
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
269
+ httpMethod: "DELETE",
270
+ responses: {
271
+ 200: {},
272
+ 204: {},
273
+ default: {
274
+ bodyMapper: Mappers.ErrorResponse
275
+ }
276
+ },
277
+ queryParameters: [Parameters.apiVersion],
278
+ urlParameters: [
279
+ Parameters.$host,
280
+ Parameters.subscriptionId,
281
+ Parameters.resourceGroup,
282
+ Parameters.registrationName
283
+ ],
284
+ headerParameters: [Parameters.accept],
285
+ serializer
286
+ };
287
+ const createOrUpdateOperationSpec = {
288
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
289
+ httpMethod: "PUT",
290
+ responses: {
291
+ 200: {
292
+ bodyMapper: Mappers.Registration
293
+ },
294
+ 201: {
295
+ bodyMapper: Mappers.Registration
296
+ },
297
+ default: {
298
+ bodyMapper: Mappers.ErrorResponse
299
+ }
300
+ },
301
+ requestBody: Parameters.token,
302
+ queryParameters: [Parameters.apiVersion],
303
+ urlParameters: [
304
+ Parameters.$host,
305
+ Parameters.subscriptionId,
306
+ Parameters.resourceGroup,
307
+ Parameters.registrationName
308
+ ],
309
+ headerParameters: [Parameters.accept, Parameters.contentType],
310
+ mediaType: "json",
311
+ serializer
312
+ };
313
+ const updateOperationSpec = {
314
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
315
+ httpMethod: "PATCH",
316
+ responses: {
317
+ 200: {
318
+ bodyMapper: Mappers.Registration
319
+ },
320
+ default: {
321
+ bodyMapper: Mappers.ErrorResponse
322
+ }
323
+ },
324
+ requestBody: Parameters.token,
325
+ queryParameters: [Parameters.apiVersion],
326
+ urlParameters: [
327
+ Parameters.$host,
328
+ Parameters.subscriptionId,
329
+ Parameters.resourceGroup,
330
+ Parameters.registrationName
331
+ ],
332
+ headerParameters: [Parameters.accept, Parameters.contentType],
333
+ mediaType: "json",
334
+ serializer
335
+ };
336
+ const getActivationKeyOperationSpec = {
337
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/getactivationkey",
338
+ httpMethod: "POST",
339
+ responses: {
340
+ 200: {
341
+ bodyMapper: Mappers.ActivationKeyResult
342
+ },
343
+ default: {
344
+ bodyMapper: Mappers.ErrorResponse
345
+ }
346
+ },
347
+ queryParameters: [Parameters.apiVersion],
348
+ urlParameters: [
349
+ Parameters.$host,
350
+ Parameters.subscriptionId,
351
+ Parameters.resourceGroup,
352
+ Parameters.registrationName
353
+ ],
354
+ headerParameters: [Parameters.accept],
355
+ serializer
356
+ };
357
+ const enableRemoteManagementOperationSpec = {
358
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/enableRemoteManagement",
359
+ httpMethod: "POST",
360
+ responses: {
361
+ 200: {},
362
+ default: {
363
+ bodyMapper: Mappers.ErrorResponse
364
+ }
365
+ },
366
+ urlParameters: [
367
+ Parameters.$host,
368
+ Parameters.subscriptionId,
369
+ Parameters.resourceGroup,
370
+ Parameters.registrationName
371
+ ],
372
+ headerParameters: [Parameters.accept],
373
+ serializer
374
+ };
375
+ const listNextOperationSpec = {
376
+ path: "{nextLink}",
377
+ httpMethod: "GET",
378
+ responses: {
379
+ 200: {
380
+ bodyMapper: Mappers.RegistrationList
381
+ },
382
+ default: {
383
+ bodyMapper: Mappers.ErrorResponse
384
+ }
385
+ },
386
+ queryParameters: [Parameters.apiVersion],
387
+ urlParameters: [
388
+ Parameters.$host,
389
+ Parameters.nextLink,
390
+ Parameters.subscriptionId,
391
+ Parameters.resourceGroup
392
+ ],
393
+ headerParameters: [Parameters.accept],
394
+ serializer
395
+ };
396
+ const listBySubscriptionNextOperationSpec = {
397
+ path: "{nextLink}",
398
+ httpMethod: "GET",
399
+ responses: {
400
+ 200: {
401
+ bodyMapper: Mappers.RegistrationList
402
+ },
403
+ default: {
404
+ bodyMapper: Mappers.ErrorResponse
405
+ }
406
+ },
407
+ queryParameters: [Parameters.apiVersion],
408
+ urlParameters: [
409
+ Parameters.$host,
410
+ Parameters.nextLink,
411
+ Parameters.subscriptionId
412
+ ],
413
+ headerParameters: [Parameters.accept],
414
+ serializer
415
+ };
416
+ //# sourceMappingURL=registrations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registrations.js","sourceRoot":"","sources":["../../../src/operations/registrations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAyBnD,4CAA4C;AAC5C,iDAAiD;AACjD,MAAM,OAAO,iBAAiB;IAG5B;;;OAGG;IACH,YAAY,MAAkC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,IAAI,CACT,aAAqB,EACrB,OAAyC;QAEzC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;QACxD,OAAO;YACL,IAAI;gBAC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CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { CloudManifestFileListOptionalParams, CloudManifestFileListResponse, CloudManifestFileGetOptionalParams, CloudManifestFileGetResponse } from "../models";
2
+ /** Interface representing a CloudManifestFile. */
3
+ export interface CloudManifestFile {
4
+ /**
5
+ * Returns a cloud specific manifest JSON file with latest version.
6
+ * @param options The options parameters.
7
+ */
8
+ list(options?: CloudManifestFileListOptionalParams): Promise<CloudManifestFileListResponse>;
9
+ /**
10
+ * Returns a cloud specific manifest JSON file.
11
+ * @param verificationVersion Signing verification key version.
12
+ * @param options The options parameters.
13
+ */
14
+ get(verificationVersion: string, options?: CloudManifestFileGetOptionalParams): Promise<CloudManifestFileGetResponse>;
15
+ }
16
+ //# sourceMappingURL=cloudManifestFile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudManifestFile.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/cloudManifestFile.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,mCAAmC,EACnC,6BAA6B,EAC7B,kCAAkC,EAClC,4BAA4B,EAC7B,MAAM,WAAW,CAAC;AAEnB,kDAAkD;AAClD,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC1C;;;;OAIG;IACH,GAAG,CACD,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;CAC1C"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=cloudManifestFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudManifestFile.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/cloudManifestFile.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,38 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { CustomerSubscription, CustomerSubscriptionsListOptionalParams, CustomerSubscriptionsGetOptionalParams, CustomerSubscriptionsGetResponse, CustomerSubscriptionsDeleteOptionalParams, CustomerSubscriptionsCreateOptionalParams, CustomerSubscriptionsCreateResponse } from "../models";
3
+ /** Interface representing a CustomerSubscriptions. */
4
+ export interface CustomerSubscriptions {
5
+ /**
6
+ * Returns a list of products.
7
+ * @param resourceGroup Name of the resource group.
8
+ * @param registrationName Name of the Azure Stack registration.
9
+ * @param options The options parameters.
10
+ */
11
+ list(resourceGroup: string, registrationName: string, options?: CustomerSubscriptionsListOptionalParams): PagedAsyncIterableIterator<CustomerSubscription>;
12
+ /**
13
+ * Returns the specified product.
14
+ * @param resourceGroup Name of the resource group.
15
+ * @param registrationName Name of the Azure Stack registration.
16
+ * @param customerSubscriptionName Name of the product.
17
+ * @param options The options parameters.
18
+ */
19
+ get(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options?: CustomerSubscriptionsGetOptionalParams): Promise<CustomerSubscriptionsGetResponse>;
20
+ /**
21
+ * Deletes a customer subscription under a registration.
22
+ * @param resourceGroup Name of the resource group.
23
+ * @param registrationName Name of the Azure Stack registration.
24
+ * @param customerSubscriptionName Name of the product.
25
+ * @param options The options parameters.
26
+ */
27
+ delete(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options?: CustomerSubscriptionsDeleteOptionalParams): Promise<void>;
28
+ /**
29
+ * Creates a new customer subscription under a registration.
30
+ * @param resourceGroup Name of the resource group.
31
+ * @param registrationName Name of the Azure Stack registration.
32
+ * @param customerSubscriptionName Name of the product.
33
+ * @param customerCreationParameters Parameters use to create a customer subscription.
34
+ * @param options The options parameters.
35
+ */
36
+ create(resourceGroup: string, registrationName: string, customerSubscriptionName: string, customerCreationParameters: CustomerSubscription, options?: CustomerSubscriptionsCreateOptionalParams): Promise<CustomerSubscriptionsCreateResponse>;
37
+ }
38
+ //# sourceMappingURL=customerSubscriptions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customerSubscriptions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/customerSubscriptions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,oBAAoB,EACpB,uCAAuC,EACvC,sCAAsC,EACtC,gCAAgC,EAChC,yCAAyC,EACzC,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,WAAW,CAAC;AAGnB,sDAAsD;AACtD,MAAM,WAAW,qBAAqB;IACpC;;;;;OAKG;IACH,IAAI,CACF,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,uCAAuC,GAChD,0BAA0B,CAAC,oBAAoB,CAAC,CAAC;IACpD;;;;;;OAMG;IACH,GAAG,CACD,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,wBAAwB,EAAE,MAAM,EAChC,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC7C;;;;;;OAMG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,wBAAwB,EAAE,MAAM,EAChC,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,wBAAwB,EAAE,MAAM,EAChC,0BAA0B,EAAE,oBAAoB,EAChD,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACjD"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=customerSubscriptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customerSubscriptions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/customerSubscriptions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,7 @@
1
+ export * from "./operations";
2
+ export * from "./cloudManifestFile";
3
+ export * from "./customerSubscriptions";
4
+ export * from "./products";
5
+ export * from "./registrations";
6
+ export * from "./linkedSubscriptions";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,14 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export * from "./operations";
9
+ export * from "./cloudManifestFile";
10
+ export * from "./customerSubscriptions";
11
+ export * from "./products";
12
+ export * from "./registrations";
13
+ export * from "./linkedSubscriptions";
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,47 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { LinkedSubscription, LinkedSubscriptionsListByResourceGroupOptionalParams, LinkedSubscriptionsListBySubscriptionOptionalParams, LinkedSubscriptionsGetOptionalParams, LinkedSubscriptionsGetResponse, LinkedSubscriptionsDeleteOptionalParams, LinkedSubscriptionParameter, LinkedSubscriptionsCreateOrUpdateOptionalParams, LinkedSubscriptionsCreateOrUpdateResponse, LinkedSubscriptionsUpdateOptionalParams, LinkedSubscriptionsUpdateResponse } from "../models";
3
+ /** Interface representing a LinkedSubscriptions. */
4
+ export interface LinkedSubscriptions {
5
+ /**
6
+ * Returns a list of all linked subscriptions under current resource group.
7
+ * @param resourceGroup Name of the resource group.
8
+ * @param options The options parameters.
9
+ */
10
+ listByResourceGroup(resourceGroup: string, options?: LinkedSubscriptionsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<LinkedSubscription>;
11
+ /**
12
+ * Returns a list of all linked subscriptions under current subscription.
13
+ * @param options The options parameters.
14
+ */
15
+ listBySubscription(options?: LinkedSubscriptionsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<LinkedSubscription>;
16
+ /**
17
+ * Returns the properties of a Linked Subscription resource.
18
+ * @param resourceGroup Name of the resource group.
19
+ * @param linkedSubscriptionName Name of the Linked Subscription resource.
20
+ * @param options The options parameters.
21
+ */
22
+ get(resourceGroup: string, linkedSubscriptionName: string, options?: LinkedSubscriptionsGetOptionalParams): Promise<LinkedSubscriptionsGetResponse>;
23
+ /**
24
+ * Delete the requested Linked Subscription resource.
25
+ * @param resourceGroup Name of the resource group.
26
+ * @param linkedSubscriptionName Name of the Linked Subscription resource.
27
+ * @param options The options parameters.
28
+ */
29
+ delete(resourceGroup: string, linkedSubscriptionName: string, options?: LinkedSubscriptionsDeleteOptionalParams): Promise<void>;
30
+ /**
31
+ * Create or update a linked subscription resource.
32
+ * @param resourceGroup Name of the resource group.
33
+ * @param linkedSubscriptionName Name of the Linked Subscription resource.
34
+ * @param resource Linked subscription resource parameter.
35
+ * @param options The options parameters.
36
+ */
37
+ createOrUpdate(resourceGroup: string, linkedSubscriptionName: string, resource: LinkedSubscriptionParameter, options?: LinkedSubscriptionsCreateOrUpdateOptionalParams): Promise<LinkedSubscriptionsCreateOrUpdateResponse>;
38
+ /**
39
+ * Patch a Linked Subscription resource.
40
+ * @param resourceGroup Name of the resource group.
41
+ * @param linkedSubscriptionName Name of the Linked Subscription resource.
42
+ * @param resource Linked subscription resource parameter.
43
+ * @param options The options parameters.
44
+ */
45
+ update(resourceGroup: string, linkedSubscriptionName: string, resource: LinkedSubscriptionParameter, options?: LinkedSubscriptionsUpdateOptionalParams): Promise<LinkedSubscriptionsUpdateResponse>;
46
+ }
47
+ //# sourceMappingURL=linkedSubscriptions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkedSubscriptions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/linkedSubscriptions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,oDAAoD,EACpD,mDAAmD,EACnD,oCAAoC,EACpC,8BAA8B,EAC9B,uCAAuC,EACvC,2BAA2B,EAC3B,+CAA+C,EAC/C,yCAAyC,EACzC,uCAAuC,EACvC,iCAAiC,EAClC,MAAM,WAAW,CAAC;AAGnB,oDAAoD;AACpD,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,mBAAmB,CACjB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,oDAAoD,GAC7D,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,mDAAmD,GAC5D,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;;;OAKG;IACH,GAAG,CACD,aAAa,EAAE,MAAM,EACrB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;IAC3C;;;;;OAKG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,cAAc,CACZ,aAAa,EAAE,MAAM,EACrB,sBAAsB,EAAE,MAAM,EAC9B,QAAQ,EAAE,2BAA2B,EACrC,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC,CAAC;IACtD;;;;;;OAMG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,sBAAsB,EAAE,MAAM,EAC9B,QAAQ,EAAE,2BAA2B,EACrC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;CAC/C"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=linkedSubscriptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkedSubscriptions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/linkedSubscriptions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,11 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operation, OperationsListOptionalParams } from "../models";
3
+ /** Interface representing a Operations. */
4
+ export interface Operations {
5
+ /**
6
+ * Returns the list of supported REST operations.
7
+ * @param options The options parameters.
8
+ */
9
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
10
+ }
11
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,WAAW,CAAC;AAGpE,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}