Retrieves the Lakebase tenant token (SPG tenant mount URL).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:GetLakebaseTenantToken |
none |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PolarFsInstanceId |
string |
Yes |
The PolarFS instance ID. |
pfs-xxx |
| DBClusterId |
string |
No |
The associated PolarDB instance ID. |
pc-xxx |
| Subdir |
string |
Yes |
The mount subdirectory. Specify an absolute path. |
/home/project/p1 |
| Tenant |
string |
No |
The tenant identifier. |
tenant-xxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
CD35F3-F3-44CA-AFFF-BAF869****** |
| Token |
string |
The tenant token. |
*** |
| Subdir |
string |
The mount subdirectory. |
/home/project |
| Tenant |
string |
The tenant identifier. |
admin |
| Status |
string |
The status. |
ACTIVATION |
| DBClusterId |
string |
The associated PolarDB instance ID. |
pc-xxx |
Examples
Success response
JSON format
{
"RequestId": "CD35F3-F3-44CA-AFFF-BAF869******",
"Token": "***",
"Subdir": "/home/project",
"Tenant": "admin",
"Status": "ACTIVATION",
"DBClusterId": "pc-xxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.