tencentcloud-sdk-vpc 3.0.541 → 3.0.542
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 +6 -6
- data/lib/v20170312/models.rb +192 -54
- 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: 9d08dae5cb80dda62a5e4cce3cbe108890d134f7
|
|
4
|
+
data.tar.gz: 2fe083f02dc937937fa2578aae35607b91b83151
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6b082711ff834b18565637d26bf1d2f24f185d5f8b60a02e30509ce6a106f96b80fc38c98d4f59f18289680b755627b05f5ae3383408d0c507eb69d31c04cf71
|
|
7
|
+
data.tar.gz: cb94c73c5dc063ab3213e7b6516261bcdd35d318cbad09bcdd86224c0dd4d41c24b920b85eaa471a641dc70659c88932bb1ee62ff36574d8421785f65fcb9694
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.542
|
data/lib/v20170312/client.rb
CHANGED
|
@@ -2671,7 +2671,7 @@ module TencentCloud
|
|
|
2671
2671
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2672
2672
|
end
|
|
2673
2673
|
|
|
2674
|
-
# 本接口(
|
|
2674
|
+
# 本接口(DeleteVpnGatewayRoutes)用于删除VPN网关路由
|
|
2675
2675
|
|
|
2676
2676
|
# @param request: Request instance for DeleteVpnGatewayRoutes.
|
|
2677
2677
|
# @type request: :class:`Tencentcloud::vpc::V20170312::DeleteVpnGatewayRoutesRequest`
|
|
@@ -4587,7 +4587,7 @@ module TencentCloud
|
|
|
4587
4587
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4588
4588
|
end
|
|
4589
4589
|
|
|
4590
|
-
# 本接口(DescribeVpnGatewayCcnRoutes)用于查询VPN
|
|
4590
|
+
# 本接口(DescribeVpnGatewayCcnRoutes)用于查询VPN网关云联网路由。
|
|
4591
4591
|
|
|
4592
4592
|
# @param request: Request instance for DescribeVpnGatewayCcnRoutes.
|
|
4593
4593
|
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeVpnGatewayCcnRoutesRequest`
|
|
@@ -4611,7 +4611,7 @@ module TencentCloud
|
|
|
4611
4611
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4612
4612
|
end
|
|
4613
4613
|
|
|
4614
|
-
#
|
|
4614
|
+
# 本接口(DescribeVpnGatewayRoutes)用于查询VPN网关路由。
|
|
4615
4615
|
|
|
4616
4616
|
# @param request: Request instance for DescribeVpnGatewayRoutes.
|
|
4617
4617
|
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeVpnGatewayRoutesRequest`
|
|
@@ -6721,7 +6721,7 @@ module TencentCloud
|
|
|
6721
6721
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
6722
6722
|
end
|
|
6723
6723
|
|
|
6724
|
-
# 本接口(ModifyVpnGatewayCcnRoutes)用于修改VPN
|
|
6724
|
+
# 本接口(ModifyVpnGatewayCcnRoutes)用于修改VPN网关云联网路由。
|
|
6725
6725
|
|
|
6726
6726
|
# @param request: Request instance for ModifyVpnGatewayCcnRoutes.
|
|
6727
6727
|
# @type request: :class:`Tencentcloud::vpc::V20170312::ModifyVpnGatewayCcnRoutesRequest`
|
|
@@ -6745,7 +6745,7 @@ module TencentCloud
|
|
|
6745
6745
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
6746
6746
|
end
|
|
6747
6747
|
|
|
6748
|
-
#
|
|
6748
|
+
# 本接口(ModifyVpnGatewayRoutes)用于修改VPN路由是否启用。
|
|
6749
6749
|
|
|
6750
6750
|
# @param request: Request instance for ModifyVpnGatewayRoutes.
|
|
6751
6751
|
# @type request: :class:`Tencentcloud::vpc::V20170312::ModifyVpnGatewayRoutesRequest`
|
|
@@ -7305,7 +7305,7 @@ module TencentCloud
|
|
|
7305
7305
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
7306
7306
|
end
|
|
7307
7307
|
|
|
7308
|
-
#
|
|
7308
|
+
# 本接口(SetVpnGatewaysRenewFlag)用于设置VPNGW续费标记。
|
|
7309
7309
|
|
|
7310
7310
|
# @param request: Request instance for SetVpnGatewaysRenewFlag.
|
|
7311
7311
|
# @type request: :class:`Tencentcloud::vpc::V20170312::SetVpnGatewaysRenewFlagRequest`
|
data/lib/v20170312/models.rb
CHANGED
|
@@ -1425,7 +1425,7 @@ module TencentCloud
|
|
|
1425
1425
|
class AuditCrossBorderComplianceRequest < TencentCloud::Common::AbstractModel
|
|
1426
1426
|
# @param ServiceProvider: 服务商, 可选值:`UNICOM`。
|
|
1427
1427
|
# @type ServiceProvider: String
|
|
1428
|
-
# @param ComplianceId: 表单唯一`ID
|
|
1428
|
+
# @param ComplianceId: 表单唯一`ID`。可通过[DescribeCrossBorderCompliance](https://cloud.tencent.com/document/product/215/47838)接口查询ComplianceId信息
|
|
1429
1429
|
# @type ComplianceId: Integer
|
|
1430
1430
|
# @param AuditBehavior: 通过:`APPROVED `,拒绝:`DENY`。
|
|
1431
1431
|
# @type AuditBehavior: String
|
|
@@ -1750,6 +1750,80 @@ module TencentCloud
|
|
|
1750
1750
|
end
|
|
1751
1751
|
end
|
|
1752
1752
|
|
|
1753
|
+
# 用于描述云联网地域间限速带宽实例的信息。
|
|
1754
|
+
class CcnBandwidth < TencentCloud::Common::AbstractModel
|
|
1755
|
+
# @param CcnId: 带宽所属的云联网ID。
|
|
1756
|
+
# @type CcnId: String
|
|
1757
|
+
# @param CreatedTime: 实例的创建时间。
|
|
1758
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1759
|
+
# @type CreatedTime: String
|
|
1760
|
+
# @param ExpiredTime: 实例的过期时间
|
|
1761
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1762
|
+
# @type ExpiredTime: String
|
|
1763
|
+
# @param RegionFlowControlId: 带宽实例的唯一ID。
|
|
1764
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1765
|
+
# @type RegionFlowControlId: String
|
|
1766
|
+
# @param RenewFlag: 带宽是否自动续费的标记。
|
|
1767
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1768
|
+
# @type RenewFlag: String
|
|
1769
|
+
# @param CcnRegionBandwidthLimit: 描述带宽的地域和限速上限信息。在地域间限速的情况下才会返回参数,出口限速模式不返回。
|
|
1770
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1771
|
+
# @type CcnRegionBandwidthLimit: :class:`Tencentcloud::Vpc.v20170312.models.CcnRegionBandwidthLimitInfo`
|
|
1772
|
+
# @param MarketId: 云市场实例ID。
|
|
1773
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1774
|
+
# @type MarketId: String
|
|
1775
|
+
# @param UserAccountID: 实例所属用户主账号ID。
|
|
1776
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1777
|
+
# @type UserAccountID: String
|
|
1778
|
+
# @param IsCrossBorder: 是否跨境,`true`表示跨境,反之不跨境。
|
|
1779
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1780
|
+
# @type IsCrossBorder: Boolean
|
|
1781
|
+
# @param IsSecurityLock: `true`表示封禁,地域间流量不通,`false`解禁,地域间流量正常
|
|
1782
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1783
|
+
# @type IsSecurityLock: Boolean
|
|
1784
|
+
# @param InstanceChargeType: `POSTPAID`表示后付费,`PREPAID`表示预付费。
|
|
1785
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1786
|
+
# @type InstanceChargeType: String
|
|
1787
|
+
# @param UpdateTime: 实例更新时间
|
|
1788
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1789
|
+
# @type UpdateTime: String
|
|
1790
|
+
|
|
1791
|
+
attr_accessor :CcnId, :CreatedTime, :ExpiredTime, :RegionFlowControlId, :RenewFlag, :CcnRegionBandwidthLimit, :MarketId, :UserAccountID, :IsCrossBorder, :IsSecurityLock, :InstanceChargeType, :UpdateTime
|
|
1792
|
+
|
|
1793
|
+
def initialize(ccnid=nil, createdtime=nil, expiredtime=nil, regionflowcontrolid=nil, renewflag=nil, ccnregionbandwidthlimit=nil, marketid=nil, useraccountid=nil, iscrossborder=nil, issecuritylock=nil, instancechargetype=nil, updatetime=nil)
|
|
1794
|
+
@CcnId = ccnid
|
|
1795
|
+
@CreatedTime = createdtime
|
|
1796
|
+
@ExpiredTime = expiredtime
|
|
1797
|
+
@RegionFlowControlId = regionflowcontrolid
|
|
1798
|
+
@RenewFlag = renewflag
|
|
1799
|
+
@CcnRegionBandwidthLimit = ccnregionbandwidthlimit
|
|
1800
|
+
@MarketId = marketid
|
|
1801
|
+
@UserAccountID = useraccountid
|
|
1802
|
+
@IsCrossBorder = iscrossborder
|
|
1803
|
+
@IsSecurityLock = issecuritylock
|
|
1804
|
+
@InstanceChargeType = instancechargetype
|
|
1805
|
+
@UpdateTime = updatetime
|
|
1806
|
+
end
|
|
1807
|
+
|
|
1808
|
+
def deserialize(params)
|
|
1809
|
+
@CcnId = params['CcnId']
|
|
1810
|
+
@CreatedTime = params['CreatedTime']
|
|
1811
|
+
@ExpiredTime = params['ExpiredTime']
|
|
1812
|
+
@RegionFlowControlId = params['RegionFlowControlId']
|
|
1813
|
+
@RenewFlag = params['RenewFlag']
|
|
1814
|
+
unless params['CcnRegionBandwidthLimit'].nil?
|
|
1815
|
+
@CcnRegionBandwidthLimit = CcnRegionBandwidthLimitInfo.new
|
|
1816
|
+
@CcnRegionBandwidthLimit.deserialize(params['CcnRegionBandwidthLimit'])
|
|
1817
|
+
end
|
|
1818
|
+
@MarketId = params['MarketId']
|
|
1819
|
+
@UserAccountID = params['UserAccountID']
|
|
1820
|
+
@IsCrossBorder = params['IsCrossBorder']
|
|
1821
|
+
@IsSecurityLock = params['IsSecurityLock']
|
|
1822
|
+
@InstanceChargeType = params['InstanceChargeType']
|
|
1823
|
+
@UpdateTime = params['UpdateTime']
|
|
1824
|
+
end
|
|
1825
|
+
end
|
|
1826
|
+
|
|
1753
1827
|
# 用于描述云联网地域间限速带宽实例的信息。
|
|
1754
1828
|
class CcnBandwidthInfo < TencentCloud::Common::AbstractModel
|
|
1755
1829
|
# @param CcnId: 带宽所属的云联网ID。
|
|
@@ -1773,10 +1847,13 @@ module TencentCloud
|
|
|
1773
1847
|
# @param MarketId: 云市场实例ID。
|
|
1774
1848
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1775
1849
|
# @type MarketId: String
|
|
1850
|
+
# @param TagSet: 资源绑定的标签列表
|
|
1851
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1852
|
+
# @type TagSet: Array
|
|
1776
1853
|
|
|
1777
|
-
attr_accessor :CcnId, :CreatedTime, :ExpiredTime, :RegionFlowControlId, :RenewFlag, :CcnRegionBandwidthLimit, :MarketId
|
|
1854
|
+
attr_accessor :CcnId, :CreatedTime, :ExpiredTime, :RegionFlowControlId, :RenewFlag, :CcnRegionBandwidthLimit, :MarketId, :TagSet
|
|
1778
1855
|
|
|
1779
|
-
def initialize(ccnid=nil, createdtime=nil, expiredtime=nil, regionflowcontrolid=nil, renewflag=nil, ccnregionbandwidthlimit=nil, marketid=nil)
|
|
1856
|
+
def initialize(ccnid=nil, createdtime=nil, expiredtime=nil, regionflowcontrolid=nil, renewflag=nil, ccnregionbandwidthlimit=nil, marketid=nil, tagset=nil)
|
|
1780
1857
|
@CcnId = ccnid
|
|
1781
1858
|
@CreatedTime = createdtime
|
|
1782
1859
|
@ExpiredTime = expiredtime
|
|
@@ -1784,6 +1861,7 @@ module TencentCloud
|
|
|
1784
1861
|
@RenewFlag = renewflag
|
|
1785
1862
|
@CcnRegionBandwidthLimit = ccnregionbandwidthlimit
|
|
1786
1863
|
@MarketId = marketid
|
|
1864
|
+
@TagSet = tagset
|
|
1787
1865
|
end
|
|
1788
1866
|
|
|
1789
1867
|
def deserialize(params)
|
|
@@ -1797,6 +1875,14 @@ module TencentCloud
|
|
|
1797
1875
|
@CcnRegionBandwidthLimit.deserialize(params['CcnRegionBandwidthLimit'])
|
|
1798
1876
|
end
|
|
1799
1877
|
@MarketId = params['MarketId']
|
|
1878
|
+
unless params['TagSet'].nil?
|
|
1879
|
+
@TagSet = []
|
|
1880
|
+
params['TagSet'].each do |i|
|
|
1881
|
+
tag_tmp = Tag.new
|
|
1882
|
+
tag_tmp.deserialize(i)
|
|
1883
|
+
@TagSet << tag_tmp
|
|
1884
|
+
end
|
|
1885
|
+
end
|
|
1800
1886
|
end
|
|
1801
1887
|
end
|
|
1802
1888
|
|
|
@@ -1905,6 +1991,17 @@ module TencentCloud
|
|
|
1905
1991
|
end
|
|
1906
1992
|
end
|
|
1907
1993
|
|
|
1994
|
+
# 云联网(CCN)地域出带宽上限。
|
|
1995
|
+
class CcnRegionBandwidthLimitInfo < TencentCloud::Common::AbstractModel
|
|
1996
|
+
|
|
1997
|
+
|
|
1998
|
+
def initialize()
|
|
1999
|
+
end
|
|
2000
|
+
|
|
2001
|
+
def deserialize(params)
|
|
2002
|
+
end
|
|
2003
|
+
end
|
|
2004
|
+
|
|
1908
2005
|
# CCN路由策略对象
|
|
1909
2006
|
class CcnRoute < TencentCloud::Common::AbstractModel
|
|
1910
2007
|
# @param RouteId: 路由策略ID
|
|
@@ -6350,7 +6447,7 @@ module TencentCloud
|
|
|
6350
6447
|
class DeleteVpnGatewayRoutesRequest < TencentCloud::Common::AbstractModel
|
|
6351
6448
|
# @param VpnGatewayId: VPN网关实例ID
|
|
6352
6449
|
# @type VpnGatewayId: String
|
|
6353
|
-
# @param RouteIds: 路由ID
|
|
6450
|
+
# @param RouteIds: 路由ID信息列表,可以通过[DescribeVpnGatewayRoutes](https://cloud.tencent.com/document/api/215/57676)接口查询。
|
|
6354
6451
|
# @type RouteIds: Array
|
|
6355
6452
|
|
|
6356
6453
|
attr_accessor :VpnGatewayId, :RouteIds
|
|
@@ -7046,9 +7143,9 @@ module TencentCloud
|
|
|
7046
7143
|
# @type Filters: Array
|
|
7047
7144
|
# @param CcnId: 云联网实例ID
|
|
7048
7145
|
# @type CcnId: String
|
|
7049
|
-
# @param OrderField: 排序字段。支持:`CcnId` `InstanceType` `InstanceId` `InstanceName` `InstanceRegion` `AttachedTime` `State
|
|
7146
|
+
# @param OrderField: 排序字段。支持:`CcnId` `InstanceType` `InstanceId` `InstanceName` `InstanceRegion` `AttachedTime` `State`。默认值:`AttachedTime`
|
|
7050
7147
|
# @type OrderField: String
|
|
7051
|
-
# @param OrderDirection: 排序方法。升序:`ASC`,倒序:`DESC
|
|
7148
|
+
# @param OrderDirection: 排序方法。升序:`ASC`,倒序:`DESC`。默认值:`ASC`
|
|
7052
7149
|
# @type OrderDirection: String
|
|
7053
7150
|
|
|
7054
7151
|
attr_accessor :Offset, :Limit, :Filters, :CcnId, :OrderField, :OrderDirection
|
|
@@ -7245,9 +7342,9 @@ module TencentCloud
|
|
|
7245
7342
|
# @type Offset: Integer
|
|
7246
7343
|
# @param Limit: 返回数量
|
|
7247
7344
|
# @type Limit: Integer
|
|
7248
|
-
# @param OrderField: 排序字段。支持:`CcnId` `CcnName` `CreateTime` `State` `QosLevel`
|
|
7345
|
+
# @param OrderField: 排序字段。支持:`CcnId` `CcnName` `CreateTime` `State` `QosLevel`。默认值: `CreateTime`
|
|
7249
7346
|
# @type OrderField: String
|
|
7250
|
-
# @param OrderDirection: 排序方法。升序:`ASC`,倒序:`DESC
|
|
7347
|
+
# @param OrderDirection: 排序方法。升序:`ASC`,倒序:`DESC`。默认值:`ASC`
|
|
7251
7348
|
# @type OrderDirection: String
|
|
7252
7349
|
|
|
7253
7350
|
attr_accessor :CcnIds, :Filters, :Offset, :Limit, :OrderField, :OrderDirection
|
|
@@ -7375,27 +7472,63 @@ module TencentCloud
|
|
|
7375
7472
|
|
|
7376
7473
|
# DescribeCrossBorderCcnRegionBandwidthLimits请求参数结构体
|
|
7377
7474
|
class DescribeCrossBorderCcnRegionBandwidthLimitsRequest < TencentCloud::Common::AbstractModel
|
|
7475
|
+
# @param Filters: 过滤条件,目前`value`值个数只支持一个,可支持的字段有:
|
|
7476
|
+
# <li>`source-region` 源地域,值形如:`["ap-guangzhou"]`</li> <li>`destination-region` 目的地域,值形如:`["ap-shanghai"]`</li> <li>`ccn-ids` 云联网ID数组,值形如:`["ccn-12345678"]`</li> <li>`user-account-id` 用户账号ID,值形如`["12345678"]`</li>
|
|
7477
|
+
# @type Filters: Array
|
|
7478
|
+
# @param Offset: 偏移量,默认0。
|
|
7479
|
+
# @type Offset: Integer
|
|
7480
|
+
# @param Limit: 单页返回数据量可选值0到100之间的整数,默认20。
|
|
7481
|
+
# @type Limit: Integer
|
|
7378
7482
|
|
|
7483
|
+
attr_accessor :Filters, :Offset, :Limit
|
|
7379
7484
|
|
|
7380
|
-
def initialize()
|
|
7485
|
+
def initialize(filters=nil, offset=nil, limit=nil)
|
|
7486
|
+
@Filters = filters
|
|
7487
|
+
@Offset = offset
|
|
7488
|
+
@Limit = limit
|
|
7381
7489
|
end
|
|
7382
7490
|
|
|
7383
7491
|
def deserialize(params)
|
|
7492
|
+
unless params['Filters'].nil?
|
|
7493
|
+
@Filters = []
|
|
7494
|
+
params['Filters'].each do |i|
|
|
7495
|
+
filter_tmp = Filter.new
|
|
7496
|
+
filter_tmp.deserialize(i)
|
|
7497
|
+
@Filters << filter_tmp
|
|
7498
|
+
end
|
|
7499
|
+
end
|
|
7500
|
+
@Offset = params['Offset']
|
|
7501
|
+
@Limit = params['Limit']
|
|
7384
7502
|
end
|
|
7385
7503
|
end
|
|
7386
7504
|
|
|
7387
7505
|
# DescribeCrossBorderCcnRegionBandwidthLimits返回参数结构体
|
|
7388
7506
|
class DescribeCrossBorderCcnRegionBandwidthLimitsResponse < TencentCloud::Common::AbstractModel
|
|
7507
|
+
# @param TotalCount: 符合条件的对象总数。
|
|
7508
|
+
# @type TotalCount: Integer
|
|
7509
|
+
# @param CcnBandwidthSet: 云联网地域间限速带宽实例的信息。
|
|
7510
|
+
# @type CcnBandwidthSet: Array
|
|
7389
7511
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7390
7512
|
# @type RequestId: String
|
|
7391
7513
|
|
|
7392
|
-
attr_accessor :RequestId
|
|
7514
|
+
attr_accessor :TotalCount, :CcnBandwidthSet, :RequestId
|
|
7393
7515
|
|
|
7394
|
-
def initialize(requestid=nil)
|
|
7516
|
+
def initialize(totalcount=nil, ccnbandwidthset=nil, requestid=nil)
|
|
7517
|
+
@TotalCount = totalcount
|
|
7518
|
+
@CcnBandwidthSet = ccnbandwidthset
|
|
7395
7519
|
@RequestId = requestid
|
|
7396
7520
|
end
|
|
7397
7521
|
|
|
7398
7522
|
def deserialize(params)
|
|
7523
|
+
@TotalCount = params['TotalCount']
|
|
7524
|
+
unless params['CcnBandwidthSet'].nil?
|
|
7525
|
+
@CcnBandwidthSet = []
|
|
7526
|
+
params['CcnBandwidthSet'].each do |i|
|
|
7527
|
+
ccnbandwidth_tmp = CcnBandwidth.new
|
|
7528
|
+
ccnbandwidth_tmp.deserialize(i)
|
|
7529
|
+
@CcnBandwidthSet << ccnbandwidth_tmp
|
|
7530
|
+
end
|
|
7531
|
+
end
|
|
7399
7532
|
@RequestId = params['RequestId']
|
|
7400
7533
|
end
|
|
7401
7534
|
end
|
|
@@ -7630,7 +7763,7 @@ module TencentCloud
|
|
|
7630
7763
|
# <li>customer-gateway-name - String - (过滤条件)用户网关名称形如:`test-cgw`。</li>
|
|
7631
7764
|
# <li>ip-address - String - (过滤条件)公网地址形如:`58.211.1.12`。</li>
|
|
7632
7765
|
# @type Filters: Array
|
|
7633
|
-
# @param Offset: 偏移量,默认为0。关于Offset的更进一步介绍请参考 API
|
|
7766
|
+
# @param Offset: 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/11646)中的相关小节。
|
|
7634
7767
|
# @type Offset: Integer
|
|
7635
7768
|
# @param Limit: 返回数量,默认为20,最大值为100。
|
|
7636
7769
|
# @type Limit: Integer
|
|
@@ -7661,7 +7794,7 @@ module TencentCloud
|
|
|
7661
7794
|
|
|
7662
7795
|
# DescribeCustomerGateways返回参数结构体
|
|
7663
7796
|
class DescribeCustomerGatewaysResponse < TencentCloud::Common::AbstractModel
|
|
7664
|
-
# @param CustomerGatewaySet:
|
|
7797
|
+
# @param CustomerGatewaySet: 对端网关对象列表。
|
|
7665
7798
|
# @type CustomerGatewaySet: Array
|
|
7666
7799
|
# @param TotalCount: 符合条件的实例数量。
|
|
7667
7800
|
# @type TotalCount: Integer
|
|
@@ -11129,11 +11262,11 @@ module TencentCloud
|
|
|
11129
11262
|
|
|
11130
11263
|
# DescribeVpnGatewayCcnRoutes请求参数结构体
|
|
11131
11264
|
class DescribeVpnGatewayCcnRoutesRequest < TencentCloud::Common::AbstractModel
|
|
11132
|
-
# @param VpnGatewayId: VPN网关实例ID
|
|
11265
|
+
# @param VpnGatewayId: VPN网关实例ID。
|
|
11133
11266
|
# @type VpnGatewayId: String
|
|
11134
|
-
# @param Offset:
|
|
11267
|
+
# @param Offset: 偏移量。默认值:0
|
|
11135
11268
|
# @type Offset: Integer
|
|
11136
|
-
# @param Limit:
|
|
11269
|
+
# @param Limit: 返回数量。默认值:20
|
|
11137
11270
|
# @type Limit: Integer
|
|
11138
11271
|
|
|
11139
11272
|
attr_accessor :VpnGatewayId, :Offset, :Limit
|
|
@@ -11184,13 +11317,13 @@ module TencentCloud
|
|
|
11184
11317
|
|
|
11185
11318
|
# DescribeVpnGatewayRoutes请求参数结构体
|
|
11186
11319
|
class DescribeVpnGatewayRoutesRequest < TencentCloud::Common::AbstractModel
|
|
11187
|
-
# @param VpnGatewayId: VPN
|
|
11320
|
+
# @param VpnGatewayId: VPN网关实例ID。
|
|
11188
11321
|
# @type VpnGatewayId: String
|
|
11189
|
-
# @param Filters: 过滤条件, 条件包括(DestinationCidr, InstanceId,InstanceType)
|
|
11322
|
+
# @param Filters: 过滤条件, 条件包括(DestinationCidr, InstanceId,InstanceType)。
|
|
11190
11323
|
# @type Filters: Array
|
|
11191
|
-
# @param Offset: 偏移量, 默认0
|
|
11324
|
+
# @param Offset: 偏移量, 默认0。
|
|
11192
11325
|
# @type Offset: Integer
|
|
11193
|
-
# @param Limit: 单页个数, 默认20, 最大值100
|
|
11326
|
+
# @param Limit: 单页个数, 默认20, 最大值100。
|
|
11194
11327
|
# @type Limit: Integer
|
|
11195
11328
|
|
|
11196
11329
|
attr_accessor :VpnGatewayId, :Filters, :Offset, :Limit
|
|
@@ -11219,15 +11352,19 @@ module TencentCloud
|
|
|
11219
11352
|
|
|
11220
11353
|
# DescribeVpnGatewayRoutes返回参数结构体
|
|
11221
11354
|
class DescribeVpnGatewayRoutesResponse < TencentCloud::Common::AbstractModel
|
|
11222
|
-
# @param Routes: VPN
|
|
11355
|
+
# @param Routes: VPN网关目的路由。
|
|
11223
11356
|
# @type Routes: Array
|
|
11357
|
+
# @param TotalCount: 路由条数。
|
|
11358
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
11359
|
+
# @type TotalCount: Integer
|
|
11224
11360
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
11225
11361
|
# @type RequestId: String
|
|
11226
11362
|
|
|
11227
|
-
attr_accessor :Routes, :RequestId
|
|
11363
|
+
attr_accessor :Routes, :TotalCount, :RequestId
|
|
11228
11364
|
|
|
11229
|
-
def initialize(routes=nil, requestid=nil)
|
|
11365
|
+
def initialize(routes=nil, totalcount=nil, requestid=nil)
|
|
11230
11366
|
@Routes = routes
|
|
11367
|
+
@TotalCount = totalcount
|
|
11231
11368
|
@RequestId = requestid
|
|
11232
11369
|
end
|
|
11233
11370
|
|
|
@@ -11240,6 +11377,7 @@ module TencentCloud
|
|
|
11240
11377
|
@Routes << vpngatewayroute_tmp
|
|
11241
11378
|
end
|
|
11242
11379
|
end
|
|
11380
|
+
@TotalCount = params['TotalCount']
|
|
11243
11381
|
@RequestId = params['RequestId']
|
|
11244
11382
|
end
|
|
11245
11383
|
end
|
|
@@ -12366,7 +12504,7 @@ module TencentCloud
|
|
|
12366
12504
|
# @type VpnGatewayId: String
|
|
12367
12505
|
# @param VpnConnectionId: VPN通道实例ID。形如:vpnx-f49l6u0z。
|
|
12368
12506
|
# @type VpnConnectionId: String
|
|
12369
|
-
# @param CustomerGatewayVendor: 对端网关厂商信息对象,可通过DescribeCustomerGatewayVendors获取。
|
|
12507
|
+
# @param CustomerGatewayVendor: 对端网关厂商信息对象,可通过[DescribeCustomerGatewayVendors](https://cloud.tencent.com/document/api/215/17513)获取。
|
|
12370
12508
|
# @type CustomerGatewayVendor: :class:`Tencentcloud::Vpc.v20170312.models.CustomerGatewayVendor`
|
|
12371
12509
|
# @param InterfaceName: 通道接入设备物理接口名称。
|
|
12372
12510
|
# @type InterfaceName: String
|
|
@@ -13066,13 +13204,13 @@ module TencentCloud
|
|
|
13066
13204
|
# <li>sregion - String - (过滤条件)源地域,形如:ap-guangzhou。</li>
|
|
13067
13205
|
# <li>dregion - String - (过滤条件)目的地域,形如:ap-shanghai-bm</li>
|
|
13068
13206
|
# @type Filters: Array
|
|
13069
|
-
# @param SortedBy:
|
|
13207
|
+
# @param SortedBy: 排序条件,目前支持带宽(`BandwidthLimit`)和过期时间(`ExpireTime`),默认按 `ExpireTime` 排序。
|
|
13070
13208
|
# @type SortedBy: String
|
|
13071
|
-
# @param Offset:
|
|
13209
|
+
# @param Offset: 偏移量。
|
|
13072
13210
|
# @type Offset: Integer
|
|
13073
|
-
# @param Limit:
|
|
13211
|
+
# @param Limit: 返回数量。
|
|
13074
13212
|
# @type Limit: Integer
|
|
13075
|
-
# @param OrderBy: 排序方式,'ASC':升序,'DESC'
|
|
13213
|
+
# @param OrderBy: 排序方式,'ASC':升序,'DESC':降序。默认按'ASC'排序。
|
|
13076
13214
|
# @type OrderBy: String
|
|
13077
13215
|
|
|
13078
13216
|
attr_accessor :CcnId, :Filters, :SortedBy, :Offset, :Limit, :OrderBy
|
|
@@ -13105,7 +13243,7 @@ module TencentCloud
|
|
|
13105
13243
|
|
|
13106
13244
|
# GetCcnRegionBandwidthLimits返回参数结构体
|
|
13107
13245
|
class GetCcnRegionBandwidthLimitsResponse < TencentCloud::Common::AbstractModel
|
|
13108
|
-
# @param CcnBandwidthSet: 云联网(CCN
|
|
13246
|
+
# @param CcnBandwidthSet: 云联网(CCN)各地域出带宽详情。
|
|
13109
13247
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
13110
13248
|
# @type CcnBandwidthSet: Array
|
|
13111
13249
|
# @param TotalCount: 符合条件的对象数。
|
|
@@ -13542,7 +13680,7 @@ module TencentCloud
|
|
|
13542
13680
|
class InstanceChargePrepaid < TencentCloud::Common::AbstractModel
|
|
13543
13681
|
# @param Period: 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36。
|
|
13544
13682
|
# @type Period: Integer
|
|
13545
|
-
# @param RenewFlag: 自动续费标识。取值范围: NOTIFY_AND_AUTO_RENEW:通知过期且自动续费, NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费。默认:
|
|
13683
|
+
# @param RenewFlag: 自动续费标识。取值范围: NOTIFY_AND_AUTO_RENEW:通知过期且自动续费, NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费。默认:NOTIFY_AND_AUTO_RENEW
|
|
13546
13684
|
# @type RenewFlag: String
|
|
13547
13685
|
|
|
13548
13686
|
attr_accessor :Period, :RenewFlag
|
|
@@ -14506,7 +14644,7 @@ module TencentCloud
|
|
|
14506
14644
|
class ModifyCcnRegionBandwidthLimitsTypeRequest < TencentCloud::Common::AbstractModel
|
|
14507
14645
|
# @param CcnId: 云联网实例ID。
|
|
14508
14646
|
# @type CcnId: String
|
|
14509
|
-
# @param BandwidthLimitType: 云联网限速类型,INTER_REGION_LIMIT:地域间限速,OUTER_REGION_LIMIT
|
|
14647
|
+
# @param BandwidthLimitType: 云联网限速类型,INTER_REGION_LIMIT:地域间限速,OUTER_REGION_LIMIT:地域出口限速。默认值:OUTER_REGION_LIMIT。
|
|
14510
14648
|
# @type BandwidthLimitType: String
|
|
14511
14649
|
|
|
14512
14650
|
attr_accessor :CcnId, :BandwidthLimitType
|
|
@@ -16097,9 +16235,9 @@ module TencentCloud
|
|
|
16097
16235
|
|
|
16098
16236
|
# ModifyVpnGatewayCcnRoutes请求参数结构体
|
|
16099
16237
|
class ModifyVpnGatewayCcnRoutesRequest < TencentCloud::Common::AbstractModel
|
|
16100
|
-
# @param VpnGatewayId: VPN网关实例ID
|
|
16238
|
+
# @param VpnGatewayId: VPN网关实例ID。
|
|
16101
16239
|
# @type VpnGatewayId: String
|
|
16102
|
-
# @param Routes: 云联网路由(IDC
|
|
16240
|
+
# @param Routes: 云联网路由(IDC网段)列表。
|
|
16103
16241
|
# @type Routes: Array
|
|
16104
16242
|
|
|
16105
16243
|
attr_accessor :VpnGatewayId, :Routes
|
|
@@ -16140,9 +16278,9 @@ module TencentCloud
|
|
|
16140
16278
|
|
|
16141
16279
|
# ModifyVpnGatewayRoutes请求参数结构体
|
|
16142
16280
|
class ModifyVpnGatewayRoutesRequest < TencentCloud::Common::AbstractModel
|
|
16143
|
-
# @param VpnGatewayId:
|
|
16281
|
+
# @param VpnGatewayId: VPN网关实例ID。
|
|
16144
16282
|
# @type VpnGatewayId: String
|
|
16145
|
-
# @param Routes:
|
|
16283
|
+
# @param Routes: 路由修改参数。
|
|
16146
16284
|
# @type Routes: Array
|
|
16147
16285
|
|
|
16148
16286
|
attr_accessor :VpnGatewayId, :Routes
|
|
@@ -18817,12 +18955,12 @@ module TencentCloud
|
|
|
18817
18955
|
|
|
18818
18956
|
# SetVpnGatewaysRenewFlag请求参数结构体
|
|
18819
18957
|
class SetVpnGatewaysRenewFlagRequest < TencentCloud::Common::AbstractModel
|
|
18820
|
-
# @param VpnGatewayIds: VPNGW字符型ID
|
|
18958
|
+
# @param VpnGatewayIds: VPNGW字符型ID列表。可通过[DescribeVpnGateways](https://cloud.tencent.com/document/api/215/17514)接口返回值VpnGatewaySet中的VpnGatewayId获取。
|
|
18821
18959
|
# @type VpnGatewayIds: Array
|
|
18822
|
-
# @param AutoRenewFlag: 自动续费标记[0, 1, 2]
|
|
18823
|
-
# 0表示默认状态(初始状态), 1表示自动续费,2
|
|
18960
|
+
# @param AutoRenewFlag: 自动续费标记 [0, 1, 2]
|
|
18961
|
+
# 0表示默认状态(初始状态), 1表示自动续费,2表示明确不自动续费。
|
|
18824
18962
|
# @type AutoRenewFlag: Integer
|
|
18825
|
-
# @param Type: VPNGW类型['IPSEC', 'SSL']
|
|
18963
|
+
# @param Type: VPNGW类型['IPSEC', 'SSL'], 默认为IPSEC。
|
|
18826
18964
|
# @type Type: String
|
|
18827
18965
|
|
|
18828
18966
|
attr_accessor :VpnGatewayIds, :AutoRenewFlag, :Type
|
|
@@ -20190,25 +20328,25 @@ module TencentCloud
|
|
|
20190
20328
|
end
|
|
20191
20329
|
end
|
|
20192
20330
|
|
|
20193
|
-
#
|
|
20331
|
+
# VPN网关目的路由
|
|
20194
20332
|
class VpnGatewayRoute < TencentCloud::Common::AbstractModel
|
|
20195
|
-
# @param DestinationCidrBlock: 目的端IDC
|
|
20333
|
+
# @param DestinationCidrBlock: 目的端IDC网段。
|
|
20196
20334
|
# @type DestinationCidrBlock: String
|
|
20197
|
-
# @param InstanceType:
|
|
20335
|
+
# @param InstanceType: 下一跳类型(关联实例类型)可选值:"VPNCONN"(VPN通道), "CCN"(CCN实例)。
|
|
20198
20336
|
# @type InstanceType: String
|
|
20199
|
-
# @param InstanceId: 下一跳实例ID
|
|
20337
|
+
# @param InstanceId: 下一跳实例ID。
|
|
20200
20338
|
# @type InstanceId: String
|
|
20201
|
-
# @param Priority:
|
|
20339
|
+
# @param Priority: 优先级,可选值:0,100。
|
|
20202
20340
|
# @type Priority: Integer
|
|
20203
|
-
# @param Status:
|
|
20341
|
+
# @param Status: 启用状态,可选值:"ENABLE"(启用),"DISABLE" (禁用)。
|
|
20204
20342
|
# @type Status: String
|
|
20205
|
-
# @param RouteId: 路由条目ID
|
|
20343
|
+
# @param RouteId: 路由条目ID。
|
|
20206
20344
|
# @type RouteId: String
|
|
20207
|
-
# @param Type:
|
|
20345
|
+
# @param Type: 路由类型,可选值:"VPC"(VPC路由),"CCN"(云联网传播路由),"Static"(静态路由),"BGP"(BGP路由)。
|
|
20208
20346
|
# @type Type: String
|
|
20209
|
-
# @param CreateTime:
|
|
20347
|
+
# @param CreateTime: 创建时间。
|
|
20210
20348
|
# @type CreateTime: String
|
|
20211
|
-
# @param UpdateTime:
|
|
20349
|
+
# @param UpdateTime: 更新时间。
|
|
20212
20350
|
# @type UpdateTime: String
|
|
20213
20351
|
|
|
20214
20352
|
attr_accessor :DestinationCidrBlock, :InstanceType, :InstanceId, :Priority, :Status, :RouteId, :Type, :CreateTime, :UpdateTime
|
|
@@ -20240,9 +20378,9 @@ module TencentCloud
|
|
|
20240
20378
|
|
|
20241
20379
|
# 修改VPN状态参数
|
|
20242
20380
|
class VpnGatewayRouteModify < TencentCloud::Common::AbstractModel
|
|
20243
|
-
# @param RouteId:
|
|
20381
|
+
# @param RouteId: VPN网关路由ID。
|
|
20244
20382
|
# @type RouteId: String
|
|
20245
|
-
# @param Status:
|
|
20383
|
+
# @param Status: VPN网关状态, ENABLE 启用, DISABLE禁用。
|
|
20246
20384
|
# @type Status: String
|
|
20247
20385
|
|
|
20248
20386
|
attr_accessor :RouteId, :Status
|
|
@@ -20260,13 +20398,13 @@ module TencentCloud
|
|
|
20260
20398
|
|
|
20261
20399
|
# VPN网关云联网路由信息
|
|
20262
20400
|
class VpngwCcnRoutes < TencentCloud::Common::AbstractModel
|
|
20263
|
-
# @param RouteId: 路由信息ID
|
|
20401
|
+
# @param RouteId: 路由信息ID。
|
|
20264
20402
|
# @type RouteId: String
|
|
20265
|
-
# @param Status:
|
|
20403
|
+
# @param Status: 路由信息是否启用。
|
|
20266
20404
|
# ENABLE:启用该路由
|
|
20267
20405
|
# DISABLE:不启用该路由
|
|
20268
20406
|
# @type Status: String
|
|
20269
|
-
# @param DestinationCidrBlock: 路由CIDR
|
|
20407
|
+
# @param DestinationCidrBlock: 路由CIDR。
|
|
20270
20408
|
# @type DestinationCidrBlock: String
|
|
20271
20409
|
|
|
20272
20410
|
attr_accessor :RouteId, :Status, :DestinationCidrBlock
|
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.542
|
|
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-03
|
|
11
|
+
date: 2023-04-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|