@azure/arm-redisenterprisecache 3.1.0-beta.2 → 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 +131 -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 +99 -9
- package/dist/browser/models/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.js +12 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/models/mappers.js +134 -3
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +5 -5
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/accessPolicyAssignmentOperations.d.ts +27 -11
- package/dist/browser/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/accessPolicyAssignmentOperations.js +114 -106
- 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 +24 -10
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +107 -101
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +9 -5
- package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +8 -4
- package/dist/browser/operations/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/redisEnterprise.d.ts +33 -10
- package/dist/browser/operations/redisEnterprise.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/redisEnterprise.js +169 -135
- package/dist/browser/operations/redisEnterprise.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +19 -7
- package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/databases.d.ts +72 -28
- 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 +19 -7
- 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 +4 -2
- 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 +31 -8
- 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 +2 -2
- package/dist/browser/redisEnterpriseManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/redisEnterpriseManagementClient.js +17 -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 -2165
- 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 +74 -55
- 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 +71 -46
- package/review/arm-redisenterprisecache.api.md +55 -4
- package/LICENSE.txt +0 -21
- package/dist/index.js +0 -5153
- 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/accessPolicyAssignmentCreateUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.js +0 -45
- package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.js +0 -41
- package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.js +0 -41
- package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.js.map +0 -1
- package/dist-esm/samples-dev/accessPolicyAssignmentListSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessPolicyAssignmentListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessPolicyAssignmentListSample.js +0 -56
- package/dist-esm/samples-dev/accessPolicyAssignmentListSample.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 -92
- 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 -40
- 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 -43
- 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 -45
- 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 -45
- 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 -40
- 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 -46
- 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 -55
- 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 -40
- 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 -41
- 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 -46
- 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 -40
- 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 -39
- 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 -40
- 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 -40
- 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 -55
- 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 -46
- 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 -55
- 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 -61
- 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 -39
- 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 -39
- 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 -54
- 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 -53
- 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 -44
- 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.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/accessPolicyAssignmentOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/accessPolicyAssignmentOperations.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 -8
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -15
- 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/accessPolicyAssignmentOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.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 -8
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -15
- 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 -74
- package/dist-esm/test/redisenterprisecache_test.spec.js.map +0 -1
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -1720
- package/src/models/mappers.ts +0 -1773
- package/src/models/parameters.ts +0 -257
- package/src/operations/accessPolicyAssignmentOperations.ts +0 -569
- package/src/operations/databases.ts +0 -1603
- package/src/operations/index.ts +0 -15
- 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/accessPolicyAssignmentOperations.ts +0 -132
- package/src/operationsInterfaces/databases.ts +0 -403
- package/src/operationsInterfaces/index.ts +0 -15
- 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 -170
- 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}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/accessPolicyAssignmentOperations.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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,OAAO,IAAI,aAAa,EACxB,aAAa,IAAI,mBAAmB,EACpC,QAAQ,IAAI,cAAc,EAC1B,cAAc,IAAI,oBAAoB,EACtC,uBAAuB,IAAI,6BAA6B,EACxD,uBAAuB,IAAI,6BAA6B,EACxD,uBAAuB,IAAI,6BAA6B,EACxD,qBAAqB,IAAI,2BAA2B,EACpD,mBAAmB,IAAI,yBAAyB,EAChD,eAAe,IAAI,qBAAqB,EACxC,sBAAsB,IAAI,4BAA4B,EACtD,yBAAyB,IAAI,+BAA+B,GAC7D,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,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M,6BAA6B,GAA0B;IAClE,aAAa,EAAE,+BAA+B;IAC9C,MAAM,EAAE;QACN,cAAc,EAAE,+BAA+B;QAC/C,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAuB;IAC5C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,+BAA+B;CACxC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n Cluster as ClusterMapper,\n ClusterUpdate as ClusterUpdateMapper,\n Database as DatabaseMapper,\n DatabaseUpdate as DatabaseUpdateMapper,\n RegenerateKeyParameters as RegenerateKeyParametersMapper,\n ImportClusterParameters as ImportClusterParametersMapper,\n ExportClusterParameters as ExportClusterParametersMapper,\n ForceUnlinkParameters as ForceUnlinkParametersMapper,\n ForceLinkParameters as ForceLinkParametersMapper,\n FlushParameters as FlushParametersMapper,\n AccessPolicyAssignment as AccessPolicyAssignmentMapper,\n PrivateEndpointConnection as PrivateEndpointConnectionMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2025-05-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const location: OperationURLParameter = {\n parameterPath: \"location\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ClusterMapper,\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const clusterName: OperationURLParameter = {\n parameterPath: \"clusterName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^(?=.{1,60}$)[A-Za-z0-9]+(-[A-Za-z0-9]+)*$\"),\n },\n serializedName: \"clusterName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ClusterUpdateMapper,\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: DatabaseMapper,\n};\n\nexport const databaseName: OperationURLParameter = {\n parameterPath: \"databaseName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^(?=.{1,60}$)[A-Za-z0-9]+(-[A-Za-z0-9]+)*$\"),\n },\n serializedName: \"databaseName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: DatabaseUpdateMapper,\n};\n\nexport const parameters4: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: RegenerateKeyParametersMapper,\n};\n\nexport const parameters5: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ImportClusterParametersMapper,\n};\n\nexport const parameters6: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ExportClusterParametersMapper,\n};\n\nexport const parameters7: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ForceUnlinkParametersMapper,\n};\n\nexport const parameters8: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ForceLinkParametersMapper,\n};\n\nexport const parameters9: OperationParameter = {\n parameterPath: [\"options\", \"parameters\"],\n mapper: FlushParametersMapper,\n};\n\nexport const parameters10: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: AccessPolicyAssignmentMapper,\n};\n\nexport const accessPolicyAssignmentName: OperationURLParameter = {\n parameterPath: \"accessPolicyAssignmentName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z0-9]{1,60}$\"),\n },\n serializedName: \"accessPolicyAssignmentName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const privateEndpointConnectionName: OperationURLParameter = {\n parameterPath: \"privateEndpointConnectionName\",\n mapper: {\n serializedName: \"privateEndpointConnectionName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const properties: OperationParameter = {\n parameterPath: \"properties\",\n mapper: PrivateEndpointConnectionMapper,\n};\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { AccessPolicyAssignmentOperations } from "../operationsInterfaces";
|
|
3
|
-
import { RedisEnterpriseManagementClient } from "../redisEnterpriseManagementClient";
|
|
2
|
+
import { AccessPolicyAssignmentOperations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { RedisEnterpriseManagementClient } from "../redisEnterpriseManagementClient.js";
|
|
4
4
|
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
-
import { AccessPolicyAssignment, AccessPolicyAssignmentListOptionalParams, AccessPolicyAssignmentCreateUpdateOptionalParams, AccessPolicyAssignmentCreateUpdateResponse, AccessPolicyAssignmentGetOptionalParams, AccessPolicyAssignmentGetResponse, AccessPolicyAssignmentDeleteOptionalParams, AccessPolicyAssignmentDeleteResponse } from "../models";
|
|
5
|
+
import { AccessPolicyAssignment, AccessPolicyAssignmentListOptionalParams, AccessPolicyAssignmentCreateUpdateOptionalParams, AccessPolicyAssignmentCreateUpdateResponse, AccessPolicyAssignmentGetOptionalParams, AccessPolicyAssignmentGetResponse, AccessPolicyAssignmentDeleteOptionalParams, AccessPolicyAssignmentDeleteResponse } from "../models/index.js";
|
|
6
6
|
/** Class containing AccessPolicyAssignmentOperations operations. */
|
|
7
7
|
export declare class AccessPolicyAssignmentOperationsImpl implements AccessPolicyAssignmentOperations {
|
|
8
8
|
private readonly client;
|
|
@@ -14,7 +14,9 @@ export declare class AccessPolicyAssignmentOperationsImpl implements AccessPolic
|
|
|
14
14
|
/**
|
|
15
15
|
* Gets all access policy assignments..
|
|
16
16
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
17
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
17
|
+
* @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
|
|
18
|
+
* Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
|
|
19
|
+
* consecutive hyphens
|
|
18
20
|
* @param databaseName The name of the Redis Enterprise database.
|
|
19
21
|
* @param options The options parameters.
|
|
20
22
|
*/
|
|
@@ -24,7 +26,9 @@ export declare class AccessPolicyAssignmentOperationsImpl implements AccessPolic
|
|
|
24
26
|
/**
|
|
25
27
|
* Creates/Updates a particular access policy assignment for a database
|
|
26
28
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
29
|
+
* @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
|
|
30
|
+
* Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
|
|
31
|
+
* consecutive hyphens
|
|
28
32
|
* @param databaseName The name of the Redis Enterprise database.
|
|
29
33
|
* @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
|
|
30
34
|
* assignment.
|
|
@@ -35,7 +39,9 @@ export declare class AccessPolicyAssignmentOperationsImpl implements AccessPolic
|
|
|
35
39
|
/**
|
|
36
40
|
* Creates/Updates a particular access policy assignment for a database
|
|
37
41
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
38
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
42
|
+
* @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
|
|
43
|
+
* Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
|
|
44
|
+
* consecutive hyphens
|
|
39
45
|
* @param databaseName The name of the Redis Enterprise database.
|
|
40
46
|
* @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
|
|
41
47
|
* assignment.
|
|
@@ -46,7 +52,9 @@ export declare class AccessPolicyAssignmentOperationsImpl implements AccessPolic
|
|
|
46
52
|
/**
|
|
47
53
|
* Gets information about access policy assignment for database.
|
|
48
54
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
49
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
55
|
+
* @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
|
|
56
|
+
* Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
|
|
57
|
+
* consecutive hyphens
|
|
50
58
|
* @param databaseName The name of the Redis Enterprise database.
|
|
51
59
|
* @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
|
|
52
60
|
* assignment.
|
|
@@ -56,7 +64,9 @@ export declare class AccessPolicyAssignmentOperationsImpl implements AccessPolic
|
|
|
56
64
|
/**
|
|
57
65
|
* Deletes a single access policy assignment.
|
|
58
66
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
59
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
67
|
+
* @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
|
|
68
|
+
* Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
|
|
69
|
+
* consecutive hyphens
|
|
60
70
|
* @param databaseName The name of the Redis Enterprise database.
|
|
61
71
|
* @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
|
|
62
72
|
* assignment.
|
|
@@ -66,7 +76,9 @@ export declare class AccessPolicyAssignmentOperationsImpl implements AccessPolic
|
|
|
66
76
|
/**
|
|
67
77
|
* Deletes a single access policy assignment.
|
|
68
78
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
69
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
79
|
+
* @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
|
|
80
|
+
* Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
|
|
81
|
+
* consecutive hyphens
|
|
70
82
|
* @param databaseName The name of the Redis Enterprise database.
|
|
71
83
|
* @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
|
|
72
84
|
* assignment.
|
|
@@ -76,7 +88,9 @@ export declare class AccessPolicyAssignmentOperationsImpl implements AccessPolic
|
|
|
76
88
|
/**
|
|
77
89
|
* Gets all access policy assignments..
|
|
78
90
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
79
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
91
|
+
* @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
|
|
92
|
+
* Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
|
|
93
|
+
* consecutive hyphens
|
|
80
94
|
* @param databaseName The name of the Redis Enterprise database.
|
|
81
95
|
* @param options The options parameters.
|
|
82
96
|
*/
|
|
@@ -84,7 +98,9 @@ export declare class AccessPolicyAssignmentOperationsImpl implements AccessPolic
|
|
|
84
98
|
/**
|
|
85
99
|
* ListNext
|
|
86
100
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
87
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
101
|
+
* @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
|
|
102
|
+
* Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
|
|
103
|
+
* consecutive hyphens
|
|
88
104
|
* @param databaseName The name of the Redis Enterprise database.
|
|
89
105
|
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
90
106
|
* @param options The options parameters.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accessPolicyAssignmentOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/accessPolicyAssignmentOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AAIpF,OAAO,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,sBAAsB,EAEtB,wCAAwC,EAExC,gDAAgD,EAChD,0CAA0C,EAC1C,uCAAuC,EACvC,iCAAiC,EACjC,0CAA0C,EAC1C,oCAAoC,EAErC,MAAM,oBAAoB,CAAC;AAG5B,oEAAoE;AACpE,qBAAa,oCACX,YAAW,gCAAgC;IAE3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkC;IAEzD;;;OAGG;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B,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,0BAA0B,EAAE,MAAM,EAClC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAWhD;;;;;;;;OAQG;IACH,OAAO,CAAC,KAAK;IAYb;;;;;;;;;OASG;IACH,OAAO,CAAC,SAAS;CAYlB"}
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
13
|
import { createHttpPoller, } from "@azure/core-lro";
|
|
14
|
-
import { createLroSpec } from "../lroImpl";
|
|
14
|
+
import { createLroSpec } from "../lroImpl.js";
|
|
15
15
|
/// <reference lib="esnext.asynciterable" />
|
|
16
16
|
/** Class containing AccessPolicyAssignmentOperations operations. */
|
|
17
17
|
export class AccessPolicyAssignmentOperationsImpl {
|
|
@@ -25,7 +25,9 @@ export class AccessPolicyAssignmentOperationsImpl {
|
|
|
25
25
|
/**
|
|
26
26
|
* Gets all access policy assignments..
|
|
27
27
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
28
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
28
|
+
* @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
|
|
29
|
+
* Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
|
|
30
|
+
* consecutive hyphens
|
|
29
31
|
* @param databaseName The name of the Redis Enterprise database.
|
|
30
32
|
* @param options The options parameters.
|
|
31
33
|
*/
|
|
@@ -89,78 +91,80 @@ export class AccessPolicyAssignmentOperationsImpl {
|
|
|
89
91
|
/**
|
|
90
92
|
* Creates/Updates a particular access policy assignment for a database
|
|
91
93
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
92
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
94
|
+
* @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
|
|
95
|
+
* Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
|
|
96
|
+
* consecutive hyphens
|
|
93
97
|
* @param databaseName The name of the Redis Enterprise database.
|
|
94
98
|
* @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
|
|
95
99
|
* assignment.
|
|
96
100
|
* @param parameters Parameters supplied to the create access policy assignment for database.
|
|
97
101
|
* @param options The options parameters.
|
|
98
102
|
*/
|
|
99
|
-
beginCreateUpdate(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, parameters, options) {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
120
|
-
},
|
|
121
|
-
};
|
|
122
|
-
});
|
|
123
|
-
const lro = createLroSpec({
|
|
124
|
-
sendOperationFn,
|
|
125
|
-
args: {
|
|
126
|
-
resourceGroupName,
|
|
127
|
-
clusterName,
|
|
128
|
-
databaseName,
|
|
129
|
-
accessPolicyAssignmentName,
|
|
130
|
-
parameters,
|
|
131
|
-
options,
|
|
103
|
+
async beginCreateUpdate(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, parameters, options) {
|
|
104
|
+
const directSendOperation = async (args, spec) => {
|
|
105
|
+
return this.client.sendOperationRequest(args, spec);
|
|
106
|
+
};
|
|
107
|
+
const sendOperationFn = async (args, spec) => {
|
|
108
|
+
var _a;
|
|
109
|
+
let currentRawResponse = undefined;
|
|
110
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
111
|
+
const callback = (rawResponse, flatResponse) => {
|
|
112
|
+
currentRawResponse = rawResponse;
|
|
113
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
114
|
+
};
|
|
115
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
116
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
117
|
+
return {
|
|
118
|
+
flatResponse,
|
|
119
|
+
rawResponse: {
|
|
120
|
+
statusCode: currentRawResponse.status,
|
|
121
|
+
body: currentRawResponse.parsedBody,
|
|
122
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
132
123
|
},
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
const lro = createLroSpec({
|
|
127
|
+
sendOperationFn,
|
|
128
|
+
args: {
|
|
129
|
+
resourceGroupName,
|
|
130
|
+
clusterName,
|
|
131
|
+
databaseName,
|
|
132
|
+
accessPolicyAssignmentName,
|
|
133
|
+
parameters,
|
|
134
|
+
options,
|
|
135
|
+
},
|
|
136
|
+
spec: createUpdateOperationSpec,
|
|
142
137
|
});
|
|
138
|
+
const poller = await createHttpPoller(lro, {
|
|
139
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
140
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
141
|
+
resourceLocationConfig: "original-uri",
|
|
142
|
+
});
|
|
143
|
+
await poller.poll();
|
|
144
|
+
return poller;
|
|
143
145
|
}
|
|
144
146
|
/**
|
|
145
147
|
* Creates/Updates a particular access policy assignment for a database
|
|
146
148
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
147
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
149
|
+
* @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
|
|
150
|
+
* Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
|
|
151
|
+
* consecutive hyphens
|
|
148
152
|
* @param databaseName The name of the Redis Enterprise database.
|
|
149
153
|
* @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
|
|
150
154
|
* assignment.
|
|
151
155
|
* @param parameters Parameters supplied to the create access policy assignment for database.
|
|
152
156
|
* @param options The options parameters.
|
|
153
157
|
*/
|
|
154
|
-
beginCreateUpdateAndWait(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, parameters, options) {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
return poller.pollUntilDone();
|
|
158
|
-
});
|
|
158
|
+
async beginCreateUpdateAndWait(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, parameters, options) {
|
|
159
|
+
const poller = await this.beginCreateUpdate(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, parameters, options);
|
|
160
|
+
return poller.pollUntilDone();
|
|
159
161
|
}
|
|
160
162
|
/**
|
|
161
163
|
* Gets information about access policy assignment for database.
|
|
162
164
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
163
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
165
|
+
* @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
|
|
166
|
+
* Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
|
|
167
|
+
* consecutive hyphens
|
|
164
168
|
* @param databaseName The name of the Redis Enterprise database.
|
|
165
169
|
* @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
|
|
166
170
|
* assignment.
|
|
@@ -178,75 +182,77 @@ export class AccessPolicyAssignmentOperationsImpl {
|
|
|
178
182
|
/**
|
|
179
183
|
* Deletes a single access policy assignment.
|
|
180
184
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
181
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
185
|
+
* @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
|
|
186
|
+
* Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
|
|
187
|
+
* consecutive hyphens
|
|
182
188
|
* @param databaseName The name of the Redis Enterprise database.
|
|
183
189
|
* @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
|
|
184
190
|
* assignment.
|
|
185
191
|
* @param options The options parameters.
|
|
186
192
|
*/
|
|
187
|
-
beginDelete(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, options) {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
208
|
-
},
|
|
209
|
-
};
|
|
210
|
-
});
|
|
211
|
-
const lro = createLroSpec({
|
|
212
|
-
sendOperationFn,
|
|
213
|
-
args: {
|
|
214
|
-
resourceGroupName,
|
|
215
|
-
clusterName,
|
|
216
|
-
databaseName,
|
|
217
|
-
accessPolicyAssignmentName,
|
|
218
|
-
options,
|
|
193
|
+
async beginDelete(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, options) {
|
|
194
|
+
const directSendOperation = async (args, spec) => {
|
|
195
|
+
return this.client.sendOperationRequest(args, spec);
|
|
196
|
+
};
|
|
197
|
+
const sendOperationFn = async (args, spec) => {
|
|
198
|
+
var _a;
|
|
199
|
+
let currentRawResponse = undefined;
|
|
200
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
201
|
+
const callback = (rawResponse, flatResponse) => {
|
|
202
|
+
currentRawResponse = rawResponse;
|
|
203
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
204
|
+
};
|
|
205
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
206
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
207
|
+
return {
|
|
208
|
+
flatResponse,
|
|
209
|
+
rawResponse: {
|
|
210
|
+
statusCode: currentRawResponse.status,
|
|
211
|
+
body: currentRawResponse.parsedBody,
|
|
212
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
219
213
|
},
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
const lro = createLroSpec({
|
|
217
|
+
sendOperationFn,
|
|
218
|
+
args: {
|
|
219
|
+
resourceGroupName,
|
|
220
|
+
clusterName,
|
|
221
|
+
databaseName,
|
|
222
|
+
accessPolicyAssignmentName,
|
|
223
|
+
options,
|
|
224
|
+
},
|
|
225
|
+
spec: deleteOperationSpec,
|
|
229
226
|
});
|
|
227
|
+
const poller = await createHttpPoller(lro, {
|
|
228
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
229
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
230
|
+
resourceLocationConfig: "azure-async-operation",
|
|
231
|
+
});
|
|
232
|
+
await poller.poll();
|
|
233
|
+
return poller;
|
|
230
234
|
}
|
|
231
235
|
/**
|
|
232
236
|
* Deletes a single access policy assignment.
|
|
233
237
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
234
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
238
|
+
* @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
|
|
239
|
+
* Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
|
|
240
|
+
* consecutive hyphens
|
|
235
241
|
* @param databaseName The name of the Redis Enterprise database.
|
|
236
242
|
* @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
|
|
237
243
|
* assignment.
|
|
238
244
|
* @param options The options parameters.
|
|
239
245
|
*/
|
|
240
|
-
beginDeleteAndWait(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, options) {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
return poller.pollUntilDone();
|
|
244
|
-
});
|
|
246
|
+
async beginDeleteAndWait(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, options) {
|
|
247
|
+
const poller = await this.beginDelete(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, options);
|
|
248
|
+
return poller.pollUntilDone();
|
|
245
249
|
}
|
|
246
250
|
/**
|
|
247
251
|
* Gets all access policy assignments..
|
|
248
252
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
249
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
253
|
+
* @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
|
|
254
|
+
* Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
|
|
255
|
+
* consecutive hyphens
|
|
250
256
|
* @param databaseName The name of the Redis Enterprise database.
|
|
251
257
|
* @param options The options parameters.
|
|
252
258
|
*/
|
|
@@ -256,7 +262,9 @@ export class AccessPolicyAssignmentOperationsImpl {
|
|
|
256
262
|
/**
|
|
257
263
|
* ListNext
|
|
258
264
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
259
|
-
* @param clusterName The name of the Redis Enterprise cluster.
|
|
265
|
+
* @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.
|
|
266
|
+
* Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor
|
|
267
|
+
* consecutive hyphens
|
|
260
268
|
* @param databaseName The name of the Redis Enterprise database.
|
|
261
269
|
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
262
270
|
* @param options The options parameters.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accessPolicyAssignmentOperations.js","sourceRoot":"","sources":["../../../src/operations/accessPolicyAssignmentOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAe9C,4CAA4C;AAC5C,oEAAoE;AACpE,MAAM,OAAO,oCAAoC;IAK/C;;;OAGG;IACH,YAAY,MAAuC;QACjD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACI,IAAI,CACT,iBAAyB,EACzB,WAAmB,EACnB,YAAoB,EACpB,OAAkD;QAElD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI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;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { AccessPolicyAssignmentOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { RedisEnterpriseManagementClient } from \"../redisEnterpriseManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n AccessPolicyAssignment,\n AccessPolicyAssignmentListNextOptionalParams,\n AccessPolicyAssignmentListOptionalParams,\n AccessPolicyAssignmentListResponse,\n AccessPolicyAssignmentCreateUpdateOptionalParams,\n AccessPolicyAssignmentCreateUpdateResponse,\n AccessPolicyAssignmentGetOptionalParams,\n AccessPolicyAssignmentGetResponse,\n AccessPolicyAssignmentDeleteOptionalParams,\n AccessPolicyAssignmentDeleteResponse,\n AccessPolicyAssignmentListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AccessPolicyAssignmentOperations operations. */\nexport class AccessPolicyAssignmentOperationsImpl\n implements AccessPolicyAssignmentOperations\n{\n private readonly client: RedisEnterpriseManagementClient;\n\n /**\n * Initialize a new instance of the class AccessPolicyAssignmentOperations class.\n * @param client Reference to the service client\n */\n constructor(client: RedisEnterpriseManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets all access policy assignments..\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param databaseName The name of the Redis Enterprise database.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options?: AccessPolicyAssignmentListOptionalParams,\n ): PagedAsyncIterableIterator<AccessPolicyAssignment> {\n const iter = this.listPagingAll(\n resourceGroupName,\n clusterName,\n databaseName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n clusterName,\n databaseName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options?: AccessPolicyAssignmentListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<AccessPolicyAssignment[]> {\n let result: AccessPolicyAssignmentListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n resourceGroupName,\n clusterName,\n databaseName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n clusterName,\n databaseName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options?: AccessPolicyAssignmentListOptionalParams,\n ): AsyncIterableIterator<AccessPolicyAssignment> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n clusterName,\n databaseName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates/Updates a particular access policy assignment for a database\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param databaseName The name of the Redis Enterprise database.\n * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy\n * assignment.\n * @param parameters Parameters supplied to the create access policy assignment for database.\n * @param options The options parameters.\n */\n async beginCreateUpdate(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n accessPolicyAssignmentName: string,\n parameters: AccessPolicyAssignment,\n options?: AccessPolicyAssignmentCreateUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AccessPolicyAssignmentCreateUpdateResponse>,\n AccessPolicyAssignmentCreateUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AccessPolicyAssignmentCreateUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n clusterName,\n databaseName,\n accessPolicyAssignmentName,\n parameters,\n options,\n },\n spec: createUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n AccessPolicyAssignmentCreateUpdateResponse,\n OperationState<AccessPolicyAssignmentCreateUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"original-uri\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates/Updates a particular access policy assignment for a database\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param databaseName The name of the Redis Enterprise database.\n * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy\n * assignment.\n * @param parameters Parameters supplied to the create access policy assignment for database.\n * @param options The options parameters.\n */\n async beginCreateUpdateAndWait(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n accessPolicyAssignmentName: string,\n parameters: AccessPolicyAssignment,\n options?: AccessPolicyAssignmentCreateUpdateOptionalParams,\n ): Promise<AccessPolicyAssignmentCreateUpdateResponse> {\n const poller = await this.beginCreateUpdate(\n resourceGroupName,\n clusterName,\n databaseName,\n accessPolicyAssignmentName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets information about access policy assignment for database.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param databaseName The name of the Redis Enterprise database.\n * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy\n * assignment.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n accessPolicyAssignmentName: string,\n options?: AccessPolicyAssignmentGetOptionalParams,\n ): Promise<AccessPolicyAssignmentGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n clusterName,\n databaseName,\n accessPolicyAssignmentName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Deletes a single access policy assignment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param databaseName The name of the Redis Enterprise database.\n * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy\n * assignment.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n accessPolicyAssignmentName: string,\n options?: AccessPolicyAssignmentDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AccessPolicyAssignmentDeleteResponse>,\n AccessPolicyAssignmentDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AccessPolicyAssignmentDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n clusterName,\n databaseName,\n accessPolicyAssignmentName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n AccessPolicyAssignmentDeleteResponse,\n OperationState<AccessPolicyAssignmentDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a single access policy assignment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param databaseName The name of the Redis Enterprise database.\n * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy\n * assignment.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n accessPolicyAssignmentName: string,\n options?: AccessPolicyAssignmentDeleteOptionalParams,\n ): Promise<AccessPolicyAssignmentDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n clusterName,\n databaseName,\n accessPolicyAssignmentName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets all access policy assignments..\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param databaseName The name of the Redis Enterprise database.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options?: AccessPolicyAssignmentListOptionalParams,\n ): Promise<AccessPolicyAssignmentListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, databaseName, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param clusterName The name of the Redis Enterprise cluster. Name must be 1-60 characters long.\n * Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor\n * consecutive hyphens\n * @param databaseName The name of the Redis Enterprise database.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n nextLink: string,\n options?: AccessPolicyAssignmentListNextOptionalParams,\n ): Promise<AccessPolicyAssignmentListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, databaseName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments/{accessPolicyAssignmentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccessPolicyAssignment,\n },\n 201: {\n bodyMapper: Mappers.AccessPolicyAssignment,\n },\n 202: {\n bodyMapper: Mappers.AccessPolicyAssignment,\n },\n 204: {\n bodyMapper: Mappers.AccessPolicyAssignment,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters10,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n Parameters.databaseName,\n Parameters.accessPolicyAssignmentName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments/{accessPolicyAssignmentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccessPolicyAssignment,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n Parameters.databaseName,\n Parameters.accessPolicyAssignmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments/{accessPolicyAssignmentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.AccessPolicyAssignmentDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.AccessPolicyAssignmentDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.AccessPolicyAssignmentDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.AccessPolicyAssignmentDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n Parameters.databaseName,\n Parameters.accessPolicyAssignmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccessPolicyAssignmentList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n Parameters.databaseName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccessPolicyAssignmentList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n Parameters.databaseName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|