@azure/arm-appconfiguration 6.0.0-beta.1 → 6.0.0-beta.2
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/dist/browser/api/appConfigurationManagementContext.d.ts +3 -3
- package/dist/browser/api/appConfigurationManagementContext.js +2 -15
- package/dist/browser/api/appConfigurationManagementContext.js.map +1 -1
- package/dist/browser/api/configurationStores/index.d.ts +1 -1
- package/dist/browser/api/configurationStores/index.js.map +1 -1
- package/dist/browser/api/configurationStores/operations.d.ts +0 -5
- package/dist/browser/api/configurationStores/operations.js +37 -22
- package/dist/browser/api/configurationStores/operations.js.map +1 -1
- package/dist/browser/api/index.d.ts +2 -1
- package/dist/browser/api/index.js +1 -1
- package/dist/browser/api/index.js.map +1 -1
- package/dist/browser/api/keyValues/index.d.ts +1 -1
- package/dist/browser/api/keyValues/index.js.map +1 -1
- package/dist/browser/api/keyValues/operations.d.ts +0 -5
- package/dist/browser/api/keyValues/operations.js +6 -10
- package/dist/browser/api/keyValues/operations.js.map +1 -1
- package/dist/browser/api/networkSecurityPerimeterConfigurations/index.d.ts +3 -0
- package/dist/browser/api/networkSecurityPerimeterConfigurations/index.js +4 -0
- package/dist/browser/api/networkSecurityPerimeterConfigurations/index.js.map +1 -0
- package/dist/browser/api/networkSecurityPerimeterConfigurations/operations.d.ts +19 -0
- package/dist/browser/api/networkSecurityPerimeterConfigurations/operations.js +106 -0
- package/dist/browser/api/networkSecurityPerimeterConfigurations/operations.js.map +1 -0
- package/dist/browser/api/networkSecurityPerimeterConfigurations/options.d.ts +13 -0
- package/dist/browser/api/networkSecurityPerimeterConfigurations/options.js +4 -0
- package/dist/browser/api/networkSecurityPerimeterConfigurations/options.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +1 -1
- package/dist/browser/api/operations/index.js.map +1 -1
- package/dist/browser/api/operations/operations.js +8 -4
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/privateEndpointConnections/index.d.ts +1 -1
- package/dist/browser/api/privateEndpointConnections/index.js.map +1 -1
- package/dist/browser/api/privateEndpointConnections/operations.d.ts +0 -5
- package/dist/browser/api/privateEndpointConnections/operations.js +13 -12
- package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/browser/api/privateLinkResources/index.d.ts +1 -1
- package/dist/browser/api/privateLinkResources/index.js.map +1 -1
- package/dist/browser/api/privateLinkResources/operations.js +7 -3
- package/dist/browser/api/privateLinkResources/operations.js.map +1 -1
- package/dist/browser/api/replicas/index.d.ts +1 -1
- package/dist/browser/api/replicas/index.js.map +1 -1
- package/dist/browser/api/replicas/operations.d.ts +0 -5
- package/dist/browser/api/replicas/operations.js +13 -12
- package/dist/browser/api/replicas/operations.js.map +1 -1
- package/dist/browser/api/snapshots/index.d.ts +1 -1
- package/dist/browser/api/snapshots/index.js.map +1 -1
- package/dist/browser/api/snapshots/operations.js +3 -2
- package/dist/browser/api/snapshots/operations.js.map +1 -1
- package/dist/browser/appConfigurationManagementClient.d.ts +4 -1
- package/dist/browser/appConfigurationManagementClient.js +5 -0
- package/dist/browser/appConfigurationManagementClient.js.map +1 -1
- package/dist/browser/classic/configurationStores/index.d.ts +0 -5
- package/dist/browser/classic/configurationStores/index.js.map +1 -1
- package/dist/browser/classic/index.d.ts +8 -7
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/keyValues/index.d.ts +0 -5
- package/dist/browser/classic/keyValues/index.js.map +1 -1
- package/dist/browser/classic/networkSecurityPerimeterConfigurations/index.d.ts +21 -0
- package/dist/browser/classic/networkSecurityPerimeterConfigurations/index.js +25 -0
- package/dist/browser/classic/networkSecurityPerimeterConfigurations/index.js.map +1 -0
- package/dist/browser/classic/privateEndpointConnections/index.d.ts +0 -5
- package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -1
- package/dist/browser/classic/replicas/index.d.ts +0 -5
- package/dist/browser/classic/replicas/index.js.map +1 -1
- package/dist/browser/index.d.ts +21 -16
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +2 -1
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +236 -15
- package/dist/browser/models/models.js +237 -29
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +12 -4
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.d.ts +1 -0
- package/dist/browser/static-helpers/pagingHelpers.js +27 -5
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +4 -0
- package/dist/browser/static-helpers/pollingHelpers.js +18 -2
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/urlTemplate.js +5 -5
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/api/appConfigurationManagementContext.d.ts +3 -3
- package/dist/commonjs/api/appConfigurationManagementContext.js +43 -38
- package/dist/commonjs/api/appConfigurationManagementContext.js.map +7 -1
- package/dist/commonjs/api/configurationStores/index.d.ts +1 -1
- package/dist/commonjs/api/configurationStores/index.js +48 -18
- package/dist/commonjs/api/configurationStores/index.js.map +7 -1
- package/dist/commonjs/api/configurationStores/operations.d.ts +0 -5
- package/dist/commonjs/api/configurationStores/operations.js +445 -302
- package/dist/commonjs/api/configurationStores/operations.js.map +7 -1
- package/dist/commonjs/api/configurationStores/options.js +16 -5
- package/dist/commonjs/api/configurationStores/options.js.map +7 -1
- package/dist/commonjs/api/index.d.ts +2 -1
- package/dist/commonjs/api/index.js +28 -8
- package/dist/commonjs/api/index.js.map +7 -1
- package/dist/commonjs/api/keyValues/index.d.ts +1 -1
- package/dist/commonjs/api/keyValues/index.js +32 -10
- package/dist/commonjs/api/keyValues/index.js.map +7 -1
- package/dist/commonjs/api/keyValues/operations.d.ts +0 -5
- package/dist/commonjs/api/keyValues/operations.js +136 -95
- package/dist/commonjs/api/keyValues/operations.js.map +7 -1
- package/dist/commonjs/api/keyValues/options.js +16 -5
- package/dist/commonjs/api/keyValues/options.js.map +7 -1
- package/dist/commonjs/api/networkSecurityPerimeterConfigurations/index.d.ts +3 -0
- package/dist/commonjs/api/networkSecurityPerimeterConfigurations/index.js +32 -0
- package/dist/commonjs/api/networkSecurityPerimeterConfigurations/index.js.map +7 -0
- package/dist/commonjs/api/networkSecurityPerimeterConfigurations/operations.d.ts +19 -0
- package/dist/commonjs/api/networkSecurityPerimeterConfigurations/operations.js +173 -0
- package/dist/commonjs/api/networkSecurityPerimeterConfigurations/operations.js.map +7 -0
- package/dist/commonjs/api/networkSecurityPerimeterConfigurations/options.d.ts +13 -0
- package/dist/commonjs/api/networkSecurityPerimeterConfigurations/options.js +16 -0
- package/dist/commonjs/api/networkSecurityPerimeterConfigurations/options.js.map +7 -0
- package/dist/commonjs/api/operations/index.d.ts +1 -1
- package/dist/commonjs/api/operations/index.js +32 -10
- package/dist/commonjs/api/operations/index.js.map +7 -1
- package/dist/commonjs/api/operations/operations.js +139 -82
- package/dist/commonjs/api/operations/operations.js.map +7 -1
- package/dist/commonjs/api/operations/options.js +16 -5
- package/dist/commonjs/api/operations/options.js.map +7 -1
- package/dist/commonjs/api/privateEndpointConnections/index.d.ts +1 -1
- package/dist/commonjs/api/privateEndpointConnections/index.js +34 -11
- package/dist/commonjs/api/privateEndpointConnections/index.js.map +7 -1
- package/dist/commonjs/api/privateEndpointConnections/operations.d.ts +0 -5
- package/dist/commonjs/api/privateEndpointConnections/operations.js +196 -126
- package/dist/commonjs/api/privateEndpointConnections/operations.js.map +7 -1
- package/dist/commonjs/api/privateEndpointConnections/options.js +16 -5
- package/dist/commonjs/api/privateEndpointConnections/options.js.map +7 -1
- package/dist/commonjs/api/privateLinkResources/index.d.ts +1 -1
- package/dist/commonjs/api/privateLinkResources/index.js +30 -9
- package/dist/commonjs/api/privateLinkResources/index.js.map +7 -1
- package/dist/commonjs/api/privateLinkResources/operations.js +101 -59
- package/dist/commonjs/api/privateLinkResources/operations.js.map +7 -1
- package/dist/commonjs/api/privateLinkResources/options.js +16 -5
- package/dist/commonjs/api/privateLinkResources/options.js.map +7 -1
- package/dist/commonjs/api/replicas/index.d.ts +1 -1
- package/dist/commonjs/api/replicas/index.js +34 -11
- package/dist/commonjs/api/replicas/index.js.map +7 -1
- package/dist/commonjs/api/replicas/operations.d.ts +0 -5
- package/dist/commonjs/api/replicas/operations.js +183 -125
- package/dist/commonjs/api/replicas/operations.js.map +7 -1
- package/dist/commonjs/api/replicas/options.js +16 -5
- package/dist/commonjs/api/replicas/options.js.map +7 -1
- package/dist/commonjs/api/snapshots/index.d.ts +1 -1
- package/dist/commonjs/api/snapshots/index.js +30 -9
- package/dist/commonjs/api/snapshots/index.js.map +7 -1
- package/dist/commonjs/api/snapshots/operations.js +100 -67
- package/dist/commonjs/api/snapshots/operations.js.map +7 -1
- package/dist/commonjs/api/snapshots/options.js +16 -5
- package/dist/commonjs/api/snapshots/options.js.map +7 -1
- package/dist/commonjs/appConfigurationManagementClient.d.ts +4 -1
- package/dist/commonjs/appConfigurationManagementClient.js +79 -58
- package/dist/commonjs/appConfigurationManagementClient.js.map +7 -1
- package/dist/commonjs/classic/configurationStores/index.d.ts +0 -5
- package/dist/commonjs/classic/configurationStores/index.js +101 -56
- package/dist/commonjs/classic/configurationStores/index.js.map +7 -1
- package/dist/commonjs/classic/index.d.ts +8 -7
- package/dist/commonjs/classic/index.js +16 -5
- package/dist/commonjs/classic/index.js.map +7 -1
- package/dist/commonjs/classic/keyValues/index.d.ts +0 -5
- package/dist/commonjs/classic/keyValues/index.js +52 -24
- package/dist/commonjs/classic/keyValues/index.js.map +7 -1
- package/dist/commonjs/classic/networkSecurityPerimeterConfigurations/index.d.ts +21 -0
- package/dist/commonjs/classic/networkSecurityPerimeterConfigurations/index.js +73 -0
- package/dist/commonjs/classic/networkSecurityPerimeterConfigurations/index.js.map +7 -0
- package/dist/commonjs/classic/operations/index.js +36 -15
- package/dist/commonjs/classic/operations/index.js.map +7 -1
- package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +0 -5
- package/dist/commonjs/classic/privateEndpointConnections/index.js +87 -33
- package/dist/commonjs/classic/privateEndpointConnections/index.js.map +7 -1
- package/dist/commonjs/classic/privateLinkResources/index.js +35 -14
- package/dist/commonjs/classic/privateLinkResources/index.js.map +7 -1
- package/dist/commonjs/classic/replicas/index.d.ts +0 -5
- package/dist/commonjs/classic/replicas/index.js +75 -33
- package/dist/commonjs/classic/replicas/index.js.map +7 -1
- package/dist/commonjs/classic/snapshots/index.js +51 -23
- package/dist/commonjs/classic/snapshots/index.js.map +7 -1
- package/dist/commonjs/index.d.ts +21 -16
- package/dist/commonjs/index.js +71 -26
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/logger.js +29 -8
- package/dist/commonjs/logger.js.map +7 -1
- package/dist/commonjs/models/index.d.ts +2 -1
- package/dist/commonjs/models/index.js +62 -20
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/models.d.ts +236 -15
- package/dist/commonjs/models/models.js +1157 -1029
- package/dist/commonjs/models/models.js.map +7 -1
- package/dist/commonjs/restorePollerHelpers.js +120 -102
- package/dist/commonjs/restorePollerHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +50 -40
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +125 -106
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +4 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +95 -76
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +32 -17
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -1
- package/dist/commonjs/static-helpers/simplePollerHelpers.js +65 -45
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/urlTemplate.js +166 -172
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/appConfigurationManagementContext.d.ts +3 -3
- package/dist/esm/api/appConfigurationManagementContext.js +2 -15
- package/dist/esm/api/appConfigurationManagementContext.js.map +1 -1
- package/dist/esm/api/configurationStores/index.d.ts +1 -1
- package/dist/esm/api/configurationStores/index.js.map +1 -1
- package/dist/esm/api/configurationStores/operations.d.ts +0 -5
- package/dist/esm/api/configurationStores/operations.js +37 -22
- package/dist/esm/api/configurationStores/operations.js.map +1 -1
- package/dist/esm/api/index.d.ts +2 -1
- package/dist/esm/api/index.js +1 -1
- package/dist/esm/api/index.js.map +1 -1
- package/dist/esm/api/keyValues/index.d.ts +1 -1
- package/dist/esm/api/keyValues/index.js.map +1 -1
- package/dist/esm/api/keyValues/operations.d.ts +0 -5
- package/dist/esm/api/keyValues/operations.js +6 -10
- package/dist/esm/api/keyValues/operations.js.map +1 -1
- package/dist/esm/api/networkSecurityPerimeterConfigurations/index.d.ts +3 -0
- package/dist/esm/api/networkSecurityPerimeterConfigurations/index.js +4 -0
- package/dist/esm/api/networkSecurityPerimeterConfigurations/index.js.map +1 -0
- package/dist/esm/api/networkSecurityPerimeterConfigurations/operations.d.ts +19 -0
- package/dist/esm/api/networkSecurityPerimeterConfigurations/operations.js +106 -0
- package/dist/esm/api/networkSecurityPerimeterConfigurations/operations.js.map +1 -0
- package/dist/esm/api/networkSecurityPerimeterConfigurations/options.d.ts +13 -0
- package/dist/esm/api/networkSecurityPerimeterConfigurations/options.js +4 -0
- package/dist/esm/api/networkSecurityPerimeterConfigurations/options.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +1 -1
- package/dist/esm/api/operations/index.js.map +1 -1
- package/dist/esm/api/operations/operations.js +8 -4
- package/dist/esm/api/operations/operations.js.map +1 -1
- package/dist/esm/api/privateEndpointConnections/index.d.ts +1 -1
- package/dist/esm/api/privateEndpointConnections/index.js.map +1 -1
- package/dist/esm/api/privateEndpointConnections/operations.d.ts +0 -5
- package/dist/esm/api/privateEndpointConnections/operations.js +13 -12
- package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/esm/api/privateLinkResources/index.d.ts +1 -1
- package/dist/esm/api/privateLinkResources/index.js.map +1 -1
- package/dist/esm/api/privateLinkResources/operations.js +7 -3
- package/dist/esm/api/privateLinkResources/operations.js.map +1 -1
- package/dist/esm/api/replicas/index.d.ts +1 -1
- package/dist/esm/api/replicas/index.js.map +1 -1
- package/dist/esm/api/replicas/operations.d.ts +0 -5
- package/dist/esm/api/replicas/operations.js +13 -12
- package/dist/esm/api/replicas/operations.js.map +1 -1
- package/dist/esm/api/snapshots/index.d.ts +1 -1
- package/dist/esm/api/snapshots/index.js.map +1 -1
- package/dist/esm/api/snapshots/operations.js +3 -2
- package/dist/esm/api/snapshots/operations.js.map +1 -1
- package/dist/esm/appConfigurationManagementClient.d.ts +4 -1
- package/dist/esm/appConfigurationManagementClient.js +5 -0
- package/dist/esm/appConfigurationManagementClient.js.map +1 -1
- package/dist/esm/classic/configurationStores/index.d.ts +0 -5
- package/dist/esm/classic/configurationStores/index.js.map +1 -1
- package/dist/esm/classic/index.d.ts +8 -7
- package/dist/esm/classic/index.js.map +1 -1
- package/dist/esm/classic/keyValues/index.d.ts +0 -5
- package/dist/esm/classic/keyValues/index.js.map +1 -1
- package/dist/esm/classic/networkSecurityPerimeterConfigurations/index.d.ts +21 -0
- package/dist/esm/classic/networkSecurityPerimeterConfigurations/index.js +25 -0
- package/dist/esm/classic/networkSecurityPerimeterConfigurations/index.js.map +1 -0
- package/dist/esm/classic/privateEndpointConnections/index.d.ts +0 -5
- package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -1
- package/dist/esm/classic/replicas/index.d.ts +0 -5
- package/dist/esm/classic/replicas/index.js.map +1 -1
- package/dist/esm/index.d.ts +21 -16
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +236 -15
- package/dist/esm/models/models.js +237 -29
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.js +12 -4
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pagingHelpers.d.ts +1 -0
- package/dist/esm/static-helpers/pagingHelpers.js +27 -5
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts +4 -0
- package/dist/esm/static-helpers/pollingHelpers.js +18 -2
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/urlTemplate.js +5 -5
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
- package/dist/react-native/api/appConfigurationManagementContext.d.ts +3 -3
- package/dist/react-native/api/appConfigurationManagementContext.js +2 -15
- package/dist/react-native/api/appConfigurationManagementContext.js.map +1 -1
- package/dist/react-native/api/configurationStores/index.d.ts +1 -1
- package/dist/react-native/api/configurationStores/index.js.map +1 -1
- package/dist/react-native/api/configurationStores/operations.d.ts +0 -5
- package/dist/react-native/api/configurationStores/operations.js +37 -22
- package/dist/react-native/api/configurationStores/operations.js.map +1 -1
- package/dist/react-native/api/index.d.ts +2 -1
- package/dist/react-native/api/index.js +1 -1
- package/dist/react-native/api/index.js.map +1 -1
- package/dist/react-native/api/keyValues/index.d.ts +1 -1
- package/dist/react-native/api/keyValues/index.js.map +1 -1
- package/dist/react-native/api/keyValues/operations.d.ts +0 -5
- package/dist/react-native/api/keyValues/operations.js +6 -10
- package/dist/react-native/api/keyValues/operations.js.map +1 -1
- package/dist/react-native/api/networkSecurityPerimeterConfigurations/index.d.ts +3 -0
- package/dist/react-native/api/networkSecurityPerimeterConfigurations/index.js +4 -0
- package/dist/react-native/api/networkSecurityPerimeterConfigurations/index.js.map +1 -0
- package/dist/react-native/api/networkSecurityPerimeterConfigurations/operations.d.ts +19 -0
- package/dist/react-native/api/networkSecurityPerimeterConfigurations/operations.js +106 -0
- package/dist/react-native/api/networkSecurityPerimeterConfigurations/operations.js.map +1 -0
- package/dist/react-native/api/networkSecurityPerimeterConfigurations/options.d.ts +13 -0
- package/dist/react-native/api/networkSecurityPerimeterConfigurations/options.js +4 -0
- package/dist/react-native/api/networkSecurityPerimeterConfigurations/options.js.map +1 -0
- package/dist/react-native/api/operations/index.d.ts +1 -1
- package/dist/react-native/api/operations/index.js.map +1 -1
- package/dist/react-native/api/operations/operations.js +8 -4
- package/dist/react-native/api/operations/operations.js.map +1 -1
- package/dist/react-native/api/privateEndpointConnections/index.d.ts +1 -1
- package/dist/react-native/api/privateEndpointConnections/index.js.map +1 -1
- package/dist/react-native/api/privateEndpointConnections/operations.d.ts +0 -5
- package/dist/react-native/api/privateEndpointConnections/operations.js +13 -12
- package/dist/react-native/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/react-native/api/privateLinkResources/index.d.ts +1 -1
- package/dist/react-native/api/privateLinkResources/index.js.map +1 -1
- package/dist/react-native/api/privateLinkResources/operations.js +7 -3
- package/dist/react-native/api/privateLinkResources/operations.js.map +1 -1
- package/dist/react-native/api/replicas/index.d.ts +1 -1
- package/dist/react-native/api/replicas/index.js.map +1 -1
- package/dist/react-native/api/replicas/operations.d.ts +0 -5
- package/dist/react-native/api/replicas/operations.js +13 -12
- package/dist/react-native/api/replicas/operations.js.map +1 -1
- package/dist/react-native/api/snapshots/index.d.ts +1 -1
- package/dist/react-native/api/snapshots/index.js.map +1 -1
- package/dist/react-native/api/snapshots/operations.js +3 -2
- package/dist/react-native/api/snapshots/operations.js.map +1 -1
- package/dist/react-native/appConfigurationManagementClient.d.ts +4 -1
- package/dist/react-native/appConfigurationManagementClient.js +5 -0
- package/dist/react-native/appConfigurationManagementClient.js.map +1 -1
- package/dist/react-native/classic/configurationStores/index.d.ts +0 -5
- package/dist/react-native/classic/configurationStores/index.js.map +1 -1
- package/dist/react-native/classic/index.d.ts +8 -7
- package/dist/react-native/classic/index.js.map +1 -1
- package/dist/react-native/classic/keyValues/index.d.ts +0 -5
- package/dist/react-native/classic/keyValues/index.js.map +1 -1
- package/dist/react-native/classic/networkSecurityPerimeterConfigurations/index.d.ts +21 -0
- package/dist/react-native/classic/networkSecurityPerimeterConfigurations/index.js +25 -0
- package/dist/react-native/classic/networkSecurityPerimeterConfigurations/index.js.map +1 -0
- package/dist/react-native/classic/privateEndpointConnections/index.d.ts +0 -5
- package/dist/react-native/classic/privateEndpointConnections/index.js.map +1 -1
- package/dist/react-native/classic/replicas/index.d.ts +0 -5
- package/dist/react-native/classic/replicas/index.js.map +1 -1
- package/dist/react-native/index.d.ts +21 -16
- package/dist/react-native/index.js +1 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +2 -1
- package/dist/react-native/models/index.js +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +236 -15
- package/dist/react-native/models/models.js +237 -29
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/restorePollerHelpers.js +12 -4
- package/dist/react-native/restorePollerHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +27 -5
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +4 -0
- package/dist/react-native/static-helpers/pollingHelpers.js +18 -2
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/urlTemplate.js +5 -5
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
- package/package.json +33 -37
|
@@ -7,7 +7,7 @@ import { getClient } from "@azure-rest/core-client";
|
|
|
7
7
|
export function createAppConfigurationManagement(credential, subscriptionId, options = {}) {
|
|
8
8
|
const endpointUrl = options.endpoint ?? getArmEndpoint(options.cloudSetting) ?? "https://management.azure.com";
|
|
9
9
|
const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
|
|
10
|
-
const userAgentInfo = `azsdk-js-arm-appconfiguration/
|
|
10
|
+
const userAgentInfo = `azsdk-js-arm-appconfiguration/6.0.0-beta.2`;
|
|
11
11
|
const userAgentPrefix = prefixFromOptions
|
|
12
12
|
? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`
|
|
13
13
|
: `azsdk-js-api ${userAgentInfo}`;
|
|
@@ -18,20 +18,7 @@ export function createAppConfigurationManagement(credential, subscriptionId, opt
|
|
|
18
18
|
credentials: { scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`] },
|
|
19
19
|
};
|
|
20
20
|
const clientContext = getClient(endpointUrl, credential, updatedOptions);
|
|
21
|
-
|
|
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
|
-
});
|
|
21
|
+
const apiVersion = options.apiVersion;
|
|
35
22
|
return { ...clientContext, apiVersion, subscriptionId };
|
|
36
23
|
}
|
|
37
24
|
//# sourceMappingURL=appConfigurationManagementContext.js.map
|
|
@@ -1 +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,cAAsB,EACtB,UAA0D,EAAE;IAE5D,MAAM,WAAW,GACf,OAAO,CAAC,QAAQ,IAAI,cAAc,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,8BAA8B,CAAC;IAC7F,MAAM,iBAAiB,GAAG,OAAO,EAAE,gBAAgB,EAAE,eAAe,CAAC;IACrE,MAAM,aAAa,GAAG,4CAA4C,CAAC;IACnE,MAAM,eAAe,GAAG,iBAAiB;QACvC,CAAC,CAAC,GAAG,iBAAiB,iBAAiB,aAAa,EAAE;QACtD,CAAC,CAAC,gBAAgB,aAAa,EAAE,CAAC;IACpC,MAAM,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,GAAG;QAC3C,GAAG,OAAO;QACV,gBAAgB,EAAE,EAAE,eAAe,EAAE;QACrC,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,cAAc,EAAE,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE;QACzE,WAAW,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC,GAAG,WAAW,WAAW,CAAC,EAAE;KACpF,CAAC;IACF,MAAM,aAAa,GAAG,SAAS,CAAC,WAAW,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;IACzE,
|
|
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,cAAsB,EACtB,UAA0D,EAAE;IAE5D,MAAM,WAAW,GACf,OAAO,CAAC,QAAQ,IAAI,cAAc,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,8BAA8B,CAAC;IAC7F,MAAM,iBAAiB,GAAG,OAAO,EAAE,gBAAgB,EAAE,eAAe,CAAC;IACrE,MAAM,aAAa,GAAG,4CAA4C,CAAC;IACnE,MAAM,eAAe,GAAG,iBAAiB;QACvC,CAAC,CAAC,GAAG,iBAAiB,iBAAiB,aAAa,EAAE;QACtD,CAAC,CAAC,gBAAgB,aAAa,EAAE,CAAC;IACpC,MAAM,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,GAAG;QAC3C,GAAG,OAAO;QACV,gBAAgB,EAAE,EAAE,eAAe,EAAE;QACrC,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,cAAc,EAAE,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE;QACzE,WAAW,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC,GAAG,WAAW,WAAW,CAAC,EAAE;KACpF,CAAC;IACF,MAAM,aAAa,GAAG,SAAS,CAAC,WAAW,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;IACzE,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;IACtC,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 ID of the target subscription. The value must be an UUID. */\n subscriptionId: string;\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: 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/6.0.0-beta.2`;\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 const apiVersion = options.apiVersion;\n return { ...clientContext, apiVersion, subscriptionId } as AppConfigurationManagementContext;\n}\n"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
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";
|
|
2
|
+
export type { ConfigurationStoresListDeletedOptionalParams, ConfigurationStoresPurgeDeletedOptionalParams, ConfigurationStoresGetDeletedOptionalParams, ConfigurationStoresRegenerateKeyOptionalParams, ConfigurationStoresListKeysOptionalParams, ConfigurationStoresListOptionalParams, ConfigurationStoresListByResourceGroupOptionalParams, ConfigurationStoresDeleteOptionalParams, ConfigurationStoresUpdateOptionalParams, ConfigurationStoresCreateOptionalParams, ConfigurationStoresGetOptionalParams, } from "./options.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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"]}
|
|
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 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\";\n"]}
|
|
@@ -35,11 +35,6 @@ export declare function listByResourceGroup(context: Client, resourceGroupName:
|
|
|
35
35
|
export declare function _$deleteSend(context: Client, resourceGroupName: string, configStoreName: string, options?: ConfigurationStoresDeleteOptionalParams): StreamableMethod;
|
|
36
36
|
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
37
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
38
|
export declare function $delete(context: Client, resourceGroupName: string, configStoreName: string, options?: ConfigurationStoresDeleteOptionalParams): PollerLike<OperationState<void>, void>;
|
|
44
39
|
export declare function _updateSend(context: Client, resourceGroupName: string, configStoreName: string, configStoreUpdateParameters: ConfigurationStoreUpdateParameters, options?: ConfigurationStoresUpdateOptionalParams): StreamableMethod;
|
|
45
40
|
export declare function _updateDeserialize(result: PathUncheckedResponse): Promise<ConfigurationStore>;
|
|
@@ -8,7 +8,7 @@ import { createRestError, operationOptionsToRequestParameters } from "@azure-res
|
|
|
8
8
|
export function _listDeletedSend(context, options = { requestOptions: {} }) {
|
|
9
9
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/deletedConfigurationStores{?api%2Dversion}", {
|
|
10
10
|
subscriptionId: context.subscriptionId,
|
|
11
|
-
"api%2Dversion": context.apiVersion,
|
|
11
|
+
"api%2Dversion": context.apiVersion ?? "2025-08-01-preview",
|
|
12
12
|
}, {
|
|
13
13
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
14
14
|
});
|
|
@@ -28,14 +28,18 @@ export async function _listDeletedDeserialize(result) {
|
|
|
28
28
|
}
|
|
29
29
|
/** Gets information about the deleted configuration stores in a subscription. */
|
|
30
30
|
export function listDeleted(context, options = { requestOptions: {} }) {
|
|
31
|
-
return buildPagedAsyncIterator(context, () => _listDeletedSend(context, options), _listDeletedDeserialize, ["200"], {
|
|
31
|
+
return buildPagedAsyncIterator(context, () => _listDeletedSend(context, options), _listDeletedDeserialize, ["200"], {
|
|
32
|
+
itemName: "value",
|
|
33
|
+
nextLinkName: "nextLink",
|
|
34
|
+
apiVersion: context.apiVersion ?? "2025-08-01-preview",
|
|
35
|
+
});
|
|
32
36
|
}
|
|
33
37
|
export function _purgeDeletedSend(context, location, configStoreName, options = { requestOptions: {} }) {
|
|
34
38
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/locations/{location}/deletedConfigurationStores/{configStoreName}/purge{?api%2Dversion}", {
|
|
35
39
|
subscriptionId: context.subscriptionId,
|
|
36
40
|
location: location,
|
|
37
41
|
configStoreName: configStoreName,
|
|
38
|
-
"api%2Dversion": context.apiVersion,
|
|
42
|
+
"api%2Dversion": context.apiVersion ?? "2025-08-01-preview",
|
|
39
43
|
}, {
|
|
40
44
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
41
45
|
});
|
|
@@ -57,6 +61,7 @@ export function purgeDeleted(context, location, configStoreName, options = { req
|
|
|
57
61
|
abortSignal: options?.abortSignal,
|
|
58
62
|
getInitialResponse: () => _purgeDeletedSend(context, location, configStoreName, options),
|
|
59
63
|
resourceLocationConfig: "location",
|
|
64
|
+
apiVersion: context.apiVersion ?? "2025-08-01-preview",
|
|
60
65
|
});
|
|
61
66
|
}
|
|
62
67
|
export function _getDeletedSend(context, location, configStoreName, options = { requestOptions: {} }) {
|
|
@@ -64,7 +69,7 @@ export function _getDeletedSend(context, location, configStoreName, options = {
|
|
|
64
69
|
subscriptionId: context.subscriptionId,
|
|
65
70
|
location: location,
|
|
66
71
|
configStoreName: configStoreName,
|
|
67
|
-
"api%2Dversion": context.apiVersion,
|
|
72
|
+
"api%2Dversion": context.apiVersion ?? "2025-08-01-preview",
|
|
68
73
|
}, {
|
|
69
74
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
70
75
|
});
|
|
@@ -92,7 +97,7 @@ export function _regenerateKeySend(context, resourceGroupName, configStoreName,
|
|
|
92
97
|
subscriptionId: context.subscriptionId,
|
|
93
98
|
resourceGroupName: resourceGroupName,
|
|
94
99
|
configStoreName: configStoreName,
|
|
95
|
-
"api%2Dversion": context.apiVersion,
|
|
100
|
+
"api%2Dversion": context.apiVersion ?? "2025-08-01-preview",
|
|
96
101
|
}, {
|
|
97
102
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
98
103
|
});
|
|
@@ -122,7 +127,7 @@ export function _listKeysSend(context, resourceGroupName, configStoreName, optio
|
|
|
122
127
|
subscriptionId: context.subscriptionId,
|
|
123
128
|
resourceGroupName: resourceGroupName,
|
|
124
129
|
configStoreName: configStoreName,
|
|
125
|
-
"api%2Dversion": context.apiVersion,
|
|
130
|
+
"api%2Dversion": context.apiVersion ?? "2025-08-01-preview",
|
|
126
131
|
"%24skipToken": options?.skipToken,
|
|
127
132
|
}, {
|
|
128
133
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
@@ -143,12 +148,16 @@ export async function _listKeysDeserialize(result) {
|
|
|
143
148
|
}
|
|
144
149
|
/** Lists the access key for the specified configuration store. */
|
|
145
150
|
export function listKeys(context, resourceGroupName, configStoreName, options = { requestOptions: {} }) {
|
|
146
|
-
return buildPagedAsyncIterator(context, () => _listKeysSend(context, resourceGroupName, configStoreName, options), _listKeysDeserialize, ["200"], {
|
|
151
|
+
return buildPagedAsyncIterator(context, () => _listKeysSend(context, resourceGroupName, configStoreName, options), _listKeysDeserialize, ["200"], {
|
|
152
|
+
itemName: "value",
|
|
153
|
+
nextLinkName: "nextLink",
|
|
154
|
+
apiVersion: context.apiVersion ?? "2025-08-01-preview",
|
|
155
|
+
});
|
|
147
156
|
}
|
|
148
157
|
export function _listSend(context, options = { requestOptions: {} }) {
|
|
149
158
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/configurationStores{?api%2Dversion,%24skipToken}", {
|
|
150
159
|
subscriptionId: context.subscriptionId,
|
|
151
|
-
"api%2Dversion": context.apiVersion,
|
|
160
|
+
"api%2Dversion": context.apiVersion ?? "2025-08-01-preview",
|
|
152
161
|
"%24skipToken": options?.skipToken,
|
|
153
162
|
}, {
|
|
154
163
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
@@ -169,13 +178,17 @@ export async function _listDeserialize(result) {
|
|
|
169
178
|
}
|
|
170
179
|
/** Lists the configuration stores for a given subscription. */
|
|
171
180
|
export function list(context, options = { requestOptions: {} }) {
|
|
172
|
-
return buildPagedAsyncIterator(context, () => _listSend(context, options), _listDeserialize, ["200"], {
|
|
181
|
+
return buildPagedAsyncIterator(context, () => _listSend(context, options), _listDeserialize, ["200"], {
|
|
182
|
+
itemName: "value",
|
|
183
|
+
nextLinkName: "nextLink",
|
|
184
|
+
apiVersion: context.apiVersion ?? "2025-08-01-preview",
|
|
185
|
+
});
|
|
173
186
|
}
|
|
174
187
|
export function _listByResourceGroupSend(context, resourceGroupName, options = { requestOptions: {} }) {
|
|
175
188
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores{?api%2Dversion,%24skipToken}", {
|
|
176
189
|
subscriptionId: context.subscriptionId,
|
|
177
190
|
resourceGroupName: resourceGroupName,
|
|
178
|
-
"api%2Dversion": context.apiVersion,
|
|
191
|
+
"api%2Dversion": context.apiVersion ?? "2025-08-01-preview",
|
|
179
192
|
"%24skipToken": options?.skipToken,
|
|
180
193
|
}, {
|
|
181
194
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
@@ -196,21 +209,25 @@ export async function _listByResourceGroupDeserialize(result) {
|
|
|
196
209
|
}
|
|
197
210
|
/** Lists the configuration stores for a given resource group. */
|
|
198
211
|
export function listByResourceGroup(context, resourceGroupName, options = { requestOptions: {} }) {
|
|
199
|
-
return buildPagedAsyncIterator(context, () => _listByResourceGroupSend(context, resourceGroupName, options), _listByResourceGroupDeserialize, ["200"], {
|
|
212
|
+
return buildPagedAsyncIterator(context, () => _listByResourceGroupSend(context, resourceGroupName, options), _listByResourceGroupDeserialize, ["200"], {
|
|
213
|
+
itemName: "value",
|
|
214
|
+
nextLinkName: "nextLink",
|
|
215
|
+
apiVersion: context.apiVersion ?? "2025-08-01-preview",
|
|
216
|
+
});
|
|
200
217
|
}
|
|
201
218
|
export function _$deleteSend(context, resourceGroupName, configStoreName, options = { requestOptions: {} }) {
|
|
202
219
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}{?api%2Dversion}", {
|
|
203
220
|
subscriptionId: context.subscriptionId,
|
|
204
221
|
resourceGroupName: resourceGroupName,
|
|
205
222
|
configStoreName: configStoreName,
|
|
206
|
-
"api%2Dversion": context.apiVersion,
|
|
223
|
+
"api%2Dversion": context.apiVersion ?? "2025-08-01-preview",
|
|
207
224
|
}, {
|
|
208
225
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
209
226
|
});
|
|
210
227
|
return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });
|
|
211
228
|
}
|
|
212
229
|
export async function _$deleteDeserialize(result) {
|
|
213
|
-
const expectedStatuses = ["200", "202", "204"
|
|
230
|
+
const expectedStatuses = ["200", "202", "204"];
|
|
214
231
|
if (!expectedStatuses.includes(result.status)) {
|
|
215
232
|
const error = createRestError(result);
|
|
216
233
|
error.details = errorResponseDeserializer(result.body);
|
|
@@ -219,17 +236,13 @@ export async function _$deleteDeserialize(result) {
|
|
|
219
236
|
return;
|
|
220
237
|
}
|
|
221
238
|
/** 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
239
|
export function $delete(context, resourceGroupName, configStoreName, options = { requestOptions: {} }) {
|
|
228
|
-
return getLongRunningPoller(context, _$deleteDeserialize, ["200", "202", "204"
|
|
240
|
+
return getLongRunningPoller(context, _$deleteDeserialize, ["200", "202", "204"], {
|
|
229
241
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
230
242
|
abortSignal: options?.abortSignal,
|
|
231
243
|
getInitialResponse: () => _$deleteSend(context, resourceGroupName, configStoreName, options),
|
|
232
244
|
resourceLocationConfig: "location",
|
|
245
|
+
apiVersion: context.apiVersion ?? "2025-08-01-preview",
|
|
233
246
|
});
|
|
234
247
|
}
|
|
235
248
|
export function _updateSend(context, resourceGroupName, configStoreName, configStoreUpdateParameters, options = { requestOptions: {} }) {
|
|
@@ -237,7 +250,7 @@ export function _updateSend(context, resourceGroupName, configStoreName, configS
|
|
|
237
250
|
subscriptionId: context.subscriptionId,
|
|
238
251
|
resourceGroupName: resourceGroupName,
|
|
239
252
|
configStoreName: configStoreName,
|
|
240
|
-
"api%2Dversion": context.apiVersion,
|
|
253
|
+
"api%2Dversion": context.apiVersion ?? "2025-08-01-preview",
|
|
241
254
|
}, {
|
|
242
255
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
243
256
|
});
|
|
@@ -264,6 +277,7 @@ export function update(context, resourceGroupName, configStoreName, configStoreU
|
|
|
264
277
|
abortSignal: options?.abortSignal,
|
|
265
278
|
getInitialResponse: () => _updateSend(context, resourceGroupName, configStoreName, configStoreUpdateParameters, options),
|
|
266
279
|
resourceLocationConfig: "location",
|
|
280
|
+
apiVersion: context.apiVersion ?? "2025-08-01-preview",
|
|
267
281
|
});
|
|
268
282
|
}
|
|
269
283
|
export function _createSend(context, resourceGroupName, configStoreName, configStoreCreationParameters, options = { requestOptions: {} }) {
|
|
@@ -271,7 +285,7 @@ export function _createSend(context, resourceGroupName, configStoreName, configS
|
|
|
271
285
|
subscriptionId: context.subscriptionId,
|
|
272
286
|
resourceGroupName: resourceGroupName,
|
|
273
287
|
configStoreName: configStoreName,
|
|
274
|
-
"api%2Dversion": context.apiVersion,
|
|
288
|
+
"api%2Dversion": context.apiVersion ?? "2025-08-01-preview",
|
|
275
289
|
}, {
|
|
276
290
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
277
291
|
});
|
|
@@ -298,6 +312,7 @@ export function create(context, resourceGroupName, configStoreName, configStoreC
|
|
|
298
312
|
abortSignal: options?.abortSignal,
|
|
299
313
|
getInitialResponse: () => _createSend(context, resourceGroupName, configStoreName, configStoreCreationParameters, options),
|
|
300
314
|
resourceLocationConfig: "location",
|
|
315
|
+
apiVersion: context.apiVersion ?? "2025-08-01-preview",
|
|
301
316
|
});
|
|
302
317
|
}
|
|
303
318
|
export function _getSend(context, resourceGroupName, configStoreName, options = { requestOptions: {} }) {
|
|
@@ -305,7 +320,7 @@ export function _getSend(context, resourceGroupName, configStoreName, options =
|
|
|
305
320
|
subscriptionId: context.subscriptionId,
|
|
306
321
|
resourceGroupName: resourceGroupName,
|
|
307
322
|
configStoreName: configStoreName,
|
|
308
|
-
"api%2Dversion": context.apiVersion,
|
|
323
|
+
"api%2Dversion": context.apiVersion ?? "2025-08-01-preview",
|
|
309
324
|
}, {
|
|
310
325
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
311
326
|
});
|
|
@@ -1 +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,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAG/F,MAAM,UAAU,gBAAgB,CAC9B,OAAe,EACf,UAAwD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9E,MAAM,IAAI,GAAG,iBAAiB,CAC5B,iHAAiH,EACjH;QACE,cAAc,EAAE,OAAO,CA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AgE;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"]}
|
|
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,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAG/F,MAAM,UAAU,gBAAgB,CAC9B,OAAe,EACf,UAAwD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9E,MAAM,IAAI,GAAG,iBAAiB,CAC5B,iHAAiH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AG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,OAAO,EAAE,EAAE,MAAM,EAAE,kBAAkB,EAAE,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO,EAAE;KAC5E,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,MAA6B;IACjE,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAEvD,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 ?? \"2025-08-01-preview\",\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\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 {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2025-08-01-preview\",\n },\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 ?? \"2025-08-01-preview\",\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\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 apiVersion: context.apiVersion ?? \"2025-08-01-preview\",\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 ?? \"2025-08-01-preview\",\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\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 ?? \"2025-08-01-preview\",\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\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 ?? \"2025-08-01-preview\",\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\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 {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2025-08-01-preview\",\n },\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 ?? \"2025-08-01-preview\",\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\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 {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2025-08-01-preview\",\n },\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 ?? \"2025-08-01-preview\",\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\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 {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2025-08-01-preview\",\n },\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 ?? \"2025-08-01-preview\",\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\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Deletes a configuration store. */\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\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _$deleteSend(context, resourceGroupName, configStoreName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2025-08-01-preview\",\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 ?? \"2025-08-01-preview\",\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\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 apiVersion: context.apiVersion ?? \"2025-08-01-preview\",\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 ?? \"2025-08-01-preview\",\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\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 apiVersion: context.apiVersion ?? \"2025-08-01-preview\",\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 ?? \"2025-08-01-preview\",\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\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"]}
|
package/dist/esm/api/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export type { AppConfigurationManagementContext, AppConfigurationManagementClientOptionalParams, } from "./appConfigurationManagementContext.js";
|
|
2
|
+
export { createAppConfigurationManagement } from "./appConfigurationManagementContext.js";
|
|
2
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/api/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
export { createAppConfigurationManagement
|
|
3
|
+
export { createAppConfigurationManagement } from "./appConfigurationManagementContext.js";
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type {\n AppConfigurationManagementContext,\n AppConfigurationManagementClientOptionalParams,\n} from \"./appConfigurationManagementContext.js\";\nexport { createAppConfigurationManagement } from \"./appConfigurationManagementContext.js\";\n"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { $delete, createOrUpdate, get } from "./operations.js";
|
|
2
|
-
export { KeyValuesDeleteOptionalParams, KeyValuesCreateOrUpdateOptionalParams, KeyValuesGetOptionalParams, } from "./options.js";
|
|
2
|
+
export type { KeyValuesDeleteOptionalParams, KeyValuesCreateOrUpdateOptionalParams, KeyValuesGetOptionalParams, } from "./options.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/keyValues/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { $delete, createOrUpdate, get } from \"./operations.js\";\nexport {\n KeyValuesDeleteOptionalParams,\n KeyValuesCreateOrUpdateOptionalParams,\n KeyValuesGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/keyValues/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { $delete, createOrUpdate, get } from \"./operations.js\";\nexport type {\n KeyValuesDeleteOptionalParams,\n KeyValuesCreateOrUpdateOptionalParams,\n KeyValuesGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
@@ -6,11 +6,6 @@ import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
|
6
6
|
export declare function _$deleteSend(context: Client, resourceGroupName: string, configStoreName: string, keyValueName: string, options?: KeyValuesDeleteOptionalParams): StreamableMethod;
|
|
7
7
|
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
8
8
|
/** Deletes a key-value. NOTE: This operation is intended for use in ARM Template deployments. For all other scenarios involving App Configuration key-values the data plane API should be used instead. */
|
|
9
|
-
/**
|
|
10
|
-
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
11
|
-
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
12
|
-
* to the operation to override the generated name.
|
|
13
|
-
*/
|
|
14
9
|
export declare function $delete(context: Client, resourceGroupName: string, configStoreName: string, keyValueName: string, options?: KeyValuesDeleteOptionalParams): PollerLike<OperationState<void>, void>;
|
|
15
10
|
export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, configStoreName: string, keyValueName: string, keyValueParameters: KeyValue, options?: KeyValuesCreateOrUpdateOptionalParams): StreamableMethod;
|
|
16
11
|
export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<KeyValue>;
|
|
@@ -10,14 +10,14 @@ export function _$deleteSend(context, resourceGroupName, configStoreName, keyVal
|
|
|
10
10
|
resourceGroupName: resourceGroupName,
|
|
11
11
|
configStoreName: configStoreName,
|
|
12
12
|
keyValueName: keyValueName,
|
|
13
|
-
"api%2Dversion": context.apiVersion,
|
|
13
|
+
"api%2Dversion": context.apiVersion ?? "2025-08-01-preview",
|
|
14
14
|
}, {
|
|
15
15
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
16
16
|
});
|
|
17
17
|
return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });
|
|
18
18
|
}
|
|
19
19
|
export async function _$deleteDeserialize(result) {
|
|
20
|
-
const expectedStatuses = ["200", "202", "204"
|
|
20
|
+
const expectedStatuses = ["200", "202", "204"];
|
|
21
21
|
if (!expectedStatuses.includes(result.status)) {
|
|
22
22
|
const error = createRestError(result);
|
|
23
23
|
error.details = errorResponseDeserializer(result.body);
|
|
@@ -26,17 +26,13 @@ export async function _$deleteDeserialize(result) {
|
|
|
26
26
|
return;
|
|
27
27
|
}
|
|
28
28
|
/** Deletes a key-value. NOTE: This operation is intended for use in ARM Template deployments. For all other scenarios involving App Configuration key-values the data plane API should be used instead. */
|
|
29
|
-
/**
|
|
30
|
-
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
31
|
-
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
32
|
-
* to the operation to override the generated name.
|
|
33
|
-
*/
|
|
34
29
|
export function $delete(context, resourceGroupName, configStoreName, keyValueName, options = { requestOptions: {} }) {
|
|
35
|
-
return getLongRunningPoller(context, _$deleteDeserialize, ["200", "202", "204"
|
|
30
|
+
return getLongRunningPoller(context, _$deleteDeserialize, ["200", "202", "204"], {
|
|
36
31
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
37
32
|
abortSignal: options?.abortSignal,
|
|
38
33
|
getInitialResponse: () => _$deleteSend(context, resourceGroupName, configStoreName, keyValueName, options),
|
|
39
34
|
resourceLocationConfig: "location",
|
|
35
|
+
apiVersion: context.apiVersion ?? "2025-08-01-preview",
|
|
40
36
|
});
|
|
41
37
|
}
|
|
42
38
|
export function _createOrUpdateSend(context, resourceGroupName, configStoreName, keyValueName, keyValueParameters, options = { requestOptions: {} }) {
|
|
@@ -45,7 +41,7 @@ export function _createOrUpdateSend(context, resourceGroupName, configStoreName,
|
|
|
45
41
|
resourceGroupName: resourceGroupName,
|
|
46
42
|
configStoreName: configStoreName,
|
|
47
43
|
keyValueName: keyValueName,
|
|
48
|
-
"api%2Dversion": context.apiVersion,
|
|
44
|
+
"api%2Dversion": context.apiVersion ?? "2025-08-01-preview",
|
|
49
45
|
}, {
|
|
50
46
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
51
47
|
});
|
|
@@ -76,7 +72,7 @@ export function _getSend(context, resourceGroupName, configStoreName, keyValueNa
|
|
|
76
72
|
resourceGroupName: resourceGroupName,
|
|
77
73
|
configStoreName: configStoreName,
|
|
78
74
|
keyValueName: keyValueName,
|
|
79
|
-
"api%2Dversion": context.apiVersion,
|
|
75
|
+
"api%2Dversion": context.apiVersion ?? "2025-08-01-preview",
|
|
80
76
|
}, {
|
|
81
77
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
82
78
|
});
|