DescribeNamespaces
Queries the namespace information of an instance by calling DescribeNamespaces.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
stream:DescribeVvpNamespaces |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Region |
string |
Yes |
The region. |
cn-beijing |
| InstanceId |
string |
Yes |
The order instance ID. |
f-cn-wwo36qj4g06 |
| Namespace |
string |
No |
The namespace name. |
di-590843445844225 |
| Tags |
array<object> |
No |
The list of tags. |
|
|
object |
No |
The tag. |
||
| Value |
string |
No |
The tag value. |
test |
| Key |
string |
No |
The tag key. |
Flink |
| PageIndex |
integer |
No |
The current page number. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
10 |
| Ha |
boolean |
No |
Specifies whether zone-disaster recovery is enabled. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
67F33190-946B-1105-B6A1-E2DF0426DD51 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| TotalCount |
integer |
The total number of entries. |
5 |
| TotalPage |
integer |
The total number of pages. |
2 |
| PageIndex |
integer |
The current page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
| Namespaces |
array<object> |
The list of namespaces. |
|
|
array<object> |
The namespace information. |
||
| Status |
string |
The namespace status. Valid values:
|
SUCCESS |
| GmtCreate |
integer |
The creation time. |
1629879567394 |
| ElasticResourceSpec |
object |
The elastic resource specifications of the namespace. |
|
| Cpu |
integer |
The maximum CPU limit for pay-as-you-go resources. |
0 |
| MemoryGB |
integer |
The maximum memory limit for pay-as-you-go resources, in GB. |
0 |
| GmtModified |
integer |
The modification time. |
1629879567394 |
| ResourceSpec |
object |
The resource specification information. |
|
| Cpu |
integer |
The number of CPUs. |
10 |
| MemoryGB |
integer |
The memory size. |
40 |
| ResourceUsed |
object |
The resources that have been used. |
|
| Cu |
number |
The number of compute units (CUs) used. |
0 |
| Cpu |
number |
The number of CPUs used. |
2 |
| MemoryGB |
number |
The amount of memory used. |
4 |
| Ha |
boolean |
Indicates whether zone-disaster recovery is enabled for the namespace. |
false |
| GuaranteedResourceSpec |
object |
The subscription resources allocated to the namespace. |
|
| Cpu |
integer |
The number of CPUs for subscription resources. |
0 |
| MemoryGB |
integer |
The memory size for subscription resources, in GB. |
0 |
| Namespace |
string |
The namespace name. |
ns-1 |
| Tags |
array<object> |
The list of tags. |
|
|
object |
The tag. |
||
| Value |
string |
The tag value. |
test |
| Key |
string |
The tag key. |
flink |
Examples
Success response
JSON format
{
"RequestId": "67F33190-946B-1105-B6A1-E2DF0426DD51",
"Success": true,
"TotalCount": 5,
"TotalPage": 2,
"PageIndex": 1,
"PageSize": 10,
"Namespaces": [
{
"Status": "SUCCESS",
"GmtCreate": 1629879567394,
"ElasticResourceSpec": {
"Cpu": 0,
"MemoryGB": 0
},
"GmtModified": 1629879567394,
"ResourceSpec": {
"Cpu": 10,
"MemoryGB": 40
},
"ResourceUsed": {
"Cu": 0,
"Cpu": 2,
"MemoryGB": 4
},
"Ha": false,
"GuaranteedResourceSpec": {
"Cpu": 0,
"MemoryGB": 0
},
"Namespace": "ns-1",
"Tags": [
{
"Value": "test",
"Key": "flink"
}
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.