检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
vpc_id String 是 租户VPC ID。 security_group_id String 是 租户安全组ID。 subnet_id String 是 子网ID。
message = new String(body,StandardCharsets.UTF_8); //手动响应 channel.basicAck(envelope.getDeliveryTag(),false);
instance_id 是 String 实例ID vhost 是 String Vhost名称 请求参数 表2 请求Body参数 参数 是否必选 参数类型 描述 name 是 String Queue名称 auto_delete 是 Boolean 是否自动删除 durable
name String 任务名称。 user_name String 用户名。 user_id String 用户ID。 params String 任务参数。 status String 任务状态。 created_at String 启动时间。
properties, byte[] body) throws IOException { String message = new String(body, StandardCharsets.UTF_8); System.out.println
volume_type String 磁盘类型。 表7 Monthly 参数 参数类型 描述 name String 消息引擎的名称,该字段显示为rabbitmq。 version String 消息引擎的版本。
表1 参数说明 参数 类型 必选 说明 project_id String 是 项目ID。 engine String 否 rabbitmq,参数缺失查询所有实例。 name String 否 实例名称。 id String 否 实例ID。
type String 实例类型:集群,cluster。 product_id String 产品标识。 security_group_id String 安全组ID。 security_group_name String 租户安全组名称。
type String 实例类型:集群,cluster。 product_id String 产品标识。 security_group_id String 安全组ID。 security_group_name String 租户安全组名称。
表2 参数说明 参数 类型 说明 name String 实例名称。 engine String 消息引擎。 engine_version String 消息引擎版本。 specification String 实例规格。 RabbitMQ实例单机返回vm规格。
表4 ListEngineProductsEntity 参数 参数类型 描述 type String 产品类型。当前产品类型有单机和集群。 product_id String 产品ID。 ecs_flavor_id String 底层资源类型。
type String 实例类型:集群,cluster。 product_id String 产品标识。 security_group_id String 安全组ID。 security_group_name String 租户安全组名称。
表3 instance_ids 参数 参数类型 描述 name String 实例ID。 表4 nodes 参数 参数类型 描述 name String 节点名称。 表5 queues 参数 参数类型 描述 name String topic名称。
instance_id 是 String 实例ID vhost 是 String 所属Vhost名称 queue 是 String Queue名称 请求参数 无 响应参数 状态码:200 表2 响应Body参数 参数 参数类型 描述 vhost String Queue所属Vhost
表7 queues 参数 参数类型 描述 name String Queue名称。 vhost String 对应的Vhost。 表8 vhosts 参数 参数类型 描述 name String Vhost名称。
public class ConsistentHashExchangeExample2 { public static final String EXCHANGE = "e2"; private static String EXCHANGE_TYPE = "x-consistent-hash
表3 tasks 参数 参数类型 描述 id String 任务ID。 name String 任务名称。 user_name String 用户名。 user_id String 用户ID。 params String 任务参数。 status String 任务状态。
max_connection_per_broker String 最大连接数 step_length String 步长 product_alias String product_id的别名。
enterprise_project_id String 否 企业项目ID。
code String 可用区编码。 name String 可用区名称。 port String 可用区端口号。 resource_availability String 分区上是否还有可用资源。 true:还有资源。 false:资源已售罄。