Enables the dataset management service for a cold storage instance.
Operation description
Instructions to invoke: prerequisites section: Specifies the resource type that DBClusterId must point to, the API used to create the resource, the ID format requirements, and the relationship and Scenarios of RelativeDBClusterId and DBClusterId.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:EnableAIDBClusterDatasetService |
create |
*AICluster
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-beijing |
| DBClusterId |
string |
No |
The PolarFS cold storage instance ID to attach to the dataset management service. Instructions to invoke: Note: This parameter is actually required. If it is not provided, the API returns InvalidDBClusterId.Malformed (400). Instructions to invoke: Valid ID format description: Specifies the accepted prefix families (such as pcs-xxx), separator conventions (hyphen vs. underscore character), and the corresponding resource types. |
pcs-2ze26*** |
| RelativeDBClusterId |
string |
No |
The database instance ID to attach to the dataset management service. |
pc-2ze88*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
{} |
|
| DBClusterId |
string |
The dataset management service instance ID. |
pcs-2ze26*** |
| RequestId |
string |
The request ID. |
C890995A-CF06-4F4D-8DB8-DD26C2****** |
Examples
Success response
JSON format
{
"DBClusterId": "pcs-2ze26***\n",
"RequestId": "C890995A-CF06-4F4D-8DB8-DD26C2******"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.