@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,250 +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
- import * as tslib_1 from "tslib";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Mappers from "../models/registrationsMappers";
13
- import * as Parameters from "../models/parameters";
14
- /** Class representing a Registrations. */
15
- var Registrations = /** @class */ (function () {
16
- /**
17
- * Create a Registrations.
18
- * @param {AzureStackManagementClientContext} client Reference to the service client.
19
- */
20
- function Registrations(client) {
21
- this.client = client;
22
- }
23
- Registrations.prototype.list = function (resourceGroup, options, callback) {
24
- return this.client.sendOperationRequest({
25
- resourceGroup: resourceGroup,
26
- options: options
27
- }, listOperationSpec, callback);
28
- };
29
- Registrations.prototype.get = function (resourceGroup, registrationName, options, callback) {
30
- return this.client.sendOperationRequest({
31
- resourceGroup: resourceGroup,
32
- registrationName: registrationName,
33
- options: options
34
- }, getOperationSpec, callback);
35
- };
36
- Registrations.prototype.deleteMethod = function (resourceGroup, registrationName, options, callback) {
37
- return this.client.sendOperationRequest({
38
- resourceGroup: resourceGroup,
39
- registrationName: registrationName,
40
- options: options
41
- }, deleteMethodOperationSpec, callback);
42
- };
43
- Registrations.prototype.createOrUpdate = function (resourceGroup, registrationName, token, options, callback) {
44
- return this.client.sendOperationRequest({
45
- resourceGroup: resourceGroup,
46
- registrationName: registrationName,
47
- token: token,
48
- options: options
49
- }, createOrUpdateOperationSpec, callback);
50
- };
51
- Registrations.prototype.update = function (resourceGroup, registrationName, token, options, callback) {
52
- return this.client.sendOperationRequest({
53
- resourceGroup: resourceGroup,
54
- registrationName: registrationName,
55
- token: token,
56
- options: options
57
- }, updateOperationSpec, callback);
58
- };
59
- Registrations.prototype.getActivationKey = function (resourceGroup, registrationName, options, callback) {
60
- return this.client.sendOperationRequest({
61
- resourceGroup: resourceGroup,
62
- registrationName: registrationName,
63
- options: options
64
- }, getActivationKeyOperationSpec, callback);
65
- };
66
- Registrations.prototype.listNext = function (nextPageLink, options, callback) {
67
- return this.client.sendOperationRequest({
68
- nextPageLink: nextPageLink,
69
- options: options
70
- }, listNextOperationSpec, callback);
71
- };
72
- return Registrations;
73
- }());
74
- export { Registrations };
75
- // Operation Specifications
76
- var serializer = new msRest.Serializer(Mappers);
77
- var listOperationSpec = {
78
- httpMethod: "GET",
79
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations",
80
- urlParameters: [
81
- Parameters.subscriptionId,
82
- Parameters.resourceGroup
83
- ],
84
- queryParameters: [
85
- Parameters.apiVersion
86
- ],
87
- headerParameters: [
88
- Parameters.acceptLanguage
89
- ],
90
- responses: {
91
- 200: {
92
- bodyMapper: Mappers.RegistrationList
93
- },
94
- default: {
95
- bodyMapper: Mappers.ErrorResponse
96
- }
97
- },
98
- serializer: serializer
99
- };
100
- var getOperationSpec = {
101
- httpMethod: "GET",
102
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
103
- urlParameters: [
104
- Parameters.subscriptionId,
105
- Parameters.resourceGroup,
106
- Parameters.registrationName
107
- ],
108
- queryParameters: [
109
- Parameters.apiVersion
110
- ],
111
- headerParameters: [
112
- Parameters.acceptLanguage
113
- ],
114
- responses: {
115
- 200: {
116
- bodyMapper: Mappers.Registration
117
- },
118
- default: {
119
- bodyMapper: Mappers.ErrorResponse
120
- }
121
- },
122
- serializer: serializer
123
- };
124
- var deleteMethodOperationSpec = {
125
- httpMethod: "DELETE",
126
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
127
- urlParameters: [
128
- Parameters.subscriptionId,
129
- Parameters.resourceGroup,
130
- Parameters.registrationName
131
- ],
132
- queryParameters: [
133
- Parameters.apiVersion
134
- ],
135
- headerParameters: [
136
- Parameters.acceptLanguage
137
- ],
138
- responses: {
139
- 200: {},
140
- 204: {},
141
- default: {
142
- bodyMapper: Mappers.ErrorResponse
143
- }
144
- },
145
- serializer: serializer
146
- };
147
- var createOrUpdateOperationSpec = {
148
- httpMethod: "PUT",
149
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
150
- urlParameters: [
151
- Parameters.subscriptionId,
152
- Parameters.resourceGroup,
153
- Parameters.registrationName
154
- ],
155
- queryParameters: [
156
- Parameters.apiVersion
157
- ],
158
- headerParameters: [
159
- Parameters.acceptLanguage
160
- ],
161
- requestBody: {
162
- parameterPath: "token",
163
- mapper: tslib_1.__assign({}, Mappers.RegistrationParameter, { required: true })
164
- },
165
- responses: {
166
- 200: {
167
- bodyMapper: Mappers.Registration
168
- },
169
- 201: {
170
- bodyMapper: Mappers.Registration
171
- },
172
- default: {
173
- bodyMapper: Mappers.CloudError
174
- }
175
- },
176
- serializer: serializer
177
- };
178
- var updateOperationSpec = {
179
- httpMethod: "PATCH",
180
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
181
- urlParameters: [
182
- Parameters.subscriptionId,
183
- Parameters.resourceGroup,
184
- Parameters.registrationName
185
- ],
186
- queryParameters: [
187
- Parameters.apiVersion
188
- ],
189
- headerParameters: [
190
- Parameters.acceptLanguage
191
- ],
192
- requestBody: {
193
- parameterPath: "token",
194
- mapper: tslib_1.__assign({}, Mappers.RegistrationParameter, { required: true })
195
- },
196
- responses: {
197
- 200: {
198
- bodyMapper: Mappers.Registration
199
- },
200
- default: {
201
- bodyMapper: Mappers.ErrorResponse
202
- }
203
- },
204
- serializer: serializer
205
- };
206
- var getActivationKeyOperationSpec = {
207
- httpMethod: "POST",
208
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/getactivationkey",
209
- urlParameters: [
210
- Parameters.subscriptionId,
211
- Parameters.resourceGroup,
212
- Parameters.registrationName
213
- ],
214
- queryParameters: [
215
- Parameters.apiVersion
216
- ],
217
- headerParameters: [
218
- Parameters.acceptLanguage
219
- ],
220
- responses: {
221
- 200: {
222
- bodyMapper: Mappers.ActivationKeyResult
223
- },
224
- default: {
225
- bodyMapper: Mappers.CloudError
226
- }
227
- },
228
- serializer: serializer
229
- };
230
- var listNextOperationSpec = {
231
- httpMethod: "GET",
232
- baseUrl: "https://management.azure.com",
233
- path: "{nextLink}",
234
- urlParameters: [
235
- Parameters.nextPageLink
236
- ],
237
- headerParameters: [
238
- Parameters.acceptLanguage
239
- ],
240
- responses: {
241
- 200: {
242
- bodyMapper: Mappers.RegistrationList
243
- },
244
- default: {
245
- bodyMapper: Mappers.ErrorResponse
246
- }
247
- },
248
- serializer: serializer
249
- };
250
- //# sourceMappingURL=registrations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"registrations.js","sourceRoot":"","sources":["../../lib/operations/registrations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,0CAA0C;AAC1C;IAGE;;;OAGG;IACH,uBAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAoBD,4BAAI,GAAJ,UAAK,aAAqB,EAAE,OAAqF,EAAE,QAA0D;QAC3K,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,aAAa,eAAA;YACb,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,Q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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 * as msRest from "@azure/ms-rest-js";
12
- import * as Models from "./models";
13
- import * as Mappers from "./models/mappers";
14
- import * as operations from "./operations";
15
- import { AzureStackManagementClientContext } from "./azureStackManagementClientContext";
16
-
17
-
18
- class AzureStackManagementClient extends AzureStackManagementClientContext {
19
- // Operation groups
20
- operations: operations.Operations;
21
- products: operations.Products;
22
- registrations: operations.Registrations;
23
- customerSubscriptions: operations.CustomerSubscriptions;
24
-
25
- /**
26
- * Initializes a new instance of the AzureStackManagementClient class.
27
- * @param credentials Credentials needed for the client to connect to Azure.
28
- * @param subscriptionId Subscription credentials that uniquely identify Microsoft Azure
29
- * subscription. The subscription ID forms part of the URI for every service call.
30
- * @param [options] The parameter options
31
- */
32
- constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureStackManagementClientOptions) {
33
- super(credentials, subscriptionId, options);
34
- this.operations = new operations.Operations(this);
35
- this.products = new operations.Products(this);
36
- this.registrations = new operations.Registrations(this);
37
- this.customerSubscriptions = new operations.CustomerSubscriptions(this);
38
- }
39
- }
40
-
41
- // Operation Specifications
42
-
43
- export {
44
- AzureStackManagementClient,
45
- AzureStackManagementClientContext,
46
- Models as AzureStackManagementModels,
47
- Mappers as AzureStackManagementMappers
48
- };
49
- export * from "./operations";
@@ -1,63 +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 * as Models from "./models";
12
- import * as msRest from "@azure/ms-rest-js";
13
- import * as msRestAzure from "@azure/ms-rest-azure-js";
14
-
15
- const packageName = "@azure/arm-azurestack";
16
- const packageVersion = "0.1.0";
17
-
18
- export class AzureStackManagementClientContext extends msRestAzure.AzureServiceClient {
19
- credentials: msRest.ServiceClientCredentials;
20
- subscriptionId: string;
21
- apiVersion?: string;
22
-
23
- /**
24
- * Initializes a new instance of the AzureStackManagementClient class.
25
- * @param credentials Credentials needed for the client to connect to Azure.
26
- * @param subscriptionId Subscription credentials that uniquely identify Microsoft Azure
27
- * subscription. The subscription ID forms part of the URI for every service call.
28
- * @param [options] The parameter options
29
- */
30
- constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureStackManagementClientOptions) {
31
- if (credentials == undefined) {
32
- throw new Error('\'credentials\' cannot be null.');
33
- }
34
- if (subscriptionId == undefined) {
35
- throw new Error('\'subscriptionId\' cannot be null.');
36
- }
37
-
38
- if (!options) {
39
- options = {};
40
- }
41
- if(!options.userAgent) {
42
- const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
43
- options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
44
- }
45
-
46
- super(credentials, options);
47
-
48
- this.apiVersion = '2017-06-01';
49
- this.acceptLanguage = 'en-US';
50
- this.longRunningOperationRetryTimeout = 30;
51
- this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
52
- this.requestContentType = "application/json; charset=utf-8";
53
- this.credentials = credentials;
54
- this.subscriptionId = subscriptionId;
55
-
56
- if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
57
- this.acceptLanguage = options.acceptLanguage;
58
- }
59
- if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
60
- this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
61
- }
62
- }
63
- }
@@ -1,26 +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
- export {
12
- CustomerSubscriptionList,
13
- CustomerSubscription,
14
- Resource,
15
- BaseResource,
16
- ErrorResponse,
17
- ErrorDetails,
18
- CloudError,
19
- TrackedResource,
20
- Product,
21
- IconUris,
22
- ProductLink,
23
- ProductProperties,
24
- Registration
25
- } from "../models/mappers";
26
-