tencentcloud-sdk-vpc 3.0.914 → 3.0.915
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/client.rb +528 -0
- data/lib/v20170312/models.rb +1118 -28
- 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: 6251f3797567301945a877260bdb8d9b4f13188e
|
4
|
+
data.tar.gz: 021b4767ba43d091700b1095e8428511402cbbee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e028d55da2b39f52375672d3049b6f40d1b2c20234c28505f44e717e97fce409ea89de20b922614009efab163bdfe6700ee0eaa3b5d6b23ad7087b0ee15a07e6
|
7
|
+
data.tar.gz: 1e19e48c754e65bedff082c1c4ffaee86ade0a7b4d8b446d5247a3137576c20e5bdcac614e1de63f761e7f781d2e78947f748ea649fca4891f27b12fcf5a8b97
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.915
|
data/lib/v20170312/client.rb
CHANGED
@@ -947,6 +947,54 @@ module TencentCloud
|
|
947
947
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
948
948
|
end
|
949
949
|
|
950
|
+
# 创建 IDC 通道
|
951
|
+
|
952
|
+
# @param request: Request instance for CreateCdcLDCXList.
|
953
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::CreateCdcLDCXListRequest`
|
954
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::CreateCdcLDCXListResponse`
|
955
|
+
def CreateCdcLDCXList(request)
|
956
|
+
body = send_request('CreateCdcLDCXList', request.serialize)
|
957
|
+
response = JSON.parse(body)
|
958
|
+
if response['Response'].key?('Error') == false
|
959
|
+
model = CreateCdcLDCXListResponse.new
|
960
|
+
model.deserialize(response['Response'])
|
961
|
+
model
|
962
|
+
else
|
963
|
+
code = response['Response']['Error']['Code']
|
964
|
+
message = response['Response']['Error']['Message']
|
965
|
+
reqid = response['Response']['RequestId']
|
966
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
967
|
+
end
|
968
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
969
|
+
raise e
|
970
|
+
rescue StandardError => e
|
971
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
972
|
+
end
|
973
|
+
|
974
|
+
# 创建虚拟连接,用于支持 CDC 多租户模式
|
975
|
+
|
976
|
+
# @param request: Request instance for CreateCdcNetPlanes.
|
977
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::CreateCdcNetPlanesRequest`
|
978
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::CreateCdcNetPlanesResponse`
|
979
|
+
def CreateCdcNetPlanes(request)
|
980
|
+
body = send_request('CreateCdcNetPlanes', request.serialize)
|
981
|
+
response = JSON.parse(body)
|
982
|
+
if response['Response'].key?('Error') == false
|
983
|
+
model = CreateCdcNetPlanesResponse.new
|
984
|
+
model.deserialize(response['Response'])
|
985
|
+
model
|
986
|
+
else
|
987
|
+
code = response['Response']['Error']['Code']
|
988
|
+
message = response['Response']['Error']['Message']
|
989
|
+
reqid = response['Response']['RequestId']
|
990
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
991
|
+
end
|
992
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
993
|
+
raise e
|
994
|
+
rescue StandardError => e
|
995
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
996
|
+
end
|
997
|
+
|
950
998
|
# 本接口(CreateCustomerGateway)用于创建对端网关。
|
951
999
|
|
952
1000
|
# @param request: Request instance for CreateCustomerGateway.
|
@@ -1150,6 +1198,54 @@ module TencentCloud
|
|
1150
1198
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1151
1199
|
end
|
1152
1200
|
|
1201
|
+
# 高优路由表创建
|
1202
|
+
|
1203
|
+
# @param request: Request instance for CreateHighPriorityRouteTable.
|
1204
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::CreateHighPriorityRouteTableRequest`
|
1205
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::CreateHighPriorityRouteTableResponse`
|
1206
|
+
def CreateHighPriorityRouteTable(request)
|
1207
|
+
body = send_request('CreateHighPriorityRouteTable', request.serialize)
|
1208
|
+
response = JSON.parse(body)
|
1209
|
+
if response['Response'].key?('Error') == false
|
1210
|
+
model = CreateHighPriorityRouteTableResponse.new
|
1211
|
+
model.deserialize(response['Response'])
|
1212
|
+
model
|
1213
|
+
else
|
1214
|
+
code = response['Response']['Error']['Code']
|
1215
|
+
message = response['Response']['Error']['Message']
|
1216
|
+
reqid = response['Response']['RequestId']
|
1217
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1218
|
+
end
|
1219
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1220
|
+
raise e
|
1221
|
+
rescue StandardError => e
|
1222
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
# 创建高优路由表条目。
|
1226
|
+
|
1227
|
+
# @param request: Request instance for CreateHighPriorityRoutes.
|
1228
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::CreateHighPriorityRoutesRequest`
|
1229
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::CreateHighPriorityRoutesResponse`
|
1230
|
+
def CreateHighPriorityRoutes(request)
|
1231
|
+
body = send_request('CreateHighPriorityRoutes', request.serialize)
|
1232
|
+
response = JSON.parse(body)
|
1233
|
+
if response['Response'].key?('Error') == false
|
1234
|
+
model = CreateHighPriorityRoutesResponse.new
|
1235
|
+
model.deserialize(response['Response'])
|
1236
|
+
model
|
1237
|
+
else
|
1238
|
+
code = response['Response']['Error']['Code']
|
1239
|
+
message = response['Response']['Error']['Message']
|
1240
|
+
reqid = response['Response']['RequestId']
|
1241
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1242
|
+
end
|
1243
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1244
|
+
raise e
|
1245
|
+
rescue StandardError => e
|
1246
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1247
|
+
end
|
1248
|
+
|
1153
1249
|
# 1. 该接口用于创建IPV6转换IPV4实例,支持批量
|
1154
1250
|
# 2. 同一个账户在一个地域最多允许创建10个转换实例
|
1155
1251
|
|
@@ -2201,6 +2297,54 @@ module TencentCloud
|
|
2201
2297
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2202
2298
|
end
|
2203
2299
|
|
2300
|
+
# 删除 IDC通道
|
2301
|
+
|
2302
|
+
# @param request: Request instance for DeleteCdcLDCXList.
|
2303
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DeleteCdcLDCXListRequest`
|
2304
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DeleteCdcLDCXListResponse`
|
2305
|
+
def DeleteCdcLDCXList(request)
|
2306
|
+
body = send_request('DeleteCdcLDCXList', request.serialize)
|
2307
|
+
response = JSON.parse(body)
|
2308
|
+
if response['Response'].key?('Error') == false
|
2309
|
+
model = DeleteCdcLDCXListResponse.new
|
2310
|
+
model.deserialize(response['Response'])
|
2311
|
+
model
|
2312
|
+
else
|
2313
|
+
code = response['Response']['Error']['Code']
|
2314
|
+
message = response['Response']['Error']['Message']
|
2315
|
+
reqid = response['Response']['RequestId']
|
2316
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2317
|
+
end
|
2318
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2319
|
+
raise e
|
2320
|
+
rescue StandardError => e
|
2321
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2322
|
+
end
|
2323
|
+
|
2324
|
+
# 删除虚拟连接
|
2325
|
+
|
2326
|
+
# @param request: Request instance for DeleteCdcNetPlanes.
|
2327
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DeleteCdcNetPlanesRequest`
|
2328
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DeleteCdcNetPlanesResponse`
|
2329
|
+
def DeleteCdcNetPlanes(request)
|
2330
|
+
body = send_request('DeleteCdcNetPlanes', request.serialize)
|
2331
|
+
response = JSON.parse(body)
|
2332
|
+
if response['Response'].key?('Error') == false
|
2333
|
+
model = DeleteCdcNetPlanesResponse.new
|
2334
|
+
model.deserialize(response['Response'])
|
2335
|
+
model
|
2336
|
+
else
|
2337
|
+
code = response['Response']['Error']['Code']
|
2338
|
+
message = response['Response']['Error']['Message']
|
2339
|
+
reqid = response['Response']['RequestId']
|
2340
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2341
|
+
end
|
2342
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2343
|
+
raise e
|
2344
|
+
rescue StandardError => e
|
2345
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2346
|
+
end
|
2347
|
+
|
2204
2348
|
# 本接口(DeleteCustomerGateway)用于删除对端网关。
|
2205
2349
|
|
2206
2350
|
# @param request: Request instance for DeleteCustomerGateway.
|
@@ -2351,6 +2495,54 @@ module TencentCloud
|
|
2351
2495
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2352
2496
|
end
|
2353
2497
|
|
2498
|
+
# 删除高优路由表
|
2499
|
+
|
2500
|
+
# @param request: Request instance for DeleteHighPriorityRouteTables.
|
2501
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DeleteHighPriorityRouteTablesRequest`
|
2502
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DeleteHighPriorityRouteTablesResponse`
|
2503
|
+
def DeleteHighPriorityRouteTables(request)
|
2504
|
+
body = send_request('DeleteHighPriorityRouteTables', request.serialize)
|
2505
|
+
response = JSON.parse(body)
|
2506
|
+
if response['Response'].key?('Error') == false
|
2507
|
+
model = DeleteHighPriorityRouteTablesResponse.new
|
2508
|
+
model.deserialize(response['Response'])
|
2509
|
+
model
|
2510
|
+
else
|
2511
|
+
code = response['Response']['Error']['Code']
|
2512
|
+
message = response['Response']['Error']['Message']
|
2513
|
+
reqid = response['Response']['RequestId']
|
2514
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2515
|
+
end
|
2516
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2517
|
+
raise e
|
2518
|
+
rescue StandardError => e
|
2519
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2520
|
+
end
|
2521
|
+
|
2522
|
+
# 删除高优路由表的路由条目。
|
2523
|
+
|
2524
|
+
# @param request: Request instance for DeleteHighPriorityRoutes.
|
2525
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DeleteHighPriorityRoutesRequest`
|
2526
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DeleteHighPriorityRoutesResponse`
|
2527
|
+
def DeleteHighPriorityRoutes(request)
|
2528
|
+
body = send_request('DeleteHighPriorityRoutes', request.serialize)
|
2529
|
+
response = JSON.parse(body)
|
2530
|
+
if response['Response'].key?('Error') == false
|
2531
|
+
model = DeleteHighPriorityRoutesResponse.new
|
2532
|
+
model.deserialize(response['Response'])
|
2533
|
+
model
|
2534
|
+
else
|
2535
|
+
code = response['Response']['Error']['Code']
|
2536
|
+
message = response['Response']['Error']['Message']
|
2537
|
+
reqid = response['Response']['RequestId']
|
2538
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2539
|
+
end
|
2540
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2541
|
+
raise e
|
2542
|
+
rescue StandardError => e
|
2543
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2544
|
+
end
|
2545
|
+
|
2354
2546
|
# 1. 该接口用于释放IPV6转换实例,支持批量。
|
2355
2547
|
# 2. 如果IPV6转换实例建立有转换规则,会一并删除。
|
2356
2548
|
|
@@ -3597,6 +3789,78 @@ module TencentCloud
|
|
3597
3789
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3598
3790
|
end
|
3599
3791
|
|
3792
|
+
# 查询 IDC通道信息
|
3793
|
+
|
3794
|
+
# @param request: Request instance for DescribeCdcLDCXList.
|
3795
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeCdcLDCXListRequest`
|
3796
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeCdcLDCXListResponse`
|
3797
|
+
def DescribeCdcLDCXList(request)
|
3798
|
+
body = send_request('DescribeCdcLDCXList', request.serialize)
|
3799
|
+
response = JSON.parse(body)
|
3800
|
+
if response['Response'].key?('Error') == false
|
3801
|
+
model = DescribeCdcLDCXListResponse.new
|
3802
|
+
model.deserialize(response['Response'])
|
3803
|
+
model
|
3804
|
+
else
|
3805
|
+
code = response['Response']['Error']['Code']
|
3806
|
+
message = response['Response']['Error']['Message']
|
3807
|
+
reqid = response['Response']['RequestId']
|
3808
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3809
|
+
end
|
3810
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3811
|
+
raise e
|
3812
|
+
rescue StandardError => e
|
3813
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3814
|
+
end
|
3815
|
+
|
3816
|
+
# 查询虚拟连接
|
3817
|
+
|
3818
|
+
# @param request: Request instance for DescribeCdcNetPlanes.
|
3819
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeCdcNetPlanesRequest`
|
3820
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeCdcNetPlanesResponse`
|
3821
|
+
def DescribeCdcNetPlanes(request)
|
3822
|
+
body = send_request('DescribeCdcNetPlanes', request.serialize)
|
3823
|
+
response = JSON.parse(body)
|
3824
|
+
if response['Response'].key?('Error') == false
|
3825
|
+
model = DescribeCdcNetPlanesResponse.new
|
3826
|
+
model.deserialize(response['Response'])
|
3827
|
+
model
|
3828
|
+
else
|
3829
|
+
code = response['Response']['Error']['Code']
|
3830
|
+
message = response['Response']['Error']['Message']
|
3831
|
+
reqid = response['Response']['RequestId']
|
3832
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3833
|
+
end
|
3834
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3835
|
+
raise e
|
3836
|
+
rescue StandardError => e
|
3837
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3838
|
+
end
|
3839
|
+
|
3840
|
+
# 查询IDC使用的 VLAN
|
3841
|
+
|
3842
|
+
# @param request: Request instance for DescribeCdcUsedIdcVlan.
|
3843
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeCdcUsedIdcVlanRequest`
|
3844
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeCdcUsedIdcVlanResponse`
|
3845
|
+
def DescribeCdcUsedIdcVlan(request)
|
3846
|
+
body = send_request('DescribeCdcUsedIdcVlan', request.serialize)
|
3847
|
+
response = JSON.parse(body)
|
3848
|
+
if response['Response'].key?('Error') == false
|
3849
|
+
model = DescribeCdcUsedIdcVlanResponse.new
|
3850
|
+
model.deserialize(response['Response'])
|
3851
|
+
model
|
3852
|
+
else
|
3853
|
+
code = response['Response']['Error']['Code']
|
3854
|
+
message = response['Response']['Error']['Message']
|
3855
|
+
reqid = response['Response']['RequestId']
|
3856
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3857
|
+
end
|
3858
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3859
|
+
raise e
|
3860
|
+
rescue StandardError => e
|
3861
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3862
|
+
end
|
3863
|
+
|
3600
3864
|
# 本接口(DescribeClassicLinkInstances)用于查询私有网络和基础网络设备互通列表。
|
3601
3865
|
|
3602
3866
|
# @param request: Request instance for DescribeClassicLinkInstances.
|
@@ -3938,6 +4202,54 @@ module TencentCloud
|
|
3938
4202
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3939
4203
|
end
|
3940
4204
|
|
4205
|
+
# 查询高优路由表。
|
4206
|
+
|
4207
|
+
# @param request: Request instance for DescribeHighPriorityRouteTables.
|
4208
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeHighPriorityRouteTablesRequest`
|
4209
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeHighPriorityRouteTablesResponse`
|
4210
|
+
def DescribeHighPriorityRouteTables(request)
|
4211
|
+
body = send_request('DescribeHighPriorityRouteTables', request.serialize)
|
4212
|
+
response = JSON.parse(body)
|
4213
|
+
if response['Response'].key?('Error') == false
|
4214
|
+
model = DescribeHighPriorityRouteTablesResponse.new
|
4215
|
+
model.deserialize(response['Response'])
|
4216
|
+
model
|
4217
|
+
else
|
4218
|
+
code = response['Response']['Error']['Code']
|
4219
|
+
message = response['Response']['Error']['Message']
|
4220
|
+
reqid = response['Response']['RequestId']
|
4221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4222
|
+
end
|
4223
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4224
|
+
raise e
|
4225
|
+
rescue StandardError => e
|
4226
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4227
|
+
end
|
4228
|
+
|
4229
|
+
# 查询高优路由表条目信息。
|
4230
|
+
|
4231
|
+
# @param request: Request instance for DescribeHighPriorityRoutes.
|
4232
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeHighPriorityRoutesRequest`
|
4233
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeHighPriorityRoutesResponse`
|
4234
|
+
def DescribeHighPriorityRoutes(request)
|
4235
|
+
body = send_request('DescribeHighPriorityRoutes', request.serialize)
|
4236
|
+
response = JSON.parse(body)
|
4237
|
+
if response['Response'].key?('Error') == false
|
4238
|
+
model = DescribeHighPriorityRoutesResponse.new
|
4239
|
+
model.deserialize(response['Response'])
|
4240
|
+
model
|
4241
|
+
else
|
4242
|
+
code = response['Response']['Error']['Code']
|
4243
|
+
message = response['Response']['Error']['Message']
|
4244
|
+
reqid = response['Response']['RequestId']
|
4245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4246
|
+
end
|
4247
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4248
|
+
raise e
|
4249
|
+
rescue StandardError => e
|
4250
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4251
|
+
end
|
4252
|
+
|
3941
4253
|
# 该接口用于查询IPV6地址信息
|
3942
4254
|
|
3943
4255
|
# @param request: Request instance for DescribeIp6Addresses.
|
@@ -4613,6 +4925,30 @@ module TencentCloud
|
|
4613
4925
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4614
4926
|
end
|
4615
4927
|
|
4928
|
+
# 本接口(DescribeRoutes)用于查询路由列表。
|
4929
|
+
|
4930
|
+
# @param request: Request instance for DescribeRoutes.
|
4931
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeRoutesRequest`
|
4932
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeRoutesResponse`
|
4933
|
+
def DescribeRoutes(request)
|
4934
|
+
body = send_request('DescribeRoutes', request.serialize)
|
4935
|
+
response = JSON.parse(body)
|
4936
|
+
if response['Response'].key?('Error') == false
|
4937
|
+
model = DescribeRoutesResponse.new
|
4938
|
+
model.deserialize(response['Response'])
|
4939
|
+
model
|
4940
|
+
else
|
4941
|
+
code = response['Response']['Error']['Code']
|
4942
|
+
message = response['Response']['Error']['Message']
|
4943
|
+
reqid = response['Response']['RequestId']
|
4944
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4945
|
+
end
|
4946
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4947
|
+
raise e
|
4948
|
+
rescue StandardError => e
|
4949
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4950
|
+
end
|
4951
|
+
|
4616
4952
|
# 本接口(DescribeSecurityGroupAssociationStatistics)用于查询安全组关联的实例统计。
|
4617
4953
|
|
4618
4954
|
# @param request: Request instance for DescribeSecurityGroupAssociationStatistics.
|
@@ -6720,6 +7056,54 @@ module TencentCloud
|
|
6720
7056
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6721
7057
|
end
|
6722
7058
|
|
7059
|
+
# 修改 IDC通道信息
|
7060
|
+
|
7061
|
+
# @param request: Request instance for ModifyCdcLDCXAttribute.
|
7062
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ModifyCdcLDCXAttributeRequest`
|
7063
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ModifyCdcLDCXAttributeResponse`
|
7064
|
+
def ModifyCdcLDCXAttribute(request)
|
7065
|
+
body = send_request('ModifyCdcLDCXAttribute', request.serialize)
|
7066
|
+
response = JSON.parse(body)
|
7067
|
+
if response['Response'].key?('Error') == false
|
7068
|
+
model = ModifyCdcLDCXAttributeResponse.new
|
7069
|
+
model.deserialize(response['Response'])
|
7070
|
+
model
|
7071
|
+
else
|
7072
|
+
code = response['Response']['Error']['Code']
|
7073
|
+
message = response['Response']['Error']['Message']
|
7074
|
+
reqid = response['Response']['RequestId']
|
7075
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
7076
|
+
end
|
7077
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
7078
|
+
raise e
|
7079
|
+
rescue StandardError => e
|
7080
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
7081
|
+
end
|
7082
|
+
|
7083
|
+
# 修改虚拟连接
|
7084
|
+
|
7085
|
+
# @param request: Request instance for ModifyCdcNetPlaneAttribute.
|
7086
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ModifyCdcNetPlaneAttributeRequest`
|
7087
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ModifyCdcNetPlaneAttributeResponse`
|
7088
|
+
def ModifyCdcNetPlaneAttribute(request)
|
7089
|
+
body = send_request('ModifyCdcNetPlaneAttribute', request.serialize)
|
7090
|
+
response = JSON.parse(body)
|
7091
|
+
if response['Response'].key?('Error') == false
|
7092
|
+
model = ModifyCdcNetPlaneAttributeResponse.new
|
7093
|
+
model.deserialize(response['Response'])
|
7094
|
+
model
|
7095
|
+
else
|
7096
|
+
code = response['Response']['Error']['Code']
|
7097
|
+
message = response['Response']['Error']['Message']
|
7098
|
+
reqid = response['Response']['RequestId']
|
7099
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
7100
|
+
end
|
7101
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
7102
|
+
raise e
|
7103
|
+
rescue StandardError => e
|
7104
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
7105
|
+
end
|
7106
|
+
|
6723
7107
|
# 本接口(ModifyCustomerGatewayAttribute)用于修改对端网关信息。
|
6724
7108
|
|
6725
7109
|
# @param request: Request instance for ModifyCustomerGatewayAttribute.
|
@@ -6864,6 +7248,78 @@ module TencentCloud
|
|
6864
7248
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6865
7249
|
end
|
6866
7250
|
|
7251
|
+
# 修改高优路由表条目属性。
|
7252
|
+
|
7253
|
+
# @param request: Request instance for ModifyHighPriorityRouteAttribute.
|
7254
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ModifyHighPriorityRouteAttributeRequest`
|
7255
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ModifyHighPriorityRouteAttributeResponse`
|
7256
|
+
def ModifyHighPriorityRouteAttribute(request)
|
7257
|
+
body = send_request('ModifyHighPriorityRouteAttribute', request.serialize)
|
7258
|
+
response = JSON.parse(body)
|
7259
|
+
if response['Response'].key?('Error') == false
|
7260
|
+
model = ModifyHighPriorityRouteAttributeResponse.new
|
7261
|
+
model.deserialize(response['Response'])
|
7262
|
+
model
|
7263
|
+
else
|
7264
|
+
code = response['Response']['Error']['Code']
|
7265
|
+
message = response['Response']['Error']['Message']
|
7266
|
+
reqid = response['Response']['RequestId']
|
7267
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
7268
|
+
end
|
7269
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
7270
|
+
raise e
|
7271
|
+
rescue StandardError => e
|
7272
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
7273
|
+
end
|
7274
|
+
|
7275
|
+
# 修改高优路由表 HASH 策略。
|
7276
|
+
|
7277
|
+
# @param request: Request instance for ModifyHighPriorityRouteECMPAlgorithm.
|
7278
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ModifyHighPriorityRouteECMPAlgorithmRequest`
|
7279
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ModifyHighPriorityRouteECMPAlgorithmResponse`
|
7280
|
+
def ModifyHighPriorityRouteECMPAlgorithm(request)
|
7281
|
+
body = send_request('ModifyHighPriorityRouteECMPAlgorithm', request.serialize)
|
7282
|
+
response = JSON.parse(body)
|
7283
|
+
if response['Response'].key?('Error') == false
|
7284
|
+
model = ModifyHighPriorityRouteECMPAlgorithmResponse.new
|
7285
|
+
model.deserialize(response['Response'])
|
7286
|
+
model
|
7287
|
+
else
|
7288
|
+
code = response['Response']['Error']['Code']
|
7289
|
+
message = response['Response']['Error']['Message']
|
7290
|
+
reqid = response['Response']['RequestId']
|
7291
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
7292
|
+
end
|
7293
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
7294
|
+
raise e
|
7295
|
+
rescue StandardError => e
|
7296
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
7297
|
+
end
|
7298
|
+
|
7299
|
+
# 修改高优路由表属性
|
7300
|
+
|
7301
|
+
# @param request: Request instance for ModifyHighPriorityRouteTableAttribute.
|
7302
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ModifyHighPriorityRouteTableAttributeRequest`
|
7303
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ModifyHighPriorityRouteTableAttributeResponse`
|
7304
|
+
def ModifyHighPriorityRouteTableAttribute(request)
|
7305
|
+
body = send_request('ModifyHighPriorityRouteTableAttribute', request.serialize)
|
7306
|
+
response = JSON.parse(body)
|
7307
|
+
if response['Response'].key?('Error') == false
|
7308
|
+
model = ModifyHighPriorityRouteTableAttributeResponse.new
|
7309
|
+
model.deserialize(response['Response'])
|
7310
|
+
model
|
7311
|
+
else
|
7312
|
+
code = response['Response']['Error']['Code']
|
7313
|
+
message = response['Response']['Error']['Message']
|
7314
|
+
reqid = response['Response']['RequestId']
|
7315
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
7316
|
+
end
|
7317
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
7318
|
+
raise e
|
7319
|
+
rescue StandardError => e
|
7320
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
7321
|
+
end
|
7322
|
+
|
6867
7323
|
# 该接口用于修改IPV6地址访问internet的带宽
|
6868
7324
|
|
6869
7325
|
# @param request: Request instance for ModifyIp6AddressesBandwidth.
|
@@ -8172,6 +8628,54 @@ module TencentCloud
|
|
8172
8628
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
8173
8629
|
end
|
8174
8630
|
|
8631
|
+
# 替换高优路由表和子网绑定关系。
|
8632
|
+
|
8633
|
+
# @param request: Request instance for ReplaceHighPriorityRouteTableAssociation.
|
8634
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ReplaceHighPriorityRouteTableAssociationRequest`
|
8635
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ReplaceHighPriorityRouteTableAssociationResponse`
|
8636
|
+
def ReplaceHighPriorityRouteTableAssociation(request)
|
8637
|
+
body = send_request('ReplaceHighPriorityRouteTableAssociation', request.serialize)
|
8638
|
+
response = JSON.parse(body)
|
8639
|
+
if response['Response'].key?('Error') == false
|
8640
|
+
model = ReplaceHighPriorityRouteTableAssociationResponse.new
|
8641
|
+
model.deserialize(response['Response'])
|
8642
|
+
model
|
8643
|
+
else
|
8644
|
+
code = response['Response']['Error']['Code']
|
8645
|
+
message = response['Response']['Error']['Message']
|
8646
|
+
reqid = response['Response']['RequestId']
|
8647
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
8648
|
+
end
|
8649
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
8650
|
+
raise e
|
8651
|
+
rescue StandardError => e
|
8652
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
8653
|
+
end
|
8654
|
+
|
8655
|
+
# 替换高优路由表条目信息。
|
8656
|
+
|
8657
|
+
# @param request: Request instance for ReplaceHighPriorityRoutes.
|
8658
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ReplaceHighPriorityRoutesRequest`
|
8659
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ReplaceHighPriorityRoutesResponse`
|
8660
|
+
def ReplaceHighPriorityRoutes(request)
|
8661
|
+
body = send_request('ReplaceHighPriorityRoutes', request.serialize)
|
8662
|
+
response = JSON.parse(body)
|
8663
|
+
if response['Response'].key?('Error') == false
|
8664
|
+
model = ReplaceHighPriorityRoutesResponse.new
|
8665
|
+
model.deserialize(response['Response'])
|
8666
|
+
model
|
8667
|
+
else
|
8668
|
+
code = response['Response']['Error']['Code']
|
8669
|
+
message = response['Response']['Error']['Message']
|
8670
|
+
reqid = response['Response']['RequestId']
|
8671
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
8672
|
+
end
|
8673
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
8674
|
+
raise e
|
8675
|
+
rescue StandardError => e
|
8676
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
8677
|
+
end
|
8678
|
+
|
8175
8679
|
# 本接口(ReplaceRouteTableAssociation)用于修改子网(Subnet)关联的路由表(RouteTable)。
|
8176
8680
|
# * 一个子网只能关联一个路由表。
|
8177
8681
|
|
@@ -8295,6 +8799,30 @@ module TencentCloud
|
|
8295
8799
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
8296
8800
|
end
|
8297
8801
|
|
8802
|
+
# 重置高优路由表。
|
8803
|
+
|
8804
|
+
# @param request: Request instance for ResetHighPriorityRoutes.
|
8805
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ResetHighPriorityRoutesRequest`
|
8806
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ResetHighPriorityRoutesResponse`
|
8807
|
+
def ResetHighPriorityRoutes(request)
|
8808
|
+
body = send_request('ResetHighPriorityRoutes', request.serialize)
|
8809
|
+
response = JSON.parse(body)
|
8810
|
+
if response['Response'].key?('Error') == false
|
8811
|
+
model = ResetHighPriorityRoutesResponse.new
|
8812
|
+
model.deserialize(response['Response'])
|
8813
|
+
model
|
8814
|
+
else
|
8815
|
+
code = response['Response']['Error']['Code']
|
8816
|
+
message = response['Response']['Error']['Message']
|
8817
|
+
reqid = response['Response']['RequestId']
|
8818
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
8819
|
+
end
|
8820
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
8821
|
+
raise e
|
8822
|
+
rescue StandardError => e
|
8823
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
8824
|
+
end
|
8825
|
+
|
8298
8826
|
# 本接口(ResetNatGatewayConnection)用来NAT网关并发连接上限。
|
8299
8827
|
|
8300
8828
|
# @param request: Request instance for ResetNatGatewayConnection.
|