Creates a vector namespace.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gpdb:CreateNamespace |
create |
*Namespace
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
No |
The instance ID. Note
You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs. |
gp-bp152460513z**** |
| ManagerAccount |
string |
Yes |
The name of the manager account that has the rds_superuser permission. Note
You can create an account on the Account Management page of the AnalyticDB for PostgreSQL console or by calling the CreateAccount operation. |
testaccount |
| ManagerAccountPassword |
string |
Yes |
The password of the manager account. |
testpassword |
| Namespace |
string |
No |
The name of the namespace. After the namespace is created, the system automatically creates an account that has the same name. Note
The name must comply with the naming conventions of PostgreSQL objects. |
mynamespace |
| NamespacePassword |
string |
Yes |
The password of the namespace. |
testpassword2 |
| RegionId |
string |
Yes |
The region ID of the instance. |
cn-hangzhou |
| WorkspaceId |
string |
No |
The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. You must specify one of the WorkspaceId and DBInstanceId parameters. If you specify both parameters, the WorkspaceId parameter takes effect. |
gp-ws-***** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
ABB39CC3-4488-4857-905D-2E4A051D0521 |
| Message |
string |
The returned message. |
success |
| Status |
string |
Indicates whether the request was successful. Valid values:
|
success |
Examples
Success response
JSON format
{
"RequestId": "ABB39CC3-4488-4857-905D-2E4A051D0521",
"Message": "success",
"Status": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.