@azure/arm-connectedcache 1.0.0-alpha.20241127.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/LICENSE +21 -0
- package/README.md +102 -0
- package/dist/browser/api/cacheNodesOperations/index.d.ts +30 -0
- package/dist/browser/api/cacheNodesOperations/index.d.ts.map +1 -0
- package/dist/browser/api/cacheNodesOperations/index.js +123 -0
- package/dist/browser/api/cacheNodesOperations/index.js.map +1 -0
- package/dist/browser/api/connectedCacheContext.d.ts +14 -0
- package/dist/browser/api/connectedCacheContext.d.ts.map +1 -0
- package/dist/browser/api/connectedCacheContext.js +35 -0
- package/dist/browser/api/connectedCacheContext.js.map +1 -0
- package/dist/browser/api/enterpriseCustomerOperations/index.d.ts +30 -0
- package/dist/browser/api/enterpriseCustomerOperations/index.d.ts.map +1 -0
- package/dist/browser/api/enterpriseCustomerOperations/index.js +135 -0
- package/dist/browser/api/enterpriseCustomerOperations/index.js.map +1 -0
- package/dist/browser/api/enterpriseMccCacheNodesOperations/index.d.ts +30 -0
- package/dist/browser/api/enterpriseMccCacheNodesOperations/index.d.ts.map +1 -0
- package/dist/browser/api/enterpriseMccCacheNodesOperations/index.js +140 -0
- package/dist/browser/api/enterpriseMccCacheNodesOperations/index.js.map +1 -0
- package/dist/browser/api/enterpriseMccCustomers/index.d.ts +30 -0
- package/dist/browser/api/enterpriseMccCustomers/index.d.ts.map +1 -0
- package/dist/browser/api/enterpriseMccCustomers/index.js +127 -0
- package/dist/browser/api/enterpriseMccCustomers/index.js.map +1 -0
- package/dist/browser/api/index.d.ts +10 -0
- package/dist/browser/api/index.d.ts.map +1 -0
- package/dist/browser/api/index.js +11 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/ispCacheNodesOperations/index.d.ts +34 -0
- package/dist/browser/api/ispCacheNodesOperations/index.d.ts.map +1 -0
- package/dist/browser/api/ispCacheNodesOperations/index.js +149 -0
- package/dist/browser/api/ispCacheNodesOperations/index.js.map +1 -0
- package/dist/browser/api/ispCustomers/index.d.ts +30 -0
- package/dist/browser/api/ispCustomers/index.d.ts.map +1 -0
- package/dist/browser/api/ispCustomers/index.js +123 -0
- package/dist/browser/api/ispCustomers/index.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +9 -0
- package/dist/browser/api/operations/index.d.ts.map +1 -0
- package/dist/browser/api/operations/index.js +22 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/options.d.ts +136 -0
- package/dist/browser/api/options.d.ts.map +1 -0
- package/dist/browser/api/options.js +4 -0
- package/dist/browser/api/options.js.map +1 -0
- package/dist/browser/classic/cacheNodesOperations/index.d.ts +30 -0
- package/dist/browser/classic/cacheNodesOperations/index.d.ts.map +1 -0
- package/dist/browser/classic/cacheNodesOperations/index.js +17 -0
- package/dist/browser/classic/cacheNodesOperations/index.js.map +1 -0
- package/dist/browser/classic/enterpriseCustomerOperations/index.d.ts +30 -0
- package/dist/browser/classic/enterpriseCustomerOperations/index.d.ts.map +1 -0
- package/dist/browser/classic/enterpriseCustomerOperations/index.js +17 -0
- package/dist/browser/classic/enterpriseCustomerOperations/index.js.map +1 -0
- package/dist/browser/classic/enterpriseMccCacheNodesOperations/index.d.ts +30 -0
- package/dist/browser/classic/enterpriseMccCacheNodesOperations/index.d.ts.map +1 -0
- package/dist/browser/classic/enterpriseMccCacheNodesOperations/index.js +17 -0
- package/dist/browser/classic/enterpriseMccCacheNodesOperations/index.js.map +1 -0
- package/dist/browser/classic/enterpriseMccCustomers/index.d.ts +30 -0
- package/dist/browser/classic/enterpriseMccCustomers/index.d.ts.map +1 -0
- package/dist/browser/classic/enterpriseMccCustomers/index.js +17 -0
- package/dist/browser/classic/enterpriseMccCustomers/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +8 -0
- package/dist/browser/classic/index.d.ts.map +1 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/ispCacheNodesOperations/index.d.ts +33 -0
- package/dist/browser/classic/ispCacheNodesOperations/index.d.ts.map +1 -0
- package/dist/browser/classic/ispCacheNodesOperations/index.js +18 -0
- package/dist/browser/classic/ispCacheNodesOperations/index.js.map +1 -0
- package/dist/browser/classic/ispCustomers/index.d.ts +30 -0
- package/dist/browser/classic/ispCustomers/index.d.ts.map +1 -0
- package/dist/browser/classic/ispCustomers/index.js +17 -0
- package/dist/browser/classic/ispCustomers/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +14 -0
- package/dist/browser/classic/operations/index.d.ts.map +1 -0
- package/dist/browser/classic/operations/index.js +12 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/connectedCacheClient.d.ts +33 -0
- package/dist/browser/connectedCacheClient.d.ts.map +1 -0
- package/dist/browser/connectedCacheClient.js +30 -0
- package/dist/browser/connectedCacheClient.js.map +1 -0
- package/dist/browser/helpers/serializerHelpers.d.ts +3 -0
- package/dist/browser/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/browser/helpers/serializerHelpers.js +24 -0
- package/dist/browser/helpers/serializerHelpers.js.map +1 -0
- package/dist/browser/index.d.ts +8 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +6 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +2 -0
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js +4 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/models.d.ts +836 -0
- package/dist/browser/models/models.d.ts.map +1 -0
- package/dist/browser/models/models.js +918 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.d.ts.map +1 -0
- package/dist/browser/restorePollerHelpers.js +134 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.js +137 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.js +76 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/commonjs/api/cacheNodesOperations/index.d.ts +30 -0
- package/dist/commonjs/api/cacheNodesOperations/index.d.ts.map +1 -0
- package/dist/commonjs/api/cacheNodesOperations/index.js +143 -0
- package/dist/commonjs/api/cacheNodesOperations/index.js.map +1 -0
- package/dist/commonjs/api/connectedCacheContext.d.ts +14 -0
- package/dist/commonjs/api/connectedCacheContext.d.ts.map +1 -0
- package/dist/commonjs/api/connectedCacheContext.js +38 -0
- package/dist/commonjs/api/connectedCacheContext.js.map +1 -0
- package/dist/commonjs/api/enterpriseCustomerOperations/index.d.ts +30 -0
- package/dist/commonjs/api/enterpriseCustomerOperations/index.d.ts.map +1 -0
- package/dist/commonjs/api/enterpriseCustomerOperations/index.js +155 -0
- package/dist/commonjs/api/enterpriseCustomerOperations/index.js.map +1 -0
- package/dist/commonjs/api/enterpriseMccCacheNodesOperations/index.d.ts +30 -0
- package/dist/commonjs/api/enterpriseMccCacheNodesOperations/index.d.ts.map +1 -0
- package/dist/commonjs/api/enterpriseMccCacheNodesOperations/index.js +160 -0
- package/dist/commonjs/api/enterpriseMccCacheNodesOperations/index.js.map +1 -0
- package/dist/commonjs/api/enterpriseMccCustomers/index.d.ts +30 -0
- package/dist/commonjs/api/enterpriseMccCustomers/index.d.ts.map +1 -0
- package/dist/commonjs/api/enterpriseMccCustomers/index.js +147 -0
- package/dist/commonjs/api/enterpriseMccCustomers/index.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +10 -0
- package/dist/commonjs/api/index.d.ts.map +1 -0
- package/dist/commonjs/api/index.js +53 -0
- package/dist/commonjs/api/index.js.map +1 -0
- package/dist/commonjs/api/ispCacheNodesOperations/index.d.ts +34 -0
- package/dist/commonjs/api/ispCacheNodesOperations/index.d.ts.map +1 -0
- package/dist/commonjs/api/ispCacheNodesOperations/index.js +172 -0
- package/dist/commonjs/api/ispCacheNodesOperations/index.js.map +1 -0
- package/dist/commonjs/api/ispCustomers/index.d.ts +30 -0
- package/dist/commonjs/api/ispCustomers/index.d.ts.map +1 -0
- package/dist/commonjs/api/ispCustomers/index.js +143 -0
- package/dist/commonjs/api/ispCustomers/index.js.map +1 -0
- package/dist/commonjs/api/operations/index.d.ts +9 -0
- package/dist/commonjs/api/operations/index.d.ts.map +1 -0
- package/dist/commonjs/api/operations/index.js +27 -0
- package/dist/commonjs/api/operations/index.js.map +1 -0
- package/dist/commonjs/api/options.d.ts +136 -0
- package/dist/commonjs/api/options.d.ts.map +1 -0
- package/dist/commonjs/api/options.js +5 -0
- package/dist/commonjs/api/options.js.map +1 -0
- package/dist/commonjs/classic/cacheNodesOperations/index.d.ts +30 -0
- package/dist/commonjs/classic/cacheNodesOperations/index.d.ts.map +1 -0
- package/dist/commonjs/classic/cacheNodesOperations/index.js +21 -0
- package/dist/commonjs/classic/cacheNodesOperations/index.js.map +1 -0
- package/dist/commonjs/classic/enterpriseCustomerOperations/index.d.ts +30 -0
- package/dist/commonjs/classic/enterpriseCustomerOperations/index.d.ts.map +1 -0
- package/dist/commonjs/classic/enterpriseCustomerOperations/index.js +21 -0
- package/dist/commonjs/classic/enterpriseCustomerOperations/index.js.map +1 -0
- package/dist/commonjs/classic/enterpriseMccCacheNodesOperations/index.d.ts +30 -0
- package/dist/commonjs/classic/enterpriseMccCacheNodesOperations/index.d.ts.map +1 -0
- package/dist/commonjs/classic/enterpriseMccCacheNodesOperations/index.js +21 -0
- package/dist/commonjs/classic/enterpriseMccCacheNodesOperations/index.js.map +1 -0
- package/dist/commonjs/classic/enterpriseMccCustomers/index.d.ts +30 -0
- package/dist/commonjs/classic/enterpriseMccCustomers/index.d.ts.map +1 -0
- package/dist/commonjs/classic/enterpriseMccCustomers/index.js +21 -0
- package/dist/commonjs/classic/enterpriseMccCustomers/index.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +8 -0
- package/dist/commonjs/classic/index.d.ts.map +1 -0
- package/dist/commonjs/classic/index.js +5 -0
- package/dist/commonjs/classic/index.js.map +1 -0
- package/dist/commonjs/classic/ispCacheNodesOperations/index.d.ts +33 -0
- package/dist/commonjs/classic/ispCacheNodesOperations/index.d.ts.map +1 -0
- package/dist/commonjs/classic/ispCacheNodesOperations/index.js +22 -0
- package/dist/commonjs/classic/ispCacheNodesOperations/index.js.map +1 -0
- package/dist/commonjs/classic/ispCustomers/index.d.ts +30 -0
- package/dist/commonjs/classic/ispCustomers/index.d.ts.map +1 -0
- package/dist/commonjs/classic/ispCustomers/index.js +21 -0
- package/dist/commonjs/classic/ispCustomers/index.js.map +1 -0
- package/dist/commonjs/classic/operations/index.d.ts +14 -0
- package/dist/commonjs/classic/operations/index.d.ts.map +1 -0
- package/dist/commonjs/classic/operations/index.js +16 -0
- package/dist/commonjs/classic/operations/index.js.map +1 -0
- package/dist/commonjs/connectedCacheClient.d.ts +33 -0
- package/dist/commonjs/connectedCacheClient.d.ts.map +1 -0
- package/dist/commonjs/connectedCacheClient.js +34 -0
- package/dist/commonjs/connectedCacheClient.js.map +1 -0
- package/dist/commonjs/helpers/serializerHelpers.d.ts +3 -0
- package/dist/commonjs/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/commonjs/helpers/serializerHelpers.js +27 -0
- package/dist/commonjs/helpers/serializerHelpers.js.map +1 -0
- package/dist/commonjs/index.d.ts +8 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +23 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +2 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +19 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/models.d.ts +836 -0
- package/dist/commonjs/models/models.d.ts.map +1 -0
- package/dist/commonjs/models/models.js +994 -0
- package/dist/commonjs/models/models.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -0
- package/dist/commonjs/restorePollerHelpers.js +137 -0
- package/dist/commonjs/restorePollerHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +140 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +79 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/api/cacheNodesOperations/index.d.ts +30 -0
- package/dist/esm/api/cacheNodesOperations/index.d.ts.map +1 -0
- package/dist/esm/api/cacheNodesOperations/index.js +123 -0
- package/dist/esm/api/cacheNodesOperations/index.js.map +1 -0
- package/dist/esm/api/connectedCacheContext.d.ts +14 -0
- package/dist/esm/api/connectedCacheContext.d.ts.map +1 -0
- package/dist/esm/api/connectedCacheContext.js +35 -0
- package/dist/esm/api/connectedCacheContext.js.map +1 -0
- package/dist/esm/api/enterpriseCustomerOperations/index.d.ts +30 -0
- package/dist/esm/api/enterpriseCustomerOperations/index.d.ts.map +1 -0
- package/dist/esm/api/enterpriseCustomerOperations/index.js +135 -0
- package/dist/esm/api/enterpriseCustomerOperations/index.js.map +1 -0
- package/dist/esm/api/enterpriseMccCacheNodesOperations/index.d.ts +30 -0
- package/dist/esm/api/enterpriseMccCacheNodesOperations/index.d.ts.map +1 -0
- package/dist/esm/api/enterpriseMccCacheNodesOperations/index.js +140 -0
- package/dist/esm/api/enterpriseMccCacheNodesOperations/index.js.map +1 -0
- package/dist/esm/api/enterpriseMccCustomers/index.d.ts +30 -0
- package/dist/esm/api/enterpriseMccCustomers/index.d.ts.map +1 -0
- package/dist/esm/api/enterpriseMccCustomers/index.js +127 -0
- package/dist/esm/api/enterpriseMccCustomers/index.js.map +1 -0
- package/dist/esm/api/index.d.ts +10 -0
- package/dist/esm/api/index.d.ts.map +1 -0
- package/dist/esm/api/index.js +11 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/ispCacheNodesOperations/index.d.ts +34 -0
- package/dist/esm/api/ispCacheNodesOperations/index.d.ts.map +1 -0
- package/dist/esm/api/ispCacheNodesOperations/index.js +149 -0
- package/dist/esm/api/ispCacheNodesOperations/index.js.map +1 -0
- package/dist/esm/api/ispCustomers/index.d.ts +30 -0
- package/dist/esm/api/ispCustomers/index.d.ts.map +1 -0
- package/dist/esm/api/ispCustomers/index.js +123 -0
- package/dist/esm/api/ispCustomers/index.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +9 -0
- package/dist/esm/api/operations/index.d.ts.map +1 -0
- package/dist/esm/api/operations/index.js +22 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/options.d.ts +136 -0
- package/dist/esm/api/options.d.ts.map +1 -0
- package/dist/esm/api/options.js +4 -0
- package/dist/esm/api/options.js.map +1 -0
- package/dist/esm/classic/cacheNodesOperations/index.d.ts +30 -0
- package/dist/esm/classic/cacheNodesOperations/index.d.ts.map +1 -0
- package/dist/esm/classic/cacheNodesOperations/index.js +17 -0
- package/dist/esm/classic/cacheNodesOperations/index.js.map +1 -0
- package/dist/esm/classic/enterpriseCustomerOperations/index.d.ts +30 -0
- package/dist/esm/classic/enterpriseCustomerOperations/index.d.ts.map +1 -0
- package/dist/esm/classic/enterpriseCustomerOperations/index.js +17 -0
- package/dist/esm/classic/enterpriseCustomerOperations/index.js.map +1 -0
- package/dist/esm/classic/enterpriseMccCacheNodesOperations/index.d.ts +30 -0
- package/dist/esm/classic/enterpriseMccCacheNodesOperations/index.d.ts.map +1 -0
- package/dist/esm/classic/enterpriseMccCacheNodesOperations/index.js +17 -0
- package/dist/esm/classic/enterpriseMccCacheNodesOperations/index.js.map +1 -0
- package/dist/esm/classic/enterpriseMccCustomers/index.d.ts +30 -0
- package/dist/esm/classic/enterpriseMccCustomers/index.d.ts.map +1 -0
- package/dist/esm/classic/enterpriseMccCustomers/index.js +17 -0
- package/dist/esm/classic/enterpriseMccCustomers/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +8 -0
- package/dist/esm/classic/index.d.ts.map +1 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/ispCacheNodesOperations/index.d.ts +33 -0
- package/dist/esm/classic/ispCacheNodesOperations/index.d.ts.map +1 -0
- package/dist/esm/classic/ispCacheNodesOperations/index.js +18 -0
- package/dist/esm/classic/ispCacheNodesOperations/index.js.map +1 -0
- package/dist/esm/classic/ispCustomers/index.d.ts +30 -0
- package/dist/esm/classic/ispCustomers/index.d.ts.map +1 -0
- package/dist/esm/classic/ispCustomers/index.js +17 -0
- package/dist/esm/classic/ispCustomers/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +14 -0
- package/dist/esm/classic/operations/index.d.ts.map +1 -0
- package/dist/esm/classic/operations/index.js +12 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/connectedCacheClient.d.ts +33 -0
- package/dist/esm/connectedCacheClient.d.ts.map +1 -0
- package/dist/esm/connectedCacheClient.js +30 -0
- package/dist/esm/connectedCacheClient.js.map +1 -0
- package/dist/esm/helpers/serializerHelpers.d.ts +3 -0
- package/dist/esm/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/esm/helpers/serializerHelpers.js +24 -0
- package/dist/esm/helpers/serializerHelpers.js.map +1 -0
- package/dist/esm/index.d.ts +8 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/models.d.ts +836 -0
- package/dist/esm/models/models.d.ts.map +1 -0
- package/dist/esm/models/models.js +918 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.d.ts.map +1 -0
- package/dist/esm/restorePollerHelpers.js +134 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.js +137 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.js +76 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/react-native/api/cacheNodesOperations/index.d.ts +30 -0
- package/dist/react-native/api/cacheNodesOperations/index.d.ts.map +1 -0
- package/dist/react-native/api/cacheNodesOperations/index.js +123 -0
- package/dist/react-native/api/cacheNodesOperations/index.js.map +1 -0
- package/dist/react-native/api/connectedCacheContext.d.ts +14 -0
- package/dist/react-native/api/connectedCacheContext.d.ts.map +1 -0
- package/dist/react-native/api/connectedCacheContext.js +35 -0
- package/dist/react-native/api/connectedCacheContext.js.map +1 -0
- package/dist/react-native/api/enterpriseCustomerOperations/index.d.ts +30 -0
- package/dist/react-native/api/enterpriseCustomerOperations/index.d.ts.map +1 -0
- package/dist/react-native/api/enterpriseCustomerOperations/index.js +135 -0
- package/dist/react-native/api/enterpriseCustomerOperations/index.js.map +1 -0
- package/dist/react-native/api/enterpriseMccCacheNodesOperations/index.d.ts +30 -0
- package/dist/react-native/api/enterpriseMccCacheNodesOperations/index.d.ts.map +1 -0
- package/dist/react-native/api/enterpriseMccCacheNodesOperations/index.js +140 -0
- package/dist/react-native/api/enterpriseMccCacheNodesOperations/index.js.map +1 -0
- package/dist/react-native/api/enterpriseMccCustomers/index.d.ts +30 -0
- package/dist/react-native/api/enterpriseMccCustomers/index.d.ts.map +1 -0
- package/dist/react-native/api/enterpriseMccCustomers/index.js +127 -0
- package/dist/react-native/api/enterpriseMccCustomers/index.js.map +1 -0
- package/dist/react-native/api/index.d.ts +10 -0
- package/dist/react-native/api/index.d.ts.map +1 -0
- package/dist/react-native/api/index.js +11 -0
- package/dist/react-native/api/index.js.map +1 -0
- package/dist/react-native/api/ispCacheNodesOperations/index.d.ts +34 -0
- package/dist/react-native/api/ispCacheNodesOperations/index.d.ts.map +1 -0
- package/dist/react-native/api/ispCacheNodesOperations/index.js +149 -0
- package/dist/react-native/api/ispCacheNodesOperations/index.js.map +1 -0
- package/dist/react-native/api/ispCustomers/index.d.ts +30 -0
- package/dist/react-native/api/ispCustomers/index.d.ts.map +1 -0
- package/dist/react-native/api/ispCustomers/index.js +123 -0
- package/dist/react-native/api/ispCustomers/index.js.map +1 -0
- package/dist/react-native/api/operations/index.d.ts +9 -0
- package/dist/react-native/api/operations/index.d.ts.map +1 -0
- package/dist/react-native/api/operations/index.js +22 -0
- package/dist/react-native/api/operations/index.js.map +1 -0
- package/dist/react-native/api/options.d.ts +136 -0
- package/dist/react-native/api/options.d.ts.map +1 -0
- package/dist/react-native/api/options.js +4 -0
- package/dist/react-native/api/options.js.map +1 -0
- package/dist/react-native/classic/cacheNodesOperations/index.d.ts +30 -0
- package/dist/react-native/classic/cacheNodesOperations/index.d.ts.map +1 -0
- package/dist/react-native/classic/cacheNodesOperations/index.js +17 -0
- package/dist/react-native/classic/cacheNodesOperations/index.js.map +1 -0
- package/dist/react-native/classic/enterpriseCustomerOperations/index.d.ts +30 -0
- package/dist/react-native/classic/enterpriseCustomerOperations/index.d.ts.map +1 -0
- package/dist/react-native/classic/enterpriseCustomerOperations/index.js +17 -0
- package/dist/react-native/classic/enterpriseCustomerOperations/index.js.map +1 -0
- package/dist/react-native/classic/enterpriseMccCacheNodesOperations/index.d.ts +30 -0
- package/dist/react-native/classic/enterpriseMccCacheNodesOperations/index.d.ts.map +1 -0
- package/dist/react-native/classic/enterpriseMccCacheNodesOperations/index.js +17 -0
- package/dist/react-native/classic/enterpriseMccCacheNodesOperations/index.js.map +1 -0
- package/dist/react-native/classic/enterpriseMccCustomers/index.d.ts +30 -0
- package/dist/react-native/classic/enterpriseMccCustomers/index.d.ts.map +1 -0
- package/dist/react-native/classic/enterpriseMccCustomers/index.js +17 -0
- package/dist/react-native/classic/enterpriseMccCustomers/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +8 -0
- package/dist/react-native/classic/index.d.ts.map +1 -0
- package/dist/react-native/classic/index.js +4 -0
- package/dist/react-native/classic/index.js.map +1 -0
- package/dist/react-native/classic/ispCacheNodesOperations/index.d.ts +33 -0
- package/dist/react-native/classic/ispCacheNodesOperations/index.d.ts.map +1 -0
- package/dist/react-native/classic/ispCacheNodesOperations/index.js +18 -0
- package/dist/react-native/classic/ispCacheNodesOperations/index.js.map +1 -0
- package/dist/react-native/classic/ispCustomers/index.d.ts +30 -0
- package/dist/react-native/classic/ispCustomers/index.d.ts.map +1 -0
- package/dist/react-native/classic/ispCustomers/index.js +17 -0
- package/dist/react-native/classic/ispCustomers/index.js.map +1 -0
- package/dist/react-native/classic/operations/index.d.ts +14 -0
- package/dist/react-native/classic/operations/index.d.ts.map +1 -0
- package/dist/react-native/classic/operations/index.js +12 -0
- package/dist/react-native/classic/operations/index.js.map +1 -0
- package/dist/react-native/connectedCacheClient.d.ts +33 -0
- package/dist/react-native/connectedCacheClient.d.ts.map +1 -0
- package/dist/react-native/connectedCacheClient.js +30 -0
- package/dist/react-native/connectedCacheClient.js.map +1 -0
- package/dist/react-native/helpers/serializerHelpers.d.ts +3 -0
- package/dist/react-native/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/react-native/helpers/serializerHelpers.js +24 -0
- package/dist/react-native/helpers/serializerHelpers.js.map +1 -0
- package/dist/react-native/index.d.ts +8 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +6 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models/index.d.ts +2 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +4 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/models.d.ts +836 -0
- package/dist/react-native/models/models.d.ts.map +1 -0
- package/dist/react-native/models/models.js +918 -0
- package/dist/react-native/models/models.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/restorePollerHelpers.d.ts +21 -0
- package/dist/react-native/restorePollerHelpers.d.ts.map +1 -0
- package/dist/react-native/restorePollerHelpers.js +134 -0
- package/dist/react-native/restorePollerHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +137 -0
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.js +76 -0
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
- package/package.json +160 -0
- package/review/arm-connectedcache-models.api.md +441 -0
- package/review/arm-connectedcache.api.md +723 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/enterpriseMccCustomers/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAWlC,OAAO,EAEL,qCAAqC,EAErC,uCAAuC,EACvC,yCAAyC,EAEzC,oDAAoD,GACrD,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAGjC,MAAM,UAAU,8BAA8B,CAC5C,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,oBAA4B,EAC5B,UAAmD,EAAE,cAAc,EAAE,EAAE,EAAE;IAEzE,OAAO,OAAO;SACX,IAAI,CACH,qJAAqJ,EACrJ,cAAc,EACd,iBAAiB,EACjB,oBAAoB,CACrB;SACA,GAAG,mBAAM,mCAAmC,CAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,qCAAqC,CACzD,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,yCAAyC,CAAC,MAA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,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,oDAAoD,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC3E,CAAC;AAED,uGAAuG;AACvG,MAAM,UAAU,wCAAwC,CACtD,OAAe,EACf,cAAsB,EACtB,UAAkE;IAChE,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,6CAA6C,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC,EACrF,oDAAoD,EACpD,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n ConnectedCacheContext as Client,\n EnterpriseMccCustomersCreateOrUpdateOptionalParams,\n EnterpriseMccCustomersDeleteOptionalParams,\n EnterpriseMccCustomersGetOptionalParams,\n EnterpriseMccCustomersListByResourceGroupOptionalParams,\n EnterpriseMccCustomersListBySubscriptionOptionalParams,\n EnterpriseMccCustomersUpdateOptionalParams,\n} from \"../index.js\";\nimport {\n ConnectedCachePatchResource,\n connectedCachePatchResourceSerializer,\n EnterpriseMccCustomerResource,\n enterpriseMccCustomerResourceSerializer,\n enterpriseMccCustomerResourceDeserializer,\n _EnterpriseMccCustomerResourceListResult,\n _enterpriseMccCustomerResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _enterpriseMccCustomersGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: EnterpriseMccCustomersGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/enterpriseMccCustomers/{customerResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _enterpriseMccCustomersGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<EnterpriseMccCustomerResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return enterpriseMccCustomerResourceDeserializer(result.body);\n}\n\n/** Gets the enterprise mcc customer resource information using this get call */\nexport async function enterpriseMccCustomersGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: EnterpriseMccCustomersGetOptionalParams = { requestOptions: {} },\n): Promise<EnterpriseMccCustomerResource> {\n const result = await _enterpriseMccCustomersGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n );\n return _enterpriseMccCustomersGetDeserialize(result);\n}\n\nexport function _enterpriseMccCustomersCreateOrUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n resource: EnterpriseMccCustomerResource,\n options: EnterpriseMccCustomersCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/enterpriseMccCustomers/{customerResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: enterpriseMccCustomerResourceSerializer(resource),\n });\n}\n\nexport async function _enterpriseMccCustomersCreateOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<EnterpriseMccCustomerResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return enterpriseMccCustomerResourceDeserializer(result.body);\n}\n\n/** This api creates an enterprise mcc customer with the specified create parameters */\nexport function enterpriseMccCustomersCreateOrUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n resource: EnterpriseMccCustomerResource,\n options: EnterpriseMccCustomersCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<EnterpriseMccCustomerResource>, EnterpriseMccCustomerResource> {\n return getLongRunningPoller(\n context,\n _enterpriseMccCustomersCreateOrUpdateDeserialize,\n [\"200\", \"201\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _enterpriseMccCustomersCreateOrUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n },\n ) as PollerLike<OperationState<EnterpriseMccCustomerResource>, EnterpriseMccCustomerResource>;\n}\n\nexport function _enterpriseMccCustomersUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options: EnterpriseMccCustomersUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/enterpriseMccCustomers/{customerResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .patch({\n ...operationOptionsToRequestParameters(options),\n body: connectedCachePatchResourceSerializer(properties),\n });\n}\n\nexport async function _enterpriseMccCustomersUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<EnterpriseMccCustomerResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return enterpriseMccCustomerResourceDeserializer(result.body);\n}\n\n/** This api updates an existing enterprise mcc customer resource */\nexport async function enterpriseMccCustomersUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options: EnterpriseMccCustomersUpdateOptionalParams = { requestOptions: {} },\n): Promise<EnterpriseMccCustomerResource> {\n const result = await _enterpriseMccCustomersUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n properties,\n options,\n );\n return _enterpriseMccCustomersUpdateDeserialize(result);\n}\n\nexport function _enterpriseMccCustomersDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: EnterpriseMccCustomersDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/enterpriseMccCustomers/{customerResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _enterpriseMccCustomersDeleteDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** This api deletes an existing enterprise mcc customer resource */\nexport function enterpriseMccCustomersDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: EnterpriseMccCustomersDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(\n context,\n _enterpriseMccCustomersDeleteDeserialize,\n [\"202\", \"204\", \"200\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _enterpriseMccCustomersDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n resourceLocationConfig: \"location\",\n },\n ) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _enterpriseMccCustomersListByResourceGroupSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: EnterpriseMccCustomersListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/enterpriseMccCustomers\",\n subscriptionId,\n resourceGroupName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _enterpriseMccCustomersListByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_EnterpriseMccCustomerResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _enterpriseMccCustomerResourceListResultDeserializer(result.body);\n}\n\n/** This api gets the information about all enterprise mcc customer resources under the given subscription and resource group */\nexport function enterpriseMccCustomersListByResourceGroup(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: EnterpriseMccCustomersListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<EnterpriseMccCustomerResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _enterpriseMccCustomersListByResourceGroupSend(\n context,\n subscriptionId,\n resourceGroupName,\n options,\n ),\n _enterpriseMccCustomersListByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _enterpriseMccCustomersListBySubscriptionSend(\n context: Client,\n subscriptionId: string,\n options: EnterpriseMccCustomersListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedCache/enterpriseMccCustomers\",\n subscriptionId,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _enterpriseMccCustomersListBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_EnterpriseMccCustomerResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _enterpriseMccCustomerResourceListResultDeserializer(result.body);\n}\n\n/** This api gets information about all enterpriseMccCustomer resources under the given subscription */\nexport function enterpriseMccCustomersListBySubscription(\n context: Client,\n subscriptionId: string,\n options: EnterpriseMccCustomersListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<EnterpriseMccCustomerResource> {\n return buildPagedAsyncIterator(\n context,\n () => _enterpriseMccCustomersListBySubscriptionSend(context, subscriptionId, options),\n _enterpriseMccCustomersListBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { createConnectedCache, ConnectedCacheContext, ConnectedCacheClientOptionalParams, } from "./connectedCacheContext.js";
|
|
2
|
+
export { OperationsListOptionalParams, EnterpriseCustomerOperationsGetOptionalParams, EnterpriseCustomerOperationsCreateOrUpdateOptionalParams, EnterpriseCustomerOperationsUpdateOptionalParams, EnterpriseCustomerOperationsDeleteOptionalParams, EnterpriseCustomerOperationsListByResourceGroupOptionalParams, EnterpriseCustomerOperationsListBySubscriptionOptionalParams, CacheNodesOperationsGetOptionalParams, CacheNodesOperationsCreateorUpdateOptionalParams, CacheNodesOperationsDeleteOptionalParams, CacheNodesOperationsUpdateOptionalParams, CacheNodesOperationsListByResourceGroupOptionalParams, CacheNodesOperationsListBySubscriptionOptionalParams, IspCustomersGetOptionalParams, IspCustomersCreateOrUpdateOptionalParams, IspCustomersUpdateOptionalParams, IspCustomersDeleteOptionalParams, IspCustomersListByResourceGroupOptionalParams, IspCustomersListBySubscriptionOptionalParams, IspCacheNodesOperationsGetOptionalParams, IspCacheNodesOperationsCreateOrUpdateOptionalParams, IspCacheNodesOperationsUpdateOptionalParams, IspCacheNodesOperationsDeleteOptionalParams, IspCacheNodesOperationsListByIspCustomerResourceOptionalParams, IspCacheNodesOperationsGetBgpCidrsOptionalParams, IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams, EnterpriseMccCustomersGetOptionalParams, EnterpriseMccCustomersCreateOrUpdateOptionalParams, EnterpriseMccCustomersUpdateOptionalParams, EnterpriseMccCustomersDeleteOptionalParams, EnterpriseMccCustomersListByResourceGroupOptionalParams, EnterpriseMccCustomersListBySubscriptionOptionalParams, EnterpriseMccCacheNodesOperationsGetOptionalParams, EnterpriseMccCacheNodesOperationsCreateOrUpdateOptionalParams, EnterpriseMccCacheNodesOperationsUpdateOptionalParams, EnterpriseMccCacheNodesOperationsDeleteOptionalParams, EnterpriseMccCacheNodesOperationsListByEnterpriseMccCustomerResourceOptionalParams, EnterpriseMccCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams, } from "./options.js";
|
|
3
|
+
export { cacheNodesOperationsGet, cacheNodesOperationsCreateorUpdate, cacheNodesOperationsDelete, cacheNodesOperationsUpdate, cacheNodesOperationsListByResourceGroup, cacheNodesOperationsListBySubscription, } from "./cacheNodesOperations/index.js";
|
|
4
|
+
export { enterpriseCustomerOperationsGet, enterpriseCustomerOperationsCreateOrUpdate, enterpriseCustomerOperationsUpdate, enterpriseCustomerOperationsDelete, enterpriseCustomerOperationsListByResourceGroup, enterpriseCustomerOperationsListBySubscription, } from "./enterpriseCustomerOperations/index.js";
|
|
5
|
+
export { enterpriseMccCacheNodesOperationsGet, enterpriseMccCacheNodesOperationsCreateOrUpdate, enterpriseMccCacheNodesOperationsUpdate, enterpriseMccCacheNodesOperationsDelete, enterpriseMccCacheNodesOperationsListByEnterpriseMccCustomerResource, enterpriseMccCacheNodesOperationsGetCacheNodeInstallDetails, } from "./enterpriseMccCacheNodesOperations/index.js";
|
|
6
|
+
export { enterpriseMccCustomersGet, enterpriseMccCustomersCreateOrUpdate, enterpriseMccCustomersUpdate, enterpriseMccCustomersDelete, enterpriseMccCustomersListByResourceGroup, enterpriseMccCustomersListBySubscription, } from "./enterpriseMccCustomers/index.js";
|
|
7
|
+
export { ispCacheNodesOperationsGet, ispCacheNodesOperationsCreateOrUpdate, ispCacheNodesOperationsUpdate, ispCacheNodesOperationsDelete, ispCacheNodesOperationsListByIspCustomerResource, ispCacheNodesOperationsGetBgpCidrs, ispCacheNodesOperationsGetCacheNodeInstallDetails, } from "./ispCacheNodesOperations/index.js";
|
|
8
|
+
export { ispCustomersGet, ispCustomersCreateOrUpdate, ispCustomersUpdate, ispCustomersDelete, ispCustomersListByResourceGroup, ispCustomersListBySubscription, } from "./ispCustomers/index.js";
|
|
9
|
+
export { operationsList } from "./operations/index.js";
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,kCAAkC,GACnC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,4BAA4B,EAC5B,6CAA6C,EAC7C,wDAAwD,EACxD,gDAAgD,EAChD,gDAAgD,EAChD,6DAA6D,EAC7D,4DAA4D,EAC5D,qCAAqC,EACrC,gDAAgD,EAChD,wCAAwC,EACxC,wCAAwC,EACxC,qDAAqD,EACrD,oDAAoD,EACpD,6BAA6B,EAC7B,wCAAwC,EACxC,gCAAgC,EAChC,gCAAgC,EAChC,6CAA6C,EAC7C,4CAA4C,EAC5C,wCAAwC,EACxC,mDAAmD,EACnD,2CAA2C,EAC3C,2CAA2C,EAC3C,8DAA8D,EAC9D,gDAAgD,EAChD,+DAA+D,EAC/D,uCAAuC,EACvC,kDAAkD,EAClD,0CAA0C,EAC1C,0CAA0C,EAC1C,uDAAuD,EACvD,sDAAsD,EACtD,kDAAkD,EAClD,6DAA6D,EAC7D,qDAAqD,EACrD,qDAAqD,EACrD,kFAAkF,EAClF,yEAAyE,GAC1E,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,uBAAuB,EACvB,kCAAkC,EAClC,0BAA0B,EAC1B,0BAA0B,EAC1B,uCAAuC,EACvC,sCAAsC,GACvC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,+BAA+B,EAC/B,0CAA0C,EAC1C,kCAAkC,EAClC,kCAAkC,EAClC,+CAA+C,EAC/C,8CAA8C,GAC/C,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,oCAAoC,EACpC,+CAA+C,EAC/C,uCAAuC,EACvC,uCAAuC,EACvC,oEAAoE,EACpE,2DAA2D,GAC5D,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,yBAAyB,EACzB,oCAAoC,EACpC,4BAA4B,EAC5B,4BAA4B,EAC5B,yCAAyC,EACzC,wCAAwC,GACzC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,0BAA0B,EAC1B,qCAAqC,EACrC,6BAA6B,EAC7B,6BAA6B,EAC7B,gDAAgD,EAChD,kCAAkC,EAClC,iDAAiD,GAClD,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,eAAe,EACf,0BAA0B,EAC1B,kBAAkB,EAClB,kBAAkB,EAClB,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
export { createConnectedCache, } from "./connectedCacheContext.js";
|
|
4
|
+
export { cacheNodesOperationsGet, cacheNodesOperationsCreateorUpdate, cacheNodesOperationsDelete, cacheNodesOperationsUpdate, cacheNodesOperationsListByResourceGroup, cacheNodesOperationsListBySubscription, } from "./cacheNodesOperations/index.js";
|
|
5
|
+
export { enterpriseCustomerOperationsGet, enterpriseCustomerOperationsCreateOrUpdate, enterpriseCustomerOperationsUpdate, enterpriseCustomerOperationsDelete, enterpriseCustomerOperationsListByResourceGroup, enterpriseCustomerOperationsListBySubscription, } from "./enterpriseCustomerOperations/index.js";
|
|
6
|
+
export { enterpriseMccCacheNodesOperationsGet, enterpriseMccCacheNodesOperationsCreateOrUpdate, enterpriseMccCacheNodesOperationsUpdate, enterpriseMccCacheNodesOperationsDelete, enterpriseMccCacheNodesOperationsListByEnterpriseMccCustomerResource, enterpriseMccCacheNodesOperationsGetCacheNodeInstallDetails, } from "./enterpriseMccCacheNodesOperations/index.js";
|
|
7
|
+
export { enterpriseMccCustomersGet, enterpriseMccCustomersCreateOrUpdate, enterpriseMccCustomersUpdate, enterpriseMccCustomersDelete, enterpriseMccCustomersListByResourceGroup, enterpriseMccCustomersListBySubscription, } from "./enterpriseMccCustomers/index.js";
|
|
8
|
+
export { ispCacheNodesOperationsGet, ispCacheNodesOperationsCreateOrUpdate, ispCacheNodesOperationsUpdate, ispCacheNodesOperationsDelete, ispCacheNodesOperationsListByIspCustomerResource, ispCacheNodesOperationsGetBgpCidrs, ispCacheNodesOperationsGetCacheNodeInstallDetails, } from "./ispCacheNodesOperations/index.js";
|
|
9
|
+
export { ispCustomersGet, ispCustomersCreateOrUpdate, ispCustomersUpdate, ispCustomersDelete, ispCustomersListByResourceGroup, ispCustomersListBySubscription, } from "./ispCustomers/index.js";
|
|
10
|
+
export { operationsList } from "./operations/index.js";
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,oBAAoB,GAGrB,MAAM,4BAA4B,CAAC;AAyCpC,OAAO,EACL,uBAAuB,EACvB,kCAAkC,EAClC,0BAA0B,EAC1B,0BAA0B,EAC1B,uCAAuC,EACvC,sCAAsC,GACvC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,+BAA+B,EAC/B,0CAA0C,EAC1C,kCAAkC,EAClC,kCAAkC,EAClC,+CAA+C,EAC/C,8CAA8C,GAC/C,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,oCAAoC,EACpC,+CAA+C,EAC/C,uCAAuC,EACvC,uCAAuC,EACvC,oEAAoE,EACpE,2DAA2D,GAC5D,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,yBAAyB,EACzB,oCAAoC,EACpC,4BAA4B,EAC5B,4BAA4B,EAC5B,yCAAyC,EACzC,wCAAwC,GACzC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,0BAA0B,EAC1B,qCAAqC,EACrC,6BAA6B,EAC7B,6BAA6B,EAC7B,gDAAgD,EAChD,kCAAkC,EAClC,iDAAiD,GAClD,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,eAAe,EACf,0BAA0B,EAC1B,kBAAkB,EAClB,kBAAkB,EAClB,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n createConnectedCache,\n ConnectedCacheContext,\n ConnectedCacheClientOptionalParams,\n} from \"./connectedCacheContext.js\";\nexport {\n OperationsListOptionalParams,\n EnterpriseCustomerOperationsGetOptionalParams,\n EnterpriseCustomerOperationsCreateOrUpdateOptionalParams,\n EnterpriseCustomerOperationsUpdateOptionalParams,\n EnterpriseCustomerOperationsDeleteOptionalParams,\n EnterpriseCustomerOperationsListByResourceGroupOptionalParams,\n EnterpriseCustomerOperationsListBySubscriptionOptionalParams,\n CacheNodesOperationsGetOptionalParams,\n CacheNodesOperationsCreateorUpdateOptionalParams,\n CacheNodesOperationsDeleteOptionalParams,\n CacheNodesOperationsUpdateOptionalParams,\n CacheNodesOperationsListByResourceGroupOptionalParams,\n CacheNodesOperationsListBySubscriptionOptionalParams,\n IspCustomersGetOptionalParams,\n IspCustomersCreateOrUpdateOptionalParams,\n IspCustomersUpdateOptionalParams,\n IspCustomersDeleteOptionalParams,\n IspCustomersListByResourceGroupOptionalParams,\n IspCustomersListBySubscriptionOptionalParams,\n IspCacheNodesOperationsGetOptionalParams,\n IspCacheNodesOperationsCreateOrUpdateOptionalParams,\n IspCacheNodesOperationsUpdateOptionalParams,\n IspCacheNodesOperationsDeleteOptionalParams,\n IspCacheNodesOperationsListByIspCustomerResourceOptionalParams,\n IspCacheNodesOperationsGetBgpCidrsOptionalParams,\n IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams,\n EnterpriseMccCustomersGetOptionalParams,\n EnterpriseMccCustomersCreateOrUpdateOptionalParams,\n EnterpriseMccCustomersUpdateOptionalParams,\n EnterpriseMccCustomersDeleteOptionalParams,\n EnterpriseMccCustomersListByResourceGroupOptionalParams,\n EnterpriseMccCustomersListBySubscriptionOptionalParams,\n EnterpriseMccCacheNodesOperationsGetOptionalParams,\n EnterpriseMccCacheNodesOperationsCreateOrUpdateOptionalParams,\n EnterpriseMccCacheNodesOperationsUpdateOptionalParams,\n EnterpriseMccCacheNodesOperationsDeleteOptionalParams,\n EnterpriseMccCacheNodesOperationsListByEnterpriseMccCustomerResourceOptionalParams,\n EnterpriseMccCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams,\n} from \"./options.js\";\nexport {\n cacheNodesOperationsGet,\n cacheNodesOperationsCreateorUpdate,\n cacheNodesOperationsDelete,\n cacheNodesOperationsUpdate,\n cacheNodesOperationsListByResourceGroup,\n cacheNodesOperationsListBySubscription,\n} from \"./cacheNodesOperations/index.js\";\nexport {\n enterpriseCustomerOperationsGet,\n enterpriseCustomerOperationsCreateOrUpdate,\n enterpriseCustomerOperationsUpdate,\n enterpriseCustomerOperationsDelete,\n enterpriseCustomerOperationsListByResourceGroup,\n enterpriseCustomerOperationsListBySubscription,\n} from \"./enterpriseCustomerOperations/index.js\";\nexport {\n enterpriseMccCacheNodesOperationsGet,\n enterpriseMccCacheNodesOperationsCreateOrUpdate,\n enterpriseMccCacheNodesOperationsUpdate,\n enterpriseMccCacheNodesOperationsDelete,\n enterpriseMccCacheNodesOperationsListByEnterpriseMccCustomerResource,\n enterpriseMccCacheNodesOperationsGetCacheNodeInstallDetails,\n} from \"./enterpriseMccCacheNodesOperations/index.js\";\nexport {\n enterpriseMccCustomersGet,\n enterpriseMccCustomersCreateOrUpdate,\n enterpriseMccCustomersUpdate,\n enterpriseMccCustomersDelete,\n enterpriseMccCustomersListByResourceGroup,\n enterpriseMccCustomersListBySubscription,\n} from \"./enterpriseMccCustomers/index.js\";\nexport {\n ispCacheNodesOperationsGet,\n ispCacheNodesOperationsCreateOrUpdate,\n ispCacheNodesOperationsUpdate,\n ispCacheNodesOperationsDelete,\n ispCacheNodesOperationsListByIspCustomerResource,\n ispCacheNodesOperationsGetBgpCidrs,\n ispCacheNodesOperationsGetCacheNodeInstallDetails,\n} from \"./ispCacheNodesOperations/index.js\";\nexport {\n ispCustomersGet,\n ispCustomersCreateOrUpdate,\n ispCustomersUpdate,\n ispCustomersDelete,\n ispCustomersListByResourceGroup,\n ispCustomersListBySubscription,\n} from \"./ispCustomers/index.js\";\nexport { operationsList } from \"./operations/index.js\";\n"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ConnectedCacheContext as Client, IspCacheNodesOperationsCreateOrUpdateOptionalParams, IspCacheNodesOperationsDeleteOptionalParams, IspCacheNodesOperationsGetBgpCidrsOptionalParams, IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams, IspCacheNodesOperationsGetOptionalParams, IspCacheNodesOperationsListByIspCustomerResourceOptionalParams, IspCacheNodesOperationsUpdateOptionalParams } from "../index.js";
|
|
2
|
+
import { ConnectedCachePatchResource, MccCacheNodeInstallDetails, IspCacheNodeResource, _IspCacheNodeResourceListResult, MccCacheNodeBgpCidrDetails } from "../../models/models.js";
|
|
3
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
5
|
+
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
6
|
+
export declare function _ispCacheNodesOperationsGetSend(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, cacheNodeResourceName: string, options?: IspCacheNodesOperationsGetOptionalParams): StreamableMethod;
|
|
7
|
+
export declare function _ispCacheNodesOperationsGetDeserialize(result: PathUncheckedResponse): Promise<IspCacheNodeResource>;
|
|
8
|
+
/** This api gets ispCacheNode resource information */
|
|
9
|
+
export declare function ispCacheNodesOperationsGet(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, cacheNodeResourceName: string, options?: IspCacheNodesOperationsGetOptionalParams): Promise<IspCacheNodeResource>;
|
|
10
|
+
export declare function _ispCacheNodesOperationsCreateOrUpdateSend(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, cacheNodeResourceName: string, resource: IspCacheNodeResource, options?: IspCacheNodesOperationsCreateOrUpdateOptionalParams): StreamableMethod;
|
|
11
|
+
export declare function _ispCacheNodesOperationsCreateOrUpdateDeserialize(result: PathUncheckedResponse): Promise<IspCacheNodeResource>;
|
|
12
|
+
/** This api creates an ispCacheNode with the specified create parameters */
|
|
13
|
+
export declare function ispCacheNodesOperationsCreateOrUpdate(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, cacheNodeResourceName: string, resource: IspCacheNodeResource, options?: IspCacheNodesOperationsCreateOrUpdateOptionalParams): PollerLike<OperationState<IspCacheNodeResource>, IspCacheNodeResource>;
|
|
14
|
+
export declare function _ispCacheNodesOperationsUpdateSend(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, cacheNodeResourceName: string, properties: ConnectedCachePatchResource, options?: IspCacheNodesOperationsUpdateOptionalParams): StreamableMethod;
|
|
15
|
+
export declare function _ispCacheNodesOperationsUpdateDeserialize(result: PathUncheckedResponse): Promise<IspCacheNodeResource>;
|
|
16
|
+
/** This api updates an existing ispCacheNode resource */
|
|
17
|
+
export declare function ispCacheNodesOperationsUpdate(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, cacheNodeResourceName: string, properties: ConnectedCachePatchResource, options?: IspCacheNodesOperationsUpdateOptionalParams): Promise<IspCacheNodeResource>;
|
|
18
|
+
export declare function _ispCacheNodesOperationsDeleteSend(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, cacheNodeResourceName: string, options?: IspCacheNodesOperationsDeleteOptionalParams): StreamableMethod;
|
|
19
|
+
export declare function _ispCacheNodesOperationsDeleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
20
|
+
/** This api deletes an existing ispCacheNode resource */
|
|
21
|
+
export declare function ispCacheNodesOperationsDelete(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, cacheNodeResourceName: string, options?: IspCacheNodesOperationsDeleteOptionalParams): PollerLike<OperationState<void>, void>;
|
|
22
|
+
export declare function _ispCacheNodesOperationsListByIspCustomerResourceSend(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, options?: IspCacheNodesOperationsListByIspCustomerResourceOptionalParams): StreamableMethod;
|
|
23
|
+
export declare function _ispCacheNodesOperationsListByIspCustomerResourceDeserialize(result: PathUncheckedResponse): Promise<_IspCacheNodeResourceListResult>;
|
|
24
|
+
/** This api retrieves information about all ispCacheNode resources under the given subscription and resource group */
|
|
25
|
+
export declare function ispCacheNodesOperationsListByIspCustomerResource(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, options?: IspCacheNodesOperationsListByIspCustomerResourceOptionalParams): PagedAsyncIterableIterator<IspCacheNodeResource>;
|
|
26
|
+
export declare function _ispCacheNodesOperationsGetBgpCidrsSend(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, cacheNodeResourceName: string, options?: IspCacheNodesOperationsGetBgpCidrsOptionalParams): StreamableMethod;
|
|
27
|
+
export declare function _ispCacheNodesOperationsGetBgpCidrsDeserialize(result: PathUncheckedResponse): Promise<MccCacheNodeBgpCidrDetails>;
|
|
28
|
+
/** This api gets ispCacheNode resource information */
|
|
29
|
+
export declare function ispCacheNodesOperationsGetBgpCidrs(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, cacheNodeResourceName: string, options?: IspCacheNodesOperationsGetBgpCidrsOptionalParams): Promise<MccCacheNodeBgpCidrDetails>;
|
|
30
|
+
export declare function _ispCacheNodesOperationsGetCacheNodeInstallDetailsSend(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, cacheNodeResourceName: string, options?: IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams): StreamableMethod;
|
|
31
|
+
export declare function _ispCacheNodesOperationsGetCacheNodeInstallDetailsDeserialize(result: PathUncheckedResponse): Promise<MccCacheNodeInstallDetails>;
|
|
32
|
+
/** This api gets secrets of the ispCacheNode resource install details */
|
|
33
|
+
export declare function ispCacheNodesOperationsGetCacheNodeInstallDetails(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, cacheNodeResourceName: string, options?: IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams): Promise<MccCacheNodeInstallDetails>;
|
|
34
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/ispCacheNodesOperations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,qBAAqB,IAAI,MAAM,EAC/B,mDAAmD,EACnD,2CAA2C,EAC3C,gDAAgD,EAChD,+DAA+D,EAC/D,wCAAwC,EACxC,8DAA8D,EAC9D,2CAA2C,EAC5C,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,2BAA2B,EAE3B,0BAA0B,EAE1B,oBAAoB,EAGpB,+BAA+B,EAE/B,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBA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+DAER,GACA,OAAO,CAAC,0BAA0B,CAAC,CAUrC"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { connectedCachePatchResourceSerializer, mccCacheNodeInstallDetailsDeserializer, ispCacheNodeResourceSerializer, ispCacheNodeResourceDeserializer, _ispCacheNodeResourceListResultDeserializer, mccCacheNodeBgpCidrDetailsDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
6
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
7
|
+
export function _ispCacheNodesOperationsGetSend(context, subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName, options = { requestOptions: {} }) {
|
|
8
|
+
return context
|
|
9
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}", subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName)
|
|
10
|
+
.get(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
11
|
+
}
|
|
12
|
+
export async function _ispCacheNodesOperationsGetDeserialize(result) {
|
|
13
|
+
const expectedStatuses = ["200"];
|
|
14
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
15
|
+
throw createRestError(result);
|
|
16
|
+
}
|
|
17
|
+
return ispCacheNodeResourceDeserializer(result.body);
|
|
18
|
+
}
|
|
19
|
+
/** This api gets ispCacheNode resource information */
|
|
20
|
+
export async function ispCacheNodesOperationsGet(context, subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName, options = { requestOptions: {} }) {
|
|
21
|
+
const result = await _ispCacheNodesOperationsGetSend(context, subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName, options);
|
|
22
|
+
return _ispCacheNodesOperationsGetDeserialize(result);
|
|
23
|
+
}
|
|
24
|
+
export function _ispCacheNodesOperationsCreateOrUpdateSend(context, subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName, resource, options = {
|
|
25
|
+
requestOptions: {},
|
|
26
|
+
}) {
|
|
27
|
+
return context
|
|
28
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}", subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName)
|
|
29
|
+
.put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body: ispCacheNodeResourceSerializer(resource) }));
|
|
30
|
+
}
|
|
31
|
+
export async function _ispCacheNodesOperationsCreateOrUpdateDeserialize(result) {
|
|
32
|
+
const expectedStatuses = ["200", "201"];
|
|
33
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
34
|
+
throw createRestError(result);
|
|
35
|
+
}
|
|
36
|
+
return ispCacheNodeResourceDeserializer(result.body);
|
|
37
|
+
}
|
|
38
|
+
/** This api creates an ispCacheNode with the specified create parameters */
|
|
39
|
+
export function ispCacheNodesOperationsCreateOrUpdate(context, subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName, resource, options = {
|
|
40
|
+
requestOptions: {},
|
|
41
|
+
}) {
|
|
42
|
+
return getLongRunningPoller(context, _ispCacheNodesOperationsCreateOrUpdateDeserialize, ["200", "201"], {
|
|
43
|
+
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
44
|
+
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
45
|
+
getInitialResponse: () => _ispCacheNodesOperationsCreateOrUpdateSend(context, subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName, resource, options),
|
|
46
|
+
resourceLocationConfig: "azure-async-operation",
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
export function _ispCacheNodesOperationsUpdateSend(context, subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName, properties, options = { requestOptions: {} }) {
|
|
50
|
+
return context
|
|
51
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}", subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName)
|
|
52
|
+
.patch(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body: connectedCachePatchResourceSerializer(properties) }));
|
|
53
|
+
}
|
|
54
|
+
export async function _ispCacheNodesOperationsUpdateDeserialize(result) {
|
|
55
|
+
const expectedStatuses = ["200"];
|
|
56
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
57
|
+
throw createRestError(result);
|
|
58
|
+
}
|
|
59
|
+
return ispCacheNodeResourceDeserializer(result.body);
|
|
60
|
+
}
|
|
61
|
+
/** This api updates an existing ispCacheNode resource */
|
|
62
|
+
export async function ispCacheNodesOperationsUpdate(context, subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName, properties, options = { requestOptions: {} }) {
|
|
63
|
+
const result = await _ispCacheNodesOperationsUpdateSend(context, subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName, properties, options);
|
|
64
|
+
return _ispCacheNodesOperationsUpdateDeserialize(result);
|
|
65
|
+
}
|
|
66
|
+
export function _ispCacheNodesOperationsDeleteSend(context, subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName, options = { requestOptions: {} }) {
|
|
67
|
+
return context
|
|
68
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}", subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName)
|
|
69
|
+
.delete(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
70
|
+
}
|
|
71
|
+
export async function _ispCacheNodesOperationsDeleteDeserialize(result) {
|
|
72
|
+
const expectedStatuses = ["202", "204", "200"];
|
|
73
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
74
|
+
throw createRestError(result);
|
|
75
|
+
}
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
/** This api deletes an existing ispCacheNode resource */
|
|
79
|
+
export function ispCacheNodesOperationsDelete(context, subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName, options = { requestOptions: {} }) {
|
|
80
|
+
return getLongRunningPoller(context, _ispCacheNodesOperationsDeleteDeserialize, ["202", "204", "200"], {
|
|
81
|
+
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
82
|
+
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
83
|
+
getInitialResponse: () => _ispCacheNodesOperationsDeleteSend(context, subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName, options),
|
|
84
|
+
resourceLocationConfig: "location",
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
export function _ispCacheNodesOperationsListByIspCustomerResourceSend(context, subscriptionId, resourceGroupName, customerResourceName, options = {
|
|
88
|
+
requestOptions: {},
|
|
89
|
+
}) {
|
|
90
|
+
return context
|
|
91
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes", subscriptionId, resourceGroupName, customerResourceName)
|
|
92
|
+
.get(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
93
|
+
}
|
|
94
|
+
export async function _ispCacheNodesOperationsListByIspCustomerResourceDeserialize(result) {
|
|
95
|
+
const expectedStatuses = ["200"];
|
|
96
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
97
|
+
throw createRestError(result);
|
|
98
|
+
}
|
|
99
|
+
return _ispCacheNodeResourceListResultDeserializer(result.body);
|
|
100
|
+
}
|
|
101
|
+
/** This api retrieves information about all ispCacheNode resources under the given subscription and resource group */
|
|
102
|
+
export function ispCacheNodesOperationsListByIspCustomerResource(context, subscriptionId, resourceGroupName, customerResourceName, options = {
|
|
103
|
+
requestOptions: {},
|
|
104
|
+
}) {
|
|
105
|
+
return buildPagedAsyncIterator(context, () => _ispCacheNodesOperationsListByIspCustomerResourceSend(context, subscriptionId, resourceGroupName, customerResourceName, options), _ispCacheNodesOperationsListByIspCustomerResourceDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
106
|
+
}
|
|
107
|
+
export function _ispCacheNodesOperationsGetBgpCidrsSend(context, subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName, options = {
|
|
108
|
+
requestOptions: {},
|
|
109
|
+
}) {
|
|
110
|
+
return context
|
|
111
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}/getBgpCidrs", subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName)
|
|
112
|
+
.post(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
113
|
+
}
|
|
114
|
+
export async function _ispCacheNodesOperationsGetBgpCidrsDeserialize(result) {
|
|
115
|
+
const expectedStatuses = ["200"];
|
|
116
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
117
|
+
throw createRestError(result);
|
|
118
|
+
}
|
|
119
|
+
return mccCacheNodeBgpCidrDetailsDeserializer(result.body);
|
|
120
|
+
}
|
|
121
|
+
/** This api gets ispCacheNode resource information */
|
|
122
|
+
export async function ispCacheNodesOperationsGetBgpCidrs(context, subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName, options = {
|
|
123
|
+
requestOptions: {},
|
|
124
|
+
}) {
|
|
125
|
+
const result = await _ispCacheNodesOperationsGetBgpCidrsSend(context, subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName, options);
|
|
126
|
+
return _ispCacheNodesOperationsGetBgpCidrsDeserialize(result);
|
|
127
|
+
}
|
|
128
|
+
export function _ispCacheNodesOperationsGetCacheNodeInstallDetailsSend(context, subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName, options = {
|
|
129
|
+
requestOptions: {},
|
|
130
|
+
}) {
|
|
131
|
+
return context
|
|
132
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}/getCacheNodeInstallDetails", subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName)
|
|
133
|
+
.post(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
134
|
+
}
|
|
135
|
+
export async function _ispCacheNodesOperationsGetCacheNodeInstallDetailsDeserialize(result) {
|
|
136
|
+
const expectedStatuses = ["200"];
|
|
137
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
138
|
+
throw createRestError(result);
|
|
139
|
+
}
|
|
140
|
+
return mccCacheNodeInstallDetailsDeserializer(result.body);
|
|
141
|
+
}
|
|
142
|
+
/** This api gets secrets of the ispCacheNode resource install details */
|
|
143
|
+
export async function ispCacheNodesOperationsGetCacheNodeInstallDetails(context, subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName, options = {
|
|
144
|
+
requestOptions: {},
|
|
145
|
+
}) {
|
|
146
|
+
const result = await _ispCacheNodesOperationsGetCacheNodeInstallDetailsSend(context, subscriptionId, resourceGroupName, customerResourceName, cacheNodeResourceName, options);
|
|
147
|
+
return _ispCacheNodesOperationsGetCacheNodeInstallDetailsDeserialize(result);
|
|
148
|
+
}
|
|
149
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/ispCacheNodesOperations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAYlC,OAAO,EAEL,qCAAqC,EAErC,sCAAsC,EAEtC,8BAA8B,EAC9B,gCAAgC,EAEhC,2CAA2C,EAE3C,sCAAsC,GACvC,MAAM,wBAAwB,CAA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AAsD,CACzE,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,CACR,CAAC;IACF,OAAO,6DAA6D,CAAC,MAAM,CAAC,CAAC;AAC/E,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n ConnectedCacheContext as Client,\n IspCacheNodesOperationsCreateOrUpdateOptionalParams,\n IspCacheNodesOperationsDeleteOptionalParams,\n IspCacheNodesOperationsGetBgpCidrsOptionalParams,\n IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams,\n IspCacheNodesOperationsGetOptionalParams,\n IspCacheNodesOperationsListByIspCustomerResourceOptionalParams,\n IspCacheNodesOperationsUpdateOptionalParams,\n} from \"../index.js\";\nimport {\n ConnectedCachePatchResource,\n connectedCachePatchResourceSerializer,\n MccCacheNodeInstallDetails,\n mccCacheNodeInstallDetailsDeserializer,\n IspCacheNodeResource,\n ispCacheNodeResourceSerializer,\n ispCacheNodeResourceDeserializer,\n _IspCacheNodeResourceListResult,\n _ispCacheNodeResourceListResultDeserializer,\n MccCacheNodeBgpCidrDetails,\n mccCacheNodeBgpCidrDetailsDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _ispCacheNodesOperationsGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCacheNodesOperationsGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<IspCacheNodeResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return ispCacheNodeResourceDeserializer(result.body);\n}\n\n/** This api gets ispCacheNode resource information */\nexport async function ispCacheNodesOperationsGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsGetOptionalParams = { requestOptions: {} },\n): Promise<IspCacheNodeResource> {\n const result = await _ispCacheNodesOperationsGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n );\n return _ispCacheNodesOperationsGetDeserialize(result);\n}\n\nexport function _ispCacheNodesOperationsCreateOrUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n resource: IspCacheNodeResource,\n options: IspCacheNodesOperationsCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: ispCacheNodeResourceSerializer(resource),\n });\n}\n\nexport async function _ispCacheNodesOperationsCreateOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<IspCacheNodeResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return ispCacheNodeResourceDeserializer(result.body);\n}\n\n/** This api creates an ispCacheNode with the specified create parameters */\nexport function ispCacheNodesOperationsCreateOrUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n resource: IspCacheNodeResource,\n options: IspCacheNodesOperationsCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<IspCacheNodeResource>, IspCacheNodeResource> {\n return getLongRunningPoller(\n context,\n _ispCacheNodesOperationsCreateOrUpdateDeserialize,\n [\"200\", \"201\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _ispCacheNodesOperationsCreateOrUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n },\n ) as PollerLike<OperationState<IspCacheNodeResource>, IspCacheNodeResource>;\n}\n\nexport function _ispCacheNodesOperationsUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n properties: ConnectedCachePatchResource,\n options: IspCacheNodesOperationsUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n )\n .patch({\n ...operationOptionsToRequestParameters(options),\n body: connectedCachePatchResourceSerializer(properties),\n });\n}\n\nexport async function _ispCacheNodesOperationsUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<IspCacheNodeResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return ispCacheNodeResourceDeserializer(result.body);\n}\n\n/** This api updates an existing ispCacheNode resource */\nexport async function ispCacheNodesOperationsUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n properties: ConnectedCachePatchResource,\n options: IspCacheNodesOperationsUpdateOptionalParams = { requestOptions: {} },\n): Promise<IspCacheNodeResource> {\n const result = await _ispCacheNodesOperationsUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n properties,\n options,\n );\n return _ispCacheNodesOperationsUpdateDeserialize(result);\n}\n\nexport function _ispCacheNodesOperationsDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCacheNodesOperationsDeleteDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** This api deletes an existing ispCacheNode resource */\nexport function ispCacheNodesOperationsDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(\n context,\n _ispCacheNodesOperationsDeleteDeserialize,\n [\"202\", \"204\", \"200\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _ispCacheNodesOperationsDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n ),\n resourceLocationConfig: \"location\",\n },\n ) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _ispCacheNodesOperationsListByIspCustomerResourceSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: IspCacheNodesOperationsListByIspCustomerResourceOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCacheNodesOperationsListByIspCustomerResourceDeserialize(\n result: PathUncheckedResponse,\n): Promise<_IspCacheNodeResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _ispCacheNodeResourceListResultDeserializer(result.body);\n}\n\n/** This api retrieves information about all ispCacheNode resources under the given subscription and resource group */\nexport function ispCacheNodesOperationsListByIspCustomerResource(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: IspCacheNodesOperationsListByIspCustomerResourceOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<IspCacheNodeResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _ispCacheNodesOperationsListByIspCustomerResourceSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n _ispCacheNodesOperationsListByIspCustomerResourceDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _ispCacheNodesOperationsGetBgpCidrsSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsGetBgpCidrsOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}/getBgpCidrs\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n )\n .post({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCacheNodesOperationsGetBgpCidrsDeserialize(\n result: PathUncheckedResponse,\n): Promise<MccCacheNodeBgpCidrDetails> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return mccCacheNodeBgpCidrDetailsDeserializer(result.body);\n}\n\n/** This api gets ispCacheNode resource information */\nexport async function ispCacheNodesOperationsGetBgpCidrs(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsGetBgpCidrsOptionalParams = {\n requestOptions: {},\n },\n): Promise<MccCacheNodeBgpCidrDetails> {\n const result = await _ispCacheNodesOperationsGetBgpCidrsSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n );\n return _ispCacheNodesOperationsGetBgpCidrsDeserialize(result);\n}\n\nexport function _ispCacheNodesOperationsGetCacheNodeInstallDetailsSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}/getCacheNodeInstallDetails\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n )\n .post({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCacheNodesOperationsGetCacheNodeInstallDetailsDeserialize(\n result: PathUncheckedResponse,\n): Promise<MccCacheNodeInstallDetails> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return mccCacheNodeInstallDetailsDeserializer(result.body);\n}\n\n/** This api gets secrets of the ispCacheNode resource install details */\nexport async function ispCacheNodesOperationsGetCacheNodeInstallDetails(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams = {\n requestOptions: {},\n },\n): Promise<MccCacheNodeInstallDetails> {\n const result = await _ispCacheNodesOperationsGetCacheNodeInstallDetailsSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n );\n return _ispCacheNodesOperationsGetCacheNodeInstallDetailsDeserialize(result);\n}\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ConnectedCacheContext as Client, IspCustomersCreateOrUpdateOptionalParams, IspCustomersDeleteOptionalParams, IspCustomersGetOptionalParams, IspCustomersListByResourceGroupOptionalParams, IspCustomersListBySubscriptionOptionalParams, IspCustomersUpdateOptionalParams } from "../index.js";
|
|
2
|
+
import { ConnectedCachePatchResource, IspCustomerResource, _IspCustomerResourceListResult } from "../../models/models.js";
|
|
3
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
5
|
+
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
6
|
+
export declare function _ispCustomersGetSend(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, options?: IspCustomersGetOptionalParams): StreamableMethod;
|
|
7
|
+
export declare function _ispCustomersGetDeserialize(result: PathUncheckedResponse): Promise<IspCustomerResource>;
|
|
8
|
+
/** Gets the ispCustomer resource information using this get call */
|
|
9
|
+
export declare function ispCustomersGet(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, options?: IspCustomersGetOptionalParams): Promise<IspCustomerResource>;
|
|
10
|
+
export declare function _ispCustomersCreateOrUpdateSend(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, resource: IspCustomerResource, options?: IspCustomersCreateOrUpdateOptionalParams): StreamableMethod;
|
|
11
|
+
export declare function _ispCustomersCreateOrUpdateDeserialize(result: PathUncheckedResponse): Promise<IspCustomerResource>;
|
|
12
|
+
/** This api creates an ispCustomer with the specified create parameters */
|
|
13
|
+
export declare function ispCustomersCreateOrUpdate(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, resource: IspCustomerResource, options?: IspCustomersCreateOrUpdateOptionalParams): PollerLike<OperationState<IspCustomerResource>, IspCustomerResource>;
|
|
14
|
+
export declare function _ispCustomersUpdateSend(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, properties: ConnectedCachePatchResource, options?: IspCustomersUpdateOptionalParams): StreamableMethod;
|
|
15
|
+
export declare function _ispCustomersUpdateDeserialize(result: PathUncheckedResponse): Promise<IspCustomerResource>;
|
|
16
|
+
/** This api updates an existing ispCustomer resource */
|
|
17
|
+
export declare function ispCustomersUpdate(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, properties: ConnectedCachePatchResource, options?: IspCustomersUpdateOptionalParams): Promise<IspCustomerResource>;
|
|
18
|
+
export declare function _ispCustomersDeleteSend(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, options?: IspCustomersDeleteOptionalParams): StreamableMethod;
|
|
19
|
+
export declare function _ispCustomersDeleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
20
|
+
/** This api deletes an existing ispCustomer resource */
|
|
21
|
+
export declare function ispCustomersDelete(context: Client, subscriptionId: string, resourceGroupName: string, customerResourceName: string, options?: IspCustomersDeleteOptionalParams): PollerLike<OperationState<void>, void>;
|
|
22
|
+
export declare function _ispCustomersListByResourceGroupSend(context: Client, subscriptionId: string, resourceGroupName: string, options?: IspCustomersListByResourceGroupOptionalParams): StreamableMethod;
|
|
23
|
+
export declare function _ispCustomersListByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_IspCustomerResourceListResult>;
|
|
24
|
+
/** This api gets the information about all ispCustomer resources under the given subscription and resource group */
|
|
25
|
+
export declare function ispCustomersListByResourceGroup(context: Client, subscriptionId: string, resourceGroupName: string, options?: IspCustomersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<IspCustomerResource>;
|
|
26
|
+
export declare function _ispCustomersListBySubscriptionSend(context: Client, subscriptionId: string, options?: IspCustomersListBySubscriptionOptionalParams): StreamableMethod;
|
|
27
|
+
export declare function _ispCustomersListBySubscriptionDeserialize(result: PathUncheckedResponse): Promise<_IspCustomerResourceListResult>;
|
|
28
|
+
/** This api gets information about all ispCustomer resources under the given subscription */
|
|
29
|
+
export declare function ispCustomersListBySubscription(context: Client, subscriptionId: string, options?: IspCustomersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<IspCustomerResource>;
|
|
30
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/ispCustomers/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,qBAAqB,IAAI,MAAM,EAC/B,wCAAwC,EACxC,gCAAgC,EAChC,6BAA6B,EAC7B,6CAA6C,EAC7C,4CAA4C,EAC5C,gCAAgC,EACjC,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,2BAA2B,EAE3B,mBAAmB,EAGnB,8BAA8B,EAE/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE7D,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,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;AAED,wBAAsB,0CAA0C,CAC9D,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,8BAA8B,CAAC,CAOzC;AAED,6FAA6F;AAC7F,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,OAAO,GAAE,4CAER,GACA,0BAA0B,CAAC,mBAAmB,CAAC,CAQjD"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { connectedCachePatchResourceSerializer, ispCustomerResourceSerializer, ispCustomerResourceDeserializer, _ispCustomerResourceListResultDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
6
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
7
|
+
export function _ispCustomersGetSend(context, subscriptionId, resourceGroupName, customerResourceName, options = { requestOptions: {} }) {
|
|
8
|
+
return context
|
|
9
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}", subscriptionId, resourceGroupName, customerResourceName)
|
|
10
|
+
.get(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
11
|
+
}
|
|
12
|
+
export async function _ispCustomersGetDeserialize(result) {
|
|
13
|
+
const expectedStatuses = ["200"];
|
|
14
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
15
|
+
throw createRestError(result);
|
|
16
|
+
}
|
|
17
|
+
return ispCustomerResourceDeserializer(result.body);
|
|
18
|
+
}
|
|
19
|
+
/** Gets the ispCustomer resource information using this get call */
|
|
20
|
+
export async function ispCustomersGet(context, subscriptionId, resourceGroupName, customerResourceName, options = { requestOptions: {} }) {
|
|
21
|
+
const result = await _ispCustomersGetSend(context, subscriptionId, resourceGroupName, customerResourceName, options);
|
|
22
|
+
return _ispCustomersGetDeserialize(result);
|
|
23
|
+
}
|
|
24
|
+
export function _ispCustomersCreateOrUpdateSend(context, subscriptionId, resourceGroupName, customerResourceName, resource, options = { requestOptions: {} }) {
|
|
25
|
+
return context
|
|
26
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}", subscriptionId, resourceGroupName, customerResourceName)
|
|
27
|
+
.put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body: ispCustomerResourceSerializer(resource) }));
|
|
28
|
+
}
|
|
29
|
+
export async function _ispCustomersCreateOrUpdateDeserialize(result) {
|
|
30
|
+
const expectedStatuses = ["200", "201"];
|
|
31
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
32
|
+
throw createRestError(result);
|
|
33
|
+
}
|
|
34
|
+
return ispCustomerResourceDeserializer(result.body);
|
|
35
|
+
}
|
|
36
|
+
/** This api creates an ispCustomer with the specified create parameters */
|
|
37
|
+
export function ispCustomersCreateOrUpdate(context, subscriptionId, resourceGroupName, customerResourceName, resource, options = { requestOptions: {} }) {
|
|
38
|
+
return getLongRunningPoller(context, _ispCustomersCreateOrUpdateDeserialize, ["200", "201"], {
|
|
39
|
+
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
40
|
+
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
41
|
+
getInitialResponse: () => _ispCustomersCreateOrUpdateSend(context, subscriptionId, resourceGroupName, customerResourceName, resource, options),
|
|
42
|
+
resourceLocationConfig: "azure-async-operation",
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
export function _ispCustomersUpdateSend(context, subscriptionId, resourceGroupName, customerResourceName, properties, options = { requestOptions: {} }) {
|
|
46
|
+
return context
|
|
47
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}", subscriptionId, resourceGroupName, customerResourceName)
|
|
48
|
+
.patch(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body: connectedCachePatchResourceSerializer(properties) }));
|
|
49
|
+
}
|
|
50
|
+
export async function _ispCustomersUpdateDeserialize(result) {
|
|
51
|
+
const expectedStatuses = ["200"];
|
|
52
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
53
|
+
throw createRestError(result);
|
|
54
|
+
}
|
|
55
|
+
return ispCustomerResourceDeserializer(result.body);
|
|
56
|
+
}
|
|
57
|
+
/** This api updates an existing ispCustomer resource */
|
|
58
|
+
export async function ispCustomersUpdate(context, subscriptionId, resourceGroupName, customerResourceName, properties, options = { requestOptions: {} }) {
|
|
59
|
+
const result = await _ispCustomersUpdateSend(context, subscriptionId, resourceGroupName, customerResourceName, properties, options);
|
|
60
|
+
return _ispCustomersUpdateDeserialize(result);
|
|
61
|
+
}
|
|
62
|
+
export function _ispCustomersDeleteSend(context, subscriptionId, resourceGroupName, customerResourceName, options = { requestOptions: {} }) {
|
|
63
|
+
return context
|
|
64
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}", subscriptionId, resourceGroupName, customerResourceName)
|
|
65
|
+
.delete(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
66
|
+
}
|
|
67
|
+
export async function _ispCustomersDeleteDeserialize(result) {
|
|
68
|
+
const expectedStatuses = ["202", "204", "200"];
|
|
69
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
70
|
+
throw createRestError(result);
|
|
71
|
+
}
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
/** This api deletes an existing ispCustomer resource */
|
|
75
|
+
export function ispCustomersDelete(context, subscriptionId, resourceGroupName, customerResourceName, options = { requestOptions: {} }) {
|
|
76
|
+
return getLongRunningPoller(context, _ispCustomersDeleteDeserialize, ["202", "204", "200"], {
|
|
77
|
+
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
78
|
+
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
79
|
+
getInitialResponse: () => _ispCustomersDeleteSend(context, subscriptionId, resourceGroupName, customerResourceName, options),
|
|
80
|
+
resourceLocationConfig: "location",
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
export function _ispCustomersListByResourceGroupSend(context, subscriptionId, resourceGroupName, options = {
|
|
84
|
+
requestOptions: {},
|
|
85
|
+
}) {
|
|
86
|
+
return context
|
|
87
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers", subscriptionId, resourceGroupName)
|
|
88
|
+
.get(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
89
|
+
}
|
|
90
|
+
export async function _ispCustomersListByResourceGroupDeserialize(result) {
|
|
91
|
+
const expectedStatuses = ["200"];
|
|
92
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
93
|
+
throw createRestError(result);
|
|
94
|
+
}
|
|
95
|
+
return _ispCustomerResourceListResultDeserializer(result.body);
|
|
96
|
+
}
|
|
97
|
+
/** This api gets the information about all ispCustomer resources under the given subscription and resource group */
|
|
98
|
+
export function ispCustomersListByResourceGroup(context, subscriptionId, resourceGroupName, options = {
|
|
99
|
+
requestOptions: {},
|
|
100
|
+
}) {
|
|
101
|
+
return buildPagedAsyncIterator(context, () => _ispCustomersListByResourceGroupSend(context, subscriptionId, resourceGroupName, options), _ispCustomersListByResourceGroupDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
102
|
+
}
|
|
103
|
+
export function _ispCustomersListBySubscriptionSend(context, subscriptionId, options = {
|
|
104
|
+
requestOptions: {},
|
|
105
|
+
}) {
|
|
106
|
+
return context
|
|
107
|
+
.path("/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedCache/ispCustomers", subscriptionId)
|
|
108
|
+
.get(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
109
|
+
}
|
|
110
|
+
export async function _ispCustomersListBySubscriptionDeserialize(result) {
|
|
111
|
+
const expectedStatuses = ["200"];
|
|
112
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
113
|
+
throw createRestError(result);
|
|
114
|
+
}
|
|
115
|
+
return _ispCustomerResourceListResultDeserializer(result.body);
|
|
116
|
+
}
|
|
117
|
+
/** This api gets information about all ispCustomer resources under the given subscription */
|
|
118
|
+
export function ispCustomersListBySubscription(context, subscriptionId, options = {
|
|
119
|
+
requestOptions: {},
|
|
120
|
+
}) {
|
|
121
|
+
return buildPagedAsyncIterator(context, () => _ispCustomersListBySubscriptionSend(context, subscriptionId, options), _ispCustomersListBySubscriptionDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
122
|
+
}
|
|
123
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/ispCustomers/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAWlC,OAAO,EAEL,qCAAqC,EAErC,6BAA6B,EAC7B,+BAA+B,EAE/B,0CAA0C,GAC3C,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAGjC,MAAM,UAAU,oBAAoB,CAClC,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,oBAA4B,EAC5B,UAAyC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE/D,OAAO,OAAO;SACX,IAAI,CACH,2IAA2I,EAC3I,cAAc,EACd,iBAAiB,EACjB,oBAAoB,CACrB;SACA,GAAG,mBAAM,mCAAmC,CAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KA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AE;CACnB;IAED,OAAO,OAAO;SACX,IAAI,CACH,iFAAiF,EACjF,cAAc,CACf;SACA,GAAG,mBAAM,mCAAmC,CAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,0CAA0C,CAC9D,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,0CAA0C,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACjE,CAAC;AAED,6FAA6F;AAC7F,MAAM,UAAU,8BAA8B,CAC5C,OAAe,EACf,cAAsB,EACtB,UAAwD;IACtD,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,mCAAmC,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC,EAC3E,0CAA0C,EAC1C,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n ConnectedCacheContext as Client,\n IspCustomersCreateOrUpdateOptionalParams,\n IspCustomersDeleteOptionalParams,\n IspCustomersGetOptionalParams,\n IspCustomersListByResourceGroupOptionalParams,\n IspCustomersListBySubscriptionOptionalParams,\n IspCustomersUpdateOptionalParams,\n} from \"../index.js\";\nimport {\n ConnectedCachePatchResource,\n connectedCachePatchResourceSerializer,\n IspCustomerResource,\n ispCustomerResourceSerializer,\n ispCustomerResourceDeserializer,\n _IspCustomerResourceListResult,\n _ispCustomerResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _ispCustomersGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: IspCustomersGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCustomersGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<IspCustomerResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return ispCustomerResourceDeserializer(result.body);\n}\n\n/** Gets the ispCustomer resource information using this get call */\nexport async function ispCustomersGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: IspCustomersGetOptionalParams = { requestOptions: {} },\n): Promise<IspCustomerResource> {\n const result = await _ispCustomersGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n );\n return _ispCustomersGetDeserialize(result);\n}\n\nexport function _ispCustomersCreateOrUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n resource: IspCustomerResource,\n options: IspCustomersCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: ispCustomerResourceSerializer(resource),\n });\n}\n\nexport async function _ispCustomersCreateOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<IspCustomerResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return ispCustomerResourceDeserializer(result.body);\n}\n\n/** This api creates an ispCustomer with the specified create parameters */\nexport function ispCustomersCreateOrUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n resource: IspCustomerResource,\n options: IspCustomersCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<IspCustomerResource>, IspCustomerResource> {\n return getLongRunningPoller(context, _ispCustomersCreateOrUpdateDeserialize, [\"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _ispCustomersCreateOrUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n }) as PollerLike<OperationState<IspCustomerResource>, IspCustomerResource>;\n}\n\nexport function _ispCustomersUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options: IspCustomersUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .patch({\n ...operationOptionsToRequestParameters(options),\n body: connectedCachePatchResourceSerializer(properties),\n });\n}\n\nexport async function _ispCustomersUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<IspCustomerResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return ispCustomerResourceDeserializer(result.body);\n}\n\n/** This api updates an existing ispCustomer resource */\nexport async function ispCustomersUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options: IspCustomersUpdateOptionalParams = { requestOptions: {} },\n): Promise<IspCustomerResource> {\n const result = await _ispCustomersUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n properties,\n options,\n );\n return _ispCustomersUpdateDeserialize(result);\n}\n\nexport function _ispCustomersDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: IspCustomersDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCustomersDeleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** This api deletes an existing ispCustomer resource */\nexport function ispCustomersDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: IspCustomersDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _ispCustomersDeleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _ispCustomersDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _ispCustomersListByResourceGroupSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: IspCustomersListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers\",\n subscriptionId,\n resourceGroupName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCustomersListByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_IspCustomerResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _ispCustomerResourceListResultDeserializer(result.body);\n}\n\n/** This api gets the information about all ispCustomer resources under the given subscription and resource group */\nexport function ispCustomersListByResourceGroup(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: IspCustomersListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<IspCustomerResource> {\n return buildPagedAsyncIterator(\n context,\n () => _ispCustomersListByResourceGroupSend(context, subscriptionId, resourceGroupName, options),\n _ispCustomersListByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _ispCustomersListBySubscriptionSend(\n context: Client,\n subscriptionId: string,\n options: IspCustomersListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedCache/ispCustomers\",\n subscriptionId,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCustomersListBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_IspCustomerResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _ispCustomerResourceListResultDeserializer(result.body);\n}\n\n/** This api gets information about all ispCustomer resources under the given subscription */\nexport function ispCustomersListBySubscription(\n context: Client,\n subscriptionId: string,\n options: IspCustomersListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<IspCustomerResource> {\n return buildPagedAsyncIterator(\n context,\n () => _ispCustomersListBySubscriptionSend(context, subscriptionId, options),\n _ispCustomersListBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ConnectedCacheContext as Client, OperationsListOptionalParams } from "../index.js";
|
|
2
|
+
import { _OperationListResult, Operation } from "../../models/models.js";
|
|
3
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
5
|
+
export declare function _operationsListSend(context: Client, options?: OperationsListOptionalParams): StreamableMethod;
|
|
6
|
+
export declare function _operationsListDeserialize(result: PathUncheckedResponse): Promise<_OperationListResult>;
|
|
7
|
+
/** List the operations for the provider */
|
|
8
|
+
export declare function operationsList(context: Client, options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,IAAI,MAAM,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAC;AAC5F,OAAO,EACL,oBAAoB,EAEpB,SAAS,EACV,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AAEjC,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,4BAAqD,GAC7D,gBAAgB,CAIlB;AAED,wBAAsB,0BAA0B,CAC9C,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,oBAAoB,CAAC,CAO/B;AAED,2CAA2C;AAC3C,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,4BAAqD,GAC7D,0BAA0B,CAAC,SAAS,CAAC,CAQvC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { _operationListResultDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
6
|
+
export function _operationsListSend(context, options = { requestOptions: {} }) {
|
|
7
|
+
return context
|
|
8
|
+
.path("/providers/Microsoft.ConnectedCache/operations")
|
|
9
|
+
.get(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
10
|
+
}
|
|
11
|
+
export async function _operationsListDeserialize(result) {
|
|
12
|
+
const expectedStatuses = ["200"];
|
|
13
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
14
|
+
throw createRestError(result);
|
|
15
|
+
}
|
|
16
|
+
return _operationListResultDeserializer(result.body);
|
|
17
|
+
}
|
|
18
|
+
/** List the operations for the provider */
|
|
19
|
+
export function operationsList(context, options = { requestOptions: {} }) {
|
|
20
|
+
return buildPagedAsyncIterator(context, () => _operationsListSend(context, options), _operationsListDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=index.js.map
|