@azure/arm-appconfiguration 2.0.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 (176) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +1 -1
  4. package/README.md +70 -80
  5. package/dist/index.js +3105 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/src/appConfigurationManagementClient.d.ts +22 -0
  10. package/dist-esm/src/appConfigurationManagementClient.d.ts.map +1 -0
  11. package/dist-esm/src/appConfigurationManagementClient.js +55 -0
  12. package/dist-esm/src/appConfigurationManagementClient.js.map +1 -0
  13. package/dist-esm/src/index.d.ts +5 -0
  14. package/dist-esm/src/index.d.ts.map +1 -0
  15. package/dist-esm/src/index.js +12 -0
  16. package/dist-esm/src/index.js.map +1 -0
  17. package/dist-esm/src/lroImpl.d.ts +16 -0
  18. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  19. package/dist-esm/src/lroImpl.js +29 -0
  20. package/dist-esm/src/lroImpl.js.map +1 -0
  21. package/dist-esm/src/models/index.d.ts +826 -0
  22. package/dist-esm/src/models/index.d.ts.map +1 -0
  23. package/dist-esm/src/models/index.js +59 -0
  24. package/dist-esm/src/models/index.js.map +1 -0
  25. package/dist-esm/src/models/mappers.d.ts +38 -0
  26. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  27. package/{esm → dist-esm/src}/models/mappers.js +464 -547
  28. package/dist-esm/src/models/mappers.js.map +1 -0
  29. package/dist-esm/src/models/parameters.d.ts +20 -0
  30. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  31. package/dist-esm/src/models/parameters.js +162 -0
  32. package/dist-esm/src/models/parameters.js.map +1 -0
  33. package/dist-esm/src/operations/configurationStores.d.ts +139 -0
  34. package/dist-esm/src/operations/configurationStores.d.ts.map +1 -0
  35. package/dist-esm/src/operations/configurationStores.js +655 -0
  36. package/dist-esm/src/operations/configurationStores.js.map +1 -0
  37. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  38. package/dist-esm/src/operations/index.d.ts.map +1 -0
  39. package/{esm → dist-esm/src}/operations/index.js +1 -2
  40. package/dist-esm/src/operations/index.js.map +1 -0
  41. package/dist-esm/src/operations/keyValues.d.ts +76 -0
  42. package/dist-esm/src/operations/keyValues.d.ts.map +1 -0
  43. package/dist-esm/src/operations/keyValues.js +284 -0
  44. package/dist-esm/src/operations/keyValues.js.map +1 -0
  45. package/dist-esm/src/operations/operations.d.ts +39 -0
  46. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  47. package/dist-esm/src/operations/operations.js +147 -0
  48. package/dist-esm/src/operations/operations.js.map +1 -0
  49. package/dist-esm/src/operations/privateEndpointConnections.d.ts +84 -0
  50. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  51. package/dist-esm/src/operations/privateEndpointConnections.js +350 -0
  52. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  53. package/dist-esm/src/operations/privateLinkResources.d.ts +47 -0
  54. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  55. package/dist-esm/src/operations/privateLinkResources.js +170 -0
  56. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  57. package/dist-esm/src/operationsInterfaces/configurationStores.d.ts +86 -0
  58. package/dist-esm/src/operationsInterfaces/configurationStores.d.ts.map +1 -0
  59. package/{src/models/privateLinkResourcesMappers.ts → dist-esm/src/operationsInterfaces/configurationStores.js} +2 -8
  60. package/dist-esm/src/operationsInterfaces/configurationStores.js.map +1 -0
  61. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  62. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  63. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  64. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  65. package/dist-esm/src/operationsInterfaces/keyValues.d.ts +50 -0
  66. package/dist-esm/src/operationsInterfaces/keyValues.d.ts.map +1 -0
  67. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/keyValues.js} +2 -1
  68. package/dist-esm/src/operationsInterfaces/keyValues.js.map +1 -0
  69. package/dist-esm/src/operationsInterfaces/operations.d.ts +18 -0
  70. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  71. package/{esm/models/privateLinkResourcesMappers.js → dist-esm/src/operationsInterfaces/operations.js} +2 -2
  72. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  73. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +58 -0
  74. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  75. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  76. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  77. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
  78. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  79. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  80. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  81. package/dist-esm/test/sampleTest.d.ts +2 -0
  82. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  83. package/dist-esm/test/sampleTest.js +40 -0
  84. package/dist-esm/test/sampleTest.js.map +1 -0
  85. package/package.json +65 -32
  86. package/review/arm-appconfiguration.api.md +665 -0
  87. package/rollup.config.js +181 -30
  88. package/src/appConfigurationManagementClient.ts +80 -40
  89. package/src/index.ts +12 -0
  90. package/src/lroImpl.ts +34 -0
  91. package/src/models/index.ts +644 -1242
  92. package/src/models/mappers.ts +467 -557
  93. package/src/models/parameters.ts +119 -46
  94. package/src/operations/configurationStores.ts +638 -419
  95. package/src/operations/index.ts +1 -2
  96. package/src/operations/keyValues.ts +266 -209
  97. package/src/operations/operations.ts +108 -121
  98. package/src/operations/privateEndpointConnections.ts +343 -181
  99. package/src/operations/privateLinkResources.ts +157 -123
  100. package/src/operationsInterfaces/configurationStores.ts +168 -0
  101. package/src/operationsInterfaces/index.ts +13 -0
  102. package/src/operationsInterfaces/keyValues.ts +91 -0
  103. package/src/operationsInterfaces/operations.ts +38 -0
  104. package/src/operationsInterfaces/privateEndpointConnections.ts +111 -0
  105. package/src/operationsInterfaces/privateLinkResources.ts +44 -0
  106. package/tsconfig.json +3 -3
  107. package/types/arm-appconfiguration.d.ts +1171 -0
  108. package/types/tsdoc-metadata.json +11 -0
  109. package/dist/arm-appconfiguration.js +0 -2849
  110. package/dist/arm-appconfiguration.js.map +0 -1
  111. package/dist/arm-appconfiguration.min.js +0 -1
  112. package/dist/arm-appconfiguration.min.js.map +0 -1
  113. package/esm/appConfigurationManagementClient.d.ts +0 -28
  114. package/esm/appConfigurationManagementClient.d.ts.map +0 -1
  115. package/esm/appConfigurationManagementClient.js +0 -41
  116. package/esm/appConfigurationManagementClient.js.map +0 -1
  117. package/esm/appConfigurationManagementClientContext.d.ts +0 -22
  118. package/esm/appConfigurationManagementClientContext.d.ts.map +0 -1
  119. package/esm/appConfigurationManagementClientContext.js +0 -60
  120. package/esm/appConfigurationManagementClientContext.js.map +0 -1
  121. package/esm/models/configurationStoresMappers.d.ts +0 -2
  122. package/esm/models/configurationStoresMappers.d.ts.map +0 -1
  123. package/esm/models/configurationStoresMappers.js +0 -9
  124. package/esm/models/configurationStoresMappers.js.map +0 -1
  125. package/esm/models/index.d.ts +0 -1433
  126. package/esm/models/index.d.ts.map +0 -1
  127. package/esm/models/index.js.map +0 -1
  128. package/esm/models/keyValuesMappers.d.ts +0 -2
  129. package/esm/models/keyValuesMappers.d.ts.map +0 -1
  130. package/esm/models/keyValuesMappers.js +0 -9
  131. package/esm/models/keyValuesMappers.js.map +0 -1
  132. package/esm/models/mappers.d.ts +0 -42
  133. package/esm/models/mappers.d.ts.map +0 -1
  134. package/esm/models/mappers.js.map +0 -1
  135. package/esm/models/operationsMappers.d.ts +0 -2
  136. package/esm/models/operationsMappers.d.ts.map +0 -1
  137. package/esm/models/operationsMappers.js +0 -9
  138. package/esm/models/operationsMappers.js.map +0 -1
  139. package/esm/models/parameters.d.ts +0 -12
  140. package/esm/models/parameters.d.ts.map +0 -1
  141. package/esm/models/parameters.js +0 -117
  142. package/esm/models/parameters.js.map +0 -1
  143. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  144. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  145. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  146. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  147. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  148. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  149. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  150. package/esm/operations/configurationStores.d.ts +0 -219
  151. package/esm/operations/configurationStores.d.ts.map +0 -1
  152. package/esm/operations/configurationStores.js +0 -441
  153. package/esm/operations/configurationStores.js.map +0 -1
  154. package/esm/operations/index.d.ts.map +0 -1
  155. package/esm/operations/index.js.map +0 -1
  156. package/esm/operations/keyValues.d.ts +0 -127
  157. package/esm/operations/keyValues.d.ts.map +0 -1
  158. package/esm/operations/keyValues.js +0 -216
  159. package/esm/operations/keyValues.js.map +0 -1
  160. package/esm/operations/operations.d.ts +0 -67
  161. package/esm/operations/operations.d.ts.map +0 -1
  162. package/esm/operations/operations.js +0 -114
  163. package/esm/operations/operations.js.map +0 -1
  164. package/esm/operations/privateEndpointConnections.d.ts +0 -117
  165. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  166. package/esm/operations/privateEndpointConnections.js +0 -238
  167. package/esm/operations/privateEndpointConnections.js.map +0 -1
  168. package/esm/operations/privateLinkResources.d.ts +0 -76
  169. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  170. package/esm/operations/privateLinkResources.js +0 -119
  171. package/esm/operations/privateLinkResources.js.map +0 -1
  172. package/src/appConfigurationManagementClientContext.ts +0 -67
  173. package/src/models/configurationStoresMappers.ts +0 -35
  174. package/src/models/keyValuesMappers.ts +0 -31
  175. package/src/models/operationsMappers.ts +0 -23
  176. package/src/models/privateEndpointConnectionsMappers.ts +0 -31
