Retrieves a list of namespaces.
Operation description
Add the following dependency to your pom.xml file before you call this operation:
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-schedulerx2</artifactId>
<version>1.0.5</version>
</dependency>
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ReadSchedulerxNamespaceQuery |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| NamespaceName |
string |
No |
The name of the namespace. |
schedulerx-dev |
| Namespace |
string |
No |
The namespace ID. |
adcfc35d-e2fe-4fe9-bbaa-20e90ffc**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The HTTP status code. |
200 |
| Message |
string |
The response message. |
message |
| RequestId |
string |
The request ID. |
71BCC0E3-64B2-4B63-A870-AFB64EBCB58C |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
object |
The information about the namespaces. |
|
| Namespaces |
array<object> |
The namespaces and their details. |
|
|
object |
|||
| Name |
string |
The name of the namespace. |
doc |
| Description |
string |
The description of the namespace. |
test |
| UId |
string |
The namespace ID. |
1a72ecb1-b4cc-400a-a71b-20cdec9b**** |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "message",
"RequestId": "71BCC0E3-64B2-4B63-A870-AFB64EBCB58C",
"Success": true,
"Data": {
"Namespaces": [
{
"Name": "doc",
"Description": "test",
"UId": "1a72ecb1-b4cc-400a-a71b-20cdec9b****"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.