@azure/arm-redisenterprisecache 3.1.0-beta.1 → 4.0.0-alpha.20250422.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +243 -0
- package/LICENSE +3 -3
- package/README.md +24 -18
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +517 -31
- package/dist/browser/models/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.js +146 -2
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.d.ts +21 -1
- package/dist/browser/models/mappers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +506 -5
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.d.ts +2 -0
- package/dist/browser/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +22 -5
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/accessPolicyAssignmentOperations.d.ts +110 -0
- package/dist/browser/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
- package/dist/browser/operations/accessPolicyAssignmentOperations.js +411 -0
- package/dist/browser/operations/accessPolicyAssignmentOperations.js.map +1 -0
- package/dist/browser/operations/databases.d.ts +283 -0
- package/dist/browser/operations/databases.d.ts.map +1 -0
- package/dist/browser/operations/databases.js +1152 -0
- package/dist/browser/operations/databases.js.map +1 -0
- package/dist/browser/operations/index.d.ts +8 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +15 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operationsStatus.d.ts +3 -3
- package/dist/browser/operations/operationsStatus.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operationsStatus.js +2 -2
- package/dist/browser/operations/operationsStatus.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +31 -17
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +114 -108
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +11 -7
- package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +10 -6
- package/dist/browser/operations/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/redisEnterprise.d.ts +46 -23
- package/dist/browser/operations/redisEnterprise.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/redisEnterprise.js +182 -148
- package/dist/browser/operations/redisEnterprise.js.map +1 -0
- package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +79 -0
- package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.js +9 -0
- package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/databases.d.ts +77 -33
- package/dist/browser/operationsInterfaces/databases.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/databases.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +8 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +15 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operationsStatus.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operationsStatus.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operationsStatus.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +25 -13
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +5 -3
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/redisEnterprise.d.ts +42 -19
- package/dist/browser/operationsInterfaces/redisEnterprise.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/redisEnterprise.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/redisEnterpriseManagementClient.d.ts +3 -2
- package/dist/browser/redisEnterpriseManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/redisEnterpriseManagementClient.js +19 -20
- package/dist/browser/redisEnterpriseManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +24 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-redisenterprisecache.d.ts → dist/commonjs/models/index.d.ts} +1624 -1671
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +367 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +65 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1788 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +27 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +217 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/accessPolicyAssignmentOperations.d.ts +110 -0
- package/dist/commonjs/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/accessPolicyAssignmentOperations.js +415 -0
- package/dist/commonjs/operations/accessPolicyAssignmentOperations.js.map +1 -0
- package/dist/commonjs/operations/databases.d.ts +283 -0
- package/dist/commonjs/operations/databases.d.ts.map +1 -0
- package/dist/commonjs/operations/databases.js +1156 -0
- package/dist/commonjs/operations/databases.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +8 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +18 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/operationsStatus.d.ts +20 -0
- package/dist/commonjs/operations/operationsStatus.d.ts.map +1 -0
- package/dist/commonjs/operations/operationsStatus.js +58 -0
- package/dist/commonjs/operations/operationsStatus.js.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +94 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.js +345 -0
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts +34 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.js +113 -0
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operations/redisEnterprise.d.ts +130 -0
- package/dist/commonjs/operations/redisEnterprise.d.ts.map +1 -0
- package/dist/commonjs/operations/redisEnterprise.js +584 -0
- package/dist/commonjs/operations/redisEnterprise.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +79 -0
- package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
- package/{dist-esm/src/operations → dist/commonjs/operationsInterfaces}/databases.d.ts +79 -60
- package/dist/commonjs/operationsInterfaces/databases.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/databases.js +10 -0
- package/dist/commonjs/operationsInterfaces/databases.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +18 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operationsStatus.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/operationsStatus.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operationsStatus.js +10 -0
- package/dist/commonjs/operationsInterfaces/operationsStatus.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +75 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/redisEnterprise.d.ts +94 -0
- package/dist/commonjs/operationsInterfaces/redisEnterprise.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/redisEnterprise.js +10 -0
- package/dist/commonjs/operationsInterfaces/redisEnterprise.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/redisEnterpriseManagementClient.d.ts +26 -0
- package/dist/commonjs/redisEnterpriseManagementClient.d.ts.map +1 -0
- package/dist/commonjs/redisEnterpriseManagementClient.js +109 -0
- package/dist/commonjs/redisEnterpriseManagementClient.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +21 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1624 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +364 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +65 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1784 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +27 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +214 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/accessPolicyAssignmentOperations.d.ts +110 -0
- package/dist/esm/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
- package/dist/esm/operations/accessPolicyAssignmentOperations.js +411 -0
- package/dist/esm/operations/accessPolicyAssignmentOperations.js.map +1 -0
- package/dist/esm/operations/databases.d.ts +283 -0
- package/dist/esm/operations/databases.d.ts.map +1 -0
- package/dist/esm/operations/databases.js +1152 -0
- package/dist/esm/operations/databases.js.map +1 -0
- package/dist/esm/operations/index.d.ts +8 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +15 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/operationsStatus.d.ts +20 -0
- package/dist/esm/operations/operationsStatus.d.ts.map +1 -0
- package/dist/esm/operations/operationsStatus.js +53 -0
- package/dist/esm/operations/operationsStatus.js.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts +94 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.js +341 -0
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operations/privateLinkResources.d.ts +34 -0
- package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operations/privateLinkResources.js +109 -0
- package/dist/esm/operations/privateLinkResources.js.map +1 -0
- package/dist/esm/operations/redisEnterprise.d.ts +130 -0
- package/dist/esm/operations/redisEnterprise.d.ts.map +1 -0
- package/dist/esm/operations/redisEnterprise.js +580 -0
- package/dist/esm/operations/redisEnterprise.js.map +1 -0
- package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +79 -0
- package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.js +9 -0
- package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/databases.d.ts +254 -0
- package/dist/esm/operationsInterfaces/databases.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/databases.js +9 -0
- package/dist/esm/operationsInterfaces/databases.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +8 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +15 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/operationsStatus.d.ts +12 -0
- package/dist/esm/operationsInterfaces/operationsStatus.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operationsStatus.js +9 -0
- package/dist/esm/operationsInterfaces/operationsStatus.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +75 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/redisEnterprise.d.ts +94 -0
- package/dist/esm/operationsInterfaces/redisEnterprise.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/redisEnterprise.js +9 -0
- package/dist/esm/operationsInterfaces/redisEnterprise.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/redisEnterpriseManagementClient.d.ts +26 -0
- package/dist/esm/redisEnterpriseManagementClient.d.ts.map +1 -0
- package/dist/esm/redisEnterpriseManagementClient.js +104 -0
- package/dist/esm/redisEnterpriseManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +21 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1624 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +364 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +65 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1784 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +27 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +214 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/accessPolicyAssignmentOperations.d.ts +110 -0
- package/dist/react-native/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
- package/dist/react-native/operations/accessPolicyAssignmentOperations.js +411 -0
- package/dist/react-native/operations/accessPolicyAssignmentOperations.js.map +1 -0
- package/dist/react-native/operations/databases.d.ts +283 -0
- package/dist/react-native/operations/databases.d.ts.map +1 -0
- package/dist/react-native/operations/databases.js +1152 -0
- package/dist/react-native/operations/databases.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +8 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +15 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/operationsStatus.d.ts +20 -0
- package/dist/react-native/operations/operationsStatus.d.ts.map +1 -0
- package/dist/react-native/operations/operationsStatus.js +53 -0
- package/dist/react-native/operations/operationsStatus.js.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts +94 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.js +341 -0
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operations/privateLinkResources.d.ts +34 -0
- package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operations/privateLinkResources.js +109 -0
- package/dist/react-native/operations/privateLinkResources.js.map +1 -0
- package/dist/react-native/operations/redisEnterprise.d.ts +130 -0
- package/dist/react-native/operations/redisEnterprise.d.ts.map +1 -0
- package/dist/react-native/operations/redisEnterprise.js +580 -0
- package/dist/react-native/operations/redisEnterprise.js.map +1 -0
- package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +79 -0
- package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/databases.d.ts +254 -0
- package/dist/react-native/operationsInterfaces/databases.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/databases.js +9 -0
- package/dist/react-native/operationsInterfaces/databases.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +15 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operationsStatus.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/operationsStatus.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operationsStatus.js +9 -0
- package/dist/react-native/operationsInterfaces/operationsStatus.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +75 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/redisEnterprise.d.ts +94 -0
- package/dist/react-native/operationsInterfaces/redisEnterprise.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/redisEnterprise.js +9 -0
- package/dist/react-native/operationsInterfaces/redisEnterprise.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/redisEnterpriseManagementClient.d.ts +26 -0
- package/dist/react-native/redisEnterpriseManagementClient.d.ts.map +1 -0
- package/dist/react-native/redisEnterpriseManagementClient.js +104 -0
- package/dist/react-native/redisEnterpriseManagementClient.js.map +1 -0
- package/package.json +81 -55
- package/review/arm-redisenterprisecache.api.md +294 -6
- package/LICENSE.txt +0 -21
- package/dist/index.js +0 -4221
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/databasesCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/databasesCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/databasesCreateSample.js +0 -88
- package/dist-esm/samples-dev/databasesCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/databasesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/databasesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/databasesDeleteSample.js +0 -39
- package/dist-esm/samples-dev/databasesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/databasesExportSample.d.ts +0 -2
- package/dist-esm/samples-dev/databasesExportSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/databasesExportSample.js +0 -42
- package/dist-esm/samples-dev/databasesExportSample.js.map +0 -1
- package/dist-esm/samples-dev/databasesFlushSample.d.ts +0 -2
- package/dist-esm/samples-dev/databasesFlushSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/databasesFlushSample.js +0 -44
- package/dist-esm/samples-dev/databasesFlushSample.js.map +0 -1
- package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.js +0 -51
- package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/databasesForceUnlinkSample.d.ts +0 -2
- package/dist-esm/samples-dev/databasesForceUnlinkSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/databasesForceUnlinkSample.js +0 -44
- package/dist-esm/samples-dev/databasesForceUnlinkSample.js.map +0 -1
- package/dist-esm/samples-dev/databasesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/databasesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/databasesGetSample.js +0 -39
- package/dist-esm/samples-dev/databasesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/databasesImportSample.d.ts +0 -2
- package/dist-esm/samples-dev/databasesImportSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/databasesImportSample.js +0 -45
- package/dist-esm/samples-dev/databasesImportSample.js.map +0 -1
- package/dist-esm/samples-dev/databasesListByClusterSample.d.ts +0 -2
- package/dist-esm/samples-dev/databasesListByClusterSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/databasesListByClusterSample.js +0 -54
- package/dist-esm/samples-dev/databasesListByClusterSample.js.map +0 -1
- package/dist-esm/samples-dev/databasesListKeysSample.d.ts +0 -2
- package/dist-esm/samples-dev/databasesListKeysSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/databasesListKeysSample.js +0 -39
- package/dist-esm/samples-dev/databasesListKeysSample.js.map +0 -1
- package/dist-esm/samples-dev/databasesRegenerateKeySample.d.ts +0 -2
- package/dist-esm/samples-dev/databasesRegenerateKeySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/databasesRegenerateKeySample.js +0 -40
- package/dist-esm/samples-dev/databasesRegenerateKeySample.js.map +0 -1
- package/dist-esm/samples-dev/databasesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/databasesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/databasesUpdateSample.js +0 -44
- package/dist-esm/samples-dev/databasesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.d.ts +0 -2
- package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js +0 -39
- package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -53
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsStatusGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsStatusGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsStatusGetSample.js +0 -38
- package/dist-esm/samples-dev/operationsStatusGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -39
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +0 -54
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +0 -45
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +0 -54
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseCreateSample.js +0 -60
- package/dist-esm/samples-dev/redisEnterpriseCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js +0 -38
- package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseGetSample.js +0 -38
- package/dist-esm/samples-dev/redisEnterpriseGetSample.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js +0 -53
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseListSample.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseListSample.js +0 -52
- package/dist-esm/samples-dev/redisEnterpriseListSample.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js +0 -43
- package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.d.ts.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/databases.d.ts.map +0 -1
- package/dist-esm/src/operations/databases.js +0 -1150
- package/dist-esm/src/operations/databases.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -7
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -14
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/operationsStatus.d.ts.map +0 -1
- package/dist-esm/src/operations/operationsStatus.js.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operations/redisEnterprise.d.ts.map +0 -1
- package/dist-esm/src/operations/redisEnterprise.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/databases.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/databases.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -7
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -14
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operationsStatus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/redisEnterprise.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/redisEnterprise.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/redisEnterpriseManagementClient.d.ts.map +0 -1
- package/dist-esm/src/redisEnterpriseManagementClient.js.map +0 -1
- package/dist-esm/test/redisenterprisecache_test.spec.d.ts +0 -4
- package/dist-esm/test/redisenterprisecache_test.spec.d.ts.map +0 -1
- package/dist-esm/test/redisenterprisecache_test.spec.js +0 -70
- package/dist-esm/test/redisenterprisecache_test.spec.js.map +0 -1
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -1289
- package/src/models/mappers.ts +0 -1375
- package/src/models/parameters.ts +0 -237
- package/src/operations/databases.ts +0 -1603
- package/src/operations/index.ts +0 -14
- package/src/operations/operations.ts +0 -149
- package/src/operations/operationsStatus.ts +0 -71
- package/src/operations/privateEndpointConnections.ts +0 -451
- package/src/operations/privateLinkResources.ts +0 -136
- package/src/operations/redisEnterprise.ts +0 -708
- package/src/operationsInterfaces/databases.ts +0 -403
- package/src/operationsInterfaces/index.ts +0 -14
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/operationsStatus.ts +0 -27
- package/src/operationsInterfaces/privateEndpointConnections.ts +0 -116
- package/src/operationsInterfaces/privateLinkResources.ts +0 -29
- package/src/operationsInterfaces/redisEnterprise.ts +0 -139
- package/src/pagingHelper.ts +0 -39
- package/src/redisEnterpriseManagementClient.ts +0 -165
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/databases.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operationsStatus.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/redisEnterprise.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
|
@@ -1,1150 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
10
|
-
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
import { createHttpPoller, } from "@azure/core-lro";
|
|
14
|
-
import { createLroSpec } from "../lroImpl";
|
|
15
|
-
/// <reference lib="esnext.asynciterable" />
|
|
16
|
-
/** Class containing Databases operations. */
|
|
17
|
-
export class DatabasesImpl {
|
|
18
|
-
/**
|
|
19
|
-
* Initialize a new instance of the class Databases class.
|
|
20
|
-
* @param client Reference to the service client
|
|
21
|
-
*/
|
|
22
|
-
constructor(client) {
|
|
23
|
-
this.client = client;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Gets all databases in the specified RedisEnterprise cluster.
|
|
27
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
28
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
29
|
-
* @param options The options parameters.
|
|
30
|
-
*/
|
|
31
|
-
listByCluster(resourceGroupName, clusterName, options) {
|
|
32
|
-
const iter = this.listByClusterPagingAll(resourceGroupName, clusterName, options);
|
|
33
|
-
return {
|
|
34
|
-
next() {
|
|
35
|
-
return iter.next();
|
|
36
|
-
},
|
|
37
|
-
[Symbol.asyncIterator]() {
|
|
38
|
-
return this;
|
|
39
|
-
},
|
|
40
|
-
byPage: (settings) => {
|
|
41
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
42
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
|
-
}
|
|
44
|
-
return this.listByClusterPagingPage(resourceGroupName, clusterName, options, settings);
|
|
45
|
-
},
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
listByClusterPagingPage(resourceGroupName, clusterName, options, settings) {
|
|
49
|
-
return __asyncGenerator(this, arguments, function* listByClusterPagingPage_1() {
|
|
50
|
-
let result;
|
|
51
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
52
|
-
if (!continuationToken) {
|
|
53
|
-
result = yield __await(this._listByCluster(resourceGroupName, clusterName, options));
|
|
54
|
-
let page = result.value || [];
|
|
55
|
-
continuationToken = result.nextLink;
|
|
56
|
-
setContinuationToken(page, continuationToken);
|
|
57
|
-
yield yield __await(page);
|
|
58
|
-
}
|
|
59
|
-
while (continuationToken) {
|
|
60
|
-
result = yield __await(this._listByClusterNext(resourceGroupName, clusterName, continuationToken, options));
|
|
61
|
-
continuationToken = result.nextLink;
|
|
62
|
-
let page = result.value || [];
|
|
63
|
-
setContinuationToken(page, continuationToken);
|
|
64
|
-
yield yield __await(page);
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
listByClusterPagingAll(resourceGroupName, clusterName, options) {
|
|
69
|
-
return __asyncGenerator(this, arguments, function* listByClusterPagingAll_1() {
|
|
70
|
-
var _a, e_1, _b, _c;
|
|
71
|
-
try {
|
|
72
|
-
for (var _d = true, _e = __asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
73
|
-
_c = _f.value;
|
|
74
|
-
_d = false;
|
|
75
|
-
const page = _c;
|
|
76
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
80
|
-
finally {
|
|
81
|
-
try {
|
|
82
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
83
|
-
}
|
|
84
|
-
finally { if (e_1) throw e_1.error; }
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Gets all databases in the specified RedisEnterprise cluster.
|
|
90
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
91
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
92
|
-
* @param options The options parameters.
|
|
93
|
-
*/
|
|
94
|
-
_listByCluster(resourceGroupName, clusterName, options) {
|
|
95
|
-
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listByClusterOperationSpec);
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Creates a database
|
|
99
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
100
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
101
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
102
|
-
* @param parameters Parameters supplied to the create or update database operation.
|
|
103
|
-
* @param options The options parameters.
|
|
104
|
-
*/
|
|
105
|
-
beginCreate(resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
106
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
107
|
-
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
108
|
-
return this.client.sendOperationRequest(args, spec);
|
|
109
|
-
});
|
|
110
|
-
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
111
|
-
var _a;
|
|
112
|
-
let currentRawResponse = undefined;
|
|
113
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
114
|
-
const callback = (rawResponse, flatResponse) => {
|
|
115
|
-
currentRawResponse = rawResponse;
|
|
116
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
117
|
-
};
|
|
118
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
119
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
120
|
-
return {
|
|
121
|
-
flatResponse,
|
|
122
|
-
rawResponse: {
|
|
123
|
-
statusCode: currentRawResponse.status,
|
|
124
|
-
body: currentRawResponse.parsedBody,
|
|
125
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
126
|
-
},
|
|
127
|
-
};
|
|
128
|
-
});
|
|
129
|
-
const lro = createLroSpec({
|
|
130
|
-
sendOperationFn,
|
|
131
|
-
args: {
|
|
132
|
-
resourceGroupName,
|
|
133
|
-
clusterName,
|
|
134
|
-
databaseName,
|
|
135
|
-
parameters,
|
|
136
|
-
options,
|
|
137
|
-
},
|
|
138
|
-
spec: createOperationSpec,
|
|
139
|
-
});
|
|
140
|
-
const poller = yield createHttpPoller(lro, {
|
|
141
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
142
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
143
|
-
resourceLocationConfig: "original-uri",
|
|
144
|
-
});
|
|
145
|
-
yield poller.poll();
|
|
146
|
-
return poller;
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* Creates a database
|
|
151
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
152
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
153
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
154
|
-
* @param parameters Parameters supplied to the create or update database operation.
|
|
155
|
-
* @param options The options parameters.
|
|
156
|
-
*/
|
|
157
|
-
beginCreateAndWait(resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
158
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
159
|
-
const poller = yield this.beginCreate(resourceGroupName, clusterName, databaseName, parameters, options);
|
|
160
|
-
return poller.pollUntilDone();
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* Updates a database
|
|
165
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
166
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
167
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
168
|
-
* @param parameters Parameters supplied to the create or update database operation.
|
|
169
|
-
* @param options The options parameters.
|
|
170
|
-
*/
|
|
171
|
-
beginUpdate(resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
172
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
173
|
-
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
174
|
-
return this.client.sendOperationRequest(args, spec);
|
|
175
|
-
});
|
|
176
|
-
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
177
|
-
var _a;
|
|
178
|
-
let currentRawResponse = undefined;
|
|
179
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
180
|
-
const callback = (rawResponse, flatResponse) => {
|
|
181
|
-
currentRawResponse = rawResponse;
|
|
182
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
183
|
-
};
|
|
184
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
185
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
186
|
-
return {
|
|
187
|
-
flatResponse,
|
|
188
|
-
rawResponse: {
|
|
189
|
-
statusCode: currentRawResponse.status,
|
|
190
|
-
body: currentRawResponse.parsedBody,
|
|
191
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
192
|
-
},
|
|
193
|
-
};
|
|
194
|
-
});
|
|
195
|
-
const lro = createLroSpec({
|
|
196
|
-
sendOperationFn,
|
|
197
|
-
args: {
|
|
198
|
-
resourceGroupName,
|
|
199
|
-
clusterName,
|
|
200
|
-
databaseName,
|
|
201
|
-
parameters,
|
|
202
|
-
options,
|
|
203
|
-
},
|
|
204
|
-
spec: updateOperationSpec,
|
|
205
|
-
});
|
|
206
|
-
const poller = yield createHttpPoller(lro, {
|
|
207
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
208
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
209
|
-
resourceLocationConfig: "azure-async-operation",
|
|
210
|
-
});
|
|
211
|
-
yield poller.poll();
|
|
212
|
-
return poller;
|
|
213
|
-
});
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* Updates a database
|
|
217
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
218
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
219
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
220
|
-
* @param parameters Parameters supplied to the create or update database operation.
|
|
221
|
-
* @param options The options parameters.
|
|
222
|
-
*/
|
|
223
|
-
beginUpdateAndWait(resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
224
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
225
|
-
const poller = yield this.beginUpdate(resourceGroupName, clusterName, databaseName, parameters, options);
|
|
226
|
-
return poller.pollUntilDone();
|
|
227
|
-
});
|
|
228
|
-
}
|
|
229
|
-
/**
|
|
230
|
-
* Gets information about a database in a RedisEnterprise cluster.
|
|
231
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
232
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
233
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
234
|
-
* @param options The options parameters.
|
|
235
|
-
*/
|
|
236
|
-
get(resourceGroupName, clusterName, databaseName, options) {
|
|
237
|
-
return this.client.sendOperationRequest({ resourceGroupName, clusterName, databaseName, options }, getOperationSpec);
|
|
238
|
-
}
|
|
239
|
-
/**
|
|
240
|
-
* Deletes a single database
|
|
241
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
242
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
243
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
244
|
-
* @param options The options parameters.
|
|
245
|
-
*/
|
|
246
|
-
beginDelete(resourceGroupName, clusterName, databaseName, options) {
|
|
247
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
248
|
-
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
249
|
-
return this.client.sendOperationRequest(args, spec);
|
|
250
|
-
});
|
|
251
|
-
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
252
|
-
var _a;
|
|
253
|
-
let currentRawResponse = undefined;
|
|
254
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
255
|
-
const callback = (rawResponse, flatResponse) => {
|
|
256
|
-
currentRawResponse = rawResponse;
|
|
257
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
258
|
-
};
|
|
259
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
260
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
261
|
-
return {
|
|
262
|
-
flatResponse,
|
|
263
|
-
rawResponse: {
|
|
264
|
-
statusCode: currentRawResponse.status,
|
|
265
|
-
body: currentRawResponse.parsedBody,
|
|
266
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
267
|
-
},
|
|
268
|
-
};
|
|
269
|
-
});
|
|
270
|
-
const lro = createLroSpec({
|
|
271
|
-
sendOperationFn,
|
|
272
|
-
args: { resourceGroupName, clusterName, databaseName, options },
|
|
273
|
-
spec: deleteOperationSpec,
|
|
274
|
-
});
|
|
275
|
-
const poller = yield createHttpPoller(lro, {
|
|
276
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
277
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
278
|
-
resourceLocationConfig: "azure-async-operation",
|
|
279
|
-
});
|
|
280
|
-
yield poller.poll();
|
|
281
|
-
return poller;
|
|
282
|
-
});
|
|
283
|
-
}
|
|
284
|
-
/**
|
|
285
|
-
* Deletes a single database
|
|
286
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
287
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
288
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
289
|
-
* @param options The options parameters.
|
|
290
|
-
*/
|
|
291
|
-
beginDeleteAndWait(resourceGroupName, clusterName, databaseName, options) {
|
|
292
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
293
|
-
const poller = yield this.beginDelete(resourceGroupName, clusterName, databaseName, options);
|
|
294
|
-
return poller.pollUntilDone();
|
|
295
|
-
});
|
|
296
|
-
}
|
|
297
|
-
/**
|
|
298
|
-
* Retrieves the access keys for the RedisEnterprise database.
|
|
299
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
300
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
301
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
302
|
-
* @param options The options parameters.
|
|
303
|
-
*/
|
|
304
|
-
listKeys(resourceGroupName, clusterName, databaseName, options) {
|
|
305
|
-
return this.client.sendOperationRequest({ resourceGroupName, clusterName, databaseName, options }, listKeysOperationSpec);
|
|
306
|
-
}
|
|
307
|
-
/**
|
|
308
|
-
* Regenerates the RedisEnterprise database's access keys.
|
|
309
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
310
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
311
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
312
|
-
* @param parameters Specifies which key to regenerate.
|
|
313
|
-
* @param options The options parameters.
|
|
314
|
-
*/
|
|
315
|
-
beginRegenerateKey(resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
316
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
317
|
-
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
318
|
-
return this.client.sendOperationRequest(args, spec);
|
|
319
|
-
});
|
|
320
|
-
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
321
|
-
var _a;
|
|
322
|
-
let currentRawResponse = undefined;
|
|
323
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
324
|
-
const callback = (rawResponse, flatResponse) => {
|
|
325
|
-
currentRawResponse = rawResponse;
|
|
326
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
327
|
-
};
|
|
328
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
329
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
330
|
-
return {
|
|
331
|
-
flatResponse,
|
|
332
|
-
rawResponse: {
|
|
333
|
-
statusCode: currentRawResponse.status,
|
|
334
|
-
body: currentRawResponse.parsedBody,
|
|
335
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
336
|
-
},
|
|
337
|
-
};
|
|
338
|
-
});
|
|
339
|
-
const lro = createLroSpec({
|
|
340
|
-
sendOperationFn,
|
|
341
|
-
args: {
|
|
342
|
-
resourceGroupName,
|
|
343
|
-
clusterName,
|
|
344
|
-
databaseName,
|
|
345
|
-
parameters,
|
|
346
|
-
options,
|
|
347
|
-
},
|
|
348
|
-
spec: regenerateKeyOperationSpec,
|
|
349
|
-
});
|
|
350
|
-
const poller = yield createHttpPoller(lro, {
|
|
351
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
352
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
353
|
-
resourceLocationConfig: "azure-async-operation",
|
|
354
|
-
});
|
|
355
|
-
yield poller.poll();
|
|
356
|
-
return poller;
|
|
357
|
-
});
|
|
358
|
-
}
|
|
359
|
-
/**
|
|
360
|
-
* Regenerates the RedisEnterprise database's access keys.
|
|
361
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
362
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
363
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
364
|
-
* @param parameters Specifies which key to regenerate.
|
|
365
|
-
* @param options The options parameters.
|
|
366
|
-
*/
|
|
367
|
-
beginRegenerateKeyAndWait(resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
368
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
369
|
-
const poller = yield this.beginRegenerateKey(resourceGroupName, clusterName, databaseName, parameters, options);
|
|
370
|
-
return poller.pollUntilDone();
|
|
371
|
-
});
|
|
372
|
-
}
|
|
373
|
-
/**
|
|
374
|
-
* Imports database files to target database.
|
|
375
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
376
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
377
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
378
|
-
* @param parameters Storage information for importing into the cluster
|
|
379
|
-
* @param options The options parameters.
|
|
380
|
-
*/
|
|
381
|
-
beginImport(resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
382
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
383
|
-
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
384
|
-
return this.client.sendOperationRequest(args, spec);
|
|
385
|
-
});
|
|
386
|
-
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
387
|
-
var _a;
|
|
388
|
-
let currentRawResponse = undefined;
|
|
389
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
390
|
-
const callback = (rawResponse, flatResponse) => {
|
|
391
|
-
currentRawResponse = rawResponse;
|
|
392
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
393
|
-
};
|
|
394
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
395
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
396
|
-
return {
|
|
397
|
-
flatResponse,
|
|
398
|
-
rawResponse: {
|
|
399
|
-
statusCode: currentRawResponse.status,
|
|
400
|
-
body: currentRawResponse.parsedBody,
|
|
401
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
402
|
-
},
|
|
403
|
-
};
|
|
404
|
-
});
|
|
405
|
-
const lro = createLroSpec({
|
|
406
|
-
sendOperationFn,
|
|
407
|
-
args: {
|
|
408
|
-
resourceGroupName,
|
|
409
|
-
clusterName,
|
|
410
|
-
databaseName,
|
|
411
|
-
parameters,
|
|
412
|
-
options,
|
|
413
|
-
},
|
|
414
|
-
spec: importOperationSpec,
|
|
415
|
-
});
|
|
416
|
-
const poller = yield createHttpPoller(lro, {
|
|
417
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
418
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
419
|
-
resourceLocationConfig: "azure-async-operation",
|
|
420
|
-
});
|
|
421
|
-
yield poller.poll();
|
|
422
|
-
return poller;
|
|
423
|
-
});
|
|
424
|
-
}
|
|
425
|
-
/**
|
|
426
|
-
* Imports database files to target database.
|
|
427
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
428
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
429
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
430
|
-
* @param parameters Storage information for importing into the cluster
|
|
431
|
-
* @param options The options parameters.
|
|
432
|
-
*/
|
|
433
|
-
beginImportAndWait(resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
434
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
435
|
-
const poller = yield this.beginImport(resourceGroupName, clusterName, databaseName, parameters, options);
|
|
436
|
-
return poller.pollUntilDone();
|
|
437
|
-
});
|
|
438
|
-
}
|
|
439
|
-
/**
|
|
440
|
-
* Exports a database file from target database.
|
|
441
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
442
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
443
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
444
|
-
* @param parameters Storage information for exporting into the cluster
|
|
445
|
-
* @param options The options parameters.
|
|
446
|
-
*/
|
|
447
|
-
beginExport(resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
448
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
449
|
-
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
450
|
-
return this.client.sendOperationRequest(args, spec);
|
|
451
|
-
});
|
|
452
|
-
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
453
|
-
var _a;
|
|
454
|
-
let currentRawResponse = undefined;
|
|
455
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
456
|
-
const callback = (rawResponse, flatResponse) => {
|
|
457
|
-
currentRawResponse = rawResponse;
|
|
458
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
459
|
-
};
|
|
460
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
461
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
462
|
-
return {
|
|
463
|
-
flatResponse,
|
|
464
|
-
rawResponse: {
|
|
465
|
-
statusCode: currentRawResponse.status,
|
|
466
|
-
body: currentRawResponse.parsedBody,
|
|
467
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
468
|
-
},
|
|
469
|
-
};
|
|
470
|
-
});
|
|
471
|
-
const lro = createLroSpec({
|
|
472
|
-
sendOperationFn,
|
|
473
|
-
args: {
|
|
474
|
-
resourceGroupName,
|
|
475
|
-
clusterName,
|
|
476
|
-
databaseName,
|
|
477
|
-
parameters,
|
|
478
|
-
options,
|
|
479
|
-
},
|
|
480
|
-
spec: exportOperationSpec,
|
|
481
|
-
});
|
|
482
|
-
const poller = yield createHttpPoller(lro, {
|
|
483
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
484
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
485
|
-
resourceLocationConfig: "azure-async-operation",
|
|
486
|
-
});
|
|
487
|
-
yield poller.poll();
|
|
488
|
-
return poller;
|
|
489
|
-
});
|
|
490
|
-
}
|
|
491
|
-
/**
|
|
492
|
-
* Exports a database file from target database.
|
|
493
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
494
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
495
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
496
|
-
* @param parameters Storage information for exporting into the cluster
|
|
497
|
-
* @param options The options parameters.
|
|
498
|
-
*/
|
|
499
|
-
beginExportAndWait(resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
500
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
501
|
-
const poller = yield this.beginExport(resourceGroupName, clusterName, databaseName, parameters, options);
|
|
502
|
-
return poller.pollUntilDone();
|
|
503
|
-
});
|
|
504
|
-
}
|
|
505
|
-
/**
|
|
506
|
-
* Forcibly removes the link to the specified database resource.
|
|
507
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
508
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
509
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
510
|
-
* @param parameters Information identifying the database to be unlinked.
|
|
511
|
-
* @param options The options parameters.
|
|
512
|
-
*/
|
|
513
|
-
beginForceUnlink(resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
514
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
515
|
-
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
516
|
-
return this.client.sendOperationRequest(args, spec);
|
|
517
|
-
});
|
|
518
|
-
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
519
|
-
var _a;
|
|
520
|
-
let currentRawResponse = undefined;
|
|
521
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
522
|
-
const callback = (rawResponse, flatResponse) => {
|
|
523
|
-
currentRawResponse = rawResponse;
|
|
524
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
525
|
-
};
|
|
526
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
527
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
528
|
-
return {
|
|
529
|
-
flatResponse,
|
|
530
|
-
rawResponse: {
|
|
531
|
-
statusCode: currentRawResponse.status,
|
|
532
|
-
body: currentRawResponse.parsedBody,
|
|
533
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
534
|
-
},
|
|
535
|
-
};
|
|
536
|
-
});
|
|
537
|
-
const lro = createLroSpec({
|
|
538
|
-
sendOperationFn,
|
|
539
|
-
args: {
|
|
540
|
-
resourceGroupName,
|
|
541
|
-
clusterName,
|
|
542
|
-
databaseName,
|
|
543
|
-
parameters,
|
|
544
|
-
options,
|
|
545
|
-
},
|
|
546
|
-
spec: forceUnlinkOperationSpec,
|
|
547
|
-
});
|
|
548
|
-
const poller = yield createHttpPoller(lro, {
|
|
549
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
550
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
551
|
-
resourceLocationConfig: "azure-async-operation",
|
|
552
|
-
});
|
|
553
|
-
yield poller.poll();
|
|
554
|
-
return poller;
|
|
555
|
-
});
|
|
556
|
-
}
|
|
557
|
-
/**
|
|
558
|
-
* Forcibly removes the link to the specified database resource.
|
|
559
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
560
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
561
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
562
|
-
* @param parameters Information identifying the database to be unlinked.
|
|
563
|
-
* @param options The options parameters.
|
|
564
|
-
*/
|
|
565
|
-
beginForceUnlinkAndWait(resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
566
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
567
|
-
const poller = yield this.beginForceUnlink(resourceGroupName, clusterName, databaseName, parameters, options);
|
|
568
|
-
return poller.pollUntilDone();
|
|
569
|
-
});
|
|
570
|
-
}
|
|
571
|
-
/**
|
|
572
|
-
* Forcibly recreates an existing database on the specified cluster, and rejoins it to an existing
|
|
573
|
-
* replication group. **IMPORTANT NOTE:** All data in this database will be discarded, and the database
|
|
574
|
-
* will temporarily be unavailable while rejoining the replication group.
|
|
575
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
576
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
577
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
578
|
-
* @param parameters Information identifying the database to be unlinked.
|
|
579
|
-
* @param options The options parameters.
|
|
580
|
-
*/
|
|
581
|
-
beginForceLinkToReplicationGroup(resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
582
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
583
|
-
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
584
|
-
return this.client.sendOperationRequest(args, spec);
|
|
585
|
-
});
|
|
586
|
-
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
587
|
-
var _a;
|
|
588
|
-
let currentRawResponse = undefined;
|
|
589
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
590
|
-
const callback = (rawResponse, flatResponse) => {
|
|
591
|
-
currentRawResponse = rawResponse;
|
|
592
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
593
|
-
};
|
|
594
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
595
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
596
|
-
return {
|
|
597
|
-
flatResponse,
|
|
598
|
-
rawResponse: {
|
|
599
|
-
statusCode: currentRawResponse.status,
|
|
600
|
-
body: currentRawResponse.parsedBody,
|
|
601
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
602
|
-
},
|
|
603
|
-
};
|
|
604
|
-
});
|
|
605
|
-
const lro = createLroSpec({
|
|
606
|
-
sendOperationFn,
|
|
607
|
-
args: {
|
|
608
|
-
resourceGroupName,
|
|
609
|
-
clusterName,
|
|
610
|
-
databaseName,
|
|
611
|
-
parameters,
|
|
612
|
-
options,
|
|
613
|
-
},
|
|
614
|
-
spec: forceLinkToReplicationGroupOperationSpec,
|
|
615
|
-
});
|
|
616
|
-
const poller = yield createHttpPoller(lro, {
|
|
617
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
618
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
619
|
-
resourceLocationConfig: "azure-async-operation",
|
|
620
|
-
});
|
|
621
|
-
yield poller.poll();
|
|
622
|
-
return poller;
|
|
623
|
-
});
|
|
624
|
-
}
|
|
625
|
-
/**
|
|
626
|
-
* Forcibly recreates an existing database on the specified cluster, and rejoins it to an existing
|
|
627
|
-
* replication group. **IMPORTANT NOTE:** All data in this database will be discarded, and the database
|
|
628
|
-
* will temporarily be unavailable while rejoining the replication group.
|
|
629
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
630
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
631
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
632
|
-
* @param parameters Information identifying the database to be unlinked.
|
|
633
|
-
* @param options The options parameters.
|
|
634
|
-
*/
|
|
635
|
-
beginForceLinkToReplicationGroupAndWait(resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
636
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
637
|
-
const poller = yield this.beginForceLinkToReplicationGroup(resourceGroupName, clusterName, databaseName, parameters, options);
|
|
638
|
-
return poller.pollUntilDone();
|
|
639
|
-
});
|
|
640
|
-
}
|
|
641
|
-
/**
|
|
642
|
-
* Flushes all the keys in this database and also from its linked databases.
|
|
643
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
644
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
645
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
646
|
-
* @param parameters Information identifying the databases to be flushed
|
|
647
|
-
* @param options The options parameters.
|
|
648
|
-
*/
|
|
649
|
-
beginFlush(resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
650
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
651
|
-
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
652
|
-
return this.client.sendOperationRequest(args, spec);
|
|
653
|
-
});
|
|
654
|
-
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
655
|
-
var _a;
|
|
656
|
-
let currentRawResponse = undefined;
|
|
657
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
658
|
-
const callback = (rawResponse, flatResponse) => {
|
|
659
|
-
currentRawResponse = rawResponse;
|
|
660
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
661
|
-
};
|
|
662
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
663
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
664
|
-
return {
|
|
665
|
-
flatResponse,
|
|
666
|
-
rawResponse: {
|
|
667
|
-
statusCode: currentRawResponse.status,
|
|
668
|
-
body: currentRawResponse.parsedBody,
|
|
669
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
670
|
-
},
|
|
671
|
-
};
|
|
672
|
-
});
|
|
673
|
-
const lro = createLroSpec({
|
|
674
|
-
sendOperationFn,
|
|
675
|
-
args: {
|
|
676
|
-
resourceGroupName,
|
|
677
|
-
clusterName,
|
|
678
|
-
databaseName,
|
|
679
|
-
parameters,
|
|
680
|
-
options,
|
|
681
|
-
},
|
|
682
|
-
spec: flushOperationSpec,
|
|
683
|
-
});
|
|
684
|
-
const poller = yield createHttpPoller(lro, {
|
|
685
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
686
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
687
|
-
resourceLocationConfig: "location",
|
|
688
|
-
});
|
|
689
|
-
yield poller.poll();
|
|
690
|
-
return poller;
|
|
691
|
-
});
|
|
692
|
-
}
|
|
693
|
-
/**
|
|
694
|
-
* Flushes all the keys in this database and also from its linked databases.
|
|
695
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
696
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
697
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
698
|
-
* @param parameters Information identifying the databases to be flushed
|
|
699
|
-
* @param options The options parameters.
|
|
700
|
-
*/
|
|
701
|
-
beginFlushAndWait(resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
702
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
703
|
-
const poller = yield this.beginFlush(resourceGroupName, clusterName, databaseName, parameters, options);
|
|
704
|
-
return poller.pollUntilDone();
|
|
705
|
-
});
|
|
706
|
-
}
|
|
707
|
-
/**
|
|
708
|
-
* Upgrades the database Redis version to the latest available.
|
|
709
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
710
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
711
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
712
|
-
* @param options The options parameters.
|
|
713
|
-
*/
|
|
714
|
-
beginUpgradeDBRedisVersion(resourceGroupName, clusterName, databaseName, options) {
|
|
715
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
716
|
-
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
717
|
-
return this.client.sendOperationRequest(args, spec);
|
|
718
|
-
});
|
|
719
|
-
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
720
|
-
var _a;
|
|
721
|
-
let currentRawResponse = undefined;
|
|
722
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
723
|
-
const callback = (rawResponse, flatResponse) => {
|
|
724
|
-
currentRawResponse = rawResponse;
|
|
725
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
726
|
-
};
|
|
727
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
728
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
729
|
-
return {
|
|
730
|
-
flatResponse,
|
|
731
|
-
rawResponse: {
|
|
732
|
-
statusCode: currentRawResponse.status,
|
|
733
|
-
body: currentRawResponse.parsedBody,
|
|
734
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
735
|
-
},
|
|
736
|
-
};
|
|
737
|
-
});
|
|
738
|
-
const lro = createLroSpec({
|
|
739
|
-
sendOperationFn,
|
|
740
|
-
args: { resourceGroupName, clusterName, databaseName, options },
|
|
741
|
-
spec: upgradeDBRedisVersionOperationSpec,
|
|
742
|
-
});
|
|
743
|
-
const poller = yield createHttpPoller(lro, {
|
|
744
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
745
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
746
|
-
resourceLocationConfig: "location",
|
|
747
|
-
});
|
|
748
|
-
yield poller.poll();
|
|
749
|
-
return poller;
|
|
750
|
-
});
|
|
751
|
-
}
|
|
752
|
-
/**
|
|
753
|
-
* Upgrades the database Redis version to the latest available.
|
|
754
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
755
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
756
|
-
* @param databaseName The name of the Redis Enterprise database.
|
|
757
|
-
* @param options The options parameters.
|
|
758
|
-
*/
|
|
759
|
-
beginUpgradeDBRedisVersionAndWait(resourceGroupName, clusterName, databaseName, options) {
|
|
760
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
761
|
-
const poller = yield this.beginUpgradeDBRedisVersion(resourceGroupName, clusterName, databaseName, options);
|
|
762
|
-
return poller.pollUntilDone();
|
|
763
|
-
});
|
|
764
|
-
}
|
|
765
|
-
/**
|
|
766
|
-
* ListByClusterNext
|
|
767
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
768
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
769
|
-
* @param nextLink The nextLink from the previous successful call to the ListByCluster method.
|
|
770
|
-
* @param options The options parameters.
|
|
771
|
-
*/
|
|
772
|
-
_listByClusterNext(resourceGroupName, clusterName, nextLink, options) {
|
|
773
|
-
return this.client.sendOperationRequest({ resourceGroupName, clusterName, nextLink, options }, listByClusterNextOperationSpec);
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
// Operation Specifications
|
|
777
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
778
|
-
const listByClusterOperationSpec = {
|
|
779
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases",
|
|
780
|
-
httpMethod: "GET",
|
|
781
|
-
responses: {
|
|
782
|
-
200: {
|
|
783
|
-
bodyMapper: Mappers.DatabaseList,
|
|
784
|
-
},
|
|
785
|
-
default: {
|
|
786
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
787
|
-
},
|
|
788
|
-
},
|
|
789
|
-
queryParameters: [Parameters.apiVersion],
|
|
790
|
-
urlParameters: [
|
|
791
|
-
Parameters.$host,
|
|
792
|
-
Parameters.subscriptionId,
|
|
793
|
-
Parameters.resourceGroupName,
|
|
794
|
-
Parameters.clusterName,
|
|
795
|
-
],
|
|
796
|
-
headerParameters: [Parameters.accept],
|
|
797
|
-
serializer,
|
|
798
|
-
};
|
|
799
|
-
const createOperationSpec = {
|
|
800
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
801
|
-
httpMethod: "PUT",
|
|
802
|
-
responses: {
|
|
803
|
-
200: {
|
|
804
|
-
bodyMapper: Mappers.Database,
|
|
805
|
-
},
|
|
806
|
-
201: {
|
|
807
|
-
bodyMapper: Mappers.Database,
|
|
808
|
-
},
|
|
809
|
-
202: {
|
|
810
|
-
bodyMapper: Mappers.Database,
|
|
811
|
-
},
|
|
812
|
-
204: {
|
|
813
|
-
bodyMapper: Mappers.Database,
|
|
814
|
-
},
|
|
815
|
-
default: {
|
|
816
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
817
|
-
},
|
|
818
|
-
},
|
|
819
|
-
requestBody: Parameters.parameters2,
|
|
820
|
-
queryParameters: [Parameters.apiVersion],
|
|
821
|
-
urlParameters: [
|
|
822
|
-
Parameters.$host,
|
|
823
|
-
Parameters.subscriptionId,
|
|
824
|
-
Parameters.resourceGroupName,
|
|
825
|
-
Parameters.clusterName,
|
|
826
|
-
Parameters.databaseName,
|
|
827
|
-
],
|
|
828
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
829
|
-
mediaType: "json",
|
|
830
|
-
serializer,
|
|
831
|
-
};
|
|
832
|
-
const updateOperationSpec = {
|
|
833
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
834
|
-
httpMethod: "PATCH",
|
|
835
|
-
responses: {
|
|
836
|
-
200: {
|
|
837
|
-
bodyMapper: Mappers.Database,
|
|
838
|
-
},
|
|
839
|
-
201: {
|
|
840
|
-
bodyMapper: Mappers.Database,
|
|
841
|
-
},
|
|
842
|
-
202: {
|
|
843
|
-
bodyMapper: Mappers.Database,
|
|
844
|
-
},
|
|
845
|
-
204: {
|
|
846
|
-
bodyMapper: Mappers.Database,
|
|
847
|
-
},
|
|
848
|
-
default: {
|
|
849
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
850
|
-
},
|
|
851
|
-
},
|
|
852
|
-
requestBody: Parameters.parameters3,
|
|
853
|
-
queryParameters: [Parameters.apiVersion],
|
|
854
|
-
urlParameters: [
|
|
855
|
-
Parameters.$host,
|
|
856
|
-
Parameters.subscriptionId,
|
|
857
|
-
Parameters.resourceGroupName,
|
|
858
|
-
Parameters.clusterName,
|
|
859
|
-
Parameters.databaseName,
|
|
860
|
-
],
|
|
861
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
862
|
-
mediaType: "json",
|
|
863
|
-
serializer,
|
|
864
|
-
};
|
|
865
|
-
const getOperationSpec = {
|
|
866
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
867
|
-
httpMethod: "GET",
|
|
868
|
-
responses: {
|
|
869
|
-
200: {
|
|
870
|
-
bodyMapper: Mappers.Database,
|
|
871
|
-
},
|
|
872
|
-
default: {
|
|
873
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
874
|
-
},
|
|
875
|
-
},
|
|
876
|
-
queryParameters: [Parameters.apiVersion],
|
|
877
|
-
urlParameters: [
|
|
878
|
-
Parameters.$host,
|
|
879
|
-
Parameters.subscriptionId,
|
|
880
|
-
Parameters.resourceGroupName,
|
|
881
|
-
Parameters.clusterName,
|
|
882
|
-
Parameters.databaseName,
|
|
883
|
-
],
|
|
884
|
-
headerParameters: [Parameters.accept],
|
|
885
|
-
serializer,
|
|
886
|
-
};
|
|
887
|
-
const deleteOperationSpec = {
|
|
888
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
889
|
-
httpMethod: "DELETE",
|
|
890
|
-
responses: {
|
|
891
|
-
200: {},
|
|
892
|
-
201: {},
|
|
893
|
-
202: {},
|
|
894
|
-
204: {},
|
|
895
|
-
default: {
|
|
896
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
897
|
-
},
|
|
898
|
-
},
|
|
899
|
-
queryParameters: [Parameters.apiVersion],
|
|
900
|
-
urlParameters: [
|
|
901
|
-
Parameters.$host,
|
|
902
|
-
Parameters.subscriptionId,
|
|
903
|
-
Parameters.resourceGroupName,
|
|
904
|
-
Parameters.clusterName,
|
|
905
|
-
Parameters.databaseName,
|
|
906
|
-
],
|
|
907
|
-
headerParameters: [Parameters.accept],
|
|
908
|
-
serializer,
|
|
909
|
-
};
|
|
910
|
-
const listKeysOperationSpec = {
|
|
911
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/listKeys",
|
|
912
|
-
httpMethod: "POST",
|
|
913
|
-
responses: {
|
|
914
|
-
200: {
|
|
915
|
-
bodyMapper: Mappers.AccessKeys,
|
|
916
|
-
},
|
|
917
|
-
default: {
|
|
918
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
919
|
-
},
|
|
920
|
-
},
|
|
921
|
-
queryParameters: [Parameters.apiVersion],
|
|
922
|
-
urlParameters: [
|
|
923
|
-
Parameters.$host,
|
|
924
|
-
Parameters.subscriptionId,
|
|
925
|
-
Parameters.resourceGroupName,
|
|
926
|
-
Parameters.clusterName,
|
|
927
|
-
Parameters.databaseName,
|
|
928
|
-
],
|
|
929
|
-
headerParameters: [Parameters.accept],
|
|
930
|
-
serializer,
|
|
931
|
-
};
|
|
932
|
-
const regenerateKeyOperationSpec = {
|
|
933
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/regenerateKey",
|
|
934
|
-
httpMethod: "POST",
|
|
935
|
-
responses: {
|
|
936
|
-
200: {
|
|
937
|
-
bodyMapper: Mappers.AccessKeys,
|
|
938
|
-
},
|
|
939
|
-
201: {
|
|
940
|
-
bodyMapper: Mappers.AccessKeys,
|
|
941
|
-
},
|
|
942
|
-
202: {
|
|
943
|
-
bodyMapper: Mappers.AccessKeys,
|
|
944
|
-
},
|
|
945
|
-
204: {
|
|
946
|
-
bodyMapper: Mappers.AccessKeys,
|
|
947
|
-
},
|
|
948
|
-
default: {
|
|
949
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
950
|
-
},
|
|
951
|
-
},
|
|
952
|
-
requestBody: Parameters.parameters4,
|
|
953
|
-
queryParameters: [Parameters.apiVersion],
|
|
954
|
-
urlParameters: [
|
|
955
|
-
Parameters.$host,
|
|
956
|
-
Parameters.subscriptionId,
|
|
957
|
-
Parameters.resourceGroupName,
|
|
958
|
-
Parameters.clusterName,
|
|
959
|
-
Parameters.databaseName,
|
|
960
|
-
],
|
|
961
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
962
|
-
mediaType: "json",
|
|
963
|
-
serializer,
|
|
964
|
-
};
|
|
965
|
-
const importOperationSpec = {
|
|
966
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/import",
|
|
967
|
-
httpMethod: "POST",
|
|
968
|
-
responses: {
|
|
969
|
-
200: {},
|
|
970
|
-
201: {},
|
|
971
|
-
202: {},
|
|
972
|
-
204: {},
|
|
973
|
-
default: {
|
|
974
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
975
|
-
},
|
|
976
|
-
},
|
|
977
|
-
requestBody: Parameters.parameters5,
|
|
978
|
-
queryParameters: [Parameters.apiVersion],
|
|
979
|
-
urlParameters: [
|
|
980
|
-
Parameters.$host,
|
|
981
|
-
Parameters.subscriptionId,
|
|
982
|
-
Parameters.resourceGroupName,
|
|
983
|
-
Parameters.clusterName,
|
|
984
|
-
Parameters.databaseName,
|
|
985
|
-
],
|
|
986
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
987
|
-
mediaType: "json",
|
|
988
|
-
serializer,
|
|
989
|
-
};
|
|
990
|
-
const exportOperationSpec = {
|
|
991
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/export",
|
|
992
|
-
httpMethod: "POST",
|
|
993
|
-
responses: {
|
|
994
|
-
200: {},
|
|
995
|
-
201: {},
|
|
996
|
-
202: {},
|
|
997
|
-
204: {},
|
|
998
|
-
default: {
|
|
999
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
1000
|
-
},
|
|
1001
|
-
},
|
|
1002
|
-
requestBody: Parameters.parameters6,
|
|
1003
|
-
queryParameters: [Parameters.apiVersion],
|
|
1004
|
-
urlParameters: [
|
|
1005
|
-
Parameters.$host,
|
|
1006
|
-
Parameters.subscriptionId,
|
|
1007
|
-
Parameters.resourceGroupName,
|
|
1008
|
-
Parameters.clusterName,
|
|
1009
|
-
Parameters.databaseName,
|
|
1010
|
-
],
|
|
1011
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1012
|
-
mediaType: "json",
|
|
1013
|
-
serializer,
|
|
1014
|
-
};
|
|
1015
|
-
const forceUnlinkOperationSpec = {
|
|
1016
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/forceUnlink",
|
|
1017
|
-
httpMethod: "POST",
|
|
1018
|
-
responses: {
|
|
1019
|
-
200: {},
|
|
1020
|
-
201: {},
|
|
1021
|
-
202: {},
|
|
1022
|
-
204: {},
|
|
1023
|
-
default: {
|
|
1024
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
1025
|
-
},
|
|
1026
|
-
},
|
|
1027
|
-
requestBody: Parameters.parameters7,
|
|
1028
|
-
queryParameters: [Parameters.apiVersion],
|
|
1029
|
-
urlParameters: [
|
|
1030
|
-
Parameters.$host,
|
|
1031
|
-
Parameters.subscriptionId,
|
|
1032
|
-
Parameters.resourceGroupName,
|
|
1033
|
-
Parameters.clusterName,
|
|
1034
|
-
Parameters.databaseName,
|
|
1035
|
-
],
|
|
1036
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1037
|
-
mediaType: "json",
|
|
1038
|
-
serializer,
|
|
1039
|
-
};
|
|
1040
|
-
const forceLinkToReplicationGroupOperationSpec = {
|
|
1041
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/forceLinkToReplicationGroup",
|
|
1042
|
-
httpMethod: "POST",
|
|
1043
|
-
responses: {
|
|
1044
|
-
200: {
|
|
1045
|
-
headersMapper: Mappers.DatabasesForceLinkToReplicationGroupHeaders,
|
|
1046
|
-
},
|
|
1047
|
-
201: {
|
|
1048
|
-
headersMapper: Mappers.DatabasesForceLinkToReplicationGroupHeaders,
|
|
1049
|
-
},
|
|
1050
|
-
202: {
|
|
1051
|
-
headersMapper: Mappers.DatabasesForceLinkToReplicationGroupHeaders,
|
|
1052
|
-
},
|
|
1053
|
-
204: {
|
|
1054
|
-
headersMapper: Mappers.DatabasesForceLinkToReplicationGroupHeaders,
|
|
1055
|
-
},
|
|
1056
|
-
default: {
|
|
1057
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
1058
|
-
},
|
|
1059
|
-
},
|
|
1060
|
-
requestBody: Parameters.parameters8,
|
|
1061
|
-
queryParameters: [Parameters.apiVersion],
|
|
1062
|
-
urlParameters: [
|
|
1063
|
-
Parameters.$host,
|
|
1064
|
-
Parameters.subscriptionId,
|
|
1065
|
-
Parameters.resourceGroupName,
|
|
1066
|
-
Parameters.clusterName,
|
|
1067
|
-
Parameters.databaseName,
|
|
1068
|
-
],
|
|
1069
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1070
|
-
mediaType: "json",
|
|
1071
|
-
serializer,
|
|
1072
|
-
};
|
|
1073
|
-
const flushOperationSpec = {
|
|
1074
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/flush",
|
|
1075
|
-
httpMethod: "POST",
|
|
1076
|
-
responses: {
|
|
1077
|
-
200: {},
|
|
1078
|
-
201: {},
|
|
1079
|
-
202: {},
|
|
1080
|
-
204: {},
|
|
1081
|
-
default: {
|
|
1082
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
1083
|
-
},
|
|
1084
|
-
},
|
|
1085
|
-
requestBody: Parameters.parameters9,
|
|
1086
|
-
queryParameters: [Parameters.apiVersion],
|
|
1087
|
-
urlParameters: [
|
|
1088
|
-
Parameters.$host,
|
|
1089
|
-
Parameters.subscriptionId,
|
|
1090
|
-
Parameters.resourceGroupName,
|
|
1091
|
-
Parameters.clusterName,
|
|
1092
|
-
Parameters.databaseName,
|
|
1093
|
-
],
|
|
1094
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1095
|
-
mediaType: "json",
|
|
1096
|
-
serializer,
|
|
1097
|
-
};
|
|
1098
|
-
const upgradeDBRedisVersionOperationSpec = {
|
|
1099
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/upgradeDBRedisVersion",
|
|
1100
|
-
httpMethod: "POST",
|
|
1101
|
-
responses: {
|
|
1102
|
-
200: {
|
|
1103
|
-
headersMapper: Mappers.DatabasesUpgradeDBRedisVersionHeaders,
|
|
1104
|
-
},
|
|
1105
|
-
201: {
|
|
1106
|
-
headersMapper: Mappers.DatabasesUpgradeDBRedisVersionHeaders,
|
|
1107
|
-
},
|
|
1108
|
-
202: {
|
|
1109
|
-
headersMapper: Mappers.DatabasesUpgradeDBRedisVersionHeaders,
|
|
1110
|
-
},
|
|
1111
|
-
204: {
|
|
1112
|
-
headersMapper: Mappers.DatabasesUpgradeDBRedisVersionHeaders,
|
|
1113
|
-
},
|
|
1114
|
-
default: {
|
|
1115
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
1116
|
-
},
|
|
1117
|
-
},
|
|
1118
|
-
queryParameters: [Parameters.apiVersion],
|
|
1119
|
-
urlParameters: [
|
|
1120
|
-
Parameters.$host,
|
|
1121
|
-
Parameters.subscriptionId,
|
|
1122
|
-
Parameters.resourceGroupName,
|
|
1123
|
-
Parameters.clusterName,
|
|
1124
|
-
Parameters.databaseName,
|
|
1125
|
-
],
|
|
1126
|
-
headerParameters: [Parameters.accept],
|
|
1127
|
-
serializer,
|
|
1128
|
-
};
|
|
1129
|
-
const listByClusterNextOperationSpec = {
|
|
1130
|
-
path: "{nextLink}",
|
|
1131
|
-
httpMethod: "GET",
|
|
1132
|
-
responses: {
|
|
1133
|
-
200: {
|
|
1134
|
-
bodyMapper: Mappers.DatabaseList,
|
|
1135
|
-
},
|
|
1136
|
-
default: {
|
|
1137
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
1138
|
-
},
|
|
1139
|
-
},
|
|
1140
|
-
urlParameters: [
|
|
1141
|
-
Parameters.$host,
|
|
1142
|
-
Parameters.nextLink,
|
|
1143
|
-
Parameters.subscriptionId,
|
|
1144
|
-
Parameters.resourceGroupName,
|
|
1145
|
-
Parameters.clusterName,
|
|
1146
|
-
],
|
|
1147
|
-
headerParameters: [Parameters.accept],
|
|
1148
|
-
serializer,
|
|
1149
|
-
};
|
|
1150
|
-
//# sourceMappingURL=databases.js.map
|