Querying Queue Properties
Function
This API is used to query queue properties.
URI
- URI format
- Parameter descriptions
Table 1 URI parameters Parameter
Mandatory
Type
Description
project_id
Yes
String
Project ID, which is used for resource isolation. For how to obtain a project ID, see Obtaining a Project ID.
queue_name
Yes
String
Name of the queue for which the scheduled CU range is to be modified. The name can contain up to 128 characters. Use commas (,) to separate multiple queue names.
Table 2 Query parameters Parameter
Mandatory
Type
Description
offset
No
Integer
Query result offset. The default value is 0.
limit
No
Integer
Number of records displayed on each page. The default value is 1000.
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
is_success |
Boolean |
Whether the request is successfully executed. true indicates that the request is successfully executed. |
message |
String |
Message content. |
properties |
Array of properties objects |
For details, see Table 4. |
Parameter |
Type |
Description |
---|---|---|
key |
String |
Key corresponding to the returned property value.
Enumerated values:
|
value |
String |
Value corresponding to the returned property value. |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error message. |
Example Request
None
Example Response
{ "message": "ok", "is_success": true, "properties": [ "computeEngine.maxInstance" : 2, "job.maxConcurrent" : 32, "computeEngine.maxPrefetchInstance" : 1 ] }
Status Codes
Table 6 describes the status codes.
Error Codes
If an error occurs when this API is called, an error code and message are returned. For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot