查询指定端口映射规则的详细信息。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
Action | String | 是 |
| 接口名称。当前 API 的名称为 |
Version | String | 是 |
| 接口版本。当前 API 的版本为 |
ProductId | String | 是 |
| 云手机业务 ID,可在「云手机控制台-业务管理-业务详情」中获取。 |
PortMappingRuleId | String | 是 |
| 端口映射规则 ID,可通过调用 |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
ProductId | String |
| 业务 ID。 |
PortMappingRuleId | String |
| 端口映射规则 ID。 |
Protocol | String |
| 端口映射的协议类型。 |
SourcePort | Integer |
| 源端口号。 |
TotalPods | Integer |
| 已绑定实例数。 |
Isp | Integer |
| 运营商。取值如下:
|
Direction | String |
| 方向类型。取值如下:
|
CreateAt | Long |
| 创建时间。 |
UpdateTime | Long |
| 更新时间。 |
VolcRegion | String |
| 资源所在的物理区域,包含以下取值:
|
GET https://open.volcengineapi.com?Action=DetailPortMappingRule&Version=2025-05-01&ProductId=1724308507550xxxxxx&PortMappingRuleId=rule01
{ "ResponseMetadata": { "Action": "DetailPortMappingRule", "Region": "cn-north-1", "Service": "ACEP", "Version": "2025-05-01", "RequestId": "20230604110420****100232280022D31" }, "Result": { "ProductId": "16084569356xxxxxxxx", "PortMappingRuleId": "rule01", "Protocol": "tcp", "SourcePort": 6567, "TotalPods": 2, "Isp": 1, "VolcRegion": "inner", "Direction": "Inbound", "CreateAt": 1700102499, "UpdateTime": 1700102499 } }