@azure/arm-appconfiguration 5.0.0 → 6.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.
- package/README.md +9 -9
- package/dist/browser/api/appConfigurationManagementContext.d.ts +22 -0
- package/dist/browser/api/appConfigurationManagementContext.js +37 -0
- package/dist/browser/api/appConfigurationManagementContext.js.map +1 -0
- package/dist/browser/api/configurationStores/index.d.ts +3 -0
- package/dist/browser/api/configurationStores/index.js +4 -0
- package/dist/browser/api/configurationStores/index.js.map +1 -0
- package/dist/browser/api/configurationStores/operations.d.ts +56 -0
- package/dist/browser/api/configurationStores/operations.js +331 -0
- package/dist/browser/api/configurationStores/operations.js.map +1 -0
- package/dist/browser/api/configurationStores/options.d.ts +49 -0
- package/dist/browser/api/configurationStores/options.js +4 -0
- package/dist/browser/api/configurationStores/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +2 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/keyValues/index.d.ts +3 -0
- package/dist/browser/api/keyValues/index.js +4 -0
- package/dist/browser/api/keyValues/index.js.map +1 -0
- package/dist/browser/api/keyValues/operations.d.ts +23 -0
- package/dist/browser/api/keyValues/operations.js +102 -0
- package/dist/browser/api/keyValues/operations.js.map +1 -0
- package/dist/browser/api/keyValues/options.d.ts +13 -0
- package/dist/browser/api/keyValues/options.js +4 -0
- package/dist/browser/api/keyValues/options.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/api/operations/index.js +4 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/operations/operations.d.ts +18 -0
- package/dist/browser/api/operations/operations.js +89 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +13 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/privateEndpointConnections/index.d.ts +3 -0
- package/dist/browser/api/privateEndpointConnections/index.js +4 -0
- package/dist/browser/api/privateEndpointConnections/index.js.map +1 -0
- package/dist/browser/api/privateEndpointConnections/operations.d.ts +28 -0
- package/dist/browser/api/privateEndpointConnections/operations.js +138 -0
- package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -0
- package/dist/browser/api/privateEndpointConnections/options.d.ts +18 -0
- package/dist/browser/api/privateEndpointConnections/options.js +4 -0
- package/dist/browser/api/privateEndpointConnections/options.js.map +1 -0
- package/dist/browser/api/privateLinkResources/index.d.ts +3 -0
- package/dist/browser/api/privateLinkResources/index.js +4 -0
- package/dist/browser/api/privateLinkResources/index.js.map +1 -0
- package/dist/browser/api/privateLinkResources/operations.d.ts +14 -0
- package/dist/browser/api/privateLinkResources/operations.js +63 -0
- package/dist/browser/api/privateLinkResources/operations.js.map +1 -0
- package/dist/browser/api/privateLinkResources/options.d.ts +8 -0
- package/dist/browser/api/privateLinkResources/options.js +4 -0
- package/dist/browser/api/privateLinkResources/options.js.map +1 -0
- package/dist/browser/api/replicas/index.d.ts +3 -0
- package/dist/browser/api/replicas/index.js +4 -0
- package/dist/browser/api/replicas/index.js.map +1 -0
- package/dist/browser/api/replicas/operations.d.ts +28 -0
- package/dist/browser/api/replicas/operations.js +135 -0
- package/dist/browser/api/replicas/operations.js.map +1 -0
- package/dist/browser/api/replicas/options.d.ts +20 -0
- package/dist/browser/api/replicas/options.js +4 -0
- package/dist/browser/api/replicas/options.js.map +1 -0
- package/dist/browser/api/snapshots/index.d.ts +3 -0
- package/dist/browser/api/snapshots/index.js +4 -0
- package/dist/browser/api/snapshots/index.js.map +1 -0
- package/dist/browser/api/snapshots/operations.d.ts +14 -0
- package/dist/browser/api/snapshots/operations.js +71 -0
- package/dist/browser/api/snapshots/operations.js.map +1 -0
- package/dist/browser/api/snapshots/options.d.ts +10 -0
- package/dist/browser/api/snapshots/options.js +4 -0
- package/dist/browser/api/snapshots/options.js.map +1 -0
- package/dist/browser/appConfigurationManagementClient.d.ts +31 -24
- package/dist/browser/appConfigurationManagementClient.js +52 -98
- package/dist/browser/appConfigurationManagementClient.js.map +1 -1
- package/dist/browser/classic/configurationStores/index.d.ts +54 -0
- package/dist/browser/classic/configurationStores/index.js +57 -0
- package/dist/browser/classic/configurationStores/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +8 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/keyValues/index.d.ts +25 -0
- package/dist/browser/classic/keyValues/index.js +25 -0
- package/dist/browser/classic/keyValues/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +15 -0
- package/dist/browser/classic/operations/index.js +16 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/privateEndpointConnections/index.d.ts +32 -0
- package/dist/browser/classic/privateEndpointConnections/index.js +34 -0
- package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -0
- package/dist/browser/classic/privateLinkResources/index.d.ts +13 -0
- package/dist/browser/classic/privateLinkResources/index.js +15 -0
- package/dist/browser/classic/privateLinkResources/index.js.map +1 -0
- package/dist/browser/classic/replicas/index.d.ts +32 -0
- package/dist/browser/classic/replicas/index.js +34 -0
- package/dist/browser/classic/replicas/index.js.map +1 -0
- package/dist/browser/classic/snapshots/index.d.ts +18 -0
- package/dist/browser/classic/snapshots/index.js +24 -0
- package/dist/browser/classic/snapshots/index.js.map +1 -0
- package/dist/browser/index.d.ts +16 -3
- package/dist/browser/index.js +6 -11
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +1 -1234
- package/dist/browser/models/index.js +3 -131
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +1047 -0
- package/dist/browser/models/models.js +1121 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.js +110 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +73 -0
- package/dist/browser/static-helpers/pagingHelpers.js +121 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/browser/static-helpers/pollingHelpers.js +79 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/appConfigurationManagementContext.d.ts +22 -0
- package/dist/commonjs/api/appConfigurationManagementContext.js +40 -0
- package/dist/commonjs/api/appConfigurationManagementContext.js.map +1 -0
- package/dist/commonjs/api/configurationStores/index.d.ts +3 -0
- package/dist/commonjs/api/configurationStores/index.js +18 -0
- package/dist/commonjs/api/configurationStores/index.js.map +1 -0
- package/dist/commonjs/api/configurationStores/operations.d.ts +56 -0
- package/dist/commonjs/api/configurationStores/operations.js +366 -0
- package/dist/commonjs/api/configurationStores/operations.js.map +1 -0
- package/dist/commonjs/api/configurationStores/options.d.ts +49 -0
- package/dist/commonjs/api/configurationStores/options.js +5 -0
- package/dist/commonjs/api/configurationStores/options.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +2 -0
- package/dist/commonjs/api/index.js +8 -0
- package/dist/commonjs/api/index.js.map +1 -0
- package/dist/commonjs/api/keyValues/index.d.ts +3 -0
- package/dist/commonjs/api/keyValues/index.js +10 -0
- package/dist/commonjs/api/keyValues/index.js.map +1 -0
- package/dist/commonjs/api/keyValues/operations.d.ts +23 -0
- package/dist/commonjs/api/keyValues/operations.js +113 -0
- package/dist/commonjs/api/keyValues/operations.js.map +1 -0
- package/dist/commonjs/api/keyValues/options.d.ts +13 -0
- package/dist/commonjs/api/keyValues/options.js +5 -0
- package/dist/commonjs/api/keyValues/options.js.map +1 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.js +10 -0
- package/dist/commonjs/api/operations/index.js.map +1 -0
- package/dist/commonjs/api/operations/operations.d.ts +18 -0
- package/dist/commonjs/api/operations/operations.js +100 -0
- package/dist/commonjs/api/operations/operations.js.map +1 -0
- package/dist/commonjs/api/operations/options.d.ts +13 -0
- package/dist/commonjs/api/operations/options.js +5 -0
- package/dist/commonjs/api/operations/options.js.map +1 -0
- package/dist/commonjs/api/privateEndpointConnections/index.d.ts +3 -0
- package/dist/commonjs/api/privateEndpointConnections/index.js +11 -0
- package/dist/commonjs/api/privateEndpointConnections/index.js.map +1 -0
- package/dist/commonjs/api/privateEndpointConnections/operations.d.ts +28 -0
- package/dist/commonjs/api/privateEndpointConnections/operations.js +152 -0
- package/dist/commonjs/api/privateEndpointConnections/operations.js.map +1 -0
- package/dist/commonjs/api/privateEndpointConnections/options.d.ts +18 -0
- package/dist/commonjs/api/privateEndpointConnections/options.js +5 -0
- package/dist/commonjs/api/privateEndpointConnections/options.js.map +1 -0
- package/dist/commonjs/api/privateLinkResources/index.d.ts +3 -0
- package/dist/commonjs/api/privateLinkResources/index.js +9 -0
- package/dist/commonjs/api/privateLinkResources/index.js.map +1 -0
- package/dist/commonjs/api/privateLinkResources/operations.d.ts +14 -0
- package/dist/commonjs/api/privateLinkResources/operations.js +71 -0
- package/dist/commonjs/api/privateLinkResources/operations.js.map +1 -0
- package/dist/commonjs/api/privateLinkResources/options.d.ts +8 -0
- package/dist/commonjs/api/privateLinkResources/options.js +5 -0
- package/dist/commonjs/api/privateLinkResources/options.js.map +1 -0
- package/dist/commonjs/api/replicas/index.d.ts +3 -0
- package/dist/commonjs/api/replicas/index.js +11 -0
- package/dist/commonjs/api/replicas/index.js.map +1 -0
- package/dist/commonjs/api/replicas/operations.d.ts +28 -0
- package/dist/commonjs/api/replicas/operations.js +149 -0
- package/dist/commonjs/api/replicas/operations.js.map +1 -0
- package/dist/commonjs/api/replicas/options.d.ts +20 -0
- package/dist/commonjs/api/replicas/options.js +5 -0
- package/dist/commonjs/api/replicas/options.js.map +1 -0
- package/dist/commonjs/api/snapshots/index.d.ts +3 -0
- package/dist/commonjs/api/snapshots/index.js +9 -0
- package/dist/commonjs/api/snapshots/index.js.map +1 -0
- package/dist/commonjs/api/snapshots/operations.d.ts +14 -0
- package/dist/commonjs/api/snapshots/operations.js +79 -0
- package/dist/commonjs/api/snapshots/operations.js.map +1 -0
- package/dist/commonjs/api/snapshots/options.d.ts +10 -0
- package/dist/commonjs/api/snapshots/options.js +5 -0
- package/dist/commonjs/api/snapshots/options.js.map +1 -0
- package/dist/commonjs/appConfigurationManagementClient.d.ts +31 -24
- package/dist/commonjs/appConfigurationManagementClient.js +52 -99
- package/dist/commonjs/appConfigurationManagementClient.js.map +1 -1
- package/dist/commonjs/classic/configurationStores/index.d.ts +54 -0
- package/dist/commonjs/classic/configurationStores/index.js +60 -0
- package/dist/commonjs/classic/configurationStores/index.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +8 -0
- package/dist/commonjs/classic/index.js +5 -0
- package/dist/commonjs/classic/index.js.map +1 -0
- package/dist/commonjs/classic/keyValues/index.d.ts +25 -0
- package/dist/commonjs/classic/keyValues/index.js +28 -0
- package/dist/commonjs/classic/keyValues/index.js.map +1 -0
- package/dist/commonjs/classic/operations/index.d.ts +15 -0
- package/dist/commonjs/classic/operations/index.js +19 -0
- package/dist/commonjs/classic/operations/index.js.map +1 -0
- package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +32 -0
- package/dist/commonjs/classic/privateEndpointConnections/index.js +37 -0
- package/dist/commonjs/classic/privateEndpointConnections/index.js.map +1 -0
- package/dist/commonjs/classic/privateLinkResources/index.d.ts +13 -0
- package/dist/commonjs/classic/privateLinkResources/index.js +18 -0
- package/dist/commonjs/classic/privateLinkResources/index.js.map +1 -0
- package/dist/commonjs/classic/replicas/index.d.ts +32 -0
- package/dist/commonjs/classic/replicas/index.js +37 -0
- package/dist/commonjs/classic/replicas/index.js.map +1 -0
- package/dist/commonjs/classic/snapshots/index.d.ts +18 -0
- package/dist/commonjs/classic/snapshots/index.js +27 -0
- package/dist/commonjs/classic/snapshots/index.js.map +1 -0
- package/dist/commonjs/index.d.ts +16 -3
- package/dist/commonjs/index.js +21 -14
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +1 -1234
- package/dist/commonjs/models/index.js +17 -132
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +1047 -0
- package/dist/commonjs/models/models.js +1239 -0
- package/dist/commonjs/models/models.js.map +1 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.js +113 -0
- package/dist/commonjs/restorePollerHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +42 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +73 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +124 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +82 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +20 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js +47 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +203 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/api/appConfigurationManagementContext.d.ts +22 -0
- package/dist/esm/api/appConfigurationManagementContext.js +37 -0
- package/dist/esm/api/appConfigurationManagementContext.js.map +1 -0
- package/dist/esm/api/configurationStores/index.d.ts +3 -0
- package/dist/esm/api/configurationStores/index.js +4 -0
- package/dist/esm/api/configurationStores/index.js.map +1 -0
- package/dist/esm/api/configurationStores/operations.d.ts +56 -0
- package/dist/esm/api/configurationStores/operations.js +331 -0
- package/dist/esm/api/configurationStores/operations.js.map +1 -0
- package/dist/esm/api/configurationStores/options.d.ts +49 -0
- package/dist/esm/api/configurationStores/options.js +4 -0
- package/dist/esm/api/configurationStores/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +2 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/keyValues/index.d.ts +3 -0
- package/dist/esm/api/keyValues/index.js +4 -0
- package/dist/esm/api/keyValues/index.js.map +1 -0
- package/dist/esm/api/keyValues/operations.d.ts +23 -0
- package/dist/esm/api/keyValues/operations.js +102 -0
- package/dist/esm/api/keyValues/operations.js.map +1 -0
- package/dist/esm/api/keyValues/options.d.ts +13 -0
- package/dist/esm/api/keyValues/options.js +4 -0
- package/dist/esm/api/keyValues/options.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +3 -0
- package/dist/esm/api/operations/index.js +4 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/operations/operations.d.ts +18 -0
- package/dist/esm/api/operations/operations.js +89 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +13 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/privateEndpointConnections/index.d.ts +3 -0
- package/dist/esm/api/privateEndpointConnections/index.js +4 -0
- package/dist/esm/api/privateEndpointConnections/index.js.map +1 -0
- package/dist/esm/api/privateEndpointConnections/operations.d.ts +28 -0
- package/dist/esm/api/privateEndpointConnections/operations.js +138 -0
- package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -0
- package/dist/esm/api/privateEndpointConnections/options.d.ts +18 -0
- package/dist/esm/api/privateEndpointConnections/options.js +4 -0
- package/dist/esm/api/privateEndpointConnections/options.js.map +1 -0
- package/dist/esm/api/privateLinkResources/index.d.ts +3 -0
- package/dist/esm/api/privateLinkResources/index.js +4 -0
- package/dist/esm/api/privateLinkResources/index.js.map +1 -0
- package/dist/esm/api/privateLinkResources/operations.d.ts +14 -0
- package/dist/esm/api/privateLinkResources/operations.js +63 -0
- package/dist/esm/api/privateLinkResources/operations.js.map +1 -0
- package/dist/esm/api/privateLinkResources/options.d.ts +8 -0
- package/dist/esm/api/privateLinkResources/options.js +4 -0
- package/dist/esm/api/privateLinkResources/options.js.map +1 -0
- package/dist/esm/api/replicas/index.d.ts +3 -0
- package/dist/esm/api/replicas/index.js +4 -0
- package/dist/esm/api/replicas/index.js.map +1 -0
- package/dist/esm/api/replicas/operations.d.ts +28 -0
- package/dist/esm/api/replicas/operations.js +135 -0
- package/dist/esm/api/replicas/operations.js.map +1 -0
- package/dist/esm/api/replicas/options.d.ts +20 -0
- package/dist/esm/api/replicas/options.js +4 -0
- package/dist/esm/api/replicas/options.js.map +1 -0
- package/dist/esm/api/snapshots/index.d.ts +3 -0
- package/dist/esm/api/snapshots/index.js +4 -0
- package/dist/esm/api/snapshots/index.js.map +1 -0
- package/dist/esm/api/snapshots/operations.d.ts +14 -0
- package/dist/esm/api/snapshots/operations.js +71 -0
- package/dist/esm/api/snapshots/operations.js.map +1 -0
- package/dist/esm/api/snapshots/options.d.ts +10 -0
- package/dist/esm/api/snapshots/options.js +4 -0
- package/dist/esm/api/snapshots/options.js.map +1 -0
- package/dist/esm/appConfigurationManagementClient.d.ts +31 -24
- package/dist/esm/appConfigurationManagementClient.js +52 -98
- package/dist/esm/appConfigurationManagementClient.js.map +1 -1
- package/dist/esm/classic/configurationStores/index.d.ts +54 -0
- package/dist/esm/classic/configurationStores/index.js +57 -0
- package/dist/esm/classic/configurationStores/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +8 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/keyValues/index.d.ts +25 -0
- package/dist/esm/classic/keyValues/index.js +25 -0
- package/dist/esm/classic/keyValues/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +15 -0
- package/dist/esm/classic/operations/index.js +16 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/privateEndpointConnections/index.d.ts +32 -0
- package/dist/esm/classic/privateEndpointConnections/index.js +34 -0
- package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -0
- package/dist/esm/classic/privateLinkResources/index.d.ts +13 -0
- package/dist/esm/classic/privateLinkResources/index.js +15 -0
- package/dist/esm/classic/privateLinkResources/index.js.map +1 -0
- package/dist/esm/classic/replicas/index.d.ts +32 -0
- package/dist/esm/classic/replicas/index.js +34 -0
- package/dist/esm/classic/replicas/index.js.map +1 -0
- package/dist/esm/classic/snapshots/index.d.ts +18 -0
- package/dist/esm/classic/snapshots/index.js +24 -0
- package/dist/esm/classic/snapshots/index.js.map +1 -0
- package/dist/esm/index.d.ts +16 -3
- package/dist/esm/index.js +6 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +1 -1234
- package/dist/esm/models/index.js +3 -131
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +1047 -0
- package/dist/esm/models/models.js +1121 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.js +110 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +73 -0
- package/dist/esm/static-helpers/pagingHelpers.js +121 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/esm/static-helpers/pollingHelpers.js +79 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +200 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/dist/react-native/api/appConfigurationManagementContext.d.ts +22 -0
- package/dist/react-native/api/appConfigurationManagementContext.js +37 -0
- package/dist/react-native/api/appConfigurationManagementContext.js.map +1 -0
- package/dist/react-native/api/configurationStores/index.d.ts +3 -0
- package/dist/react-native/api/configurationStores/index.js +4 -0
- package/dist/react-native/api/configurationStores/index.js.map +1 -0
- package/dist/react-native/api/configurationStores/operations.d.ts +56 -0
- package/dist/react-native/api/configurationStores/operations.js +331 -0
- package/dist/react-native/api/configurationStores/operations.js.map +1 -0
- package/dist/react-native/api/configurationStores/options.d.ts +49 -0
- package/dist/react-native/api/configurationStores/options.js +4 -0
- package/dist/react-native/api/configurationStores/options.js.map +1 -0
- package/dist/react-native/api/index.d.ts +2 -0
- package/dist/react-native/api/index.js +4 -0
- package/dist/react-native/api/index.js.map +1 -0
- package/dist/react-native/api/keyValues/index.d.ts +3 -0
- package/dist/react-native/api/keyValues/index.js +4 -0
- package/dist/react-native/api/keyValues/index.js.map +1 -0
- package/dist/react-native/api/keyValues/operations.d.ts +23 -0
- package/dist/react-native/api/keyValues/operations.js +102 -0
- package/dist/react-native/api/keyValues/operations.js.map +1 -0
- package/dist/react-native/api/keyValues/options.d.ts +13 -0
- package/dist/react-native/api/keyValues/options.js +4 -0
- package/dist/react-native/api/keyValues/options.js.map +1 -0
- package/dist/react-native/api/operations/index.d.ts +3 -0
- package/dist/react-native/api/operations/index.js +4 -0
- package/dist/react-native/api/operations/index.js.map +1 -0
- package/dist/react-native/api/operations/operations.d.ts +18 -0
- package/dist/react-native/api/operations/operations.js +89 -0
- package/dist/react-native/api/operations/operations.js.map +1 -0
- package/dist/react-native/api/operations/options.d.ts +13 -0
- package/dist/react-native/api/operations/options.js +4 -0
- package/dist/react-native/api/operations/options.js.map +1 -0
- package/dist/react-native/api/privateEndpointConnections/index.d.ts +3 -0
- package/dist/react-native/api/privateEndpointConnections/index.js +4 -0
- package/dist/react-native/api/privateEndpointConnections/index.js.map +1 -0
- package/dist/react-native/api/privateEndpointConnections/operations.d.ts +28 -0
- package/dist/react-native/api/privateEndpointConnections/operations.js +138 -0
- package/dist/react-native/api/privateEndpointConnections/operations.js.map +1 -0
- package/dist/react-native/api/privateEndpointConnections/options.d.ts +18 -0
- package/dist/react-native/api/privateEndpointConnections/options.js +4 -0
- package/dist/react-native/api/privateEndpointConnections/options.js.map +1 -0
- package/dist/react-native/api/privateLinkResources/index.d.ts +3 -0
- package/dist/react-native/api/privateLinkResources/index.js +4 -0
- package/dist/react-native/api/privateLinkResources/index.js.map +1 -0
- package/dist/react-native/api/privateLinkResources/operations.d.ts +14 -0
- package/dist/react-native/api/privateLinkResources/operations.js +63 -0
- package/dist/react-native/api/privateLinkResources/operations.js.map +1 -0
- package/dist/react-native/api/privateLinkResources/options.d.ts +8 -0
- package/dist/react-native/api/privateLinkResources/options.js +4 -0
- package/dist/react-native/api/privateLinkResources/options.js.map +1 -0
- package/dist/react-native/api/replicas/index.d.ts +3 -0
- package/dist/react-native/api/replicas/index.js +4 -0
- package/dist/react-native/api/replicas/index.js.map +1 -0
- package/dist/react-native/api/replicas/operations.d.ts +28 -0
- package/dist/react-native/api/replicas/operations.js +135 -0
- package/dist/react-native/api/replicas/operations.js.map +1 -0
- package/dist/react-native/api/replicas/options.d.ts +20 -0
- package/dist/react-native/api/replicas/options.js +4 -0
- package/dist/react-native/api/replicas/options.js.map +1 -0
- package/dist/react-native/api/snapshots/index.d.ts +3 -0
- package/dist/react-native/api/snapshots/index.js +4 -0
- package/dist/react-native/api/snapshots/index.js.map +1 -0
- package/dist/react-native/api/snapshots/operations.d.ts +14 -0
- package/dist/react-native/api/snapshots/operations.js +71 -0
- package/dist/react-native/api/snapshots/operations.js.map +1 -0
- package/dist/react-native/api/snapshots/options.d.ts +10 -0
- package/dist/react-native/api/snapshots/options.js +4 -0
- package/dist/react-native/api/snapshots/options.js.map +1 -0
- package/dist/react-native/appConfigurationManagementClient.d.ts +31 -24
- package/dist/react-native/appConfigurationManagementClient.js +52 -98
- package/dist/react-native/appConfigurationManagementClient.js.map +1 -1
- package/dist/react-native/classic/configurationStores/index.d.ts +54 -0
- package/dist/react-native/classic/configurationStores/index.js +57 -0
- package/dist/react-native/classic/configurationStores/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +8 -0
- package/dist/react-native/classic/index.js +4 -0
- package/dist/react-native/classic/index.js.map +1 -0
- package/dist/react-native/classic/keyValues/index.d.ts +25 -0
- package/dist/react-native/classic/keyValues/index.js +25 -0
- package/dist/react-native/classic/keyValues/index.js.map +1 -0
- package/dist/react-native/classic/operations/index.d.ts +15 -0
- package/dist/react-native/classic/operations/index.js +16 -0
- package/dist/react-native/classic/operations/index.js.map +1 -0
- package/dist/react-native/classic/privateEndpointConnections/index.d.ts +32 -0
- package/dist/react-native/classic/privateEndpointConnections/index.js +34 -0
- package/dist/react-native/classic/privateEndpointConnections/index.js.map +1 -0
- package/dist/react-native/classic/privateLinkResources/index.d.ts +13 -0
- package/dist/react-native/classic/privateLinkResources/index.js +15 -0
- package/dist/react-native/classic/privateLinkResources/index.js.map +1 -0
- package/dist/react-native/classic/replicas/index.d.ts +32 -0
- package/dist/react-native/classic/replicas/index.js +34 -0
- package/dist/react-native/classic/replicas/index.js.map +1 -0
- package/dist/react-native/classic/snapshots/index.d.ts +18 -0
- package/dist/react-native/classic/snapshots/index.js +24 -0
- package/dist/react-native/classic/snapshots/index.js.map +1 -0
- package/dist/react-native/index.d.ts +16 -3
- package/dist/react-native/index.js +6 -11
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1 -1234
- package/dist/react-native/models/index.js +3 -131
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +1047 -0
- package/dist/react-native/models/models.js +1121 -0
- package/dist/react-native/models/models.js.map +1 -0
- package/dist/react-native/restorePollerHelpers.d.ts +21 -0
- package/dist/react-native/restorePollerHelpers.js +110 -0
- package/dist/react-native/restorePollerHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +73 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +121 -0
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/react-native/static-helpers/pollingHelpers.js +79 -0
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/react-native/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/react-native/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/react-native/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/react-native/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/react-native/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/react-native/static-helpers/urlTemplate.js +200 -0
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +257 -79
- package/CHANGELOG.md +0 -99
- package/dist/browser/appConfigurationManagementClient.d.ts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/lroImpl.d.ts +0 -11
- package/dist/browser/lroImpl.d.ts.map +0 -1
- package/dist/browser/lroImpl.js +0 -21
- package/dist/browser/lroImpl.js.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/mappers.d.ts +0 -49
- package/dist/browser/models/mappers.d.ts.map +0 -1
- package/dist/browser/models/mappers.js +0 -1685
- package/dist/browser/models/mappers.js.map +0 -1
- package/dist/browser/models/parameters.d.ts +0 -27
- package/dist/browser/models/parameters.d.ts.map +0 -1
- package/dist/browser/models/parameters.js +0 -230
- package/dist/browser/models/parameters.js.map +0 -1
- package/dist/browser/operations/configurationStores.d.ts +0 -178
- package/dist/browser/operations/configurationStores.d.ts.map +0 -1
- package/dist/browser/operations/configurationStores.js +0 -912
- package/dist/browser/operations/configurationStores.js.map +0 -1
- package/dist/browser/operations/index.d.ts +0 -8
- package/dist/browser/operations/index.d.ts.map +0 -1
- package/dist/browser/operations/index.js +0 -15
- package/dist/browser/operations/index.js.map +0 -1
- package/dist/browser/operations/keyValues.d.ts +0 -56
- package/dist/browser/operations/keyValues.d.ts.map +0 -1
- package/dist/browser/operations/keyValues.js +0 -183
- package/dist/browser/operations/keyValues.js.map +0 -1
- package/dist/browser/operations/operations.d.ts +0 -47
- package/dist/browser/operations/operations.d.ts.map +0 -1
- package/dist/browser/operations/operations.js +0 -192
- package/dist/browser/operations/operations.js.map +0 -1
- package/dist/browser/operations/privateEndpointConnections.d.ts +0 -86
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist/browser/operations/privateEndpointConnections.js +0 -369
- package/dist/browser/operations/privateEndpointConnections.js.map +0 -1
- package/dist/browser/operations/privateLinkResources.d.ts +0 -47
- package/dist/browser/operations/privateLinkResources.d.ts.map +0 -1
- package/dist/browser/operations/privateLinkResources.js +0 -183
- package/dist/browser/operations/privateLinkResources.js.map +0 -1
- package/dist/browser/operations/replicas.d.ts +0 -82
- package/dist/browser/operations/replicas.d.ts.map +0 -1
- package/dist/browser/operations/replicas.js +0 -357
- package/dist/browser/operations/replicas.js.map +0 -1
- package/dist/browser/operations/snapshots.d.ts +0 -46
- package/dist/browser/operations/snapshots.d.ts.map +0 -1
- package/dist/browser/operations/snapshots.js +0 -152
- package/dist/browser/operations/snapshots.js.map +0 -1
- package/dist/browser/operationsInterfaces/configurationStores.d.ts +0 -112
- package/dist/browser/operationsInterfaces/configurationStores.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/configurationStores.js +0 -9
- package/dist/browser/operationsInterfaces/configurationStores.js.map +0 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -8
- package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/index.js +0 -15
- package/dist/browser/operationsInterfaces/index.js.map +0 -1
- package/dist/browser/operationsInterfaces/keyValues.d.ts +0 -48
- package/dist/browser/operationsInterfaces/keyValues.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/keyValues.js +0 -9
- package/dist/browser/operationsInterfaces/keyValues.js.map +0 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +0 -26
- package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/operations.js +0 -9
- package/dist/browser/operationsInterfaces/operations.js.map +0 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +0 -60
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js +0 -9
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +0 -21
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.js +0 -9
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist/browser/operationsInterfaces/replicas.d.ts +0 -56
- package/dist/browser/operationsInterfaces/replicas.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/replicas.js +0 -9
- package/dist/browser/operationsInterfaces/replicas.js.map +0 -1
- package/dist/browser/operationsInterfaces/snapshots.d.ts +0 -38
- package/dist/browser/operationsInterfaces/snapshots.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/snapshots.js +0 -9
- package/dist/browser/operationsInterfaces/snapshots.js.map +0 -1
- package/dist/browser/pagingHelper.d.ts +0 -13
- package/dist/browser/pagingHelper.d.ts.map +0 -1
- package/dist/browser/pagingHelper.js +0 -32
- package/dist/browser/pagingHelper.js.map +0 -1
- package/dist/commonjs/appConfigurationManagementClient.d.ts.map +0 -1
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/lroImpl.d.ts +0 -11
- package/dist/commonjs/lroImpl.d.ts.map +0 -1
- package/dist/commonjs/lroImpl.js +0 -24
- package/dist/commonjs/lroImpl.js.map +0 -1
- package/dist/commonjs/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.d.ts +0 -49
- package/dist/commonjs/models/mappers.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.js +0 -1688
- package/dist/commonjs/models/mappers.js.map +0 -1
- package/dist/commonjs/models/parameters.d.ts +0 -27
- package/dist/commonjs/models/parameters.d.ts.map +0 -1
- package/dist/commonjs/models/parameters.js +0 -233
- package/dist/commonjs/models/parameters.js.map +0 -1
- package/dist/commonjs/operations/configurationStores.d.ts +0 -178
- package/dist/commonjs/operations/configurationStores.d.ts.map +0 -1
- package/dist/commonjs/operations/configurationStores.js +0 -916
- package/dist/commonjs/operations/configurationStores.js.map +0 -1
- package/dist/commonjs/operations/index.d.ts +0 -8
- package/dist/commonjs/operations/index.d.ts.map +0 -1
- package/dist/commonjs/operations/index.js +0 -18
- package/dist/commonjs/operations/index.js.map +0 -1
- package/dist/commonjs/operations/keyValues.d.ts +0 -56
- package/dist/commonjs/operations/keyValues.d.ts.map +0 -1
- package/dist/commonjs/operations/keyValues.js +0 -188
- package/dist/commonjs/operations/keyValues.js.map +0 -1
- package/dist/commonjs/operations/operations.d.ts +0 -47
- package/dist/commonjs/operations/operations.d.ts.map +0 -1
- package/dist/commonjs/operations/operations.js +0 -196
- package/dist/commonjs/operations/operations.js.map +0 -1
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +0 -86
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +0 -373
- package/dist/commonjs/operations/privateEndpointConnections.js.map +0 -1
- package/dist/commonjs/operations/privateLinkResources.d.ts +0 -47
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +0 -1
- package/dist/commonjs/operations/privateLinkResources.js +0 -187
- package/dist/commonjs/operations/privateLinkResources.js.map +0 -1
- package/dist/commonjs/operations/replicas.d.ts +0 -82
- package/dist/commonjs/operations/replicas.d.ts.map +0 -1
- package/dist/commonjs/operations/replicas.js +0 -361
- package/dist/commonjs/operations/replicas.js.map +0 -1
- package/dist/commonjs/operations/snapshots.d.ts +0 -46
- package/dist/commonjs/operations/snapshots.d.ts.map +0 -1
- package/dist/commonjs/operations/snapshots.js +0 -157
- package/dist/commonjs/operations/snapshots.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/configurationStores.d.ts +0 -112
- package/dist/commonjs/operationsInterfaces/configurationStores.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/configurationStores.js +0 -10
- package/dist/commonjs/operationsInterfaces/configurationStores.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -8
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -18
- package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/keyValues.d.ts +0 -48
- package/dist/commonjs/operationsInterfaces/keyValues.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/keyValues.js +0 -10
- package/dist/commonjs/operationsInterfaces/keyValues.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -26
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.js +0 -10
- package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +0 -60
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +0 -10
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +0 -21
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js +0 -10
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/replicas.d.ts +0 -56
- package/dist/commonjs/operationsInterfaces/replicas.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/replicas.js +0 -10
- package/dist/commonjs/operationsInterfaces/replicas.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/snapshots.d.ts +0 -38
- package/dist/commonjs/operationsInterfaces/snapshots.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/snapshots.js +0 -10
- package/dist/commonjs/operationsInterfaces/snapshots.js.map +0 -1
- package/dist/commonjs/pagingHelper.d.ts +0 -13
- package/dist/commonjs/pagingHelper.d.ts.map +0 -1
- package/dist/commonjs/pagingHelper.js +0 -36
- package/dist/commonjs/pagingHelper.js.map +0 -1
- package/dist/esm/appConfigurationManagementClient.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/lroImpl.d.ts +0 -11
- package/dist/esm/lroImpl.d.ts.map +0 -1
- package/dist/esm/lroImpl.js +0 -21
- package/dist/esm/lroImpl.js.map +0 -1
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/mappers.d.ts +0 -49
- package/dist/esm/models/mappers.d.ts.map +0 -1
- package/dist/esm/models/mappers.js +0 -1685
- package/dist/esm/models/mappers.js.map +0 -1
- package/dist/esm/models/parameters.d.ts +0 -27
- package/dist/esm/models/parameters.d.ts.map +0 -1
- package/dist/esm/models/parameters.js +0 -230
- package/dist/esm/models/parameters.js.map +0 -1
- package/dist/esm/operations/configurationStores.d.ts +0 -178
- package/dist/esm/operations/configurationStores.d.ts.map +0 -1
- package/dist/esm/operations/configurationStores.js +0 -912
- package/dist/esm/operations/configurationStores.js.map +0 -1
- package/dist/esm/operations/index.d.ts +0 -8
- package/dist/esm/operations/index.d.ts.map +0 -1
- package/dist/esm/operations/index.js +0 -15
- package/dist/esm/operations/index.js.map +0 -1
- package/dist/esm/operations/keyValues.d.ts +0 -56
- package/dist/esm/operations/keyValues.d.ts.map +0 -1
- package/dist/esm/operations/keyValues.js +0 -183
- package/dist/esm/operations/keyValues.js.map +0 -1
- package/dist/esm/operations/operations.d.ts +0 -47
- package/dist/esm/operations/operations.d.ts.map +0 -1
- package/dist/esm/operations/operations.js +0 -192
- package/dist/esm/operations/operations.js.map +0 -1
- package/dist/esm/operations/privateEndpointConnections.d.ts +0 -86
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist/esm/operations/privateEndpointConnections.js +0 -369
- package/dist/esm/operations/privateEndpointConnections.js.map +0 -1
- package/dist/esm/operations/privateLinkResources.d.ts +0 -47
- package/dist/esm/operations/privateLinkResources.d.ts.map +0 -1
- package/dist/esm/operations/privateLinkResources.js +0 -183
- package/dist/esm/operations/privateLinkResources.js.map +0 -1
- package/dist/esm/operations/replicas.d.ts +0 -82
- package/dist/esm/operations/replicas.d.ts.map +0 -1
- package/dist/esm/operations/replicas.js +0 -357
- package/dist/esm/operations/replicas.js.map +0 -1
- package/dist/esm/operations/snapshots.d.ts +0 -46
- package/dist/esm/operations/snapshots.d.ts.map +0 -1
- package/dist/esm/operations/snapshots.js +0 -152
- package/dist/esm/operations/snapshots.js.map +0 -1
- package/dist/esm/operationsInterfaces/configurationStores.d.ts +0 -112
- package/dist/esm/operationsInterfaces/configurationStores.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/configurationStores.js +0 -9
- package/dist/esm/operationsInterfaces/configurationStores.js.map +0 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -8
- package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/index.js +0 -15
- package/dist/esm/operationsInterfaces/index.js.map +0 -1
- package/dist/esm/operationsInterfaces/keyValues.d.ts +0 -48
- package/dist/esm/operationsInterfaces/keyValues.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/keyValues.js +0 -9
- package/dist/esm/operationsInterfaces/keyValues.js.map +0 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +0 -26
- package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/operations.js +0 -9
- package/dist/esm/operationsInterfaces/operations.js.map +0 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +0 -60
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +0 -9
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +0 -21
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.js +0 -9
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist/esm/operationsInterfaces/replicas.d.ts +0 -56
- package/dist/esm/operationsInterfaces/replicas.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/replicas.js +0 -9
- package/dist/esm/operationsInterfaces/replicas.js.map +0 -1
- package/dist/esm/operationsInterfaces/snapshots.d.ts +0 -38
- package/dist/esm/operationsInterfaces/snapshots.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/snapshots.js +0 -9
- package/dist/esm/operationsInterfaces/snapshots.js.map +0 -1
- package/dist/esm/pagingHelper.d.ts +0 -13
- package/dist/esm/pagingHelper.d.ts.map +0 -1
- package/dist/esm/pagingHelper.js +0 -32
- package/dist/esm/pagingHelper.js.map +0 -1
- package/dist/react-native/appConfigurationManagementClient.d.ts.map +0 -1
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/lroImpl.d.ts +0 -11
- package/dist/react-native/lroImpl.d.ts.map +0 -1
- package/dist/react-native/lroImpl.js +0 -21
- package/dist/react-native/lroImpl.js.map +0 -1
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/mappers.d.ts +0 -49
- package/dist/react-native/models/mappers.d.ts.map +0 -1
- package/dist/react-native/models/mappers.js +0 -1685
- package/dist/react-native/models/mappers.js.map +0 -1
- package/dist/react-native/models/parameters.d.ts +0 -27
- package/dist/react-native/models/parameters.d.ts.map +0 -1
- package/dist/react-native/models/parameters.js +0 -230
- package/dist/react-native/models/parameters.js.map +0 -1
- package/dist/react-native/operations/configurationStores.d.ts +0 -178
- package/dist/react-native/operations/configurationStores.d.ts.map +0 -1
- package/dist/react-native/operations/configurationStores.js +0 -912
- package/dist/react-native/operations/configurationStores.js.map +0 -1
- package/dist/react-native/operations/index.d.ts +0 -8
- package/dist/react-native/operations/index.d.ts.map +0 -1
- package/dist/react-native/operations/index.js +0 -15
- package/dist/react-native/operations/index.js.map +0 -1
- package/dist/react-native/operations/keyValues.d.ts +0 -56
- package/dist/react-native/operations/keyValues.d.ts.map +0 -1
- package/dist/react-native/operations/keyValues.js +0 -183
- package/dist/react-native/operations/keyValues.js.map +0 -1
- package/dist/react-native/operations/operations.d.ts +0 -47
- package/dist/react-native/operations/operations.d.ts.map +0 -1
- package/dist/react-native/operations/operations.js +0 -192
- package/dist/react-native/operations/operations.js.map +0 -1
- package/dist/react-native/operations/privateEndpointConnections.d.ts +0 -86
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist/react-native/operations/privateEndpointConnections.js +0 -369
- package/dist/react-native/operations/privateEndpointConnections.js.map +0 -1
- package/dist/react-native/operations/privateLinkResources.d.ts +0 -47
- package/dist/react-native/operations/privateLinkResources.d.ts.map +0 -1
- package/dist/react-native/operations/privateLinkResources.js +0 -183
- package/dist/react-native/operations/privateLinkResources.js.map +0 -1
- package/dist/react-native/operations/replicas.d.ts +0 -82
- package/dist/react-native/operations/replicas.d.ts.map +0 -1
- package/dist/react-native/operations/replicas.js +0 -357
- package/dist/react-native/operations/replicas.js.map +0 -1
- package/dist/react-native/operations/snapshots.d.ts +0 -46
- package/dist/react-native/operations/snapshots.d.ts.map +0 -1
- package/dist/react-native/operations/snapshots.js +0 -152
- package/dist/react-native/operations/snapshots.js.map +0 -1
- package/dist/react-native/operationsInterfaces/configurationStores.d.ts +0 -112
- package/dist/react-native/operationsInterfaces/configurationStores.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/configurationStores.js +0 -9
- package/dist/react-native/operationsInterfaces/configurationStores.js.map +0 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -8
- package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -15
- package/dist/react-native/operationsInterfaces/index.js.map +0 -1
- package/dist/react-native/operationsInterfaces/keyValues.d.ts +0 -48
- package/dist/react-native/operationsInterfaces/keyValues.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/keyValues.js +0 -9
- package/dist/react-native/operationsInterfaces/keyValues.js.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +0 -26
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.js +0 -9
- package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +0 -60
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +0 -9
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +0 -21
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.js +0 -9
- package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist/react-native/operationsInterfaces/replicas.d.ts +0 -56
- package/dist/react-native/operationsInterfaces/replicas.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/replicas.js +0 -9
- package/dist/react-native/operationsInterfaces/replicas.js.map +0 -1
- package/dist/react-native/operationsInterfaces/snapshots.d.ts +0 -38
- package/dist/react-native/operationsInterfaces/snapshots.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/snapshots.js +0 -9
- package/dist/react-native/operationsInterfaces/snapshots.js.map +0 -1
- package/dist/react-native/pagingHelper.d.ts +0 -13
- package/dist/react-native/pagingHelper.d.ts.map +0 -1
- package/dist/react-native/pagingHelper.js +0 -32
- package/dist/react-native/pagingHelper.js.map +0 -1
- package/review/arm-appconfiguration.api.md +0 -893
package/README.md
CHANGED
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure AppConfigurationManagement client.
|
|
4
4
|
|
|
5
|
+
// (missing-service-description) Add service description
|
|
5
6
|
|
|
7
|
+
Key links:
|
|
6
8
|
|
|
7
|
-
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/arm-appconfiguration)
|
|
8
|
-
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-appconfiguration)
|
|
9
|
-
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-appconfiguration)
|
|
10
|
-
[Samples](https://github.com/Azure
|
|
9
|
+
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/arm-appconfiguration)
|
|
10
|
+
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-appconfiguration)
|
|
11
|
+
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-appconfiguration?view=azure-node-preview)
|
|
12
|
+
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/arm-appconfiguration/samples)
|
|
11
13
|
|
|
12
14
|
## Getting started
|
|
13
15
|
|
|
@@ -63,14 +65,15 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
|
|
|
63
65
|
import { InteractiveBrowserCredential } from "@azure/identity";
|
|
64
66
|
import { AppConfigurationManagementClient } from "@azure/arm-appconfiguration";
|
|
65
67
|
|
|
66
|
-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
67
68
|
const credential = new InteractiveBrowserCredential({
|
|
68
69
|
tenantId: "<YOUR_TENANT_ID>",
|
|
69
70
|
clientId: "<YOUR_CLIENT_ID>",
|
|
70
71
|
});
|
|
72
|
+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
71
73
|
const client = new AppConfigurationManagementClient(credential, subscriptionId);
|
|
72
74
|
```
|
|
73
75
|
|
|
76
|
+
|
|
74
77
|
### JavaScript Bundle
|
|
75
78
|
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
|
|
76
79
|
|
|
@@ -96,7 +99,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
|
|
|
96
99
|
|
|
97
100
|
## Next steps
|
|
98
101
|
|
|
99
|
-
Please take a look at the [samples](https://github.com/Azure
|
|
102
|
+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/arm-appconfiguration/samples) directory for detailed examples on how to use this library.
|
|
100
103
|
|
|
101
104
|
## Contributing
|
|
102
105
|
|
|
@@ -106,9 +109,6 @@ If you'd like to contribute to this library, please read the [contributing guide
|
|
|
106
109
|
|
|
107
110
|
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
|
|
108
111
|
|
|
109
|
-
|
|
110
|
-
[azure_cli]: https://learn.microsoft.com/cli/azure
|
|
111
|
-
[azure_sub]: https://azure.microsoft.com/free/
|
|
112
112
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
113
113
|
[azure_portal]: https://portal.azure.com
|
|
114
114
|
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AzureSupportedClouds } from "../static-helpers/cloudSettingHelpers.js";
|
|
2
|
+
import type { Client, ClientOptions } from "@azure-rest/core-client";
|
|
3
|
+
import type { TokenCredential } from "@azure/core-auth";
|
|
4
|
+
/** // (missing-service-description) Add service description */
|
|
5
|
+
export interface AppConfigurationManagementContext extends Client {
|
|
6
|
+
/** The API version to use for this operation. */
|
|
7
|
+
/** Known values of {@link KnownVersions} that the service accepts. */
|
|
8
|
+
apiVersion: string;
|
|
9
|
+
/** The ID of the target subscription. The value must be an UUID. */
|
|
10
|
+
subscriptionId: string;
|
|
11
|
+
}
|
|
12
|
+
/** Optional parameters for the client. */
|
|
13
|
+
export interface AppConfigurationManagementClientOptionalParams extends ClientOptions {
|
|
14
|
+
/** The API version to use for this operation. */
|
|
15
|
+
/** Known values of {@link KnownVersions} that the service accepts. */
|
|
16
|
+
apiVersion?: string;
|
|
17
|
+
/** Specifies the Azure cloud environment for the client. */
|
|
18
|
+
cloudSetting?: AzureSupportedClouds;
|
|
19
|
+
}
|
|
20
|
+
/** // (missing-service-description) Add service description */
|
|
21
|
+
export declare function createAppConfigurationManagement(credential: TokenCredential, subscriptionId: string, options?: AppConfigurationManagementClientOptionalParams): AppConfigurationManagementContext;
|
|
22
|
+
//# sourceMappingURL=appConfigurationManagementContext.d.ts.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { logger } from "../logger.js";
|
|
4
|
+
import { getArmEndpoint } from "../static-helpers/cloudSettingHelpers.js";
|
|
5
|
+
import { getClient } from "@azure-rest/core-client";
|
|
6
|
+
/** // (missing-service-description) Add service description */
|
|
7
|
+
export function createAppConfigurationManagement(credential, subscriptionId, options = {}) {
|
|
8
|
+
const endpointUrl = options.endpoint ?? getArmEndpoint(options.cloudSetting) ?? "https://management.azure.com";
|
|
9
|
+
const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
|
|
10
|
+
const userAgentInfo = `azsdk-js-arm-appconfiguration/1.0.0-beta.1`;
|
|
11
|
+
const userAgentPrefix = prefixFromOptions
|
|
12
|
+
? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`
|
|
13
|
+
: `azsdk-js-api ${userAgentInfo}`;
|
|
14
|
+
const { apiVersion: _, ...updatedOptions } = {
|
|
15
|
+
...options,
|
|
16
|
+
userAgentOptions: { userAgentPrefix },
|
|
17
|
+
loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },
|
|
18
|
+
credentials: { scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`] },
|
|
19
|
+
};
|
|
20
|
+
const clientContext = getClient(endpointUrl, credential, updatedOptions);
|
|
21
|
+
clientContext.pipeline.removePolicy({ name: "ApiVersionPolicy" });
|
|
22
|
+
const apiVersion = options.apiVersion ?? "2025-06-01-preview";
|
|
23
|
+
clientContext.pipeline.addPolicy({
|
|
24
|
+
name: "ClientApiVersionPolicy",
|
|
25
|
+
sendRequest: (req, next) => {
|
|
26
|
+
// Use the apiVersion defined in request url directly
|
|
27
|
+
// Append one if there is no apiVersion and we have one at client options
|
|
28
|
+
const url = new URL(req.url);
|
|
29
|
+
if (!url.searchParams.get("api-version")) {
|
|
30
|
+
req.url = `${req.url}${Array.from(url.searchParams.keys()).length > 0 ? "&" : "?"}api-version=${apiVersion}`;
|
|
31
|
+
}
|
|
32
|
+
return next(req);
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
return { ...clientContext, apiVersion, subscriptionId };
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=appConfigurationManagementContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appConfigurationManagementContext.js","sourceRoot":"","sources":["../../../src/api/appConfigurationManagementContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAGtC,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAE1E,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAqBpD,+DAA+D;AAC/D,MAAM,UAAU,gCAAgC,CAC9C,UAA2B,EAC3B,cA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,CAAC;gBACzC,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,GAAG,GAClB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GACzD,eAAe,UAAU,EAAE,CAAC;YAC9B,CAAC;YAED,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC,CAAC;IACH,OAAO,EAAE,GAAG,aAAa,EAAE,UAAU,EAAE,cAAc,EAAuC,CAAC;AAC/F,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport { KnownVersions } from \"../models/models.js\";\nimport type { AzureSupportedClouds } from \"../static-helpers/cloudSettingHelpers.js\";\nimport { getArmEndpoint } from \"../static-helpers/cloudSettingHelpers.js\";\nimport type { Client, ClientOptions } from \"@azure-rest/core-client\";\nimport { getClient } from \"@azure-rest/core-client\";\nimport type { TokenCredential } from \"@azure/core-auth\";\n\n/** // (missing-service-description) Add service description */\nexport interface AppConfigurationManagementContext extends Client {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion: string;\n /** The ID of the target subscription. The value must be an UUID. */\n subscriptionId: string;\n}\n\n/** Optional parameters for the client. */\nexport interface AppConfigurationManagementClientOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n /** Specifies the Azure cloud environment for the client. */\n cloudSetting?: AzureSupportedClouds;\n}\n\n/** // (missing-service-description) Add service description */\nexport function createAppConfigurationManagement(\n credential: TokenCredential,\n subscriptionId: string,\n options: AppConfigurationManagementClientOptionalParams = {},\n): AppConfigurationManagementContext {\n const endpointUrl =\n options.endpoint ?? getArmEndpoint(options.cloudSetting) ?? \"https://management.azure.com\";\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-appconfiguration/1.0.0-beta.1`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: { scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`] },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n clientContext.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n const apiVersion = options.apiVersion ?? \"2025-06-01-preview\";\n clientContext.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n if (!url.searchParams.get(\"api-version\")) {\n req.url = `${req.url}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${apiVersion}`;\n }\n\n return next(req);\n },\n });\n return { ...clientContext, apiVersion, subscriptionId } as AppConfigurationManagementContext;\n}\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { listDeleted, purgeDeleted, getDeleted, regenerateKey, listKeys, list, listByResourceGroup, $delete, update, create, get, } from "./operations.js";
|
|
2
|
+
export { ConfigurationStoresListDeletedOptionalParams, ConfigurationStoresPurgeDeletedOptionalParams, ConfigurationStoresGetDeletedOptionalParams, ConfigurationStoresRegenerateKeyOptionalParams, ConfigurationStoresListKeysOptionalParams, ConfigurationStoresListOptionalParams, ConfigurationStoresListByResourceGroupOptionalParams, ConfigurationStoresDeleteOptionalParams, ConfigurationStoresUpdateOptionalParams, ConfigurationStoresCreateOptionalParams, ConfigurationStoresGetOptionalParams, } from "./options.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/configurationStores/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,WAAW,EACX,YAAY,EACZ,UAAU,EACV,aAAa,EACb,QAAQ,EACR,IAAI,EACJ,mBAAmB,EACnB,OAAO,EACP,MAAM,EACN,MAAM,EACN,GAAG,GACJ,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n listDeleted,\n purgeDeleted,\n getDeleted,\n regenerateKey,\n listKeys,\n list,\n listByResourceGroup,\n $delete,\n update,\n create,\n get,\n} from \"./operations.js\";\nexport {\n ConfigurationStoresListDeletedOptionalParams,\n ConfigurationStoresPurgeDeletedOptionalParams,\n ConfigurationStoresGetDeletedOptionalParams,\n ConfigurationStoresRegenerateKeyOptionalParams,\n ConfigurationStoresListKeysOptionalParams,\n ConfigurationStoresListOptionalParams,\n ConfigurationStoresListByResourceGroupOptionalParams,\n ConfigurationStoresDeleteOptionalParams,\n ConfigurationStoresUpdateOptionalParams,\n ConfigurationStoresCreateOptionalParams,\n ConfigurationStoresGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { AppConfigurationManagementContext as Client } from "../index.js";
|
|
2
|
+
import type { ConfigurationStore, ConfigurationStoreUpdateParameters, _ConfigurationStoreListResult, _ApiKeyListResult, ApiKey, RegenerateKeyParameters, DeletedConfigurationStore, _DeletedConfigurationStoreListResult } from "../../models/models.js";
|
|
3
|
+
import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import type { ConfigurationStoresListDeletedOptionalParams, ConfigurationStoresPurgeDeletedOptionalParams, ConfigurationStoresGetDeletedOptionalParams, ConfigurationStoresRegenerateKeyOptionalParams, ConfigurationStoresListKeysOptionalParams, ConfigurationStoresListOptionalParams, ConfigurationStoresListByResourceGroupOptionalParams, ConfigurationStoresDeleteOptionalParams, ConfigurationStoresUpdateOptionalParams, ConfigurationStoresCreateOptionalParams, ConfigurationStoresGetOptionalParams } from "./options.js";
|
|
5
|
+
import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
7
|
+
export declare function _listDeletedSend(context: Client, options?: ConfigurationStoresListDeletedOptionalParams): StreamableMethod;
|
|
8
|
+
export declare function _listDeletedDeserialize(result: PathUncheckedResponse): Promise<_DeletedConfigurationStoreListResult>;
|
|
9
|
+
/** Gets information about the deleted configuration stores in a subscription. */
|
|
10
|
+
export declare function listDeleted(context: Client, options?: ConfigurationStoresListDeletedOptionalParams): PagedAsyncIterableIterator<DeletedConfigurationStore>;
|
|
11
|
+
export declare function _purgeDeletedSend(context: Client, location: string, configStoreName: string, options?: ConfigurationStoresPurgeDeletedOptionalParams): StreamableMethod;
|
|
12
|
+
export declare function _purgeDeletedDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
13
|
+
/** Permanently deletes the specified configuration store. */
|
|
14
|
+
export declare function purgeDeleted(context: Client, location: string, configStoreName: string, options?: ConfigurationStoresPurgeDeletedOptionalParams): PollerLike<OperationState<void>, void>;
|
|
15
|
+
export declare function _getDeletedSend(context: Client, location: string, configStoreName: string, options?: ConfigurationStoresGetDeletedOptionalParams): StreamableMethod;
|
|
16
|
+
export declare function _getDeletedDeserialize(result: PathUncheckedResponse): Promise<DeletedConfigurationStore>;
|
|
17
|
+
/** Gets a deleted Azure app configuration store. */
|
|
18
|
+
export declare function getDeleted(context: Client, location: string, configStoreName: string, options?: ConfigurationStoresGetDeletedOptionalParams): Promise<DeletedConfigurationStore>;
|
|
19
|
+
export declare function _regenerateKeySend(context: Client, resourceGroupName: string, configStoreName: string, regenerateKeyParameters: RegenerateKeyParameters, options?: ConfigurationStoresRegenerateKeyOptionalParams): StreamableMethod;
|
|
20
|
+
export declare function _regenerateKeyDeserialize(result: PathUncheckedResponse): Promise<ApiKey>;
|
|
21
|
+
/** Regenerates an access key for the specified configuration store. */
|
|
22
|
+
export declare function regenerateKey(context: Client, resourceGroupName: string, configStoreName: string, regenerateKeyParameters: RegenerateKeyParameters, options?: ConfigurationStoresRegenerateKeyOptionalParams): Promise<ApiKey>;
|
|
23
|
+
export declare function _listKeysSend(context: Client, resourceGroupName: string, configStoreName: string, options?: ConfigurationStoresListKeysOptionalParams): StreamableMethod;
|
|
24
|
+
export declare function _listKeysDeserialize(result: PathUncheckedResponse): Promise<_ApiKeyListResult>;
|
|
25
|
+
/** Lists the access key for the specified configuration store. */
|
|
26
|
+
export declare function listKeys(context: Client, resourceGroupName: string, configStoreName: string, options?: ConfigurationStoresListKeysOptionalParams): PagedAsyncIterableIterator<ApiKey>;
|
|
27
|
+
export declare function _listSend(context: Client, options?: ConfigurationStoresListOptionalParams): StreamableMethod;
|
|
28
|
+
export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_ConfigurationStoreListResult>;
|
|
29
|
+
/** Lists the configuration stores for a given subscription. */
|
|
30
|
+
export declare function list(context: Client, options?: ConfigurationStoresListOptionalParams): PagedAsyncIterableIterator<ConfigurationStore>;
|
|
31
|
+
export declare function _listByResourceGroupSend(context: Client, resourceGroupName: string, options?: ConfigurationStoresListByResourceGroupOptionalParams): StreamableMethod;
|
|
32
|
+
export declare function _listByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_ConfigurationStoreListResult>;
|
|
33
|
+
/** Lists the configuration stores for a given resource group. */
|
|
34
|
+
export declare function listByResourceGroup(context: Client, resourceGroupName: string, options?: ConfigurationStoresListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ConfigurationStore>;
|
|
35
|
+
export declare function _$deleteSend(context: Client, resourceGroupName: string, configStoreName: string, options?: ConfigurationStoresDeleteOptionalParams): StreamableMethod;
|
|
36
|
+
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
37
|
+
/** Deletes a configuration store. */
|
|
38
|
+
/**
|
|
39
|
+
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
40
|
+
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
41
|
+
* to the operation to override the generated name.
|
|
42
|
+
*/
|
|
43
|
+
export declare function $delete(context: Client, resourceGroupName: string, configStoreName: string, options?: ConfigurationStoresDeleteOptionalParams): PollerLike<OperationState<void>, void>;
|
|
44
|
+
export declare function _updateSend(context: Client, resourceGroupName: string, configStoreName: string, configStoreUpdateParameters: ConfigurationStoreUpdateParameters, options?: ConfigurationStoresUpdateOptionalParams): StreamableMethod;
|
|
45
|
+
export declare function _updateDeserialize(result: PathUncheckedResponse): Promise<ConfigurationStore>;
|
|
46
|
+
/** Updates a configuration store with the specified parameters. */
|
|
47
|
+
export declare function update(context: Client, resourceGroupName: string, configStoreName: string, configStoreUpdateParameters: ConfigurationStoreUpdateParameters, options?: ConfigurationStoresUpdateOptionalParams): PollerLike<OperationState<ConfigurationStore>, ConfigurationStore>;
|
|
48
|
+
export declare function _createSend(context: Client, resourceGroupName: string, configStoreName: string, configStoreCreationParameters: ConfigurationStore, options?: ConfigurationStoresCreateOptionalParams): StreamableMethod;
|
|
49
|
+
export declare function _createDeserialize(result: PathUncheckedResponse): Promise<ConfigurationStore>;
|
|
50
|
+
/** Creates a configuration store with the specified parameters. */
|
|
51
|
+
export declare function create(context: Client, resourceGroupName: string, configStoreName: string, configStoreCreationParameters: ConfigurationStore, options?: ConfigurationStoresCreateOptionalParams): PollerLike<OperationState<ConfigurationStore>, ConfigurationStore>;
|
|
52
|
+
export declare function _getSend(context: Client, resourceGroupName: string, configStoreName: string, options?: ConfigurationStoresGetOptionalParams): StreamableMethod;
|
|
53
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<ConfigurationStore>;
|
|
54
|
+
/** Gets the properties of the specified configuration store. */
|
|
55
|
+
export declare function get(context: Client, resourceGroupName: string, configStoreName: string, options?: ConfigurationStoresGetOptionalParams): Promise<ConfigurationStore>;
|
|
56
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { configurationStoreSerializer, configurationStoreDeserializer, errorResponseDeserializer, configurationStoreUpdateParametersSerializer, _configurationStoreListResultDeserializer, _apiKeyListResultDeserializer, apiKeyDeserializer, regenerateKeyParametersSerializer, deletedConfigurationStoreDeserializer, _deletedConfigurationStoreListResultDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
6
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
7
|
+
import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
|
|
8
|
+
export function _listDeletedSend(context, options = { requestOptions: {} }) {
|
|
9
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/deletedConfigurationStores{?api%2Dversion}", {
|
|
10
|
+
subscriptionId: context.subscriptionId,
|
|
11
|
+
"api%2Dversion": context.apiVersion,
|
|
12
|
+
}, {
|
|
13
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
14
|
+
});
|
|
15
|
+
return context.path(path).get({
|
|
16
|
+
...operationOptionsToRequestParameters(options),
|
|
17
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
export async function _listDeletedDeserialize(result) {
|
|
21
|
+
const expectedStatuses = ["200"];
|
|
22
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
23
|
+
const error = createRestError(result);
|
|
24
|
+
error.details = errorResponseDeserializer(result.body);
|
|
25
|
+
throw error;
|
|
26
|
+
}
|
|
27
|
+
return _deletedConfigurationStoreListResultDeserializer(result.body);
|
|
28
|
+
}
|
|
29
|
+
/** Gets information about the deleted configuration stores in a subscription. */
|
|
30
|
+
export function listDeleted(context, options = { requestOptions: {} }) {
|
|
31
|
+
return buildPagedAsyncIterator(context, () => _listDeletedSend(context, options), _listDeletedDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
32
|
+
}
|
|
33
|
+
export function _purgeDeletedSend(context, location, configStoreName, options = { requestOptions: {} }) {
|
|
34
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/locations/{location}/deletedConfigurationStores/{configStoreName}/purge{?api%2Dversion}", {
|
|
35
|
+
subscriptionId: context.subscriptionId,
|
|
36
|
+
location: location,
|
|
37
|
+
configStoreName: configStoreName,
|
|
38
|
+
"api%2Dversion": context.apiVersion,
|
|
39
|
+
}, {
|
|
40
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
41
|
+
});
|
|
42
|
+
return context.path(path).post({ ...operationOptionsToRequestParameters(options) });
|
|
43
|
+
}
|
|
44
|
+
export async function _purgeDeletedDeserialize(result) {
|
|
45
|
+
const expectedStatuses = ["202", "200", "204", "201"];
|
|
46
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
47
|
+
const error = createRestError(result);
|
|
48
|
+
error.details = errorResponseDeserializer(result.body);
|
|
49
|
+
throw error;
|
|
50
|
+
}
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
/** Permanently deletes the specified configuration store. */
|
|
54
|
+
export function purgeDeleted(context, location, configStoreName, options = { requestOptions: {} }) {
|
|
55
|
+
return getLongRunningPoller(context, _purgeDeletedDeserialize, ["202", "200", "204", "201"], {
|
|
56
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
57
|
+
abortSignal: options?.abortSignal,
|
|
58
|
+
getInitialResponse: () => _purgeDeletedSend(context, location, configStoreName, options),
|
|
59
|
+
resourceLocationConfig: "location",
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
export function _getDeletedSend(context, location, configStoreName, options = { requestOptions: {} }) {
|
|
63
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/locations/{location}/deletedConfigurationStores/{configStoreName}{?api%2Dversion}", {
|
|
64
|
+
subscriptionId: context.subscriptionId,
|
|
65
|
+
location: location,
|
|
66
|
+
configStoreName: configStoreName,
|
|
67
|
+
"api%2Dversion": context.apiVersion,
|
|
68
|
+
}, {
|
|
69
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
70
|
+
});
|
|
71
|
+
return context.path(path).get({
|
|
72
|
+
...operationOptionsToRequestParameters(options),
|
|
73
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
export async function _getDeletedDeserialize(result) {
|
|
77
|
+
const expectedStatuses = ["200"];
|
|
78
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
79
|
+
const error = createRestError(result);
|
|
80
|
+
error.details = errorResponseDeserializer(result.body);
|
|
81
|
+
throw error;
|
|
82
|
+
}
|
|
83
|
+
return deletedConfigurationStoreDeserializer(result.body);
|
|
84
|
+
}
|
|
85
|
+
/** Gets a deleted Azure app configuration store. */
|
|
86
|
+
export async function getDeleted(context, location, configStoreName, options = { requestOptions: {} }) {
|
|
87
|
+
const result = await _getDeletedSend(context, location, configStoreName, options);
|
|
88
|
+
return _getDeletedDeserialize(result);
|
|
89
|
+
}
|
|
90
|
+
export function _regenerateKeySend(context, resourceGroupName, configStoreName, regenerateKeyParameters, options = { requestOptions: {} }) {
|
|
91
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/regenerateKey{?api%2Dversion}", {
|
|
92
|
+
subscriptionId: context.subscriptionId,
|
|
93
|
+
resourceGroupName: resourceGroupName,
|
|
94
|
+
configStoreName: configStoreName,
|
|
95
|
+
"api%2Dversion": context.apiVersion,
|
|
96
|
+
}, {
|
|
97
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
98
|
+
});
|
|
99
|
+
return context.path(path).post({
|
|
100
|
+
...operationOptionsToRequestParameters(options),
|
|
101
|
+
contentType: "application/json",
|
|
102
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
103
|
+
body: regenerateKeyParametersSerializer(regenerateKeyParameters),
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
export async function _regenerateKeyDeserialize(result) {
|
|
107
|
+
const expectedStatuses = ["200"];
|
|
108
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
109
|
+
const error = createRestError(result);
|
|
110
|
+
error.details = errorResponseDeserializer(result.body);
|
|
111
|
+
throw error;
|
|
112
|
+
}
|
|
113
|
+
return apiKeyDeserializer(result.body);
|
|
114
|
+
}
|
|
115
|
+
/** Regenerates an access key for the specified configuration store. */
|
|
116
|
+
export async function regenerateKey(context, resourceGroupName, configStoreName, regenerateKeyParameters, options = { requestOptions: {} }) {
|
|
117
|
+
const result = await _regenerateKeySend(context, resourceGroupName, configStoreName, regenerateKeyParameters, options);
|
|
118
|
+
return _regenerateKeyDeserialize(result);
|
|
119
|
+
}
|
|
120
|
+
export function _listKeysSend(context, resourceGroupName, configStoreName, options = { requestOptions: {} }) {
|
|
121
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/listKeys{?api%2Dversion,%24skipToken}", {
|
|
122
|
+
subscriptionId: context.subscriptionId,
|
|
123
|
+
resourceGroupName: resourceGroupName,
|
|
124
|
+
configStoreName: configStoreName,
|
|
125
|
+
"api%2Dversion": context.apiVersion,
|
|
126
|
+
"%24skipToken": options?.skipToken,
|
|
127
|
+
}, {
|
|
128
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
129
|
+
});
|
|
130
|
+
return context.path(path).post({
|
|
131
|
+
...operationOptionsToRequestParameters(options),
|
|
132
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
export async function _listKeysDeserialize(result) {
|
|
136
|
+
const expectedStatuses = ["200"];
|
|
137
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
138
|
+
const error = createRestError(result);
|
|
139
|
+
error.details = errorResponseDeserializer(result.body);
|
|
140
|
+
throw error;
|
|
141
|
+
}
|
|
142
|
+
return _apiKeyListResultDeserializer(result.body);
|
|
143
|
+
}
|
|
144
|
+
/** Lists the access key for the specified configuration store. */
|
|
145
|
+
export function listKeys(context, resourceGroupName, configStoreName, options = { requestOptions: {} }) {
|
|
146
|
+
return buildPagedAsyncIterator(context, () => _listKeysSend(context, resourceGroupName, configStoreName, options), _listKeysDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
147
|
+
}
|
|
148
|
+
export function _listSend(context, options = { requestOptions: {} }) {
|
|
149
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/configurationStores{?api%2Dversion,%24skipToken}", {
|
|
150
|
+
subscriptionId: context.subscriptionId,
|
|
151
|
+
"api%2Dversion": context.apiVersion,
|
|
152
|
+
"%24skipToken": options?.skipToken,
|
|
153
|
+
}, {
|
|
154
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
155
|
+
});
|
|
156
|
+
return context.path(path).get({
|
|
157
|
+
...operationOptionsToRequestParameters(options),
|
|
158
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
export async function _listDeserialize(result) {
|
|
162
|
+
const expectedStatuses = ["200"];
|
|
163
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
164
|
+
const error = createRestError(result);
|
|
165
|
+
error.details = errorResponseDeserializer(result.body);
|
|
166
|
+
throw error;
|
|
167
|
+
}
|
|
168
|
+
return _configurationStoreListResultDeserializer(result.body);
|
|
169
|
+
}
|
|
170
|
+
/** Lists the configuration stores for a given subscription. */
|
|
171
|
+
export function list(context, options = { requestOptions: {} }) {
|
|
172
|
+
return buildPagedAsyncIterator(context, () => _listSend(context, options), _listDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
173
|
+
}
|
|
174
|
+
export function _listByResourceGroupSend(context, resourceGroupName, options = { requestOptions: {} }) {
|
|
175
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores{?api%2Dversion,%24skipToken}", {
|
|
176
|
+
subscriptionId: context.subscriptionId,
|
|
177
|
+
resourceGroupName: resourceGroupName,
|
|
178
|
+
"api%2Dversion": context.apiVersion,
|
|
179
|
+
"%24skipToken": options?.skipToken,
|
|
180
|
+
}, {
|
|
181
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
182
|
+
});
|
|
183
|
+
return context.path(path).get({
|
|
184
|
+
...operationOptionsToRequestParameters(options),
|
|
185
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
export async function _listByResourceGroupDeserialize(result) {
|
|
189
|
+
const expectedStatuses = ["200"];
|
|
190
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
191
|
+
const error = createRestError(result);
|
|
192
|
+
error.details = errorResponseDeserializer(result.body);
|
|
193
|
+
throw error;
|
|
194
|
+
}
|
|
195
|
+
return _configurationStoreListResultDeserializer(result.body);
|
|
196
|
+
}
|
|
197
|
+
/** Lists the configuration stores for a given resource group. */
|
|
198
|
+
export function listByResourceGroup(context, resourceGroupName, options = { requestOptions: {} }) {
|
|
199
|
+
return buildPagedAsyncIterator(context, () => _listByResourceGroupSend(context, resourceGroupName, options), _listByResourceGroupDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
200
|
+
}
|
|
201
|
+
export function _$deleteSend(context, resourceGroupName, configStoreName, options = { requestOptions: {} }) {
|
|
202
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}{?api%2Dversion}", {
|
|
203
|
+
subscriptionId: context.subscriptionId,
|
|
204
|
+
resourceGroupName: resourceGroupName,
|
|
205
|
+
configStoreName: configStoreName,
|
|
206
|
+
"api%2Dversion": context.apiVersion,
|
|
207
|
+
}, {
|
|
208
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
209
|
+
});
|
|
210
|
+
return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });
|
|
211
|
+
}
|
|
212
|
+
export async function _$deleteDeserialize(result) {
|
|
213
|
+
const expectedStatuses = ["200", "202", "204", "201"];
|
|
214
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
215
|
+
const error = createRestError(result);
|
|
216
|
+
error.details = errorResponseDeserializer(result.body);
|
|
217
|
+
throw error;
|
|
218
|
+
}
|
|
219
|
+
return;
|
|
220
|
+
}
|
|
221
|
+
/** Deletes a configuration store. */
|
|
222
|
+
/**
|
|
223
|
+
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
224
|
+
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
225
|
+
* to the operation to override the generated name.
|
|
226
|
+
*/
|
|
227
|
+
export function $delete(context, resourceGroupName, configStoreName, options = { requestOptions: {} }) {
|
|
228
|
+
return getLongRunningPoller(context, _$deleteDeserialize, ["200", "202", "204", "201"], {
|
|
229
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
230
|
+
abortSignal: options?.abortSignal,
|
|
231
|
+
getInitialResponse: () => _$deleteSend(context, resourceGroupName, configStoreName, options),
|
|
232
|
+
resourceLocationConfig: "location",
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
export function _updateSend(context, resourceGroupName, configStoreName, configStoreUpdateParameters, options = { requestOptions: {} }) {
|
|
236
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}{?api%2Dversion}", {
|
|
237
|
+
subscriptionId: context.subscriptionId,
|
|
238
|
+
resourceGroupName: resourceGroupName,
|
|
239
|
+
configStoreName: configStoreName,
|
|
240
|
+
"api%2Dversion": context.apiVersion,
|
|
241
|
+
}, {
|
|
242
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
243
|
+
});
|
|
244
|
+
return context.path(path).patch({
|
|
245
|
+
...operationOptionsToRequestParameters(options),
|
|
246
|
+
contentType: "application/json",
|
|
247
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
248
|
+
body: configurationStoreUpdateParametersSerializer(configStoreUpdateParameters),
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
export async function _updateDeserialize(result) {
|
|
252
|
+
const expectedStatuses = ["200", "201", "202"];
|
|
253
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
254
|
+
const error = createRestError(result);
|
|
255
|
+
error.details = errorResponseDeserializer(result.body);
|
|
256
|
+
throw error;
|
|
257
|
+
}
|
|
258
|
+
return configurationStoreDeserializer(result.body);
|
|
259
|
+
}
|
|
260
|
+
/** Updates a configuration store with the specified parameters. */
|
|
261
|
+
export function update(context, resourceGroupName, configStoreName, configStoreUpdateParameters, options = { requestOptions: {} }) {
|
|
262
|
+
return getLongRunningPoller(context, _updateDeserialize, ["200", "201", "202"], {
|
|
263
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
264
|
+
abortSignal: options?.abortSignal,
|
|
265
|
+
getInitialResponse: () => _updateSend(context, resourceGroupName, configStoreName, configStoreUpdateParameters, options),
|
|
266
|
+
resourceLocationConfig: "location",
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
export function _createSend(context, resourceGroupName, configStoreName, configStoreCreationParameters, options = { requestOptions: {} }) {
|
|
270
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}{?api%2Dversion}", {
|
|
271
|
+
subscriptionId: context.subscriptionId,
|
|
272
|
+
resourceGroupName: resourceGroupName,
|
|
273
|
+
configStoreName: configStoreName,
|
|
274
|
+
"api%2Dversion": context.apiVersion,
|
|
275
|
+
}, {
|
|
276
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
277
|
+
});
|
|
278
|
+
return context.path(path).put({
|
|
279
|
+
...operationOptionsToRequestParameters(options),
|
|
280
|
+
contentType: "application/json",
|
|
281
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
282
|
+
body: configurationStoreSerializer(configStoreCreationParameters),
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
export async function _createDeserialize(result) {
|
|
286
|
+
const expectedStatuses = ["200", "201", "202"];
|
|
287
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
288
|
+
const error = createRestError(result);
|
|
289
|
+
error.details = errorResponseDeserializer(result.body);
|
|
290
|
+
throw error;
|
|
291
|
+
}
|
|
292
|
+
return configurationStoreDeserializer(result.body);
|
|
293
|
+
}
|
|
294
|
+
/** Creates a configuration store with the specified parameters. */
|
|
295
|
+
export function create(context, resourceGroupName, configStoreName, configStoreCreationParameters, options = { requestOptions: {} }) {
|
|
296
|
+
return getLongRunningPoller(context, _createDeserialize, ["200", "201", "202"], {
|
|
297
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
298
|
+
abortSignal: options?.abortSignal,
|
|
299
|
+
getInitialResponse: () => _createSend(context, resourceGroupName, configStoreName, configStoreCreationParameters, options),
|
|
300
|
+
resourceLocationConfig: "location",
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
export function _getSend(context, resourceGroupName, configStoreName, options = { requestOptions: {} }) {
|
|
304
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}{?api%2Dversion}", {
|
|
305
|
+
subscriptionId: context.subscriptionId,
|
|
306
|
+
resourceGroupName: resourceGroupName,
|
|
307
|
+
configStoreName: configStoreName,
|
|
308
|
+
"api%2Dversion": context.apiVersion,
|
|
309
|
+
}, {
|
|
310
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
311
|
+
});
|
|
312
|
+
return context.path(path).get({
|
|
313
|
+
...operationOptionsToRequestParameters(options),
|
|
314
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
315
|
+
});
|
|
316
|
+
}
|
|
317
|
+
export async function _getDeserialize(result) {
|
|
318
|
+
const expectedStatuses = ["200"];
|
|
319
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
320
|
+
const error = createRestError(result);
|
|
321
|
+
error.details = errorResponseDeserializer(result.body);
|
|
322
|
+
throw error;
|
|
323
|
+
}
|
|
324
|
+
return configurationStoreDeserializer(result.body);
|
|
325
|
+
}
|
|
326
|
+
/** Gets the properties of the specified configuration store. */
|
|
327
|
+
export async function get(context, resourceGroupName, configStoreName, options = { requestOptions: {} }) {
|
|
328
|
+
const result = await _getSend(context, resourceGroupName, configStoreName, options);
|
|
329
|
+
return _getDeserialize(result);
|
|
330
|
+
}
|
|
331
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/configurationStores/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAalC,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,yBAAyB,EACzB,4CAA4C,EAC5C,yCAAyC,EACzC,6BAA6B,EAC7B,kBAAkB,EAClB,iCAAiC,EACjC,qCAAqC,EACrC,gDAAgD,GACjD,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAexE,OAAO,EAAE,eAAe,EAAE,mCA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AC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,8BAA8B,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACrD,CAAC;AAED,gEAAgE;AAChE,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,iBAAyB,EACzB,eAAuB,EACvB,UAAgD,EAAE,cAAc,EAAE,EAAE,EAAE;IAEtE,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,OAAO,CAAC,CAAC;IACpF,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AppConfigurationManagementContext as Client } from \"../index.js\";\nimport type {\n ConfigurationStore,\n ConfigurationStoreUpdateParameters,\n _ConfigurationStoreListResult,\n _ApiKeyListResult,\n ApiKey,\n RegenerateKeyParameters,\n DeletedConfigurationStore,\n _DeletedConfigurationStoreListResult,\n} from \"../../models/models.js\";\nimport {\n configurationStoreSerializer,\n configurationStoreDeserializer,\n errorResponseDeserializer,\n configurationStoreUpdateParametersSerializer,\n _configurationStoreListResultDeserializer,\n _apiKeyListResultDeserializer,\n apiKeyDeserializer,\n regenerateKeyParametersSerializer,\n deletedConfigurationStoreDeserializer,\n _deletedConfigurationStoreListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n ConfigurationStoresListDeletedOptionalParams,\n ConfigurationStoresPurgeDeletedOptionalParams,\n ConfigurationStoresGetDeletedOptionalParams,\n ConfigurationStoresRegenerateKeyOptionalParams,\n ConfigurationStoresListKeysOptionalParams,\n ConfigurationStoresListOptionalParams,\n ConfigurationStoresListByResourceGroupOptionalParams,\n ConfigurationStoresDeleteOptionalParams,\n ConfigurationStoresUpdateOptionalParams,\n ConfigurationStoresCreateOptionalParams,\n ConfigurationStoresGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _listDeletedSend(\n context: Client,\n options: ConfigurationStoresListDeletedOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/deletedConfigurationStores{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listDeletedDeserialize(\n result: PathUncheckedResponse,\n): Promise<_DeletedConfigurationStoreListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _deletedConfigurationStoreListResultDeserializer(result.body);\n}\n\n/** Gets information about the deleted configuration stores in a subscription. */\nexport function listDeleted(\n context: Client,\n options: ConfigurationStoresListDeletedOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<DeletedConfigurationStore> {\n return buildPagedAsyncIterator(\n context,\n () => _listDeletedSend(context, options),\n _listDeletedDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _purgeDeletedSend(\n context: Client,\n location: string,\n configStoreName: string,\n options: ConfigurationStoresPurgeDeletedOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/locations/{location}/deletedConfigurationStores/{configStoreName}/purge{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n configStoreName: configStoreName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _purgeDeletedDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"200\", \"204\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return;\n}\n\n/** Permanently deletes the specified configuration store. */\nexport function purgeDeleted(\n context: Client,\n location: string,\n configStoreName: string,\n options: ConfigurationStoresPurgeDeletedOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _purgeDeletedDeserialize, [\"202\", \"200\", \"204\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _purgeDeletedSend(context, location, configStoreName, options),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _getDeletedSend(\n context: Client,\n location: string,\n configStoreName: string,\n options: ConfigurationStoresGetDeletedOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/locations/{location}/deletedConfigurationStores/{configStoreName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n configStoreName: configStoreName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeletedDeserialize(\n result: PathUncheckedResponse,\n): Promise<DeletedConfigurationStore> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return deletedConfigurationStoreDeserializer(result.body);\n}\n\n/** Gets a deleted Azure app configuration store. */\nexport async function getDeleted(\n context: Client,\n location: string,\n configStoreName: string,\n options: ConfigurationStoresGetDeletedOptionalParams = { requestOptions: {} },\n): Promise<DeletedConfigurationStore> {\n const result = await _getDeletedSend(context, location, configStoreName, options);\n return _getDeletedDeserialize(result);\n}\n\nexport function _regenerateKeySend(\n context: Client,\n resourceGroupName: string,\n configStoreName: string,\n regenerateKeyParameters: RegenerateKeyParameters,\n options: ConfigurationStoresRegenerateKeyOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/regenerateKey{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n configStoreName: configStoreName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: regenerateKeyParametersSerializer(regenerateKeyParameters),\n });\n}\n\nexport async function _regenerateKeyDeserialize(result: PathUncheckedResponse): Promise<ApiKey> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return apiKeyDeserializer(result.body);\n}\n\n/** Regenerates an access key for the specified configuration store. */\nexport async function regenerateKey(\n context: Client,\n resourceGroupName: string,\n configStoreName: string,\n regenerateKeyParameters: RegenerateKeyParameters,\n options: ConfigurationStoresRegenerateKeyOptionalParams = { requestOptions: {} },\n): Promise<ApiKey> {\n const result = await _regenerateKeySend(\n context,\n resourceGroupName,\n configStoreName,\n regenerateKeyParameters,\n options,\n );\n return _regenerateKeyDeserialize(result);\n}\n\nexport function _listKeysSend(\n context: Client,\n resourceGroupName: string,\n configStoreName: string,\n options: ConfigurationStoresListKeysOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/listKeys{?api%2Dversion,%24skipToken}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n configStoreName: configStoreName,\n \"api%2Dversion\": context.apiVersion,\n \"%24skipToken\": options?.skipToken,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listKeysDeserialize(\n result: PathUncheckedResponse,\n): Promise<_ApiKeyListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _apiKeyListResultDeserializer(result.body);\n}\n\n/** Lists the access key for the specified configuration store. */\nexport function listKeys(\n context: Client,\n resourceGroupName: string,\n configStoreName: string,\n options: ConfigurationStoresListKeysOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<ApiKey> {\n return buildPagedAsyncIterator(\n context,\n () => _listKeysSend(context, resourceGroupName, configStoreName, options),\n _listKeysDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _listSend(\n context: Client,\n options: ConfigurationStoresListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/configurationStores{?api%2Dversion,%24skipToken}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion,\n \"%24skipToken\": options?.skipToken,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_ConfigurationStoreListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _configurationStoreListResultDeserializer(result.body);\n}\n\n/** Lists the configuration stores for a given subscription. */\nexport function list(\n context: Client,\n options: ConfigurationStoresListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<ConfigurationStore> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, options),\n _listDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _listByResourceGroupSend(\n context: Client,\n resourceGroupName: string,\n options: ConfigurationStoresListByResourceGroupOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores{?api%2Dversion,%24skipToken}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n \"api%2Dversion\": context.apiVersion,\n \"%24skipToken\": options?.skipToken,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_ConfigurationStoreListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _configurationStoreListResultDeserializer(result.body);\n}\n\n/** Lists the configuration stores for a given resource group. */\nexport function listByResourceGroup(\n context: Client,\n resourceGroupName: string,\n options: ConfigurationStoresListByResourceGroupOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<ConfigurationStore> {\n return buildPagedAsyncIterator(\n context,\n () => _listByResourceGroupSend(context, resourceGroupName, options),\n _listByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n configStoreName: string,\n options: ConfigurationStoresDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n configStoreName: configStoreName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"202\", \"204\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return;\n}\n\n/** Deletes a configuration store. */\n/**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n configStoreName: string,\n options: ConfigurationStoresDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"200\", \"202\", \"204\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _$deleteSend(context, resourceGroupName, configStoreName, options),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n configStoreName: string,\n configStoreUpdateParameters: ConfigurationStoreUpdateParameters,\n options: ConfigurationStoresUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n configStoreName: configStoreName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: configurationStoreUpdateParametersSerializer(configStoreUpdateParameters),\n });\n}\n\nexport async function _updateDeserialize(\n result: PathUncheckedResponse,\n): Promise<ConfigurationStore> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return configurationStoreDeserializer(result.body);\n}\n\n/** Updates a configuration store with the specified parameters. */\nexport function update(\n context: Client,\n resourceGroupName: string,\n configStoreName: string,\n configStoreUpdateParameters: ConfigurationStoreUpdateParameters,\n options: ConfigurationStoresUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<ConfigurationStore>, ConfigurationStore> {\n return getLongRunningPoller(context, _updateDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _updateSend(\n context,\n resourceGroupName,\n configStoreName,\n configStoreUpdateParameters,\n options,\n ),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<ConfigurationStore>, ConfigurationStore>;\n}\n\nexport function _createSend(\n context: Client,\n resourceGroupName: string,\n configStoreName: string,\n configStoreCreationParameters: ConfigurationStore,\n options: ConfigurationStoresCreateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n configStoreName: configStoreName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: configurationStoreSerializer(configStoreCreationParameters),\n });\n}\n\nexport async function _createDeserialize(\n result: PathUncheckedResponse,\n): Promise<ConfigurationStore> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return configurationStoreDeserializer(result.body);\n}\n\n/** Creates a configuration store with the specified parameters. */\nexport function create(\n context: Client,\n resourceGroupName: string,\n configStoreName: string,\n configStoreCreationParameters: ConfigurationStore,\n options: ConfigurationStoresCreateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<ConfigurationStore>, ConfigurationStore> {\n return getLongRunningPoller(context, _createDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createSend(\n context,\n resourceGroupName,\n configStoreName,\n configStoreCreationParameters,\n options,\n ),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<ConfigurationStore>, ConfigurationStore>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n configStoreName: string,\n options: ConfigurationStoresGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n configStoreName: configStoreName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<ConfigurationStore> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return configurationStoreDeserializer(result.body);\n}\n\n/** Gets the properties of the specified configuration store. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n configStoreName: string,\n options: ConfigurationStoresGetOptionalParams = { requestOptions: {} },\n): Promise<ConfigurationStore> {\n const result = await _getSend(context, resourceGroupName, configStoreName, options);\n return _getDeserialize(result);\n}\n"]}
|