@azure/arm-redisenterprisecache 4.0.0-alpha.20251022.1 → 4.0.0-alpha.20251024.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- 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 +2 -7
- 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 +247 -21
- 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 +5 -10
- 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 +5 -10
- 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 +4 -9
- 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 +2 -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 +3 -8
- 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 +2 -7
- 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 +9 -22
- 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 +2 -7
- 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 +9 -15
- 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 +2 -7
- 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 +249 -23
- 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 +4 -9
- 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 +4 -9
- 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 +4 -9
- 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 +2 -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 +2 -7
- 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 +2 -7
- 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 +8 -21
- 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 +2 -7
- 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 +9 -15
- package/dist/commonjs/redisEnterpriseManagementClient.js.map +1 -1
- 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 +2 -7
- 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 +247 -21
- 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 +5 -10
- 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 +5 -10
- 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 +4 -9
- 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 +2 -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 +3 -8
- 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 +2 -7
- 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 +9 -22
- 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 +2 -7
- 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 +9 -15
- 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 +2 -7
- 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 +247 -21
- 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 +5 -10
- 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 +5 -10
- 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 +4 -9
- 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 +2 -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 +3 -8
- 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 +2 -7
- 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 +9 -22
- 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 +2 -7
- 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 +9 -15
- package/dist/react-native/redisEnterpriseManagementClient.js.map +1 -1
- package/package.json +38 -39
- package/CHANGELOG.md +0 -342
- package/review/arm-redisenterprisecache-node.api.md +0 -1121
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AACnF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAC7F,OAAO,KAAK,EAAE,gBAAgB,EAA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EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAyDxD;;;;;;;;;OASG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;CASjB"}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
9
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
5
|
exports.PrivateEndpointConnectionsImpl = void 0;
|
|
11
6
|
const tslib_1 = require("tslib");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAY9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAa,8BAA8B;IAGxB,MAAM,CAAkC;IAEzD;;;OAGG;IACH,YAAY,MAAuC;QACjD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,IAAI,CACT,iBAAyB,EACzB,WAAmB,EACnB,OAAsD;QAEtD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,i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D,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,UAAU;IAClC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,uLAAuL;IAC7L,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,6BAA6B;KACzC;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 { PrivateEndpointConnections } 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 PrivateEndpointConnection,\n PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsListResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsPutOptionalParams,\n PrivateEndpointConnectionsPutResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl\n implements PrivateEndpointConnections\n{\n private readonly client: RedisEnterpriseManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: RedisEnterpriseManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the private endpoint connections associated with the Redis Enterprise cluster.\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 options The options parameters.\n */\n public list(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n const iter = this.listPagingAll(resourceGroupName, clusterName, options);\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 options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: PrivateEndpointConnectionsListResponse;\n result = await this._list(resourceGroupName, clusterName, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n clusterName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the private endpoint connections associated with the Redis Enterprise cluster.\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 options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): Promise<PrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the specified private endpoint connection associated with the Redis Enterprise cluster.\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 privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n clusterName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Updates the state of the specified private endpoint connection associated with the Redis Enterprise\n * cluster.\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 privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param properties The private endpoint connection properties.\n * @param options The options parameters.\n */\n async beginPut(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n properties: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsPutOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsPutResponse>,\n PrivateEndpointConnectionsPutResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionsPutResponse> => {\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 privateEndpointConnectionName,\n properties,\n options,\n },\n spec: putOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionsPutResponse,\n OperationState<PrivateEndpointConnectionsPutResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates the state of the specified private endpoint connection associated with the Redis Enterprise\n * cluster.\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 privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param properties The private endpoint connection properties.\n * @param options The options parameters.\n */\n async beginPutAndWait(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n properties: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsPutOptionalParams,\n ): Promise<PrivateEndpointConnectionsPutResponse> {\n const poller = await this.beginPut(\n resourceGroupName,\n clusterName,\n privateEndpointConnectionName,\n properties,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.\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 privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\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 privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.\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 privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n clusterName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\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 ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\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.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst putOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.properties,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\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.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAOlC,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAGtD,8CAAmD;AACnD,8CAA8C;AAY9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAa,8BAA8B;IACxB,MAAM,CAAkC;IAEzD;;;OAGG;IACH,YAAY,MAAuC;QACjD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,IAAI,CACT,iBAAyB,EACzB,WAAmB,EACnB,OAAsD;QAEtD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QACzE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,I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,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,uLAAuL;IAC7L,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport type { PrivateEndpointConnections } 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 type { RedisEnterpriseManagementClient } from \"../redisEnterpriseManagementClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n PrivateEndpointConnection,\n PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsListResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsPutOptionalParams,\n PrivateEndpointConnectionsPutResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {\n private readonly client: RedisEnterpriseManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: RedisEnterpriseManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the private endpoint connections associated with the Redis Enterprise cluster.\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 options The options parameters.\n */\n public list(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n const iter = this.listPagingAll(resourceGroupName, clusterName, options);\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(resourceGroupName, clusterName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: PrivateEndpointConnectionsListResponse;\n result = await this._list(resourceGroupName, clusterName, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listPagingPage(resourceGroupName, clusterName, options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all the private endpoint connections associated with the Redis Enterprise cluster.\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 options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): Promise<PrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the specified private endpoint connection associated with the Redis Enterprise cluster.\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 privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n clusterName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Updates the state of the specified private endpoint connection associated with the Redis Enterprise\n * cluster.\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 privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param properties The private endpoint connection properties.\n * @param options The options parameters.\n */\n async beginPut(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n properties: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsPutOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsPutResponse>,\n PrivateEndpointConnectionsPutResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionsPutResponse> => {\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 = 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 privateEndpointConnectionName,\n properties,\n options,\n },\n spec: putOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionsPutResponse,\n OperationState<PrivateEndpointConnectionsPutResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates the state of the specified private endpoint connection associated with the Redis Enterprise\n * cluster.\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 privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param properties The private endpoint connection properties.\n * @param options The options parameters.\n */\n async beginPutAndWait(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n properties: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsPutOptionalParams,\n ): Promise<PrivateEndpointConnectionsPutResponse> {\n const poller = await this.beginPut(\n resourceGroupName,\n clusterName,\n privateEndpointConnectionName,\n properties,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.\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 privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\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 = 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 privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.\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 privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n clusterName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n clusterName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\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 ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\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.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst putOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.properties,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\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.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { PrivateLinkResources } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { RedisEnterpriseManagementClient } from "../redisEnterpriseManagementClient.js";
|
|
4
|
-
import { PrivateLinkResource, PrivateLinkResourcesListByClusterOptionalParams } from "../models/index.js";
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { PrivateLinkResources } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { RedisEnterpriseManagementClient } from "../redisEnterpriseManagementClient.js";
|
|
4
|
+
import type { PrivateLinkResource, PrivateLinkResourcesListByClusterOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing PrivateLinkResources operations. */
|
|
6
6
|
export declare class PrivateLinkResourcesImpl implements PrivateLinkResources {
|
|
7
7
|
private readonly client;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AACnF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAI7E,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAC7F,OAAO,KAAK,EACV,mBAAmB,EACnB,+CAA+C,EAEhD,MAAM,oBAAoB,CAAC;AAG5B,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkC;IAEzD;;;OAGG;gBACS,MAAM,EAAE,+BAA+B;IAInD;;;;;;;OAOG;IACI,aAAa,CAClB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,mBAAmB,CAAC;YAkBnC,uBAAuB;YAWvB,sBAAsB;IAcrC;;;;;;;OAOG;IACH,OAAO,CAAC,cAAc;CAUvB"}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
9
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
5
|
exports.PrivateLinkResourcesImpl = void 0;
|
|
11
6
|
const tslib_1 = require("tslib");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAOlC,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAQtD,4CAA4C;AAC5C,wDAAwD;AACxD,MAAa,wBAAwB;IAClB,MAAM,CAAkC;IAEzD;;;OAGG;IACH,YAAY,MAAuC;QACjD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,aAAa,CAClB,iBAAyB,EACzB,WAAmB,EACnB,OAAyD;QAEzD,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QAClF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAA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AC;AAE3E,MAAM,0BAA0B,GAA6B;IAC3D,IAAI,EAAE,iJAAiJ;IACvJ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport type { PrivateLinkResources } 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 type { RedisEnterpriseManagementClient } from \"../redisEnterpriseManagementClient.js\";\nimport type {\n PrivateLinkResource,\n PrivateLinkResourcesListByClusterOptionalParams,\n PrivateLinkResourcesListByClusterResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateLinkResources operations. */\nexport class PrivateLinkResourcesImpl implements PrivateLinkResources {\n private readonly client: RedisEnterpriseManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateLinkResources class.\n * @param client Reference to the service client\n */\n constructor(client: RedisEnterpriseManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the private link resources that need to be created for a Redis Enterprise cluster.\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 options The options parameters.\n */\n public listByCluster(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateLinkResourcesListByClusterOptionalParams,\n ): PagedAsyncIterableIterator<PrivateLinkResource> {\n const iter = this.listByClusterPagingAll(resourceGroupName, clusterName, options);\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.listByClusterPagingPage(resourceGroupName, clusterName, options, settings);\n },\n };\n }\n\n private async *listByClusterPagingPage(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateLinkResourcesListByClusterOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<PrivateLinkResource[]> {\n let result: PrivateLinkResourcesListByClusterResponse;\n result = await this._listByCluster(resourceGroupName, clusterName, options);\n yield result.value || [];\n }\n\n private async *listByClusterPagingAll(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateLinkResourcesListByClusterOptionalParams,\n ): AsyncIterableIterator<PrivateLinkResource> {\n for await (const page of this.listByClusterPagingPage(\n resourceGroupName,\n clusterName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the private link resources that need to be created for a Redis Enterprise cluster.\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 options The options parameters.\n */\n private _listByCluster(\n resourceGroupName: string,\n clusterName: string,\n options?: PrivateLinkResourcesListByClusterOptionalParams,\n ): Promise<PrivateLinkResourcesListByClusterResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n listByClusterOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByClusterOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourceListResult,\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 ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { RedisEnterprise } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { RedisEnterpriseManagementClient } from "../redisEnterpriseManagementClient.js";
|
|
4
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
-
import { Cluster, RedisEnterpriseListByResourceGroupOptionalParams, RedisEnterpriseListOptionalParams, RedisEnterpriseCreateOptionalParams, RedisEnterpriseCreateResponse, ClusterUpdate, RedisEnterpriseUpdateOptionalParams, RedisEnterpriseUpdateResponse, RedisEnterpriseDeleteOptionalParams, RedisEnterpriseGetOptionalParams, RedisEnterpriseGetResponse, RedisEnterpriseListSkusForScalingOptionalParams, RedisEnterpriseListSkusForScalingResponse } from "../models/index.js";
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { RedisEnterprise } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { RedisEnterpriseManagementClient } from "../redisEnterpriseManagementClient.js";
|
|
4
|
+
import type { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import type { Cluster, RedisEnterpriseListByResourceGroupOptionalParams, RedisEnterpriseListOptionalParams, RedisEnterpriseCreateOptionalParams, RedisEnterpriseCreateResponse, ClusterUpdate, RedisEnterpriseUpdateOptionalParams, RedisEnterpriseUpdateResponse, RedisEnterpriseDeleteOptionalParams, RedisEnterpriseGetOptionalParams, RedisEnterpriseGetResponse, RedisEnterpriseListSkusForScalingOptionalParams, RedisEnterpriseListSkusForScalingResponse } from "../models/index.js";
|
|
6
6
|
/** Class containing RedisEnterprise operations. */
|
|
7
7
|
export declare class RedisEnterpriseImpl implements RedisEnterprise {
|
|
8
8
|
private readonly client;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redisEnterprise.d.ts","sourceRoot":"","sources":["../../../src/operations/redisEnterprise.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"redisEnterprise.d.ts","sourceRoot":"","sources":["../../../src/operations/redisEnterprise.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAIxE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAC7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,OAAO,EAEP,gDAAgD,EAGhD,iCAAiC,EAEjC,mCAAmC,EACnC,6BAA6B,EAC7B,aAAa,EACb,mCAAmC,EACnC,6BAA6B,EAC7B,mCAAmC,EACnC,gCAAgC,EAChC,0BAA0B,EAC1B,+CAA+C,EAC/C,yCAAyC,EAG1C,MAAM,oBAAoB,CAAC;AAG5B,mDAAmD;AACnD,qBAAa,mBAAoB,YAAW,eAAe;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkC;IAEzD;;;OAGG;gBACS,MAAM,EAAE,+BAA+B;IAInD;;;;OAIG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,gDAAgD,GACzD,0BAA0B,CAAC,OAAO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AAE,MAAM,EACnB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC;IAKhB;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAIb;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;IAOrD;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;OAIG;IACH,OAAO,CAAC,SAAS;CAMlB"}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
9
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
5
|
exports.RedisEnterpriseImpl = void 0;
|
|
11
6
|
const tslib_1 = require("tslib");
|
|
@@ -53,7 +48,7 @@ class RedisEnterpriseImpl {
|
|
|
53
48
|
let continuationToken = settings?.continuationToken;
|
|
54
49
|
if (!continuationToken) {
|
|
55
50
|
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
56
|
-
|
|
51
|
+
const page = result.value || [];
|
|
57
52
|
continuationToken = result.nextLink;
|
|
58
53
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
59
54
|
yield page;
|
|
@@ -61,7 +56,7 @@ class RedisEnterpriseImpl {
|
|
|
61
56
|
while (continuationToken) {
|
|
62
57
|
result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
63
58
|
continuationToken = result.nextLink;
|
|
64
|
-
|
|
59
|
+
const page = result.value || [];
|
|
65
60
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
66
61
|
yield page;
|
|
67
62
|
}
|
|
@@ -97,7 +92,7 @@ class RedisEnterpriseImpl {
|
|
|
97
92
|
let continuationToken = settings?.continuationToken;
|
|
98
93
|
if (!continuationToken) {
|
|
99
94
|
result = await this._list(options);
|
|
100
|
-
|
|
95
|
+
const page = result.value || [];
|
|
101
96
|
continuationToken = result.nextLink;
|
|
102
97
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
103
98
|
yield page;
|
|
@@ -105,7 +100,7 @@ class RedisEnterpriseImpl {
|
|
|
105
100
|
while (continuationToken) {
|
|
106
101
|
result = await this._listNext(continuationToken, options);
|
|
107
102
|
continuationToken = result.nextLink;
|
|
108
|
-
|
|
103
|
+
const page = result.value || [];
|
|
109
104
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
110
105
|
yield page;
|
|
111
106
|
}
|
|
@@ -479,11 +474,7 @@ const listByResourceGroupOperationSpec = {
|
|
|
479
474
|
},
|
|
480
475
|
},
|
|
481
476
|
queryParameters: [Parameters.apiVersion],
|
|
482
|
-
urlParameters: [
|
|
483
|
-
Parameters.$host,
|
|
484
|
-
Parameters.subscriptionId,
|
|
485
|
-
Parameters.resourceGroupName,
|
|
486
|
-
],
|
|
477
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],
|
|
487
478
|
headerParameters: [Parameters.accept],
|
|
488
479
|
serializer,
|
|
489
480
|
};
|
|
@@ -555,11 +546,7 @@ const listNextOperationSpec = {
|
|
|
555
546
|
bodyMapper: Mappers.ErrorResponse,
|
|
556
547
|
},
|
|
557
548
|
},
|
|
558
|
-
urlParameters: [
|
|
559
|
-
Parameters.$host,
|
|
560
|
-
Parameters.nextLink,
|
|
561
|
-
Parameters.subscriptionId,
|
|
562
|
-
],
|
|
549
|
+
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],
|
|
563
550
|
headerParameters: [Parameters.accept],
|
|
564
551
|
serializer,
|
|
565
552
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redisEnterprise.js","sourceRoot":"","sources":["../../../src/operations/redisEnterprise.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAuB9C,4CAA4C;AAC5C,mDAAmD;AACnD,MAAa,mBAAmB;IACb,MAAM,CAAkC;IAEzD;;;OAGG;IACH,YAAY,MAAuC;QACjD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAA0D;QAE1D,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,6BAA6B,CACvC,iBAAiB,EACjB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,6BAA6B,CAC1C,iBAAyB,EACzB,OAA0D,EAC1D,QAAuB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,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;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;KAC7B;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,WAAW;SAChC;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;KAC1B;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 { RedisEnterprise } 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 Cluster,\n RedisEnterpriseListByResourceGroupNextOptionalParams,\n RedisEnterpriseListByResourceGroupOptionalParams,\n RedisEnterpriseListByResourceGroupResponse,\n RedisEnterpriseListNextOptionalParams,\n RedisEnterpriseListOptionalParams,\n RedisEnterpriseListResponse,\n RedisEnterpriseCreateOptionalParams,\n RedisEnterpriseCreateResponse,\n ClusterUpdate,\n RedisEnterpriseUpdateOptionalParams,\n RedisEnterpriseUpdateResponse,\n RedisEnterpriseDeleteOptionalParams,\n RedisEnterpriseGetOptionalParams,\n RedisEnterpriseGetResponse,\n RedisEnterpriseListSkusForScalingOptionalParams,\n RedisEnterpriseListSkusForScalingResponse,\n RedisEnterpriseListByResourceGroupNextResponse,\n RedisEnterpriseListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing RedisEnterprise operations. */\nexport class RedisEnterpriseImpl implements RedisEnterprise {\n private readonly client: RedisEnterpriseManagementClient;\n\n /**\n * Initialize a new instance of the class RedisEnterprise class.\n * @param client Reference to the service client\n */\n constructor(client: RedisEnterpriseManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all Redis Enterprise clusters in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: RedisEnterpriseListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<Cluster> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\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.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: RedisEnterpriseListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Cluster[]> {\n let result: RedisEnterpriseListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\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 *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: RedisEnterpriseListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<Cluster> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all Redis Enterprise clusters in the specified subscription.\n * @param options The options parameters.\n */\n public list(\n options?: RedisEnterpriseListOptionalParams,\n ): PagedAsyncIterableIterator<Cluster> {\n const iter = this.listPagingAll(options);\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(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: RedisEnterpriseListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Cluster[]> {\n let result: RedisEnterpriseListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\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(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: RedisEnterpriseListOptionalParams,\n ): AsyncIterableIterator<Cluster> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster\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 parameters Parameters supplied to the Create Redis Enterprise operation.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n clusterName: string,\n parameters: Cluster,\n options?: RedisEnterpriseCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<RedisEnterpriseCreateResponse>,\n RedisEnterpriseCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<RedisEnterpriseCreateResponse> => {\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: { resourceGroupName, clusterName, parameters, options },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n RedisEnterpriseCreateResponse,\n OperationState<RedisEnterpriseCreateResponse>\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 or updates an existing (overwrite/recreate, with potential downtime) cache cluster\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 parameters Parameters supplied to the Create Redis Enterprise operation.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n clusterName: string,\n parameters: Cluster,\n options?: RedisEnterpriseCreateOptionalParams,\n ): Promise<RedisEnterpriseCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n clusterName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates an existing Redis Enterprise cluster\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 parameters Parameters supplied to the Update Redis Enterprise operation.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n clusterName: string,\n parameters: ClusterUpdate,\n options?: RedisEnterpriseUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<RedisEnterpriseUpdateResponse>,\n RedisEnterpriseUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<RedisEnterpriseUpdateResponse> => {\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: { resourceGroupName, clusterName, parameters, options },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n RedisEnterpriseUpdateResponse,\n OperationState<RedisEnterpriseUpdateResponse>\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 * Updates an existing Redis Enterprise cluster\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 parameters Parameters supplied to the Update Redis Enterprise operation.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n clusterName: string,\n parameters: ClusterUpdate,\n options?: RedisEnterpriseUpdateOptionalParams,\n ): Promise<RedisEnterpriseUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n clusterName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a Redis Enterprise cache cluster.\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 options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n clusterName: string,\n options?: RedisEnterpriseDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\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: { resourceGroupName, clusterName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(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 Redis Enterprise cache cluster.\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 options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n clusterName: string,\n options?: RedisEnterpriseDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n clusterName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets information about a Redis Enterprise cluster\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 options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterName: string,\n options?: RedisEnterpriseGetOptionalParams,\n ): Promise<RedisEnterpriseGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Lists all Redis Enterprise clusters in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: RedisEnterpriseListByResourceGroupOptionalParams,\n ): Promise<RedisEnterpriseListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Lists all Redis Enterprise clusters in the specified subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: RedisEnterpriseListOptionalParams,\n ): Promise<RedisEnterpriseListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Lists the available SKUs for scaling the Redis Enterprise cluster.\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 options The options parameters.\n */\n listSkusForScaling(\n resourceGroupName: string,\n clusterName: string,\n options?: RedisEnterpriseListSkusForScalingOptionalParams,\n ): Promise<RedisEnterpriseListSkusForScalingResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n listSkusForScalingOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: RedisEnterpriseListByResourceGroupNextOptionalParams,\n ): Promise<RedisEnterpriseListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n\n /**\n * ListNext\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 nextLink: string,\n options?: RedisEnterpriseListNextOptionalParams,\n ): Promise<RedisEnterpriseListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Cluster,\n },\n 201: {\n bodyMapper: Mappers.Cluster,\n },\n 202: {\n bodyMapper: Mappers.Cluster,\n },\n 204: {\n bodyMapper: Mappers.Cluster,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Cluster,\n },\n 201: {\n bodyMapper: Mappers.Cluster,\n },\n 202: {\n bodyMapper: Mappers.Cluster,\n },\n 204: {\n bodyMapper: Mappers.Cluster,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\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 ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Cluster,\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 ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ClusterList,\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 ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Cache/redisEnterprise\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ClusterList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSkusForScalingOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/listSkusForScaling\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SkuDetailsList,\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 ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ClusterList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\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.ClusterList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"redisEnterprise.js","sourceRoot":"","sources":["../../../src/operations/redisEnterprise.ts"],"names":[],"mappings":";AA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T,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;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;KAC7B;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,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,cAAc,CAAC;IACjF,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { RedisEnterprise } 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 type { RedisEnterpriseManagementClient } from \"../redisEnterpriseManagementClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n Cluster,\n RedisEnterpriseListByResourceGroupNextOptionalParams,\n RedisEnterpriseListByResourceGroupOptionalParams,\n RedisEnterpriseListByResourceGroupResponse,\n RedisEnterpriseListNextOptionalParams,\n RedisEnterpriseListOptionalParams,\n RedisEnterpriseListResponse,\n RedisEnterpriseCreateOptionalParams,\n RedisEnterpriseCreateResponse,\n ClusterUpdate,\n RedisEnterpriseUpdateOptionalParams,\n RedisEnterpriseUpdateResponse,\n RedisEnterpriseDeleteOptionalParams,\n RedisEnterpriseGetOptionalParams,\n RedisEnterpriseGetResponse,\n RedisEnterpriseListSkusForScalingOptionalParams,\n RedisEnterpriseListSkusForScalingResponse,\n RedisEnterpriseListByResourceGroupNextResponse,\n RedisEnterpriseListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing RedisEnterprise operations. */\nexport class RedisEnterpriseImpl implements RedisEnterprise {\n private readonly client: RedisEnterpriseManagementClient;\n\n /**\n * Initialize a new instance of the class RedisEnterprise class.\n * @param client Reference to the service client\n */\n constructor(client: RedisEnterpriseManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all Redis Enterprise clusters in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: RedisEnterpriseListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<Cluster> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\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.listByResourceGroupPagingPage(resourceGroupName, options, settings);\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: RedisEnterpriseListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Cluster[]> {\n let result: RedisEnterpriseListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: RedisEnterpriseListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<Cluster> {\n for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all Redis Enterprise clusters in the specified subscription.\n * @param options The options parameters.\n */\n public list(options?: RedisEnterpriseListOptionalParams): PagedAsyncIterableIterator<Cluster> {\n const iter = this.listPagingAll(options);\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(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: RedisEnterpriseListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Cluster[]> {\n let result: RedisEnterpriseListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: RedisEnterpriseListOptionalParams,\n ): AsyncIterableIterator<Cluster> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster\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 parameters Parameters supplied to the Create Redis Enterprise operation.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n clusterName: string,\n parameters: Cluster,\n options?: RedisEnterpriseCreateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<RedisEnterpriseCreateResponse>, RedisEnterpriseCreateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<RedisEnterpriseCreateResponse> => {\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 = 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: { resourceGroupName, clusterName, parameters, options },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n RedisEnterpriseCreateResponse,\n OperationState<RedisEnterpriseCreateResponse>\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 or updates an existing (overwrite/recreate, with potential downtime) cache cluster\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 parameters Parameters supplied to the Create Redis Enterprise operation.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n clusterName: string,\n parameters: Cluster,\n options?: RedisEnterpriseCreateOptionalParams,\n ): Promise<RedisEnterpriseCreateResponse> {\n const poller = await this.beginCreate(resourceGroupName, clusterName, parameters, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Updates an existing Redis Enterprise cluster\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 parameters Parameters supplied to the Update Redis Enterprise operation.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n clusterName: string,\n parameters: ClusterUpdate,\n options?: RedisEnterpriseUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<RedisEnterpriseUpdateResponse>, RedisEnterpriseUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<RedisEnterpriseUpdateResponse> => {\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 = 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: { resourceGroupName, clusterName, parameters, options },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n RedisEnterpriseUpdateResponse,\n OperationState<RedisEnterpriseUpdateResponse>\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 * Updates an existing Redis Enterprise cluster\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 parameters Parameters supplied to the Update Redis Enterprise operation.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n clusterName: string,\n parameters: ClusterUpdate,\n options?: RedisEnterpriseUpdateOptionalParams,\n ): Promise<RedisEnterpriseUpdateResponse> {\n const poller = await this.beginUpdate(resourceGroupName, clusterName, parameters, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a Redis Enterprise cache cluster.\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 options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n clusterName: string,\n options?: RedisEnterpriseDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\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 = 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: { resourceGroupName, clusterName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(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 Redis Enterprise cache cluster.\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 options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n clusterName: string,\n options?: RedisEnterpriseDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, clusterName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Gets information about a Redis Enterprise cluster\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 options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterName: string,\n options?: RedisEnterpriseGetOptionalParams,\n ): Promise<RedisEnterpriseGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Lists all Redis Enterprise clusters in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: RedisEnterpriseListByResourceGroupOptionalParams,\n ): Promise<RedisEnterpriseListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Lists all Redis Enterprise clusters in the specified subscription.\n * @param options The options parameters.\n */\n private _list(options?: RedisEnterpriseListOptionalParams): Promise<RedisEnterpriseListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Lists the available SKUs for scaling the Redis Enterprise cluster.\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 options The options parameters.\n */\n listSkusForScaling(\n resourceGroupName: string,\n clusterName: string,\n options?: RedisEnterpriseListSkusForScalingOptionalParams,\n ): Promise<RedisEnterpriseListSkusForScalingResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n listSkusForScalingOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: RedisEnterpriseListByResourceGroupNextOptionalParams,\n ): Promise<RedisEnterpriseListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n\n /**\n * ListNext\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 nextLink: string,\n options?: RedisEnterpriseListNextOptionalParams,\n ): Promise<RedisEnterpriseListNextResponse> {\n return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Cluster,\n },\n 201: {\n bodyMapper: Mappers.Cluster,\n },\n 202: {\n bodyMapper: Mappers.Cluster,\n },\n 204: {\n bodyMapper: Mappers.Cluster,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Cluster,\n },\n 201: {\n bodyMapper: Mappers.Cluster,\n },\n 202: {\n bodyMapper: Mappers.Cluster,\n },\n 204: {\n bodyMapper: Mappers.Cluster,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\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 ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Cluster,\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 ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ClusterList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Cache/redisEnterprise\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ClusterList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSkusForScalingOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/listSkusForScaling\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SkuDetailsList,\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 ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ClusterList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\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.ClusterList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
-
import { AccessPolicyAssignment, AccessPolicyAssignmentListOptionalParams, AccessPolicyAssignmentCreateUpdateOptionalParams, AccessPolicyAssignmentCreateUpdateResponse, AccessPolicyAssignmentGetOptionalParams, AccessPolicyAssignmentGetResponse, AccessPolicyAssignmentDeleteOptionalParams, AccessPolicyAssignmentDeleteResponse } from "../models/index.js";
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
+
import type { AccessPolicyAssignment, AccessPolicyAssignmentListOptionalParams, AccessPolicyAssignmentCreateUpdateOptionalParams, AccessPolicyAssignmentCreateUpdateResponse, AccessPolicyAssignmentGetOptionalParams, AccessPolicyAssignmentGetResponse, AccessPolicyAssignmentDeleteOptionalParams, AccessPolicyAssignmentDeleteResponse } from "../models/index.js";
|
|
4
4
|
/** Interface representing a AccessPolicyAssignmentOperations. */
|
|
5
5
|
export interface AccessPolicyAssignmentOperations {
|
|
6
6
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accessPolicyAssignmentOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/accessPolicyAssignmentOperations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"accessPolicyAssignmentOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/accessPolicyAssignmentOperations.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,KAAK,EACV,sBAAsB,EACtB,wCAAwC,EACxC,gDAAgD,EAChD,0CAA0C,EAC1C,uCAAuC,EACvC,iCAAiC,EACjC,0CAA0C,EAC1C,oCAAoC,EACrC,MAAM,oBAAoB,CAAC;AAG5B,iEAAiE;AACjE,MAAM,WAAW,gCAAgC;IAC/C;;;;;;;;OAQG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,sBAAsB,CAAC,CAAC;IACtD;;;;;;;;;;;OAWG;IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,0BAA0B,EAAE,MAAM,EAClC,UAAU,EAAE,sBAAsB,EAClC,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,0CAA0C,CAAC,EAC1D,0CAA0C,CAC3C,CACF,CAAC;IACF;;;;;;;;;;;OAWG;IACH,wBAAwB,CACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,0BAA0B,EAAE,MAAM,EAClC,UAAU,EAAE,sBAAsB,EAClC,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC,CAAC;IACvD;;;;;;;;;;OAUG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,0BAA0B,EAAE,MAAM,EAClC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC9C;;;;;;;;;;OAUG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,0BAA0B,EAAE,MAAM,EAClC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,oCAAoC,CAAC,EACpD,oCAAoC,CACrC,CACF,CAAC;IACF;;;;;;;;;;OAUG;IACH,kBAAkB,CAChB,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,CAAC;CAClD"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
9
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
5
|
//# sourceMappingURL=accessPolicyAssignmentOperations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accessPolicyAssignmentOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/accessPolicyAssignmentOperations.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"accessPolicyAssignmentOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/accessPolicyAssignmentOperations.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport type {\n AccessPolicyAssignment,\n AccessPolicyAssignmentListOptionalParams,\n AccessPolicyAssignmentCreateUpdateOptionalParams,\n AccessPolicyAssignmentCreateUpdateResponse,\n AccessPolicyAssignmentGetOptionalParams,\n AccessPolicyAssignmentGetResponse,\n AccessPolicyAssignmentDeleteOptionalParams,\n AccessPolicyAssignmentDeleteResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AccessPolicyAssignmentOperations. */\nexport interface AccessPolicyAssignmentOperations {\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 list(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n options?: AccessPolicyAssignmentListOptionalParams,\n ): PagedAsyncIterableIterator<AccessPolicyAssignment>;\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 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 /**\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 beginCreateUpdateAndWait(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n accessPolicyAssignmentName: string,\n parameters: AccessPolicyAssignment,\n options?: AccessPolicyAssignmentCreateUpdateOptionalParams,\n ): Promise<AccessPolicyAssignmentCreateUpdateResponse>;\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 /**\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 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 /**\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 beginDeleteAndWait(\n resourceGroupName: string,\n clusterName: string,\n databaseName: string,\n accessPolicyAssignmentName: string,\n options?: AccessPolicyAssignmentDeleteOptionalParams,\n ): Promise<AccessPolicyAssignmentDeleteResponse>;\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
-
import { Database, DatabasesListByClusterOptionalParams, DatabasesCreateOptionalParams, DatabasesCreateResponse, DatabaseUpdate, DatabasesUpdateOptionalParams, DatabasesUpdateResponse, DatabasesGetOptionalParams, DatabasesGetResponse, DatabasesDeleteOptionalParams, DatabasesListKeysOptionalParams, DatabasesListKeysResponse, RegenerateKeyParameters, DatabasesRegenerateKeyOptionalParams, DatabasesRegenerateKeyResponse, ImportClusterParameters, DatabasesImportOptionalParams, ExportClusterParameters, DatabasesExportOptionalParams, ForceUnlinkParameters, DatabasesForceUnlinkOptionalParams, ForceLinkParameters, DatabasesForceLinkToReplicationGroupOptionalParams, DatabasesForceLinkToReplicationGroupResponse, DatabasesFlushOptionalParams, DatabasesUpgradeDBRedisVersionOptionalParams, DatabasesUpgradeDBRedisVersionResponse } from "../models/index.js";
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
+
import type { Database, DatabasesListByClusterOptionalParams, DatabasesCreateOptionalParams, DatabasesCreateResponse, DatabaseUpdate, DatabasesUpdateOptionalParams, DatabasesUpdateResponse, DatabasesGetOptionalParams, DatabasesGetResponse, DatabasesDeleteOptionalParams, DatabasesListKeysOptionalParams, DatabasesListKeysResponse, RegenerateKeyParameters, DatabasesRegenerateKeyOptionalParams, DatabasesRegenerateKeyResponse, ImportClusterParameters, DatabasesImportOptionalParams, ExportClusterParameters, DatabasesExportOptionalParams, ForceUnlinkParameters, DatabasesForceUnlinkOptionalParams, ForceLinkParameters, DatabasesForceLinkToReplicationGroupOptionalParams, DatabasesForceLinkToReplicationGroupResponse, DatabasesFlushOptionalParams, DatabasesUpgradeDBRedisVersionOptionalParams, DatabasesUpgradeDBRedisVersionResponse } from "../models/index.js";
|
|
4
4
|
/** Interface representing a Databases. */
|
|
5
5
|
export interface Databases {
|
|
6
6
|
/**
|