@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
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/configurationStores/operations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,+JAA+J,EAC/J;QACE,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,iBAAiB,EAAE,iBAAiB;QACpC,eAAe,EAAE,eAAe;QAChC,eAAe,EAAE,OAAO,CAAC,UAAU;KACpC,EACD;QACE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC;QAC5B,GAAG,IAAA,iDAAmC,EAAC,OAAO,CAAC;QAC/C,OAAO,EAAE,EAAE,MAAM,EAAE,kBAAkB,EAAE,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO,EAAE;KAC5E,CAAC,CAAC;AACL,CAAC;AAEM,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,IAAA,6BAAe,EAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,IAAA,qCAAyB,EAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,IAAA,0CAA8B,EAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACrD,CAAC;AAED,gEAAgE;AACzD,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
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/api/configurationStores/operations.ts"],
|
|
4
|
+
"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"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;A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AAA,EACpC,CAAC;AACH;AAEO,SAAS,SACd,SACA,mBACA,iBACA,UAAgD,EAAE,gBAAgB,CAAC,EAAE,GACnD;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MACxB;AAAA,MACA;AAAA,MACA,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,IAAI;AAAA,IAC5B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,EAC5E,CAAC;AACH;AAEA,eAAsB,gBAAgB,QAA4D;AAChG,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,UAAM,cAAU,yCAA0B,OAAO,IAAI;AAErD,UAAM;AAAA,EACR;AAEA,aAAO,8CAA+B,OAAO,IAAI;AACnD;AAGA,eAAsB,IACpB,SACA,mBACA,iBACA,UAAgD,EAAE,gBAAgB,CAAC,EAAE,GACxC;AAC7B,QAAM,SAAS,MAAM,SAAS,SAAS,mBAAmB,iBAAiB,OAAO;AAClF,SAAO,gBAAgB,MAAM;AAC/B;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,5 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
14
|
+
var options_exports = {};
|
|
15
|
+
module.exports = __toCommonJS(options_exports);
|
|
16
|
+
//# sourceMappingURL=options.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/api/configurationStores/options.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface ConfigurationStoresListDeletedOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface ConfigurationStoresPurgeDeletedOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface ConfigurationStoresGetDeletedOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface ConfigurationStoresRegenerateKeyOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface ConfigurationStoresListKeysOptionalParams extends OperationOptions {\n /** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */\n skipToken?: string;\n}\n\n/** Optional parameters. */\nexport interface ConfigurationStoresListOptionalParams extends OperationOptions {\n /** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */\n skipToken?: string;\n}\n\n/** Optional parameters. */\nexport interface ConfigurationStoresListByResourceGroupOptionalParams extends OperationOptions {\n /** A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */\n skipToken?: string;\n}\n\n/** Optional parameters. */\nexport interface ConfigurationStoresDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface ConfigurationStoresUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface ConfigurationStoresCreateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface ConfigurationStoresGetOptionalParams extends OperationOptions {}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -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
|
|
@@ -1,8 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var api_exports = {};
|
|
19
|
+
__export(api_exports, {
|
|
20
|
+
createAppConfigurationManagement: () => import_appConfigurationManagementContext.createAppConfigurationManagement
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(api_exports);
|
|
23
|
+
var import_appConfigurationManagementContext = require("./appConfigurationManagementContext.js");
|
|
24
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
25
|
+
0 && (module.exports = {
|
|
26
|
+
createAppConfigurationManagement
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/api/index.ts"],
|
|
4
|
+
"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"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA,+CAAiD;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -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,10 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var keyValues_exports = {};
|
|
19
|
+
__export(keyValues_exports, {
|
|
20
|
+
$delete: () => import_operations.$delete,
|
|
21
|
+
createOrUpdate: () => import_operations.createOrUpdate,
|
|
22
|
+
get: () => import_operations.get
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(keyValues_exports);
|
|
25
|
+
var import_operations = require("./operations.js");
|
|
26
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
27
|
+
0 && (module.exports = {
|
|
28
|
+
$delete,
|
|
29
|
+
createOrUpdate,
|
|
30
|
+
get
|
|
31
|
+
});
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/api/keyValues/index.ts"],
|
|
4
|
+
"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"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,wBAA6C;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -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>;
|
|
@@ -1,113 +1,154 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var operations_exports = {};
|
|
19
|
+
__export(operations_exports, {
|
|
20
|
+
$delete: () => $delete,
|
|
21
|
+
_$deleteDeserialize: () => _$deleteDeserialize,
|
|
22
|
+
_$deleteSend: () => _$deleteSend,
|
|
23
|
+
_createOrUpdateDeserialize: () => _createOrUpdateDeserialize,
|
|
24
|
+
_createOrUpdateSend: () => _createOrUpdateSend,
|
|
25
|
+
_getDeserialize: () => _getDeserialize,
|
|
26
|
+
_getSend: () => _getSend,
|
|
27
|
+
createOrUpdate: () => createOrUpdate,
|
|
28
|
+
get: () => get
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(operations_exports);
|
|
31
|
+
var import_models = require("../../models/models.js");
|
|
32
|
+
var import_pollingHelpers = require("../../static-helpers/pollingHelpers.js");
|
|
33
|
+
var import_urlTemplate = require("../../static-helpers/urlTemplate.js");
|
|
34
|
+
var import_core_client = require("@azure-rest/core-client");
|
|
18
35
|
function _$deleteSend(context, resourceGroupName, configStoreName, keyValueName, options = { requestOptions: {} }) {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
36
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
37
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}{?api%2Dversion}",
|
|
38
|
+
{
|
|
39
|
+
subscriptionId: context.subscriptionId,
|
|
40
|
+
resourceGroupName,
|
|
41
|
+
configStoreName,
|
|
42
|
+
keyValueName,
|
|
43
|
+
"api%2Dversion": context.apiVersion ?? "2025-08-01-preview"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
47
|
+
}
|
|
48
|
+
);
|
|
49
|
+
return context.path(path).delete({ ...(0, import_core_client.operationOptionsToRequestParameters)(options) });
|
|
29
50
|
}
|
|
30
51
|
async function _$deleteDeserialize(result) {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
52
|
+
const expectedStatuses = ["200", "202", "204"];
|
|
53
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
54
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
55
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
56
|
+
throw error;
|
|
57
|
+
}
|
|
58
|
+
return;
|
|
38
59
|
}
|
|
39
|
-
/** 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. */
|
|
40
|
-
/**
|
|
41
|
-
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
42
|
-
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
43
|
-
* to the operation to override the generated name.
|
|
44
|
-
*/
|
|
45
60
|
function $delete(context, resourceGroupName, configStoreName, keyValueName, options = { requestOptions: {} }) {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
61
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _$deleteDeserialize, ["200", "202", "204"], {
|
|
62
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
63
|
+
abortSignal: options?.abortSignal,
|
|
64
|
+
getInitialResponse: () => _$deleteSend(context, resourceGroupName, configStoreName, keyValueName, options),
|
|
65
|
+
resourceLocationConfig: "location",
|
|
66
|
+
apiVersion: context.apiVersion ?? "2025-08-01-preview"
|
|
67
|
+
});
|
|
52
68
|
}
|
|
53
69
|
function _createOrUpdateSend(context, resourceGroupName, configStoreName, keyValueName, keyValueParameters, options = { requestOptions: {} }) {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
70
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
71
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}{?api%2Dversion}",
|
|
72
|
+
{
|
|
73
|
+
subscriptionId: context.subscriptionId,
|
|
74
|
+
resourceGroupName,
|
|
75
|
+
configStoreName,
|
|
76
|
+
keyValueName,
|
|
77
|
+
"api%2Dversion": context.apiVersion ?? "2025-08-01-preview"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
81
|
+
}
|
|
82
|
+
);
|
|
83
|
+
return context.path(path).put({
|
|
84
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
85
|
+
contentType: "application/json",
|
|
86
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
87
|
+
body: (0, import_models.keyValueSerializer)(keyValueParameters)
|
|
88
|
+
});
|
|
69
89
|
}
|
|
70
90
|
async function _createOrUpdateDeserialize(result) {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
91
|
+
const expectedStatuses = ["200"];
|
|
92
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
93
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
94
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
95
|
+
throw error;
|
|
96
|
+
}
|
|
97
|
+
return (0, import_models.keyValueDeserializer)(result.body);
|
|
78
98
|
}
|
|
79
|
-
/** Creates 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. */
|
|
80
99
|
async function createOrUpdate(context, resourceGroupName, configStoreName, keyValueName, keyValueParameters, options = { requestOptions: {} }) {
|
|
81
|
-
|
|
82
|
-
|
|
100
|
+
const result = await _createOrUpdateSend(
|
|
101
|
+
context,
|
|
102
|
+
resourceGroupName,
|
|
103
|
+
configStoreName,
|
|
104
|
+
keyValueName,
|
|
105
|
+
keyValueParameters,
|
|
106
|
+
options
|
|
107
|
+
);
|
|
108
|
+
return _createOrUpdateDeserialize(result);
|
|
83
109
|
}
|
|
84
110
|
function _getSend(context, resourceGroupName, configStoreName, keyValueName, options = { requestOptions: {} }) {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
111
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
112
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}{?api%2Dversion}",
|
|
113
|
+
{
|
|
114
|
+
subscriptionId: context.subscriptionId,
|
|
115
|
+
resourceGroupName,
|
|
116
|
+
configStoreName,
|
|
117
|
+
keyValueName,
|
|
118
|
+
"api%2Dversion": context.apiVersion ?? "2025-08-01-preview"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
122
|
+
}
|
|
123
|
+
);
|
|
124
|
+
return context.path(path).get({
|
|
125
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
126
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers }
|
|
127
|
+
});
|
|
98
128
|
}
|
|
99
129
|
async function _getDeserialize(result) {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
130
|
+
const expectedStatuses = ["200"];
|
|
131
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
132
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
133
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
134
|
+
throw error;
|
|
135
|
+
}
|
|
136
|
+
return (0, import_models.keyValueDeserializer)(result.body);
|
|
107
137
|
}
|
|
108
|
-
/** Gets the properties of the specified 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. */
|
|
109
138
|
async function get(context, resourceGroupName, configStoreName, keyValueName, options = { requestOptions: {} }) {
|
|
110
|
-
|
|
111
|
-
|
|
139
|
+
const result = await _getSend(context, resourceGroupName, configStoreName, keyValueName, options);
|
|
140
|
+
return _getDeserialize(result);
|
|
112
141
|
}
|
|
113
|
-
|
|
142
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
143
|
+
0 && (module.exports = {
|
|
144
|
+
$delete,
|
|
145
|
+
_$deleteDeserialize,
|
|
146
|
+
_$deleteSend,
|
|
147
|
+
_createOrUpdateDeserialize,
|
|
148
|
+
_createOrUpdateSend,
|
|
149
|
+
_getDeserialize,
|
|
150
|
+
_getSend,
|
|
151
|
+
createOrUpdate,
|
|
152
|
+
get
|
|
153
|
+
});
|
|
154
|
+
//# sourceMappingURL=operations.js.map
|