@@ -1,2849 +0,0 @@
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
- (function (global, factory) {
9
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
10
- typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
11
- (global = global || self, factory((global.Azure = global.Azure || {}, global.Azure.ArmAppconfiguration = {}), global.msRestAzure, global.msRest));
12
- }(this, (function (exports, msRestAzure, msRest) { 'use strict';
13
-
14
- /*! *****************************************************************************
15
- Copyright (c) Microsoft Corporation.
16
-
17
- Permission to use, copy, modify, and/or distribute this software for any
18
- purpose with or without fee is hereby granted.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
21
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
22
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
23
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
24
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
25
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
26
- PERFORMANCE OF THIS SOFTWARE.
27
- ***************************************************************************** */
28
- /* global Reflect, Promise */
29
-
30
- var extendStatics = function(d, b) {
31
- extendStatics = Object.setPrototypeOf ||
32
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
33
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
34
- return extendStatics(d, b);
35
- };
36
-
37
- function __extends(d, b) {
38
- extendStatics(d, b);
39
- function __() { this.constructor = d; }
40
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41
- }
42
-
43
- var __assign = function() {
44
- __assign = Object.assign || function __assign(t) {
45
- for (var s, i = 1, n = arguments.length; i < n; i++) {
46
- s = arguments[i];
47
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
48
- }
49
- return t;
50
- };
51
- return __assign.apply(this, arguments);
52
- };
53
-
54
- /*
55
- * Copyright (c) Microsoft Corporation.
56
- * Licensed under the MIT License.
57
- *
58
- * Code generated by Microsoft (R) AutoRest Code Generator.
59
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
60
- */
61
-
62
- var index = /*#__PURE__*/Object.freeze({
63
- __proto__: null
64
- });
65
-
66
- /*
67
- * Copyright (c) Microsoft Corporation.
68
- * Licensed under the MIT License.
69
- *
70
- * Code generated by Microsoft (R) AutoRest Code Generator.
71
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
72
- */
73
- var CloudError = msRestAzure.CloudErrorMapper;
74
- var BaseResource = msRestAzure.BaseResourceMapper;
75
- var UserIdentity = {
76
- serializedName: "UserIdentity",
77
- type: {
78
- name: "Composite",
79
- className: "UserIdentity",
80
- modelProperties: {
81
- principalId: {
82
- readOnly: true,
83
- serializedName: "principalId",
84
- type: {
85
- name: "String"
86
- }
87
- },
88
- clientId: {
89
- readOnly: true,
90
- serializedName: "clientId",
91
- type: {
92
- name: "String"
93
- }
94
- }
95
- }
96
- }
97
- };
98
- var ResourceIdentity = {
99
- serializedName: "ResourceIdentity",
100
- type: {
101
- name: "Composite",
102
- className: "ResourceIdentity",
103
- modelProperties: {
104
- type: {
105
- serializedName: "type",
106
- type: {
107
- name: "String"
108
- }
109
- },
110
- userAssignedIdentities: {
111
- serializedName: "userAssignedIdentities",
112
- type: {
113
- name: "Dictionary",
114
- value: {
115
- type: {
116
- name: "Composite",
117
- className: "UserIdentity"
118
- }
119
- }
120
- }
121
- },
122
- principalId: {
123
- readOnly: true,
124
- serializedName: "principalId",
125
- type: {
126
- name: "String"
127
- }
128
- },
129
- tenantId: {
130
- readOnly: true,
131
- serializedName: "tenantId",
132
- type: {
133
- name: "String"
134
- }
135
- }
136
- }
137
- }
138
- };
139
- var KeyVaultProperties = {
140
- serializedName: "KeyVaultProperties",
141
- type: {
142
- name: "Composite",
143
- className: "KeyVaultProperties",
144
- modelProperties: {
145
- keyIdentifier: {
146
- serializedName: "keyIdentifier",
147
- type: {
148
- name: "String"
149
- }
150
- },
151
- identityClientId: {
152
- serializedName: "identityClientId",
153
- type: {
154
- name: "String"
155
- }
156
- }
157
- }
158
- }
159
- };
160
- var EncryptionProperties = {
161
- serializedName: "EncryptionProperties",
162
- type: {
163
- name: "Composite",
164
- className: "EncryptionProperties",
165
- modelProperties: {
166
- keyVaultProperties: {
167
- serializedName: "keyVaultProperties",
168
- type: {
169
- name: "Composite",
170
- className: "KeyVaultProperties"
171
- }
172
- }
173
- }
174
- }
175
- };
176
- var PrivateEndpoint = {
177
- serializedName: "PrivateEndpoint",
178
- type: {
179
- name: "Composite",
180
- className: "PrivateEndpoint",
181
- modelProperties: {
182
- id: {
183
- serializedName: "id",
184
- type: {
185
- name: "String"
186
- }
187
- }
188
- }
189
- }
190
- };
191
- var PrivateLinkServiceConnectionState = {
192
- serializedName: "PrivateLinkServiceConnectionState",
193
- type: {
194
- name: "Composite",
195
- className: "PrivateLinkServiceConnectionState",
196
- modelProperties: {
197
- status: {
198
- serializedName: "status",
199
- type: {
200
- name: "String"
201
- }
202
- },
203
- description: {
204
- serializedName: "description",
205
- type: {
206
- name: "String"
207
- }
208
- },
209
- actionsRequired: {
210
- readOnly: true,
211
- serializedName: "actionsRequired",
212
- type: {
213
- name: "String"
214
- }
215
- }
216
- }
217
- }
218
- };
219
- var PrivateEndpointConnectionReference = {
220
- serializedName: "PrivateEndpointConnectionReference",
221
- type: {
222
- name: "Composite",
223
- className: "PrivateEndpointConnectionReference",
224
- modelProperties: {
225
- id: {
226
- readOnly: true,
227
- serializedName: "id",
228
- type: {
229
- name: "String"
230
- }
231
- },
232
- name: {
233
- readOnly: true,
234
- serializedName: "name",
235
- type: {
236
- name: "String"
237
- }
238
- },
239
- type: {
240
- readOnly: true,
241
- serializedName: "type",
242
- type: {
243
- name: "String"
244
- }
245
- },
246
- provisioningState: {
247
- readOnly: true,
248
- serializedName: "properties.provisioningState",
249
- type: {
250
- name: "String"
251
- }
252
- },
253
- privateEndpoint: {
254
- serializedName: "properties.privateEndpoint",
255
- type: {
256
- name: "Composite",
257
- className: "PrivateEndpoint"
258
- }
259
- },
260
- privateLinkServiceConnectionState: {
261
- required: true,
262
- serializedName: "properties.privateLinkServiceConnectionState",
263
- type: {
264
- name: "Composite",
265
- className: "PrivateLinkServiceConnectionState"
266
- }
267
- }
268
- }
269
- }
270
- };
271
- var Sku = {
272
- serializedName: "Sku",
273
- type: {
274
- name: "Composite",
275
- className: "Sku",
276
- modelProperties: {
277
- name: {
278
- required: true,
279
- serializedName: "name",
280
- type: {
281
- name: "String"
282
- }
283
- }
284
- }
285
- }
286
- };
287
- var SystemData = {
288
- serializedName: "systemData",
289
- type: {
290
- name: "Composite",
291
- className: "SystemData",
292
- modelProperties: {
293
- createdBy: {
294
- serializedName: "createdBy",
295
- type: {
296
- name: "String"
297
- }
298
- },
299
- createdByType: {
300
- serializedName: "createdByType",
301
- type: {
302
- name: "String"
303
- }
304
- },
305
- createdAt: {
306
- serializedName: "createdAt",
307
- type: {
308
- name: "DateTime"
309
- }
310
- },
311
- lastModifiedBy: {
312
- serializedName: "lastModifiedBy",
313
- type: {
314
- name: "String"
315
- }
316
- },
317
- lastModifiedByType: {
318
- serializedName: "lastModifiedByType",
319
- type: {
320
- name: "String"
321
- }
322
- },
323
- lastModifiedAt: {
324
- serializedName: "lastModifiedAt",
325
- type: {
326
- name: "DateTime"
327
- }
328
- }
329
- }
330
- }
331
- };
332
- var Resource = {
333
- serializedName: "Resource",
334
- type: {
335
- name: "Composite",
336
- className: "Resource",
337
- modelProperties: {
338
- id: {
339
- readOnly: true,
340
- serializedName: "id",
341
- type: {
342
- name: "String"
343
- }
344
- },
345
- name: {
346
- readOnly: true,
347
- serializedName: "name",
348
- type: {
349
- name: "String"
350
- }
351
- },
352
- type: {
353
- readOnly: true,
354
- serializedName: "type",
355
- type: {
356
- name: "String"
357
- }
358
- }
359
- }
360
- }
361
- };
362
- var TrackedResource = {
363
- serializedName: "TrackedResource",
364
- type: {
365
- name: "Composite",
366
- className: "TrackedResource",
367
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { tags: {
368
- serializedName: "tags",
369
- type: {
370
- name: "Dictionary",
371
- value: {
372
- type: {
373
- name: "String"
374
- }
375
- }
376
- }
377
- }, location: {
378
- required: true,
379
- serializedName: "location",
380
- type: {
381
- name: "String"
382
- }
383
- } })
384
- }
385
- };
386
- var ConfigurationStore = {
387
- serializedName: "ConfigurationStore",
388
- type: {
389
- name: "Composite",
390
- className: "ConfigurationStore",
391
- modelProperties: __assign(__assign({}, TrackedResource.type.modelProperties), { identity: {
392
- serializedName: "identity",
393
- type: {
394
- name: "Composite",
395
- className: "ResourceIdentity"
396
- }
397
- }, provisioningState: {
398
- readOnly: true,
399
- serializedName: "properties.provisioningState",
400
- type: {
401
- name: "String"
402
- }
403
- }, creationDate: {
404
- readOnly: true,
405
- serializedName: "properties.creationDate",
406
- type: {
407
- name: "DateTime"
408
- }
409
- }, endpoint: {
410
- readOnly: true,
411
- serializedName: "properties.endpoint",
412
- type: {
413
- name: "String"
414
- }
415
- }, encryption: {
416
- serializedName: "properties.encryption",
417
- type: {
418
- name: "Composite",
419
- className: "EncryptionProperties"
420
- }
421
- }, privateEndpointConnections: {
422
- readOnly: true,
423
- serializedName: "properties.privateEndpointConnections",
424
- type: {
425
- name: "Sequence",
426
- element: {
427
- type: {
428
- name: "Composite",
429
- className: "PrivateEndpointConnectionReference"
430
- }
431
- }
432
- }
433
- }, publicNetworkAccess: {
434
- serializedName: "properties.publicNetworkAccess",
435
- type: {
436
- name: "String"
437
- }
438
- }, disableLocalAuth: {
439
- serializedName: "properties.disableLocalAuth",
440
- type: {
441
- name: "Boolean"
442
- }
443
- }, sku: {
444
- required: true,
445
- serializedName: "sku",
446
- type: {
447
- name: "Composite",
448
- className: "Sku"
449
- }
450
- }, systemData: {
451
- serializedName: "systemData",
452
- type: {
453
- name: "Composite",
454
- className: "SystemData"
455
- }
456
- } })
457
- }
458
- };
459
- var ConfigurationStoreUpdateParameters = {
460
- serializedName: "ConfigurationStoreUpdateParameters",
461
- type: {
462
- name: "Composite",
463
- className: "ConfigurationStoreUpdateParameters",
464
- modelProperties: {
465
- encryption: {
466
- serializedName: "properties.encryption",
467
- type: {
468
- name: "Composite",
469
- className: "EncryptionProperties"
470
- }
471
- },
472
- disableLocalAuth: {
473
- serializedName: "properties.disableLocalAuth",
474
- type: {
475
- name: "Boolean"
476
- }
477
- },
478
- publicNetworkAccess: {
479
- serializedName: "properties.publicNetworkAccess",
480
- type: {
481
- name: "String"
482
- }
483
- },
484
- identity: {
485
- serializedName: "identity",
486
- type: {
487
- name: "Composite",
488
- className: "ResourceIdentity"
489
- }
490
- },
491
- sku: {
492
- serializedName: "sku",
493
- type: {
494
- name: "Composite",
495
- className: "Sku"
496
- }
497
- },
498
- tags: {
499
- serializedName: "tags",
500
- type: {
501
- name: "Dictionary",
502
- value: {
503
- type: {
504
- name: "String"
505
- }
506
- }
507
- }
508
- }
509
- }
510
- }
511
- };
512
- var CheckNameAvailabilityParameters = {
513
- serializedName: "CheckNameAvailabilityParameters",
514
- type: {
515
- name: "Composite",
516
- className: "CheckNameAvailabilityParameters",
517
- modelProperties: {
518
- name: {
519
- required: true,
520
- serializedName: "name",
521
- type: {
522
- name: "String"
523
- }
524
- },
525
- type: {
526
- required: true,
527
- isConstant: true,
528
- serializedName: "type",
529
- defaultValue: 'Microsoft.AppConfiguration/configurationStores',
530
- type: {
531
- name: "String"
532
- }
533
- }
534
- }
535
- }
536
- };
537
- var NameAvailabilityStatus = {
538
- serializedName: "NameAvailabilityStatus",
539
- type: {
540
- name: "Composite",
541
- className: "NameAvailabilityStatus",
542
- modelProperties: {
543
- nameAvailable: {
544
- readOnly: true,
545
- serializedName: "nameAvailable",
546
- type: {
547
- name: "Boolean"
548
- }
549
- },
550
- message: {
551
- readOnly: true,
552
- serializedName: "message",
553
- type: {
554
- name: "String"
555
- }
556
- },
557
- reason: {
558
- readOnly: true,
559
- serializedName: "reason",
560
- type: {
561
- name: "String"
562
- }
563
- }
564
- }
565
- }
566
- };
567
- var ApiKey = {
568
- serializedName: "ApiKey",
569
- type: {
570
- name: "Composite",
571
- className: "ApiKey",
572
- modelProperties: {
573
- id: {
574
- readOnly: true,
575
- serializedName: "id",
576
- type: {
577
- name: "String"
578
- }
579
- },
580
- name: {
581
- readOnly: true,
582
- serializedName: "name",
583
- type: {
584
- name: "String"
585
- }
586
- },
587
- value: {
588
- readOnly: true,
589
- serializedName: "value",
590
- type: {
591
- name: "String"
592
- }
593
- },
594
- connectionString: {
595
- readOnly: true,
596
- serializedName: "connectionString",
597
- type: {
598
- name: "String"
599
- }
600
- },
601
- lastModified: {
602
- readOnly: true,
603
- serializedName: "lastModified",
604
- type: {
605
- name: "DateTime"
606
- }
607
- },
608
- readOnly: {
609
- readOnly: true,
610
- serializedName: "readOnly",
611
- type: {
612
- name: "Boolean"
613
- }
614
- }
615
- }
616
- }
617
- };
618
- var RegenerateKeyParameters = {
619
- serializedName: "RegenerateKeyParameters",
620
- type: {
621
- name: "Composite",
622
- className: "RegenerateKeyParameters",
623
- modelProperties: {
624
- id: {
625
- serializedName: "id",
626
- type: {
627
- name: "String"
628
- }
629
- }
630
- }
631
- }
632
- };
633
- var KeyValue = {
634
- serializedName: "KeyValue",
635
- type: {
636
- name: "Composite",
637
- className: "KeyValue",
638
- modelProperties: {
639
- id: {
640
- readOnly: true,
641
- serializedName: "id",
642
- type: {
643
- name: "String"
644
- }
645
- },
646
- name: {
647
- readOnly: true,
648
- serializedName: "name",
649
- type: {
650
- name: "String"
651
- }
652
- },
653
- type: {
654
- readOnly: true,
655
- serializedName: "type",
656
- type: {
657
- name: "String"
658
- }
659
- },
660
- key: {
661
- readOnly: true,
662
- serializedName: "properties.key",
663
- type: {
664
- name: "String"
665
- }
666
- },
667
- label: {
668
- readOnly: true,
669
- serializedName: "properties.label",
670
- type: {
671
- name: "String"
672
- }
673
- },
674
- value: {
675
- serializedName: "properties.value",
676
- type: {
677
- name: "String"
678
- }
679
- },
680
- contentType: {
681
- serializedName: "properties.contentType",
682
- type: {
683
- name: "String"
684
- }
685
- },
686
- eTag: {
687
- readOnly: true,
688
- serializedName: "properties.eTag",
689
- type: {
690
- name: "String"
691
- }
692
- },
693
- lastModified: {
694
- readOnly: true,
695
- serializedName: "properties.lastModified",
696
- type: {
697
- name: "DateTime"
698
- }
699
- },
700
- locked: {
701
- readOnly: true,
702
- serializedName: "properties.locked",
703
- type: {
704
- name: "Boolean"
705
- }
706
- },
707
- tags: {
708
- serializedName: "properties.tags",
709
- type: {
710
- name: "Dictionary",
711
- value: {
712
- type: {
713
- name: "String"
714
- }
715
- }
716
- }
717
- }
718
- }
719
- }
720
- };
721
- var OperationDefinitionDisplay = {
722
- serializedName: "OperationDefinitionDisplay",
723
- type: {
724
- name: "Composite",
725
- className: "OperationDefinitionDisplay",
726
- modelProperties: {
727
- provider: {
728
- readOnly: true,
729
- serializedName: "provider",
730
- type: {
731
- name: "String"
732
- }
733
- },
734
- resource: {
735
- serializedName: "resource",
736
- type: {
737
- name: "String"
738
- }
739
- },
740
- operation: {
741
- serializedName: "operation",
742
- type: {
743
- name: "String"
744
- }
745
- },
746
- description: {
747
- serializedName: "description",
748
- type: {
749
- name: "String"
750
- }
751
- }
752
- }
753
- }
754
- };
755
- var LogSpecification = {
756
- serializedName: "LogSpecification",
757
- type: {
758
- name: "Composite",
759
- className: "LogSpecification",
760
- modelProperties: {
761
- name: {
762
- serializedName: "name",
763
- type: {
764
- name: "String"
765
- }
766
- },
767
- displayName: {
768
- serializedName: "displayName",
769
- type: {
770
- name: "String"
771
- }
772
- },
773
- blobDuration: {
774
- serializedName: "blobDuration",
775
- type: {
776
- name: "String"
777
- }
778
- }
779
- }
780
- }
781
- };
782
- var MetricDimension = {
783
- serializedName: "MetricDimension",
784
- type: {
785
- name: "Composite",
786
- className: "MetricDimension",
787
- modelProperties: {
788
- name: {
789
- serializedName: "name",
790
- type: {
791
- name: "String"
792
- }
793
- },
794
- displayName: {
795
- serializedName: "displayName",
796
- type: {
797
- name: "String"
798
- }
799
- },
800
- internalName: {
801
- serializedName: "internalName",
802
- type: {
803
- name: "String"
804
- }
805
- }
806
- }
807
- }
808
- };
809
- var MetricSpecification = {
810
- serializedName: "MetricSpecification",
811
- type: {
812
- name: "Composite",
813
- className: "MetricSpecification",
814
- modelProperties: {
815
- name: {
816
- serializedName: "name",
817
- type: {
818
- name: "String"
819
- }
820
- },
821
- displayName: {
822
- serializedName: "displayName",
823
- type: {
824
- name: "String"
825
- }
826
- },
827
- displayDescription: {
828
- serializedName: "displayDescription",
829
- type: {
830
- name: "String"
831
- }
832
- },
833
- unit: {
834
- serializedName: "unit",
835
- type: {
836
- name: "String"
837
- }
838
- },
839
- aggregationType: {
840
- serializedName: "aggregationType",
841
- type: {
842
- name: "String"
843
- }
844
- },
845
- internalMetricName: {
846
- serializedName: "internalMetricName",
847
- type: {
848
- name: "String"
849
- }
850
- },
851
- dimensions: {
852
- serializedName: "dimensions",
853
- type: {
854
- name: "Sequence",
855
- element: {
856
- type: {
857
- name: "Composite",
858
- className: "MetricDimension"
859
- }
860
- }
861
- }
862
- },
863
- fillGapWithZero: {
864
- serializedName: "fillGapWithZero",
865
- type: {
866
- name: "Boolean"
867
- }
868
- }
869
- }
870
- }
871
- };
872
- var ServiceSpecification = {
873
- serializedName: "ServiceSpecification",
874
- type: {
875
- name: "Composite",
876
- className: "ServiceSpecification",
877
- modelProperties: {
878
- logSpecifications: {
879
- serializedName: "logSpecifications",
880
- type: {
881
- name: "Sequence",
882
- element: {
883
- type: {
884
- name: "Composite",
885
- className: "LogSpecification"
886
- }
887
- }
888
- }
889
- },
890
- metricSpecifications: {
891
- serializedName: "metricSpecifications",
892
- type: {
893
- name: "Sequence",
894
- element: {
895
- type: {
896
- name: "Composite",
897
- className: "MetricSpecification"
898
- }
899
- }
900
- }
901
- }
902
- }
903
- }
904
- };
905
- var OperationProperties = {
906
- serializedName: "OperationProperties",
907
- type: {
908
- name: "Composite",
909
- className: "OperationProperties",
910
- modelProperties: {
911
- serviceSpecification: {
912
- serializedName: "serviceSpecification",
913
- type: {
914
- name: "Composite",
915
- className: "ServiceSpecification"
916
- }
917
- }
918
- }
919
- }
920
- };
921
- var OperationDefinition = {
922
- serializedName: "OperationDefinition",
923
- type: {
924
- name: "Composite",
925
- className: "OperationDefinition",
926
- modelProperties: {
927
- name: {
928
- serializedName: "name",
929
- type: {
930
- name: "String"
931
- }
932
- },
933
- isDataAction: {
934
- serializedName: "isDataAction",
935
- type: {
936
- name: "Boolean"
937
- }
938
- },
939
- display: {
940
- serializedName: "display",
941
- type: {
942
- name: "Composite",
943
- className: "OperationDefinitionDisplay"
944
- }
945
- },
946
- origin: {
947
- serializedName: "origin",
948
- type: {
949
- name: "String"
950
- }
951
- },
952
- properties: {
953
- serializedName: "properties",
954
- type: {
955
- name: "Composite",
956
- className: "OperationProperties"
957
- }
958
- }
959
- }
960
- }
961
- };
962
- var ErrorAdditionalInfo = {
963
- serializedName: "ErrorAdditionalInfo",
964
- type: {
965
- name: "Composite",
966
- className: "ErrorAdditionalInfo",
967
- modelProperties: {
968
- type: {
969
- readOnly: true,
970
- serializedName: "type",
971
- type: {
972
- name: "String"
973
- }
974
- },
975
- info: {
976
- readOnly: true,
977
- serializedName: "info",
978
- type: {
979
- name: "Object"
980
- }
981
- }
982
- }
983
- }
984
- };
985
- var ErrorDetails = {
986
- serializedName: "ErrorDetails",
987
- type: {
988
- name: "Composite",
989
- className: "ErrorDetails",
990
- modelProperties: {
991
- code: {
992
- readOnly: true,
993
- serializedName: "code",
994
- type: {
995
- name: "String"
996
- }
997
- },
998
- message: {
999
- readOnly: true,
1000
- serializedName: "message",
1001
- type: {
1002
- name: "String"
1003
- }
1004
- },
1005
- additionalInfo: {
1006
- readOnly: true,
1007
- serializedName: "additionalInfo",
1008
- type: {
1009
- name: "Sequence",
1010
- element: {
1011
- type: {
1012
- name: "Composite",
1013
- className: "ErrorAdditionalInfo"
1014
- }
1015
- }
1016
- }
1017
- }
1018
- }
1019
- }
1020
- };
1021
- var ErrorResponse = {
1022
- serializedName: "ErrorResponse",
1023
- type: {
1024
- name: "Composite",
1025
- className: "ErrorResponse",
1026
- modelProperties: {
1027
- error: {
1028
- serializedName: "error",
1029
- type: {
1030
- name: "Composite",
1031
- className: "ErrorDetails"
1032
- }
1033
- }
1034
- }
1035
- }
1036
- };
1037
- var PrivateEndpointConnection = {
1038
- serializedName: "PrivateEndpointConnection",
1039
- type: {
1040
- name: "Composite",
1041
- className: "PrivateEndpointConnection",
1042
- modelProperties: {
1043
- id: {
1044
- readOnly: true,
1045
- serializedName: "id",
1046
- type: {
1047
- name: "String"
1048
- }
1049
- },
1050
- name: {
1051
- readOnly: true,
1052
- serializedName: "name",
1053
- type: {
1054
- name: "String"
1055
- }
1056
- },
1057
- type: {
1058
- readOnly: true,
1059
- serializedName: "type",
1060
- type: {
1061
- name: "String"
1062
- }
1063
- },
1064
- provisioningState: {
1065
- readOnly: true,
1066
- serializedName: "properties.provisioningState",
1067
- type: {
1068
- name: "String"
1069
- }
1070
- },
1071
- privateEndpoint: {
1072
- serializedName: "properties.privateEndpoint",
1073
- type: {
1074
- name: "Composite",
1075
- className: "PrivateEndpoint"
1076
- }
1077
- },
1078
- privateLinkServiceConnectionState: {
1079
- required: true,
1080
- serializedName: "properties.privateLinkServiceConnectionState",
1081
- type: {
1082
- name: "Composite",
1083
- className: "PrivateLinkServiceConnectionState"
1084
- }
1085
- }
1086
- }
1087
- }
1088
- };
1089
- var PrivateLinkResource = {
1090
- serializedName: "PrivateLinkResource",
1091
- type: {
1092
- name: "Composite",
1093
- className: "PrivateLinkResource",
1094
- modelProperties: {
1095
- id: {
1096
- readOnly: true,
1097
- serializedName: "id",
1098
- type: {
1099
- name: "String"
1100
- }
1101
- },
1102
- name: {
1103
- readOnly: true,
1104
- serializedName: "name",
1105
- type: {
1106
- name: "String"
1107
- }
1108
- },
1109
- type: {
1110
- readOnly: true,
1111
- serializedName: "type",
1112
- type: {
1113
- name: "String"
1114
- }
1115
- },
1116
- groupId: {
1117
- readOnly: true,
1118
- serializedName: "properties.groupId",
1119
- type: {
1120
- name: "String"
1121
- }
1122
- },
1123
- requiredMembers: {
1124
- readOnly: true,
1125
- serializedName: "properties.requiredMembers",
1126
- type: {
1127
- name: "Sequence",
1128
- element: {
1129
- type: {
1130
- name: "String"
1131
- }
1132
- }
1133
- }
1134
- },
1135
- requiredZoneNames: {
1136
- readOnly: true,
1137
- serializedName: "properties.requiredZoneNames",
1138
- type: {
1139
- name: "Sequence",
1140
- element: {
1141
- type: {
1142
- name: "String"
1143
- }
1144
- }
1145
- }
1146
- }
1147
- }
1148
- }
1149
- };
1150
- var ProxyResource = {
1151
- serializedName: "ProxyResource",
1152
- type: {
1153
- name: "Composite",
1154
- className: "ProxyResource",
1155
- modelProperties: __assign({}, Resource.type.modelProperties)
1156
- }
1157
- };
1158
- var AzureEntityResource = {
1159
- serializedName: "AzureEntityResource",
1160
- type: {
1161
- name: "Composite",
1162
- className: "AzureEntityResource",
1163
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { etag: {
1164
- readOnly: true,
1165
- serializedName: "etag",
1166
- type: {
1167
- name: "String"
1168
- }
1169
- } })
1170
- }
1171
- };
1172
- var ConfigurationStoreListResult = {
1173
- serializedName: "ConfigurationStoreListResult",
1174
- type: {
1175
- name: "Composite",
1176
- className: "ConfigurationStoreListResult",
1177
- modelProperties: {
1178
- value: {
1179
- serializedName: "",
1180
- type: {
1181
- name: "Sequence",
1182
- element: {
1183
- type: {
1184
- name: "Composite",
1185
- className: "ConfigurationStore"
1186
- }
1187
- }
1188
- }
1189
- },
1190
- nextLink: {
1191
- serializedName: "nextLink",
1192
- type: {
1193
- name: "String"
1194
- }
1195
- }
1196
- }
1197
- }
1198
- };
1199
- var ApiKeyListResult = {
1200
- serializedName: "ApiKeyListResult",
1201
- type: {
1202
- name: "Composite",
1203
- className: "ApiKeyListResult",
1204
- modelProperties: {
1205
- value: {
1206
- serializedName: "",
1207
- type: {
1208
- name: "Sequence",
1209
- element: {
1210
- type: {
1211
- name: "Composite",
1212
- className: "ApiKey"
1213
- }
1214
- }
1215
- }
1216
- },
1217
- nextLink: {
1218
- serializedName: "nextLink",
1219
- type: {
1220
- name: "String"
1221
- }
1222
- }
1223
- }
1224
- }
1225
- };
1226
- var OperationDefinitionListResult = {
1227
- serializedName: "OperationDefinitionListResult",
1228
- type: {
1229
- name: "Composite",
1230
- className: "OperationDefinitionListResult",
1231
- modelProperties: {
1232
- value: {
1233
- serializedName: "",
1234
- type: {
1235
- name: "Sequence",
1236
- element: {
1237
- type: {
1238
- name: "Composite",
1239
- className: "OperationDefinition"
1240
- }
1241
- }
1242
- }
1243
- },
1244
- nextLink: {
1245
- serializedName: "nextLink",
1246
- type: {
1247
- name: "String"
1248
- }
1249
- }
1250
- }
1251
- }
1252
- };
1253
- var PrivateEndpointConnectionListResult = {
1254
- serializedName: "PrivateEndpointConnectionListResult",
1255
- type: {
1256
- name: "Composite",
1257
- className: "PrivateEndpointConnectionListResult",
1258
- modelProperties: {
1259
- value: {
1260
- serializedName: "",
1261
- type: {
1262
- name: "Sequence",
1263
- element: {
1264
- type: {
1265
- name: "Composite",
1266
- className: "PrivateEndpointConnection"
1267
- }
1268
- }
1269
- }
1270
- },
1271
- nextLink: {
1272
- serializedName: "nextLink",
1273
- type: {
1274
- name: "String"
1275
- }
1276
- }
1277
- }
1278
- }
1279
- };
1280
- var PrivateLinkResourceListResult = {
1281
- serializedName: "PrivateLinkResourceListResult",
1282
- type: {
1283
- name: "Composite",
1284
- className: "PrivateLinkResourceListResult",
1285
- modelProperties: {
1286
- value: {
1287
- serializedName: "",
1288
- type: {
1289
- name: "Sequence",
1290
- element: {
1291
- type: {
1292
- name: "Composite",
1293
- className: "PrivateLinkResource"
1294
- }
1295
- }
1296
- }
1297
- },
1298
- nextLink: {
1299
- serializedName: "nextLink",
1300
- type: {
1301
- name: "String"
1302
- }
1303
- }
1304
- }
1305
- }
1306
- };
1307
- var KeyValueListResult = {
1308
- serializedName: "KeyValueListResult",
1309
- type: {
1310
- name: "Composite",
1311
- className: "KeyValueListResult",
1312
- modelProperties: {
1313
- value: {
1314
- serializedName: "",
1315
- type: {
1316
- name: "Sequence",
1317
- element: {
1318
- type: {
1319
- name: "Composite",
1320
- className: "KeyValue"
1321
- }
1322
- }
1323
- }
1324
- },
1325
- nextLink: {
1326
- serializedName: "nextLink",
1327
- type: {
1328
- name: "String"
1329
- }
1330
- }
1331
- }
1332
- }
1333
- };
1334
-
1335
- var mappers = /*#__PURE__*/Object.freeze({
1336
- __proto__: null,
1337
- CloudError: CloudError,
1338
- BaseResource: BaseResource,
1339
- UserIdentity: UserIdentity,
1340
- ResourceIdentity: ResourceIdentity,
1341
- KeyVaultProperties: KeyVaultProperties,
1342
- EncryptionProperties: EncryptionProperties,
1343
- PrivateEndpoint: PrivateEndpoint,
1344
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
1345
- PrivateEndpointConnectionReference: PrivateEndpointConnectionReference,
1346
- Sku: Sku,
1347
- SystemData: SystemData,
1348
- Resource: Resource,
1349
- TrackedResource: TrackedResource,
1350
- ConfigurationStore: ConfigurationStore,
1351
- ConfigurationStoreUpdateParameters: ConfigurationStoreUpdateParameters,
1352
- CheckNameAvailabilityParameters: CheckNameAvailabilityParameters,
1353
- NameAvailabilityStatus: NameAvailabilityStatus,
1354
- ApiKey: ApiKey,
1355
- RegenerateKeyParameters: RegenerateKeyParameters,
1356
- KeyValue: KeyValue,
1357
- OperationDefinitionDisplay: OperationDefinitionDisplay,
1358
- LogSpecification: LogSpecification,
1359
- MetricDimension: MetricDimension,
1360
- MetricSpecification: MetricSpecification,
1361
- ServiceSpecification: ServiceSpecification,
1362
- OperationProperties: OperationProperties,
1363
- OperationDefinition: OperationDefinition,
1364
- ErrorAdditionalInfo: ErrorAdditionalInfo,
1365
- ErrorDetails: ErrorDetails,
1366
- ErrorResponse: ErrorResponse,
1367
- PrivateEndpointConnection: PrivateEndpointConnection,
1368
- PrivateLinkResource: PrivateLinkResource,
1369
- ProxyResource: ProxyResource,
1370
- AzureEntityResource: AzureEntityResource,
1371
- ConfigurationStoreListResult: ConfigurationStoreListResult,
1372
- ApiKeyListResult: ApiKeyListResult,
1373
- OperationDefinitionListResult: OperationDefinitionListResult,
1374
- PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
1375
- PrivateLinkResourceListResult: PrivateLinkResourceListResult,
1376
- KeyValueListResult: KeyValueListResult
1377
- });
1378
-
1379
- /*
1380
- * Copyright (c) Microsoft Corporation.
1381
- * Licensed under the MIT License.
1382
- *
1383
- * Code generated by Microsoft (R) AutoRest Code Generator.
1384
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1385
- */
1386
-
1387
- var Mappers = /*#__PURE__*/Object.freeze({
1388
- __proto__: null,
1389
- ApiKey: ApiKey,
1390
- ApiKeyListResult: ApiKeyListResult,
1391
- AzureEntityResource: AzureEntityResource,
1392
- BaseResource: BaseResource,
1393
- ConfigurationStore: ConfigurationStore,
1394
- ConfigurationStoreListResult: ConfigurationStoreListResult,
1395
- ConfigurationStoreUpdateParameters: ConfigurationStoreUpdateParameters,
1396
- EncryptionProperties: EncryptionProperties,
1397
- ErrorAdditionalInfo: ErrorAdditionalInfo,
1398
- ErrorDetails: ErrorDetails,
1399
- ErrorResponse: ErrorResponse,
1400
- KeyValue: KeyValue,
1401
- KeyVaultProperties: KeyVaultProperties,
1402
- PrivateEndpoint: PrivateEndpoint,
1403
- PrivateEndpointConnection: PrivateEndpointConnection,
1404
- PrivateEndpointConnectionReference: PrivateEndpointConnectionReference,
1405
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
1406
- ProxyResource: ProxyResource,
1407
- RegenerateKeyParameters: RegenerateKeyParameters,
1408
- Resource: Resource,
1409
- ResourceIdentity: ResourceIdentity,
1410
- Sku: Sku,
1411
- SystemData: SystemData,
1412
- TrackedResource: TrackedResource,
1413
- UserIdentity: UserIdentity
1414
- });
1415
-
1416
- /*
1417
- * Copyright (c) Microsoft Corporation.
1418
- * Licensed under the MIT License.
1419
- *
1420
- * Code generated by Microsoft (R) AutoRest Code Generator.
1421
- * Changes may cause incorrect behavior and will be lost if the code is
1422
- * regenerated.
1423
- */
1424
- var acceptLanguage = {
1425
- parameterPath: "acceptLanguage",
1426
- mapper: {
1427
- serializedName: "accept-language",
1428
- defaultValue: 'en-US',
1429
- type: {
1430
- name: "String"
1431
- }
1432
- }
1433
- };
1434
- var apiVersion = {
1435
- parameterPath: "apiVersion",
1436
- mapper: {
1437
- required: true,
1438
- serializedName: "api-version",
1439
- type: {
1440
- name: "String"
1441
- }
1442
- }
1443
- };
1444
- var configStoreName = {
1445
- parameterPath: "configStoreName",
1446
- mapper: {
1447
- required: true,
1448
- serializedName: "configStoreName",
1449
- constraints: {
1450
- MaxLength: 50,
1451
- MinLength: 5,
1452
- Pattern: /^[a-zA-Z0-9_-]*$/
1453
- },
1454
- type: {
1455
- name: "String"
1456
- }
1457
- }
1458
- };
1459
- var groupName = {
1460
- parameterPath: "groupName",
1461
- mapper: {
1462
- required: true,
1463
- serializedName: "groupName",
1464
- type: {
1465
- name: "String"
1466
- }
1467
- }
1468
- };
1469
- var keyValueName = {
1470
- parameterPath: "keyValueName",
1471
- mapper: {
1472
- required: true,
1473
- serializedName: "keyValueName",
1474
- type: {
1475
- name: "String"
1476
- }
1477
- }
1478
- };
1479
- var nextPageLink = {
1480
- parameterPath: "nextPageLink",
1481
- mapper: {
1482
- required: true,
1483
- serializedName: "nextLink",
1484
- type: {
1485
- name: "String"
1486
- }
1487
- },
1488
- skipEncoding: true
1489
- };
1490
- var privateEndpointConnectionName = {
1491
- parameterPath: "privateEndpointConnectionName",
1492
- mapper: {
1493
- required: true,
1494
- serializedName: "privateEndpointConnectionName",
1495
- type: {
1496
- name: "String"
1497
- }
1498
- }
1499
- };
1500
- var resourceGroupName = {
1501
- parameterPath: "resourceGroupName",
1502
- mapper: {
1503
- required: true,
1504
- serializedName: "resourceGroupName",
1505
- type: {
1506
- name: "String"
1507
- }
1508
- }
1509
- };
1510
- var skipToken = {
1511
- parameterPath: [
1512
- "options",
1513
- "skipToken"
1514
- ],
1515
- mapper: {
1516
- serializedName: "$skipToken",
1517
- type: {
1518
- name: "String"
1519
- }
1520
- }
1521
- };
1522
- var subscriptionId = {
1523
- parameterPath: "subscriptionId",
1524
- mapper: {
1525
- required: true,
1526
- serializedName: "subscriptionId",
1527
- type: {
1528
- name: "String"
1529
- }
1530
- }
1531
- };
1532
-
1533
- /*
1534
- * Copyright (c) Microsoft Corporation.
1535
- * Licensed under the MIT License.
1536
- *
1537
- * Code generated by Microsoft (R) AutoRest Code Generator.
1538
- * Changes may cause incorrect behavior and will be lost if the code is
1539
- * regenerated.
1540
- */
1541
- /** Class representing a ConfigurationStores. */
1542
- var ConfigurationStores = /** @class */ (function () {
1543
- /**
1544
- * Create a ConfigurationStores.
1545
- * @param {AppConfigurationManagementClientContext} client Reference to the service client.
1546
- */
1547
- function ConfigurationStores(client) {
1548
- this.client = client;
1549
- }
1550
- ConfigurationStores.prototype.list = function (options, callback) {
1551
- return this.client.sendOperationRequest({
1552
- options: options
1553
- }, listOperationSpec, callback);
1554
- };
1555
- ConfigurationStores.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
1556
- return this.client.sendOperationRequest({
1557
- resourceGroupName: resourceGroupName,
1558
- options: options
1559
- }, listByResourceGroupOperationSpec, callback);
1560
- };
1561
- ConfigurationStores.prototype.get = function (resourceGroupName, configStoreName, options, callback) {
1562
- return this.client.sendOperationRequest({
1563
- resourceGroupName: resourceGroupName,
1564
- configStoreName: configStoreName,
1565
- options: options
1566
- }, getOperationSpec, callback);
1567
- };
1568
- /**
1569
- * Creates a configuration store with the specified parameters.
1570
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
1571
- * @param configStoreName The name of the configuration store.
1572
- * @param configStoreCreationParameters The parameters for creating a configuration store.
1573
- * @param [options] The optional parameters
1574
- * @returns Promise<Models.ConfigurationStoresCreateResponse>
1575
- */
1576
- ConfigurationStores.prototype.create = function (resourceGroupName, configStoreName, configStoreCreationParameters, options) {
1577
- return this.beginCreate(resourceGroupName, configStoreName, configStoreCreationParameters, options)
1578
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1579
- };
1580
- /**
1581
- * Deletes a configuration store.
1582
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
1583
- * @param configStoreName The name of the configuration store.
1584
- * @param [options] The optional parameters
1585
- * @returns Promise<msRest.RestResponse>
1586
- */
1587
- ConfigurationStores.prototype.deleteMethod = function (resourceGroupName, configStoreName, options) {
1588
- return this.beginDeleteMethod(resourceGroupName, configStoreName, options)
1589
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1590
- };
1591
- /**
1592
- * Updates a configuration store with the specified parameters.
1593
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
1594
- * @param configStoreName The name of the configuration store.
1595
- * @param configStoreUpdateParameters The parameters for updating a configuration store.
1596
- * @param [options] The optional parameters
1597
- * @returns Promise<Models.ConfigurationStoresUpdateResponse>
1598
- */
1599
- ConfigurationStores.prototype.update = function (resourceGroupName, configStoreName, configStoreUpdateParameters, options) {
1600
- return this.beginUpdate(resourceGroupName, configStoreName, configStoreUpdateParameters, options)
1601
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1602
- };
1603
- ConfigurationStores.prototype.listKeys = function (resourceGroupName, configStoreName, options, callback) {
1604
- return this.client.sendOperationRequest({
1605
- resourceGroupName: resourceGroupName,
1606
- configStoreName: configStoreName,
1607
- options: options
1608
- }, listKeysOperationSpec, callback);
1609
- };
1610
- ConfigurationStores.prototype.regenerateKey = function (resourceGroupName, configStoreName, regenerateKeyParameters, options, callback) {
1611
- return this.client.sendOperationRequest({
1612
- resourceGroupName: resourceGroupName,
1613
- configStoreName: configStoreName,
1614
- regenerateKeyParameters: regenerateKeyParameters,
1615
- options: options
1616
- }, regenerateKeyOperationSpec, callback);
1617
- };
1618
- /**
1619
- * Creates a configuration store with the specified parameters.
1620
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
1621
- * @param configStoreName The name of the configuration store.
1622
- * @param configStoreCreationParameters The parameters for creating a configuration store.
1623
- * @param [options] The optional parameters
1624
- * @returns Promise<msRestAzure.LROPoller>
1625
- */
1626
- ConfigurationStores.prototype.beginCreate = function (resourceGroupName, configStoreName, configStoreCreationParameters, options) {
1627
- return this.client.sendLRORequest({
1628
- resourceGroupName: resourceGroupName,
1629
- configStoreName: configStoreName,
1630
- configStoreCreationParameters: configStoreCreationParameters,
1631
- options: options
1632
- }, beginCreateOperationSpec, options);
1633
- };
1634
- /**
1635
- * Deletes a configuration store.
1636
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
1637
- * @param configStoreName The name of the configuration store.
1638
- * @param [options] The optional parameters
1639
- * @returns Promise<msRestAzure.LROPoller>
1640
- */
1641
- ConfigurationStores.prototype.beginDeleteMethod = function (resourceGroupName, configStoreName, options) {
1642
- return this.client.sendLRORequest({
1643
- resourceGroupName: resourceGroupName,
1644
- configStoreName: configStoreName,
1645
- options: options
1646
- }, beginDeleteMethodOperationSpec, options);
1647
- };
1648
- /**
1649
- * Updates a configuration store with the specified parameters.
1650
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
1651
- * @param configStoreName The name of the configuration store.
1652
- * @param configStoreUpdateParameters The parameters for updating a configuration store.
1653
- * @param [options] The optional parameters
1654
- * @returns Promise<msRestAzure.LROPoller>
1655
- */
1656
- ConfigurationStores.prototype.beginUpdate = function (resourceGroupName, configStoreName, configStoreUpdateParameters, options) {
1657
- return this.client.sendLRORequest({
1658
- resourceGroupName: resourceGroupName,
1659
- configStoreName: configStoreName,
1660
- configStoreUpdateParameters: configStoreUpdateParameters,
1661
- options: options
1662
- }, beginUpdateOperationSpec, options);
1663
- };
1664
- ConfigurationStores.prototype.listNext = function (nextPageLink, options, callback) {
1665
- return this.client.sendOperationRequest({
1666
- nextPageLink: nextPageLink,
1667
- options: options
1668
- }, listNextOperationSpec, callback);
1669
- };
1670
- ConfigurationStores.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
1671
- return this.client.sendOperationRequest({
1672
- nextPageLink: nextPageLink,
1673
- options: options
1674
- }, listByResourceGroupNextOperationSpec, callback);
1675
- };
1676
- ConfigurationStores.prototype.listKeysNext = function (nextPageLink, options, callback) {
1677
- return this.client.sendOperationRequest({
1678
- nextPageLink: nextPageLink,
1679
- options: options
1680
- }, listKeysNextOperationSpec, callback);
1681
- };
1682
- return ConfigurationStores;
1683
- }());
1684
- // Operation Specifications
1685
- var serializer = new msRest.Serializer(Mappers);
1686
- var listOperationSpec = {
1687
- httpMethod: "GET",
1688
- path: "subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/configurationStores",
1689
- urlParameters: [
1690
- subscriptionId
1691
- ],
1692
- queryParameters: [
1693
- apiVersion,
1694
- skipToken
1695
- ],
1696
- headerParameters: [
1697
- acceptLanguage
1698
- ],
1699
- responses: {
1700
- 200: {
1701
- bodyMapper: ConfigurationStoreListResult
1702
- },
1703
- default: {
1704
- bodyMapper: ErrorResponse
1705
- }
1706
- },
1707
- serializer: serializer
1708
- };
1709
- var listByResourceGroupOperationSpec = {
1710
- httpMethod: "GET",
1711
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores",
1712
- urlParameters: [
1713
- subscriptionId,
1714
- resourceGroupName
1715
- ],
1716
- queryParameters: [
1717
- apiVersion,
1718
- skipToken
1719
- ],
1720
- headerParameters: [
1721
- acceptLanguage
1722
- ],
1723
- responses: {
1724
- 200: {
1725
- bodyMapper: ConfigurationStoreListResult
1726
- },
1727
- default: {
1728
- bodyMapper: ErrorResponse
1729
- }
1730
- },
1731
- serializer: serializer
1732
- };
1733
- var getOperationSpec = {
1734
- httpMethod: "GET",
1735
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}",
1736
- urlParameters: [
1737
- subscriptionId,
1738
- resourceGroupName,
1739
- configStoreName
1740
- ],
1741
- queryParameters: [
1742
- apiVersion
1743
- ],
1744
- headerParameters: [
1745
- acceptLanguage
1746
- ],
1747
- responses: {
1748
- 200: {
1749
- bodyMapper: ConfigurationStore
1750
- },
1751
- default: {
1752
- bodyMapper: ErrorResponse
1753
- }
1754
- },
1755
- serializer: serializer
1756
- };
1757
- var listKeysOperationSpec = {
1758
- httpMethod: "POST",
1759
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/listKeys",
1760
- urlParameters: [
1761
- subscriptionId,
1762
- resourceGroupName,
1763
- configStoreName
1764
- ],
1765
- queryParameters: [
1766
- apiVersion,
1767
- skipToken
1768
- ],
1769
- headerParameters: [
1770
- acceptLanguage
1771
- ],
1772
- responses: {
1773
- 200: {
1774
- bodyMapper: ApiKeyListResult
1775
- },
1776
- default: {
1777
- bodyMapper: ErrorResponse
1778
- }
1779
- },
1780
- serializer: serializer
1781
- };
1782
- var regenerateKeyOperationSpec = {
1783
- httpMethod: "POST",
1784
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/regenerateKey",
1785
- urlParameters: [
1786
- subscriptionId,
1787
- resourceGroupName,
1788
- configStoreName
1789
- ],
1790
- queryParameters: [
1791
- apiVersion
1792
- ],
1793
- headerParameters: [
1794
- acceptLanguage
1795
- ],
1796
- requestBody: {
1797
- parameterPath: "regenerateKeyParameters",
1798
- mapper: __assign(__assign({}, RegenerateKeyParameters), { required: true })
1799
- },
1800
- responses: {
1801
- 200: {
1802
- bodyMapper: ApiKey
1803
- },
1804
- default: {
1805
- bodyMapper: ErrorResponse
1806
- }
1807
- },
1808
- serializer: serializer
1809
- };
1810
- var beginCreateOperationSpec = {
1811
- httpMethod: "PUT",
1812
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}",
1813
- urlParameters: [
1814
- subscriptionId,
1815
- resourceGroupName,
1816
- configStoreName
1817
- ],
1818
- queryParameters: [
1819
- apiVersion
1820
- ],
1821
- headerParameters: [
1822
- acceptLanguage
1823
- ],
1824
- requestBody: {
1825
- parameterPath: "configStoreCreationParameters",
1826
- mapper: __assign(__assign({}, ConfigurationStore), { required: true })
1827
- },
1828
- responses: {
1829
- 200: {
1830
- bodyMapper: ConfigurationStore
1831
- },
1832
- 201: {
1833
- bodyMapper: ConfigurationStore
1834
- },
1835
- default: {
1836
- bodyMapper: ErrorResponse
1837
- }
1838
- },
1839
- serializer: serializer
1840
- };
1841
- var beginDeleteMethodOperationSpec = {
1842
- httpMethod: "DELETE",
1843
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}",
1844
- urlParameters: [
1845
- subscriptionId,
1846
- resourceGroupName,
1847
- configStoreName
1848
- ],
1849
- queryParameters: [
1850
- apiVersion
1851
- ],
1852
- headerParameters: [
1853
- acceptLanguage
1854
- ],
1855
- responses: {
1856
- 200: {},
1857
- 202: {},
1858
- 204: {},
1859
- default: {
1860
- bodyMapper: ErrorResponse
1861
- }
1862
- },
1863
- serializer: serializer
1864
- };
1865
- var beginUpdateOperationSpec = {
1866
- httpMethod: "PATCH",
1867
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}",
1868
- urlParameters: [
1869
- subscriptionId,
1870
- resourceGroupName,
1871
- configStoreName
1872
- ],
1873
- queryParameters: [
1874
- apiVersion
1875
- ],
1876
- headerParameters: [
1877
- acceptLanguage
1878
- ],
1879
- requestBody: {
1880
- parameterPath: "configStoreUpdateParameters",
1881
- mapper: __assign(__assign({}, ConfigurationStoreUpdateParameters), { required: true })
1882
- },
1883
- responses: {
1884
- 200: {
1885
- bodyMapper: ConfigurationStore
1886
- },
1887
- 201: {
1888
- bodyMapper: ConfigurationStore
1889
- },
1890
- default: {
1891
- bodyMapper: ErrorResponse
1892
- }
1893
- },
1894
- serializer: serializer
1895
- };
1896
- var listNextOperationSpec = {
1897
- httpMethod: "GET",
1898
- baseUrl: "https://management.azure.com",
1899
- path: "{nextLink}",
1900
- urlParameters: [
1901
- nextPageLink
1902
- ],
1903
- queryParameters: [
1904
- apiVersion,
1905
- skipToken
1906
- ],
1907
- headerParameters: [
1908
- acceptLanguage
1909
- ],
1910
- responses: {
1911
- 200: {
1912
- bodyMapper: ConfigurationStoreListResult
1913
- },
1914
- default: {
1915
- bodyMapper: ErrorResponse
1916
- }
1917
- },
1918
- serializer: serializer
1919
- };
1920
- var listByResourceGroupNextOperationSpec = {
1921
- httpMethod: "GET",
1922
- baseUrl: "https://management.azure.com",
1923
- path: "{nextLink}",
1924
- urlParameters: [
1925
- nextPageLink
1926
- ],
1927
- queryParameters: [
1928
- apiVersion,
1929
- skipToken
1930
- ],
1931
- headerParameters: [
1932
- acceptLanguage
1933
- ],
1934
- responses: {
1935
- 200: {
1936
- bodyMapper: ConfigurationStoreListResult
1937
- },
1938
- default: {
1939
- bodyMapper: ErrorResponse
1940
- }
1941
- },
1942
- serializer: serializer
1943
- };
1944
- var listKeysNextOperationSpec = {
1945
- httpMethod: "POST",
1946
- baseUrl: "https://management.azure.com",
1947
- path: "{nextLink}",
1948
- urlParameters: [
1949
- nextPageLink
1950
- ],
1951
- queryParameters: [
1952
- apiVersion,
1953
- skipToken
1954
- ],
1955
- headerParameters: [
1956
- acceptLanguage
1957
- ],
1958
- responses: {
1959
- 200: {
1960
- bodyMapper: ApiKeyListResult
1961
- },
1962
- default: {
1963
- bodyMapper: ErrorResponse
1964
- }
1965
- },
1966
- serializer: serializer
1967
- };
1968
-
1969
- /*
1970
- * Copyright (c) Microsoft Corporation.
1971
- * Licensed under the MIT License.
1972
- *
1973
- * Code generated by Microsoft (R) AutoRest Code Generator.
1974
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1975
- */
1976
-
1977
- var Mappers$1 = /*#__PURE__*/Object.freeze({
1978
- __proto__: null,
1979
- CheckNameAvailabilityParameters: CheckNameAvailabilityParameters,
1980
- ErrorAdditionalInfo: ErrorAdditionalInfo,
1981
- ErrorDetails: ErrorDetails,
1982
- ErrorResponse: ErrorResponse,
1983
- LogSpecification: LogSpecification,
1984
- MetricDimension: MetricDimension,
1985
- MetricSpecification: MetricSpecification,
1986
- NameAvailabilityStatus: NameAvailabilityStatus,
1987
- OperationDefinition: OperationDefinition,
1988
- OperationDefinitionDisplay: OperationDefinitionDisplay,
1989
- OperationDefinitionListResult: OperationDefinitionListResult,
1990
- OperationProperties: OperationProperties,
1991
- ServiceSpecification: ServiceSpecification
1992
- });
1993
-
1994
- /*
1995
- * Copyright (c) Microsoft Corporation.
1996
- * Licensed under the MIT License.
1997
- *
1998
- * Code generated by Microsoft (R) AutoRest Code Generator.
1999
- * Changes may cause incorrect behavior and will be lost if the code is
2000
- * regenerated.
2001
- */
2002
- /** Class representing a Operations. */
2003
- var Operations = /** @class */ (function () {
2004
- /**
2005
- * Create a Operations.
2006
- * @param {AppConfigurationManagementClientContext} client Reference to the service client.
2007
- */
2008
- function Operations(client) {
2009
- this.client = client;
2010
- }
2011
- Operations.prototype.checkNameAvailability = function (checkNameAvailabilityParameters, options, callback) {
2012
- return this.client.sendOperationRequest({
2013
- checkNameAvailabilityParameters: checkNameAvailabilityParameters,
2014
- options: options
2015
- }, checkNameAvailabilityOperationSpec, callback);
2016
- };
2017
- Operations.prototype.list = function (options, callback) {
2018
- return this.client.sendOperationRequest({
2019
- options: options
2020
- }, listOperationSpec$1, callback);
2021
- };
2022
- Operations.prototype.listNext = function (nextPageLink, options, callback) {
2023
- return this.client.sendOperationRequest({
2024
- nextPageLink: nextPageLink,
2025
- options: options
2026
- }, listNextOperationSpec$1, callback);
2027
- };
2028
- return Operations;
2029
- }());
2030
- // Operation Specifications
2031
- var serializer$1 = new msRest.Serializer(Mappers$1);
2032
- var checkNameAvailabilityOperationSpec = {
2033
- httpMethod: "POST",
2034
- path: "subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/checkNameAvailability",
2035
- urlParameters: [
2036
- subscriptionId
2037
- ],
2038
- queryParameters: [
2039
- apiVersion
2040
- ],
2041
- headerParameters: [
2042
- acceptLanguage
2043
- ],
2044
- requestBody: {
2045
- parameterPath: "checkNameAvailabilityParameters",
2046
- mapper: __assign(__assign({}, CheckNameAvailabilityParameters), { required: true })
2047
- },
2048
- responses: {
2049
- 200: {
2050
- bodyMapper: NameAvailabilityStatus
2051
- },
2052
- default: {
2053
- bodyMapper: ErrorResponse
2054
- }
2055
- },
2056
- serializer: serializer$1
2057
- };
2058
- var listOperationSpec$1 = {
2059
- httpMethod: "GET",
2060
- path: "providers/Microsoft.AppConfiguration/operations",
2061
- queryParameters: [
2062
- apiVersion,
2063
- skipToken
2064
- ],
2065
- headerParameters: [
2066
- acceptLanguage
2067
- ],
2068
- responses: {
2069
- 200: {
2070
- bodyMapper: OperationDefinitionListResult
2071
- },
2072
- default: {
2073
- bodyMapper: ErrorResponse
2074
- }
2075
- },
2076
- serializer: serializer$1
2077
- };
2078
- var listNextOperationSpec$1 = {
2079
- httpMethod: "GET",
2080
- baseUrl: "https://management.azure.com",
2081
- path: "{nextLink}",
2082
- urlParameters: [
2083
- nextPageLink
2084
- ],
2085
- queryParameters: [
2086
- apiVersion,
2087
- skipToken
2088
- ],
2089
- headerParameters: [
2090
- acceptLanguage
2091
- ],
2092
- responses: {
2093
- 200: {
2094
- bodyMapper: OperationDefinitionListResult
2095
- },
2096
- default: {
2097
- bodyMapper: ErrorResponse
2098
- }
2099
- },
2100
- serializer: serializer$1
2101
- };
2102
-
2103
- /*
2104
- * Copyright (c) Microsoft Corporation.
2105
- * Licensed under the MIT License.
2106
- *
2107
- * Code generated by Microsoft (R) AutoRest Code Generator.
2108
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2109
- */
2110
-
2111
- var Mappers$2 = /*#__PURE__*/Object.freeze({
2112
- __proto__: null,
2113
- AzureEntityResource: AzureEntityResource,
2114
- BaseResource: BaseResource,
2115
- ConfigurationStore: ConfigurationStore,
2116
- EncryptionProperties: EncryptionProperties,
2117
- ErrorAdditionalInfo: ErrorAdditionalInfo,
2118
- ErrorDetails: ErrorDetails,
2119
- ErrorResponse: ErrorResponse,
2120
- KeyValue: KeyValue,
2121
- KeyVaultProperties: KeyVaultProperties,
2122
- PrivateEndpoint: PrivateEndpoint,
2123
- PrivateEndpointConnection: PrivateEndpointConnection,
2124
- PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
2125
- PrivateEndpointConnectionReference: PrivateEndpointConnectionReference,
2126
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
2127
- ProxyResource: ProxyResource,
2128
- Resource: Resource,
2129
- ResourceIdentity: ResourceIdentity,
2130
- Sku: Sku,
2131
- SystemData: SystemData,
2132
- TrackedResource: TrackedResource,
2133
- UserIdentity: UserIdentity
2134
- });
2135
-
2136
- /*
2137
- * Copyright (c) Microsoft Corporation.
2138
- * Licensed under the MIT License.
2139
- *
2140
- * Code generated by Microsoft (R) AutoRest Code Generator.
2141
- * Changes may cause incorrect behavior and will be lost if the code is
2142
- * regenerated.
2143
- */
2144
- /** Class representing a PrivateEndpointConnections. */
2145
- var PrivateEndpointConnections = /** @class */ (function () {
2146
- /**
2147
- * Create a PrivateEndpointConnections.
2148
- * @param {AppConfigurationManagementClientContext} client Reference to the service client.
2149
- */
2150
- function PrivateEndpointConnections(client) {
2151
- this.client = client;
2152
- }
2153
- PrivateEndpointConnections.prototype.listByConfigurationStore = function (resourceGroupName, configStoreName, options, callback) {
2154
- return this.client.sendOperationRequest({
2155
- resourceGroupName: resourceGroupName,
2156
- configStoreName: configStoreName,
2157
- options: options
2158
- }, listByConfigurationStoreOperationSpec, callback);
2159
- };
2160
- PrivateEndpointConnections.prototype.get = function (resourceGroupName, configStoreName, privateEndpointConnectionName, options, callback) {
2161
- return this.client.sendOperationRequest({
2162
- resourceGroupName: resourceGroupName,
2163
- configStoreName: configStoreName,
2164
- privateEndpointConnectionName: privateEndpointConnectionName,
2165
- options: options
2166
- }, getOperationSpec$1, callback);
2167
- };
2168
- /**
2169
- * Update the state of the specified private endpoint connection associated with the configuration
2170
- * store.
2171
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
2172
- * @param configStoreName The name of the configuration store.
2173
- * @param privateEndpointConnectionName Private endpoint connection name
2174
- * @param privateEndpointConnection The private endpoint connection properties.
2175
- * @param [options] The optional parameters
2176
- * @returns Promise<Models.PrivateEndpointConnectionsCreateOrUpdateResponse>
2177
- */
2178
- PrivateEndpointConnections.prototype.createOrUpdate = function (resourceGroupName, configStoreName, privateEndpointConnectionName, privateEndpointConnection, options) {
2179
- return this.beginCreateOrUpdate(resourceGroupName, configStoreName, privateEndpointConnectionName, privateEndpointConnection, options)
2180
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
2181
- };
2182
- /**
2183
- * Deletes a private endpoint connection.
2184
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
2185
- * @param configStoreName The name of the configuration store.
2186
- * @param privateEndpointConnectionName Private endpoint connection name
2187
- * @param [options] The optional parameters
2188
- * @returns Promise<msRest.RestResponse>
2189
- */
2190
- PrivateEndpointConnections.prototype.deleteMethod = function (resourceGroupName, configStoreName, privateEndpointConnectionName, options) {
2191
- return this.beginDeleteMethod(resourceGroupName, configStoreName, privateEndpointConnectionName, options)
2192
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
2193
- };
2194
- /**
2195
- * Update the state of the specified private endpoint connection associated with the configuration
2196
- * store.
2197
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
2198
- * @param configStoreName The name of the configuration store.
2199
- * @param privateEndpointConnectionName Private endpoint connection name
2200
- * @param privateEndpointConnection The private endpoint connection properties.
2201
- * @param [options] The optional parameters
2202
- * @returns Promise<msRestAzure.LROPoller>
2203
- */
2204
- PrivateEndpointConnections.prototype.beginCreateOrUpdate = function (resourceGroupName, configStoreName, privateEndpointConnectionName, privateEndpointConnection, options) {
2205
- return this.client.sendLRORequest({
2206
- resourceGroupName: resourceGroupName,
2207
- configStoreName: configStoreName,
2208
- privateEndpointConnectionName: privateEndpointConnectionName,
2209
- privateEndpointConnection: privateEndpointConnection,
2210
- options: options
2211
- }, beginCreateOrUpdateOperationSpec, options);
2212
- };
2213
- /**
2214
- * Deletes a private endpoint connection.
2215
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
2216
- * @param configStoreName The name of the configuration store.
2217
- * @param privateEndpointConnectionName Private endpoint connection name
2218
- * @param [options] The optional parameters
2219
- * @returns Promise<msRestAzure.LROPoller>
2220
- */
2221
- PrivateEndpointConnections.prototype.beginDeleteMethod = function (resourceGroupName, configStoreName, privateEndpointConnectionName, options) {
2222
- return this.client.sendLRORequest({
2223
- resourceGroupName: resourceGroupName,
2224
- configStoreName: configStoreName,
2225
- privateEndpointConnectionName: privateEndpointConnectionName,
2226
- options: options
2227
- }, beginDeleteMethodOperationSpec$1, options);
2228
- };
2229
- PrivateEndpointConnections.prototype.listByConfigurationStoreNext = function (nextPageLink, options, callback) {
2230
- return this.client.sendOperationRequest({
2231
- nextPageLink: nextPageLink,
2232
- options: options
2233
- }, listByConfigurationStoreNextOperationSpec, callback);
2234
- };
2235
- return PrivateEndpointConnections;
2236
- }());
2237
- // Operation Specifications
2238
- var serializer$2 = new msRest.Serializer(Mappers$2);
2239
- var listByConfigurationStoreOperationSpec = {
2240
- httpMethod: "GET",
2241
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateEndpointConnections",
2242
- urlParameters: [
2243
- subscriptionId,
2244
- resourceGroupName,
2245
- configStoreName
2246
- ],
2247
- queryParameters: [
2248
- apiVersion
2249
- ],
2250
- headerParameters: [
2251
- acceptLanguage
2252
- ],
2253
- responses: {
2254
- 200: {
2255
- bodyMapper: PrivateEndpointConnectionListResult
2256
- },
2257
- default: {
2258
- bodyMapper: ErrorResponse
2259
- }
2260
- },
2261
- serializer: serializer$2
2262
- };
2263
- var getOperationSpec$1 = {
2264
- httpMethod: "GET",
2265
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateEndpointConnections/{privateEndpointConnectionName}",
2266
- urlParameters: [
2267
- subscriptionId,
2268
- resourceGroupName,
2269
- configStoreName,
2270
- privateEndpointConnectionName
2271
- ],
2272
- queryParameters: [
2273
- apiVersion
2274
- ],
2275
- headerParameters: [
2276
- acceptLanguage
2277
- ],
2278
- responses: {
2279
- 200: {
2280
- bodyMapper: PrivateEndpointConnection
2281
- },
2282
- default: {
2283
- bodyMapper: ErrorResponse
2284
- }
2285
- },
2286
- serializer: serializer$2
2287
- };
2288
- var beginCreateOrUpdateOperationSpec = {
2289
- httpMethod: "PUT",
2290
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateEndpointConnections/{privateEndpointConnectionName}",
2291
- urlParameters: [
2292
- subscriptionId,
2293
- resourceGroupName,
2294
- configStoreName,
2295
- privateEndpointConnectionName
2296
- ],
2297
- queryParameters: [
2298
- apiVersion
2299
- ],
2300
- headerParameters: [
2301
- acceptLanguage
2302
- ],
2303
- requestBody: {
2304
- parameterPath: "privateEndpointConnection",
2305
- mapper: __assign(__assign({}, PrivateEndpointConnection), { required: true })
2306
- },
2307
- responses: {
2308
- 200: {
2309
- bodyMapper: PrivateEndpointConnection
2310
- },
2311
- 201: {
2312
- bodyMapper: PrivateEndpointConnection
2313
- },
2314
- default: {
2315
- bodyMapper: ErrorResponse
2316
- }
2317
- },
2318
- serializer: serializer$2
2319
- };
2320
- var beginDeleteMethodOperationSpec$1 = {
2321
- httpMethod: "DELETE",
2322
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateEndpointConnections/{privateEndpointConnectionName}",
2323
- urlParameters: [
2324
- subscriptionId,
2325
- resourceGroupName,
2326
- configStoreName,
2327
- privateEndpointConnectionName
2328
- ],
2329
- queryParameters: [
2330
- apiVersion
2331
- ],
2332
- headerParameters: [
2333
- acceptLanguage
2334
- ],
2335
- responses: {
2336
- 200: {},
2337
- 202: {},
2338
- 204: {},
2339
- default: {
2340
- bodyMapper: ErrorResponse
2341
- }
2342
- },
2343
- serializer: serializer$2
2344
- };
2345
- var listByConfigurationStoreNextOperationSpec = {
2346
- httpMethod: "GET",
2347
- baseUrl: "https://management.azure.com",
2348
- path: "{nextLink}",
2349
- urlParameters: [
2350
- nextPageLink
2351
- ],
2352
- queryParameters: [
2353
- apiVersion
2354
- ],
2355
- headerParameters: [
2356
- acceptLanguage
2357
- ],
2358
- responses: {
2359
- 200: {
2360
- bodyMapper: PrivateEndpointConnectionListResult
2361
- },
2362
- default: {
2363
- bodyMapper: ErrorResponse
2364
- }
2365
- },
2366
- serializer: serializer$2
2367
- };
2368
-
2369
- /*
2370
- * Copyright (c) Microsoft Corporation.
2371
- * Licensed under the MIT License.
2372
- *
2373
- * Code generated by Microsoft (R) AutoRest Code Generator.
2374
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2375
- */
2376
-
2377
- var Mappers$3 = /*#__PURE__*/Object.freeze({
2378
- __proto__: null,
2379
- ErrorAdditionalInfo: ErrorAdditionalInfo,
2380
- ErrorDetails: ErrorDetails,
2381
- ErrorResponse: ErrorResponse,
2382
- PrivateLinkResource: PrivateLinkResource,
2383
- PrivateLinkResourceListResult: PrivateLinkResourceListResult
2384
- });
2385
-
2386
- /*
2387
- * Copyright (c) Microsoft Corporation.
2388
- * Licensed under the MIT License.
2389
- *
2390
- * Code generated by Microsoft (R) AutoRest Code Generator.
2391
- * Changes may cause incorrect behavior and will be lost if the code is
2392
- * regenerated.
2393
- */
2394
- /** Class representing a PrivateLinkResources. */
2395
- var PrivateLinkResources = /** @class */ (function () {
2396
- /**
2397
- * Create a PrivateLinkResources.
2398
- * @param {AppConfigurationManagementClientContext} client Reference to the service client.
2399
- */
2400
- function PrivateLinkResources(client) {
2401
- this.client = client;
2402
- }
2403
- PrivateLinkResources.prototype.listByConfigurationStore = function (resourceGroupName, configStoreName, options, callback) {
2404
- return this.client.sendOperationRequest({
2405
- resourceGroupName: resourceGroupName,
2406
- configStoreName: configStoreName,
2407
- options: options
2408
- }, listByConfigurationStoreOperationSpec$1, callback);
2409
- };
2410
- PrivateLinkResources.prototype.get = function (resourceGroupName, configStoreName, groupName, options, callback) {
2411
- return this.client.sendOperationRequest({
2412
- resourceGroupName: resourceGroupName,
2413
- configStoreName: configStoreName,
2414
- groupName: groupName,
2415
- options: options
2416
- }, getOperationSpec$2, callback);
2417
- };
2418
- PrivateLinkResources.prototype.listByConfigurationStoreNext = function (nextPageLink, options, callback) {
2419
- return this.client.sendOperationRequest({
2420
- nextPageLink: nextPageLink,
2421
- options: options
2422
- }, listByConfigurationStoreNextOperationSpec$1, callback);
2423
- };
2424
- return PrivateLinkResources;
2425
- }());
2426
- // Operation Specifications
2427
- var serializer$3 = new msRest.Serializer(Mappers$3);
2428
- var listByConfigurationStoreOperationSpec$1 = {
2429
- httpMethod: "GET",
2430
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateLinkResources",
2431
- urlParameters: [
2432
- subscriptionId,
2433
- resourceGroupName,
2434
- configStoreName
2435
- ],
2436
- queryParameters: [
2437
- apiVersion
2438
- ],
2439
- headerParameters: [
2440
- acceptLanguage
2441
- ],
2442
- responses: {
2443
- 200: {
2444
- bodyMapper: PrivateLinkResourceListResult
2445
- },
2446
- default: {
2447
- bodyMapper: ErrorResponse
2448
- }
2449
- },
2450
- serializer: serializer$3
2451
- };
2452
- var getOperationSpec$2 = {
2453
- httpMethod: "GET",
2454
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateLinkResources/{groupName}",
2455
- urlParameters: [
2456
- subscriptionId,
2457
- resourceGroupName,
2458
- configStoreName,
2459
- groupName
2460
- ],
2461
- queryParameters: [
2462
- apiVersion
2463
- ],
2464
- headerParameters: [
2465
- acceptLanguage
2466
- ],
2467
- responses: {
2468
- 200: {
2469
- bodyMapper: PrivateLinkResource
2470
- },
2471
- default: {
2472
- bodyMapper: ErrorResponse
2473
- }
2474
- },
2475
- serializer: serializer$3
2476
- };
2477
- var listByConfigurationStoreNextOperationSpec$1 = {
2478
- httpMethod: "GET",
2479
- baseUrl: "https://management.azure.com",
2480
- path: "{nextLink}",
2481
- urlParameters: [
2482
- nextPageLink
2483
- ],
2484
- queryParameters: [
2485
- apiVersion
2486
- ],
2487
- headerParameters: [
2488
- acceptLanguage
2489
- ],
2490
- responses: {
2491
- 200: {
2492
- bodyMapper: PrivateLinkResourceListResult
2493
- },
2494
- default: {
2495
- bodyMapper: ErrorResponse
2496
- }
2497
- },
2498
- serializer: serializer$3
2499
- };
2500
-
2501
- /*
2502
- * Copyright (c) Microsoft Corporation.
2503
- * Licensed under the MIT License.
2504
- *
2505
- * Code generated by Microsoft (R) AutoRest Code Generator.
2506
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2507
- */
2508
-
2509
- var Mappers$4 = /*#__PURE__*/Object.freeze({
2510
- __proto__: null,
2511
- AzureEntityResource: AzureEntityResource,
2512
- BaseResource: BaseResource,
2513
- ConfigurationStore: ConfigurationStore,
2514
- EncryptionProperties: EncryptionProperties,
2515
- ErrorAdditionalInfo: ErrorAdditionalInfo,
2516
- ErrorDetails: ErrorDetails,
2517
- ErrorResponse: ErrorResponse,
2518
- KeyValue: KeyValue,
2519
- KeyValueListResult: KeyValueListResult,
2520
- KeyVaultProperties: KeyVaultProperties,
2521
- PrivateEndpoint: PrivateEndpoint,
2522
- PrivateEndpointConnection: PrivateEndpointConnection,
2523
- PrivateEndpointConnectionReference: PrivateEndpointConnectionReference,
2524
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
2525
- ProxyResource: ProxyResource,
2526
- Resource: Resource,
2527
- ResourceIdentity: ResourceIdentity,
2528
- Sku: Sku,
2529
- SystemData: SystemData,
2530
- TrackedResource: TrackedResource,
2531
- UserIdentity: UserIdentity
2532
- });
2533
-
2534
- /*
2535
- * Copyright (c) Microsoft Corporation.
2536
- * Licensed under the MIT License.
2537
- *
2538
- * Code generated by Microsoft (R) AutoRest Code Generator.
2539
- * Changes may cause incorrect behavior and will be lost if the code is
2540
- * regenerated.
2541
- */
2542
- /** Class representing a KeyValues. */
2543
- var KeyValues = /** @class */ (function () {
2544
- /**
2545
- * Create a KeyValues.
2546
- * @param {AppConfigurationManagementClientContext} client Reference to the service client.
2547
- */
2548
- function KeyValues(client) {
2549
- this.client = client;
2550
- }
2551
- KeyValues.prototype.listByConfigurationStore = function (resourceGroupName, configStoreName, options, callback) {
2552
- return this.client.sendOperationRequest({
2553
- resourceGroupName: resourceGroupName,
2554
- configStoreName: configStoreName,
2555
- options: options
2556
- }, listByConfigurationStoreOperationSpec$2, callback);
2557
- };
2558
- KeyValues.prototype.get = function (resourceGroupName, configStoreName, keyValueName, options, callback) {
2559
- return this.client.sendOperationRequest({
2560
- resourceGroupName: resourceGroupName,
2561
- configStoreName: configStoreName,
2562
- keyValueName: keyValueName,
2563
- options: options
2564
- }, getOperationSpec$3, callback);
2565
- };
2566
- KeyValues.prototype.createOrUpdate = function (resourceGroupName, configStoreName, keyValueName, options, callback) {
2567
- return this.client.sendOperationRequest({
2568
- resourceGroupName: resourceGroupName,
2569
- configStoreName: configStoreName,
2570
- keyValueName: keyValueName,
2571
- options: options
2572
- }, createOrUpdateOperationSpec, callback);
2573
- };
2574
- /**
2575
- * Deletes a key-value.
2576
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
2577
- * @param configStoreName The name of the configuration store.
2578
- * @param keyValueName Identifier of key and label combination. Key and label are joined by $
2579
- * character. Label is optional.
2580
- * @param [options] The optional parameters
2581
- * @returns Promise<msRest.RestResponse>
2582
- */
2583
- KeyValues.prototype.deleteMethod = function (resourceGroupName, configStoreName, keyValueName, options) {
2584
- return this.beginDeleteMethod(resourceGroupName, configStoreName, keyValueName, options)
2585
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
2586
- };
2587
- /**
2588
- * Deletes a key-value.
2589
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
2590
- * @param configStoreName The name of the configuration store.
2591
- * @param keyValueName Identifier of key and label combination. Key and label are joined by $
2592
- * character. Label is optional.
2593
- * @param [options] The optional parameters
2594
- * @returns Promise<msRestAzure.LROPoller>
2595
- */
2596
- KeyValues.prototype.beginDeleteMethod = function (resourceGroupName, configStoreName, keyValueName, options) {
2597
- return this.client.sendLRORequest({
2598
- resourceGroupName: resourceGroupName,
2599
- configStoreName: configStoreName,
2600
- keyValueName: keyValueName,
2601
- options: options
2602
- }, beginDeleteMethodOperationSpec$2, options);
2603
- };
2604
- KeyValues.prototype.listByConfigurationStoreNext = function (nextPageLink, options, callback) {
2605
- return this.client.sendOperationRequest({
2606
- nextPageLink: nextPageLink,
2607
- options: options
2608
- }, listByConfigurationStoreNextOperationSpec$2, callback);
2609
- };
2610
- return KeyValues;
2611
- }());
2612
- // Operation Specifications
2613
- var serializer$4 = new msRest.Serializer(Mappers$4);
2614
- var listByConfigurationStoreOperationSpec$2 = {
2615
- httpMethod: "GET",
2616
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues",
2617
- urlParameters: [
2618
- subscriptionId,
2619
- resourceGroupName,
2620
- configStoreName
2621
- ],
2622
- queryParameters: [
2623
- apiVersion,
2624
- skipToken
2625
- ],
2626
- headerParameters: [
2627
- acceptLanguage
2628
- ],
2629
- responses: {
2630
- 200: {
2631
- bodyMapper: KeyValueListResult
2632
- },
2633
- default: {
2634
- bodyMapper: ErrorResponse
2635
- }
2636
- },
2637
- serializer: serializer$4
2638
- };
2639
- var getOperationSpec$3 = {
2640
- httpMethod: "GET",
2641
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}",
2642
- urlParameters: [
2643
- subscriptionId,
2644
- resourceGroupName,
2645
- configStoreName,
2646
- keyValueName
2647
- ],
2648
- queryParameters: [
2649
- apiVersion
2650
- ],
2651
- headerParameters: [
2652
- acceptLanguage
2653
- ],
2654
- responses: {
2655
- 200: {
2656
- bodyMapper: KeyValue
2657
- },
2658
- default: {
2659
- bodyMapper: ErrorResponse
2660
- }
2661
- },
2662
- serializer: serializer$4
2663
- };
2664
- var createOrUpdateOperationSpec = {
2665
- httpMethod: "PUT",
2666
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}",
2667
- urlParameters: [
2668
- subscriptionId,
2669
- resourceGroupName,
2670
- configStoreName,
2671
- keyValueName
2672
- ],
2673
- queryParameters: [
2674
- apiVersion
2675
- ],
2676
- headerParameters: [
2677
- acceptLanguage
2678
- ],
2679
- requestBody: {
2680
- parameterPath: [
2681
- "options",
2682
- "keyValueParameters"
2683
- ],
2684
- mapper: KeyValue
2685
- },
2686
- responses: {
2687
- 200: {
2688
- bodyMapper: KeyValue
2689
- },
2690
- default: {
2691
- bodyMapper: ErrorResponse
2692
- }
2693
- },
2694
- serializer: serializer$4
2695
- };
2696
- var beginDeleteMethodOperationSpec$2 = {
2697
- httpMethod: "DELETE",
2698
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}",
2699
- urlParameters: [
2700
- subscriptionId,
2701
- resourceGroupName,
2702
- configStoreName,
2703
- keyValueName
2704
- ],
2705
- queryParameters: [
2706
- apiVersion
2707
- ],
2708
- headerParameters: [
2709
- acceptLanguage
2710
- ],
2711
- responses: {
2712
- 200: {},
2713
- 202: {},
2714
- 204: {},
2715
- default: {
2716
- bodyMapper: ErrorResponse
2717
- }
2718
- },
2719
- serializer: serializer$4
2720
- };
2721
- var listByConfigurationStoreNextOperationSpec$2 = {
2722
- httpMethod: "GET",
2723
- baseUrl: "https://management.azure.com",
2724
- path: "{nextLink}",
2725
- urlParameters: [
2726
- nextPageLink
2727
- ],
2728
- queryParameters: [
2729
- apiVersion,
2730
- skipToken
2731
- ],
2732
- headerParameters: [
2733
- acceptLanguage
2734
- ],
2735
- responses: {
2736
- 200: {
2737
- bodyMapper: KeyValueListResult
2738
- },
2739
- default: {
2740
- bodyMapper: ErrorResponse
2741
- }
2742
- },
2743
- serializer: serializer$4
2744
- };
2745
-
2746
- /*
2747
- * Copyright (c) Microsoft Corporation.
2748
- * Licensed under the MIT License.
2749
- *
2750
- * Code generated by Microsoft (R) AutoRest Code Generator.
2751
- * Changes may cause incorrect behavior and will be lost if the code is
2752
- * regenerated.
2753
- */
2754
- var packageName = "@azure/arm-appconfiguration";
2755
- var packageVersion = "2.0.0";
2756
- var AppConfigurationManagementClientContext = /** @class */ (function (_super) {
2757
- __extends(AppConfigurationManagementClientContext, _super);
2758
- /**
2759
- * Initializes a new instance of the AppConfigurationManagementClient class.
2760
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
2761
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
2762
- * more information about these credentials, see
2763
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
2764
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
2765
- * @azure/ms-rest-browserauth are also supported.
2766
- * @param subscriptionId The Microsoft Azure subscription ID.
2767
- * @param [options] The parameter options
2768
- */
2769
- function AppConfigurationManagementClientContext(credentials, subscriptionId, options) {
2770
- var _this = this;
2771
- if (credentials == undefined) {
2772
- throw new Error('\'credentials\' cannot be null.');
2773
- }
2774
- if (subscriptionId == undefined) {
2775
- throw new Error('\'subscriptionId\' cannot be null.');
2776
- }
2777
- if (!options) {
2778
- options = {};
2779
- }
2780
- if (!options.userAgent) {
2781
- var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
2782
- options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
2783
- }
2784
- _this = _super.call(this, credentials, options) || this;
2785
- _this.apiVersion = '2021-03-01-preview';
2786
- _this.acceptLanguage = 'en-US';
2787
- _this.longRunningOperationRetryTimeout = 30;
2788
- _this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
2789
- _this.requestContentType = "application/json; charset=utf-8";
2790
- _this.credentials = credentials;
2791
- _this.subscriptionId = subscriptionId;
2792
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
2793
- _this.acceptLanguage = options.acceptLanguage;
2794
- }
2795
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
2796
- _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
2797
- }
2798
- return _this;
2799
- }
2800
- return AppConfigurationManagementClientContext;
2801
- }(msRestAzure.AzureServiceClient));
2802
-
2803
- /*
2804
- * Copyright (c) Microsoft Corporation.
2805
- * Licensed under the MIT License.
2806
- *
2807
- * Code generated by Microsoft (R) AutoRest Code Generator.
2808
- * Changes may cause incorrect behavior and will be lost if the code is
2809
- * regenerated.
2810
- */
2811
- var AppConfigurationManagementClient = /** @class */ (function (_super) {
2812
- __extends(AppConfigurationManagementClient, _super);
2813
- /**
2814
- * Initializes a new instance of the AppConfigurationManagementClient class.
2815
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
2816
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
2817
- * more information about these credentials, see
2818
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
2819
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
2820
- * @azure/ms-rest-browserauth are also supported.
2821
- * @param subscriptionId The Microsoft Azure subscription ID.
2822
- * @param [options] The parameter options
2823
- */
2824
- function AppConfigurationManagementClient(credentials, subscriptionId, options) {
2825
- var _this = _super.call(this, credentials, subscriptionId, options) || this;
2826
- _this.configurationStores = new ConfigurationStores(_this);
2827
- _this.operations = new Operations(_this);
2828
- _this.privateEndpointConnections = new PrivateEndpointConnections(_this);
2829
- _this.privateLinkResources = new PrivateLinkResources(_this);
2830
- _this.keyValues = new KeyValues(_this);
2831
- return _this;
2832
- }
2833
- return AppConfigurationManagementClient;
2834
- }(AppConfigurationManagementClientContext));
2835
-
2836
- exports.AppConfigurationManagementClient = AppConfigurationManagementClient;
2837
- exports.AppConfigurationManagementClientContext = AppConfigurationManagementClientContext;
2838
- exports.AppConfigurationManagementMappers = mappers;
2839
- exports.AppConfigurationManagementModels = index;
2840
- exports.ConfigurationStores = ConfigurationStores;
2841
- exports.KeyValues = KeyValues;
2842
- exports.Operations = Operations;
2843
- exports.PrivateEndpointConnections = PrivateEndpointConnections;
2844
- exports.PrivateLinkResources = PrivateLinkResources;
2845
-
2846
- Object.defineProperty(exports, '__esModule', { value: true });
2847
-
2848
- })));
2849
- //# sourceMappingURL=arm-appconfiguration.js.map