@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,1073 +0,0 @@
1
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
2
- import * as msRest from "@azure/ms-rest-js";
3
- export { BaseResource, CloudError };
4
- /**
5
- * A resource identity that is managed by the user of the service.
6
- */
7
- export interface UserIdentity {
8
- /**
9
- * The principal ID of the user-assigned identity.
10
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
11
- */
12
- readonly principalId?: string;
13
- /**
14
- * The client ID of the user-assigned identity.
15
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
16
- */
17
- readonly clientId?: string;
18
- }
19
- /**
20
- * An identity that can be associated with a resource.
21
- */
22
- export interface ResourceIdentity {
23
- /**
24
- * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an
25
- * implicitly created identity and a set of user-assigned identities. The type 'None' will remove
26
- * any identities. Possible values include: 'None', 'SystemAssigned', 'UserAssigned',
27
- * 'SystemAssigned, UserAssigned'
28
- */
29
- type?: IdentityType;
30
- /**
31
- * The list of user-assigned identities associated with the resource. The user-assigned identity
32
- * dictionary keys will be ARM resource ids in the form:
33
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
34
- */
35
- userAssignedIdentities?: {
36
- [propertyName: string]: UserIdentity;
37
- };
38
- /**
39
- * The principal id of the identity. This property will only be provided for a system-assigned
40
- * identity.
41
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
42
- */
43
- readonly principalId?: string;
44
- /**
45
- * The tenant id associated with the resource's identity. This property will only be provided for
46
- * a system-assigned identity.
47
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
48
- */
49
- readonly tenantId?: string;
50
- }
51
- /**
52
- * Settings concerning key vault encryption for a configuration store.
53
- */
54
- export interface KeyVaultProperties {
55
- /**
56
- * The URI of the key vault key used to encrypt data.
57
- */
58
- keyIdentifier?: string;
59
- /**
60
- * The client id of the identity which will be used to access key vault.
61
- */
62
- identityClientId?: string;
63
- }
64
- /**
65
- * The encryption settings for a configuration store.
66
- */
67
- export interface EncryptionProperties {
68
- /**
69
- * Key vault properties.
70
- */
71
- keyVaultProperties?: KeyVaultProperties;
72
- }
73
- /**
74
- * Private endpoint which a connection belongs to.
75
- */
76
- export interface PrivateEndpoint {
77
- /**
78
- * The resource Id for private endpoint
79
- */
80
- id?: string;
81
- }
82
- /**
83
- * The state of a private link service connection.
84
- */
85
- export interface PrivateLinkServiceConnectionState {
86
- /**
87
- * The private link service connection status. Possible values include: 'Pending', 'Approved',
88
- * 'Rejected', 'Disconnected'
89
- */
90
- status?: ConnectionStatus;
91
- /**
92
- * The private link service connection description.
93
- */
94
- description?: string;
95
- /**
96
- * Any action that is required beyond basic workflow (approve/ reject/ disconnect). Possible
97
- * values include: 'None', 'Recreate'
98
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
99
- */
100
- readonly actionsRequired?: ActionsRequired;
101
- }
102
- /**
103
- * A reference to a related private endpoint connection.
104
- */
105
- export interface PrivateEndpointConnectionReference {
106
- /**
107
- * The resource ID.
108
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
109
- */
110
- readonly id?: string;
111
- /**
112
- * The name of the resource.
113
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
114
- */
115
- readonly name?: string;
116
- /**
117
- * The type of the resource.
118
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
119
- */
120
- readonly type?: string;
121
- /**
122
- * The provisioning status of the private endpoint connection. Possible values include:
123
- * 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
124
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
125
- */
126
- readonly provisioningState?: ProvisioningState;
127
- /**
128
- * The resource of private endpoint.
129
- */
130
- privateEndpoint?: PrivateEndpoint;
131
- /**
132
- * A collection of information about the state of the connection between service consumer and
133
- * provider.
134
- */
135
- privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
136
- }
137
- /**
138
- * Describes a configuration store SKU.
139
- */
140
- export interface Sku {
141
- /**
142
- * The SKU name of the configuration store.
143
- */
144
- name: string;
145
- }
146
- /**
147
- * An Azure resource.
148
- */
149
- export interface Resource extends BaseResource {
150
- /**
151
- * The resource ID.
152
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
153
- */
154
- readonly id?: string;
155
- /**
156
- * The name of the resource.
157
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
158
- */
159
- readonly name?: string;
160
- /**
161
- * The type of the resource.
162
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
163
- */
164
- readonly type?: string;
165
- /**
166
- * The location of the resource. This cannot be changed after the resource is created.
167
- */
168
- location: string;
169
- /**
170
- * The tags of the resource.
171
- */
172
- tags?: {
173
- [propertyName: string]: string;
174
- };
175
- }
176
- /**
177
- * The configuration store along with all resource properties. The Configuration Store will have
178
- * all information to begin utilizing it.
179
- */
180
- export interface ConfigurationStore extends Resource {
181
- /**
182
- * The managed identity information, if configured.
183
- */
184
- identity?: ResourceIdentity;
185
- /**
186
- * The provisioning state of the configuration store. Possible values include: 'Creating',
187
- * 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
188
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
189
- */
190
- readonly provisioningState?: ProvisioningState;
191
- /**
192
- * The creation date of configuration store.
193
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
194
- */
195
- readonly creationDate?: Date;
196
- /**
197
- * The DNS endpoint where the configuration store API will be available.
198
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
199
- */
200
- readonly endpoint?: string;
201
- /**
202
- * The encryption settings of the configuration store.
203
- */
204
- encryption?: EncryptionProperties;
205
- /**
206
- * The list of private endpoint connections that are set up for this resource.
207
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
208
- */
209
- readonly privateEndpointConnections?: PrivateEndpointConnectionReference[];
210
- /**
211
- * Control permission for data plane traffic coming from public networks while private endpoint
212
- * is enabled. Possible values include: 'Enabled', 'Disabled'
213
- */
214
- publicNetworkAccess?: PublicNetworkAccess;
215
- /**
216
- * The sku of the configuration store.
217
- */
218
- sku: Sku;
219
- }
220
- /**
221
- * The parameters for updating a configuration store.
222
- */
223
- export interface ConfigurationStoreUpdateParameters {
224
- /**
225
- * The encryption settings of the configuration store.
226
- */
227
- encryption?: EncryptionProperties;
228
- /**
229
- * The managed identity information for the configuration store.
230
- */
231
- identity?: ResourceIdentity;
232
- /**
233
- * The SKU of the configuration store.
234
- */
235
- sku?: Sku;
236
- /**
237
- * The ARM resource tags.
238
- */
239
- tags?: {
240
- [propertyName: string]: string;
241
- };
242
- }
243
- /**
244
- * Parameters used for checking whether a resource name is available.
245
- */
246
- export interface CheckNameAvailabilityParameters {
247
- /**
248
- * The name to check for availability.
249
- */
250
- name: string;
251
- }
252
- /**
253
- * The result of a request to check the availability of a resource name.
254
- */
255
- export interface NameAvailabilityStatus {
256
- /**
257
- * The value indicating whether the resource name is available.
258
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
259
- */
260
- readonly nameAvailable?: boolean;
261
- /**
262
- * If any, the error message that provides more detail for the reason that the name is not
263
- * available.
264
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
265
- */
266
- readonly message?: string;
267
- /**
268
- * If any, the reason that the name is not available.
269
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
270
- */
271
- readonly reason?: string;
272
- }
273
- /**
274
- * An API key used for authenticating with a configuration store endpoint.
275
- */
276
- export interface ApiKey {
277
- /**
278
- * The key ID.
279
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
280
- */
281
- readonly id?: string;
282
- /**
283
- * A name for the key describing its usage.
284
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
285
- */
286
- readonly name?: string;
287
- /**
288
- * The value of the key that is used for authentication purposes.
289
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
290
- */
291
- readonly value?: string;
292
- /**
293
- * A connection string that can be used by supporting clients for authentication.
294
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
295
- */
296
- readonly connectionString?: string;
297
- /**
298
- * The last time any of the key's properties were modified.
299
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
300
- */
301
- readonly lastModified?: Date;
302
- /**
303
- * Whether this key can only be used for read operations.
304
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
305
- */
306
- readonly readOnly?: boolean;
307
- }
308
- /**
309
- * The parameters used to regenerate an API key.
310
- */
311
- export interface RegenerateKeyParameters {
312
- /**
313
- * The id of the key to regenerate.
314
- */
315
- id?: string;
316
- }
317
- /**
318
- * The parameters used to list a configuration store key-value
319
- */
320
- export interface ListKeyValueParameters {
321
- /**
322
- * The key to retrieve.
323
- */
324
- key: string;
325
- /**
326
- * The label of the key.
327
- */
328
- label?: string;
329
- }
330
- /**
331
- * The result of a request to retrieve a key-value from the specified configuration store.
332
- */
333
- export interface KeyValue {
334
- /**
335
- * The primary identifier of a key-value.
336
- * The key is used in unison with the label to uniquely identify a key-value.
337
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
338
- */
339
- readonly key?: string;
340
- /**
341
- * A value used to group key-values.
342
- * The label is used in unison with the key to uniquely identify a key-value.
343
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
344
- */
345
- readonly label?: string;
346
- /**
347
- * The value of the key-value.
348
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
349
- */
350
- readonly value?: string;
351
- /**
352
- * The content type of the key-value's value.
353
- * Providing a proper content-type can enable transformations of values when they are retrieved
354
- * by applications.
355
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
356
- */
357
- readonly contentType?: string;
358
- /**
359
- * An ETag indicating the state of a key-value within a configuration store.
360
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
361
- */
362
- readonly eTag?: string;
363
- /**
364
- * The last time a modifying operation was performed on the given key-value.
365
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
366
- */
367
- readonly lastModified?: Date;
368
- /**
369
- * A value indicating whether the key-value is locked.
370
- * A locked key-value may not be modified until it is unlocked.
371
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
372
- */
373
- readonly locked?: boolean;
374
- /**
375
- * A dictionary of tags that can help identify what a key-value may be applicable for.
376
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
377
- */
378
- readonly tags?: {
379
- [propertyName: string]: string;
380
- };
381
- }
382
- /**
383
- * The display information for a configuration store operation.
384
- */
385
- export interface OperationDefinitionDisplay {
386
- /**
387
- * The resource provider name: Microsoft App Configuration."
388
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
389
- */
390
- readonly provider?: string;
391
- /**
392
- * The resource on which the operation is performed.
393
- */
394
- resource?: string;
395
- /**
396
- * The operation that users can perform.
397
- */
398
- operation?: string;
399
- /**
400
- * The description for the operation.
401
- */
402
- description?: string;
403
- }
404
- /**
405
- * The definition of a configuration store operation.
406
- */
407
- export interface OperationDefinition {
408
- /**
409
- * Operation name: {provider}/{resource}/{operation}.
410
- */
411
- name?: string;
412
- /**
413
- * The display information for the configuration store operation.
414
- */
415
- display?: OperationDefinitionDisplay;
416
- }
417
- /**
418
- * AppConfiguration error object.
419
- */
420
- export interface ErrorModel {
421
- /**
422
- * Error code.
423
- */
424
- code?: string;
425
- /**
426
- * Error message.
427
- */
428
- message?: string;
429
- }
430
- /**
431
- * A private endpoint connection
432
- */
433
- export interface PrivateEndpointConnection extends BaseResource {
434
- /**
435
- * The resource ID.
436
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
437
- */
438
- readonly id?: string;
439
- /**
440
- * The name of the resource.
441
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
442
- */
443
- readonly name?: string;
444
- /**
445
- * The type of the resource.
446
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
447
- */
448
- readonly type?: string;
449
- /**
450
- * The provisioning status of the private endpoint connection. Possible values include:
451
- * 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
452
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
453
- */
454
- readonly provisioningState?: ProvisioningState;
455
- /**
456
- * The resource of private endpoint.
457
- */
458
- privateEndpoint?: PrivateEndpoint;
459
- /**
460
- * A collection of information about the state of the connection between service consumer and
461
- * provider.
462
- */
463
- privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
464
- }
465
- /**
466
- * A resource that supports private link capabilities.
467
- */
468
- export interface PrivateLinkResource {
469
- /**
470
- * The resource ID.
471
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
472
- */
473
- readonly id?: string;
474
- /**
475
- * The name of the resource.
476
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
477
- */
478
- readonly name?: string;
479
- /**
480
- * The type of the resource.
481
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
482
- */
483
- readonly type?: string;
484
- /**
485
- * The private link resource group id.
486
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
487
- */
488
- readonly groupId?: string;
489
- /**
490
- * The private link resource required member names.
491
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
492
- */
493
- readonly requiredMembers?: string[];
494
- /**
495
- * The list of required DNS zone names of the private link resource.
496
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
497
- */
498
- readonly requiredZoneNames?: string[];
499
- }
500
- /**
501
- * Optional Parameters.
502
- */
503
- export interface ConfigurationStoresListOptionalParams extends msRest.RequestOptionsBase {
504
- /**
505
- * A skip token is used to continue retrieving items after an operation returns a partial result.
506
- * If a previous response contains a nextLink element, the value of the nextLink element will
507
- * include a skipToken parameter that specifies a starting point to use for subsequent calls.
508
- */
509
- skipToken?: string;
510
- }
511
- /**
512
- * Optional Parameters.
513
- */
514
- export interface ConfigurationStoresListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
515
- /**
516
- * A skip token is used to continue retrieving items after an operation returns a partial result.
517
- * If a previous response contains a nextLink element, the value of the nextLink element will
518
- * include a skipToken parameter that specifies a starting point to use for subsequent calls.
519
- */
520
- skipToken?: string;
521
- }
522
- /**
523
- * Optional Parameters.
524
- */
525
- export interface ConfigurationStoresListKeysOptionalParams extends msRest.RequestOptionsBase {
526
- /**
527
- * A skip token is used to continue retrieving items after an operation returns a partial result.
528
- * If a previous response contains a nextLink element, the value of the nextLink element will
529
- * include a skipToken parameter that specifies a starting point to use for subsequent calls.
530
- */
531
- skipToken?: string;
532
- }
533
- /**
534
- * Optional Parameters.
535
- */
536
- export interface OperationsListOptionalParams extends msRest.RequestOptionsBase {
537
- /**
538
- * A skip token is used to continue retrieving items after an operation returns a partial result.
539
- * If a previous response contains a nextLink element, the value of the nextLink element will
540
- * include a skipToken parameter that specifies a starting point to use for subsequent calls.
541
- */
542
- skipToken?: string;
543
- }
544
- /**
545
- * An interface representing AppConfigurationManagementClientOptions.
546
- */
547
- export interface AppConfigurationManagementClientOptions extends AzureServiceClientOptions {
548
- baseUri?: string;
549
- }
550
- /**
551
- * @interface
552
- * The result of a request to list configuration stores.
553
- * @extends Array<ConfigurationStore>
554
- */
555
- export interface ConfigurationStoreListResult extends Array<ConfigurationStore> {
556
- /**
557
- * The URI that can be used to request the next set of paged results.
558
- */
559
- nextLink?: string;
560
- }
561
- /**
562
- * @interface
563
- * The result of a request to list API keys.
564
- * @extends Array<ApiKey>
565
- */
566
- export interface ApiKeyListResult extends Array<ApiKey> {
567
- /**
568
- * The URI that can be used to request the next set of paged results.
569
- */
570
- nextLink?: string;
571
- }
572
- /**
573
- * @interface
574
- * The result of a request to list configuration store operations.
575
- * @extends Array<OperationDefinition>
576
- */
577
- export interface OperationDefinitionListResult extends Array<OperationDefinition> {
578
- /**
579
- * The URI that can be used to request the next set of paged results.
580
- */
581
- nextLink?: string;
582
- }
583
- /**
584
- * @interface
585
- * A list of private endpoint connections
586
- * @extends Array<PrivateEndpointConnection>
587
- */
588
- export interface PrivateEndpointConnectionListResult extends Array<PrivateEndpointConnection> {
589
- /**
590
- * The URI that can be used to request the next set of paged results.
591
- */
592
- nextLink?: string;
593
- }
594
- /**
595
- * @interface
596
- * A list of private link resources.
597
- * @extends Array<PrivateLinkResource>
598
- */
599
- export interface PrivateLinkResourceListResult extends Array<PrivateLinkResource> {
600
- /**
601
- * The URI that can be used to request the next set of paged results.
602
- */
603
- nextLink?: string;
604
- }
605
- /**
606
- * Defines values for IdentityType.
607
- * Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned,
608
- * UserAssigned'
609
- * @readonly
610
- * @enum {string}
611
- */
612
- export declare type IdentityType = 'None' | 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned';
613
- /**
614
- * Defines values for ProvisioningState.
615
- * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
616
- * @readonly
617
- * @enum {string}
618
- */
619
- export declare type ProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Failed' | 'Canceled';
620
- /**
621
- * Defines values for ConnectionStatus.
622
- * Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
623
- * @readonly
624
- * @enum {string}
625
- */
626
- export declare type ConnectionStatus = 'Pending' | 'Approved' | 'Rejected' | 'Disconnected';
627
- /**
628
- * Defines values for ActionsRequired.
629
- * Possible values include: 'None', 'Recreate'
630
- * @readonly
631
- * @enum {string}
632
- */
633
- export declare type ActionsRequired = 'None' | 'Recreate';
634
- /**
635
- * Defines values for PublicNetworkAccess.
636
- * Possible values include: 'Enabled', 'Disabled'
637
- * @readonly
638
- * @enum {string}
639
- */
640
- export declare type PublicNetworkAccess = 'Enabled' | 'Disabled';
641
- /**
642
- * Contains response data for the list operation.
643
- */
644
- export declare type ConfigurationStoresListResponse = ConfigurationStoreListResult & {
645
- /**
646
- * The underlying HTTP response.
647
- */
648
- _response: msRest.HttpResponse & {
649
- /**
650
- * The response body as text (string format)
651
- */
652
- bodyAsText: string;
653
- /**
654
- * The response body as parsed JSON or XML
655
- */
656
- parsedBody: ConfigurationStoreListResult;
657
- };
658
- };
659
- /**
660
- * Contains response data for the listByResourceGroup operation.
661
- */
662
- export declare type ConfigurationStoresListByResourceGroupResponse = ConfigurationStoreListResult & {
663
- /**
664
- * The underlying HTTP response.
665
- */
666
- _response: msRest.HttpResponse & {
667
- /**
668
- * The response body as text (string format)
669
- */
670
- bodyAsText: string;
671
- /**
672
- * The response body as parsed JSON or XML
673
- */
674
- parsedBody: ConfigurationStoreListResult;
675
- };
676
- };
677
- /**
678
- * Contains response data for the get operation.
679
- */
680
- export declare type ConfigurationStoresGetResponse = ConfigurationStore & {
681
- /**
682
- * The underlying HTTP response.
683
- */
684
- _response: msRest.HttpResponse & {
685
- /**
686
- * The response body as text (string format)
687
- */
688
- bodyAsText: string;
689
- /**
690
- * The response body as parsed JSON or XML
691
- */
692
- parsedBody: ConfigurationStore;
693
- };
694
- };
695
- /**
696
- * Contains response data for the create operation.
697
- */
698
- export declare type ConfigurationStoresCreateResponse = ConfigurationStore & {
699
- /**
700
- * The underlying HTTP response.
701
- */
702
- _response: msRest.HttpResponse & {
703
- /**
704
- * The response body as text (string format)
705
- */
706
- bodyAsText: string;
707
- /**
708
- * The response body as parsed JSON or XML
709
- */
710
- parsedBody: ConfigurationStore;
711
- };
712
- };
713
- /**
714
- * Contains response data for the update operation.
715
- */
716
- export declare type ConfigurationStoresUpdateResponse = ConfigurationStore & {
717
- /**
718
- * The underlying HTTP response.
719
- */
720
- _response: msRest.HttpResponse & {
721
- /**
722
- * The response body as text (string format)
723
- */
724
- bodyAsText: string;
725
- /**
726
- * The response body as parsed JSON or XML
727
- */
728
- parsedBody: ConfigurationStore;
729
- };
730
- };
731
- /**
732
- * Contains response data for the listKeys operation.
733
- */
734
- export declare type ConfigurationStoresListKeysResponse = ApiKeyListResult & {
735
- /**
736
- * The underlying HTTP response.
737
- */
738
- _response: msRest.HttpResponse & {
739
- /**
740
- * The response body as text (string format)
741
- */
742
- bodyAsText: string;
743
- /**
744
- * The response body as parsed JSON or XML
745
- */
746
- parsedBody: ApiKeyListResult;
747
- };
748
- };
749
- /**
750
- * Contains response data for the regenerateKey operation.
751
- */
752
- export declare type ConfigurationStoresRegenerateKeyResponse = ApiKey & {
753
- /**
754
- * The underlying HTTP response.
755
- */
756
- _response: msRest.HttpResponse & {
757
- /**
758
- * The response body as text (string format)
759
- */
760
- bodyAsText: string;
761
- /**
762
- * The response body as parsed JSON or XML
763
- */
764
- parsedBody: ApiKey;
765
- };
766
- };
767
- /**
768
- * Contains response data for the listKeyValue operation.
769
- */
770
- export declare type ConfigurationStoresListKeyValueResponse = KeyValue & {
771
- /**
772
- * The underlying HTTP response.
773
- */
774
- _response: msRest.HttpResponse & {
775
- /**
776
- * The response body as text (string format)
777
- */
778
- bodyAsText: string;
779
- /**
780
- * The response body as parsed JSON or XML
781
- */
782
- parsedBody: KeyValue;
783
- };
784
- };
785
- /**
786
- * Contains response data for the beginCreate operation.
787
- */
788
- export declare type ConfigurationStoresBeginCreateResponse = ConfigurationStore & {
789
- /**
790
- * The underlying HTTP response.
791
- */
792
- _response: msRest.HttpResponse & {
793
- /**
794
- * The response body as text (string format)
795
- */
796
- bodyAsText: string;
797
- /**
798
- * The response body as parsed JSON or XML
799
- */
800
- parsedBody: ConfigurationStore;
801
- };
802
- };
803
- /**
804
- * Contains response data for the beginUpdate operation.
805
- */
806
- export declare type ConfigurationStoresBeginUpdateResponse = ConfigurationStore & {
807
- /**
808
- * The underlying HTTP response.
809
- */
810
- _response: msRest.HttpResponse & {
811
- /**
812
- * The response body as text (string format)
813
- */
814
- bodyAsText: string;
815
- /**
816
- * The response body as parsed JSON or XML
817
- */
818
- parsedBody: ConfigurationStore;
819
- };
820
- };
821
- /**
822
- * Contains response data for the listNext operation.
823
- */
824
- export declare type ConfigurationStoresListNextResponse = ConfigurationStoreListResult & {
825
- /**
826
- * The underlying HTTP response.
827
- */
828
- _response: msRest.HttpResponse & {
829
- /**
830
- * The response body as text (string format)
831
- */
832
- bodyAsText: string;
833
- /**
834
- * The response body as parsed JSON or XML
835
- */
836
- parsedBody: ConfigurationStoreListResult;
837
- };
838
- };
839
- /**
840
- * Contains response data for the listByResourceGroupNext operation.
841
- */
842
- export declare type ConfigurationStoresListByResourceGroupNextResponse = ConfigurationStoreListResult & {
843
- /**
844
- * The underlying HTTP response.
845
- */
846
- _response: msRest.HttpResponse & {
847
- /**
848
- * The response body as text (string format)
849
- */
850
- bodyAsText: string;
851
- /**
852
- * The response body as parsed JSON or XML
853
- */
854
- parsedBody: ConfigurationStoreListResult;
855
- };
856
- };
857
- /**
858
- * Contains response data for the listKeysNext operation.
859
- */
860
- export declare type ConfigurationStoresListKeysNextResponse = ApiKeyListResult & {
861
- /**
862
- * The underlying HTTP response.
863
- */
864
- _response: msRest.HttpResponse & {
865
- /**
866
- * The response body as text (string format)
867
- */
868
- bodyAsText: string;
869
- /**
870
- * The response body as parsed JSON or XML
871
- */
872
- parsedBody: ApiKeyListResult;
873
- };
874
- };
875
- /**
876
- * Contains response data for the checkNameAvailability operation.
877
- */
878
- export declare type OperationsCheckNameAvailabilityResponse = NameAvailabilityStatus & {
879
- /**
880
- * The underlying HTTP response.
881
- */
882
- _response: msRest.HttpResponse & {
883
- /**
884
- * The response body as text (string format)
885
- */
886
- bodyAsText: string;
887
- /**
888
- * The response body as parsed JSON or XML
889
- */
890
- parsedBody: NameAvailabilityStatus;
891
- };
892
- };
893
- /**
894
- * Contains response data for the list operation.
895
- */
896
- export declare type OperationsListResponse = OperationDefinitionListResult & {
897
- /**
898
- * The underlying HTTP response.
899
- */
900
- _response: msRest.HttpResponse & {
901
- /**
902
- * The response body as text (string format)
903
- */
904
- bodyAsText: string;
905
- /**
906
- * The response body as parsed JSON or XML
907
- */
908
- parsedBody: OperationDefinitionListResult;
909
- };
910
- };
911
- /**
912
- * Contains response data for the listNext operation.
913
- */
914
- export declare type OperationsListNextResponse = OperationDefinitionListResult & {
915
- /**
916
- * The underlying HTTP response.
917
- */
918
- _response: msRest.HttpResponse & {
919
- /**
920
- * The response body as text (string format)
921
- */
922
- bodyAsText: string;
923
- /**
924
- * The response body as parsed JSON or XML
925
- */
926
- parsedBody: OperationDefinitionListResult;
927
- };
928
- };
929
- /**
930
- * Contains response data for the listByConfigurationStore operation.
931
- */
932
- export declare type PrivateEndpointConnectionsListByConfigurationStoreResponse = PrivateEndpointConnectionListResult & {
933
- /**
934
- * The underlying HTTP response.
935
- */
936
- _response: msRest.HttpResponse & {
937
- /**
938
- * The response body as text (string format)
939
- */
940
- bodyAsText: string;
941
- /**
942
- * The response body as parsed JSON or XML
943
- */
944
- parsedBody: PrivateEndpointConnectionListResult;
945
- };
946
- };
947
- /**
948
- * Contains response data for the get operation.
949
- */
950
- export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
951
- /**
952
- * The underlying HTTP response.
953
- */
954
- _response: msRest.HttpResponse & {
955
- /**
956
- * The response body as text (string format)
957
- */
958
- bodyAsText: string;
959
- /**
960
- * The response body as parsed JSON or XML
961
- */
962
- parsedBody: PrivateEndpointConnection;
963
- };
964
- };
965
- /**
966
- * Contains response data for the createOrUpdate operation.
967
- */
968
- export declare type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & {
969
- /**
970
- * The underlying HTTP response.
971
- */
972
- _response: msRest.HttpResponse & {
973
- /**
974
- * The response body as text (string format)
975
- */
976
- bodyAsText: string;
977
- /**
978
- * The response body as parsed JSON or XML
979
- */
980
- parsedBody: PrivateEndpointConnection;
981
- };
982
- };
983
- /**
984
- * Contains response data for the beginCreateOrUpdate operation.
985
- */
986
- export declare type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & {
987
- /**
988
- * The underlying HTTP response.
989
- */
990
- _response: msRest.HttpResponse & {
991
- /**
992
- * The response body as text (string format)
993
- */
994
- bodyAsText: string;
995
- /**
996
- * The response body as parsed JSON or XML
997
- */
998
- parsedBody: PrivateEndpointConnection;
999
- };
1000
- };
1001
- /**
1002
- * Contains response data for the listByConfigurationStoreNext operation.
1003
- */
1004
- export declare type PrivateEndpointConnectionsListByConfigurationStoreNextResponse = PrivateEndpointConnectionListResult & {
1005
- /**
1006
- * The underlying HTTP response.
1007
- */
1008
- _response: msRest.HttpResponse & {
1009
- /**
1010
- * The response body as text (string format)
1011
- */
1012
- bodyAsText: string;
1013
- /**
1014
- * The response body as parsed JSON or XML
1015
- */
1016
- parsedBody: PrivateEndpointConnectionListResult;
1017
- };
1018
- };
1019
- /**
1020
- * Contains response data for the listByConfigurationStore operation.
1021
- */
1022
- export declare type PrivateLinkResourcesListByConfigurationStoreResponse = PrivateLinkResourceListResult & {
1023
- /**
1024
- * The underlying HTTP response.
1025
- */
1026
- _response: msRest.HttpResponse & {
1027
- /**
1028
- * The response body as text (string format)
1029
- */
1030
- bodyAsText: string;
1031
- /**
1032
- * The response body as parsed JSON or XML
1033
- */
1034
- parsedBody: PrivateLinkResourceListResult;
1035
- };
1036
- };
1037
- /**
1038
- * Contains response data for the get operation.
1039
- */
1040
- export declare type PrivateLinkResourcesGetResponse = PrivateLinkResource & {
1041
- /**
1042
- * The underlying HTTP response.
1043
- */
1044
- _response: msRest.HttpResponse & {
1045
- /**
1046
- * The response body as text (string format)
1047
- */
1048
- bodyAsText: string;
1049
- /**
1050
- * The response body as parsed JSON or XML
1051
- */
1052
- parsedBody: PrivateLinkResource;
1053
- };
1054
- };
1055
- /**
1056
- * Contains response data for the listByConfigurationStoreNext operation.
1057
- */
1058
- export declare type PrivateLinkResourcesListByConfigurationStoreNextResponse = PrivateLinkResourceListResult & {
1059
- /**
1060
- * The underlying HTTP response.
1061
- */
1062
- _response: msRest.HttpResponse & {
1063
- /**
1064
- * The response body as text (string format)
1065
- */
1066
- bodyAsText: string;
1067
- /**
1068
- * The response body as parsed JSON or XML
1069
- */
1070
- parsedBody: PrivateLinkResourceListResult;
1071
- };
1072
- };
1073
- //# sourceMappingURL=index.d.ts.map