{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"AMQPQueueDetails":{"properties":{"arguments":{"$ref":"#/definitions/QueueArguments"},"auto_delete":{"description":"**参数解释**:\nQueue是否开启自动删除。\n**取值范围**:\n- true:开启自动删除。\n- false:未开启自动删除。","type":"boolean"},"consumer_details":{"description":"**参数解释**:\n订阅该Queue的消费者信息。","items":{"$ref":"#/definitions/ConsumerDetails"},"type":"array"},"consumers":{"description":"**参数解释**:\n连接的消费者数。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"},"durable":{"description":"**参数解释**:\nQueue是否开启持久化。\n**取值范围**:\n- true:开启持久化。\n- false:未开启持久化。","type":"boolean"},"messages":{"description":"**参数解释**:\n待消费消息数。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"},"name":{"description":"**参数解释**:\nQueue名称。\n**取值范围**:\n不涉及。","type":"string"},"policy":{"description":"**参数解释**:\n策略(AMQP版本不支持policy,不涉及此参数)。\n**取值范围**:\n不涉及。","type":"string"},"queue_bindings":{"description":"**参数解释**:\n以此Queue为目标的绑定信息列表。","items":{"$ref":"#/definitions/BindingsDetails"},"type":"array"},"vhost":{"description":"**参数解释**:\nQueue所属Vhost名称。\n**取值范围**:\n不涉及。","type":"string"}},"type":"object"},"BindingsDetails":{"properties":{"destination":{"description":"**参数解释**:\n绑定目标。\n**取值范围**:\n不涉及。","type":"string"},"destination_type":{"description":"**参数解释**:\n绑定目标的类型。\n**取值范围**:\n- exchange:交换机。\n- queue:队列。","type":"string"},"properties_key":{"description":"**参数解释**:\n经过URL转译后routing_key。\n**取值范围**:\n不涉及。","type":"string"},"routing_key":{"description":"**参数解释**:\n绑定键值。\n**取值范围**:\n不涉及。","type":"string"},"source":{"description":"**参数解释**:\nExchange名称。\n**取值范围**:\n不涉及。","type":"string"}},"type":"object"},"ChannelDetails":{"example":{"connection_name":"10.58.235.253:63333 -> 192.168.120.183:5672","name":"10.58.235.253:63333 -> 192.168.120.183:5672 (1)","number":1,"peer_host":"10.58.235.253","peer_port":63333,"user":null},"properties":{"connection_name":{"description":"**参数解释**:\nconnection信息,包括客户端IP:Port到服务端IP:Port。\n**取值范围**:\n不涉及。","type":"string"},"name":{"description":"**参数解释**:\nchannel信息,包括客户端IP:Port到服务端IP:Port(channel_id)。\n**取值范围**:\n不涉及。","type":"string"},"number":{"description":"**参数解释**:\nchannel数量。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"},"peer_host":{"description":"**参数解释**:\n连接的消费者IP。\n**取值范围**:\n不涉及。","type":"string"},"peer_port":{"description":"**参数解释**:\n连接的消费者进程端口号。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"},"user":{"description":"**参数解释**:\n消费者用户名,在开启ACL访问控制后返回真实用户名,未开启ACL时返回null。\n**取值范围**:\n不涉及。","type":"string"}},"type":"object"},"ConsumerDetails":{"properties":{"ack_required":{"description":"**参数解释**:\n消费者客户端是否设置手动ack。\n**取值范围**:\n- true:设置手动ack。\n- false:不设置手动ack。","type":"boolean"},"channel_details":{"$ref":"#/definitions/ChannelDetails","description":"**参数解释**:\n消费者连接信息。\n**取值范围**:\n不涉及。"},"consumer_tag":{"description":"**参数解释**:\n消费者标识。\n**取值范围**:\n不涉及。","type":"string"},"prefetch_count":{"description":"**参数解释**:\n消费者客户端预取值。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"}},"type":"object"},"QueueArguments":{"description":"**参数解释**:\nQueue参数,如果未配置则不返回。","properties":{"x-dead-letter-exchange":{"description":"**参数解释**:\n死信Exchange名称,消息被拒绝或过期时将重新发布到该Exchange。\n**取值范围**:\n不涉及。","type":"string"},"x-dead-letter-routing-key":{"description":"**参数解释**:\n死信的RoutingKey,死信Exchange会发送死信消息到绑定对应RoutingKey的Queue上。\n**取值范围**:\n不涉及。","type":"string"},"x-message-ttl":{"description":"**参数解释**:\n消息过期时间,发布到Queue的消息在被丢弃之前可以存活多长时间。\n**取值范围**:\n不涉及。","format":"int64","type":"integer"},"x-queue-mode":{"description":"**参数解释**:\n惰性队列(AMQP版本默认持久化所有消息,不涉及此参数)。\n**取值范围**:\n不涉及。","type":"string"}},"type":"object"}},"description":null,"group_id":"01d11699e8074781a7ab0fb1c8d994e7","host":"dms.cn-north-4.myhuaweicloud.com","id":"26dd9d8ac8c541d785251de2e4623b94","info_version":"v2","method":"get","name":"ShowQueueDetails","parameters":{},"paths":{"/v2/rabbitmq/{project_id}/instances/{instance_id}/vhosts/{vhost}/queues/{queue}":{"get":{"description":"查询指定Queue详情。","operationId":"ShowQueueDetails","parameters":[{"description":"**参数解释**:\n项目ID,获取方式请参见[获取项目ID](rabbitmq-api-190611012.xml)。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"path","name":"project_id","required":true,"type":"string"},{"description":"**参数解释**:\n实例ID。获取方法如下:调用[查询所有实例列表](ListInstancesDetails.xml)接口,从响应体中获取实例ID。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"path","name":"instance_id","required":true,"type":"string"},{"description":"**参数解释**:\n Vhost名称。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"path","name":"vhost","required":true,"type":"string"},{"description":"**参数解释**:\n 分页查询偏移量,表示从此偏移量开始查询。\n**约束限制**:\n不涉及。\n**取值范围**:\n大于等于0。\n**默认取值**:\n0。","in":"path","name":"queue","required":true,"type":"string"}],"responses":{"200":{"description":"查询指定Queue详情成功。","examples":{"application/json":{"arguments":{"x-dead-letter-exchange":"dead-exchange-deal","x-dead-letter-routing-key":"dead-ex-routing-key","x-message-ttl":60000,"x-queue-mode":"lazy"},"auto_delete":false,"consumer_details":{"ack_required":true,"channel_details":{"connection_name":"connection_name","name":"channel_name","number":1,"peer_host":"192.128.1.254","peer_port":12345,"user":"root"},"consumer_tag":"tag","prefetch_count":200},"consumers":10,"durable":true,"messages":100,"name":"testQueue","policy":"ttl","queue_bindings":{"destination":"testQueue","destination_type":"queue","properties_key":"info","routing_key":"info","source":"amq.direct"},"vhost":"default"}},"schema":{"$ref":"#/definitions/AMQPQueueDetails"}}},"summary":"查询指定Queue详情","tags":["Queue管理"],"x-api-type":"open-api","x-hybridcloud":false,"x-is-registered":"Y","x-open-region-cloud":"hws,hws_hk,sbc,cmcc,hws_eu,tm,hk_tm,ax,hk_sbc,dt","x-order":5,"x-produc-type":"rabbitmq","x-request-examples-description-1":"查询指定Queue详情","x-request-examples-url-1":"GET https://{endpoint}/v2/rabbitmq/{project_id}/instances/{instance_id}/vhosts/{vhost}/queues?offset=0&limit=10","x-support-sdk":"Y"}}},"product_short":"RabbitMQ","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询指定Queue详情","tags":"Queue管理","uri":null,"version":"2.0"}