@azure/arm-appconfiguration 1.2.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 (169) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +72 -75
  4. package/dist/index.js +3105 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/appConfigurationManagementClient.d.ts +22 -0
  9. package/dist-esm/src/appConfigurationManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/appConfigurationManagementClient.js +55 -0
  11. package/dist-esm/src/appConfigurationManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +826 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +59 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +38 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +588 -313
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +20 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +162 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/configurationStores.d.ts +139 -0
  33. package/dist-esm/src/operations/configurationStores.d.ts.map +1 -0
  34. package/dist-esm/src/operations/configurationStores.js +655 -0
  35. package/dist-esm/src/operations/configurationStores.js.map +1 -0
  36. package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
  37. package/dist-esm/src/operations/index.d.ts.map +1 -0
  38. package/{esm → dist-esm/src}/operations/index.js +4 -5
  39. package/dist-esm/src/operations/index.js.map +1 -0
  40. package/dist-esm/src/operations/keyValues.d.ts +76 -0
  41. package/dist-esm/src/operations/keyValues.d.ts.map +1 -0
  42. package/dist-esm/src/operations/keyValues.js +284 -0
  43. package/dist-esm/src/operations/keyValues.js.map +1 -0
  44. package/dist-esm/src/operations/operations.d.ts +39 -0
  45. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/operations.js +147 -0
  47. package/dist-esm/src/operations/operations.js.map +1 -0
  48. package/dist-esm/src/operations/privateEndpointConnections.d.ts +84 -0
  49. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  50. package/dist-esm/src/operations/privateEndpointConnections.js +350 -0
  51. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  52. package/dist-esm/src/operations/privateLinkResources.d.ts +47 -0
  53. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  54. package/dist-esm/src/operations/privateLinkResources.js +170 -0
  55. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/configurationStores.d.ts +86 -0
  57. package/dist-esm/src/operationsInterfaces/configurationStores.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/configurationStores.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/configurationStores.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  61. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  63. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/keyValues.d.ts +50 -0
  65. package/dist-esm/src/operationsInterfaces/keyValues.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/keyValues.js +9 -0
  67. package/dist-esm/src/operationsInterfaces/keyValues.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/operations.d.ts +18 -0
  69. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +58 -0
  73. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
  77. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  80. package/dist-esm/test/sampleTest.d.ts +2 -0
  81. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  82. package/dist-esm/test/sampleTest.js +40 -0
  83. package/dist-esm/test/sampleTest.js.map +1 -0
  84. package/package.json +65 -31
  85. package/review/arm-appconfiguration.api.md +665 -0
  86. package/rollup.config.js +181 -30
  87. package/src/appConfigurationManagementClient.ts +82 -35
  88. package/src/index.ts +12 -0
  89. package/src/lroImpl.ts +34 -0
  90. package/src/models/index.ts +680 -893
  91. package/src/models/mappers.ts +657 -367
  92. package/src/models/parameters.ts +126 -44
  93. package/src/operations/configurationStores.ts +657 -495
  94. package/src/operations/index.ts +4 -5
  95. package/src/operations/keyValues.ts +396 -0
  96. package/src/operations/operations.ts +113 -123
  97. package/src/operations/privateEndpointConnections.ts +350 -186
  98. package/src/operations/privateLinkResources.ts +162 -126
  99. package/src/operationsInterfaces/configurationStores.ts +168 -0
  100. package/src/operationsInterfaces/index.ts +13 -0
  101. package/src/operationsInterfaces/keyValues.ts +91 -0
  102. package/src/operationsInterfaces/operations.ts +38 -0
  103. package/src/operationsInterfaces/privateEndpointConnections.ts +111 -0
  104. package/src/operationsInterfaces/privateLinkResources.ts +44 -0
  105. package/tsconfig.json +3 -3
  106. package/types/arm-appconfiguration.d.ts +1171 -0
  107. package/types/tsdoc-metadata.json +11 -0
  108. package/dist/arm-appconfiguration.js +0 -2213
  109. package/dist/arm-appconfiguration.js.map +0 -1
  110. package/dist/arm-appconfiguration.min.js +0 -1
  111. package/dist/arm-appconfiguration.min.js.map +0 -1
  112. package/esm/appConfigurationManagementClient.d.ts +0 -21
  113. package/esm/appConfigurationManagementClient.d.ts.map +0 -1
  114. package/esm/appConfigurationManagementClient.js +0 -36
  115. package/esm/appConfigurationManagementClient.js.map +0 -1
  116. package/esm/appConfigurationManagementClientContext.d.ts +0 -16
  117. package/esm/appConfigurationManagementClientContext.d.ts.map +0 -1
  118. package/esm/appConfigurationManagementClientContext.js +0 -56
  119. package/esm/appConfigurationManagementClientContext.js.map +0 -1
  120. package/esm/models/configurationStoresMappers.d.ts +0 -2
  121. package/esm/models/configurationStoresMappers.d.ts.map +0 -1
  122. package/esm/models/configurationStoresMappers.js +0 -9
  123. package/esm/models/configurationStoresMappers.js.map +0 -1
  124. package/esm/models/index.d.ts +0 -1073
  125. package/esm/models/index.d.ts.map +0 -1
  126. package/esm/models/index.js +0 -8
  127. package/esm/models/index.js.map +0 -1
  128. package/esm/models/mappers.d.ts +0 -31
  129. package/esm/models/mappers.d.ts.map +0 -1
  130. package/esm/models/mappers.js.map +0 -1
  131. package/esm/models/operationsMappers.d.ts +0 -2
  132. package/esm/models/operationsMappers.d.ts.map +0 -1
  133. package/esm/models/operationsMappers.js +0 -9
  134. package/esm/models/operationsMappers.js.map +0 -1
  135. package/esm/models/parameters.d.ts +0 -11
  136. package/esm/models/parameters.d.ts.map +0 -1
  137. package/esm/models/parameters.js +0 -108
  138. package/esm/models/parameters.js.map +0 -1
  139. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  140. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  141. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  142. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  143. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  144. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  145. package/esm/models/privateLinkResourcesMappers.js +0 -9
  146. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  147. package/esm/operations/configurationStores.d.ts +0 -243
  148. package/esm/operations/configurationStores.d.ts.map +0 -1
  149. package/esm/operations/configurationStores.js +0 -466
  150. package/esm/operations/configurationStores.js.map +0 -1
  151. package/esm/operations/index.d.ts.map +0 -1
  152. package/esm/operations/index.js.map +0 -1
  153. package/esm/operations/operations.d.ts +0 -67
  154. package/esm/operations/operations.d.ts.map +0 -1
  155. package/esm/operations/operations.js +0 -111
  156. package/esm/operations/operations.js.map +0 -1
  157. package/esm/operations/privateEndpointConnections.d.ts +0 -117
  158. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  159. package/esm/operations/privateEndpointConnections.js +0 -236
  160. package/esm/operations/privateEndpointConnections.js.map +0 -1
  161. package/esm/operations/privateLinkResources.d.ts +0 -76
  162. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  163. package/esm/operations/privateLinkResources.js +0 -117
  164. package/esm/operations/privateLinkResources.js.map +0 -1
  165. package/src/appConfigurationManagementClientContext.ts +0 -62
  166. package/src/models/configurationStoresMappers.ts +0 -30
  167. package/src/models/operationsMappers.ts +0 -16
  168. package/src/models/privateEndpointConnectionsMappers.ts +0 -24
  169. package/src/models/privateLinkResourcesMappers.ts +0 -13
