@azure/arm-redisenterprisecache 4.0.0 → 5.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/dist/browser/api/accessPolicyAssignment/index.d.ts +3 -0
- package/dist/browser/api/accessPolicyAssignment/index.js +4 -0
- package/dist/browser/api/accessPolicyAssignment/index.js.map +1 -0
- package/dist/browser/api/accessPolicyAssignment/operations.d.ts +23 -0
- package/dist/browser/api/accessPolicyAssignment/operations.js +139 -0
- package/dist/browser/api/accessPolicyAssignment/operations.js.map +1 -0
- package/dist/browser/api/accessPolicyAssignment/options.d.ts +18 -0
- package/dist/{react-native/operationsInterfaces/databases.js → browser/api/accessPolicyAssignment/options.js} +1 -1
- package/dist/browser/api/accessPolicyAssignment/options.js.map +1 -0
- package/dist/browser/api/databases/index.d.ts +3 -0
- package/dist/browser/api/databases/index.js +4 -0
- package/dist/browser/api/databases/index.js.map +1 -0
- package/dist/browser/api/databases/operations.d.ts +59 -0
- package/dist/browser/api/databases/operations.js +444 -0
- package/dist/browser/api/databases/operations.js.map +1 -0
- package/dist/browser/api/databases/options.d.ts +64 -0
- package/dist/browser/{operationsInterfaces/databases.js → api/databases/options.js} +1 -1
- package/dist/browser/api/databases/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +3 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/migration/index.d.ts +3 -0
- package/dist/browser/api/migration/index.js +4 -0
- package/dist/browser/api/migration/index.js.map +1 -0
- package/dist/browser/api/migration/operations.d.ts +23 -0
- package/dist/browser/api/migration/operations.js +132 -0
- package/dist/browser/api/migration/operations.js.map +1 -0
- package/dist/browser/api/migration/options.d.ts +18 -0
- package/dist/{esm/operationsInterfaces/databases.js → browser/api/migration/options.js} +1 -1
- package/dist/browser/api/migration/options.js.map +1 -0
- package/dist/browser/api/migrations/index.d.ts +3 -0
- package/dist/browser/api/migrations/index.js +4 -0
- package/dist/browser/api/migrations/index.js.map +1 -0
- package/dist/browser/api/migrations/operations.d.ts +9 -0
- package/dist/browser/api/migrations/operations.js +36 -0
- package/dist/browser/api/migrations/operations.js.map +1 -0
- package/dist/browser/api/migrations/options.d.ts +5 -0
- package/dist/browser/{operationsInterfaces/operations.js → api/migrations/options.js} +1 -1
- package/dist/browser/api/migrations/options.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/api/operations/index.js +4 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.js +35 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/operationsStatus/index.d.ts +3 -0
- package/dist/browser/{operationsInterfaces/accessPolicyAssignmentOperations.js → api/operationsStatus/index.js} +2 -2
- package/dist/browser/api/operationsStatus/index.js.map +1 -0
- package/dist/browser/api/operationsStatus/operations.d.ts +9 -0
- package/dist/browser/api/operationsStatus/operations.js +34 -0
- package/dist/browser/api/operationsStatus/operations.js.map +1 -0
- package/dist/browser/api/operationsStatus/options.d.ts +5 -0
- package/dist/browser/api/operationsStatus/options.js +4 -0
- package/dist/browser/api/operationsStatus/options.js.map +1 -0
- package/dist/browser/api/privateEndpointConnections/index.d.ts +3 -0
- package/dist/browser/api/privateEndpointConnections/index.js +4 -0
- package/dist/browser/api/privateEndpointConnections/index.js.map +1 -0
- package/dist/browser/api/privateEndpointConnections/operations.d.ts +23 -0
- package/dist/browser/api/privateEndpointConnections/operations.js +135 -0
- package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -0
- package/dist/browser/api/privateEndpointConnections/options.d.ts +18 -0
- package/dist/browser/api/privateEndpointConnections/options.js +4 -0
- package/dist/browser/api/privateEndpointConnections/options.js.map +1 -0
- package/dist/browser/api/privateLinkResources/index.d.ts +3 -0
- package/dist/browser/api/privateLinkResources/index.js +4 -0
- package/dist/browser/api/privateLinkResources/index.js.map +1 -0
- package/dist/browser/api/privateLinkResources/operations.d.ts +10 -0
- package/dist/browser/api/privateLinkResources/operations.js +38 -0
- package/dist/browser/api/privateLinkResources/operations.js.map +1 -0
- package/dist/browser/api/privateLinkResources/options.d.ts +5 -0
- package/dist/browser/api/privateLinkResources/options.js +4 -0
- package/dist/browser/api/privateLinkResources/options.js.map +1 -0
- package/dist/browser/api/redisEnterprise/index.d.ts +3 -0
- package/dist/browser/api/redisEnterprise/index.js +4 -0
- package/dist/browser/api/redisEnterprise/index.js.map +1 -0
- package/dist/browser/api/redisEnterprise/operations.d.ts +35 -0
- package/dist/browser/api/redisEnterprise/operations.js +223 -0
- package/dist/browser/api/redisEnterprise/operations.js.map +1 -0
- package/dist/browser/api/redisEnterprise/options.d.ts +29 -0
- package/dist/browser/api/redisEnterprise/options.js +4 -0
- package/dist/browser/api/redisEnterprise/options.js.map +1 -0
- package/dist/browser/api/redisEnterpriseManagementContext.d.ts +22 -0
- package/dist/browser/api/redisEnterpriseManagementContext.js +26 -0
- package/dist/browser/api/redisEnterpriseManagementContext.js.map +1 -0
- package/dist/browser/classic/accessPolicyAssignment/index.d.ts +27 -0
- package/dist/browser/classic/accessPolicyAssignment/index.js +34 -0
- package/dist/browser/classic/accessPolicyAssignment/index.js.map +1 -0
- package/dist/browser/classic/databases/index.d.ts +77 -0
- package/dist/browser/classic/databases/index.js +107 -0
- package/dist/browser/classic/databases/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +10 -0
- package/dist/{esm/operationsInterfaces/operations.js → browser/classic/index.js} +1 -1
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/migration/index.d.ts +27 -0
- package/dist/browser/classic/migration/index.js +34 -0
- package/dist/browser/classic/migration/index.js.map +1 -0
- package/dist/browser/classic/migrations/index.d.ts +10 -0
- package/dist/browser/classic/migrations/index.js +14 -0
- package/dist/browser/classic/migrations/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +11 -0
- package/dist/browser/classic/operations/index.js +14 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/operationsStatus/index.d.ts +10 -0
- package/dist/browser/classic/operationsStatus/index.js +14 -0
- package/dist/browser/classic/operationsStatus/index.js.map +1 -0
- package/dist/browser/classic/privateEndpointConnections/index.d.ts +27 -0
- package/dist/browser/classic/privateEndpointConnections/index.js +34 -0
- package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -0
- package/dist/browser/classic/privateLinkResources/index.d.ts +11 -0
- package/dist/browser/classic/privateLinkResources/index.js +14 -0
- package/dist/browser/classic/privateLinkResources/index.js.map +1 -0
- package/dist/browser/classic/redisEnterprise/index.d.ts +37 -0
- package/dist/browser/classic/redisEnterprise/index.js +45 -0
- package/dist/browser/classic/redisEnterprise/index.js.map +1 -0
- package/dist/browser/index.d.ts +22 -3
- package/dist/browser/index.js +5 -6
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +2 -1734
- package/dist/browser/models/index.js +1 -364
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +1573 -0
- package/dist/browser/models/models.js +1631 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/redisEnterpriseManagementClient.d.ts +37 -24
- package/dist/browser/redisEnterpriseManagementClient.js +48 -104
- package/dist/browser/redisEnterpriseManagementClient.js.map +1 -1
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.js +122 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/browser/static-helpers/pagingHelpers.js +143 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/browser/static-helpers/pollingHelpers.js +95 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/accessPolicyAssignment/index.d.ts +3 -0
- package/dist/commonjs/api/accessPolicyAssignment/index.js +34 -0
- package/dist/commonjs/api/accessPolicyAssignment/index.js.map +7 -0
- package/dist/commonjs/api/accessPolicyAssignment/operations.d.ts +23 -0
- package/dist/commonjs/api/accessPolicyAssignment/operations.js +225 -0
- package/dist/commonjs/api/accessPolicyAssignment/operations.js.map +7 -0
- package/dist/commonjs/api/accessPolicyAssignment/options.d.ts +18 -0
- package/dist/commonjs/api/accessPolicyAssignment/options.js +16 -0
- package/dist/commonjs/api/accessPolicyAssignment/options.js.map +7 -0
- package/dist/commonjs/api/databases/index.d.ts +3 -0
- package/dist/commonjs/api/databases/index.js +52 -0
- package/dist/commonjs/api/databases/index.js.map +7 -0
- package/dist/commonjs/api/databases/operations.d.ts +59 -0
- package/dist/commonjs/api/databases/operations.js +612 -0
- package/dist/commonjs/api/databases/operations.js.map +7 -0
- package/dist/commonjs/api/databases/options.d.ts +64 -0
- package/dist/commonjs/api/databases/options.js +16 -0
- package/dist/commonjs/api/databases/options.js.map +7 -0
- package/dist/commonjs/api/index.d.ts +3 -0
- package/dist/commonjs/api/index.js +28 -0
- package/dist/commonjs/api/index.js.map +7 -0
- package/dist/commonjs/api/migration/index.d.ts +3 -0
- package/dist/commonjs/api/migration/index.js +34 -0
- package/dist/commonjs/api/migration/index.js.map +7 -0
- package/dist/commonjs/api/migration/operations.d.ts +23 -0
- package/dist/commonjs/api/migration/operations.js +196 -0
- package/dist/commonjs/api/migration/operations.js.map +7 -0
- package/dist/commonjs/api/migration/options.d.ts +18 -0
- package/dist/commonjs/api/migration/options.js +16 -0
- package/dist/commonjs/api/migration/options.js.map +7 -0
- package/dist/commonjs/api/migrations/index.d.ts +3 -0
- package/dist/commonjs/api/migrations/index.js +28 -0
- package/dist/commonjs/api/migrations/index.js.map +7 -0
- package/dist/commonjs/api/migrations/operations.d.ts +9 -0
- package/dist/commonjs/api/migrations/operations.js +67 -0
- package/dist/commonjs/api/migrations/operations.js.map +7 -0
- package/dist/commonjs/api/migrations/options.d.ts +5 -0
- package/dist/commonjs/api/migrations/options.js +16 -0
- package/dist/commonjs/api/migrations/options.js.map +7 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.js +28 -0
- package/dist/commonjs/api/operations/index.js.map +7 -0
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.js +72 -0
- package/dist/commonjs/api/operations/operations.js.map +7 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.js +16 -0
- package/dist/commonjs/api/operations/options.js.map +7 -0
- package/dist/commonjs/api/operationsStatus/index.d.ts +3 -0
- package/dist/commonjs/api/operationsStatus/index.js +28 -0
- package/dist/commonjs/api/operationsStatus/index.js.map +7 -0
- package/dist/commonjs/api/operationsStatus/operations.d.ts +9 -0
- package/dist/commonjs/api/operationsStatus/operations.js +65 -0
- package/dist/commonjs/api/operationsStatus/operations.js.map +7 -0
- package/dist/commonjs/api/operationsStatus/options.d.ts +5 -0
- package/dist/commonjs/api/operationsStatus/options.js +16 -0
- package/dist/commonjs/api/operationsStatus/options.js.map +7 -0
- package/dist/commonjs/api/privateEndpointConnections/index.d.ts +3 -0
- package/dist/commonjs/api/privateEndpointConnections/index.js +34 -0
- package/dist/commonjs/api/privateEndpointConnections/index.js.map +7 -0
- package/dist/commonjs/api/privateEndpointConnections/operations.d.ts +23 -0
- package/dist/commonjs/api/privateEndpointConnections/operations.js +212 -0
- package/dist/commonjs/api/privateEndpointConnections/operations.js.map +7 -0
- package/dist/commonjs/api/privateEndpointConnections/options.d.ts +18 -0
- package/dist/commonjs/api/privateEndpointConnections/options.js +16 -0
- package/dist/commonjs/api/privateEndpointConnections/options.js.map +7 -0
- package/dist/commonjs/api/privateLinkResources/index.d.ts +3 -0
- package/dist/commonjs/api/privateLinkResources/index.js +28 -0
- package/dist/commonjs/api/privateLinkResources/index.js.map +7 -0
- package/dist/commonjs/api/privateLinkResources/operations.d.ts +10 -0
- package/dist/commonjs/api/privateLinkResources/operations.js +75 -0
- package/dist/commonjs/api/privateLinkResources/operations.js.map +7 -0
- package/dist/commonjs/api/privateLinkResources/options.d.ts +5 -0
- package/dist/commonjs/api/privateLinkResources/options.js +16 -0
- package/dist/commonjs/api/privateLinkResources/options.js.map +7 -0
- package/dist/commonjs/api/redisEnterprise/index.d.ts +3 -0
- package/dist/commonjs/api/redisEnterprise/index.js +40 -0
- package/dist/commonjs/api/redisEnterprise/index.js.map +7 -0
- package/dist/commonjs/api/redisEnterprise/operations.d.ts +35 -0
- package/dist/commonjs/api/redisEnterprise/operations.js +320 -0
- package/dist/commonjs/api/redisEnterprise/operations.js.map +7 -0
- package/dist/commonjs/api/redisEnterprise/options.d.ts +29 -0
- package/dist/commonjs/api/redisEnterprise/options.js +16 -0
- package/dist/commonjs/api/redisEnterprise/options.js.map +7 -0
- package/dist/commonjs/api/redisEnterpriseManagementContext.d.ts +22 -0
- package/dist/commonjs/api/redisEnterpriseManagementContext.js +47 -0
- package/dist/commonjs/api/redisEnterpriseManagementContext.js.map +7 -0
- package/dist/commonjs/classic/accessPolicyAssignment/index.d.ts +27 -0
- package/dist/commonjs/classic/accessPolicyAssignment/index.js +110 -0
- package/dist/commonjs/classic/accessPolicyAssignment/index.js.map +7 -0
- package/dist/commonjs/classic/databases/index.d.ts +77 -0
- package/dist/commonjs/classic/databases/index.js +248 -0
- package/dist/commonjs/classic/databases/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +10 -0
- package/dist/commonjs/classic/index.js +16 -0
- package/dist/commonjs/classic/index.js.map +7 -0
- package/dist/commonjs/classic/migration/index.d.ts +27 -0
- package/dist/commonjs/classic/migration/index.js +58 -0
- package/dist/commonjs/classic/migration/index.js.map +7 -0
- package/dist/commonjs/classic/migrations/index.d.ts +10 -0
- package/dist/commonjs/classic/migrations/index.js +38 -0
- package/dist/commonjs/classic/migrations/index.js.map +7 -0
- package/dist/commonjs/classic/operations/index.d.ts +11 -0
- package/dist/commonjs/classic/operations/index.js +38 -0
- package/dist/commonjs/classic/operations/index.js.map +7 -0
- package/dist/commonjs/classic/operationsStatus/index.d.ts +10 -0
- package/dist/commonjs/classic/operationsStatus/index.js +38 -0
- package/dist/commonjs/classic/operationsStatus/index.js.map +7 -0
- package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +27 -0
- package/dist/commonjs/classic/privateEndpointConnections/index.js +91 -0
- package/dist/commonjs/classic/privateEndpointConnections/index.js.map +7 -0
- package/dist/commonjs/classic/privateLinkResources/index.d.ts +11 -0
- package/dist/commonjs/classic/privateLinkResources/index.js +38 -0
- package/dist/commonjs/classic/privateLinkResources/index.js.map +7 -0
- package/dist/commonjs/classic/redisEnterprise/index.d.ts +37 -0
- package/dist/commonjs/classic/redisEnterprise/index.js +69 -0
- package/dist/commonjs/classic/redisEnterprise/index.js.map +7 -0
- package/dist/commonjs/index.d.ts +22 -3
- package/dist/commonjs/index.js +96 -16
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +29 -0
- package/dist/commonjs/logger.js.map +7 -0
- package/dist/commonjs/models/index.d.ts +2 -1734
- package/dist/commonjs/models/index.js +82 -370
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/models.d.ts +1573 -0
- package/dist/commonjs/models/models.js +1626 -0
- package/dist/commonjs/models/models.js.map +7 -0
- package/dist/commonjs/redisEnterpriseManagementClient.d.ts +37 -24
- package/dist/commonjs/redisEnterpriseManagementClient.js +78 -117
- package/dist/commonjs/redisEnterpriseManagementClient.js.map +7 -1
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.js +135 -0
- package/dist/commonjs/restorePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/accessPolicyAssignment/index.d.ts +3 -0
- package/dist/esm/api/accessPolicyAssignment/index.js +4 -0
- package/dist/esm/api/accessPolicyAssignment/index.js.map +1 -0
- package/dist/esm/api/accessPolicyAssignment/operations.d.ts +23 -0
- package/dist/esm/api/accessPolicyAssignment/operations.js +139 -0
- package/dist/esm/api/accessPolicyAssignment/operations.js.map +1 -0
- package/dist/esm/api/accessPolicyAssignment/options.d.ts +18 -0
- package/dist/esm/api/accessPolicyAssignment/options.js +4 -0
- package/dist/esm/api/accessPolicyAssignment/options.js.map +1 -0
- package/dist/esm/api/databases/index.d.ts +3 -0
- package/dist/esm/api/databases/index.js +4 -0
- package/dist/esm/api/databases/index.js.map +1 -0
- package/dist/esm/api/databases/operations.d.ts +59 -0
- package/dist/esm/api/databases/operations.js +444 -0
- package/dist/esm/api/databases/operations.js.map +1 -0
- package/dist/esm/api/databases/options.d.ts +64 -0
- package/dist/esm/api/databases/options.js +4 -0
- package/dist/esm/api/databases/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +3 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/migration/index.d.ts +3 -0
- package/dist/esm/api/migration/index.js +4 -0
- package/dist/esm/api/migration/index.js.map +1 -0
- package/dist/esm/api/migration/operations.d.ts +23 -0
- package/dist/esm/api/migration/operations.js +132 -0
- package/dist/esm/api/migration/operations.js.map +1 -0
- package/dist/esm/api/migration/options.d.ts +18 -0
- package/dist/esm/api/migration/options.js +4 -0
- package/dist/esm/api/migration/options.js.map +1 -0
- package/dist/esm/api/migrations/index.d.ts +3 -0
- package/dist/esm/api/migrations/index.js +4 -0
- package/dist/esm/api/migrations/index.js.map +1 -0
- package/dist/esm/api/migrations/operations.d.ts +9 -0
- package/dist/esm/api/migrations/operations.js +36 -0
- package/dist/esm/api/migrations/operations.js.map +1 -0
- package/dist/esm/api/migrations/options.d.ts +5 -0
- package/dist/esm/api/migrations/options.js +4 -0
- package/dist/esm/api/migrations/options.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +3 -0
- package/dist/esm/api/operations/index.js +4 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.js +35 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/operationsStatus/index.d.ts +3 -0
- package/dist/{browser/operationsInterfaces/operationsStatus.js → esm/api/operationsStatus/index.js} +2 -2
- package/dist/esm/api/operationsStatus/index.js.map +1 -0
- package/dist/esm/api/operationsStatus/operations.d.ts +9 -0
- package/dist/esm/api/operationsStatus/operations.js +34 -0
- package/dist/esm/api/operationsStatus/operations.js.map +1 -0
- package/dist/esm/api/operationsStatus/options.d.ts +5 -0
- package/dist/esm/api/operationsStatus/options.js +4 -0
- package/dist/esm/api/operationsStatus/options.js.map +1 -0
- package/dist/esm/api/privateEndpointConnections/index.d.ts +3 -0
- package/dist/esm/api/privateEndpointConnections/index.js +4 -0
- package/dist/esm/api/privateEndpointConnections/index.js.map +1 -0
- package/dist/esm/api/privateEndpointConnections/operations.d.ts +23 -0
- package/dist/esm/api/privateEndpointConnections/operations.js +135 -0
- package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -0
- package/dist/esm/api/privateEndpointConnections/options.d.ts +18 -0
- package/dist/esm/api/privateEndpointConnections/options.js +4 -0
- package/dist/esm/api/privateEndpointConnections/options.js.map +1 -0
- package/dist/esm/api/privateLinkResources/index.d.ts +3 -0
- package/dist/esm/api/privateLinkResources/index.js +4 -0
- package/dist/esm/api/privateLinkResources/index.js.map +1 -0
- package/dist/esm/api/privateLinkResources/operations.d.ts +10 -0
- package/dist/esm/api/privateLinkResources/operations.js +38 -0
- package/dist/esm/api/privateLinkResources/operations.js.map +1 -0
- package/dist/esm/api/privateLinkResources/options.d.ts +5 -0
- package/dist/esm/api/privateLinkResources/options.js +4 -0
- package/dist/esm/api/privateLinkResources/options.js.map +1 -0
- package/dist/esm/api/redisEnterprise/index.d.ts +3 -0
- package/dist/esm/api/redisEnterprise/index.js +4 -0
- package/dist/esm/api/redisEnterprise/index.js.map +1 -0
- package/dist/esm/api/redisEnterprise/operations.d.ts +35 -0
- package/dist/esm/api/redisEnterprise/operations.js +223 -0
- package/dist/esm/api/redisEnterprise/operations.js.map +1 -0
- package/dist/esm/api/redisEnterprise/options.d.ts +29 -0
- package/dist/esm/api/redisEnterprise/options.js +4 -0
- package/dist/esm/api/redisEnterprise/options.js.map +1 -0
- package/dist/esm/api/redisEnterpriseManagementContext.d.ts +22 -0
- package/dist/esm/api/redisEnterpriseManagementContext.js +26 -0
- package/dist/esm/api/redisEnterpriseManagementContext.js.map +1 -0
- package/dist/esm/classic/accessPolicyAssignment/index.d.ts +27 -0
- package/dist/esm/classic/accessPolicyAssignment/index.js +34 -0
- package/dist/esm/classic/accessPolicyAssignment/index.js.map +1 -0
- package/dist/esm/classic/databases/index.d.ts +77 -0
- package/dist/esm/classic/databases/index.js +107 -0
- package/dist/esm/classic/databases/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +10 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/migration/index.d.ts +27 -0
- package/dist/esm/classic/migration/index.js +34 -0
- package/dist/esm/classic/migration/index.js.map +1 -0
- package/dist/esm/classic/migrations/index.d.ts +10 -0
- package/dist/esm/classic/migrations/index.js +14 -0
- package/dist/esm/classic/migrations/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +11 -0
- package/dist/esm/classic/operations/index.js +14 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/operationsStatus/index.d.ts +10 -0
- package/dist/esm/classic/operationsStatus/index.js +14 -0
- package/dist/esm/classic/operationsStatus/index.js.map +1 -0
- package/dist/esm/classic/privateEndpointConnections/index.d.ts +27 -0
- package/dist/esm/classic/privateEndpointConnections/index.js +34 -0
- package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -0
- package/dist/esm/classic/privateLinkResources/index.d.ts +11 -0
- package/dist/esm/classic/privateLinkResources/index.js +14 -0
- package/dist/esm/classic/privateLinkResources/index.js.map +1 -0
- package/dist/esm/classic/redisEnterprise/index.d.ts +37 -0
- package/dist/esm/classic/redisEnterprise/index.js +45 -0
- package/dist/esm/classic/redisEnterprise/index.js.map +1 -0
- package/dist/esm/index.d.ts +22 -3
- package/dist/esm/index.js +5 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +2 -1734
- package/dist/esm/models/index.js +1 -364
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +1573 -0
- package/dist/esm/models/models.js +1631 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/redisEnterpriseManagementClient.d.ts +37 -24
- package/dist/esm/redisEnterpriseManagementClient.js +48 -104
- package/dist/esm/redisEnterpriseManagementClient.js.map +1 -1
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.js +122 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/esm/static-helpers/pagingHelpers.js +143 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/esm/static-helpers/pollingHelpers.js +95 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +200 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +242 -96
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/lroImpl.d.ts +0 -11
- package/dist/browser/lroImpl.d.ts.map +0 -1
- package/dist/browser/lroImpl.js +0 -20
- package/dist/browser/lroImpl.js.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/mappers.d.ts +0 -71
- package/dist/browser/models/mappers.d.ts.map +0 -1
- package/dist/browser/models/mappers.js +0 -2062
- package/dist/browser/models/mappers.js.map +0 -1
- package/dist/browser/models/parameters.d.ts +0 -27
- package/dist/browser/models/parameters.d.ts.map +0 -1
- package/dist/browser/models/parameters.js +0 -209
- package/dist/browser/models/parameters.js.map +0 -1
- package/dist/browser/operations/accessPolicyAssignmentOperations.d.ts +0 -110
- package/dist/browser/operations/accessPolicyAssignmentOperations.d.ts.map +0 -1
- package/dist/browser/operations/accessPolicyAssignmentOperations.js +0 -399
- package/dist/browser/operations/accessPolicyAssignmentOperations.js.map +0 -1
- package/dist/browser/operations/databases.d.ts +0 -283
- package/dist/browser/operations/databases.d.ts.map +0 -1
- package/dist/browser/operations/databases.js +0 -1180
- package/dist/browser/operations/databases.js.map +0 -1
- package/dist/browser/operations/index.d.ts +0 -8
- package/dist/browser/operations/index.d.ts.map +0 -1
- package/dist/browser/operations/index.js +0 -12
- package/dist/browser/operations/index.js.map +0 -1
- package/dist/browser/operations/operations.d.ts +0 -32
- package/dist/browser/operations/operations.d.ts.map +0 -1
- package/dist/browser/operations/operations.js +0 -111
- package/dist/browser/operations/operations.js.map +0 -1
- package/dist/browser/operations/operationsStatus.d.ts +0 -20
- package/dist/browser/operations/operationsStatus.d.ts.map +0 -1
- package/dist/browser/operations/operationsStatus.js +0 -49
- package/dist/browser/operations/operationsStatus.js.map +0 -1
- package/dist/browser/operations/privateEndpointConnections.d.ts +0 -94
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist/browser/operations/privateEndpointConnections.js +0 -329
- package/dist/browser/operations/privateEndpointConnections.js.map +0 -1
- package/dist/browser/operations/privateLinkResources.d.ts +0 -34
- package/dist/browser/operations/privateLinkResources.d.ts.map +0 -1
- package/dist/browser/operations/privateLinkResources.js +0 -87
- package/dist/browser/operations/privateLinkResources.js.map +0 -1
- package/dist/browser/operations/redisEnterprise.d.ts +0 -130
- package/dist/browser/operations/redisEnterprise.d.ts.map +0 -1
- package/dist/browser/operations/redisEnterprise.js +0 -548
- package/dist/browser/operations/redisEnterprise.js.map +0 -1
- package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +0 -79
- package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.js.map +0 -1
- package/dist/browser/operationsInterfaces/databases.d.ts +0 -254
- package/dist/browser/operationsInterfaces/databases.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/databases.js.map +0 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -8
- package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/index.js +0 -12
- package/dist/browser/operationsInterfaces/index.js.map +0 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
- package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/operations.js.map +0 -1
- package/dist/browser/operationsInterfaces/operationsStatus.d.ts +0 -12
- package/dist/browser/operationsInterfaces/operationsStatus.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/operationsStatus.js.map +0 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +0 -75
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js +0 -4
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +0 -15
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.js +0 -4
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist/browser/operationsInterfaces/redisEnterprise.d.ts +0 -94
- package/dist/browser/operationsInterfaces/redisEnterprise.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/redisEnterprise.js +0 -4
- package/dist/browser/operationsInterfaces/redisEnterprise.js.map +0 -1
- package/dist/browser/pagingHelper.d.ts +0 -13
- package/dist/browser/pagingHelper.d.ts.map +0 -1
- package/dist/browser/pagingHelper.js +0 -25
- package/dist/browser/pagingHelper.js.map +0 -1
- package/dist/browser/redisEnterpriseManagementClient.d.ts.map +0 -1
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/lroImpl.d.ts +0 -11
- package/dist/commonjs/lroImpl.d.ts.map +0 -1
- package/dist/commonjs/lroImpl.js +0 -23
- package/dist/commonjs/lroImpl.js.map +0 -1
- package/dist/commonjs/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.d.ts +0 -71
- package/dist/commonjs/models/mappers.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.js +0 -2066
- package/dist/commonjs/models/mappers.js.map +0 -1
- package/dist/commonjs/models/parameters.d.ts +0 -27
- package/dist/commonjs/models/parameters.d.ts.map +0 -1
- package/dist/commonjs/models/parameters.js +0 -212
- package/dist/commonjs/models/parameters.js.map +0 -1
- package/dist/commonjs/operations/accessPolicyAssignmentOperations.d.ts +0 -110
- package/dist/commonjs/operations/accessPolicyAssignmentOperations.d.ts.map +0 -1
- package/dist/commonjs/operations/accessPolicyAssignmentOperations.js +0 -404
- package/dist/commonjs/operations/accessPolicyAssignmentOperations.js.map +0 -1
- package/dist/commonjs/operations/databases.d.ts +0 -283
- package/dist/commonjs/operations/databases.d.ts.map +0 -1
- package/dist/commonjs/operations/databases.js +0 -1185
- package/dist/commonjs/operations/databases.js.map +0 -1
- package/dist/commonjs/operations/index.d.ts +0 -8
- package/dist/commonjs/operations/index.d.ts.map +0 -1
- package/dist/commonjs/operations/index.js +0 -15
- package/dist/commonjs/operations/index.js.map +0 -1
- package/dist/commonjs/operations/operations.d.ts +0 -32
- package/dist/commonjs/operations/operations.d.ts.map +0 -1
- package/dist/commonjs/operations/operations.js +0 -116
- package/dist/commonjs/operations/operations.js.map +0 -1
- package/dist/commonjs/operations/operationsStatus.d.ts +0 -20
- package/dist/commonjs/operations/operationsStatus.d.ts.map +0 -1
- package/dist/commonjs/operations/operationsStatus.js +0 -54
- package/dist/commonjs/operations/operationsStatus.js.map +0 -1
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +0 -94
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +0 -334
- package/dist/commonjs/operations/privateEndpointConnections.js.map +0 -1
- package/dist/commonjs/operations/privateLinkResources.d.ts +0 -34
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +0 -1
- package/dist/commonjs/operations/privateLinkResources.js +0 -92
- package/dist/commonjs/operations/privateLinkResources.js.map +0 -1
- package/dist/commonjs/operations/redisEnterprise.d.ts +0 -130
- package/dist/commonjs/operations/redisEnterprise.d.ts.map +0 -1
- package/dist/commonjs/operations/redisEnterprise.js +0 -553
- package/dist/commonjs/operations/redisEnterprise.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +0 -79
- package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.js +0 -5
- package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/databases.d.ts +0 -254
- package/dist/commonjs/operationsInterfaces/databases.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/databases.js +0 -5
- package/dist/commonjs/operationsInterfaces/databases.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -8
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -15
- package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.js +0 -5
- package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/operationsStatus.d.ts +0 -12
- package/dist/commonjs/operationsInterfaces/operationsStatus.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/operationsStatus.js +0 -5
- package/dist/commonjs/operationsInterfaces/operationsStatus.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +0 -75
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +0 -5
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +0 -15
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js +0 -5
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/redisEnterprise.d.ts +0 -94
- package/dist/commonjs/operationsInterfaces/redisEnterprise.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/redisEnterprise.js +0 -5
- package/dist/commonjs/operationsInterfaces/redisEnterprise.js.map +0 -1
- package/dist/commonjs/pagingHelper.d.ts +0 -13
- package/dist/commonjs/pagingHelper.d.ts.map +0 -1
- package/dist/commonjs/pagingHelper.js +0 -29
- package/dist/commonjs/pagingHelper.js.map +0 -1
- package/dist/commonjs/redisEnterpriseManagementClient.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/lroImpl.d.ts +0 -11
- package/dist/esm/lroImpl.d.ts.map +0 -1
- package/dist/esm/lroImpl.js +0 -20
- package/dist/esm/lroImpl.js.map +0 -1
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/mappers.d.ts +0 -71
- package/dist/esm/models/mappers.d.ts.map +0 -1
- package/dist/esm/models/mappers.js +0 -2062
- package/dist/esm/models/mappers.js.map +0 -1
- package/dist/esm/models/parameters.d.ts +0 -27
- package/dist/esm/models/parameters.d.ts.map +0 -1
- package/dist/esm/models/parameters.js +0 -209
- package/dist/esm/models/parameters.js.map +0 -1
- package/dist/esm/operations/accessPolicyAssignmentOperations.d.ts +0 -110
- package/dist/esm/operations/accessPolicyAssignmentOperations.d.ts.map +0 -1
- package/dist/esm/operations/accessPolicyAssignmentOperations.js +0 -399
- package/dist/esm/operations/accessPolicyAssignmentOperations.js.map +0 -1
- package/dist/esm/operations/databases.d.ts +0 -283
- package/dist/esm/operations/databases.d.ts.map +0 -1
- package/dist/esm/operations/databases.js +0 -1180
- package/dist/esm/operations/databases.js.map +0 -1
- package/dist/esm/operations/index.d.ts +0 -8
- package/dist/esm/operations/index.d.ts.map +0 -1
- package/dist/esm/operations/index.js +0 -12
- package/dist/esm/operations/index.js.map +0 -1
- package/dist/esm/operations/operations.d.ts +0 -32
- package/dist/esm/operations/operations.d.ts.map +0 -1
- package/dist/esm/operations/operations.js +0 -111
- package/dist/esm/operations/operations.js.map +0 -1
- package/dist/esm/operations/operationsStatus.d.ts +0 -20
- package/dist/esm/operations/operationsStatus.d.ts.map +0 -1
- package/dist/esm/operations/operationsStatus.js +0 -49
- package/dist/esm/operations/operationsStatus.js.map +0 -1
- package/dist/esm/operations/privateEndpointConnections.d.ts +0 -94
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist/esm/operations/privateEndpointConnections.js +0 -329
- package/dist/esm/operations/privateEndpointConnections.js.map +0 -1
- package/dist/esm/operations/privateLinkResources.d.ts +0 -34
- package/dist/esm/operations/privateLinkResources.d.ts.map +0 -1
- package/dist/esm/operations/privateLinkResources.js +0 -87
- package/dist/esm/operations/privateLinkResources.js.map +0 -1
- package/dist/esm/operations/redisEnterprise.d.ts +0 -130
- package/dist/esm/operations/redisEnterprise.d.ts.map +0 -1
- package/dist/esm/operations/redisEnterprise.js +0 -548
- package/dist/esm/operations/redisEnterprise.js.map +0 -1
- package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +0 -79
- package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.js +0 -4
- package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.js.map +0 -1
- package/dist/esm/operationsInterfaces/databases.d.ts +0 -254
- package/dist/esm/operationsInterfaces/databases.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/databases.js.map +0 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -8
- package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/index.js +0 -12
- package/dist/esm/operationsInterfaces/index.js.map +0 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
- package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/operations.js.map +0 -1
- package/dist/esm/operationsInterfaces/operationsStatus.d.ts +0 -12
- package/dist/esm/operationsInterfaces/operationsStatus.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/operationsStatus.js +0 -4
- package/dist/esm/operationsInterfaces/operationsStatus.js.map +0 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +0 -75
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +0 -4
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +0 -15
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.js +0 -4
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist/esm/operationsInterfaces/redisEnterprise.d.ts +0 -94
- package/dist/esm/operationsInterfaces/redisEnterprise.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/redisEnterprise.js +0 -4
- package/dist/esm/operationsInterfaces/redisEnterprise.js.map +0 -1
- package/dist/esm/pagingHelper.d.ts +0 -13
- package/dist/esm/pagingHelper.d.ts.map +0 -1
- package/dist/esm/pagingHelper.js +0 -25
- package/dist/esm/pagingHelper.js.map +0 -1
- package/dist/esm/redisEnterpriseManagementClient.d.ts.map +0 -1
- package/dist/react-native/index.d.ts +0 -5
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/index.js +0 -10
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/lroImpl.d.ts +0 -11
- package/dist/react-native/lroImpl.d.ts.map +0 -1
- package/dist/react-native/lroImpl.js +0 -20
- package/dist/react-native/lroImpl.js.map +0 -1
- package/dist/react-native/models/index.d.ts +0 -1735
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/index.js +0 -367
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/mappers.d.ts +0 -71
- package/dist/react-native/models/mappers.d.ts.map +0 -1
- package/dist/react-native/models/mappers.js +0 -2062
- package/dist/react-native/models/mappers.js.map +0 -1
- package/dist/react-native/models/parameters.d.ts +0 -27
- package/dist/react-native/models/parameters.d.ts.map +0 -1
- package/dist/react-native/models/parameters.js +0 -209
- package/dist/react-native/models/parameters.js.map +0 -1
- package/dist/react-native/operations/accessPolicyAssignmentOperations.d.ts +0 -110
- package/dist/react-native/operations/accessPolicyAssignmentOperations.d.ts.map +0 -1
- package/dist/react-native/operations/accessPolicyAssignmentOperations.js +0 -399
- package/dist/react-native/operations/accessPolicyAssignmentOperations.js.map +0 -1
- package/dist/react-native/operations/databases.d.ts +0 -283
- package/dist/react-native/operations/databases.d.ts.map +0 -1
- package/dist/react-native/operations/databases.js +0 -1180
- package/dist/react-native/operations/databases.js.map +0 -1
- package/dist/react-native/operations/index.d.ts +0 -8
- package/dist/react-native/operations/index.d.ts.map +0 -1
- package/dist/react-native/operations/index.js +0 -12
- package/dist/react-native/operations/index.js.map +0 -1
- package/dist/react-native/operations/operations.d.ts +0 -32
- package/dist/react-native/operations/operations.d.ts.map +0 -1
- package/dist/react-native/operations/operations.js +0 -111
- package/dist/react-native/operations/operations.js.map +0 -1
- package/dist/react-native/operations/operationsStatus.d.ts +0 -20
- package/dist/react-native/operations/operationsStatus.d.ts.map +0 -1
- package/dist/react-native/operations/operationsStatus.js +0 -49
- package/dist/react-native/operations/operationsStatus.js.map +0 -1
- package/dist/react-native/operations/privateEndpointConnections.d.ts +0 -94
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist/react-native/operations/privateEndpointConnections.js +0 -329
- package/dist/react-native/operations/privateEndpointConnections.js.map +0 -1
- package/dist/react-native/operations/privateLinkResources.d.ts +0 -34
- package/dist/react-native/operations/privateLinkResources.d.ts.map +0 -1
- package/dist/react-native/operations/privateLinkResources.js +0 -87
- package/dist/react-native/operations/privateLinkResources.js.map +0 -1
- package/dist/react-native/operations/redisEnterprise.d.ts +0 -130
- package/dist/react-native/operations/redisEnterprise.d.ts.map +0 -1
- package/dist/react-native/operations/redisEnterprise.js +0 -548
- package/dist/react-native/operations/redisEnterprise.js.map +0 -1
- package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +0 -79
- package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.js +0 -4
- package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/databases.d.ts +0 -254
- package/dist/react-native/operationsInterfaces/databases.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/databases.js.map +0 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -8
- package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -12
- package/dist/react-native/operationsInterfaces/index.js.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.js +0 -4
- package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/operationsStatus.d.ts +0 -12
- package/dist/react-native/operationsInterfaces/operationsStatus.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/operationsStatus.js +0 -4
- package/dist/react-native/operationsInterfaces/operationsStatus.js.map +0 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +0 -75
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +0 -4
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +0 -15
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.js +0 -4
- package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist/react-native/operationsInterfaces/redisEnterprise.d.ts +0 -94
- package/dist/react-native/operationsInterfaces/redisEnterprise.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/redisEnterprise.js +0 -4
- package/dist/react-native/operationsInterfaces/redisEnterprise.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- package/dist/react-native/pagingHelper.d.ts +0 -13
- package/dist/react-native/pagingHelper.d.ts.map +0 -1
- package/dist/react-native/pagingHelper.js +0 -25
- package/dist/react-native/pagingHelper.js.map +0 -1
- package/dist/react-native/redisEnterpriseManagementClient.d.ts +0 -26
- package/dist/react-native/redisEnterpriseManagementClient.d.ts.map +0 -1
- package/dist/react-native/redisEnterpriseManagementClient.js +0 -113
- package/dist/react-native/redisEnterpriseManagementClient.js.map +0 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/api/databases/operations.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { RedisEnterpriseManagementContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n Database,\n databaseSerializer,\n databaseDeserializer,\n DatabaseUpdate,\n databaseUpdateSerializer,\n _DatabaseList,\n _databaseListDeserializer,\n AccessKeys,\n accessKeysDeserializer,\n RegenerateKeyParameters,\n regenerateKeyParametersSerializer,\n ImportClusterParameters,\n importClusterParametersSerializer,\n ExportClusterParameters,\n exportClusterParametersSerializer,\n ForceUnlinkParameters,\n forceUnlinkParametersSerializer,\n ForceLinkParameters,\n forceLinkParametersSerializer,\n flushParametersSerializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n DatabasesUpgradeDBRedisVersionOptionalParams,\n DatabasesFlushOptionalParams,\n DatabasesForceLinkToReplicationGroupOptionalParams,\n DatabasesForceUnlinkOptionalParams,\n DatabasesExportOptionalParams,\n DatabasesImportOptionalParams,\n DatabasesRegenerateKeyOptionalParams,\n DatabasesListKeysOptionalParams,\n DatabasesListByClusterOptionalParams,\n DatabasesDeleteOptionalParams,\n DatabasesUpdateOptionalParams,\n DatabasesCreateOptionalParams,\n DatabasesGetOptionalParams,\n} from \"./options.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 _upgradeDBRedisVersionSend(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options: DatabasesUpgradeDBRedisVersionOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/upgradeDBRedisVersion{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterName: clusterName,\n databaseName: databaseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-02-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _upgradeDBRedisVersionDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Upgrades the database Redis version to the latest available. */\nexport function upgradeDBRedisVersion(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options: DatabasesUpgradeDBRedisVersionOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _upgradeDBRedisVersionDeserialize, [\"202\", \"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _upgradeDBRedisVersionSend(context, resourceGroupName, clusterName, databaseName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-02-01-preview\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _flushSend(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options: DatabasesFlushOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/flush{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterName: clusterName,\n databaseName: databaseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-02-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n body: !options?.parameters\n ? options?.parameters\n : flushParametersSerializer(options?.parameters),\n });\n}\n\nexport async function _flushDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"202\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Flushes all the keys in this database and also from its linked databases. */\nexport function flush(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options: DatabasesFlushOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _flushDeserialize, [\"200\", \"202\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _flushSend(context, resourceGroupName, clusterName, databaseName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-02-01-preview\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _forceLinkToReplicationGroupSend(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: ForceLinkParameters,\n options: DatabasesForceLinkToReplicationGroupOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/forceLinkToReplicationGroup{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterName: clusterName,\n databaseName: databaseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-02-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n body: forceLinkParametersSerializer(parameters),\n });\n}\n\nexport async function _forceLinkToReplicationGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Forcibly recreates an existing database on the specified cluster, and rejoins it to an existing replication group. **IMPORTANT NOTE:** All data in this database will be discarded, and the database will temporarily be unavailable while rejoining the replication group. */\nexport function forceLinkToReplicationGroup(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: ForceLinkParameters,\n options: DatabasesForceLinkToReplicationGroupOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(\n context,\n _forceLinkToReplicationGroupDeserialize,\n [\"202\", \"200\", \"201\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _forceLinkToReplicationGroupSend(\n context,\n resourceGroupName,\n clusterName,\n databaseName,\n parameters,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2026-02-01-preview\",\n },\n ) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _forceUnlinkSend(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: ForceUnlinkParameters,\n options: DatabasesForceUnlinkOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/forceUnlink{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterName: clusterName,\n databaseName: databaseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-02-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n body: forceUnlinkParametersSerializer(parameters),\n });\n}\n\nexport async function _forceUnlinkDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Forcibly removes the link to the specified database resource. */\nexport function forceUnlink(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: ForceUnlinkParameters,\n options: DatabasesForceUnlinkOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _forceUnlinkDeserialize, [\"202\", \"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _forceUnlinkSend(context, resourceGroupName, clusterName, databaseName, parameters, options),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2026-02-01-preview\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _$exportSend(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: ExportClusterParameters,\n options: DatabasesExportOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/export{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterName: clusterName,\n databaseName: databaseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-02-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n body: exportClusterParametersSerializer(parameters),\n });\n}\n\nexport async function _$exportDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Exports a database file from target database. */\nexport function $export(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: ExportClusterParameters,\n options: DatabasesExportOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$exportDeserialize, [\"202\", \"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _$exportSend(context, resourceGroupName, clusterName, databaseName, parameters, options),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2026-02-01-preview\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _$importSend(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: ImportClusterParameters,\n options: DatabasesImportOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/import{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterName: clusterName,\n databaseName: databaseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-02-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n body: importClusterParametersSerializer(parameters),\n });\n}\n\nexport async function _$importDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Imports database files to target database. */\nexport function $import(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: ImportClusterParameters,\n options: DatabasesImportOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$importDeserialize, [\"202\", \"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _$importSend(context, resourceGroupName, clusterName, databaseName, parameters, options),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2026-02-01-preview\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _regenerateKeySend(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: RegenerateKeyParameters,\n options: DatabasesRegenerateKeyOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/regenerateKey{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterName: clusterName,\n databaseName: databaseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-02-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: regenerateKeyParametersSerializer(parameters),\n });\n}\n\nexport async function _regenerateKeyDeserialize(\n result: PathUncheckedResponse,\n): Promise<AccessKeys> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return accessKeysDeserializer(result.body);\n}\n\n/** Regenerates the Redis Enterprise database's access keys. */\nexport function regenerateKey(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: RegenerateKeyParameters,\n options: DatabasesRegenerateKeyOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<AccessKeys>, AccessKeys> {\n return getLongRunningPoller(context, _regenerateKeyDeserialize, [\"202\", \"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _regenerateKeySend(\n context,\n resourceGroupName,\n clusterName,\n databaseName,\n parameters,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2026-02-01-preview\",\n }) as PollerLike<OperationState<AccessKeys>, AccessKeys>;\n}\n\nexport function _listKeysSend(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options: DatabasesListKeysOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/listKeys{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterName: clusterName,\n databaseName: databaseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-02-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listKeysDeserialize(result: PathUncheckedResponse): Promise<AccessKeys> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return accessKeysDeserializer(result.body);\n}\n\n/** Retrieves the access keys for the Redis Enterprise database. */\nexport async function listKeys(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options: DatabasesListKeysOptionalParams = { requestOptions: {} },\n): Promise<AccessKeys> {\n const result = await _listKeysSend(\n context,\n resourceGroupName,\n clusterName,\n databaseName,\n options,\n );\n return _listKeysDeserialize(result);\n}\n\nexport function _listByClusterSend(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n options: DatabasesListByClusterOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterName: clusterName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-02-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByClusterDeserialize(\n result: PathUncheckedResponse,\n): Promise<_DatabaseList> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _databaseListDeserializer(result.body);\n}\n\n/** Gets all databases in the specified Redis Enterprise cluster. */\nexport function listByCluster(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n options: DatabasesListByClusterOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Database> {\n return buildPagedAsyncIterator(\n context,\n () => _listByClusterSend(context, resourceGroupName, clusterName, options),\n _listByClusterDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2026-02-01-preview\",\n },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options: DatabasesDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterName: clusterName,\n databaseName: databaseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-02-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"202\", \"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Deletes a single database */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options: DatabasesDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"200\", \"202\", \"204\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _$deleteSend(context, resourceGroupName, clusterName, databaseName, options),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2026-02-01-preview\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: DatabaseUpdate,\n options: DatabasesUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterName: clusterName,\n databaseName: databaseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-02-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: databaseUpdateSerializer(parameters),\n });\n}\n\nexport async function _updateDeserialize(result: PathUncheckedResponse): Promise<Database> {\n const expectedStatuses = [\"200\", \"202\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return databaseDeserializer(result.body);\n}\n\n/** Updates a database */\nexport function update(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: DatabaseUpdate,\n options: DatabasesUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<Database>, Database> {\n return getLongRunningPoller(context, _updateDeserialize, [\"200\", \"202\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _updateSend(context, resourceGroupName, clusterName, databaseName, parameters, options),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2026-02-01-preview\",\n }) as PollerLike<OperationState<Database>, Database>;\n}\n\nexport function _createSend(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: Database,\n options: DatabasesCreateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterName: clusterName,\n databaseName: databaseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-02-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: databaseSerializer(parameters),\n });\n}\n\nexport async function _createDeserialize(result: PathUncheckedResponse): Promise<Database> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return databaseDeserializer(result.body);\n}\n\n/** Creates a database */\nexport function create(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n parameters: Database,\n options: DatabasesCreateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<Database>, Database> {\n return getLongRunningPoller(context, _createDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createSend(context, resourceGroupName, clusterName, databaseName, parameters, options),\n resourceLocationConfig: \"original-uri\",\n apiVersion: context.apiVersion ?? \"2026-02-01-preview\",\n }) as PollerLike<OperationState<Database>, Database>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options: DatabasesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterName: clusterName,\n databaseName: databaseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-02-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<Database> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return databaseDeserializer(result.body);\n}\n\n/** Gets information about a database in a Redis Enterprise cluster. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options: DatabasesGetOptionalParams = { requestOptions: {} },\n): Promise<Database> {\n const result = await _getSend(context, resourceGroupName, clusterName, databaseName, options);\n return _getDeserialize(result);\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,oBAsBO;AACP,2BAGO;AACP,4BAAqC;AACrC,yBAAkC;AAgBlC,yBAKO;AAGA,SAAS,2BACd,SACA,mBACA,aACA,cACA,UAAwD,EAAE,gBAAgB,CAAC,EAAE,GAC3D;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MAC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MACxB;AAAA,MACA;AAAA,MACA;AAAA,MACA,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,IAAI;AAAA,IAC5B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,EAC5E,CAAC;AACH;AAEA,eAAsB,gBAAgB,QAAkD;AACtF,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,UAAM,cAAU,yCAA0B,OAAO,IAAI;AAErD,UAAM;AAAA,EACR;AAEA,aAAO,oCAAqB,OAAO,IAAI;AACzC;AAGA,eAAsB,IACpB,SACA,mBACA,aACA,cACA,UAAsC,EAAE,gBAAgB,CAAC,EAAE,GACxC;AACnB,QAAM,SAAS,MAAM,SAAS,SAAS,mBAAmB,aAAa,cAAc,OAAO;AAC5F,SAAO,gBAAgB,MAAM;AAC/B;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { FlushParameters } from "../../models/models.js";
|
|
2
|
+
import { OperationOptions } from "@azure-rest/core-client";
|
|
3
|
+
/** Optional parameters. */
|
|
4
|
+
export interface DatabasesUpgradeDBRedisVersionOptionalParams extends OperationOptions {
|
|
5
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
6
|
+
updateIntervalInMs?: number;
|
|
7
|
+
}
|
|
8
|
+
/** Optional parameters. */
|
|
9
|
+
export interface DatabasesFlushOptionalParams extends OperationOptions {
|
|
10
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
11
|
+
updateIntervalInMs?: number;
|
|
12
|
+
/** Information identifying the databases to be flushed */
|
|
13
|
+
parameters?: FlushParameters;
|
|
14
|
+
}
|
|
15
|
+
/** Optional parameters. */
|
|
16
|
+
export interface DatabasesForceLinkToReplicationGroupOptionalParams extends OperationOptions {
|
|
17
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
18
|
+
updateIntervalInMs?: number;
|
|
19
|
+
}
|
|
20
|
+
/** Optional parameters. */
|
|
21
|
+
export interface DatabasesForceUnlinkOptionalParams extends OperationOptions {
|
|
22
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
23
|
+
updateIntervalInMs?: number;
|
|
24
|
+
}
|
|
25
|
+
/** Optional parameters. */
|
|
26
|
+
export interface DatabasesExportOptionalParams extends OperationOptions {
|
|
27
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
28
|
+
updateIntervalInMs?: number;
|
|
29
|
+
}
|
|
30
|
+
/** Optional parameters. */
|
|
31
|
+
export interface DatabasesImportOptionalParams extends OperationOptions {
|
|
32
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
33
|
+
updateIntervalInMs?: number;
|
|
34
|
+
}
|
|
35
|
+
/** Optional parameters. */
|
|
36
|
+
export interface DatabasesRegenerateKeyOptionalParams extends OperationOptions {
|
|
37
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
38
|
+
updateIntervalInMs?: number;
|
|
39
|
+
}
|
|
40
|
+
/** Optional parameters. */
|
|
41
|
+
export interface DatabasesListKeysOptionalParams extends OperationOptions {
|
|
42
|
+
}
|
|
43
|
+
/** Optional parameters. */
|
|
44
|
+
export interface DatabasesListByClusterOptionalParams extends OperationOptions {
|
|
45
|
+
}
|
|
46
|
+
/** Optional parameters. */
|
|
47
|
+
export interface DatabasesDeleteOptionalParams extends OperationOptions {
|
|
48
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
49
|
+
updateIntervalInMs?: number;
|
|
50
|
+
}
|
|
51
|
+
/** Optional parameters. */
|
|
52
|
+
export interface DatabasesUpdateOptionalParams extends OperationOptions {
|
|
53
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
54
|
+
updateIntervalInMs?: number;
|
|
55
|
+
}
|
|
56
|
+
/** Optional parameters. */
|
|
57
|
+
export interface DatabasesCreateOptionalParams extends OperationOptions {
|
|
58
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
59
|
+
updateIntervalInMs?: number;
|
|
60
|
+
}
|
|
61
|
+
/** Optional parameters. */
|
|
62
|
+
export interface DatabasesGetOptionalParams extends OperationOptions {
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
14
|
+
var options_exports = {};
|
|
15
|
+
module.exports = __toCommonJS(options_exports);
|
|
16
|
+
//# sourceMappingURL=options.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/api/databases/options.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { FlushParameters } from \"../../models/models.js\";\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface DatabasesUpgradeDBRedisVersionOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface DatabasesFlushOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** Information identifying the databases to be flushed */\n parameters?: FlushParameters;\n}\n\n/** Optional parameters. */\nexport interface DatabasesForceLinkToReplicationGroupOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface DatabasesForceUnlinkOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface DatabasesExportOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface DatabasesImportOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface DatabasesRegenerateKeyOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface DatabasesListKeysOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface DatabasesListByClusterOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface DatabasesDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface DatabasesUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface DatabasesCreateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface DatabasesGetOptionalParams extends OperationOptions {}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var api_exports = {};
|
|
19
|
+
__export(api_exports, {
|
|
20
|
+
createRedisEnterpriseManagement: () => import_redisEnterpriseManagementContext.createRedisEnterpriseManagement
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(api_exports);
|
|
23
|
+
var import_redisEnterpriseManagementContext = require("./redisEnterpriseManagementContext.js");
|
|
24
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
25
|
+
0 && (module.exports = {
|
|
26
|
+
createRedisEnterpriseManagement
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/api/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type {\n RedisEnterpriseManagementContext,\n RedisEnterpriseManagementClientOptionalParams,\n} from \"./redisEnterpriseManagementContext.js\";\nexport { createRedisEnterpriseManagement } from \"./redisEnterpriseManagementContext.js\";\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA,8CAAgD;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var migration_exports = {};
|
|
19
|
+
__export(migration_exports, {
|
|
20
|
+
cancel: () => import_operations.cancel,
|
|
21
|
+
get: () => import_operations.get,
|
|
22
|
+
list: () => import_operations.list,
|
|
23
|
+
start: () => import_operations.start
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(migration_exports);
|
|
26
|
+
var import_operations = require("./operations.js");
|
|
27
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
28
|
+
0 && (module.exports = {
|
|
29
|
+
cancel,
|
|
30
|
+
get,
|
|
31
|
+
list,
|
|
32
|
+
start
|
|
33
|
+
});
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/api/migration/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { cancel, list, start, get } from \"./operations.js\";\nexport type {\n MigrationCancelOptionalParams,\n MigrationListOptionalParams,\n MigrationStartOptionalParams,\n MigrationGetOptionalParams,\n} from \"./options.js\";\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,wBAAyC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { RedisEnterpriseManagementContext as Client } from "../index.js";
|
|
2
|
+
import { Migration, _MigrationList } from "../../models/models.js";
|
|
3
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import { MigrationCancelOptionalParams, MigrationListOptionalParams, MigrationStartOptionalParams, MigrationGetOptionalParams } from "./options.js";
|
|
5
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
7
|
+
export declare function _cancelSend(context: Client, resourceGroupName: string, clusterName: string, options?: MigrationCancelOptionalParams): StreamableMethod;
|
|
8
|
+
export declare function _cancelDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
9
|
+
/** Cancel or rollback the migration operation in a Redis Enterprise cluster. */
|
|
10
|
+
export declare function cancel(context: Client, resourceGroupName: string, clusterName: string, options?: MigrationCancelOptionalParams): PollerLike<OperationState<void>, void>;
|
|
11
|
+
export declare function _listSend(context: Client, resourceGroupName: string, clusterName: string, options?: MigrationListOptionalParams): StreamableMethod;
|
|
12
|
+
export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_MigrationList>;
|
|
13
|
+
/** Gets information about all migrations attempts in a Redis Enterprise cluster. */
|
|
14
|
+
export declare function list(context: Client, resourceGroupName: string, clusterName: string, options?: MigrationListOptionalParams): PagedAsyncIterableIterator<Migration>;
|
|
15
|
+
export declare function _startSend(context: Client, resourceGroupName: string, clusterName: string, parameters: Migration, options?: MigrationStartOptionalParams): StreamableMethod;
|
|
16
|
+
export declare function _startDeserialize(result: PathUncheckedResponse): Promise<Migration>;
|
|
17
|
+
/** Starts a new migration */
|
|
18
|
+
export declare function start(context: Client, resourceGroupName: string, clusterName: string, parameters: Migration, options?: MigrationStartOptionalParams): PollerLike<OperationState<Migration>, Migration>;
|
|
19
|
+
export declare function _getSend(context: Client, resourceGroupName: string, clusterName: string, options?: MigrationGetOptionalParams): StreamableMethod;
|
|
20
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<Migration>;
|
|
21
|
+
/** Gets information about a migration in a Redis Enterprise cluster. */
|
|
22
|
+
export declare function get(context: Client, resourceGroupName: string, clusterName: string, options?: MigrationGetOptionalParams): Promise<Migration>;
|
|
23
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var operations_exports = {};
|
|
19
|
+
__export(operations_exports, {
|
|
20
|
+
_cancelDeserialize: () => _cancelDeserialize,
|
|
21
|
+
_cancelSend: () => _cancelSend,
|
|
22
|
+
_getDeserialize: () => _getDeserialize,
|
|
23
|
+
_getSend: () => _getSend,
|
|
24
|
+
_listDeserialize: () => _listDeserialize,
|
|
25
|
+
_listSend: () => _listSend,
|
|
26
|
+
_startDeserialize: () => _startDeserialize,
|
|
27
|
+
_startSend: () => _startSend,
|
|
28
|
+
cancel: () => cancel,
|
|
29
|
+
get: () => get,
|
|
30
|
+
list: () => list,
|
|
31
|
+
start: () => start
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(operations_exports);
|
|
34
|
+
var import_models = require("../../models/models.js");
|
|
35
|
+
var import_pagingHelpers = require("../../static-helpers/pagingHelpers.js");
|
|
36
|
+
var import_pollingHelpers = require("../../static-helpers/pollingHelpers.js");
|
|
37
|
+
var import_urlTemplate = require("../../static-helpers/urlTemplate.js");
|
|
38
|
+
var import_core_client = require("@azure-rest/core-client");
|
|
39
|
+
function _cancelSend(context, resourceGroupName, clusterName, options = { requestOptions: {} }) {
|
|
40
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
41
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/migrations/default/cancel{?api%2Dversion}",
|
|
42
|
+
{
|
|
43
|
+
subscriptionId: context.subscriptionId,
|
|
44
|
+
resourceGroupName,
|
|
45
|
+
clusterName,
|
|
46
|
+
"api%2Dversion": context.apiVersion ?? "2026-02-01-preview"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
return context.path(path).post({ ...(0, import_core_client.operationOptionsToRequestParameters)(options) });
|
|
53
|
+
}
|
|
54
|
+
async function _cancelDeserialize(result) {
|
|
55
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
56
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
57
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
58
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
59
|
+
throw error;
|
|
60
|
+
}
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
function cancel(context, resourceGroupName, clusterName, options = { requestOptions: {} }) {
|
|
64
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _cancelDeserialize, ["202", "200", "201"], {
|
|
65
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
66
|
+
abortSignal: options?.abortSignal,
|
|
67
|
+
getInitialResponse: () => _cancelSend(context, resourceGroupName, clusterName, options),
|
|
68
|
+
resourceLocationConfig: "location",
|
|
69
|
+
apiVersion: context.apiVersion ?? "2026-02-01-preview"
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
function _listSend(context, resourceGroupName, clusterName, options = { requestOptions: {} }) {
|
|
73
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
74
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/migrations{?api%2Dversion}",
|
|
75
|
+
{
|
|
76
|
+
subscriptionId: context.subscriptionId,
|
|
77
|
+
resourceGroupName,
|
|
78
|
+
clusterName,
|
|
79
|
+
"api%2Dversion": context.apiVersion ?? "2026-02-01-preview"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
83
|
+
}
|
|
84
|
+
);
|
|
85
|
+
return context.path(path).get({
|
|
86
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
87
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers }
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
async function _listDeserialize(result) {
|
|
91
|
+
const expectedStatuses = ["200"];
|
|
92
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
93
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
94
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
95
|
+
throw error;
|
|
96
|
+
}
|
|
97
|
+
return (0, import_models._migrationListDeserializer)(result.body);
|
|
98
|
+
}
|
|
99
|
+
function list(context, resourceGroupName, clusterName, options = { requestOptions: {} }) {
|
|
100
|
+
return (0, import_pagingHelpers.buildPagedAsyncIterator)(
|
|
101
|
+
context,
|
|
102
|
+
() => _listSend(context, resourceGroupName, clusterName, options),
|
|
103
|
+
_listDeserialize,
|
|
104
|
+
["200"],
|
|
105
|
+
{
|
|
106
|
+
itemName: "value",
|
|
107
|
+
nextLinkName: "nextLink",
|
|
108
|
+
apiVersion: context.apiVersion ?? "2026-02-01-preview"
|
|
109
|
+
}
|
|
110
|
+
);
|
|
111
|
+
}
|
|
112
|
+
function _startSend(context, resourceGroupName, clusterName, parameters, options = { requestOptions: {} }) {
|
|
113
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
114
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/migrations/default{?api%2Dversion}",
|
|
115
|
+
{
|
|
116
|
+
subscriptionId: context.subscriptionId,
|
|
117
|
+
resourceGroupName,
|
|
118
|
+
clusterName,
|
|
119
|
+
"api%2Dversion": context.apiVersion ?? "2026-02-01-preview"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
123
|
+
}
|
|
124
|
+
);
|
|
125
|
+
return context.path(path).put({
|
|
126
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
127
|
+
contentType: "application/json",
|
|
128
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
129
|
+
body: (0, import_models.migrationSerializer)(parameters)
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
async function _startDeserialize(result) {
|
|
133
|
+
const expectedStatuses = ["200", "201", "202"];
|
|
134
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
135
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
136
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
137
|
+
throw error;
|
|
138
|
+
}
|
|
139
|
+
return (0, import_models.migrationDeserializer)(result.body);
|
|
140
|
+
}
|
|
141
|
+
function start(context, resourceGroupName, clusterName, parameters, options = { requestOptions: {} }) {
|
|
142
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _startDeserialize, ["200", "201", "202"], {
|
|
143
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
144
|
+
abortSignal: options?.abortSignal,
|
|
145
|
+
getInitialResponse: () => _startSend(context, resourceGroupName, clusterName, parameters, options),
|
|
146
|
+
resourceLocationConfig: "original-uri",
|
|
147
|
+
apiVersion: context.apiVersion ?? "2026-02-01-preview"
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
function _getSend(context, resourceGroupName, clusterName, options = { requestOptions: {} }) {
|
|
151
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
152
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/migrations/default{?api%2Dversion}",
|
|
153
|
+
{
|
|
154
|
+
subscriptionId: context.subscriptionId,
|
|
155
|
+
resourceGroupName,
|
|
156
|
+
clusterName,
|
|
157
|
+
"api%2Dversion": context.apiVersion ?? "2026-02-01-preview"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
161
|
+
}
|
|
162
|
+
);
|
|
163
|
+
return context.path(path).get({
|
|
164
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
165
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers }
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
async function _getDeserialize(result) {
|
|
169
|
+
const expectedStatuses = ["200"];
|
|
170
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
171
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
172
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
173
|
+
throw error;
|
|
174
|
+
}
|
|
175
|
+
return (0, import_models.migrationDeserializer)(result.body);
|
|
176
|
+
}
|
|
177
|
+
async function get(context, resourceGroupName, clusterName, options = { requestOptions: {} }) {
|
|
178
|
+
const result = await _getSend(context, resourceGroupName, clusterName, options);
|
|
179
|
+
return _getDeserialize(result);
|
|
180
|
+
}
|
|
181
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
182
|
+
0 && (module.exports = {
|
|
183
|
+
_cancelDeserialize,
|
|
184
|
+
_cancelSend,
|
|
185
|
+
_getDeserialize,
|
|
186
|
+
_getSend,
|
|
187
|
+
_listDeserialize,
|
|
188
|
+
_listSend,
|
|
189
|
+
_startDeserialize,
|
|
190
|
+
_startSend,
|
|
191
|
+
cancel,
|
|
192
|
+
get,
|
|
193
|
+
list,
|
|
194
|
+
start
|
|
195
|
+
});
|
|
196
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/api/migration/operations.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { RedisEnterpriseManagementContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n Migration,\n migrationSerializer,\n migrationDeserializer,\n _MigrationList,\n _migrationListDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n MigrationCancelOptionalParams,\n MigrationListOptionalParams,\n MigrationStartOptionalParams,\n MigrationGetOptionalParams,\n} from \"./options.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 _cancelSend(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n options: MigrationCancelOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/migrations/default/cancel{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterName: clusterName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-02-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _cancelDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Cancel or rollback the migration operation in a Redis Enterprise cluster. */\nexport function cancel(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n options: MigrationCancelOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _cancelDeserialize, [\"202\", \"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _cancelSend(context, resourceGroupName, clusterName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-02-01-preview\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _listSend(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n options: MigrationListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/migrations{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterName: clusterName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-02-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listDeserialize(result: PathUncheckedResponse): Promise<_MigrationList> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _migrationListDeserializer(result.body);\n}\n\n/** Gets information about all migrations attempts in a Redis Enterprise cluster. */\nexport function list(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n options: MigrationListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Migration> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, resourceGroupName, clusterName, options),\n _listDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2026-02-01-preview\",\n },\n );\n}\n\nexport function _startSend(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n parameters: Migration,\n options: MigrationStartOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/migrations/default{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterName: clusterName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-02-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: migrationSerializer(parameters),\n });\n}\n\nexport async function _startDeserialize(result: PathUncheckedResponse): Promise<Migration> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return migrationDeserializer(result.body);\n}\n\n/** Starts a new migration */\nexport function start(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n parameters: Migration,\n options: MigrationStartOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<Migration>, Migration> {\n return getLongRunningPoller(context, _startDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _startSend(context, resourceGroupName, clusterName, parameters, options),\n resourceLocationConfig: \"original-uri\",\n apiVersion: context.apiVersion ?? \"2026-02-01-preview\",\n }) as PollerLike<OperationState<Migration>, Migration>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n options: MigrationGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/migrations/default{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n clusterName: clusterName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-02-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<Migration> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return migrationDeserializer(result.body);\n}\n\n/** Gets information about a migration in a Redis Enterprise cluster. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n clusterName: string,\n options: MigrationGetOptionalParams = { requestOptions: {} },\n): Promise<Migration> {\n const result = await _getSend(context, resourceGroupName, clusterName, options);\n return _getDeserialize(result);\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,oBAOO;AACP,2BAGO;AACP,4BAAqC;AACrC,yBAAkC;AAOlC,yBAKO;AAGA,SAAS,YACd,SACA,mBACA,aACA,UAAyC,EAAE,gBAAgB,CAAC,EAAE,GAC5C;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MACxB;AAAA,MACA;AAAA,MACA,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,KAAK,EAAE,OAAG,wDAAoC,OAAO,EAAE,CAAC;AACpF;AAEA,eAAsB,mBAAmB,QAA8C;AACrF,QAAM,mBAAmB,CAAC,OAAO,OAAO,KAAK;AAC7C,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,UAAM,cAAU,yCAA0B,OAAO,IAAI;AAErD,UAAM;AAAA,EACR;AAEA;AACF;AAGO,SAAS,OACd,SACA,mBACA,aACA,UAAyC,EAAE,gBAAgB,CAAC,EAAE,GACtB;AACxC,aAAO,4CAAqB,SAAS,oBAAoB,CAAC,OAAO,OAAO,KAAK,GAAG;AAAA,IAC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,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,IAAI;AAAA,IAC5B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,EAC5E,CAAC;AACH;AAEA,eAAsB,gBAAgB,QAAmD;AACvF,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,UAAM,cAAU,yCAA0B,OAAO,IAAI;AAErD,UAAM;AAAA,EACR;AAEA,aAAO,qCAAsB,OAAO,IAAI;AAC1C;AAGA,eAAsB,IACpB,SACA,mBACA,aACA,UAAsC,EAAE,gBAAgB,CAAC,EAAE,GACvC;AACpB,QAAM,SAAS,MAAM,SAAS,SAAS,mBAAmB,aAAa,OAAO;AAC9E,SAAO,gBAAgB,MAAM;AAC/B;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OperationOptions } from "@azure-rest/core-client";
|
|
2
|
+
/** Optional parameters. */
|
|
3
|
+
export interface MigrationCancelOptionalParams extends OperationOptions {
|
|
4
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
5
|
+
updateIntervalInMs?: number;
|
|
6
|
+
}
|
|
7
|
+
/** Optional parameters. */
|
|
8
|
+
export interface MigrationListOptionalParams extends OperationOptions {
|
|
9
|
+
}
|
|
10
|
+
/** Optional parameters. */
|
|
11
|
+
export interface MigrationStartOptionalParams extends OperationOptions {
|
|
12
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
13
|
+
updateIntervalInMs?: number;
|
|
14
|
+
}
|
|
15
|
+
/** Optional parameters. */
|
|
16
|
+
export interface MigrationGetOptionalParams extends OperationOptions {
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
14
|
+
var options_exports = {};
|
|
15
|
+
module.exports = __toCommonJS(options_exports);
|
|
16
|
+
//# sourceMappingURL=options.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/api/migration/options.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface MigrationCancelOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface MigrationListOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface MigrationStartOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface MigrationGetOptionalParams extends OperationOptions {}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var migrations_exports = {};
|
|
19
|
+
__export(migrations_exports, {
|
|
20
|
+
validate: () => import_operations.validate
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(migrations_exports);
|
|
23
|
+
var import_operations = require("./operations.js");
|
|
24
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
25
|
+
0 && (module.exports = {
|
|
26
|
+
validate
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=index.js.map
|