查询共享带宽详情

1. 接口描述

调用 DescribeBandwidthPackage 接口查询已创建的共享带宽详细信息。

2. 请求参数

名称 类型 是否必选 描述
Action String 固定取值:DescribeBandwidthPackage
BwpUUID String 共享带宽唯一标识

3. 返回数据

名称 类型 说明
RequestId String 请求ID
BandwidthPackageInfo BandwidthPackageInfo 共享带宽详细信息

4. 示例

请求示例

https://openapi.kaopuyun.com/?AccessKeyId=sz0000ei53aw
&Action=DescribeBandwidthPackage
&Format=JSON
&BwpUUID=bwp-rh00000das8i
&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" : "f9d98400-ed4d-11ed-8255-1a3e3b01dbce",
        "BandwidthPackageInfo" : {
            "Status" : "DELETED",
            "RegionCode" : "demo-2",
            "InstanceChargeType" : "HYBRID_PAID",
            "CreateTime" : "2023-03-14 14:33:59",
            "AutoRenew" : "NONE",
            "BwpUUID" : "bwp-ao00000becgp",
            "NetworkMode" : "NORMAL",
            "GuaranteeBandwidth" : 3,
            "PendingStatus" : "NONE",
            "InternetChargeType" : "POST_PAID_MONTH_MAX",
            "BwpIpInfoList" : [],
            "BandwidthProductType" : "EIP",
            "BwpLineType" : "BGP",
            "ExpireTime" : "2023-04-01 00:00:00",
            "BwpName" : "20230314143359002"
        }
    }

5. 错误码

错误码 错误信息
MissingParameter BwpUUID参数不能为空
AvailableBwpNotFound 指定的共享带宽包不存在
NoOperationAuthority 无操作权限
DescribeBandwidthPackageFail 查询共享带宽包详情失败:xxxxxxx
kaopuyun all right reserved,powered by GitbookUpdated Time: 2024-10-09 06:22:14

results matching ""

    No results matching ""