Call DescribeNamespaces to retrieve project information for an instance.
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 |
Region. |
cn-beijing |
| InstanceId |
string |
Yes |
Order instance ID. |
f-cn-wwo36qj4g06 |
| Namespace |
string |
No |
The name of the project. |
di-590843445844225 |
| Tags |
array<object> |
No |
Tag list. |
|
|
object |
No |
Tag. |
||
| Value |
string |
No |
Tag value. |
test |
| Key |
string |
No |
Tag key. |
Flink |
| PageIndex |
integer |
No |
Page number. |
1 |
| PageSize |
integer |
No |
Number of entries per page. |
10 |
| Ha |
boolean |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
67F33190-946B-1105-B6A1-E2DF0426DD51 |
| Success |
boolean |
Indicates whether the request succeeded. Valid values:
|
true |
| TotalCount |
integer |
Total number of entries. |
5 |
| TotalPage |
integer |
Total number of pages. |
2 |
| PageIndex |
integer |
Current page number. |
1 |
| PageSize |
integer |
Number of entries per page. |
10 |
| Namespaces |
array<object> |
Project list. |
|
|
array<object> |
Project information. |
||
| Status |
string |
Project status. Valid values:
|
SUCCESS |
| GmtCreate |
integer |
Creation time. |
1629879567394 |
| ElasticResourceSpec |
object |
||
| Cpu |
integer |
||
| MemoryGB |
integer |
||
| GmtModified |
integer |
Modification time. |
1629879567394 |
| ResourceSpec |
object |
Resource specification information. |
|
| Cpu |
integer |
Number of CPUs. |
10 |
| MemoryGB |
integer |
Memory size, in GB. |
40 |
| ResourceUsed |
object |
Resources used. |
|
| Cu |
number |
||
| Cpu |
number |
CPU units used. |
2 |
| MemoryGB |
number |
Memory used, in GB. |
4 |
| Ha |
boolean |
||
| GuaranteedResourceSpec |
object |
||
| Cpu |
integer |
||
| MemoryGB |
integer |
||
| Namespace |
string |
The name of the project. |
ns-1 |
| Tags |
array<object> |
Tag list. |
|
|
object |
Tag. |
||
| Value |
string |
Tag value. |
test |
| Key |
string |
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.