- 文档首页
云原生消息引擎
BMQ 实例用户指南
API 参考
实例连接管理
ListAvailableSecurityGroupsForBMQ - 获取对 BMQ 可用的安全组列表
实例连接管理
ListAvailableSecurityGroupsForBMQ - 获取对 BMQ 可用的安全组列表
ListAvailableSecurityGroupsForBMQ - 获取对 BMQ 可用的安全组列表
调用 ListAvailableSecurityGroupsForBMQ 接口,获取对 BMQ 可用的安全组列表。
调试
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
请求参数
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。 Action string 必选 示例值:ListAvailableSecurityGroupsForBMQ
要执行的操作,取值:ListAvailableSecurityGroupsForBMQ。
Version string 必选 示例值:2023-06-01
API的版本,取值:2023-06-01。
VpcId string 可选 示例值:vpc-***7fhegw
VPC ID。
返回参数
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。 Items object[] 示例值:/
数据记录列表。
Type string 示例值:default
安全类型。
VpcId string 示例值:vpc-****
VPC ID。
Description string 示例值:test
安全组描述。
CreationTime string 示例值:2023-06-01T00:00:00
安全组创建时间。
SecurityGroupId string 示例值:sg-****
安全组 ID。
SecurityGroupName string 示例值:just_for_test
安全组名称。
请求示例
POST /?Action=ListAvailableSecurityGroupsForBMQ&Version=2023-06-01 HTTP/1.1
Host: bmq.cn-beijing.volcengineapi.com
Content-Type: application/json; charset=UTF-8
X-Date: 20260211T032448Z
X-Content-Sha256: 287e874e*****d653b44d21e
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20260211/cn-beijing/bmq/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f
返回示例
"RequestId": "2026021111****810681958E5619",
"Action": "ListAvailableSecurityGroupsForBMQ",
"Version": "2023-06-01",
"CreationTime": "2023-06-01T00:00:00",
"SecurityGroupId": "sg-****",
"SecurityGroupName": "just_for_test"
错误码
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
最近更新时间:2026.02.11 11:28:41