@@ -1,2213 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
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. All rights reserved.
56
- * Licensed under the MIT License. See License.txt in the project root for license information.
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. All rights reserved.
68
- * Licensed under the MIT License. See License.txt in the project root for license information.
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 Resource = {
288
- serializedName: "Resource",
289
- type: {
290
- name: "Composite",
291
- className: "Resource",
292
- modelProperties: {
293
- id: {
294
- readOnly: true,
295
- serializedName: "id",
296
- type: {
297
- name: "String"
298
- }
299
- },
300
- name: {
301
- readOnly: true,
302
- serializedName: "name",
303
- type: {
304
- name: "String"
305
- }
306
- },
307
- type: {
308
- readOnly: true,
309
- serializedName: "type",
310
- type: {
311
- name: "String"
312
- }
313
- },
314
- location: {
315
- required: true,
316
- serializedName: "location",
317
- type: {
318
- name: "String"
319
- }
320
- },
321
- tags: {
322
- serializedName: "tags",
323
- type: {
324
- name: "Dictionary",
325
- value: {
326
- type: {
327
- name: "String"
328
- }
329
- }
330
- }
331
- }
332
- }
333
- }
334
- };
335
- var ConfigurationStore = {
336
- serializedName: "ConfigurationStore",
337
- type: {
338
- name: "Composite",
339
- className: "ConfigurationStore",
340
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { identity: {
341
- serializedName: "identity",
342
- type: {
343
- name: "Composite",
344
- className: "ResourceIdentity"
345
- }
346
- }, provisioningState: {
347
- readOnly: true,
348
- serializedName: "properties.provisioningState",
349
- type: {
350
- name: "String"
351
- }
352
- }, creationDate: {
353
- readOnly: true,
354
- serializedName: "properties.creationDate",
355
- type: {
356
- name: "DateTime"
357
- }
358
- }, endpoint: {
359
- readOnly: true,
360
- serializedName: "properties.endpoint",
361
- type: {
362
- name: "String"
363
- }
364
- }, encryption: {
365
- serializedName: "properties.encryption",
366
- type: {
367
- name: "Composite",
368
- className: "EncryptionProperties"
369
- }
370
- }, privateEndpointConnections: {
371
- readOnly: true,
372
- serializedName: "properties.privateEndpointConnections",
373
- type: {
374
- name: "Sequence",
375
- element: {
376
- type: {
377
- name: "Composite",
378
- className: "PrivateEndpointConnectionReference"
379
- }
380
- }
381
- }
382
- }, publicNetworkAccess: {
383
- serializedName: "properties.publicNetworkAccess",
384
- type: {
385
- name: "String"
386
- }
387
- }, sku: {
388
- required: true,
389
- serializedName: "sku",
390
- type: {
391
- name: "Composite",
392
- className: "Sku"
393
- }
394
- } })
395
- }
396
- };
397
- var ConfigurationStoreUpdateParameters = {
398
- serializedName: "ConfigurationStoreUpdateParameters",
399
- type: {
400
- name: "Composite",
401
- className: "ConfigurationStoreUpdateParameters",
402
- modelProperties: {
403
- encryption: {
404
- serializedName: "properties.encryption",
405
- type: {
406
- name: "Composite",
407
- className: "EncryptionProperties"
408
- }
409
- },
410
- identity: {
411
- serializedName: "identity",
412
- type: {
413
- name: "Composite",
414
- className: "ResourceIdentity"
415
- }
416
- },
417
- sku: {
418
- serializedName: "sku",
419
- type: {
420
- name: "Composite",
421
- className: "Sku"
422
- }
423
- },
424
- tags: {
425
- serializedName: "tags",
426
- type: {
427
- name: "Dictionary",
428
- value: {
429
- type: {
430
- name: "String"
431
- }
432
- }
433
- }
434
- }
435
- }
436
- }
437
- };
438
- var CheckNameAvailabilityParameters = {
439
- serializedName: "CheckNameAvailabilityParameters",
440
- type: {
441
- name: "Composite",
442
- className: "CheckNameAvailabilityParameters",
443
- modelProperties: {
444
- name: {
445
- required: true,
446
- serializedName: "name",
447
- type: {
448
- name: "String"
449
- }
450
- },
451
- type: {
452
- required: true,
453
- isConstant: true,
454
- serializedName: "type",
455
- defaultValue: 'Microsoft.AppConfiguration/configurationStores',
456
- type: {
457
- name: "String"
458
- }
459
- }
460
- }
461
- }
462
- };
463
- var NameAvailabilityStatus = {
464
- serializedName: "NameAvailabilityStatus",
465
- type: {
466
- name: "Composite",
467
- className: "NameAvailabilityStatus",
468
- modelProperties: {
469
- nameAvailable: {
470
- readOnly: true,
471
- serializedName: "nameAvailable",
472
- type: {
473
- name: "Boolean"
474
- }
475
- },
476
- message: {
477
- readOnly: true,
478
- serializedName: "message",
479
- type: {
480
- name: "String"
481
- }
482
- },
483
- reason: {
484
- readOnly: true,
485
- serializedName: "reason",
486
- type: {
487
- name: "String"
488
- }
489
- }
490
- }
491
- }
492
- };
493
- var ApiKey = {
494
- serializedName: "ApiKey",
495
- type: {
496
- name: "Composite",
497
- className: "ApiKey",
498
- modelProperties: {
499
- id: {
500
- readOnly: true,
501
- serializedName: "id",
502
- type: {
503
- name: "String"
504
- }
505
- },
506
- name: {
507
- readOnly: true,
508
- serializedName: "name",
509
- type: {
510
- name: "String"
511
- }
512
- },
513
- value: {
514
- readOnly: true,
515
- serializedName: "value",
516
- type: {
517
- name: "String"
518
- }
519
- },
520
- connectionString: {
521
- readOnly: true,
522
- serializedName: "connectionString",
523
- type: {
524
- name: "String"
525
- }
526
- },
527
- lastModified: {
528
- readOnly: true,
529
- serializedName: "lastModified",
530
- type: {
531
- name: "DateTime"
532
- }
533
- },
534
- readOnly: {
535
- readOnly: true,
536
- serializedName: "readOnly",
537
- type: {
538
- name: "Boolean"
539
- }
540
- }
541
- }
542
- }
543
- };
544
- var RegenerateKeyParameters = {
545
- serializedName: "RegenerateKeyParameters",
546
- type: {
547
- name: "Composite",
548
- className: "RegenerateKeyParameters",
549
- modelProperties: {
550
- id: {
551
- serializedName: "id",
552
- type: {
553
- name: "String"
554
- }
555
- }
556
- }
557
- }
558
- };
559
- var ListKeyValueParameters = {
560
- serializedName: "ListKeyValueParameters",
561
- type: {
562
- name: "Composite",
563
- className: "ListKeyValueParameters",
564
- modelProperties: {
565
- key: {
566
- required: true,
567
- serializedName: "key",
568
- type: {
569
- name: "String"
570
- }
571
- },
572
- label: {
573
- serializedName: "label",
574
- type: {
575
- name: "String"
576
- }
577
- }
578
- }
579
- }
580
- };
581
- var KeyValue = {
582
- serializedName: "KeyValue",
583
- type: {
584
- name: "Composite",
585
- className: "KeyValue",
586
- modelProperties: {
587
- key: {
588
- readOnly: true,
589
- serializedName: "key",
590
- type: {
591
- name: "String"
592
- }
593
- },
594
- label: {
595
- readOnly: true,
596
- serializedName: "label",
597
- type: {
598
- name: "String"
599
- }
600
- },
601
- value: {
602
- readOnly: true,
603
- serializedName: "value",
604
- type: {
605
- name: "String"
606
- }
607
- },
608
- contentType: {
609
- readOnly: true,
610
- serializedName: "contentType",
611
- type: {
612
- name: "String"
613
- }
614
- },
615
- eTag: {
616
- readOnly: true,
617
- serializedName: "eTag",
618
- type: {
619
- name: "String"
620
- }
621
- },
622
- lastModified: {
623
- readOnly: true,
624
- serializedName: "lastModified",
625
- type: {
626
- name: "DateTime"
627
- }
628
- },
629
- locked: {
630
- readOnly: true,
631
- serializedName: "locked",
632
- type: {
633
- name: "Boolean"
634
- }
635
- },
636
- tags: {
637
- readOnly: true,
638
- serializedName: "tags",
639
- type: {
640
- name: "Dictionary",
641
- value: {
642
- type: {
643
- name: "String"
644
- }
645
- }
646
- }
647
- }
648
- }
649
- }
650
- };
651
- var OperationDefinitionDisplay = {
652
- serializedName: "OperationDefinitionDisplay",
653
- type: {
654
- name: "Composite",
655
- className: "OperationDefinitionDisplay",
656
- modelProperties: {
657
- provider: {
658
- readOnly: true,
659
- serializedName: "provider",
660
- type: {
661
- name: "String"
662
- }
663
- },
664
- resource: {
665
- serializedName: "resource",
666
- type: {
667
- name: "String"
668
- }
669
- },
670
- operation: {
671
- serializedName: "operation",
672
- type: {
673
- name: "String"
674
- }
675
- },
676
- description: {
677
- serializedName: "description",
678
- type: {
679
- name: "String"
680
- }
681
- }
682
- }
683
- }
684
- };
685
- var OperationDefinition = {
686
- serializedName: "OperationDefinition",
687
- type: {
688
- name: "Composite",
689
- className: "OperationDefinition",
690
- modelProperties: {
691
- name: {
692
- serializedName: "name",
693
- type: {
694
- name: "String"
695
- }
696
- },
697
- display: {
698
- serializedName: "display",
699
- type: {
700
- name: "Composite",
701
- className: "OperationDefinitionDisplay"
702
- }
703
- }
704
- }
705
- }
706
- };
707
- var ErrorModel = {
708
- serializedName: "Error",
709
- type: {
710
- name: "Composite",
711
- className: "ErrorModel",
712
- modelProperties: {
713
- code: {
714
- serializedName: "code",
715
- type: {
716
- name: "String"
717
- }
718
- },
719
- message: {
720
- serializedName: "message",
721
- type: {
722
- name: "String"
723
- }
724
- }
725
- }
726
- }
727
- };
728
- var PrivateEndpointConnection = {
729
- serializedName: "PrivateEndpointConnection",
730
- type: {
731
- name: "Composite",
732
- className: "PrivateEndpointConnection",
733
- modelProperties: {
734
- id: {
735
- readOnly: true,
736
- serializedName: "id",
737
- type: {
738
- name: "String"
739
- }
740
- },
741
- name: {
742
- readOnly: true,
743
- serializedName: "name",
744
- type: {
745
- name: "String"
746
- }
747
- },
748
- type: {
749
- readOnly: true,
750
- serializedName: "type",
751
- type: {
752
- name: "String"
753
- }
754
- },
755
- provisioningState: {
756
- readOnly: true,
757
- serializedName: "properties.provisioningState",
758
- type: {
759
- name: "String"
760
- }
761
- },
762
- privateEndpoint: {
763
- serializedName: "properties.privateEndpoint",
764
- type: {
765
- name: "Composite",
766
- className: "PrivateEndpoint"
767
- }
768
- },
769
- privateLinkServiceConnectionState: {
770
- required: true,
771
- serializedName: "properties.privateLinkServiceConnectionState",
772
- type: {
773
- name: "Composite",
774
- className: "PrivateLinkServiceConnectionState"
775
- }
776
- }
777
- }
778
- }
779
- };
780
- var PrivateLinkResource = {
781
- serializedName: "PrivateLinkResource",
782
- type: {
783
- name: "Composite",
784
- className: "PrivateLinkResource",
785
- modelProperties: {
786
- id: {
787
- readOnly: true,
788
- serializedName: "id",
789
- type: {
790
- name: "String"
791
- }
792
- },
793
- name: {
794
- readOnly: true,
795
- serializedName: "name",
796
- type: {
797
- name: "String"
798
- }
799
- },
800
- type: {
801
- readOnly: true,
802
- serializedName: "type",
803
- type: {
804
- name: "String"
805
- }
806
- },
807
- groupId: {
808
- readOnly: true,
809
- serializedName: "properties.groupId",
810
- type: {
811
- name: "String"
812
- }
813
- },
814
- requiredMembers: {
815
- readOnly: true,
816
- serializedName: "properties.requiredMembers",
817
- type: {
818
- name: "Sequence",
819
- element: {
820
- type: {
821
- name: "String"
822
- }
823
- }
824
- }
825
- },
826
- requiredZoneNames: {
827
- readOnly: true,
828
- serializedName: "properties.requiredZoneNames",
829
- type: {
830
- name: "Sequence",
831
- element: {
832
- type: {
833
- name: "String"
834
- }
835
- }
836
- }
837
- }
838
- }
839
- }
840
- };
841
- var ConfigurationStoreListResult = {
842
- serializedName: "ConfigurationStoreListResult",
843
- type: {
844
- name: "Composite",
845
- className: "ConfigurationStoreListResult",
846
- modelProperties: {
847
- value: {
848
- serializedName: "",
849
- type: {
850
- name: "Sequence",
851
- element: {
852
- type: {
853
- name: "Composite",
854
- className: "ConfigurationStore"
855
- }
856
- }
857
- }
858
- },
859
- nextLink: {
860
- serializedName: "nextLink",
861
- type: {
862
- name: "String"
863
- }
864
- }
865
- }
866
- }
867
- };
868
- var ApiKeyListResult = {
869
- serializedName: "ApiKeyListResult",
870
- type: {
871
- name: "Composite",
872
- className: "ApiKeyListResult",
873
- modelProperties: {
874
- value: {
875
- serializedName: "",
876
- type: {
877
- name: "Sequence",
878
- element: {
879
- type: {
880
- name: "Composite",
881
- className: "ApiKey"
882
- }
883
- }
884
- }
885
- },
886
- nextLink: {
887
- serializedName: "nextLink",
888
- type: {
889
- name: "String"
890
- }
891
- }
892
- }
893
- }
894
- };
895
- var OperationDefinitionListResult = {
896
- serializedName: "OperationDefinitionListResult",
897
- type: {
898
- name: "Composite",
899
- className: "OperationDefinitionListResult",
900
- modelProperties: {
901
- value: {
902
- serializedName: "",
903
- type: {
904
- name: "Sequence",
905
- element: {
906
- type: {
907
- name: "Composite",
908
- className: "OperationDefinition"
909
- }
910
- }
911
- }
912
- },
913
- nextLink: {
914
- serializedName: "nextLink",
915
- type: {
916
- name: "String"
917
- }
918
- }
919
- }
920
- }
921
- };
922
- var PrivateEndpointConnectionListResult = {
923
- serializedName: "PrivateEndpointConnectionListResult",
924
- type: {
925
- name: "Composite",
926
- className: "PrivateEndpointConnectionListResult",
927
- modelProperties: {
928
- value: {
929
- serializedName: "",
930
- type: {
931
- name: "Sequence",
932
- element: {
933
- type: {
934
- name: "Composite",
935
- className: "PrivateEndpointConnection"
936
- }
937
- }
938
- }
939
- },
940
- nextLink: {
941
- serializedName: "nextLink",
942
- type: {
943
- name: "String"
944
- }
945
- }
946
- }
947
- }
948
- };
949
- var PrivateLinkResourceListResult = {
950
- serializedName: "PrivateLinkResourceListResult",
951
- type: {
952
- name: "Composite",
953
- className: "PrivateLinkResourceListResult",
954
- modelProperties: {
955
- value: {
956
- serializedName: "",
957
- type: {
958
- name: "Sequence",
959
- element: {
960
- type: {
961
- name: "Composite",
962
- className: "PrivateLinkResource"
963
- }
964
- }
965
- }
966
- },
967
- nextLink: {
968
- serializedName: "nextLink",
969
- type: {
970
- name: "String"
971
- }
972
- }
973
- }
974
- }
975
- };
976
-
977
- var mappers = /*#__PURE__*/Object.freeze({
978
- __proto__: null,
979
- CloudError: CloudError,
980
- BaseResource: BaseResource,
981
- UserIdentity: UserIdentity,
982
- ResourceIdentity: ResourceIdentity,
983
- KeyVaultProperties: KeyVaultProperties,
984
- EncryptionProperties: EncryptionProperties,
985
- PrivateEndpoint: PrivateEndpoint,
986
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
987
- PrivateEndpointConnectionReference: PrivateEndpointConnectionReference,
988
- Sku: Sku,
989
- Resource: Resource,
990
- ConfigurationStore: ConfigurationStore,
991
- ConfigurationStoreUpdateParameters: ConfigurationStoreUpdateParameters,
992
- CheckNameAvailabilityParameters: CheckNameAvailabilityParameters,
993
- NameAvailabilityStatus: NameAvailabilityStatus,
994
- ApiKey: ApiKey,
995
- RegenerateKeyParameters: RegenerateKeyParameters,
996
- ListKeyValueParameters: ListKeyValueParameters,
997
- KeyValue: KeyValue,
998
- OperationDefinitionDisplay: OperationDefinitionDisplay,
999
- OperationDefinition: OperationDefinition,
1000
- ErrorModel: ErrorModel,
1001
- PrivateEndpointConnection: PrivateEndpointConnection,
1002
- PrivateLinkResource: PrivateLinkResource,
1003
- ConfigurationStoreListResult: ConfigurationStoreListResult,
1004
- ApiKeyListResult: ApiKeyListResult,
1005
- OperationDefinitionListResult: OperationDefinitionListResult,
1006
- PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
1007
- PrivateLinkResourceListResult: PrivateLinkResourceListResult
1008
- });
1009
-
1010
- /*
1011
- * Copyright (c) Microsoft Corporation. All rights reserved.
1012
- * Licensed under the MIT License. See License.txt in the project root for license information.
1013
- *
1014
- * Code generated by Microsoft (R) AutoRest Code Generator.
1015
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1016
- */
1017
-
1018
- var Mappers = /*#__PURE__*/Object.freeze({
1019
- __proto__: null,
1020
- ApiKey: ApiKey,
1021
- ApiKeyListResult: ApiKeyListResult,
1022
- BaseResource: BaseResource,
1023
- ConfigurationStore: ConfigurationStore,
1024
- ConfigurationStoreListResult: ConfigurationStoreListResult,
1025
- ConfigurationStoreUpdateParameters: ConfigurationStoreUpdateParameters,
1026
- EncryptionProperties: EncryptionProperties,
1027
- ErrorModel: ErrorModel,
1028
- KeyValue: KeyValue,
1029
- KeyVaultProperties: KeyVaultProperties,
1030
- ListKeyValueParameters: ListKeyValueParameters,
1031
- PrivateEndpoint: PrivateEndpoint,
1032
- PrivateEndpointConnection: PrivateEndpointConnection,
1033
- PrivateEndpointConnectionReference: PrivateEndpointConnectionReference,
1034
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
1035
- RegenerateKeyParameters: RegenerateKeyParameters,
1036
- Resource: Resource,
1037
- ResourceIdentity: ResourceIdentity,
1038
- Sku: Sku,
1039
- UserIdentity: UserIdentity
1040
- });
1041
-
1042
- /*
1043
- * Copyright (c) Microsoft Corporation. All rights reserved.
1044
- * Licensed under the MIT License. See License.txt in the project root for
1045
- * license information.
1046
- *
1047
- * Code generated by Microsoft (R) AutoRest Code Generator.
1048
- * Changes may cause incorrect behavior and will be lost if the code is
1049
- * regenerated.
1050
- */
1051
- var acceptLanguage = {
1052
- parameterPath: "acceptLanguage",
1053
- mapper: {
1054
- serializedName: "accept-language",
1055
- defaultValue: 'en-US',
1056
- type: {
1057
- name: "String"
1058
- }
1059
- }
1060
- };
1061
- var apiVersion = {
1062
- parameterPath: "apiVersion",
1063
- mapper: {
1064
- required: true,
1065
- serializedName: "api-version",
1066
- type: {
1067
- name: "String"
1068
- }
1069
- }
1070
- };
1071
- var configStoreName = {
1072
- parameterPath: "configStoreName",
1073
- mapper: {
1074
- required: true,
1075
- serializedName: "configStoreName",
1076
- constraints: {
1077
- MaxLength: 50,
1078
- MinLength: 5,
1079
- Pattern: /^[a-zA-Z0-9_-]*$/
1080
- },
1081
- type: {
1082
- name: "String"
1083
- }
1084
- }
1085
- };
1086
- var groupName = {
1087
- parameterPath: "groupName",
1088
- mapper: {
1089
- required: true,
1090
- serializedName: "groupName",
1091
- type: {
1092
- name: "String"
1093
- }
1094
- }
1095
- };
1096
- var nextPageLink = {
1097
- parameterPath: "nextPageLink",
1098
- mapper: {
1099
- required: true,
1100
- serializedName: "nextLink",
1101
- type: {
1102
- name: "String"
1103
- }
1104
- },
1105
- skipEncoding: true
1106
- };
1107
- var privateEndpointConnectionName = {
1108
- parameterPath: "privateEndpointConnectionName",
1109
- mapper: {
1110
- required: true,
1111
- serializedName: "privateEndpointConnectionName",
1112
- type: {
1113
- name: "String"
1114
- }
1115
- }
1116
- };
1117
- var resourceGroupName = {
1118
- parameterPath: "resourceGroupName",
1119
- mapper: {
1120
- required: true,
1121
- serializedName: "resourceGroupName",
1122
- type: {
1123
- name: "String"
1124
- }
1125
- }
1126
- };
1127
- var skipToken = {
1128
- parameterPath: [
1129
- "options",
1130
- "skipToken"
1131
- ],
1132
- mapper: {
1133
- serializedName: "$skipToken",
1134
- type: {
1135
- name: "String"
1136
- }
1137
- }
1138
- };
1139
- var subscriptionId = {
1140
- parameterPath: "subscriptionId",
1141
- mapper: {
1142
- required: true,
1143
- serializedName: "subscriptionId",
1144
- type: {
1145
- name: "String"
1146
- }
1147
- }
1148
- };
1149
-
1150
- /*
1151
- * Copyright (c) Microsoft Corporation. All rights reserved.
1152
- * Licensed under the MIT License. See License.txt in the project root for
1153
- * license information.
1154
- *
1155
- * Code generated by Microsoft (R) AutoRest Code Generator.
1156
- * Changes may cause incorrect behavior and will be lost if the code is
1157
- * regenerated.
1158
- */
1159
- /** Class representing a ConfigurationStores. */
1160
- var ConfigurationStores = /** @class */ (function () {
1161
- /**
1162
- * Create a ConfigurationStores.
1163
- * @param {AppConfigurationManagementClientContext} client Reference to the service client.
1164
- */
1165
- function ConfigurationStores(client) {
1166
- this.client = client;
1167
- }
1168
- ConfigurationStores.prototype.list = function (options, callback) {
1169
- return this.client.sendOperationRequest({
1170
- options: options
1171
- }, listOperationSpec, callback);
1172
- };
1173
- ConfigurationStores.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
1174
- return this.client.sendOperationRequest({
1175
- resourceGroupName: resourceGroupName,
1176
- options: options
1177
- }, listByResourceGroupOperationSpec, callback);
1178
- };
1179
- ConfigurationStores.prototype.get = function (resourceGroupName, configStoreName, options, callback) {
1180
- return this.client.sendOperationRequest({
1181
- resourceGroupName: resourceGroupName,
1182
- configStoreName: configStoreName,
1183
- options: options
1184
- }, getOperationSpec, callback);
1185
- };
1186
- /**
1187
- * Creates a configuration store with the specified parameters.
1188
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
1189
- * @param configStoreName The name of the configuration store.
1190
- * @param configStoreCreationParameters The parameters for creating a configuration store.
1191
- * @param [options] The optional parameters
1192
- * @returns Promise<Models.ConfigurationStoresCreateResponse>
1193
- */
1194
- ConfigurationStores.prototype.create = function (resourceGroupName, configStoreName, configStoreCreationParameters, options) {
1195
- return this.beginCreate(resourceGroupName, configStoreName, configStoreCreationParameters, options)
1196
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1197
- };
1198
- /**
1199
- * Deletes a configuration store.
1200
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
1201
- * @param configStoreName The name of the configuration store.
1202
- * @param [options] The optional parameters
1203
- * @returns Promise<msRest.RestResponse>
1204
- */
1205
- ConfigurationStores.prototype.deleteMethod = function (resourceGroupName, configStoreName, options) {
1206
- return this.beginDeleteMethod(resourceGroupName, configStoreName, options)
1207
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1208
- };
1209
- /**
1210
- * Updates a configuration store with the specified parameters.
1211
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
1212
- * @param configStoreName The name of the configuration store.
1213
- * @param configStoreUpdateParameters The parameters for updating a configuration store.
1214
- * @param [options] The optional parameters
1215
- * @returns Promise<Models.ConfigurationStoresUpdateResponse>
1216
- */
1217
- ConfigurationStores.prototype.update = function (resourceGroupName, configStoreName, configStoreUpdateParameters, options) {
1218
- return this.beginUpdate(resourceGroupName, configStoreName, configStoreUpdateParameters, options)
1219
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1220
- };
1221
- ConfigurationStores.prototype.listKeys = function (resourceGroupName, configStoreName, options, callback) {
1222
- return this.client.sendOperationRequest({
1223
- resourceGroupName: resourceGroupName,
1224
- configStoreName: configStoreName,
1225
- options: options
1226
- }, listKeysOperationSpec, callback);
1227
- };
1228
- ConfigurationStores.prototype.regenerateKey = function (resourceGroupName, configStoreName, regenerateKeyParameters, options, callback) {
1229
- return this.client.sendOperationRequest({
1230
- resourceGroupName: resourceGroupName,
1231
- configStoreName: configStoreName,
1232
- regenerateKeyParameters: regenerateKeyParameters,
1233
- options: options
1234
- }, regenerateKeyOperationSpec, callback);
1235
- };
1236
- ConfigurationStores.prototype.listKeyValue = function (resourceGroupName, configStoreName, listKeyValueParameters, options, callback) {
1237
- return this.client.sendOperationRequest({
1238
- resourceGroupName: resourceGroupName,
1239
- configStoreName: configStoreName,
1240
- listKeyValueParameters: listKeyValueParameters,
1241
- options: options
1242
- }, listKeyValueOperationSpec, callback);
1243
- };
1244
- /**
1245
- * Creates a configuration store with the specified parameters.
1246
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
1247
- * @param configStoreName The name of the configuration store.
1248
- * @param configStoreCreationParameters The parameters for creating a configuration store.
1249
- * @param [options] The optional parameters
1250
- * @returns Promise<msRestAzure.LROPoller>
1251
- */
1252
- ConfigurationStores.prototype.beginCreate = function (resourceGroupName, configStoreName, configStoreCreationParameters, options) {
1253
- return this.client.sendLRORequest({
1254
- resourceGroupName: resourceGroupName,
1255
- configStoreName: configStoreName,
1256
- configStoreCreationParameters: configStoreCreationParameters,
1257
- options: options
1258
- }, beginCreateOperationSpec, options);
1259
- };
1260
- /**
1261
- * Deletes a configuration store.
1262
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
1263
- * @param configStoreName The name of the configuration store.
1264
- * @param [options] The optional parameters
1265
- * @returns Promise<msRestAzure.LROPoller>
1266
- */
1267
- ConfigurationStores.prototype.beginDeleteMethod = function (resourceGroupName, configStoreName, options) {
1268
- return this.client.sendLRORequest({
1269
- resourceGroupName: resourceGroupName,
1270
- configStoreName: configStoreName,
1271
- options: options
1272
- }, beginDeleteMethodOperationSpec, options);
1273
- };
1274
- /**
1275
- * Updates a configuration store with the specified parameters.
1276
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
1277
- * @param configStoreName The name of the configuration store.
1278
- * @param configStoreUpdateParameters The parameters for updating a configuration store.
1279
- * @param [options] The optional parameters
1280
- * @returns Promise<msRestAzure.LROPoller>
1281
- */
1282
- ConfigurationStores.prototype.beginUpdate = function (resourceGroupName, configStoreName, configStoreUpdateParameters, options) {
1283
- return this.client.sendLRORequest({
1284
- resourceGroupName: resourceGroupName,
1285
- configStoreName: configStoreName,
1286
- configStoreUpdateParameters: configStoreUpdateParameters,
1287
- options: options
1288
- }, beginUpdateOperationSpec, options);
1289
- };
1290
- ConfigurationStores.prototype.listNext = function (nextPageLink, options, callback) {
1291
- return this.client.sendOperationRequest({
1292
- nextPageLink: nextPageLink,
1293
- options: options
1294
- }, listNextOperationSpec, callback);
1295
- };
1296
- ConfigurationStores.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
1297
- return this.client.sendOperationRequest({
1298
- nextPageLink: nextPageLink,
1299
- options: options
1300
- }, listByResourceGroupNextOperationSpec, callback);
1301
- };
1302
- ConfigurationStores.prototype.listKeysNext = function (nextPageLink, options, callback) {
1303
- return this.client.sendOperationRequest({
1304
- nextPageLink: nextPageLink,
1305
- options: options
1306
- }, listKeysNextOperationSpec, callback);
1307
- };
1308
- return ConfigurationStores;
1309
- }());
1310
- // Operation Specifications
1311
- var serializer = new msRest.Serializer(Mappers);
1312
- var listOperationSpec = {
1313
- httpMethod: "GET",
1314
- path: "subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/configurationStores",
1315
- urlParameters: [
1316
- subscriptionId
1317
- ],
1318
- queryParameters: [
1319
- apiVersion,
1320
- skipToken
1321
- ],
1322
- headerParameters: [
1323
- acceptLanguage
1324
- ],
1325
- responses: {
1326
- 200: {
1327
- bodyMapper: ConfigurationStoreListResult
1328
- },
1329
- default: {
1330
- bodyMapper: ErrorModel
1331
- }
1332
- },
1333
- serializer: serializer
1334
- };
1335
- var listByResourceGroupOperationSpec = {
1336
- httpMethod: "GET",
1337
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores",
1338
- urlParameters: [
1339
- subscriptionId,
1340
- resourceGroupName
1341
- ],
1342
- queryParameters: [
1343
- apiVersion,
1344
- skipToken
1345
- ],
1346
- headerParameters: [
1347
- acceptLanguage
1348
- ],
1349
- responses: {
1350
- 200: {
1351
- bodyMapper: ConfigurationStoreListResult
1352
- },
1353
- default: {
1354
- bodyMapper: ErrorModel
1355
- }
1356
- },
1357
- serializer: serializer
1358
- };
1359
- var getOperationSpec = {
1360
- httpMethod: "GET",
1361
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}",
1362
- urlParameters: [
1363
- subscriptionId,
1364
- resourceGroupName,
1365
- configStoreName
1366
- ],
1367
- queryParameters: [
1368
- apiVersion
1369
- ],
1370
- headerParameters: [
1371
- acceptLanguage
1372
- ],
1373
- responses: {
1374
- 200: {
1375
- bodyMapper: ConfigurationStore
1376
- },
1377
- default: {
1378
- bodyMapper: ErrorModel
1379
- }
1380
- },
1381
- serializer: serializer
1382
- };
1383
- var listKeysOperationSpec = {
1384
- httpMethod: "POST",
1385
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/ListKeys",
1386
- urlParameters: [
1387
- subscriptionId,
1388
- resourceGroupName,
1389
- configStoreName
1390
- ],
1391
- queryParameters: [
1392
- apiVersion,
1393
- skipToken
1394
- ],
1395
- headerParameters: [
1396
- acceptLanguage
1397
- ],
1398
- responses: {
1399
- 200: {
1400
- bodyMapper: ApiKeyListResult
1401
- },
1402
- default: {
1403
- bodyMapper: ErrorModel
1404
- }
1405
- },
1406
- serializer: serializer
1407
- };
1408
- var regenerateKeyOperationSpec = {
1409
- httpMethod: "POST",
1410
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/RegenerateKey",
1411
- urlParameters: [
1412
- subscriptionId,
1413
- resourceGroupName,
1414
- configStoreName
1415
- ],
1416
- queryParameters: [
1417
- apiVersion
1418
- ],
1419
- headerParameters: [
1420
- acceptLanguage
1421
- ],
1422
- requestBody: {
1423
- parameterPath: "regenerateKeyParameters",
1424
- mapper: __assign(__assign({}, RegenerateKeyParameters), { required: true })
1425
- },
1426
- responses: {
1427
- 200: {
1428
- bodyMapper: ApiKey
1429
- },
1430
- default: {
1431
- bodyMapper: ErrorModel
1432
- }
1433
- },
1434
- serializer: serializer
1435
- };
1436
- var listKeyValueOperationSpec = {
1437
- httpMethod: "POST",
1438
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/listKeyValue",
1439
- urlParameters: [
1440
- subscriptionId,
1441
- resourceGroupName,
1442
- configStoreName
1443
- ],
1444
- queryParameters: [
1445
- apiVersion
1446
- ],
1447
- headerParameters: [
1448
- acceptLanguage
1449
- ],
1450
- requestBody: {
1451
- parameterPath: "listKeyValueParameters",
1452
- mapper: __assign(__assign({}, ListKeyValueParameters), { required: true })
1453
- },
1454
- responses: {
1455
- 200: {
1456
- bodyMapper: KeyValue
1457
- },
1458
- default: {
1459
- bodyMapper: ErrorModel
1460
- }
1461
- },
1462
- serializer: serializer
1463
- };
1464
- var beginCreateOperationSpec = {
1465
- httpMethod: "PUT",
1466
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}",
1467
- urlParameters: [
1468
- subscriptionId,
1469
- resourceGroupName,
1470
- configStoreName
1471
- ],
1472
- queryParameters: [
1473
- apiVersion
1474
- ],
1475
- headerParameters: [
1476
- acceptLanguage
1477
- ],
1478
- requestBody: {
1479
- parameterPath: "configStoreCreationParameters",
1480
- mapper: __assign(__assign({}, ConfigurationStore), { required: true })
1481
- },
1482
- responses: {
1483
- 200: {
1484
- bodyMapper: ConfigurationStore
1485
- },
1486
- 201: {
1487
- bodyMapper: ConfigurationStore
1488
- },
1489
- default: {
1490
- bodyMapper: ErrorModel
1491
- }
1492
- },
1493
- serializer: serializer
1494
- };
1495
- var beginDeleteMethodOperationSpec = {
1496
- httpMethod: "DELETE",
1497
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}",
1498
- urlParameters: [
1499
- subscriptionId,
1500
- resourceGroupName,
1501
- configStoreName
1502
- ],
1503
- queryParameters: [
1504
- apiVersion
1505
- ],
1506
- headerParameters: [
1507
- acceptLanguage
1508
- ],
1509
- responses: {
1510
- 200: {},
1511
- 202: {},
1512
- 204: {},
1513
- default: {
1514
- bodyMapper: ErrorModel
1515
- }
1516
- },
1517
- serializer: serializer
1518
- };
1519
- var beginUpdateOperationSpec = {
1520
- httpMethod: "PATCH",
1521
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}",
1522
- urlParameters: [
1523
- subscriptionId,
1524
- resourceGroupName,
1525
- configStoreName
1526
- ],
1527
- queryParameters: [
1528
- apiVersion
1529
- ],
1530
- headerParameters: [
1531
- acceptLanguage
1532
- ],
1533
- requestBody: {
1534
- parameterPath: "configStoreUpdateParameters",
1535
- mapper: __assign(__assign({}, ConfigurationStoreUpdateParameters), { required: true })
1536
- },
1537
- responses: {
1538
- 200: {
1539
- bodyMapper: ConfigurationStore
1540
- },
1541
- 201: {
1542
- bodyMapper: ConfigurationStore
1543
- },
1544
- default: {
1545
- bodyMapper: ErrorModel
1546
- }
1547
- },
1548
- serializer: serializer
1549
- };
1550
- var listNextOperationSpec = {
1551
- httpMethod: "GET",
1552
- baseUrl: "https://management.azure.com",
1553
- path: "{nextLink}",
1554
- urlParameters: [
1555
- nextPageLink
1556
- ],
1557
- headerParameters: [
1558
- acceptLanguage
1559
- ],
1560
- responses: {
1561
- 200: {
1562
- bodyMapper: ConfigurationStoreListResult
1563
- },
1564
- default: {
1565
- bodyMapper: ErrorModel
1566
- }
1567
- },
1568
- serializer: serializer
1569
- };
1570
- var listByResourceGroupNextOperationSpec = {
1571
- httpMethod: "GET",
1572
- baseUrl: "https://management.azure.com",
1573
- path: "{nextLink}",
1574
- urlParameters: [
1575
- nextPageLink
1576
- ],
1577
- headerParameters: [
1578
- acceptLanguage
1579
- ],
1580
- responses: {
1581
- 200: {
1582
- bodyMapper: ConfigurationStoreListResult
1583
- },
1584
- default: {
1585
- bodyMapper: ErrorModel
1586
- }
1587
- },
1588
- serializer: serializer
1589
- };
1590
- var listKeysNextOperationSpec = {
1591
- httpMethod: "POST",
1592
- baseUrl: "https://management.azure.com",
1593
- path: "{nextLink}",
1594
- urlParameters: [
1595
- nextPageLink
1596
- ],
1597
- headerParameters: [
1598
- acceptLanguage
1599
- ],
1600
- responses: {
1601
- 200: {
1602
- bodyMapper: ApiKeyListResult
1603
- },
1604
- default: {
1605
- bodyMapper: ErrorModel
1606
- }
1607
- },
1608
- serializer: serializer
1609
- };
1610
-
1611
- /*
1612
- * Copyright (c) Microsoft Corporation. All rights reserved.
1613
- * Licensed under the MIT License. See License.txt in the project root for license information.
1614
- *
1615
- * Code generated by Microsoft (R) AutoRest Code Generator.
1616
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1617
- */
1618
-
1619
- var Mappers$1 = /*#__PURE__*/Object.freeze({
1620
- __proto__: null,
1621
- CheckNameAvailabilityParameters: CheckNameAvailabilityParameters,
1622
- ErrorModel: ErrorModel,
1623
- NameAvailabilityStatus: NameAvailabilityStatus,
1624
- OperationDefinition: OperationDefinition,
1625
- OperationDefinitionDisplay: OperationDefinitionDisplay,
1626
- OperationDefinitionListResult: OperationDefinitionListResult
1627
- });
1628
-
1629
- /*
1630
- * Copyright (c) Microsoft Corporation. All rights reserved.
1631
- * Licensed under the MIT License. See License.txt in the project root for
1632
- * license information.
1633
- *
1634
- * Code generated by Microsoft (R) AutoRest Code Generator.
1635
- * Changes may cause incorrect behavior and will be lost if the code is
1636
- * regenerated.
1637
- */
1638
- /** Class representing a Operations. */
1639
- var Operations = /** @class */ (function () {
1640
- /**
1641
- * Create a Operations.
1642
- * @param {AppConfigurationManagementClientContext} client Reference to the service client.
1643
- */
1644
- function Operations(client) {
1645
- this.client = client;
1646
- }
1647
- Operations.prototype.checkNameAvailability = function (checkNameAvailabilityParameters, options, callback) {
1648
- return this.client.sendOperationRequest({
1649
- checkNameAvailabilityParameters: checkNameAvailabilityParameters,
1650
- options: options
1651
- }, checkNameAvailabilityOperationSpec, callback);
1652
- };
1653
- Operations.prototype.list = function (options, callback) {
1654
- return this.client.sendOperationRequest({
1655
- options: options
1656
- }, listOperationSpec$1, callback);
1657
- };
1658
- Operations.prototype.listNext = function (nextPageLink, options, callback) {
1659
- return this.client.sendOperationRequest({
1660
- nextPageLink: nextPageLink,
1661
- options: options
1662
- }, listNextOperationSpec$1, callback);
1663
- };
1664
- return Operations;
1665
- }());
1666
- // Operation Specifications
1667
- var serializer$1 = new msRest.Serializer(Mappers$1);
1668
- var checkNameAvailabilityOperationSpec = {
1669
- httpMethod: "POST",
1670
- path: "subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/checkNameAvailability",
1671
- urlParameters: [
1672
- subscriptionId
1673
- ],
1674
- queryParameters: [
1675
- apiVersion
1676
- ],
1677
- headerParameters: [
1678
- acceptLanguage
1679
- ],
1680
- requestBody: {
1681
- parameterPath: "checkNameAvailabilityParameters",
1682
- mapper: __assign(__assign({}, CheckNameAvailabilityParameters), { required: true })
1683
- },
1684
- responses: {
1685
- 200: {
1686
- bodyMapper: NameAvailabilityStatus
1687
- },
1688
- default: {
1689
- bodyMapper: ErrorModel
1690
- }
1691
- },
1692
- serializer: serializer$1
1693
- };
1694
- var listOperationSpec$1 = {
1695
- httpMethod: "GET",
1696
- path: "providers/Microsoft.AppConfiguration/operations",
1697
- queryParameters: [
1698
- apiVersion,
1699
- skipToken
1700
- ],
1701
- headerParameters: [
1702
- acceptLanguage
1703
- ],
1704
- responses: {
1705
- 200: {
1706
- bodyMapper: OperationDefinitionListResult
1707
- },
1708
- default: {
1709
- bodyMapper: ErrorModel
1710
- }
1711
- },
1712
- serializer: serializer$1
1713
- };
1714
- var listNextOperationSpec$1 = {
1715
- httpMethod: "GET",
1716
- baseUrl: "https://management.azure.com",
1717
- path: "{nextLink}",
1718
- urlParameters: [
1719
- nextPageLink
1720
- ],
1721
- headerParameters: [
1722
- acceptLanguage
1723
- ],
1724
- responses: {
1725
- 200: {
1726
- bodyMapper: OperationDefinitionListResult
1727
- },
1728
- default: {
1729
- bodyMapper: ErrorModel
1730
- }
1731
- },
1732
- serializer: serializer$1
1733
- };
1734
-
1735
- /*
1736
- * Copyright (c) Microsoft Corporation. All rights reserved.
1737
- * Licensed under the MIT License. See License.txt in the project root for license information.
1738
- *
1739
- * Code generated by Microsoft (R) AutoRest Code Generator.
1740
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1741
- */
1742
-
1743
- var Mappers$2 = /*#__PURE__*/Object.freeze({
1744
- __proto__: null,
1745
- BaseResource: BaseResource,
1746
- ConfigurationStore: ConfigurationStore,
1747
- EncryptionProperties: EncryptionProperties,
1748
- ErrorModel: ErrorModel,
1749
- KeyVaultProperties: KeyVaultProperties,
1750
- PrivateEndpoint: PrivateEndpoint,
1751
- PrivateEndpointConnection: PrivateEndpointConnection,
1752
- PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
1753
- PrivateEndpointConnectionReference: PrivateEndpointConnectionReference,
1754
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
1755
- Resource: Resource,
1756
- ResourceIdentity: ResourceIdentity,
1757
- Sku: Sku,
1758
- UserIdentity: UserIdentity
1759
- });
1760
-
1761
- /*
1762
- * Copyright (c) Microsoft Corporation. All rights reserved.
1763
- * Licensed under the MIT License. See License.txt in the project root for
1764
- * license information.
1765
- *
1766
- * Code generated by Microsoft (R) AutoRest Code Generator.
1767
- * Changes may cause incorrect behavior and will be lost if the code is
1768
- * regenerated.
1769
- */
1770
- /** Class representing a PrivateEndpointConnections. */
1771
- var PrivateEndpointConnections = /** @class */ (function () {
1772
- /**
1773
- * Create a PrivateEndpointConnections.
1774
- * @param {AppConfigurationManagementClientContext} client Reference to the service client.
1775
- */
1776
- function PrivateEndpointConnections(client) {
1777
- this.client = client;
1778
- }
1779
- PrivateEndpointConnections.prototype.listByConfigurationStore = function (resourceGroupName, configStoreName, options, callback) {
1780
- return this.client.sendOperationRequest({
1781
- resourceGroupName: resourceGroupName,
1782
- configStoreName: configStoreName,
1783
- options: options
1784
- }, listByConfigurationStoreOperationSpec, callback);
1785
- };
1786
- PrivateEndpointConnections.prototype.get = function (resourceGroupName, configStoreName, privateEndpointConnectionName, options, callback) {
1787
- return this.client.sendOperationRequest({
1788
- resourceGroupName: resourceGroupName,
1789
- configStoreName: configStoreName,
1790
- privateEndpointConnectionName: privateEndpointConnectionName,
1791
- options: options
1792
- }, getOperationSpec$1, callback);
1793
- };
1794
- /**
1795
- * Update the state of the specified private endpoint connection associated with the configuration
1796
- * store.
1797
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
1798
- * @param configStoreName The name of the configuration store.
1799
- * @param privateEndpointConnectionName Private endpoint connection name
1800
- * @param privateEndpointConnection The private endpoint connection properties.
1801
- * @param [options] The optional parameters
1802
- * @returns Promise<Models.PrivateEndpointConnectionsCreateOrUpdateResponse>
1803
- */
1804
- PrivateEndpointConnections.prototype.createOrUpdate = function (resourceGroupName, configStoreName, privateEndpointConnectionName, privateEndpointConnection, options) {
1805
- return this.beginCreateOrUpdate(resourceGroupName, configStoreName, privateEndpointConnectionName, privateEndpointConnection, options)
1806
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1807
- };
1808
- /**
1809
- * Deletes a private endpoint connection.
1810
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
1811
- * @param configStoreName The name of the configuration store.
1812
- * @param privateEndpointConnectionName Private endpoint connection name
1813
- * @param [options] The optional parameters
1814
- * @returns Promise<msRest.RestResponse>
1815
- */
1816
- PrivateEndpointConnections.prototype.deleteMethod = function (resourceGroupName, configStoreName, privateEndpointConnectionName, options) {
1817
- return this.beginDeleteMethod(resourceGroupName, configStoreName, privateEndpointConnectionName, options)
1818
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1819
- };
1820
- /**
1821
- * Update the state of the specified private endpoint connection associated with the configuration
1822
- * store.
1823
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
1824
- * @param configStoreName The name of the configuration store.
1825
- * @param privateEndpointConnectionName Private endpoint connection name
1826
- * @param privateEndpointConnection The private endpoint connection properties.
1827
- * @param [options] The optional parameters
1828
- * @returns Promise<msRestAzure.LROPoller>
1829
- */
1830
- PrivateEndpointConnections.prototype.beginCreateOrUpdate = function (resourceGroupName, configStoreName, privateEndpointConnectionName, privateEndpointConnection, options) {
1831
- return this.client.sendLRORequest({
1832
- resourceGroupName: resourceGroupName,
1833
- configStoreName: configStoreName,
1834
- privateEndpointConnectionName: privateEndpointConnectionName,
1835
- privateEndpointConnection: privateEndpointConnection,
1836
- options: options
1837
- }, beginCreateOrUpdateOperationSpec, options);
1838
- };
1839
- /**
1840
- * Deletes a private endpoint connection.
1841
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
1842
- * @param configStoreName The name of the configuration store.
1843
- * @param privateEndpointConnectionName Private endpoint connection name
1844
- * @param [options] The optional parameters
1845
- * @returns Promise<msRestAzure.LROPoller>
1846
- */
1847
- PrivateEndpointConnections.prototype.beginDeleteMethod = function (resourceGroupName, configStoreName, privateEndpointConnectionName, options) {
1848
- return this.client.sendLRORequest({
1849
- resourceGroupName: resourceGroupName,
1850
- configStoreName: configStoreName,
1851
- privateEndpointConnectionName: privateEndpointConnectionName,
1852
- options: options
1853
- }, beginDeleteMethodOperationSpec$1, options);
1854
- };
1855
- PrivateEndpointConnections.prototype.listByConfigurationStoreNext = function (nextPageLink, options, callback) {
1856
- return this.client.sendOperationRequest({
1857
- nextPageLink: nextPageLink,
1858
- options: options
1859
- }, listByConfigurationStoreNextOperationSpec, callback);
1860
- };
1861
- return PrivateEndpointConnections;
1862
- }());
1863
- // Operation Specifications
1864
- var serializer$2 = new msRest.Serializer(Mappers$2);
1865
- var listByConfigurationStoreOperationSpec = {
1866
- httpMethod: "GET",
1867
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateEndpointConnections",
1868
- urlParameters: [
1869
- subscriptionId,
1870
- resourceGroupName,
1871
- configStoreName
1872
- ],
1873
- queryParameters: [
1874
- apiVersion
1875
- ],
1876
- headerParameters: [
1877
- acceptLanguage
1878
- ],
1879
- responses: {
1880
- 200: {
1881
- bodyMapper: PrivateEndpointConnectionListResult
1882
- },
1883
- default: {
1884
- bodyMapper: ErrorModel
1885
- }
1886
- },
1887
- serializer: serializer$2
1888
- };
1889
- var getOperationSpec$1 = {
1890
- httpMethod: "GET",
1891
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateEndpointConnections/{privateEndpointConnectionName}",
1892
- urlParameters: [
1893
- subscriptionId,
1894
- resourceGroupName,
1895
- configStoreName,
1896
- privateEndpointConnectionName
1897
- ],
1898
- queryParameters: [
1899
- apiVersion
1900
- ],
1901
- headerParameters: [
1902
- acceptLanguage
1903
- ],
1904
- responses: {
1905
- 200: {
1906
- bodyMapper: PrivateEndpointConnection
1907
- },
1908
- default: {
1909
- bodyMapper: ErrorModel
1910
- }
1911
- },
1912
- serializer: serializer$2
1913
- };
1914
- var beginCreateOrUpdateOperationSpec = {
1915
- httpMethod: "PUT",
1916
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateEndpointConnections/{privateEndpointConnectionName}",
1917
- urlParameters: [
1918
- subscriptionId,
1919
- resourceGroupName,
1920
- configStoreName,
1921
- privateEndpointConnectionName
1922
- ],
1923
- queryParameters: [
1924
- apiVersion
1925
- ],
1926
- headerParameters: [
1927
- acceptLanguage
1928
- ],
1929
- requestBody: {
1930
- parameterPath: "privateEndpointConnection",
1931
- mapper: __assign(__assign({}, PrivateEndpointConnection), { required: true })
1932
- },
1933
- responses: {
1934
- 200: {
1935
- bodyMapper: PrivateEndpointConnection
1936
- },
1937
- 201: {
1938
- bodyMapper: PrivateEndpointConnection
1939
- },
1940
- default: {
1941
- bodyMapper: ErrorModel
1942
- }
1943
- },
1944
- serializer: serializer$2
1945
- };
1946
- var beginDeleteMethodOperationSpec$1 = {
1947
- httpMethod: "DELETE",
1948
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateEndpointConnections/{privateEndpointConnectionName}",
1949
- urlParameters: [
1950
- subscriptionId,
1951
- resourceGroupName,
1952
- configStoreName,
1953
- privateEndpointConnectionName
1954
- ],
1955
- queryParameters: [
1956
- apiVersion
1957
- ],
1958
- headerParameters: [
1959
- acceptLanguage
1960
- ],
1961
- responses: {
1962
- 200: {},
1963
- 202: {},
1964
- 204: {},
1965
- default: {
1966
- bodyMapper: ErrorModel
1967
- }
1968
- },
1969
- serializer: serializer$2
1970
- };
1971
- var listByConfigurationStoreNextOperationSpec = {
1972
- httpMethod: "GET",
1973
- baseUrl: "https://management.azure.com",
1974
- path: "{nextLink}",
1975
- urlParameters: [
1976
- nextPageLink
1977
- ],
1978
- headerParameters: [
1979
- acceptLanguage
1980
- ],
1981
- responses: {
1982
- 200: {
1983
- bodyMapper: PrivateEndpointConnectionListResult
1984
- },
1985
- default: {
1986
- bodyMapper: ErrorModel
1987
- }
1988
- },
1989
- serializer: serializer$2
1990
- };
1991
-
1992
- /*
1993
- * Copyright (c) Microsoft Corporation. All rights reserved.
1994
- * Licensed under the MIT License. See License.txt in the project root for license information.
1995
- *
1996
- * Code generated by Microsoft (R) AutoRest Code Generator.
1997
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1998
- */
1999
-
2000
- var Mappers$3 = /*#__PURE__*/Object.freeze({
2001
- __proto__: null,
2002
- ErrorModel: ErrorModel,
2003
- PrivateLinkResource: PrivateLinkResource,
2004
- PrivateLinkResourceListResult: PrivateLinkResourceListResult
2005
- });
2006
-
2007
- /*
2008
- * Copyright (c) Microsoft Corporation. All rights reserved.
2009
- * Licensed under the MIT License. See License.txt in the project root for
2010
- * license information.
2011
- *
2012
- * Code generated by Microsoft (R) AutoRest Code Generator.
2013
- * Changes may cause incorrect behavior and will be lost if the code is
2014
- * regenerated.
2015
- */
2016
- /** Class representing a PrivateLinkResources. */
2017
- var PrivateLinkResources = /** @class */ (function () {
2018
- /**
2019
- * Create a PrivateLinkResources.
2020
- * @param {AppConfigurationManagementClientContext} client Reference to the service client.
2021
- */
2022
- function PrivateLinkResources(client) {
2023
- this.client = client;
2024
- }
2025
- PrivateLinkResources.prototype.listByConfigurationStore = function (resourceGroupName, configStoreName, options, callback) {
2026
- return this.client.sendOperationRequest({
2027
- resourceGroupName: resourceGroupName,
2028
- configStoreName: configStoreName,
2029
- options: options
2030
- }, listByConfigurationStoreOperationSpec$1, callback);
2031
- };
2032
- PrivateLinkResources.prototype.get = function (resourceGroupName, configStoreName, groupName, options, callback) {
2033
- return this.client.sendOperationRequest({
2034
- resourceGroupName: resourceGroupName,
2035
- configStoreName: configStoreName,
2036
- groupName: groupName,
2037
- options: options
2038
- }, getOperationSpec$2, callback);
2039
- };
2040
- PrivateLinkResources.prototype.listByConfigurationStoreNext = function (nextPageLink, options, callback) {
2041
- return this.client.sendOperationRequest({
2042
- nextPageLink: nextPageLink,
2043
- options: options
2044
- }, listByConfigurationStoreNextOperationSpec$1, callback);
2045
- };
2046
- return PrivateLinkResources;
2047
- }());
2048
- // Operation Specifications
2049
- var serializer$3 = new msRest.Serializer(Mappers$3);
2050
- var listByConfigurationStoreOperationSpec$1 = {
2051
- httpMethod: "GET",
2052
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateLinkResources",
2053
- urlParameters: [
2054
- subscriptionId,
2055
- resourceGroupName,
2056
- configStoreName
2057
- ],
2058
- queryParameters: [
2059
- apiVersion
2060
- ],
2061
- headerParameters: [
2062
- acceptLanguage
2063
- ],
2064
- responses: {
2065
- 200: {
2066
- bodyMapper: PrivateLinkResourceListResult
2067
- },
2068
- default: {
2069
- bodyMapper: ErrorModel
2070
- }
2071
- },
2072
- serializer: serializer$3
2073
- };
2074
- var getOperationSpec$2 = {
2075
- httpMethod: "GET",
2076
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateLinkResources/{groupName}",
2077
- urlParameters: [
2078
- subscriptionId,
2079
- resourceGroupName,
2080
- configStoreName,
2081
- groupName
2082
- ],
2083
- queryParameters: [
2084
- apiVersion
2085
- ],
2086
- headerParameters: [
2087
- acceptLanguage
2088
- ],
2089
- responses: {
2090
- 200: {
2091
- bodyMapper: PrivateLinkResource
2092
- },
2093
- default: {
2094
- bodyMapper: ErrorModel
2095
- }
2096
- },
2097
- serializer: serializer$3
2098
- };
2099
- var listByConfigurationStoreNextOperationSpec$1 = {
2100
- httpMethod: "GET",
2101
- baseUrl: "https://management.azure.com",
2102
- path: "{nextLink}",
2103
- urlParameters: [
2104
- nextPageLink
2105
- ],
2106
- headerParameters: [
2107
- acceptLanguage
2108
- ],
2109
- responses: {
2110
- 200: {
2111
- bodyMapper: PrivateLinkResourceListResult
2112
- },
2113
- default: {
2114
- bodyMapper: ErrorModel
2115
- }
2116
- },
2117
- serializer: serializer$3
2118
- };
2119
-
2120
- /*
2121
- * Copyright (c) Microsoft Corporation. All rights reserved.
2122
- * Licensed under the MIT License. See License.txt in the project root for
2123
- * license information.
2124
- *
2125
- * Code generated by Microsoft (R) AutoRest Code Generator.
2126
- * Changes may cause incorrect behavior and will be lost if the code is
2127
- * regenerated.
2128
- */
2129
- var packageName = "@azure/arm-appconfiguration";
2130
- var packageVersion = "1.2.0";
2131
- var AppConfigurationManagementClientContext = /** @class */ (function (_super) {
2132
- __extends(AppConfigurationManagementClientContext, _super);
2133
- /**
2134
- * Initializes a new instance of the AppConfigurationManagementClient class.
2135
- * @param credentials Credentials needed for the client to connect to Azure.
2136
- * @param subscriptionId The Microsoft Azure subscription ID.
2137
- * @param [options] The parameter options
2138
- */
2139
- function AppConfigurationManagementClientContext(credentials, subscriptionId, options) {
2140
- var _this = this;
2141
- if (credentials == undefined) {
2142
- throw new Error('\'credentials\' cannot be null.');
2143
- }
2144
- if (subscriptionId == undefined) {
2145
- throw new Error('\'subscriptionId\' cannot be null.');
2146
- }
2147
- if (!options) {
2148
- options = {};
2149
- }
2150
- if (!options.userAgent) {
2151
- var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
2152
- options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
2153
- }
2154
- _this = _super.call(this, credentials, options) || this;
2155
- _this.apiVersion = '2020-06-01';
2156
- _this.acceptLanguage = 'en-US';
2157
- _this.longRunningOperationRetryTimeout = 30;
2158
- _this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
2159
- _this.requestContentType = "application/json; charset=utf-8";
2160
- _this.credentials = credentials;
2161
- _this.subscriptionId = subscriptionId;
2162
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
2163
- _this.acceptLanguage = options.acceptLanguage;
2164
- }
2165
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
2166
- _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
2167
- }
2168
- return _this;
2169
- }
2170
- return AppConfigurationManagementClientContext;
2171
- }(msRestAzure.AzureServiceClient));
2172
-
2173
- /*
2174
- * Copyright (c) Microsoft Corporation. All rights reserved.
2175
- * Licensed under the MIT License. See License.txt in the project root for
2176
- * license information.
2177
- *
2178
- * Code generated by Microsoft (R) AutoRest Code Generator.
2179
- * Changes may cause incorrect behavior and will be lost if the code is
2180
- * regenerated.
2181
- */
2182
- var AppConfigurationManagementClient = /** @class */ (function (_super) {
2183
- __extends(AppConfigurationManagementClient, _super);
2184
- /**
2185
- * Initializes a new instance of the AppConfigurationManagementClient class.
2186
- * @param credentials Credentials needed for the client to connect to Azure.
2187
- * @param subscriptionId The Microsoft Azure subscription ID.
2188
- * @param [options] The parameter options
2189
- */
2190
- function AppConfigurationManagementClient(credentials, subscriptionId, options) {
2191
- var _this = _super.call(this, credentials, subscriptionId, options) || this;
2192
- _this.configurationStores = new ConfigurationStores(_this);
2193
- _this.operations = new Operations(_this);
2194
- _this.privateEndpointConnections = new PrivateEndpointConnections(_this);
2195
- _this.privateLinkResources = new PrivateLinkResources(_this);
2196
- return _this;
2197
- }
2198
- return AppConfigurationManagementClient;
2199
- }(AppConfigurationManagementClientContext));
2200
-
2201
- exports.AppConfigurationManagementClient = AppConfigurationManagementClient;
2202
- exports.AppConfigurationManagementClientContext = AppConfigurationManagementClientContext;
2203
- exports.AppConfigurationManagementMappers = mappers;
2204
- exports.AppConfigurationManagementModels = index;
2205
- exports.ConfigurationStores = ConfigurationStores;
2206
- exports.Operations = Operations;
2207
- exports.PrivateEndpointConnections = PrivateEndpointConnections;
2208
- exports.PrivateLinkResources = PrivateLinkResources;
2209
-
2210
- Object.defineProperty(exports, '__esModule', { value: true });
2211
-
2212
- })));
2213
- //# sourceMappingURL=arm-appconfiguration.js.map