tencentcloud-sdk-vpc 3.0.505 → 3.0.507
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/client.rb +4 -4
- data/lib/v20170312/models.rb +81 -27
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c11e07b9f44c3b279baed4696fe150a5284946e3
|
|
4
|
+
data.tar.gz: 1ecb98fdf52fc274960aad091b43e0f63bb60de0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 71d11f46c860e7488bb38f421ec9484c9e1325d17ae86e16d80d085ac124ae0be443d5c0a2811405131b6f9ce6be96a69aba25f5ad02a4c054c47fcaa9d3327d
|
|
7
|
+
data.tar.gz: 2ceff3cf6047c65abc8dc92449449bbb91377984b3b9aec62fcbb9c16650a470fa9ab1ebdf70abc4e3aa2f5e980a41602aa0795a63c1317290b99952f28a8017
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.507
|
data/lib/v20170312/client.rb
CHANGED
|
@@ -3009,7 +3009,7 @@ module TencentCloud
|
|
|
3009
3009
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3010
3010
|
end
|
|
3011
3011
|
|
|
3012
|
-
# 本接口(DescribeCcnRegionBandwidthLimits
|
|
3012
|
+
# 本接口(DescribeCcnRegionBandwidthLimits)用于查询云联网各地域出带宽上限,该接口只返回已关联网络实例包含的地域。
|
|
3013
3013
|
|
|
3014
3014
|
# @param request: Request instance for DescribeCcnRegionBandwidthLimits.
|
|
3015
3015
|
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeCcnRegionBandwidthLimitsRequest`
|
|
@@ -3033,7 +3033,7 @@ module TencentCloud
|
|
|
3033
3033
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3034
3034
|
end
|
|
3035
3035
|
|
|
3036
|
-
# 本接口(DescribeCcnRoutes)用于查询已加入云联网(CCN
|
|
3036
|
+
# 本接口(DescribeCcnRoutes)用于查询已加入云联网(CCN)的路由。
|
|
3037
3037
|
|
|
3038
3038
|
# @param request: Request instance for DescribeCcnRoutes.
|
|
3039
3039
|
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeCcnRoutesRequest`
|
|
@@ -3156,7 +3156,7 @@ module TencentCloud
|
|
|
3156
3156
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3157
3157
|
end
|
|
3158
3158
|
|
|
3159
|
-
#
|
|
3159
|
+
# 本接口(DescribeCrossBorderFlowMonitor)用于查询跨境带宽监控数据,该接口目前只提供给服务商联通使用。
|
|
3160
3160
|
|
|
3161
3161
|
# @param request: Request instance for DescribeCrossBorderFlowMonitor.
|
|
3162
3162
|
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeCrossBorderFlowMonitorRequest`
|
|
@@ -4781,7 +4781,7 @@ module TencentCloud
|
|
|
4781
4781
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4782
4782
|
end
|
|
4783
4783
|
|
|
4784
|
-
# 本接口(DisableCcnRoutes)用于禁用已经启用的云联网(CCN
|
|
4784
|
+
# 本接口(DisableCcnRoutes)用于禁用已经启用的云联网(CCN)路由。
|
|
4785
4785
|
|
|
4786
4786
|
# @param request: Request instance for DisableCcnRoutes.
|
|
4787
4787
|
# @type request: :class:`Tencentcloud::vpc::V20170312::DisableCcnRoutesRequest`
|
data/lib/v20170312/models.rb
CHANGED
|
@@ -1594,26 +1594,29 @@ module TencentCloud
|
|
|
1594
1594
|
# @param InstanceChargeType: 付费类型,PREPAID为预付费,POSTPAID为后付费。
|
|
1595
1595
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1596
1596
|
# @type InstanceChargeType: String
|
|
1597
|
-
# @param BandwidthLimitType:
|
|
1597
|
+
# @param BandwidthLimitType: 限速类型,`INTER_REGION_LIMIT` 为地域间限速;`OUTER_REGION_LIMIT` 为地域出口限速。
|
|
1598
1598
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1599
1599
|
# @type BandwidthLimitType: String
|
|
1600
1600
|
# @param TagSet: 标签键值对。
|
|
1601
1601
|
# @type TagSet: Array
|
|
1602
|
-
# @param RoutePriorityFlag:
|
|
1602
|
+
# @param RoutePriorityFlag: 是否支持云联网路由优先级的功能。`False`:不支持,`True`:支持。
|
|
1603
1603
|
# @type RoutePriorityFlag: Boolean
|
|
1604
1604
|
# @param RouteTableCount: 实例关联的路由表个数。
|
|
1605
1605
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1606
1606
|
# @type RouteTableCount: Integer
|
|
1607
|
-
# @param RouteTableFlag:
|
|
1607
|
+
# @param RouteTableFlag: 是否开启云联网多路由表特性。`False`:未开启,`True`:开启。
|
|
1608
1608
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1609
1609
|
# @type RouteTableFlag: Boolean
|
|
1610
|
+
# @param IsSecurityLock: `true`:实例已被封禁,流量不通,`false`:解封禁。
|
|
1611
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1612
|
+
# @type IsSecurityLock: Boolean
|
|
1610
1613
|
# @param RouteBroadcastPolicyFlag: 是否开启云联网路由传播策略。`False` 未开启,`True` 开启。
|
|
1611
1614
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1612
1615
|
# @type RouteBroadcastPolicyFlag: Boolean
|
|
1613
1616
|
|
|
1614
|
-
attr_accessor :CcnId, :CcnName, :CcnDescription, :InstanceCount, :CreateTime, :State, :QosLevel, :InstanceChargeType, :BandwidthLimitType, :TagSet, :RoutePriorityFlag, :RouteTableCount, :RouteTableFlag, :RouteBroadcastPolicyFlag
|
|
1617
|
+
attr_accessor :CcnId, :CcnName, :CcnDescription, :InstanceCount, :CreateTime, :State, :QosLevel, :InstanceChargeType, :BandwidthLimitType, :TagSet, :RoutePriorityFlag, :RouteTableCount, :RouteTableFlag, :IsSecurityLock, :RouteBroadcastPolicyFlag
|
|
1615
1618
|
|
|
1616
|
-
def initialize(ccnid=nil, ccnname=nil, ccndescription=nil, instancecount=nil, createtime=nil, state=nil, qoslevel=nil, instancechargetype=nil, bandwidthlimittype=nil, tagset=nil, routepriorityflag=nil, routetablecount=nil, routetableflag=nil, routebroadcastpolicyflag=nil)
|
|
1619
|
+
def initialize(ccnid=nil, ccnname=nil, ccndescription=nil, instancecount=nil, createtime=nil, state=nil, qoslevel=nil, instancechargetype=nil, bandwidthlimittype=nil, tagset=nil, routepriorityflag=nil, routetablecount=nil, routetableflag=nil, issecuritylock=nil, routebroadcastpolicyflag=nil)
|
|
1617
1620
|
@CcnId = ccnid
|
|
1618
1621
|
@CcnName = ccnname
|
|
1619
1622
|
@CcnDescription = ccndescription
|
|
@@ -1627,6 +1630,7 @@ module TencentCloud
|
|
|
1627
1630
|
@RoutePriorityFlag = routepriorityflag
|
|
1628
1631
|
@RouteTableCount = routetablecount
|
|
1629
1632
|
@RouteTableFlag = routetableflag
|
|
1633
|
+
@IsSecurityLock = issecuritylock
|
|
1630
1634
|
@RouteBroadcastPolicyFlag = routebroadcastpolicyflag
|
|
1631
1635
|
end
|
|
1632
1636
|
|
|
@@ -1651,6 +1655,7 @@ module TencentCloud
|
|
|
1651
1655
|
@RoutePriorityFlag = params['RoutePriorityFlag']
|
|
1652
1656
|
@RouteTableCount = params['RouteTableCount']
|
|
1653
1657
|
@RouteTableFlag = params['RouteTableFlag']
|
|
1658
|
+
@IsSecurityLock = params['IsSecurityLock']
|
|
1654
1659
|
@RouteBroadcastPolicyFlag = params['RouteBroadcastPolicyFlag']
|
|
1655
1660
|
end
|
|
1656
1661
|
end
|
|
@@ -1851,6 +1856,17 @@ module TencentCloud
|
|
|
1851
1856
|
end
|
|
1852
1857
|
end
|
|
1853
1858
|
|
|
1859
|
+
# 云联网实例对象,该对象特用于运营端使用,不建议给租户的接口中提供该复杂类型。
|
|
1860
|
+
class CcnInstanceInfo < TencentCloud::Common::AbstractModel
|
|
1861
|
+
|
|
1862
|
+
|
|
1863
|
+
def initialize()
|
|
1864
|
+
end
|
|
1865
|
+
|
|
1866
|
+
def deserialize(params)
|
|
1867
|
+
end
|
|
1868
|
+
end
|
|
1869
|
+
|
|
1854
1870
|
# 云联网(CCN)地域出带宽上限
|
|
1855
1871
|
class CcnRegionBandwidthLimit < TencentCloud::Common::AbstractModel
|
|
1856
1872
|
# @param Region: 地域,例如:ap-guangzhou
|
|
@@ -2577,11 +2593,11 @@ module TencentCloud
|
|
|
2577
2593
|
# @type CcnName: String
|
|
2578
2594
|
# @param CcnDescription: CCN描述信息,最大长度不能超过100个字节。
|
|
2579
2595
|
# @type CcnDescription: String
|
|
2580
|
-
# @param QosLevel: CCN
|
|
2596
|
+
# @param QosLevel: CCN服务质量,`PT`:白金,`AU`:金,`AG`:银,默认为`AU`。
|
|
2581
2597
|
# @type QosLevel: String
|
|
2582
|
-
# @param InstanceChargeType:
|
|
2598
|
+
# @param InstanceChargeType: 计费模式,`PREPAID`:表示预付费,即包年包月,`POSTPAID`:表示后付费,即按量计费。默认:`POSTPAID`。
|
|
2583
2599
|
# @type InstanceChargeType: String
|
|
2584
|
-
# @param BandwidthLimitType:
|
|
2600
|
+
# @param BandwidthLimitType: 限速类型,`OUTER_REGION_LIMIT`表示地域出口限速,`INTER_REGION_LIMIT`为地域间限速,默认为`OUTER_REGION_LIMIT`。预付费模式仅支持地域间限速,后付费模式支持地域间限速和地域出口限速。
|
|
2585
2601
|
# @type BandwidthLimitType: String
|
|
2586
2602
|
# @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
|
|
2587
2603
|
# @type Tags: Array
|
|
@@ -4931,13 +4947,13 @@ module TencentCloud
|
|
|
4931
4947
|
|
|
4932
4948
|
# 跨境带宽监控数据
|
|
4933
4949
|
class CrossBorderFlowMonitorData < TencentCloud::Common::AbstractModel
|
|
4934
|
-
# @param InBandwidth:
|
|
4950
|
+
# @param InBandwidth: 入带宽,单位:`bps`。
|
|
4935
4951
|
# @type InBandwidth: Array
|
|
4936
|
-
# @param OutBandwidth:
|
|
4952
|
+
# @param OutBandwidth: 出带宽,单位:`bps`。
|
|
4937
4953
|
# @type OutBandwidth: Array
|
|
4938
|
-
# @param InPkg:
|
|
4954
|
+
# @param InPkg: 入包,单位:`pps`。
|
|
4939
4955
|
# @type InPkg: Array
|
|
4940
|
-
# @param OutPkg:
|
|
4956
|
+
# @param OutPkg: 出包,单位:`pps`。
|
|
4941
4957
|
# @type OutPkg: Array
|
|
4942
4958
|
|
|
4943
4959
|
attr_accessor :InBandwidth, :OutBandwidth, :InPkg, :OutPkg
|
|
@@ -7065,7 +7081,7 @@ module TencentCloud
|
|
|
7065
7081
|
|
|
7066
7082
|
# DescribeCcnRegionBandwidthLimits请求参数结构体
|
|
7067
7083
|
class DescribeCcnRegionBandwidthLimitsRequest < TencentCloud::Common::AbstractModel
|
|
7068
|
-
# @param CcnId: CCN实例ID
|
|
7084
|
+
# @param CcnId: CCN实例ID,形如:ccn-f49l6u0z。
|
|
7069
7085
|
# @type CcnId: String
|
|
7070
7086
|
|
|
7071
7087
|
attr_accessor :CcnId
|
|
@@ -7108,9 +7124,9 @@ module TencentCloud
|
|
|
7108
7124
|
|
|
7109
7125
|
# DescribeCcnRoutes请求参数结构体
|
|
7110
7126
|
class DescribeCcnRoutesRequest < TencentCloud::Common::AbstractModel
|
|
7111
|
-
# @param CcnId: CCN实例ID
|
|
7127
|
+
# @param CcnId: CCN实例ID,形如:`ccn-gree226l`。
|
|
7112
7128
|
# @type CcnId: String
|
|
7113
|
-
# @param RouteIds: CCN路由策略唯一ID
|
|
7129
|
+
# @param RouteIds: CCN路由策略唯一ID,形如:`ccnr-f49l6u0z`。
|
|
7114
7130
|
# @type RouteIds: Array
|
|
7115
7131
|
# @param Filters: 过滤条件,参数不支持同时指定RouteIds和Filters。
|
|
7116
7132
|
# <li>route-id - String -(过滤条件)路由策略ID。</li>
|
|
@@ -7187,7 +7203,7 @@ module TencentCloud
|
|
|
7187
7203
|
# @param CcnIds: CCN实例ID。形如:ccn-f49l6u0z。每次请求的实例的上限为100。参数不支持同时指定CcnIds和Filters。
|
|
7188
7204
|
# @type CcnIds: Array
|
|
7189
7205
|
# @param Filters: 过滤条件,参数不支持同时指定CcnIds和Filters。
|
|
7190
|
-
# <li>ccn-id - String - (过滤条件)CCN唯一ID
|
|
7206
|
+
# <li>ccn-id - String - (过滤条件)CCN唯一ID,形如:`ccn-f49l6u0z`。</li>
|
|
7191
7207
|
# <li>ccn-name - String - (过滤条件)CCN名称。</li>
|
|
7192
7208
|
# <li>ccn-description - String - (过滤条件)CCN描述。</li>
|
|
7193
7209
|
# <li>state - String - (过滤条件)实例状态, 'ISOLATED': 隔离中(欠费停服),'AVAILABLE':运行中。</li>
|
|
@@ -7470,19 +7486,19 @@ module TencentCloud
|
|
|
7470
7486
|
|
|
7471
7487
|
# DescribeCrossBorderFlowMonitor请求参数结构体
|
|
7472
7488
|
class DescribeCrossBorderFlowMonitorRequest < TencentCloud::Common::AbstractModel
|
|
7473
|
-
# @param SourceRegion:
|
|
7489
|
+
# @param SourceRegion: 源地域。
|
|
7474
7490
|
# @type SourceRegion: String
|
|
7475
|
-
# @param DestinationRegion:
|
|
7491
|
+
# @param DestinationRegion: 目的地域。
|
|
7476
7492
|
# @type DestinationRegion: String
|
|
7477
|
-
# @param CcnId: 云联网
|
|
7493
|
+
# @param CcnId: 云联网ID。
|
|
7478
7494
|
# @type CcnId: String
|
|
7479
|
-
# @param CcnUin:
|
|
7495
|
+
# @param CcnUin: 云联网所属账号。
|
|
7480
7496
|
# @type CcnUin: String
|
|
7481
|
-
# @param Period:
|
|
7497
|
+
# @param Period: 时间粒度。
|
|
7482
7498
|
# @type Period: Integer
|
|
7483
|
-
# @param StartTime:
|
|
7499
|
+
# @param StartTime: 开始时间。
|
|
7484
7500
|
# @type StartTime: String
|
|
7485
|
-
# @param EndTime:
|
|
7501
|
+
# @param EndTime: 结束时间。
|
|
7486
7502
|
# @type EndTime: String
|
|
7487
7503
|
|
|
7488
7504
|
attr_accessor :SourceRegion, :DestinationRegion, :CcnId, :CcnUin, :Period, :StartTime, :EndTime
|
|
@@ -10237,27 +10253,65 @@ module TencentCloud
|
|
|
10237
10253
|
|
|
10238
10254
|
# DescribeTenantCcns请求参数结构体
|
|
10239
10255
|
class DescribeTenantCcnsRequest < TencentCloud::Common::AbstractModel
|
|
10256
|
+
# @param Filters: 过滤条件,目前`value`值个数只支持一个,允许可支持的字段有:
|
|
10257
|
+
# <li>`ccn-ids` 云联网ID数组,值形如:`["ccn-12345678"]`</li>
|
|
10258
|
+
# <li>`user-account-id` 用户账号ID,值形如:`["12345678"]`</li><li>`is-security-lock` 是否锁定,值形如:`["true"]`</li>
|
|
10259
|
+
# @type Filters: Array
|
|
10260
|
+
# @param Offset: 偏移量,默认0。
|
|
10261
|
+
# @type Offset: Integer
|
|
10262
|
+
# @param Limit: 单页返回数据量,可选值0到100之间的整数,默认20。
|
|
10263
|
+
# @type Limit: Integer
|
|
10240
10264
|
|
|
10265
|
+
attr_accessor :Filters, :Offset, :Limit
|
|
10241
10266
|
|
|
10242
|
-
def initialize()
|
|
10267
|
+
def initialize(filters=nil, offset=nil, limit=nil)
|
|
10268
|
+
@Filters = filters
|
|
10269
|
+
@Offset = offset
|
|
10270
|
+
@Limit = limit
|
|
10243
10271
|
end
|
|
10244
10272
|
|
|
10245
10273
|
def deserialize(params)
|
|
10274
|
+
unless params['Filters'].nil?
|
|
10275
|
+
@Filters = []
|
|
10276
|
+
params['Filters'].each do |i|
|
|
10277
|
+
filter_tmp = Filter.new
|
|
10278
|
+
filter_tmp.deserialize(i)
|
|
10279
|
+
@Filters << filter_tmp
|
|
10280
|
+
end
|
|
10281
|
+
end
|
|
10282
|
+
@Offset = params['Offset']
|
|
10283
|
+
@Limit = params['Limit']
|
|
10246
10284
|
end
|
|
10247
10285
|
end
|
|
10248
10286
|
|
|
10249
10287
|
# DescribeTenantCcns返回参数结构体
|
|
10250
10288
|
class DescribeTenantCcnsResponse < TencentCloud::Common::AbstractModel
|
|
10289
|
+
# @param CcnSet: 云联网(CCN)对象。
|
|
10290
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10291
|
+
# @type CcnSet: Array
|
|
10292
|
+
# @param TotalCount: 符合条件的对象总数。
|
|
10293
|
+
# @type TotalCount: Integer
|
|
10251
10294
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
10252
10295
|
# @type RequestId: String
|
|
10253
10296
|
|
|
10254
|
-
attr_accessor :RequestId
|
|
10297
|
+
attr_accessor :CcnSet, :TotalCount, :RequestId
|
|
10255
10298
|
|
|
10256
|
-
def initialize(requestid=nil)
|
|
10299
|
+
def initialize(ccnset=nil, totalcount=nil, requestid=nil)
|
|
10300
|
+
@CcnSet = ccnset
|
|
10301
|
+
@TotalCount = totalcount
|
|
10257
10302
|
@RequestId = requestid
|
|
10258
10303
|
end
|
|
10259
10304
|
|
|
10260
10305
|
def deserialize(params)
|
|
10306
|
+
unless params['CcnSet'].nil?
|
|
10307
|
+
@CcnSet = []
|
|
10308
|
+
params['CcnSet'].each do |i|
|
|
10309
|
+
ccninstanceinfo_tmp = CcnInstanceInfo.new
|
|
10310
|
+
ccninstanceinfo_tmp.deserialize(i)
|
|
10311
|
+
@CcnSet << ccninstanceinfo_tmp
|
|
10312
|
+
end
|
|
10313
|
+
end
|
|
10314
|
+
@TotalCount = params['TotalCount']
|
|
10261
10315
|
@RequestId = params['RequestId']
|
|
10262
10316
|
end
|
|
10263
10317
|
end
|
|
@@ -18580,7 +18634,7 @@ module TencentCloud
|
|
|
18580
18634
|
|
|
18581
18635
|
# SetCcnRegionBandwidthLimits请求参数结构体
|
|
18582
18636
|
class SetCcnRegionBandwidthLimitsRequest < TencentCloud::Common::AbstractModel
|
|
18583
|
-
# @param CcnId: CCN实例ID
|
|
18637
|
+
# @param CcnId: CCN实例ID,形如:ccn-f49l6u0z。
|
|
18584
18638
|
# @type CcnId: String
|
|
18585
18639
|
# @param CcnRegionBandwidthLimits: 云联网(CCN)各地域出带宽上限。
|
|
18586
18640
|
# @type CcnRegionBandwidthLimits: Array
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-vpc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.507
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-02-
|
|
11
|
+
date: 2023-02-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|