@azure/arm-redisenterprisecache 4.0.0-beta.1 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +4 -7
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/lroImpl.d.ts +1 -1
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +9 -10
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +122 -11
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +10 -7
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +11 -5
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +343 -65
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +1 -1
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +3 -8
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/accessPolicyAssignmentOperations.d.ts +5 -5
- package/dist/browser/operations/accessPolicyAssignmentOperations.d.ts.map +1 -1
- package/dist/browser/operations/accessPolicyAssignmentOperations.js +48 -60
- package/dist/browser/operations/accessPolicyAssignmentOperations.js.map +1 -1
- package/dist/browser/operations/databases.d.ts +5 -5
- package/dist/browser/operations/databases.d.ts.map +1 -1
- package/dist/browser/operations/databases.js +136 -108
- package/dist/browser/operations/databases.js.map +1 -1
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +4 -7
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/operations.d.ts +4 -4
- package/dist/browser/operations/operations.d.ts.map +1 -1
- package/dist/browser/operations/operations.js +25 -47
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/operationsStatus.d.ts +3 -3
- package/dist/browser/operations/operationsStatus.d.ts.map +1 -1
- package/dist/browser/operations/operationsStatus.js +3 -7
- package/dist/browser/operations/operationsStatus.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.d.ts +5 -5
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.js +35 -47
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/privateLinkResources.d.ts +4 -4
- package/dist/browser/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/browser/operations/privateLinkResources.js +12 -34
- package/dist/browser/operations/privateLinkResources.js.map +1 -1
- package/dist/browser/operations/redisEnterprise.d.ts +5 -5
- package/dist/browser/operations/redisEnterprise.d.ts.map +1 -1
- package/dist/browser/operations/redisEnterprise.js +83 -115
- package/dist/browser/operations/redisEnterprise.js.map +1 -1
- package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +3 -3
- package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.js +2 -7
- package/dist/browser/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -1
- package/dist/browser/operationsInterfaces/databases.d.ts +3 -3
- package/dist/browser/operationsInterfaces/databases.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/databases.js +2 -7
- package/dist/browser/operationsInterfaces/databases.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +4 -7
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +2 -2
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js +2 -7
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/browser/operationsInterfaces/operationsStatus.d.ts +1 -1
- package/dist/browser/operationsInterfaces/operationsStatus.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operationsStatus.js +2 -7
- package/dist/browser/operationsInterfaces/operationsStatus.js.map +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js +2 -7
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +2 -2
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.js +2 -7
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/browser/operationsInterfaces/redisEnterprise.d.ts +3 -3
- package/dist/browser/operationsInterfaces/redisEnterprise.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/redisEnterprise.js +2 -7
- package/dist/browser/operationsInterfaces/redisEnterprise.js.map +1 -1
- package/dist/browser/pagingHelper.d.ts.map +1 -1
- package/dist/browser/pagingHelper.js +4 -11
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/browser/redisEnterpriseManagementClient.d.ts +3 -3
- package/dist/browser/redisEnterpriseManagementClient.d.ts.map +1 -1
- package/dist/browser/redisEnterpriseManagementClient.js +27 -18
- package/dist/browser/redisEnterpriseManagementClient.js.map +1 -1
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +4 -7
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +9 -10
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +122 -11
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +11 -8
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +11 -5
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +345 -67
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +1 -1
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +3 -8
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/accessPolicyAssignmentOperations.d.ts +5 -5
- package/dist/commonjs/operations/accessPolicyAssignmentOperations.d.ts.map +1 -1
- package/dist/commonjs/operations/accessPolicyAssignmentOperations.js +47 -58
- package/dist/commonjs/operations/accessPolicyAssignmentOperations.js.map +1 -1
- package/dist/commonjs/operations/databases.d.ts +5 -5
- package/dist/commonjs/operations/databases.d.ts.map +1 -1
- package/dist/commonjs/operations/databases.js +135 -106
- package/dist/commonjs/operations/databases.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +4 -7
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/operations.d.ts +4 -4
- package/dist/commonjs/operations/operations.d.ts.map +1 -1
- package/dist/commonjs/operations/operations.js +25 -46
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/operationsStatus.d.ts +3 -3
- package/dist/commonjs/operations/operationsStatus.d.ts.map +1 -1
- package/dist/commonjs/operations/operationsStatus.js +3 -7
- package/dist/commonjs/operations/operationsStatus.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +5 -5
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +34 -45
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.d.ts +4 -4
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.js +12 -33
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operations/redisEnterprise.d.ts +5 -5
- package/dist/commonjs/operations/redisEnterprise.d.ts.map +1 -1
- package/dist/commonjs/operations/redisEnterprise.js +82 -113
- package/dist/commonjs/operations/redisEnterprise.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.js +2 -7
- package/dist/commonjs/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/databases.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/databases.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/databases.js +2 -7
- package/dist/commonjs/operationsInterfaces/databases.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +4 -7
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js +2 -7
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operationsStatus.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/operationsStatus.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operationsStatus.js +2 -7
- package/dist/commonjs/operationsInterfaces/operationsStatus.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +2 -7
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js +2 -7
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/redisEnterprise.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/redisEnterprise.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/redisEnterprise.js +2 -7
- package/dist/commonjs/operationsInterfaces/redisEnterprise.js.map +1 -1
- package/dist/commonjs/pagingHelper.d.ts.map +1 -1
- package/dist/commonjs/pagingHelper.js +4 -11
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/redisEnterpriseManagementClient.d.ts +3 -3
- package/dist/commonjs/redisEnterpriseManagementClient.d.ts.map +1 -1
- package/dist/commonjs/redisEnterpriseManagementClient.js +27 -18
- package/dist/commonjs/redisEnterpriseManagementClient.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +4 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lroImpl.d.ts +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +9 -10
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +122 -11
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +10 -7
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +11 -5
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +343 -65
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +1 -1
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +3 -8
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/accessPolicyAssignmentOperations.d.ts +5 -5
- package/dist/esm/operations/accessPolicyAssignmentOperations.d.ts.map +1 -1
- package/dist/esm/operations/accessPolicyAssignmentOperations.js +48 -60
- package/dist/esm/operations/accessPolicyAssignmentOperations.js.map +1 -1
- package/dist/esm/operations/databases.d.ts +5 -5
- package/dist/esm/operations/databases.d.ts.map +1 -1
- package/dist/esm/operations/databases.js +136 -108
- package/dist/esm/operations/databases.js.map +1 -1
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +4 -7
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/operations.d.ts +4 -4
- package/dist/esm/operations/operations.d.ts.map +1 -1
- package/dist/esm/operations/operations.js +25 -47
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/operationsStatus.d.ts +3 -3
- package/dist/esm/operations/operationsStatus.d.ts.map +1 -1
- package/dist/esm/operations/operationsStatus.js +3 -7
- package/dist/esm/operations/operationsStatus.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.d.ts +5 -5
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.js +35 -47
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/privateLinkResources.d.ts +4 -4
- package/dist/esm/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/esm/operations/privateLinkResources.js +12 -34
- package/dist/esm/operations/privateLinkResources.js.map +1 -1
- package/dist/esm/operations/redisEnterprise.d.ts +5 -5
- package/dist/esm/operations/redisEnterprise.d.ts.map +1 -1
- package/dist/esm/operations/redisEnterprise.js +83 -115
- package/dist/esm/operations/redisEnterprise.js.map +1 -1
- package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +3 -3
- package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.js +2 -7
- package/dist/esm/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -1
- package/dist/esm/operationsInterfaces/databases.d.ts +3 -3
- package/dist/esm/operationsInterfaces/databases.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/databases.js +2 -7
- package/dist/esm/operationsInterfaces/databases.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +4 -7
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +2 -2
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js +2 -7
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/esm/operationsInterfaces/operationsStatus.d.ts +1 -1
- package/dist/esm/operationsInterfaces/operationsStatus.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/operationsStatus.js +2 -7
- package/dist/esm/operationsInterfaces/operationsStatus.js.map +1 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +2 -7
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +2 -2
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.js +2 -7
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/esm/operationsInterfaces/redisEnterprise.d.ts +3 -3
- package/dist/esm/operationsInterfaces/redisEnterprise.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/redisEnterprise.js +2 -7
- package/dist/esm/operationsInterfaces/redisEnterprise.js.map +1 -1
- package/dist/esm/pagingHelper.d.ts.map +1 -1
- package/dist/esm/pagingHelper.js +4 -11
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/esm/redisEnterpriseManagementClient.d.ts +3 -3
- package/dist/esm/redisEnterpriseManagementClient.d.ts.map +1 -1
- package/dist/esm/redisEnterpriseManagementClient.js +27 -18
- package/dist/esm/redisEnterpriseManagementClient.js.map +1 -1
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +4 -7
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +9 -10
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +122 -11
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +10 -7
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +11 -5
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +343 -65
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +1 -1
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +3 -8
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/accessPolicyAssignmentOperations.d.ts +5 -5
- package/dist/react-native/operations/accessPolicyAssignmentOperations.d.ts.map +1 -1
- package/dist/react-native/operations/accessPolicyAssignmentOperations.js +48 -60
- package/dist/react-native/operations/accessPolicyAssignmentOperations.js.map +1 -1
- package/dist/react-native/operations/databases.d.ts +5 -5
- package/dist/react-native/operations/databases.d.ts.map +1 -1
- package/dist/react-native/operations/databases.js +136 -108
- package/dist/react-native/operations/databases.js.map +1 -1
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +4 -7
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/operations.d.ts +4 -4
- package/dist/react-native/operations/operations.d.ts.map +1 -1
- package/dist/react-native/operations/operations.js +25 -47
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/operationsStatus.d.ts +3 -3
- package/dist/react-native/operations/operationsStatus.d.ts.map +1 -1
- package/dist/react-native/operations/operationsStatus.js +3 -7
- package/dist/react-native/operations/operationsStatus.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.d.ts +5 -5
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.js +35 -47
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/privateLinkResources.d.ts +4 -4
- package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operations/privateLinkResources.js +12 -34
- package/dist/react-native/operations/privateLinkResources.js.map +1 -1
- package/dist/react-native/operations/redisEnterprise.d.ts +5 -5
- package/dist/react-native/operations/redisEnterprise.d.ts.map +1 -1
- package/dist/react-native/operations/redisEnterprise.js +83 -115
- package/dist/react-native/operations/redisEnterprise.js.map +1 -1
- package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.js +2 -7
- package/dist/react-native/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/databases.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/databases.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/databases.js +2 -7
- package/dist/react-native/operationsInterfaces/databases.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +4 -7
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js +2 -7
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operationsStatus.d.ts +1 -1
- package/dist/react-native/operationsInterfaces/operationsStatus.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/operationsStatus.js +2 -7
- package/dist/react-native/operationsInterfaces/operationsStatus.js.map +1 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +2 -7
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.js +2 -7
- package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/react-native/operationsInterfaces/redisEnterprise.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/redisEnterprise.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/redisEnterprise.js +2 -7
- package/dist/react-native/operationsInterfaces/redisEnterprise.js.map +1 -1
- package/dist/react-native/pagingHelper.d.ts.map +1 -1
- package/dist/react-native/pagingHelper.js +4 -11
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/dist/react-native/redisEnterpriseManagementClient.d.ts +3 -3
- package/dist/react-native/redisEnterpriseManagementClient.d.ts.map +1 -1
- package/dist/react-native/redisEnterpriseManagementClient.js +27 -18
- package/dist/react-native/redisEnterpriseManagementClient.js.map +1 -1
- package/package.json +56 -65
- package/CHANGELOG.md +0 -342
- package/review/arm-redisenterprisecache.api.md +0 -1121
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 } from "tslib";
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
9
3
|
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
4
|
import * as coreClient from "@azure/core-client";
|
|
11
5
|
import * as Mappers from "../models/mappers.js";
|
|
12
6
|
import * as Parameters from "../models/parameters.js";
|
|
13
|
-
import { createHttpPoller
|
|
7
|
+
import { createHttpPoller } from "@azure/core-lro";
|
|
14
8
|
import { createLroSpec } from "../lroImpl.js";
|
|
15
9
|
/// <reference lib="esnext.asynciterable" />
|
|
16
10
|
/** Class containing Databases operations. */
|
|
17
11
|
export class DatabasesImpl {
|
|
12
|
+
client;
|
|
18
13
|
/**
|
|
19
14
|
* Initialize a new instance of the class Databases class.
|
|
20
15
|
* @param client Reference to the service client
|
|
@@ -40,52 +35,35 @@ export class DatabasesImpl {
|
|
|
40
35
|
return this;
|
|
41
36
|
},
|
|
42
37
|
byPage: (settings) => {
|
|
43
|
-
if (settings
|
|
38
|
+
if (settings?.maxPageSize) {
|
|
44
39
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
45
40
|
}
|
|
46
41
|
return this.listByClusterPagingPage(resourceGroupName, clusterName, options, settings);
|
|
47
42
|
},
|
|
48
43
|
};
|
|
49
44
|
}
|
|
50
|
-
listByClusterPagingPage(resourceGroupName, clusterName, options, settings) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
});
|
|
45
|
+
async *listByClusterPagingPage(resourceGroupName, clusterName, options, settings) {
|
|
46
|
+
let result;
|
|
47
|
+
let continuationToken = settings?.continuationToken;
|
|
48
|
+
if (!continuationToken) {
|
|
49
|
+
result = await this._listByCluster(resourceGroupName, clusterName, options);
|
|
50
|
+
const page = result.value || [];
|
|
51
|
+
continuationToken = result.nextLink;
|
|
52
|
+
setContinuationToken(page, continuationToken);
|
|
53
|
+
yield page;
|
|
54
|
+
}
|
|
55
|
+
while (continuationToken) {
|
|
56
|
+
result = await this._listByClusterNext(resourceGroupName, clusterName, continuationToken, options);
|
|
57
|
+
continuationToken = result.nextLink;
|
|
58
|
+
const page = result.value || [];
|
|
59
|
+
setContinuationToken(page, continuationToken);
|
|
60
|
+
yield page;
|
|
61
|
+
}
|
|
69
62
|
}
|
|
70
|
-
listByClusterPagingAll(resourceGroupName, clusterName, options) {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
for (var _d = true, _e = __asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
75
|
-
_c = _f.value;
|
|
76
|
-
_d = false;
|
|
77
|
-
const page = _c;
|
|
78
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
82
|
-
finally {
|
|
83
|
-
try {
|
|
84
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
85
|
-
}
|
|
86
|
-
finally { if (e_1) throw e_1.error; }
|
|
87
|
-
}
|
|
88
|
-
});
|
|
63
|
+
async *listByClusterPagingAll(resourceGroupName, clusterName, options) {
|
|
64
|
+
for await (const page of this.listByClusterPagingPage(resourceGroupName, clusterName, options)) {
|
|
65
|
+
yield* page;
|
|
66
|
+
}
|
|
89
67
|
}
|
|
90
68
|
/**
|
|
91
69
|
* Gets all databases in the specified Redis Enterprise cluster.
|
|
@@ -113,14 +91,19 @@ export class DatabasesImpl {
|
|
|
113
91
|
return this.client.sendOperationRequest(args, spec);
|
|
114
92
|
};
|
|
115
93
|
const sendOperationFn = async (args, spec) => {
|
|
116
|
-
var _a;
|
|
117
94
|
let currentRawResponse = undefined;
|
|
118
|
-
const providedCallback =
|
|
95
|
+
const providedCallback = args.options?.onResponse;
|
|
119
96
|
const callback = (rawResponse, flatResponse) => {
|
|
120
97
|
currentRawResponse = rawResponse;
|
|
121
|
-
providedCallback
|
|
98
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
99
|
+
};
|
|
100
|
+
const updatedArgs = {
|
|
101
|
+
...args,
|
|
102
|
+
options: {
|
|
103
|
+
...args.options,
|
|
104
|
+
onResponse: callback,
|
|
105
|
+
},
|
|
122
106
|
};
|
|
123
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
124
107
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
125
108
|
return {
|
|
126
109
|
flatResponse,
|
|
@@ -143,8 +126,8 @@ export class DatabasesImpl {
|
|
|
143
126
|
spec: createOperationSpec,
|
|
144
127
|
});
|
|
145
128
|
const poller = await createHttpPoller(lro, {
|
|
146
|
-
restoreFrom: options
|
|
147
|
-
intervalInMs: options
|
|
129
|
+
restoreFrom: options?.resumeFrom,
|
|
130
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
148
131
|
resourceLocationConfig: "original-uri",
|
|
149
132
|
});
|
|
150
133
|
await poller.poll();
|
|
@@ -179,14 +162,19 @@ export class DatabasesImpl {
|
|
|
179
162
|
return this.client.sendOperationRequest(args, spec);
|
|
180
163
|
};
|
|
181
164
|
const sendOperationFn = async (args, spec) => {
|
|
182
|
-
var _a;
|
|
183
165
|
let currentRawResponse = undefined;
|
|
184
|
-
const providedCallback =
|
|
166
|
+
const providedCallback = args.options?.onResponse;
|
|
185
167
|
const callback = (rawResponse, flatResponse) => {
|
|
186
168
|
currentRawResponse = rawResponse;
|
|
187
|
-
providedCallback
|
|
169
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
170
|
+
};
|
|
171
|
+
const updatedArgs = {
|
|
172
|
+
...args,
|
|
173
|
+
options: {
|
|
174
|
+
...args.options,
|
|
175
|
+
onResponse: callback,
|
|
176
|
+
},
|
|
188
177
|
};
|
|
189
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
190
178
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
191
179
|
return {
|
|
192
180
|
flatResponse,
|
|
@@ -209,8 +197,8 @@ export class DatabasesImpl {
|
|
|
209
197
|
spec: updateOperationSpec,
|
|
210
198
|
});
|
|
211
199
|
const poller = await createHttpPoller(lro, {
|
|
212
|
-
restoreFrom: options
|
|
213
|
-
intervalInMs: options
|
|
200
|
+
restoreFrom: options?.resumeFrom,
|
|
201
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
214
202
|
resourceLocationConfig: "azure-async-operation",
|
|
215
203
|
});
|
|
216
204
|
await poller.poll();
|
|
@@ -256,14 +244,19 @@ export class DatabasesImpl {
|
|
|
256
244
|
return this.client.sendOperationRequest(args, spec);
|
|
257
245
|
};
|
|
258
246
|
const sendOperationFn = async (args, spec) => {
|
|
259
|
-
var _a;
|
|
260
247
|
let currentRawResponse = undefined;
|
|
261
|
-
const providedCallback =
|
|
248
|
+
const providedCallback = args.options?.onResponse;
|
|
262
249
|
const callback = (rawResponse, flatResponse) => {
|
|
263
250
|
currentRawResponse = rawResponse;
|
|
264
|
-
providedCallback
|
|
251
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
252
|
+
};
|
|
253
|
+
const updatedArgs = {
|
|
254
|
+
...args,
|
|
255
|
+
options: {
|
|
256
|
+
...args.options,
|
|
257
|
+
onResponse: callback,
|
|
258
|
+
},
|
|
265
259
|
};
|
|
266
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
267
260
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
268
261
|
return {
|
|
269
262
|
flatResponse,
|
|
@@ -280,8 +273,8 @@ export class DatabasesImpl {
|
|
|
280
273
|
spec: deleteOperationSpec,
|
|
281
274
|
});
|
|
282
275
|
const poller = await createHttpPoller(lro, {
|
|
283
|
-
restoreFrom: options
|
|
284
|
-
intervalInMs: options
|
|
276
|
+
restoreFrom: options?.resumeFrom,
|
|
277
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
285
278
|
resourceLocationConfig: "azure-async-operation",
|
|
286
279
|
});
|
|
287
280
|
await poller.poll();
|
|
@@ -327,14 +320,19 @@ export class DatabasesImpl {
|
|
|
327
320
|
return this.client.sendOperationRequest(args, spec);
|
|
328
321
|
};
|
|
329
322
|
const sendOperationFn = async (args, spec) => {
|
|
330
|
-
var _a;
|
|
331
323
|
let currentRawResponse = undefined;
|
|
332
|
-
const providedCallback =
|
|
324
|
+
const providedCallback = args.options?.onResponse;
|
|
333
325
|
const callback = (rawResponse, flatResponse) => {
|
|
334
326
|
currentRawResponse = rawResponse;
|
|
335
|
-
providedCallback
|
|
327
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
328
|
+
};
|
|
329
|
+
const updatedArgs = {
|
|
330
|
+
...args,
|
|
331
|
+
options: {
|
|
332
|
+
...args.options,
|
|
333
|
+
onResponse: callback,
|
|
334
|
+
},
|
|
336
335
|
};
|
|
337
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
338
336
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
339
337
|
return {
|
|
340
338
|
flatResponse,
|
|
@@ -357,8 +355,8 @@ export class DatabasesImpl {
|
|
|
357
355
|
spec: regenerateKeyOperationSpec,
|
|
358
356
|
});
|
|
359
357
|
const poller = await createHttpPoller(lro, {
|
|
360
|
-
restoreFrom: options
|
|
361
|
-
intervalInMs: options
|
|
358
|
+
restoreFrom: options?.resumeFrom,
|
|
359
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
362
360
|
resourceLocationConfig: "azure-async-operation",
|
|
363
361
|
});
|
|
364
362
|
await poller.poll();
|
|
@@ -393,14 +391,19 @@ export class DatabasesImpl {
|
|
|
393
391
|
return this.client.sendOperationRequest(args, spec);
|
|
394
392
|
};
|
|
395
393
|
const sendOperationFn = async (args, spec) => {
|
|
396
|
-
var _a;
|
|
397
394
|
let currentRawResponse = undefined;
|
|
398
|
-
const providedCallback =
|
|
395
|
+
const providedCallback = args.options?.onResponse;
|
|
399
396
|
const callback = (rawResponse, flatResponse) => {
|
|
400
397
|
currentRawResponse = rawResponse;
|
|
401
|
-
providedCallback
|
|
398
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
399
|
+
};
|
|
400
|
+
const updatedArgs = {
|
|
401
|
+
...args,
|
|
402
|
+
options: {
|
|
403
|
+
...args.options,
|
|
404
|
+
onResponse: callback,
|
|
405
|
+
},
|
|
402
406
|
};
|
|
403
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
404
407
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
405
408
|
return {
|
|
406
409
|
flatResponse,
|
|
@@ -423,8 +426,8 @@ export class DatabasesImpl {
|
|
|
423
426
|
spec: importOperationSpec,
|
|
424
427
|
});
|
|
425
428
|
const poller = await createHttpPoller(lro, {
|
|
426
|
-
restoreFrom: options
|
|
427
|
-
intervalInMs: options
|
|
429
|
+
restoreFrom: options?.resumeFrom,
|
|
430
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
428
431
|
resourceLocationConfig: "azure-async-operation",
|
|
429
432
|
});
|
|
430
433
|
await poller.poll();
|
|
@@ -459,14 +462,19 @@ export class DatabasesImpl {
|
|
|
459
462
|
return this.client.sendOperationRequest(args, spec);
|
|
460
463
|
};
|
|
461
464
|
const sendOperationFn = async (args, spec) => {
|
|
462
|
-
var _a;
|
|
463
465
|
let currentRawResponse = undefined;
|
|
464
|
-
const providedCallback =
|
|
466
|
+
const providedCallback = args.options?.onResponse;
|
|
465
467
|
const callback = (rawResponse, flatResponse) => {
|
|
466
468
|
currentRawResponse = rawResponse;
|
|
467
|
-
providedCallback
|
|
469
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
470
|
+
};
|
|
471
|
+
const updatedArgs = {
|
|
472
|
+
...args,
|
|
473
|
+
options: {
|
|
474
|
+
...args.options,
|
|
475
|
+
onResponse: callback,
|
|
476
|
+
},
|
|
468
477
|
};
|
|
469
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
470
478
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
471
479
|
return {
|
|
472
480
|
flatResponse,
|
|
@@ -489,8 +497,8 @@ export class DatabasesImpl {
|
|
|
489
497
|
spec: exportOperationSpec,
|
|
490
498
|
});
|
|
491
499
|
const poller = await createHttpPoller(lro, {
|
|
492
|
-
restoreFrom: options
|
|
493
|
-
intervalInMs: options
|
|
500
|
+
restoreFrom: options?.resumeFrom,
|
|
501
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
494
502
|
resourceLocationConfig: "azure-async-operation",
|
|
495
503
|
});
|
|
496
504
|
await poller.poll();
|
|
@@ -525,14 +533,19 @@ export class DatabasesImpl {
|
|
|
525
533
|
return this.client.sendOperationRequest(args, spec);
|
|
526
534
|
};
|
|
527
535
|
const sendOperationFn = async (args, spec) => {
|
|
528
|
-
var _a;
|
|
529
536
|
let currentRawResponse = undefined;
|
|
530
|
-
const providedCallback =
|
|
537
|
+
const providedCallback = args.options?.onResponse;
|
|
531
538
|
const callback = (rawResponse, flatResponse) => {
|
|
532
539
|
currentRawResponse = rawResponse;
|
|
533
|
-
providedCallback
|
|
540
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
541
|
+
};
|
|
542
|
+
const updatedArgs = {
|
|
543
|
+
...args,
|
|
544
|
+
options: {
|
|
545
|
+
...args.options,
|
|
546
|
+
onResponse: callback,
|
|
547
|
+
},
|
|
534
548
|
};
|
|
535
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
536
549
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
537
550
|
return {
|
|
538
551
|
flatResponse,
|
|
@@ -555,8 +568,8 @@ export class DatabasesImpl {
|
|
|
555
568
|
spec: forceUnlinkOperationSpec,
|
|
556
569
|
});
|
|
557
570
|
const poller = await createHttpPoller(lro, {
|
|
558
|
-
restoreFrom: options
|
|
559
|
-
intervalInMs: options
|
|
571
|
+
restoreFrom: options?.resumeFrom,
|
|
572
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
560
573
|
resourceLocationConfig: "azure-async-operation",
|
|
561
574
|
});
|
|
562
575
|
await poller.poll();
|
|
@@ -593,14 +606,19 @@ export class DatabasesImpl {
|
|
|
593
606
|
return this.client.sendOperationRequest(args, spec);
|
|
594
607
|
};
|
|
595
608
|
const sendOperationFn = async (args, spec) => {
|
|
596
|
-
var _a;
|
|
597
609
|
let currentRawResponse = undefined;
|
|
598
|
-
const providedCallback =
|
|
610
|
+
const providedCallback = args.options?.onResponse;
|
|
599
611
|
const callback = (rawResponse, flatResponse) => {
|
|
600
612
|
currentRawResponse = rawResponse;
|
|
601
|
-
providedCallback
|
|
613
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
614
|
+
};
|
|
615
|
+
const updatedArgs = {
|
|
616
|
+
...args,
|
|
617
|
+
options: {
|
|
618
|
+
...args.options,
|
|
619
|
+
onResponse: callback,
|
|
620
|
+
},
|
|
602
621
|
};
|
|
603
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
604
622
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
605
623
|
return {
|
|
606
624
|
flatResponse,
|
|
@@ -623,8 +641,8 @@ export class DatabasesImpl {
|
|
|
623
641
|
spec: forceLinkToReplicationGroupOperationSpec,
|
|
624
642
|
});
|
|
625
643
|
const poller = await createHttpPoller(lro, {
|
|
626
|
-
restoreFrom: options
|
|
627
|
-
intervalInMs: options
|
|
644
|
+
restoreFrom: options?.resumeFrom,
|
|
645
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
628
646
|
resourceLocationConfig: "azure-async-operation",
|
|
629
647
|
});
|
|
630
648
|
await poller.poll();
|
|
@@ -660,14 +678,19 @@ export class DatabasesImpl {
|
|
|
660
678
|
return this.client.sendOperationRequest(args, spec);
|
|
661
679
|
};
|
|
662
680
|
const sendOperationFn = async (args, spec) => {
|
|
663
|
-
var _a;
|
|
664
681
|
let currentRawResponse = undefined;
|
|
665
|
-
const providedCallback =
|
|
682
|
+
const providedCallback = args.options?.onResponse;
|
|
666
683
|
const callback = (rawResponse, flatResponse) => {
|
|
667
684
|
currentRawResponse = rawResponse;
|
|
668
|
-
providedCallback
|
|
685
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
686
|
+
};
|
|
687
|
+
const updatedArgs = {
|
|
688
|
+
...args,
|
|
689
|
+
options: {
|
|
690
|
+
...args.options,
|
|
691
|
+
onResponse: callback,
|
|
692
|
+
},
|
|
669
693
|
};
|
|
670
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
671
694
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
672
695
|
return {
|
|
673
696
|
flatResponse,
|
|
@@ -684,8 +707,8 @@ export class DatabasesImpl {
|
|
|
684
707
|
spec: flushOperationSpec,
|
|
685
708
|
});
|
|
686
709
|
const poller = await createHttpPoller(lro, {
|
|
687
|
-
restoreFrom: options
|
|
688
|
-
intervalInMs: options
|
|
710
|
+
restoreFrom: options?.resumeFrom,
|
|
711
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
689
712
|
resourceLocationConfig: "location",
|
|
690
713
|
});
|
|
691
714
|
await poller.poll();
|
|
@@ -718,14 +741,19 @@ export class DatabasesImpl {
|
|
|
718
741
|
return this.client.sendOperationRequest(args, spec);
|
|
719
742
|
};
|
|
720
743
|
const sendOperationFn = async (args, spec) => {
|
|
721
|
-
var _a;
|
|
722
744
|
let currentRawResponse = undefined;
|
|
723
|
-
const providedCallback =
|
|
745
|
+
const providedCallback = args.options?.onResponse;
|
|
724
746
|
const callback = (rawResponse, flatResponse) => {
|
|
725
747
|
currentRawResponse = rawResponse;
|
|
726
|
-
providedCallback
|
|
748
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
749
|
+
};
|
|
750
|
+
const updatedArgs = {
|
|
751
|
+
...args,
|
|
752
|
+
options: {
|
|
753
|
+
...args.options,
|
|
754
|
+
onResponse: callback,
|
|
755
|
+
},
|
|
727
756
|
};
|
|
728
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
729
757
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
730
758
|
return {
|
|
731
759
|
flatResponse,
|
|
@@ -742,8 +770,8 @@ export class DatabasesImpl {
|
|
|
742
770
|
spec: upgradeDBRedisVersionOperationSpec,
|
|
743
771
|
});
|
|
744
772
|
const poller = await createHttpPoller(lro, {
|
|
745
|
-
restoreFrom: options
|
|
746
|
-
intervalInMs: options
|
|
773
|
+
restoreFrom: options?.resumeFrom,
|
|
774
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
747
775
|
resourceLocationConfig: "location",
|
|
748
776
|
});
|
|
749
777
|
await poller.poll();
|