lib/v20170312/models.rb in tencentcloud-sdk-vpc-3.0.690 vs lib/v20170312/models.rb in tencentcloud-sdk-vpc-3.0.691

- old
+ new

@@ -1562,11 +1562,11 @@ class BandwidthPackage < TencentCloud::Common::AbstractModel # @param BandwidthPackageId: 带宽包唯一标识Id # @type BandwidthPackageId: String # @param NetworkType: 带宽包类型,包括'BGP','SINGLEISP','ANYCAST','SINGLEISP_CMCC','SINGLEISP_CTCC','SINGLEISP_CUCC' # @type NetworkType: String - # @param ChargeType: 带宽包计费类型,包括'TOP5_POSTPAID_BY_MONTH'和'PERCENT95_POSTPAID_BY_MONTH' + # @param ChargeType: 带宽包计费类型,包括:<li>'TOP5_POSTPAID_BY_MONTH':按月后付费TOP5计费</li><li> 'PERCENT95_POSTPAID_BY_MONTH':按月后付费月95计费</li><li>'ENHANCED95_POSTPAID_BY_MONTH':按月后付费增强型95计费</li><li>'FIXED_PREPAID_BY_MONTH':包月预付费计费</li><li>‘PEAK_BANDWIDTH_POSTPAID_BY_DAY’: 后付费日结按带宽计费</li> # @type ChargeType: String # @param BandwidthPackageName: 带宽包名称 # @type BandwidthPackageName: String # @param CreatedTime: 带宽包创建时间。按照`ISO8601`标准表示,并且使用`UTC`时间。格式为:`YYYY-MM-DDThh:mm:ssZ`。 # @type CreatedTime: String @@ -1577,23 +1577,27 @@ # @param Bandwidth: 带宽包限速大小。单位:Mbps,-1表示不限速。 # @type Bandwidth: Integer # @param Egress: 网络出口 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Egress: String + # @param Deadline: 带宽包到期时间,只有预付费会返回,按量计费返回为null + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type Deadline: String - attr_accessor :BandwidthPackageId, :NetworkType, :ChargeType, :BandwidthPackageName, :CreatedTime, :Status, :ResourceSet, :Bandwidth, :Egress + attr_accessor :BandwidthPackageId, :NetworkType, :ChargeType, :BandwidthPackageName, :CreatedTime, :Status, :ResourceSet, :Bandwidth, :Egress, :Deadline - def initialize(bandwidthpackageid=nil, networktype=nil, chargetype=nil, bandwidthpackagename=nil, createdtime=nil, status=nil, resourceset=nil, bandwidth=nil, egress=nil) + def initialize(bandwidthpackageid=nil, networktype=nil, chargetype=nil, bandwidthpackagename=nil, createdtime=nil, status=nil, resourceset=nil, bandwidth=nil, egress=nil, deadline=nil) @BandwidthPackageId = bandwidthpackageid @NetworkType = networktype @ChargeType = chargetype @BandwidthPackageName = bandwidthpackagename @CreatedTime = createdtime @Status = status @ResourceSet = resourceset @Bandwidth = bandwidth @Egress = egress + @Deadline = deadline end def deserialize(params) @BandwidthPackageId = params['BandwidthPackageId'] @NetworkType = params['NetworkType'] @@ -1609,10 +1613,11 @@ @ResourceSet << resource_tmp end end @Bandwidth = params['Bandwidth'] @Egress = params['Egress'] + @Deadline = params['Deadline'] end end # 后付费共享带宽包的当前计费用量 class BandwidthPackageBillBandwidth < TencentCloud::Common::AbstractModel @@ -7516,10 +7521,10 @@ # @type BandwidthPackageIds: Array # @param Filters: 每次请求的`Filters`的上限为10。参数不支持同时指定`BandwidthPackageIds`和`Filters`。详细的过滤条件如下: # <li> bandwidth-package_id - String - 是否必填:否 - (过滤条件)按照带宽包的唯一标识ID过滤。</li> # <li> bandwidth-package-name - String - 是否必填:否 - (过滤条件)按照 带宽包名称过滤。不支持模糊过滤。</li> # <li> network-type - String - 是否必填:否 - (过滤条件)按照带宽包的类型过滤。类型包括'HIGH_QUALITY_BGP','BGP','SINGLEISP'和'ANYCAST'。</li> - # <li> charge-type - String - 是否必填:否 - (过滤条件)按照带宽包的计费类型过滤。计费类型包括'TOP5_POSTPAID_BY_MONTH'和'PERCENT95_POSTPAID_BY_MONTH'。</li> + # <li> charge-type - String - 是否必填:否 - (过滤条件)按照带宽包的计费类型过滤。计费类型包括: <li>'TOP5_POSTPAID_BY_MONTH':按月后付费TOP5计费</li><li> 'PERCENT95_POSTPAID_BY_MONTH':按月后付费月95计费</li><li>'ENHANCED95_POSTPAID_BY_MONTH':按月后付费增强型95计费</li><li>'FIXED_PREPAID_BY_MONTH':包月预付费计费</li><li>‘PEAK_BANDWIDTH_POSTPAID_BY_DAY’: 后付费日结按带宽计费</li> # <li> resource.resource-type - String - 是否必填:否 - (过滤条件)按照带宽包资源类型过滤。资源类型包括'Address'和'LoadBalance'</li> # <li> resource.resource-id - String - 是否必填:否 - (过滤条件)按照带宽包资源Id过滤。资源Id形如'eip-xxxx','lb-xxxx'</li> # <li> resource.address-ip - String - 是否必填:否 - (过滤条件)按照带宽包资源Ip过滤。</li> # <li> tag-key - String - 是否必填:否 - (过滤条件)按照标签键进行过滤。</li> # <li> tag-value - String - 是否必填:否 - (过滤条件)按照标签值进行过滤。</li>