tencentcloud-sdk-vpc 3.0.1152 → 3.0.1157
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 +288 -0
- data/lib/v20170312/models.rb +725 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d52505505bb2da5f924a71adf33bfd547ed2467d
|
|
4
|
+
data.tar.gz: e340eebb0ef8665c688b8286ddc778bcfc4b40c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e4e0e8d5edc8ebf12a0be0ac0ad9ff8b0e201761a0f6a3067680b527307ac0099bf610a8bb3cf26540d3100549ea94a295c079583f5ea6b7d8b06082ed82775b
|
|
7
|
+
data.tar.gz: f91568e588002f64209b3d9aca0fabda4b6db831ba5620b4cab4850575c43b344eee588f005c811229eaf603dd3a391caf6e4c01816570fbef622fe69f2392b9
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1157
|
data/lib/v20170312/client.rb
CHANGED
|
@@ -1770,6 +1770,78 @@ module TencentCloud
|
|
|
1770
1770
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1771
1771
|
end
|
|
1772
1772
|
|
|
1773
|
+
# 创建VPC路由接收策略,包括名字,描述和策略条目。
|
|
1774
|
+
|
|
1775
|
+
# @param request: Request instance for CreateRoutePolicy.
|
|
1776
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::CreateRoutePolicyRequest`
|
|
1777
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::CreateRoutePolicyResponse`
|
|
1778
|
+
def CreateRoutePolicy(request)
|
|
1779
|
+
body = send_request('CreateRoutePolicy', request.serialize)
|
|
1780
|
+
response = JSON.parse(body)
|
|
1781
|
+
if response['Response'].key?('Error') == false
|
|
1782
|
+
model = CreateRoutePolicyResponse.new
|
|
1783
|
+
model.deserialize(response['Response'])
|
|
1784
|
+
model
|
|
1785
|
+
else
|
|
1786
|
+
code = response['Response']['Error']['Code']
|
|
1787
|
+
message = response['Response']['Error']['Message']
|
|
1788
|
+
reqid = response['Response']['RequestId']
|
|
1789
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1790
|
+
end
|
|
1791
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1792
|
+
raise e
|
|
1793
|
+
rescue StandardError => e
|
|
1794
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1795
|
+
end
|
|
1796
|
+
|
|
1797
|
+
# 本接口(CreateRoutePolicyAssociations)用于创建路由接收策略绑定(路由策略实例和路由表实例的绑定关系以及绑定优先级)。
|
|
1798
|
+
|
|
1799
|
+
# @param request: Request instance for CreateRoutePolicyAssociations.
|
|
1800
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::CreateRoutePolicyAssociationsRequest`
|
|
1801
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::CreateRoutePolicyAssociationsResponse`
|
|
1802
|
+
def CreateRoutePolicyAssociations(request)
|
|
1803
|
+
body = send_request('CreateRoutePolicyAssociations', request.serialize)
|
|
1804
|
+
response = JSON.parse(body)
|
|
1805
|
+
if response['Response'].key?('Error') == false
|
|
1806
|
+
model = CreateRoutePolicyAssociationsResponse.new
|
|
1807
|
+
model.deserialize(response['Response'])
|
|
1808
|
+
model
|
|
1809
|
+
else
|
|
1810
|
+
code = response['Response']['Error']['Code']
|
|
1811
|
+
message = response['Response']['Error']['Message']
|
|
1812
|
+
reqid = response['Response']['RequestId']
|
|
1813
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1814
|
+
end
|
|
1815
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1816
|
+
raise e
|
|
1817
|
+
rescue StandardError => e
|
|
1818
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1819
|
+
end
|
|
1820
|
+
|
|
1821
|
+
# 本接口(CreateRoutePolicyEntries)用于创建路由接收策略条目。
|
|
1822
|
+
|
|
1823
|
+
# @param request: Request instance for CreateRoutePolicyEntries.
|
|
1824
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::CreateRoutePolicyEntriesRequest`
|
|
1825
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::CreateRoutePolicyEntriesResponse`
|
|
1826
|
+
def CreateRoutePolicyEntries(request)
|
|
1827
|
+
body = send_request('CreateRoutePolicyEntries', request.serialize)
|
|
1828
|
+
response = JSON.parse(body)
|
|
1829
|
+
if response['Response'].key?('Error') == false
|
|
1830
|
+
model = CreateRoutePolicyEntriesResponse.new
|
|
1831
|
+
model.deserialize(response['Response'])
|
|
1832
|
+
model
|
|
1833
|
+
else
|
|
1834
|
+
code = response['Response']['Error']['Code']
|
|
1835
|
+
message = response['Response']['Error']['Message']
|
|
1836
|
+
reqid = response['Response']['RequestId']
|
|
1837
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1838
|
+
end
|
|
1839
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1840
|
+
raise e
|
|
1841
|
+
rescue StandardError => e
|
|
1842
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1843
|
+
end
|
|
1844
|
+
|
|
1773
1845
|
# 本接口(CreateRouteTable)用于创建路由表。
|
|
1774
1846
|
# * 创建了VPC后,系统会创建一个默认路由表,所有新建的子网都会关联到默认路由表。默认情况下您可以直接使用默认路由表来管理您的路由策略。当您的路由策略较多时,您可以调用创建路由表接口创建更多路由表管理您的路由策略。
|
|
1775
1847
|
# * 创建路由表同时可以绑定标签, 应答里的标签列表代表添加成功的标签。
|
|
@@ -3138,6 +3210,78 @@ module TencentCloud
|
|
|
3138
3210
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3139
3211
|
end
|
|
3140
3212
|
|
|
3213
|
+
# 本接口(DeleteRoutePolicy)用于删除路由接收策略和条目。
|
|
3214
|
+
|
|
3215
|
+
# @param request: Request instance for DeleteRoutePolicy.
|
|
3216
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DeleteRoutePolicyRequest`
|
|
3217
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DeleteRoutePolicyResponse`
|
|
3218
|
+
def DeleteRoutePolicy(request)
|
|
3219
|
+
body = send_request('DeleteRoutePolicy', request.serialize)
|
|
3220
|
+
response = JSON.parse(body)
|
|
3221
|
+
if response['Response'].key?('Error') == false
|
|
3222
|
+
model = DeleteRoutePolicyResponse.new
|
|
3223
|
+
model.deserialize(response['Response'])
|
|
3224
|
+
model
|
|
3225
|
+
else
|
|
3226
|
+
code = response['Response']['Error']['Code']
|
|
3227
|
+
message = response['Response']['Error']['Message']
|
|
3228
|
+
reqid = response['Response']['RequestId']
|
|
3229
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
3230
|
+
end
|
|
3231
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
3232
|
+
raise e
|
|
3233
|
+
rescue StandardError => e
|
|
3234
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3235
|
+
end
|
|
3236
|
+
|
|
3237
|
+
# 本接口(DeleteRoutePolicyAssociations)用于删除路由接收策略绑定(路由接收策略对象和路由表的绑定关系)。
|
|
3238
|
+
|
|
3239
|
+
# @param request: Request instance for DeleteRoutePolicyAssociations.
|
|
3240
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DeleteRoutePolicyAssociationsRequest`
|
|
3241
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DeleteRoutePolicyAssociationsResponse`
|
|
3242
|
+
def DeleteRoutePolicyAssociations(request)
|
|
3243
|
+
body = send_request('DeleteRoutePolicyAssociations', request.serialize)
|
|
3244
|
+
response = JSON.parse(body)
|
|
3245
|
+
if response['Response'].key?('Error') == false
|
|
3246
|
+
model = DeleteRoutePolicyAssociationsResponse.new
|
|
3247
|
+
model.deserialize(response['Response'])
|
|
3248
|
+
model
|
|
3249
|
+
else
|
|
3250
|
+
code = response['Response']['Error']['Code']
|
|
3251
|
+
message = response['Response']['Error']['Message']
|
|
3252
|
+
reqid = response['Response']['RequestId']
|
|
3253
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
3254
|
+
end
|
|
3255
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
3256
|
+
raise e
|
|
3257
|
+
rescue StandardError => e
|
|
3258
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3259
|
+
end
|
|
3260
|
+
|
|
3261
|
+
# 本接口(DeleteRoutePolicyEntries)用于删除路由接收策略条目。
|
|
3262
|
+
|
|
3263
|
+
# @param request: Request instance for DeleteRoutePolicyEntries.
|
|
3264
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DeleteRoutePolicyEntriesRequest`
|
|
3265
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DeleteRoutePolicyEntriesResponse`
|
|
3266
|
+
def DeleteRoutePolicyEntries(request)
|
|
3267
|
+
body = send_request('DeleteRoutePolicyEntries', request.serialize)
|
|
3268
|
+
response = JSON.parse(body)
|
|
3269
|
+
if response['Response'].key?('Error') == false
|
|
3270
|
+
model = DeleteRoutePolicyEntriesResponse.new
|
|
3271
|
+
model.deserialize(response['Response'])
|
|
3272
|
+
model
|
|
3273
|
+
else
|
|
3274
|
+
code = response['Response']['Error']['Code']
|
|
3275
|
+
message = response['Response']['Error']['Message']
|
|
3276
|
+
reqid = response['Response']['RequestId']
|
|
3277
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
3278
|
+
end
|
|
3279
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
3280
|
+
raise e
|
|
3281
|
+
rescue StandardError => e
|
|
3282
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3283
|
+
end
|
|
3284
|
+
|
|
3141
3285
|
# 本接口(DeleteRouteTable)用于删除路由表。
|
|
3142
3286
|
|
|
3143
3287
|
# @param request: Request instance for DeleteRouteTable.
|
|
@@ -5378,6 +5522,30 @@ module TencentCloud
|
|
|
5378
5522
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
5379
5523
|
end
|
|
5380
5524
|
|
|
5525
|
+
# 本接口(DescribeRoutePolicyEntries)用于查询路由接收策略条目列表。
|
|
5526
|
+
|
|
5527
|
+
# @param request: Request instance for DescribeRoutePolicyEntries.
|
|
5528
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeRoutePolicyEntriesRequest`
|
|
5529
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeRoutePolicyEntriesResponse`
|
|
5530
|
+
def DescribeRoutePolicyEntries(request)
|
|
5531
|
+
body = send_request('DescribeRoutePolicyEntries', request.serialize)
|
|
5532
|
+
response = JSON.parse(body)
|
|
5533
|
+
if response['Response'].key?('Error') == false
|
|
5534
|
+
model = DescribeRoutePolicyEntriesResponse.new
|
|
5535
|
+
model.deserialize(response['Response'])
|
|
5536
|
+
model
|
|
5537
|
+
else
|
|
5538
|
+
code = response['Response']['Error']['Code']
|
|
5539
|
+
message = response['Response']['Error']['Message']
|
|
5540
|
+
reqid = response['Response']['RequestId']
|
|
5541
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
5542
|
+
end
|
|
5543
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
5544
|
+
raise e
|
|
5545
|
+
rescue StandardError => e
|
|
5546
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
5547
|
+
end
|
|
5548
|
+
|
|
5381
5549
|
# 本接口(DescribeRouteTableAssociatedInstances)用于查询指定的云联网关联的实例所绑定的路由表信息。
|
|
5382
5550
|
|
|
5383
5551
|
# @param request: Request instance for DescribeRouteTableAssociatedInstances.
|
|
@@ -8725,6 +8893,30 @@ module TencentCloud
|
|
|
8725
8893
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
8726
8894
|
end
|
|
8727
8895
|
|
|
8896
|
+
# 本接口(ModifyRoutePolicyAttribute)用于修改路由接收策略属性属性。
|
|
8897
|
+
|
|
8898
|
+
# @param request: Request instance for ModifyRoutePolicyAttribute.
|
|
8899
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ModifyRoutePolicyAttributeRequest`
|
|
8900
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ModifyRoutePolicyAttributeResponse`
|
|
8901
|
+
def ModifyRoutePolicyAttribute(request)
|
|
8902
|
+
body = send_request('ModifyRoutePolicyAttribute', request.serialize)
|
|
8903
|
+
response = JSON.parse(body)
|
|
8904
|
+
if response['Response'].key?('Error') == false
|
|
8905
|
+
model = ModifyRoutePolicyAttributeResponse.new
|
|
8906
|
+
model.deserialize(response['Response'])
|
|
8907
|
+
model
|
|
8908
|
+
else
|
|
8909
|
+
code = response['Response']['Error']['Code']
|
|
8910
|
+
message = response['Response']['Error']['Message']
|
|
8911
|
+
reqid = response['Response']['RequestId']
|
|
8912
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
8913
|
+
end
|
|
8914
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
8915
|
+
raise e
|
|
8916
|
+
rescue StandardError => e
|
|
8917
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
8918
|
+
end
|
|
8919
|
+
|
|
8728
8920
|
# 本接口(ModifyRouteTableAttribute)用于修改路由表(RouteTable)属性。
|
|
8729
8921
|
|
|
8730
8922
|
# @param request: Request instance for ModifyRouteTableAttribute.
|
|
@@ -9677,6 +9869,54 @@ module TencentCloud
|
|
|
9677
9869
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
9678
9870
|
end
|
|
9679
9871
|
|
|
9872
|
+
# 本接口(ReplaceRoutePolicyAssociations)根据路由接收策略实例ID(RoutePolicyId)和路由表实例ID(RouteTableId)修改绑定优先级(Priority),支持批量修改。
|
|
9873
|
+
|
|
9874
|
+
# @param request: Request instance for ReplaceRoutePolicyAssociations.
|
|
9875
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ReplaceRoutePolicyAssociationsRequest`
|
|
9876
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ReplaceRoutePolicyAssociationsResponse`
|
|
9877
|
+
def ReplaceRoutePolicyAssociations(request)
|
|
9878
|
+
body = send_request('ReplaceRoutePolicyAssociations', request.serialize)
|
|
9879
|
+
response = JSON.parse(body)
|
|
9880
|
+
if response['Response'].key?('Error') == false
|
|
9881
|
+
model = ReplaceRoutePolicyAssociationsResponse.new
|
|
9882
|
+
model.deserialize(response['Response'])
|
|
9883
|
+
model
|
|
9884
|
+
else
|
|
9885
|
+
code = response['Response']['Error']['Code']
|
|
9886
|
+
message = response['Response']['Error']['Message']
|
|
9887
|
+
reqid = response['Response']['RequestId']
|
|
9888
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
9889
|
+
end
|
|
9890
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
9891
|
+
raise e
|
|
9892
|
+
rescue StandardError => e
|
|
9893
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
9894
|
+
end
|
|
9895
|
+
|
|
9896
|
+
# 本接口(ReplaceRoutePolicyEntries)根据路由接收策略规则ID(RoutePolicyEntryId)修改指定的路由策略条目(RoutePolicyEntry),支持批量修改。
|
|
9897
|
+
|
|
9898
|
+
# @param request: Request instance for ReplaceRoutePolicyEntries.
|
|
9899
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ReplaceRoutePolicyEntriesRequest`
|
|
9900
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ReplaceRoutePolicyEntriesResponse`
|
|
9901
|
+
def ReplaceRoutePolicyEntries(request)
|
|
9902
|
+
body = send_request('ReplaceRoutePolicyEntries', request.serialize)
|
|
9903
|
+
response = JSON.parse(body)
|
|
9904
|
+
if response['Response'].key?('Error') == false
|
|
9905
|
+
model = ReplaceRoutePolicyEntriesResponse.new
|
|
9906
|
+
model.deserialize(response['Response'])
|
|
9907
|
+
model
|
|
9908
|
+
else
|
|
9909
|
+
code = response['Response']['Error']['Code']
|
|
9910
|
+
message = response['Response']['Error']['Message']
|
|
9911
|
+
reqid = response['Response']['RequestId']
|
|
9912
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
9913
|
+
end
|
|
9914
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
9915
|
+
raise e
|
|
9916
|
+
rescue StandardError => e
|
|
9917
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
9918
|
+
end
|
|
9919
|
+
|
|
9680
9920
|
# 本接口(ReplaceRouteTableAssociation)用于修改子网(Subnet)关联的路由表(RouteTable)。
|
|
9681
9921
|
# * 一个子网只能关联一个路由表。
|
|
9682
9922
|
|
|
@@ -9848,6 +10088,54 @@ module TencentCloud
|
|
|
9848
10088
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
9849
10089
|
end
|
|
9850
10090
|
|
|
10091
|
+
# 本接口(ResetRoutePolicyAssociations)用于对某个路由表实例已经绑定的路由策略实例解除绑定关系,并重新设置新的绑定路由策略及优先级。<br />
|
|
10092
|
+
|
|
10093
|
+
# @param request: Request instance for ResetRoutePolicyAssociations.
|
|
10094
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ResetRoutePolicyAssociationsRequest`
|
|
10095
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ResetRoutePolicyAssociationsResponse`
|
|
10096
|
+
def ResetRoutePolicyAssociations(request)
|
|
10097
|
+
body = send_request('ResetRoutePolicyAssociations', request.serialize)
|
|
10098
|
+
response = JSON.parse(body)
|
|
10099
|
+
if response['Response'].key?('Error') == false
|
|
10100
|
+
model = ResetRoutePolicyAssociationsResponse.new
|
|
10101
|
+
model.deserialize(response['Response'])
|
|
10102
|
+
model
|
|
10103
|
+
else
|
|
10104
|
+
code = response['Response']['Error']['Code']
|
|
10105
|
+
message = response['Response']['Error']['Message']
|
|
10106
|
+
reqid = response['Response']['RequestId']
|
|
10107
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
10108
|
+
end
|
|
10109
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
10110
|
+
raise e
|
|
10111
|
+
rescue StandardError => e
|
|
10112
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
10113
|
+
end
|
|
10114
|
+
|
|
10115
|
+
# 本接口(ResetRoutePolicyEntries)根据路由接收策略规则ID(RoutePolicyId)重置指定的路由接收策略条目(RoutePolicyEntry),支持批量修改。
|
|
10116
|
+
|
|
10117
|
+
# @param request: Request instance for ResetRoutePolicyEntries.
|
|
10118
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ResetRoutePolicyEntriesRequest`
|
|
10119
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ResetRoutePolicyEntriesResponse`
|
|
10120
|
+
def ResetRoutePolicyEntries(request)
|
|
10121
|
+
body = send_request('ResetRoutePolicyEntries', request.serialize)
|
|
10122
|
+
response = JSON.parse(body)
|
|
10123
|
+
if response['Response'].key?('Error') == false
|
|
10124
|
+
model = ResetRoutePolicyEntriesResponse.new
|
|
10125
|
+
model.deserialize(response['Response'])
|
|
10126
|
+
model
|
|
10127
|
+
else
|
|
10128
|
+
code = response['Response']['Error']['Code']
|
|
10129
|
+
message = response['Response']['Error']['Message']
|
|
10130
|
+
reqid = response['Response']['RequestId']
|
|
10131
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
10132
|
+
end
|
|
10133
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
10134
|
+
raise e
|
|
10135
|
+
rescue StandardError => e
|
|
10136
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
10137
|
+
end
|
|
10138
|
+
|
|
9851
10139
|
# 本接口(ResetRoutes)用于对某个路由表名称和所有路由策略(Route)进行重新设置。<br /> 注意: 调用本接口时先删除当前路由表中所有路由策略, 再保存新提交的路由策略内容, 会引起网络中断。
|
|
9852
10140
|
|
|
9853
10141
|
# @param request: Request instance for ResetRoutes.
|
data/lib/v20170312/models.rb
CHANGED
|
@@ -5571,6 +5571,142 @@ module TencentCloud
|
|
|
5571
5571
|
end
|
|
5572
5572
|
end
|
|
5573
5573
|
|
|
5574
|
+
# CreateRoutePolicyAssociations请求参数结构体
|
|
5575
|
+
class CreateRoutePolicyAssociationsRequest < TencentCloud::Common::AbstractModel
|
|
5576
|
+
# @param RoutePolicyAssociationSet: 路由接收策略绑定对象列表。
|
|
5577
|
+
# @type RoutePolicyAssociationSet: Array
|
|
5578
|
+
|
|
5579
|
+
attr_accessor :RoutePolicyAssociationSet
|
|
5580
|
+
|
|
5581
|
+
def initialize(routepolicyassociationset=nil)
|
|
5582
|
+
@RoutePolicyAssociationSet = routepolicyassociationset
|
|
5583
|
+
end
|
|
5584
|
+
|
|
5585
|
+
def deserialize(params)
|
|
5586
|
+
unless params['RoutePolicyAssociationSet'].nil?
|
|
5587
|
+
@RoutePolicyAssociationSet = []
|
|
5588
|
+
params['RoutePolicyAssociationSet'].each do |i|
|
|
5589
|
+
routepolicyassociation_tmp = RoutePolicyAssociation.new
|
|
5590
|
+
routepolicyassociation_tmp.deserialize(i)
|
|
5591
|
+
@RoutePolicyAssociationSet << routepolicyassociation_tmp
|
|
5592
|
+
end
|
|
5593
|
+
end
|
|
5594
|
+
end
|
|
5595
|
+
end
|
|
5596
|
+
|
|
5597
|
+
# CreateRoutePolicyAssociations返回参数结构体
|
|
5598
|
+
class CreateRoutePolicyAssociationsResponse < TencentCloud::Common::AbstractModel
|
|
5599
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5600
|
+
# @type RequestId: String
|
|
5601
|
+
|
|
5602
|
+
attr_accessor :RequestId
|
|
5603
|
+
|
|
5604
|
+
def initialize(requestid=nil)
|
|
5605
|
+
@RequestId = requestid
|
|
5606
|
+
end
|
|
5607
|
+
|
|
5608
|
+
def deserialize(params)
|
|
5609
|
+
@RequestId = params['RequestId']
|
|
5610
|
+
end
|
|
5611
|
+
end
|
|
5612
|
+
|
|
5613
|
+
# CreateRoutePolicyEntries请求参数结构体
|
|
5614
|
+
class CreateRoutePolicyEntriesRequest < TencentCloud::Common::AbstractModel
|
|
5615
|
+
# @param RoutePolicyId: 路由接收策略实例ID。
|
|
5616
|
+
# @type RoutePolicyId: String
|
|
5617
|
+
# @param RoutePolicyEntrySet: 路由接收策略条目列表。
|
|
5618
|
+
# @type RoutePolicyEntrySet: Array
|
|
5619
|
+
|
|
5620
|
+
attr_accessor :RoutePolicyId, :RoutePolicyEntrySet
|
|
5621
|
+
|
|
5622
|
+
def initialize(routepolicyid=nil, routepolicyentryset=nil)
|
|
5623
|
+
@RoutePolicyId = routepolicyid
|
|
5624
|
+
@RoutePolicyEntrySet = routepolicyentryset
|
|
5625
|
+
end
|
|
5626
|
+
|
|
5627
|
+
def deserialize(params)
|
|
5628
|
+
@RoutePolicyId = params['RoutePolicyId']
|
|
5629
|
+
unless params['RoutePolicyEntrySet'].nil?
|
|
5630
|
+
@RoutePolicyEntrySet = []
|
|
5631
|
+
params['RoutePolicyEntrySet'].each do |i|
|
|
5632
|
+
routepolicyentry_tmp = RoutePolicyEntry.new
|
|
5633
|
+
routepolicyentry_tmp.deserialize(i)
|
|
5634
|
+
@RoutePolicyEntrySet << routepolicyentry_tmp
|
|
5635
|
+
end
|
|
5636
|
+
end
|
|
5637
|
+
end
|
|
5638
|
+
end
|
|
5639
|
+
|
|
5640
|
+
# CreateRoutePolicyEntries返回参数结构体
|
|
5641
|
+
class CreateRoutePolicyEntriesResponse < TencentCloud::Common::AbstractModel
|
|
5642
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5643
|
+
# @type RequestId: String
|
|
5644
|
+
|
|
5645
|
+
attr_accessor :RequestId
|
|
5646
|
+
|
|
5647
|
+
def initialize(requestid=nil)
|
|
5648
|
+
@RequestId = requestid
|
|
5649
|
+
end
|
|
5650
|
+
|
|
5651
|
+
def deserialize(params)
|
|
5652
|
+
@RequestId = params['RequestId']
|
|
5653
|
+
end
|
|
5654
|
+
end
|
|
5655
|
+
|
|
5656
|
+
# CreateRoutePolicy请求参数结构体
|
|
5657
|
+
class CreateRoutePolicyRequest < TencentCloud::Common::AbstractModel
|
|
5658
|
+
# @param RoutePolicyDescription: 路由策略描述。
|
|
5659
|
+
# @type RoutePolicyDescription: String
|
|
5660
|
+
# @param RoutePolicyName: 路由策略名。
|
|
5661
|
+
# @type RoutePolicyName: String
|
|
5662
|
+
# @param RoutePolicyEntrySet: 路由策略条目列表。
|
|
5663
|
+
# @type RoutePolicyEntrySet: Array
|
|
5664
|
+
|
|
5665
|
+
attr_accessor :RoutePolicyDescription, :RoutePolicyName, :RoutePolicyEntrySet
|
|
5666
|
+
|
|
5667
|
+
def initialize(routepolicydescription=nil, routepolicyname=nil, routepolicyentryset=nil)
|
|
5668
|
+
@RoutePolicyDescription = routepolicydescription
|
|
5669
|
+
@RoutePolicyName = routepolicyname
|
|
5670
|
+
@RoutePolicyEntrySet = routepolicyentryset
|
|
5671
|
+
end
|
|
5672
|
+
|
|
5673
|
+
def deserialize(params)
|
|
5674
|
+
@RoutePolicyDescription = params['RoutePolicyDescription']
|
|
5675
|
+
@RoutePolicyName = params['RoutePolicyName']
|
|
5676
|
+
unless params['RoutePolicyEntrySet'].nil?
|
|
5677
|
+
@RoutePolicyEntrySet = []
|
|
5678
|
+
params['RoutePolicyEntrySet'].each do |i|
|
|
5679
|
+
routepolicyentry_tmp = RoutePolicyEntry.new
|
|
5680
|
+
routepolicyentry_tmp.deserialize(i)
|
|
5681
|
+
@RoutePolicyEntrySet << routepolicyentry_tmp
|
|
5682
|
+
end
|
|
5683
|
+
end
|
|
5684
|
+
end
|
|
5685
|
+
end
|
|
5686
|
+
|
|
5687
|
+
# CreateRoutePolicy返回参数结构体
|
|
5688
|
+
class CreateRoutePolicyResponse < TencentCloud::Common::AbstractModel
|
|
5689
|
+
# @param RoutePolicy: 路由策略ID及规则。
|
|
5690
|
+
# @type RoutePolicy: :class:`Tencentcloud::Vpc.v20170312.models.RoutePolicy`
|
|
5691
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5692
|
+
# @type RequestId: String
|
|
5693
|
+
|
|
5694
|
+
attr_accessor :RoutePolicy, :RequestId
|
|
5695
|
+
|
|
5696
|
+
def initialize(routepolicy=nil, requestid=nil)
|
|
5697
|
+
@RoutePolicy = routepolicy
|
|
5698
|
+
@RequestId = requestid
|
|
5699
|
+
end
|
|
5700
|
+
|
|
5701
|
+
def deserialize(params)
|
|
5702
|
+
unless params['RoutePolicy'].nil?
|
|
5703
|
+
@RoutePolicy = RoutePolicy.new
|
|
5704
|
+
@RoutePolicy.deserialize(params['RoutePolicy'])
|
|
5705
|
+
end
|
|
5706
|
+
@RequestId = params['RequestId']
|
|
5707
|
+
end
|
|
5708
|
+
end
|
|
5709
|
+
|
|
5574
5710
|
# CreateRouteTable请求参数结构体
|
|
5575
5711
|
class CreateRouteTableRequest < TencentCloud::Common::AbstractModel
|
|
5576
5712
|
# @param VpcId: 待操作的VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
|
|
@@ -8538,6 +8674,120 @@ module TencentCloud
|
|
|
8538
8674
|
end
|
|
8539
8675
|
end
|
|
8540
8676
|
|
|
8677
|
+
# DeleteRoutePolicyAssociations请求参数结构体
|
|
8678
|
+
class DeleteRoutePolicyAssociationsRequest < TencentCloud::Common::AbstractModel
|
|
8679
|
+
# @param RoutePolicyAssociationSet: 路由策略绑定对象列表,删除路由策略绑定时,仅需使用RoutePolicyAssociation的RouteTableId字段和RoutePolicyId字段(不需要填写Priority字段)。
|
|
8680
|
+
# @type RoutePolicyAssociationSet: Array
|
|
8681
|
+
|
|
8682
|
+
attr_accessor :RoutePolicyAssociationSet
|
|
8683
|
+
|
|
8684
|
+
def initialize(routepolicyassociationset=nil)
|
|
8685
|
+
@RoutePolicyAssociationSet = routepolicyassociationset
|
|
8686
|
+
end
|
|
8687
|
+
|
|
8688
|
+
def deserialize(params)
|
|
8689
|
+
unless params['RoutePolicyAssociationSet'].nil?
|
|
8690
|
+
@RoutePolicyAssociationSet = []
|
|
8691
|
+
params['RoutePolicyAssociationSet'].each do |i|
|
|
8692
|
+
routepolicyassociation_tmp = RoutePolicyAssociation.new
|
|
8693
|
+
routepolicyassociation_tmp.deserialize(i)
|
|
8694
|
+
@RoutePolicyAssociationSet << routepolicyassociation_tmp
|
|
8695
|
+
end
|
|
8696
|
+
end
|
|
8697
|
+
end
|
|
8698
|
+
end
|
|
8699
|
+
|
|
8700
|
+
# DeleteRoutePolicyAssociations返回参数结构体
|
|
8701
|
+
class DeleteRoutePolicyAssociationsResponse < TencentCloud::Common::AbstractModel
|
|
8702
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8703
|
+
# @type RequestId: String
|
|
8704
|
+
|
|
8705
|
+
attr_accessor :RequestId
|
|
8706
|
+
|
|
8707
|
+
def initialize(requestid=nil)
|
|
8708
|
+
@RequestId = requestid
|
|
8709
|
+
end
|
|
8710
|
+
|
|
8711
|
+
def deserialize(params)
|
|
8712
|
+
@RequestId = params['RequestId']
|
|
8713
|
+
end
|
|
8714
|
+
end
|
|
8715
|
+
|
|
8716
|
+
# DeleteRoutePolicyEntries请求参数结构体
|
|
8717
|
+
class DeleteRoutePolicyEntriesRequest < TencentCloud::Common::AbstractModel
|
|
8718
|
+
# @param RoutePolicyId: 路由接收策略实例ID。
|
|
8719
|
+
# @type RoutePolicyId: String
|
|
8720
|
+
# @param RoutePolicyEntrySet: 路由接收策略条目列表,删除路由策略规则时,仅需使用RoutePolicyEntry的RoutePolicyEntryIdId字段。
|
|
8721
|
+
# @type RoutePolicyEntrySet: Array
|
|
8722
|
+
|
|
8723
|
+
attr_accessor :RoutePolicyId, :RoutePolicyEntrySet
|
|
8724
|
+
|
|
8725
|
+
def initialize(routepolicyid=nil, routepolicyentryset=nil)
|
|
8726
|
+
@RoutePolicyId = routepolicyid
|
|
8727
|
+
@RoutePolicyEntrySet = routepolicyentryset
|
|
8728
|
+
end
|
|
8729
|
+
|
|
8730
|
+
def deserialize(params)
|
|
8731
|
+
@RoutePolicyId = params['RoutePolicyId']
|
|
8732
|
+
unless params['RoutePolicyEntrySet'].nil?
|
|
8733
|
+
@RoutePolicyEntrySet = []
|
|
8734
|
+
params['RoutePolicyEntrySet'].each do |i|
|
|
8735
|
+
routepolicyentry_tmp = RoutePolicyEntry.new
|
|
8736
|
+
routepolicyentry_tmp.deserialize(i)
|
|
8737
|
+
@RoutePolicyEntrySet << routepolicyentry_tmp
|
|
8738
|
+
end
|
|
8739
|
+
end
|
|
8740
|
+
end
|
|
8741
|
+
end
|
|
8742
|
+
|
|
8743
|
+
# DeleteRoutePolicyEntries返回参数结构体
|
|
8744
|
+
class DeleteRoutePolicyEntriesResponse < TencentCloud::Common::AbstractModel
|
|
8745
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8746
|
+
# @type RequestId: String
|
|
8747
|
+
|
|
8748
|
+
attr_accessor :RequestId
|
|
8749
|
+
|
|
8750
|
+
def initialize(requestid=nil)
|
|
8751
|
+
@RequestId = requestid
|
|
8752
|
+
end
|
|
8753
|
+
|
|
8754
|
+
def deserialize(params)
|
|
8755
|
+
@RequestId = params['RequestId']
|
|
8756
|
+
end
|
|
8757
|
+
end
|
|
8758
|
+
|
|
8759
|
+
# DeleteRoutePolicy请求参数结构体
|
|
8760
|
+
class DeleteRoutePolicyRequest < TencentCloud::Common::AbstractModel
|
|
8761
|
+
# @param RoutePolicyId: 路由接收策略唯一ID。
|
|
8762
|
+
# @type RoutePolicyId: String
|
|
8763
|
+
|
|
8764
|
+
attr_accessor :RoutePolicyId
|
|
8765
|
+
|
|
8766
|
+
def initialize(routepolicyid=nil)
|
|
8767
|
+
@RoutePolicyId = routepolicyid
|
|
8768
|
+
end
|
|
8769
|
+
|
|
8770
|
+
def deserialize(params)
|
|
8771
|
+
@RoutePolicyId = params['RoutePolicyId']
|
|
8772
|
+
end
|
|
8773
|
+
end
|
|
8774
|
+
|
|
8775
|
+
# DeleteRoutePolicy返回参数结构体
|
|
8776
|
+
class DeleteRoutePolicyResponse < TencentCloud::Common::AbstractModel
|
|
8777
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8778
|
+
# @type RequestId: String
|
|
8779
|
+
|
|
8780
|
+
attr_accessor :RequestId
|
|
8781
|
+
|
|
8782
|
+
def initialize(requestid=nil)
|
|
8783
|
+
@RequestId = requestid
|
|
8784
|
+
end
|
|
8785
|
+
|
|
8786
|
+
def deserialize(params)
|
|
8787
|
+
@RequestId = params['RequestId']
|
|
8788
|
+
end
|
|
8789
|
+
end
|
|
8790
|
+
|
|
8541
8791
|
# DeleteRouteTable请求参数结构体
|
|
8542
8792
|
class DeleteRouteTableRequest < TencentCloud::Common::AbstractModel
|
|
8543
8793
|
# @param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
|
@@ -13730,6 +13980,91 @@ module TencentCloud
|
|
|
13730
13980
|
end
|
|
13731
13981
|
end
|
|
13732
13982
|
|
|
13983
|
+
# DescribeRoutePolicyEntries请求参数结构体
|
|
13984
|
+
class DescribeRoutePolicyEntriesRequest < TencentCloud::Common::AbstractModel
|
|
13985
|
+
# @param Filters: 过滤条件,参数不支持同时指定RoutePolicyEntryIds和Filters。
|
|
13986
|
+
# <li>route-policy-id - String - (过滤条件)路由接收策略实例ID,形如:rrp-f49l6u0z。</li>
|
|
13987
|
+
# <li>cidr-block - String - (过滤条件)CIDR(只取掩码前的子网部分),形如:10.0.0.0/8。</li>
|
|
13988
|
+
# <li>priority - Integer - (过滤条件)优先级,形如:20。</li>
|
|
13989
|
+
# <li>gateway-type - String - (过滤条件)下一跳类型,形如:CVM。</li>
|
|
13990
|
+
# <li>gateway-id - String - (过滤条件)下一跳实例唯一ID,形如:ccn-f49l6u0z。</li>
|
|
13991
|
+
# <li>route-type - String - (过滤条件)路由类型,取值:USER(用户路由),NETD(网络探测下发的路由),CCN(云联网路由)。</li>
|
|
13992
|
+
# <li>action - String - (过滤条件)动作,取值:DROP(丢弃),DISABLE(接收且禁用),ACCEPT(接收且启用)。</li>
|
|
13993
|
+
# <li>description - String - (过滤条件)描述,形如:TEST。</li>
|
|
13994
|
+
# <li>route-policy-item-id - String - (过滤条件)路由接收策略条目唯一ID,形如:rrpi-dq782kw7。</li>
|
|
13995
|
+
# @type Filters: Array
|
|
13996
|
+
# @param Offset: 偏移量。
|
|
13997
|
+
# @type Offset: Integer
|
|
13998
|
+
# @param Limit: 请求对象个数。
|
|
13999
|
+
# @type Limit: Integer
|
|
14000
|
+
# @param OrderField: 排序字段。当前只支持优先级Prioriry字段。
|
|
14001
|
+
# @type OrderField: String
|
|
14002
|
+
# @param OrderDirection: 排序方向。
|
|
14003
|
+
# ASC:升序。
|
|
14004
|
+
# DESC:降序。
|
|
14005
|
+
# @type OrderDirection: String
|
|
14006
|
+
# @param RoutePolicyEntryIds: 路由策略条目ID。
|
|
14007
|
+
# @type RoutePolicyEntryIds: Array
|
|
14008
|
+
|
|
14009
|
+
attr_accessor :Filters, :Offset, :Limit, :OrderField, :OrderDirection, :RoutePolicyEntryIds
|
|
14010
|
+
|
|
14011
|
+
def initialize(filters=nil, offset=nil, limit=nil, orderfield=nil, orderdirection=nil, routepolicyentryids=nil)
|
|
14012
|
+
@Filters = filters
|
|
14013
|
+
@Offset = offset
|
|
14014
|
+
@Limit = limit
|
|
14015
|
+
@OrderField = orderfield
|
|
14016
|
+
@OrderDirection = orderdirection
|
|
14017
|
+
@RoutePolicyEntryIds = routepolicyentryids
|
|
14018
|
+
end
|
|
14019
|
+
|
|
14020
|
+
def deserialize(params)
|
|
14021
|
+
unless params['Filters'].nil?
|
|
14022
|
+
@Filters = []
|
|
14023
|
+
params['Filters'].each do |i|
|
|
14024
|
+
filter_tmp = Filter.new
|
|
14025
|
+
filter_tmp.deserialize(i)
|
|
14026
|
+
@Filters << filter_tmp
|
|
14027
|
+
end
|
|
14028
|
+
end
|
|
14029
|
+
@Offset = params['Offset']
|
|
14030
|
+
@Limit = params['Limit']
|
|
14031
|
+
@OrderField = params['OrderField']
|
|
14032
|
+
@OrderDirection = params['OrderDirection']
|
|
14033
|
+
@RoutePolicyEntryIds = params['RoutePolicyEntryIds']
|
|
14034
|
+
end
|
|
14035
|
+
end
|
|
14036
|
+
|
|
14037
|
+
# DescribeRoutePolicyEntries返回参数结构体
|
|
14038
|
+
class DescribeRoutePolicyEntriesResponse < TencentCloud::Common::AbstractModel
|
|
14039
|
+
# @param RoutePolicyEntrySet: 路由接收策略条目列表。
|
|
14040
|
+
# @type RoutePolicyEntrySet: Array
|
|
14041
|
+
# @param TotalCount: 符合条件的实例数量。
|
|
14042
|
+
# @type TotalCount: Integer
|
|
14043
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14044
|
+
# @type RequestId: String
|
|
14045
|
+
|
|
14046
|
+
attr_accessor :RoutePolicyEntrySet, :TotalCount, :RequestId
|
|
14047
|
+
|
|
14048
|
+
def initialize(routepolicyentryset=nil, totalcount=nil, requestid=nil)
|
|
14049
|
+
@RoutePolicyEntrySet = routepolicyentryset
|
|
14050
|
+
@TotalCount = totalcount
|
|
14051
|
+
@RequestId = requestid
|
|
14052
|
+
end
|
|
14053
|
+
|
|
14054
|
+
def deserialize(params)
|
|
14055
|
+
unless params['RoutePolicyEntrySet'].nil?
|
|
14056
|
+
@RoutePolicyEntrySet = []
|
|
14057
|
+
params['RoutePolicyEntrySet'].each do |i|
|
|
14058
|
+
routepolicyentry_tmp = RoutePolicyEntry.new
|
|
14059
|
+
routepolicyentry_tmp.deserialize(i)
|
|
14060
|
+
@RoutePolicyEntrySet << routepolicyentry_tmp
|
|
14061
|
+
end
|
|
14062
|
+
end
|
|
14063
|
+
@TotalCount = params['TotalCount']
|
|
14064
|
+
@RequestId = params['RequestId']
|
|
14065
|
+
end
|
|
14066
|
+
end
|
|
14067
|
+
|
|
13733
14068
|
# DescribeRouteTableAssociatedInstances请求参数结构体
|
|
13734
14069
|
class DescribeRouteTableAssociatedInstancesRequest < TencentCloud::Common::AbstractModel
|
|
13735
14070
|
# @param Filters: 过滤条件:
|
|
@@ -20852,14 +21187,17 @@ module TencentCloud
|
|
|
20852
21187
|
# @type FlowLogName: String
|
|
20853
21188
|
# @param FlowLogDescription: 流日志实例描述。长度为不超过512个字符。
|
|
20854
21189
|
# @type FlowLogDescription: String
|
|
21190
|
+
# @param Period: 流日志采集周期,只支持CCN类型流日志。 取值范围(单位s):60, 300, 600。
|
|
21191
|
+
# @type Period: Integer
|
|
20855
21192
|
|
|
20856
|
-
attr_accessor :FlowLogId, :VpcId, :FlowLogName, :FlowLogDescription
|
|
21193
|
+
attr_accessor :FlowLogId, :VpcId, :FlowLogName, :FlowLogDescription, :Period
|
|
20857
21194
|
|
|
20858
|
-
def initialize(flowlogid=nil, vpcid=nil, flowlogname=nil, flowlogdescription=nil)
|
|
21195
|
+
def initialize(flowlogid=nil, vpcid=nil, flowlogname=nil, flowlogdescription=nil, period=nil)
|
|
20859
21196
|
@FlowLogId = flowlogid
|
|
20860
21197
|
@VpcId = vpcid
|
|
20861
21198
|
@FlowLogName = flowlogname
|
|
20862
21199
|
@FlowLogDescription = flowlogdescription
|
|
21200
|
+
@Period = period
|
|
20863
21201
|
end
|
|
20864
21202
|
|
|
20865
21203
|
def deserialize(params)
|
|
@@ -20867,6 +21205,7 @@ module TencentCloud
|
|
|
20867
21205
|
@VpcId = params['VpcId']
|
|
20868
21206
|
@FlowLogName = params['FlowLogName']
|
|
20869
21207
|
@FlowLogDescription = params['FlowLogDescription']
|
|
21208
|
+
@Period = params['Period']
|
|
20870
21209
|
end
|
|
20871
21210
|
end
|
|
20872
21211
|
|
|
@@ -22153,6 +22492,46 @@ module TencentCloud
|
|
|
22153
22492
|
end
|
|
22154
22493
|
end
|
|
22155
22494
|
|
|
22495
|
+
# ModifyRoutePolicyAttribute请求参数结构体
|
|
22496
|
+
class ModifyRoutePolicyAttributeRequest < TencentCloud::Common::AbstractModel
|
|
22497
|
+
# @param RoutePolicyId: 路由接收策略实例ID,例如:rrp-dz0219jq。
|
|
22498
|
+
# @type RoutePolicyId: String
|
|
22499
|
+
# @param RoutePolicyName: 路由接收策略名称。
|
|
22500
|
+
# @type RoutePolicyName: String
|
|
22501
|
+
# @param RoutePolicyDescription: 路由接收策略描述。
|
|
22502
|
+
# @type RoutePolicyDescription: String
|
|
22503
|
+
|
|
22504
|
+
attr_accessor :RoutePolicyId, :RoutePolicyName, :RoutePolicyDescription
|
|
22505
|
+
|
|
22506
|
+
def initialize(routepolicyid=nil, routepolicyname=nil, routepolicydescription=nil)
|
|
22507
|
+
@RoutePolicyId = routepolicyid
|
|
22508
|
+
@RoutePolicyName = routepolicyname
|
|
22509
|
+
@RoutePolicyDescription = routepolicydescription
|
|
22510
|
+
end
|
|
22511
|
+
|
|
22512
|
+
def deserialize(params)
|
|
22513
|
+
@RoutePolicyId = params['RoutePolicyId']
|
|
22514
|
+
@RoutePolicyName = params['RoutePolicyName']
|
|
22515
|
+
@RoutePolicyDescription = params['RoutePolicyDescription']
|
|
22516
|
+
end
|
|
22517
|
+
end
|
|
22518
|
+
|
|
22519
|
+
# ModifyRoutePolicyAttribute返回参数结构体
|
|
22520
|
+
class ModifyRoutePolicyAttributeResponse < TencentCloud::Common::AbstractModel
|
|
22521
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
22522
|
+
# @type RequestId: String
|
|
22523
|
+
|
|
22524
|
+
attr_accessor :RequestId
|
|
22525
|
+
|
|
22526
|
+
def initialize(requestid=nil)
|
|
22527
|
+
@RequestId = requestid
|
|
22528
|
+
end
|
|
22529
|
+
|
|
22530
|
+
def deserialize(params)
|
|
22531
|
+
@RequestId = params['RequestId']
|
|
22532
|
+
end
|
|
22533
|
+
end
|
|
22534
|
+
|
|
22156
22535
|
# ModifyRouteTableAttribute请求参数结构体
|
|
22157
22536
|
class ModifyRouteTableAttributeRequest < TencentCloud::Common::AbstractModel
|
|
22158
22537
|
# @param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
|
@@ -25194,6 +25573,88 @@ module TencentCloud
|
|
|
25194
25573
|
end
|
|
25195
25574
|
end
|
|
25196
25575
|
|
|
25576
|
+
# ReplaceRoutePolicyAssociations请求参数结构体
|
|
25577
|
+
class ReplaceRoutePolicyAssociationsRequest < TencentCloud::Common::AbstractModel
|
|
25578
|
+
# @param RoutePolicyAssociationSet: 路由接收策略绑定对象列表。需要指定路由接收策略实例ID(RoutePolicyId)和路由表实例ID(RouteTableId)。
|
|
25579
|
+
# @type RoutePolicyAssociationSet: Array
|
|
25580
|
+
|
|
25581
|
+
attr_accessor :RoutePolicyAssociationSet
|
|
25582
|
+
|
|
25583
|
+
def initialize(routepolicyassociationset=nil)
|
|
25584
|
+
@RoutePolicyAssociationSet = routepolicyassociationset
|
|
25585
|
+
end
|
|
25586
|
+
|
|
25587
|
+
def deserialize(params)
|
|
25588
|
+
unless params['RoutePolicyAssociationSet'].nil?
|
|
25589
|
+
@RoutePolicyAssociationSet = []
|
|
25590
|
+
params['RoutePolicyAssociationSet'].each do |i|
|
|
25591
|
+
routepolicyassociation_tmp = RoutePolicyAssociation.new
|
|
25592
|
+
routepolicyassociation_tmp.deserialize(i)
|
|
25593
|
+
@RoutePolicyAssociationSet << routepolicyassociation_tmp
|
|
25594
|
+
end
|
|
25595
|
+
end
|
|
25596
|
+
end
|
|
25597
|
+
end
|
|
25598
|
+
|
|
25599
|
+
# ReplaceRoutePolicyAssociations返回参数结构体
|
|
25600
|
+
class ReplaceRoutePolicyAssociationsResponse < TencentCloud::Common::AbstractModel
|
|
25601
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
25602
|
+
# @type RequestId: String
|
|
25603
|
+
|
|
25604
|
+
attr_accessor :RequestId
|
|
25605
|
+
|
|
25606
|
+
def initialize(requestid=nil)
|
|
25607
|
+
@RequestId = requestid
|
|
25608
|
+
end
|
|
25609
|
+
|
|
25610
|
+
def deserialize(params)
|
|
25611
|
+
@RequestId = params['RequestId']
|
|
25612
|
+
end
|
|
25613
|
+
end
|
|
25614
|
+
|
|
25615
|
+
# ReplaceRoutePolicyEntries请求参数结构体
|
|
25616
|
+
class ReplaceRoutePolicyEntriesRequest < TencentCloud::Common::AbstractModel
|
|
25617
|
+
# @param RoutePolicyId: 路由策略实例ID,例如:rrp-azd4dt1c。
|
|
25618
|
+
# @type RoutePolicyId: String
|
|
25619
|
+
# @param RoutePolicyEntrySet: 路由策略规则列表。需要指定路由策略规则ID(RoutePolicyEntryId)。
|
|
25620
|
+
# @type RoutePolicyEntrySet: Array
|
|
25621
|
+
|
|
25622
|
+
attr_accessor :RoutePolicyId, :RoutePolicyEntrySet
|
|
25623
|
+
|
|
25624
|
+
def initialize(routepolicyid=nil, routepolicyentryset=nil)
|
|
25625
|
+
@RoutePolicyId = routepolicyid
|
|
25626
|
+
@RoutePolicyEntrySet = routepolicyentryset
|
|
25627
|
+
end
|
|
25628
|
+
|
|
25629
|
+
def deserialize(params)
|
|
25630
|
+
@RoutePolicyId = params['RoutePolicyId']
|
|
25631
|
+
unless params['RoutePolicyEntrySet'].nil?
|
|
25632
|
+
@RoutePolicyEntrySet = []
|
|
25633
|
+
params['RoutePolicyEntrySet'].each do |i|
|
|
25634
|
+
routepolicyentry_tmp = RoutePolicyEntry.new
|
|
25635
|
+
routepolicyentry_tmp.deserialize(i)
|
|
25636
|
+
@RoutePolicyEntrySet << routepolicyentry_tmp
|
|
25637
|
+
end
|
|
25638
|
+
end
|
|
25639
|
+
end
|
|
25640
|
+
end
|
|
25641
|
+
|
|
25642
|
+
# ReplaceRoutePolicyEntries返回参数结构体
|
|
25643
|
+
class ReplaceRoutePolicyEntriesResponse < TencentCloud::Common::AbstractModel
|
|
25644
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
25645
|
+
# @type RequestId: String
|
|
25646
|
+
|
|
25647
|
+
attr_accessor :RequestId
|
|
25648
|
+
|
|
25649
|
+
def initialize(requestid=nil)
|
|
25650
|
+
@RequestId = requestid
|
|
25651
|
+
end
|
|
25652
|
+
|
|
25653
|
+
def deserialize(params)
|
|
25654
|
+
@RequestId = params['RequestId']
|
|
25655
|
+
end
|
|
25656
|
+
end
|
|
25657
|
+
|
|
25197
25658
|
# ReplaceRouteTableAssociation请求参数结构体
|
|
25198
25659
|
class ReplaceRouteTableAssociationRequest < TencentCloud::Common::AbstractModel
|
|
25199
25660
|
# @param SubnetId: 子网实例ID,例如:subnet-3x5lf5q0。可通过DescribeSubnets接口查询。
|
|
@@ -25580,6 +26041,100 @@ module TencentCloud
|
|
|
25580
26041
|
end
|
|
25581
26042
|
end
|
|
25582
26043
|
|
|
26044
|
+
# ResetRoutePolicyAssociations请求参数结构体
|
|
26045
|
+
class ResetRoutePolicyAssociationsRequest < TencentCloud::Common::AbstractModel
|
|
26046
|
+
# @param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
|
26047
|
+
# @type RouteTableId: String
|
|
26048
|
+
# @param RoutePolicyAssociationSet: 路由策略绑定对象(RoutePolicyAssociation)列表。注意:路由策略绑定中的路由表实例ID(RouteTableId)需要和该接口的RouteTableId参数保持一致(也就是该接口只支持修改同一个路由表实例下的路有策略绑定关系及优先级)。
|
|
26049
|
+
# @type RoutePolicyAssociationSet: Array
|
|
26050
|
+
|
|
26051
|
+
attr_accessor :RouteTableId, :RoutePolicyAssociationSet
|
|
26052
|
+
|
|
26053
|
+
def initialize(routetableid=nil, routepolicyassociationset=nil)
|
|
26054
|
+
@RouteTableId = routetableid
|
|
26055
|
+
@RoutePolicyAssociationSet = routepolicyassociationset
|
|
26056
|
+
end
|
|
26057
|
+
|
|
26058
|
+
def deserialize(params)
|
|
26059
|
+
@RouteTableId = params['RouteTableId']
|
|
26060
|
+
unless params['RoutePolicyAssociationSet'].nil?
|
|
26061
|
+
@RoutePolicyAssociationSet = []
|
|
26062
|
+
params['RoutePolicyAssociationSet'].each do |i|
|
|
26063
|
+
routepolicyassociation_tmp = RoutePolicyAssociation.new
|
|
26064
|
+
routepolicyassociation_tmp.deserialize(i)
|
|
26065
|
+
@RoutePolicyAssociationSet << routepolicyassociation_tmp
|
|
26066
|
+
end
|
|
26067
|
+
end
|
|
26068
|
+
end
|
|
26069
|
+
end
|
|
26070
|
+
|
|
26071
|
+
# ResetRoutePolicyAssociations返回参数结构体
|
|
26072
|
+
class ResetRoutePolicyAssociationsResponse < TencentCloud::Common::AbstractModel
|
|
26073
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
26074
|
+
# @type RequestId: String
|
|
26075
|
+
|
|
26076
|
+
attr_accessor :RequestId
|
|
26077
|
+
|
|
26078
|
+
def initialize(requestid=nil)
|
|
26079
|
+
@RequestId = requestid
|
|
26080
|
+
end
|
|
26081
|
+
|
|
26082
|
+
def deserialize(params)
|
|
26083
|
+
@RequestId = params['RequestId']
|
|
26084
|
+
end
|
|
26085
|
+
end
|
|
26086
|
+
|
|
26087
|
+
# ResetRoutePolicyEntries请求参数结构体
|
|
26088
|
+
class ResetRoutePolicyEntriesRequest < TencentCloud::Common::AbstractModel
|
|
26089
|
+
# @param RoutePolicyId: 路由接收策略实例ID,例如:rrp-azd4dt1c。
|
|
26090
|
+
# @type RoutePolicyId: String
|
|
26091
|
+
# @param RoutePolicyEntrySet: 路由接收策略条目列表。需要指定路由策略条目ID(RoutePolicyEntryId)。
|
|
26092
|
+
# @type RoutePolicyEntrySet: Array
|
|
26093
|
+
# @param RoutePolicyDescription: 路由接收策略描述。
|
|
26094
|
+
# @type RoutePolicyDescription: String
|
|
26095
|
+
# @param RoutePolicyName: 路由接收策略名字。
|
|
26096
|
+
# @type RoutePolicyName: String
|
|
26097
|
+
|
|
26098
|
+
attr_accessor :RoutePolicyId, :RoutePolicyEntrySet, :RoutePolicyDescription, :RoutePolicyName
|
|
26099
|
+
|
|
26100
|
+
def initialize(routepolicyid=nil, routepolicyentryset=nil, routepolicydescription=nil, routepolicyname=nil)
|
|
26101
|
+
@RoutePolicyId = routepolicyid
|
|
26102
|
+
@RoutePolicyEntrySet = routepolicyentryset
|
|
26103
|
+
@RoutePolicyDescription = routepolicydescription
|
|
26104
|
+
@RoutePolicyName = routepolicyname
|
|
26105
|
+
end
|
|
26106
|
+
|
|
26107
|
+
def deserialize(params)
|
|
26108
|
+
@RoutePolicyId = params['RoutePolicyId']
|
|
26109
|
+
unless params['RoutePolicyEntrySet'].nil?
|
|
26110
|
+
@RoutePolicyEntrySet = []
|
|
26111
|
+
params['RoutePolicyEntrySet'].each do |i|
|
|
26112
|
+
routepolicyentry_tmp = RoutePolicyEntry.new
|
|
26113
|
+
routepolicyentry_tmp.deserialize(i)
|
|
26114
|
+
@RoutePolicyEntrySet << routepolicyentry_tmp
|
|
26115
|
+
end
|
|
26116
|
+
end
|
|
26117
|
+
@RoutePolicyDescription = params['RoutePolicyDescription']
|
|
26118
|
+
@RoutePolicyName = params['RoutePolicyName']
|
|
26119
|
+
end
|
|
26120
|
+
end
|
|
26121
|
+
|
|
26122
|
+
# ResetRoutePolicyEntries返回参数结构体
|
|
26123
|
+
class ResetRoutePolicyEntriesResponse < TencentCloud::Common::AbstractModel
|
|
26124
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
26125
|
+
# @type RequestId: String
|
|
26126
|
+
|
|
26127
|
+
attr_accessor :RequestId
|
|
26128
|
+
|
|
26129
|
+
def initialize(requestid=nil)
|
|
26130
|
+
@RequestId = requestid
|
|
26131
|
+
end
|
|
26132
|
+
|
|
26133
|
+
def deserialize(params)
|
|
26134
|
+
@RequestId = params['RequestId']
|
|
26135
|
+
end
|
|
26136
|
+
end
|
|
26137
|
+
|
|
25583
26138
|
# ResetRoutes请求参数结构体
|
|
25584
26139
|
class ResetRoutesRequest < TencentCloud::Common::AbstractModel
|
|
25585
26140
|
# @param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
|
@@ -26294,6 +26849,174 @@ module TencentCloud
|
|
|
26294
26849
|
end
|
|
26295
26850
|
end
|
|
26296
26851
|
|
|
26852
|
+
# 路由接收策略。当云联网或其他业务添加路由到VPC自定义路由表时,可以丢弃或启用,禁用相应的路由条目。
|
|
26853
|
+
class RoutePolicy < TencentCloud::Common::AbstractModel
|
|
26854
|
+
# @param RoutePolicyId: 路由策略唯一ID。
|
|
26855
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26856
|
+
# @type RoutePolicyId: String
|
|
26857
|
+
# @param RoutePolicyName: 路由策略名。
|
|
26858
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26859
|
+
# @type RoutePolicyName: String
|
|
26860
|
+
# @param RoutePolicyDescription: 路由策略描述。
|
|
26861
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26862
|
+
# @type RoutePolicyDescription: String
|
|
26863
|
+
# @param RoutePolicyEntrySet: 路由策略规则列表。
|
|
26864
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26865
|
+
# @type RoutePolicyEntrySet: Array
|
|
26866
|
+
# @param RoutePolicyAssociationSet: 路由策略绑定。
|
|
26867
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26868
|
+
# @type RoutePolicyAssociationSet: Array
|
|
26869
|
+
# @param CreatedTime: 创建时间。
|
|
26870
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26871
|
+
# @type CreatedTime: String
|
|
26872
|
+
# @param TagSet: 标签键值对。
|
|
26873
|
+
# @type TagSet: Array
|
|
26874
|
+
|
|
26875
|
+
attr_accessor :RoutePolicyId, :RoutePolicyName, :RoutePolicyDescription, :RoutePolicyEntrySet, :RoutePolicyAssociationSet, :CreatedTime, :TagSet
|
|
26876
|
+
|
|
26877
|
+
def initialize(routepolicyid=nil, routepolicyname=nil, routepolicydescription=nil, routepolicyentryset=nil, routepolicyassociationset=nil, createdtime=nil, tagset=nil)
|
|
26878
|
+
@RoutePolicyId = routepolicyid
|
|
26879
|
+
@RoutePolicyName = routepolicyname
|
|
26880
|
+
@RoutePolicyDescription = routepolicydescription
|
|
26881
|
+
@RoutePolicyEntrySet = routepolicyentryset
|
|
26882
|
+
@RoutePolicyAssociationSet = routepolicyassociationset
|
|
26883
|
+
@CreatedTime = createdtime
|
|
26884
|
+
@TagSet = tagset
|
|
26885
|
+
end
|
|
26886
|
+
|
|
26887
|
+
def deserialize(params)
|
|
26888
|
+
@RoutePolicyId = params['RoutePolicyId']
|
|
26889
|
+
@RoutePolicyName = params['RoutePolicyName']
|
|
26890
|
+
@RoutePolicyDescription = params['RoutePolicyDescription']
|
|
26891
|
+
unless params['RoutePolicyEntrySet'].nil?
|
|
26892
|
+
@RoutePolicyEntrySet = []
|
|
26893
|
+
params['RoutePolicyEntrySet'].each do |i|
|
|
26894
|
+
routepolicyentry_tmp = RoutePolicyEntry.new
|
|
26895
|
+
routepolicyentry_tmp.deserialize(i)
|
|
26896
|
+
@RoutePolicyEntrySet << routepolicyentry_tmp
|
|
26897
|
+
end
|
|
26898
|
+
end
|
|
26899
|
+
unless params['RoutePolicyAssociationSet'].nil?
|
|
26900
|
+
@RoutePolicyAssociationSet = []
|
|
26901
|
+
params['RoutePolicyAssociationSet'].each do |i|
|
|
26902
|
+
routepolicyassociation_tmp = RoutePolicyAssociation.new
|
|
26903
|
+
routepolicyassociation_tmp.deserialize(i)
|
|
26904
|
+
@RoutePolicyAssociationSet << routepolicyassociation_tmp
|
|
26905
|
+
end
|
|
26906
|
+
end
|
|
26907
|
+
@CreatedTime = params['CreatedTime']
|
|
26908
|
+
unless params['TagSet'].nil?
|
|
26909
|
+
@TagSet = []
|
|
26910
|
+
params['TagSet'].each do |i|
|
|
26911
|
+
tag_tmp = Tag.new
|
|
26912
|
+
tag_tmp.deserialize(i)
|
|
26913
|
+
@TagSet << tag_tmp
|
|
26914
|
+
end
|
|
26915
|
+
end
|
|
26916
|
+
end
|
|
26917
|
+
end
|
|
26918
|
+
|
|
26919
|
+
# 路由接收策略绑定。用来绑定路由表和路由接收策略以及绑定的优先级。
|
|
26920
|
+
class RoutePolicyAssociation < TencentCloud::Common::AbstractModel
|
|
26921
|
+
# @param RouteTableId: 路由表唯一ID。
|
|
26922
|
+
# @type RouteTableId: String
|
|
26923
|
+
# @param RoutePolicyId: 路由接收策略唯一ID。
|
|
26924
|
+
# @type RoutePolicyId: String
|
|
26925
|
+
# @param Priority: 优先级。
|
|
26926
|
+
# @type Priority: Integer
|
|
26927
|
+
|
|
26928
|
+
attr_accessor :RouteTableId, :RoutePolicyId, :Priority
|
|
26929
|
+
|
|
26930
|
+
def initialize(routetableid=nil, routepolicyid=nil, priority=nil)
|
|
26931
|
+
@RouteTableId = routetableid
|
|
26932
|
+
@RoutePolicyId = routepolicyid
|
|
26933
|
+
@Priority = priority
|
|
26934
|
+
end
|
|
26935
|
+
|
|
26936
|
+
def deserialize(params)
|
|
26937
|
+
@RouteTableId = params['RouteTableId']
|
|
26938
|
+
@RoutePolicyId = params['RoutePolicyId']
|
|
26939
|
+
@Priority = params['Priority']
|
|
26940
|
+
end
|
|
26941
|
+
end
|
|
26942
|
+
|
|
26943
|
+
# 路由接收策略条目。
|
|
26944
|
+
class RoutePolicyEntry < TencentCloud::Common::AbstractModel
|
|
26945
|
+
# @param RoutePolicyEntryId: 路由策略条目IPv4唯一ID。
|
|
26946
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26947
|
+
# @type RoutePolicyEntryId: String
|
|
26948
|
+
# @param CidrBlock: 目标网段。
|
|
26949
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26950
|
+
# @type CidrBlock: String
|
|
26951
|
+
# @param Description: 路由策略规则描述。
|
|
26952
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26953
|
+
# @type Description: String
|
|
26954
|
+
# @param RouteType: 路由类型。
|
|
26955
|
+
# USER:用户自定义类型。
|
|
26956
|
+
# NETD:网络探测下发的路由。
|
|
26957
|
+
# CCN:云联网路由。
|
|
26958
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26959
|
+
# @type RouteType: String
|
|
26960
|
+
# @param GatewayType: 下一跳类型。目前我们支持的类型有:
|
|
26961
|
+
# CVM:公网网关类型的云服务器;
|
|
26962
|
+
# VPN:VPN网关;
|
|
26963
|
+
# DIRECTCONNECT:专线网关;
|
|
26964
|
+
# PEERCONNECTION:对等连接;
|
|
26965
|
+
# HAVIP:高可用虚拟IP;
|
|
26966
|
+
# NAT:NAT网关;
|
|
26967
|
+
# EIP:云服务器的公网IP;
|
|
26968
|
+
# LOCAL_GATEWAY:本地网关;
|
|
26969
|
+
# PVGW:PVGW网关。
|
|
26970
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26971
|
+
# @type GatewayType: String
|
|
26972
|
+
# @param GatewayId: 网关唯一ID。
|
|
26973
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26974
|
+
# @type GatewayId: String
|
|
26975
|
+
# @param Priority: 优先级。数值越小,优先级越高。
|
|
26976
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26977
|
+
# @type Priority: Integer
|
|
26978
|
+
# @param Action: 动作。
|
|
26979
|
+
# DROP:丢弃。
|
|
26980
|
+
# DISABLE:接收且禁用。
|
|
26981
|
+
# ACCEPT:接收且启用。
|
|
26982
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26983
|
+
# @type Action: String
|
|
26984
|
+
# @param CreatedTime: 创建时间。
|
|
26985
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26986
|
+
# @type CreatedTime: String
|
|
26987
|
+
# @param Region: 地域。
|
|
26988
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26989
|
+
# @type Region: String
|
|
26990
|
+
|
|
26991
|
+
attr_accessor :RoutePolicyEntryId, :CidrBlock, :Description, :RouteType, :GatewayType, :GatewayId, :Priority, :Action, :CreatedTime, :Region
|
|
26992
|
+
|
|
26993
|
+
def initialize(routepolicyentryid=nil, cidrblock=nil, description=nil, routetype=nil, gatewaytype=nil, gatewayid=nil, priority=nil, action=nil, createdtime=nil, region=nil)
|
|
26994
|
+
@RoutePolicyEntryId = routepolicyentryid
|
|
26995
|
+
@CidrBlock = cidrblock
|
|
26996
|
+
@Description = description
|
|
26997
|
+
@RouteType = routetype
|
|
26998
|
+
@GatewayType = gatewaytype
|
|
26999
|
+
@GatewayId = gatewayid
|
|
27000
|
+
@Priority = priority
|
|
27001
|
+
@Action = action
|
|
27002
|
+
@CreatedTime = createdtime
|
|
27003
|
+
@Region = region
|
|
27004
|
+
end
|
|
27005
|
+
|
|
27006
|
+
def deserialize(params)
|
|
27007
|
+
@RoutePolicyEntryId = params['RoutePolicyEntryId']
|
|
27008
|
+
@CidrBlock = params['CidrBlock']
|
|
27009
|
+
@Description = params['Description']
|
|
27010
|
+
@RouteType = params['RouteType']
|
|
27011
|
+
@GatewayType = params['GatewayType']
|
|
27012
|
+
@GatewayId = params['GatewayId']
|
|
27013
|
+
@Priority = params['Priority']
|
|
27014
|
+
@Action = params['Action']
|
|
27015
|
+
@CreatedTime = params['CreatedTime']
|
|
27016
|
+
@Region = params['Region']
|
|
27017
|
+
end
|
|
27018
|
+
end
|
|
27019
|
+
|
|
26297
27020
|
# 路由表选择策略信息
|
|
26298
27021
|
class RouteSelectionPolicy < TencentCloud::Common::AbstractModel
|
|
26299
27022
|
# @param CcnId: 云联网ID。
|
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.1157
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-10-
|
|
11
|
+
date: 2025-10-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,9 +33,9 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/tencentcloud-sdk-vpc.rb
|
|
37
|
-
- lib/v20170312/client.rb
|
|
38
36
|
- lib/v20170312/models.rb
|
|
37
|
+
- lib/v20170312/client.rb
|
|
38
|
+
- lib/tencentcloud-sdk-vpc.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|