- 文档首页
NAT网关
API参考
SNAT规则
DescribeSnatEntryAttributes - 查看SNAT规则详情
SNAT规则
DescribeSnatEntryAttributes - 查看SNAT规则详情
DescribeSnatEntryAttributes - 查看SNAT规则详情
调用 DescribeSnatEntryAttributes 接口,查看SNAT规则的详情。
调试
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
请求参数
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。 Action string 必选 示例值:DescribeSnatEntryAttributes
要执行的操作,取值:DescribeSnatEntryAttributes。
Version string 必选 示例值:2020-04-01
API的版本,取值:2020-04-01。
SnatEntryId string 必选 示例值:snat-342abc3bc3****
SNAT规则的ID。
返回参数
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。 SourceCidr string 示例值:192.XX.XX.0/24
SNAT规则对应的网段。
SubnetId string 示例值:subnet-6o5smt1b9****
SNAT规则关联子网的ID。
SnatEntryName string 示例值:snat-test
SNAT规则的名称。
SnatEntryId string 示例值:snat-3fvhk47kf56****
SNAT规则的ID。
RequestId string 示例值:2021062415303301022514515207C4****
请求ID。
NatGatewayId string 示例值:ngw-1sm2t10buei****
SNAT规则所属NAT网关的ID。
EipId string 示例值:eip-12af342dca34****,eip-12af342dca35****
SNAT规则关联的公网IP的ID。
EipAddress string 示例值:180.XX.XX.195,180.XX.XX.196
SNAT规则关联的公网IP的IP地址。
Status string 示例值:Available
SNAT规则的状态。
NatIpId string 示例值:vpcnatip-gw8y7q3cpk3fggs8****
私网NAT网关的中转IP的ID。
请求示例
GET /?Action=DescribeSnatEntryAttributes&Version=2020-04-01&SnatEntryId=snat-2fedi096gdiww59gp680**** HTTP/1.1
Host: natgateway.cn-beijing.volcengineapi.com
返回示例
"RequestId": "2021062415303301022514515207C4****",
"Action": "DescribeSnatEntryAttributes",
"Version": "2020-04-01",
"Service": "natgateway",
"RequestId": "2021062415303301022514515207C4****",
"NatGatewayId": "ngw-2feq5xhimd88w59gp686****",
"SnatEntryId": "snat-2fedi096gdiww59gp680r****",
"SnatEntryName": "snat-01",
"SubnetId": "subnet-2fe1vf6cq44cg59gp687k****",
"SourceCidr": "192.XX.XX.0/24",
"EipId": "eip-2feq2yc0hcv0g59gp680w****",
"EipAddress": "180.XX.XX.195",
错误码
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
最近更新时间:2025.08.21 10:11:17