查询公网IP详情

1. 接口描述

调用 DescribeEip 接口查询已创建的弹性公网IP详细信息。

2. 请求参数

名称 类型 是否必选 描述
Action String 固定取值:DescribeEip
EipUUID String 弹性公网IP标识

3. 返回数据

名称 类型 说明
EipInfo EipInfo 弹性公网IP信息
RequestId String 请求ID

4. 示例

请求示例

https://openapi.kaopuyun.com/?AccessKeyId=sz0000ei53aw
&Action=DescribeEip
&Format=JSON
&EipUUID=eip-u200000du5gf
&SignatureMethod=HMAC-SHA1
&SignatureNonce=76a5d5e7-0992-462d-9a26-916650eca00f
&SignatureVersion=1.0
&Timestamp=2023-03-09T07%3A33%3A56Z
&Version=2014-05-26
&Signature=LH5UYKO7k%2FeQlyLH3p169uyRKyU%3D

正常返回示例

{
    "RequestId":"cf57f8f0-2000-11eb-82d6-0a22b60a20a8",
    "EipInfo":{
        "AllocationTime":"2020-10-10 17:18:27",
        "EipPendingStatus":"NONE",
        "FlowPacketUUIDs":[
        ],
        "RegionCode":"demo-1",
        "InstanceChargeType":"POST_PAID",
        "Bandwidth":1,
        "EipStatus":"AVAILABLE",
        "EipAddress":"45.126.112.90",
        "EipUUID":"eip-np00000d30y9",
        "ExpirationTime":"2020-11-09 23:59:59"
    }
}

5. 错误码

错误码 错误信息
AvailableEipNotFound 可用的公网IP未找到
EipHasDeleted 公网IP已删除
NoOperationAuthority 无操作权限
DescribeEipFail 查询公网IP详情失败:xxx
kaopuyun all right reserved,powered by GitbookUpdated Time: 2024-10-09 06:22:14

results matching ""

    No results matching ""