This API is used to list details of a specific queue in a project.
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 |
Specifies the name of a queue to be queried. NOTE:
The queue name is case-insensitive. The uppercase letters will be automatically converted to lowercase letters. |
None
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
is_success |
No |
Boolean |
Indicates whether the request is successfully executed. true indicates that the request is successfully executed. |
message |
No |
String |
System prompt. If the execution succeeds, this parameter may be left blank. |
queueName |
No |
String |
Queue name. NOTE:
The queue name is case-insensitive. The uppercase letters will be automatically converted to lowercase letters. |
description |
No |
String |
Queue description. |
owner |
No |
String |
User who creates a queue. |
create_time |
No |
Long |
Time when the queue is created. The timestamp is in milliseconds. |
queueType |
No |
String |
Queue type. Options:
If this parameter is not specified, the default value sql is used. |
cuCount |
No |
Integer |
Number of compute units (CUs) bound to a queue, that is, the number of CUs in the current queue. |
resource_id |
No |
String |
Resource ID of a queue. |
resource_mode |
No |
Integer |
Resource mode
|
enterprise_project_id |
No |
String |
Enterprise project ID. 0 indicates the default enterprise project. NOTE:
Users who have enabled Enterprise Management can set this parameter to bind a specified project. |
cu_spec |
No |
Integer |
Specifications of a queue. |
cu_scale_out_limit |
No |
Integer |
Upper limit of the CU value for elastic scaling of the current queue. |
cu_scale_in_limit |
No |
Integer |
Lower limit of the CU value for elastic scaling of the current queue. |
elastic_resource_pool_name |
No |
String |
Name of the elastic resource pool. |
support_spark_versions |
No |
Array[String] |
Spark version supported by the queue |
default_spark_version |
No |
String |
Default Spark version of the queue |
support_hetu_engine_versions |
No |
Array[String] |
HetuEngine version supported by the queue |
default_hetu_engine_version |
No |
String |
Default HetuEngine version of the queue |
support_flink_sql_versions |
No |
Array[String] |
Flink SQL version supported by the queue |
default_flink_sql_version |
No |
String |
Default Flink SQL version of the queue |
support_flink_jar_versions |
No |
Array[String] |
Flink Jar version supported by the queue |
default_flink_jar_version |
No |
String |
Default Flink Jar version of the queue |
None
{
"is_success": true,
"message": "",
"owner": "testuser",
"description": "",
"queueName": "test",
"create_time": 1587613028851,
"queueType": "general",
"cuCount": 16,
"resource_id": "03d51b88-db63-4611-b779-9a72ba0cf58b",
"resource_mode": 0
,
"resource_type": "vm",
"cu_spec": 16
}
Table 3 describes status codes.
If an error occurs when this API is called, the system does not return the result similar to the preceding example, but returns an error code and error message. For details, see Error Codes.