tencentcloud-sdk-vpc 3.0.864 → 3.0.865
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 +347 -0
- data/lib/v20170312/models.rb +1097 -19
- metadata +2 -2
data/lib/v20170312/models.rb
CHANGED
@@ -1214,6 +1214,53 @@ module TencentCloud
|
|
1214
1214
|
end
|
1215
1215
|
end
|
1216
1216
|
|
1217
|
+
# AssociateInstancesToCcnRouteTable请求参数结构体
|
1218
|
+
class AssociateInstancesToCcnRouteTableRequest < TencentCloud::Common::AbstractModel
|
1219
|
+
# @param CcnId: 云联网ID。
|
1220
|
+
# @type CcnId: String
|
1221
|
+
# @param RouteTableId: 路由表ID。
|
1222
|
+
# @type RouteTableId: String
|
1223
|
+
# @param Instances: 实例列表。
|
1224
|
+
# @type Instances: Array
|
1225
|
+
|
1226
|
+
attr_accessor :CcnId, :RouteTableId, :Instances
|
1227
|
+
|
1228
|
+
def initialize(ccnid=nil, routetableid=nil, instances=nil)
|
1229
|
+
@CcnId = ccnid
|
1230
|
+
@RouteTableId = routetableid
|
1231
|
+
@Instances = instances
|
1232
|
+
end
|
1233
|
+
|
1234
|
+
def deserialize(params)
|
1235
|
+
@CcnId = params['CcnId']
|
1236
|
+
@RouteTableId = params['RouteTableId']
|
1237
|
+
unless params['Instances'].nil?
|
1238
|
+
@Instances = []
|
1239
|
+
params['Instances'].each do |i|
|
1240
|
+
ccninstancewithoutregion_tmp = CcnInstanceWithoutRegion.new
|
1241
|
+
ccninstancewithoutregion_tmp.deserialize(i)
|
1242
|
+
@Instances << ccninstancewithoutregion_tmp
|
1243
|
+
end
|
1244
|
+
end
|
1245
|
+
end
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
# AssociateInstancesToCcnRouteTable返回参数结构体
|
1249
|
+
class AssociateInstancesToCcnRouteTableResponse < TencentCloud::Common::AbstractModel
|
1250
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1251
|
+
# @type RequestId: String
|
1252
|
+
|
1253
|
+
attr_accessor :RequestId
|
1254
|
+
|
1255
|
+
def initialize(requestid=nil)
|
1256
|
+
@RequestId = requestid
|
1257
|
+
end
|
1258
|
+
|
1259
|
+
def deserialize(params)
|
1260
|
+
@RequestId = params['RequestId']
|
1261
|
+
end
|
1262
|
+
end
|
1263
|
+
|
1217
1264
|
# AssociateNatGatewayAddress请求参数结构体
|
1218
1265
|
class AssociateNatGatewayAddressRequest < TencentCloud::Common::AbstractModel
|
1219
1266
|
# @param NatGatewayId: NAT网关的ID,形如:`nat-df45454`。
|
@@ -2048,6 +2095,30 @@ module TencentCloud
|
|
2048
2095
|
end
|
2049
2096
|
end
|
2050
2097
|
|
2098
|
+
# 云联网路由表信息
|
2099
|
+
class CcnBatchRouteTable < TencentCloud::Common::AbstractModel
|
2100
|
+
# @param CcnId: 云联网ID。
|
2101
|
+
# @type CcnId: String
|
2102
|
+
# @param Name: 云联网路由表名称。
|
2103
|
+
# @type Name: String
|
2104
|
+
# @param Description: 云联网路由表描述。
|
2105
|
+
# @type Description: String
|
2106
|
+
|
2107
|
+
attr_accessor :CcnId, :Name, :Description
|
2108
|
+
|
2109
|
+
def initialize(ccnid=nil, name=nil, description=nil)
|
2110
|
+
@CcnId = ccnid
|
2111
|
+
@Name = name
|
2112
|
+
@Description = description
|
2113
|
+
end
|
2114
|
+
|
2115
|
+
def deserialize(params)
|
2116
|
+
@CcnId = params['CcnId']
|
2117
|
+
@Name = params['Name']
|
2118
|
+
@Description = params['Description']
|
2119
|
+
end
|
2120
|
+
end
|
2121
|
+
|
2051
2122
|
# 云联网限速实例锁对象,该对象特用于运营端使用,用于封禁实例流量。
|
2052
2123
|
class CcnFlowLock < TencentCloud::Common::AbstractModel
|
2053
2124
|
# @param CcnId: 带宽所属的云联网ID。
|
@@ -2120,6 +2191,33 @@ module TencentCloud
|
|
2120
2191
|
end
|
2121
2192
|
end
|
2122
2193
|
|
2194
|
+
# ccn实例信息(不带地域属性)
|
2195
|
+
class CcnInstanceWithoutRegion < TencentCloud::Common::AbstractModel
|
2196
|
+
# @param InstanceType: 云联网支持的实例类型:
|
2197
|
+
# `VPC`
|
2198
|
+
# `DIRECTCONNECT`
|
2199
|
+
# `BMVPC`
|
2200
|
+
# `EDGE`
|
2201
|
+
# `EDGE_TUNNEL`
|
2202
|
+
# `EDGE_VPNGW`
|
2203
|
+
# `VPNGW`
|
2204
|
+
# @type InstanceType: String
|
2205
|
+
# @param InstanceId: 实例ID。
|
2206
|
+
# @type InstanceId: String
|
2207
|
+
|
2208
|
+
attr_accessor :InstanceType, :InstanceId
|
2209
|
+
|
2210
|
+
def initialize(instancetype=nil, instanceid=nil)
|
2211
|
+
@InstanceType = instancetype
|
2212
|
+
@InstanceId = instanceid
|
2213
|
+
end
|
2214
|
+
|
2215
|
+
def deserialize(params)
|
2216
|
+
@InstanceType = params['InstanceType']
|
2217
|
+
@InstanceId = params['InstanceId']
|
2218
|
+
end
|
2219
|
+
end
|
2220
|
+
|
2123
2221
|
# 云联网(CCN)地域出带宽上限
|
2124
2222
|
class CcnRegionBandwidthLimit < TencentCloud::Common::AbstractModel
|
2125
2223
|
# @param Region: 地域,例如:ap-guangzhou
|
@@ -2244,6 +2342,243 @@ module TencentCloud
|
|
2244
2342
|
end
|
2245
2343
|
end
|
2246
2344
|
|
2345
|
+
# 云联网路由传播策略之路由条件
|
2346
|
+
class CcnRouteBroadcastPolicyRouteCondition < TencentCloud::Common::AbstractModel
|
2347
|
+
# @param Name: 条件类型
|
2348
|
+
# @type Name: String
|
2349
|
+
# @param Values: 条件值列表
|
2350
|
+
# @type Values: Array
|
2351
|
+
# @param MatchPattern: 匹配模式,`1` 精确匹配,`0` 模糊匹配
|
2352
|
+
# @type MatchPattern: Integer
|
2353
|
+
|
2354
|
+
attr_accessor :Name, :Values, :MatchPattern
|
2355
|
+
|
2356
|
+
def initialize(name=nil, values=nil, matchpattern=nil)
|
2357
|
+
@Name = name
|
2358
|
+
@Values = values
|
2359
|
+
@MatchPattern = matchpattern
|
2360
|
+
end
|
2361
|
+
|
2362
|
+
def deserialize(params)
|
2363
|
+
@Name = params['Name']
|
2364
|
+
@Values = params['Values']
|
2365
|
+
@MatchPattern = params['MatchPattern']
|
2366
|
+
end
|
2367
|
+
end
|
2368
|
+
|
2369
|
+
# 云联网路由表信息
|
2370
|
+
class CcnRouteTable < TencentCloud::Common::AbstractModel
|
2371
|
+
# @param CcnId: 云联网ID。
|
2372
|
+
# @type CcnId: String
|
2373
|
+
# @param CcnRouteTableId: 云联网路由表ID。
|
2374
|
+
# @type CcnRouteTableId: String
|
2375
|
+
# @param RouteTableName: 云联网路由表名称。
|
2376
|
+
# @type RouteTableName: String
|
2377
|
+
# @param RouteTableDescription: 云联网路由表描述。
|
2378
|
+
# @type RouteTableDescription: String
|
2379
|
+
# @param IsDefaultTable: True:是默认路由表 False:非默认路由表。
|
2380
|
+
# @type IsDefaultTable: Boolean
|
2381
|
+
# @param CreateTime: 创建时间。
|
2382
|
+
# @type CreateTime: String
|
2383
|
+
|
2384
|
+
attr_accessor :CcnId, :CcnRouteTableId, :RouteTableName, :RouteTableDescription, :IsDefaultTable, :CreateTime
|
2385
|
+
|
2386
|
+
def initialize(ccnid=nil, ccnroutetableid=nil, routetablename=nil, routetabledescription=nil, isdefaulttable=nil, createtime=nil)
|
2387
|
+
@CcnId = ccnid
|
2388
|
+
@CcnRouteTableId = ccnroutetableid
|
2389
|
+
@RouteTableName = routetablename
|
2390
|
+
@RouteTableDescription = routetabledescription
|
2391
|
+
@IsDefaultTable = isdefaulttable
|
2392
|
+
@CreateTime = createtime
|
2393
|
+
end
|
2394
|
+
|
2395
|
+
def deserialize(params)
|
2396
|
+
@CcnId = params['CcnId']
|
2397
|
+
@CcnRouteTableId = params['CcnRouteTableId']
|
2398
|
+
@RouteTableName = params['RouteTableName']
|
2399
|
+
@RouteTableDescription = params['RouteTableDescription']
|
2400
|
+
@IsDefaultTable = params['IsDefaultTable']
|
2401
|
+
@CreateTime = params['CreateTime']
|
2402
|
+
end
|
2403
|
+
end
|
2404
|
+
|
2405
|
+
# 云联网路由传播策略
|
2406
|
+
class CcnRouteTableBroadcastPolicy < TencentCloud::Common::AbstractModel
|
2407
|
+
# @param RouteConditions: 路由条件
|
2408
|
+
# @type RouteConditions: Array
|
2409
|
+
# @param BroadcastConditions: 传播条件
|
2410
|
+
# @type BroadcastConditions: Array
|
2411
|
+
# @param Action: 路由行为,`accept` 允许,`drop` 拒绝
|
2412
|
+
# @type Action: String
|
2413
|
+
# @param Description: 策略描述
|
2414
|
+
# @type Description: String
|
2415
|
+
|
2416
|
+
attr_accessor :RouteConditions, :BroadcastConditions, :Action, :Description
|
2417
|
+
|
2418
|
+
def initialize(routeconditions=nil, broadcastconditions=nil, action=nil, description=nil)
|
2419
|
+
@RouteConditions = routeconditions
|
2420
|
+
@BroadcastConditions = broadcastconditions
|
2421
|
+
@Action = action
|
2422
|
+
@Description = description
|
2423
|
+
end
|
2424
|
+
|
2425
|
+
def deserialize(params)
|
2426
|
+
unless params['RouteConditions'].nil?
|
2427
|
+
@RouteConditions = []
|
2428
|
+
params['RouteConditions'].each do |i|
|
2429
|
+
ccnroutebroadcastpolicyroutecondition_tmp = CcnRouteBroadcastPolicyRouteCondition.new
|
2430
|
+
ccnroutebroadcastpolicyroutecondition_tmp.deserialize(i)
|
2431
|
+
@RouteConditions << ccnroutebroadcastpolicyroutecondition_tmp
|
2432
|
+
end
|
2433
|
+
end
|
2434
|
+
unless params['BroadcastConditions'].nil?
|
2435
|
+
@BroadcastConditions = []
|
2436
|
+
params['BroadcastConditions'].each do |i|
|
2437
|
+
ccnroutebroadcastpolicyroutecondition_tmp = CcnRouteBroadcastPolicyRouteCondition.new
|
2438
|
+
ccnroutebroadcastpolicyroutecondition_tmp.deserialize(i)
|
2439
|
+
@BroadcastConditions << ccnroutebroadcastpolicyroutecondition_tmp
|
2440
|
+
end
|
2441
|
+
end
|
2442
|
+
@Action = params['Action']
|
2443
|
+
@Description = params['Description']
|
2444
|
+
end
|
2445
|
+
end
|
2446
|
+
|
2447
|
+
# 云联网路由传播策略列表
|
2448
|
+
class CcnRouteTableBroadcastPolicys < TencentCloud::Common::AbstractModel
|
2449
|
+
# @param Policys: 策略列表
|
2450
|
+
# @type Policys: Array
|
2451
|
+
# @param PolicyVersion: 版本号
|
2452
|
+
# @type PolicyVersion: Integer
|
2453
|
+
# @param CreateTime: 创建时间
|
2454
|
+
# @type CreateTime: String
|
2455
|
+
|
2456
|
+
attr_accessor :Policys, :PolicyVersion, :CreateTime
|
2457
|
+
|
2458
|
+
def initialize(policys=nil, policyversion=nil, createtime=nil)
|
2459
|
+
@Policys = policys
|
2460
|
+
@PolicyVersion = policyversion
|
2461
|
+
@CreateTime = createtime
|
2462
|
+
end
|
2463
|
+
|
2464
|
+
def deserialize(params)
|
2465
|
+
unless params['Policys'].nil?
|
2466
|
+
@Policys = []
|
2467
|
+
params['Policys'].each do |i|
|
2468
|
+
ccnroutetablebroadcastpolicy_tmp = CcnRouteTableBroadcastPolicy.new
|
2469
|
+
ccnroutetablebroadcastpolicy_tmp.deserialize(i)
|
2470
|
+
@Policys << ccnroutetablebroadcastpolicy_tmp
|
2471
|
+
end
|
2472
|
+
end
|
2473
|
+
@PolicyVersion = params['PolicyVersion']
|
2474
|
+
@CreateTime = params['CreateTime']
|
2475
|
+
end
|
2476
|
+
end
|
2477
|
+
|
2478
|
+
# 云联网路由接收策略
|
2479
|
+
class CcnRouteTableInputPolicy < TencentCloud::Common::AbstractModel
|
2480
|
+
# @param RouteConditions: 路由条件。
|
2481
|
+
# @type RouteConditions: Array
|
2482
|
+
# @param Action: 路由行为,`accept` 允许,`drop` 拒绝。
|
2483
|
+
# @type Action: String
|
2484
|
+
# @param Description: 策略描述。
|
2485
|
+
# @type Description: String
|
2486
|
+
|
2487
|
+
attr_accessor :RouteConditions, :Action, :Description
|
2488
|
+
|
2489
|
+
def initialize(routeconditions=nil, action=nil, description=nil)
|
2490
|
+
@RouteConditions = routeconditions
|
2491
|
+
@Action = action
|
2492
|
+
@Description = description
|
2493
|
+
end
|
2494
|
+
|
2495
|
+
def deserialize(params)
|
2496
|
+
unless params['RouteConditions'].nil?
|
2497
|
+
@RouteConditions = []
|
2498
|
+
params['RouteConditions'].each do |i|
|
2499
|
+
ccnroutebroadcastpolicyroutecondition_tmp = CcnRouteBroadcastPolicyRouteCondition.new
|
2500
|
+
ccnroutebroadcastpolicyroutecondition_tmp.deserialize(i)
|
2501
|
+
@RouteConditions << ccnroutebroadcastpolicyroutecondition_tmp
|
2502
|
+
end
|
2503
|
+
end
|
2504
|
+
@Action = params['Action']
|
2505
|
+
@Description = params['Description']
|
2506
|
+
end
|
2507
|
+
end
|
2508
|
+
|
2509
|
+
# 云联网路由接收策略列表
|
2510
|
+
class CcnRouteTableInputPolicys < TencentCloud::Common::AbstractModel
|
2511
|
+
# @param Policys: 策略列表。
|
2512
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2513
|
+
# @type Policys: Array
|
2514
|
+
# @param PolicyVersion: 版本号。
|
2515
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2516
|
+
# @type PolicyVersion: Integer
|
2517
|
+
# @param CreateTime: 创建时间。
|
2518
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2519
|
+
# @type CreateTime: String
|
2520
|
+
|
2521
|
+
attr_accessor :Policys, :PolicyVersion, :CreateTime
|
2522
|
+
|
2523
|
+
def initialize(policys=nil, policyversion=nil, createtime=nil)
|
2524
|
+
@Policys = policys
|
2525
|
+
@PolicyVersion = policyversion
|
2526
|
+
@CreateTime = createtime
|
2527
|
+
end
|
2528
|
+
|
2529
|
+
def deserialize(params)
|
2530
|
+
unless params['Policys'].nil?
|
2531
|
+
@Policys = []
|
2532
|
+
params['Policys'].each do |i|
|
2533
|
+
ccnroutetableinputpolicy_tmp = CcnRouteTableInputPolicy.new
|
2534
|
+
ccnroutetableinputpolicy_tmp.deserialize(i)
|
2535
|
+
@Policys << ccnroutetableinputpolicy_tmp
|
2536
|
+
end
|
2537
|
+
end
|
2538
|
+
@PolicyVersion = params['PolicyVersion']
|
2539
|
+
@CreateTime = params['CreateTime']
|
2540
|
+
end
|
2541
|
+
end
|
2542
|
+
|
2543
|
+
# 路由表选择策略信息
|
2544
|
+
class CcnRouteTableSelectPolicy < TencentCloud::Common::AbstractModel
|
2545
|
+
# @param InstanceType: 实例类型:
|
2546
|
+
# 私有网络: `VPC`
|
2547
|
+
# 专线网关: `DIRECTCONNECT`
|
2548
|
+
# 黑石私有网络: `BMVPC`
|
2549
|
+
# EDGE设备: `EDGE`
|
2550
|
+
# EDGE隧道: `EDGE_TUNNEL`
|
2551
|
+
# EDGE网关: `EDGE_VPNGW`
|
2552
|
+
# VPN网关:`VPNGW`
|
2553
|
+
# @type InstanceType: String
|
2554
|
+
# @param InstanceId: 实例ID。
|
2555
|
+
# @type InstanceId: String
|
2556
|
+
# @param SourceCidrBlock: 源端CIDR。
|
2557
|
+
# @type SourceCidrBlock: String
|
2558
|
+
# @param RouteTableId: 路由表ID。
|
2559
|
+
# @type RouteTableId: String
|
2560
|
+
# @param Description: 路由表备注。
|
2561
|
+
# @type Description: String
|
2562
|
+
|
2563
|
+
attr_accessor :InstanceType, :InstanceId, :SourceCidrBlock, :RouteTableId, :Description
|
2564
|
+
|
2565
|
+
def initialize(instancetype=nil, instanceid=nil, sourcecidrblock=nil, routetableid=nil, description=nil)
|
2566
|
+
@InstanceType = instancetype
|
2567
|
+
@InstanceId = instanceid
|
2568
|
+
@SourceCidrBlock = sourcecidrblock
|
2569
|
+
@RouteTableId = routetableid
|
2570
|
+
@Description = description
|
2571
|
+
end
|
2572
|
+
|
2573
|
+
def deserialize(params)
|
2574
|
+
@InstanceType = params['InstanceType']
|
2575
|
+
@InstanceId = params['InstanceId']
|
2576
|
+
@SourceCidrBlock = params['SourceCidrBlock']
|
2577
|
+
@RouteTableId = params['RouteTableId']
|
2578
|
+
@Description = params['Description']
|
2579
|
+
end
|
2580
|
+
end
|
2581
|
+
|
2247
2582
|
# CheckAssistantCidr请求参数结构体
|
2248
2583
|
class CheckAssistantCidrRequest < TencentCloud::Common::AbstractModel
|
2249
2584
|
# @param VpcId: `VPC`实例`ID`。形如:`vpc-6v2ht8q5`
|
@@ -2454,6 +2789,38 @@ module TencentCloud
|
|
2454
2789
|
end
|
2455
2790
|
end
|
2456
2791
|
|
2792
|
+
# ClearRouteTableSelectionPolicies请求参数结构体
|
2793
|
+
class ClearRouteTableSelectionPoliciesRequest < TencentCloud::Common::AbstractModel
|
2794
|
+
# @param CcnId: 云联网ID。
|
2795
|
+
# @type CcnId: String
|
2796
|
+
|
2797
|
+
attr_accessor :CcnId
|
2798
|
+
|
2799
|
+
def initialize(ccnid=nil)
|
2800
|
+
@CcnId = ccnid
|
2801
|
+
end
|
2802
|
+
|
2803
|
+
def deserialize(params)
|
2804
|
+
@CcnId = params['CcnId']
|
2805
|
+
end
|
2806
|
+
end
|
2807
|
+
|
2808
|
+
# ClearRouteTableSelectionPolicies返回参数结构体
|
2809
|
+
class ClearRouteTableSelectionPoliciesResponse < TencentCloud::Common::AbstractModel
|
2810
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2811
|
+
# @type RequestId: String
|
2812
|
+
|
2813
|
+
attr_accessor :RequestId
|
2814
|
+
|
2815
|
+
def initialize(requestid=nil)
|
2816
|
+
@RequestId = requestid
|
2817
|
+
end
|
2818
|
+
|
2819
|
+
def deserialize(params)
|
2820
|
+
@RequestId = params['RequestId']
|
2821
|
+
end
|
2822
|
+
end
|
2823
|
+
|
2457
2824
|
# CloneSecurityGroup请求参数结构体
|
2458
2825
|
class CloneSecurityGroupRequest < TencentCloud::Common::AbstractModel
|
2459
2826
|
# @param SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
@@ -2958,6 +3325,56 @@ module TencentCloud
|
|
2958
3325
|
end
|
2959
3326
|
end
|
2960
3327
|
|
3328
|
+
# CreateCcnRouteTables请求参数结构体
|
3329
|
+
class CreateCcnRouteTablesRequest < TencentCloud::Common::AbstractModel
|
3330
|
+
# @param RouteTable: 需要创建的路由表列表。
|
3331
|
+
# @type RouteTable: Array
|
3332
|
+
|
3333
|
+
attr_accessor :RouteTable
|
3334
|
+
|
3335
|
+
def initialize(routetable=nil)
|
3336
|
+
@RouteTable = routetable
|
3337
|
+
end
|
3338
|
+
|
3339
|
+
def deserialize(params)
|
3340
|
+
unless params['RouteTable'].nil?
|
3341
|
+
@RouteTable = []
|
3342
|
+
params['RouteTable'].each do |i|
|
3343
|
+
ccnbatchroutetable_tmp = CcnBatchRouteTable.new
|
3344
|
+
ccnbatchroutetable_tmp.deserialize(i)
|
3345
|
+
@RouteTable << ccnbatchroutetable_tmp
|
3346
|
+
end
|
3347
|
+
end
|
3348
|
+
end
|
3349
|
+
end
|
3350
|
+
|
3351
|
+
# CreateCcnRouteTables返回参数结构体
|
3352
|
+
class CreateCcnRouteTablesResponse < TencentCloud::Common::AbstractModel
|
3353
|
+
# @param CcnRouteTableSet: 路由表信息列表。
|
3354
|
+
# @type CcnRouteTableSet: Array
|
3355
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3356
|
+
# @type RequestId: String
|
3357
|
+
|
3358
|
+
attr_accessor :CcnRouteTableSet, :RequestId
|
3359
|
+
|
3360
|
+
def initialize(ccnroutetableset=nil, requestid=nil)
|
3361
|
+
@CcnRouteTableSet = ccnroutetableset
|
3362
|
+
@RequestId = requestid
|
3363
|
+
end
|
3364
|
+
|
3365
|
+
def deserialize(params)
|
3366
|
+
unless params['CcnRouteTableSet'].nil?
|
3367
|
+
@CcnRouteTableSet = []
|
3368
|
+
params['CcnRouteTableSet'].each do |i|
|
3369
|
+
ccnroutetable_tmp = CcnRouteTable.new
|
3370
|
+
ccnroutetable_tmp.deserialize(i)
|
3371
|
+
@CcnRouteTableSet << ccnroutetable_tmp
|
3372
|
+
end
|
3373
|
+
end
|
3374
|
+
@RequestId = params['RequestId']
|
3375
|
+
end
|
3376
|
+
end
|
3377
|
+
|
2961
3378
|
# CreateCustomerGateway请求参数结构体
|
2962
3379
|
class CreateCustomerGatewayRequest < TencentCloud::Common::AbstractModel
|
2963
3380
|
# @param CustomerGatewayName: 对端网关名称,可任意命名,但不得超过60个字符。
|
@@ -5992,6 +6409,38 @@ module TencentCloud
|
|
5992
6409
|
end
|
5993
6410
|
end
|
5994
6411
|
|
6412
|
+
# DeleteCcnRouteTables请求参数结构体
|
6413
|
+
class DeleteCcnRouteTablesRequest < TencentCloud::Common::AbstractModel
|
6414
|
+
# @param RouteTableId: 需要删除的路由表列表。
|
6415
|
+
# @type RouteTableId: Array
|
6416
|
+
|
6417
|
+
attr_accessor :RouteTableId
|
6418
|
+
|
6419
|
+
def initialize(routetableid=nil)
|
6420
|
+
@RouteTableId = routetableid
|
6421
|
+
end
|
6422
|
+
|
6423
|
+
def deserialize(params)
|
6424
|
+
@RouteTableId = params['RouteTableId']
|
6425
|
+
end
|
6426
|
+
end
|
6427
|
+
|
6428
|
+
# DeleteCcnRouteTables返回参数结构体
|
6429
|
+
class DeleteCcnRouteTablesResponse < TencentCloud::Common::AbstractModel
|
6430
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6431
|
+
# @type RequestId: String
|
6432
|
+
|
6433
|
+
attr_accessor :RequestId
|
6434
|
+
|
6435
|
+
def initialize(requestid=nil)
|
6436
|
+
@RequestId = requestid
|
6437
|
+
end
|
6438
|
+
|
6439
|
+
def deserialize(params)
|
6440
|
+
@RequestId = params['RequestId']
|
6441
|
+
end
|
6442
|
+
end
|
6443
|
+
|
5995
6444
|
# DeleteCustomerGateway请求参数结构体
|
5996
6445
|
class DeleteCustomerGatewayRequest < TencentCloud::Common::AbstractModel
|
5997
6446
|
# @param CustomerGatewayId: 对端网关ID,例如:cgw-2wqq41m9,可通过[DescribeCustomerGateways](https://cloud.tencent.com/document/api/215/17516)接口查询对端网关。
|
@@ -8138,6 +8587,182 @@ module TencentCloud
|
|
8138
8587
|
end
|
8139
8588
|
end
|
8140
8589
|
|
8590
|
+
# DescribeCcnRouteTableBroadcastPolicys请求参数结构体
|
8591
|
+
class DescribeCcnRouteTableBroadcastPolicysRequest < TencentCloud::Common::AbstractModel
|
8592
|
+
# @param CcnId: 云联网ID
|
8593
|
+
# @type CcnId: String
|
8594
|
+
# @param RouteTableId: 云联网路由表ID
|
8595
|
+
# @type RouteTableId: String
|
8596
|
+
# @param PolicyVersion: 路由传播策略版本号
|
8597
|
+
# @type PolicyVersion: Integer
|
8598
|
+
|
8599
|
+
attr_accessor :CcnId, :RouteTableId, :PolicyVersion
|
8600
|
+
|
8601
|
+
def initialize(ccnid=nil, routetableid=nil, policyversion=nil)
|
8602
|
+
@CcnId = ccnid
|
8603
|
+
@RouteTableId = routetableid
|
8604
|
+
@PolicyVersion = policyversion
|
8605
|
+
end
|
8606
|
+
|
8607
|
+
def deserialize(params)
|
8608
|
+
@CcnId = params['CcnId']
|
8609
|
+
@RouteTableId = params['RouteTableId']
|
8610
|
+
@PolicyVersion = params['PolicyVersion']
|
8611
|
+
end
|
8612
|
+
end
|
8613
|
+
|
8614
|
+
# DescribeCcnRouteTableBroadcastPolicys返回参数结构体
|
8615
|
+
class DescribeCcnRouteTableBroadcastPolicysResponse < TencentCloud::Common::AbstractModel
|
8616
|
+
# @param PolicySet: 路由表传播策略。
|
8617
|
+
# @type PolicySet: Array
|
8618
|
+
# @param TotalCount: 符合条件的对象数。
|
8619
|
+
# @type TotalCount: Integer
|
8620
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8621
|
+
# @type RequestId: String
|
8622
|
+
|
8623
|
+
attr_accessor :PolicySet, :TotalCount, :RequestId
|
8624
|
+
|
8625
|
+
def initialize(policyset=nil, totalcount=nil, requestid=nil)
|
8626
|
+
@PolicySet = policyset
|
8627
|
+
@TotalCount = totalcount
|
8628
|
+
@RequestId = requestid
|
8629
|
+
end
|
8630
|
+
|
8631
|
+
def deserialize(params)
|
8632
|
+
unless params['PolicySet'].nil?
|
8633
|
+
@PolicySet = []
|
8634
|
+
params['PolicySet'].each do |i|
|
8635
|
+
ccnroutetablebroadcastpolicys_tmp = CcnRouteTableBroadcastPolicys.new
|
8636
|
+
ccnroutetablebroadcastpolicys_tmp.deserialize(i)
|
8637
|
+
@PolicySet << ccnroutetablebroadcastpolicys_tmp
|
8638
|
+
end
|
8639
|
+
end
|
8640
|
+
@TotalCount = params['TotalCount']
|
8641
|
+
@RequestId = params['RequestId']
|
8642
|
+
end
|
8643
|
+
end
|
8644
|
+
|
8645
|
+
# DescribeCcnRouteTableInputPolicys请求参数结构体
|
8646
|
+
class DescribeCcnRouteTableInputPolicysRequest < TencentCloud::Common::AbstractModel
|
8647
|
+
# @param CcnId: 云联网ID。
|
8648
|
+
# @type CcnId: String
|
8649
|
+
# @param RouteTableId: 云联网路由表ID。
|
8650
|
+
# @type RouteTableId: String
|
8651
|
+
# @param PolicyVersion: 路由接收策略版本号。
|
8652
|
+
# @type PolicyVersion: Integer
|
8653
|
+
|
8654
|
+
attr_accessor :CcnId, :RouteTableId, :PolicyVersion
|
8655
|
+
|
8656
|
+
def initialize(ccnid=nil, routetableid=nil, policyversion=nil)
|
8657
|
+
@CcnId = ccnid
|
8658
|
+
@RouteTableId = routetableid
|
8659
|
+
@PolicyVersion = policyversion
|
8660
|
+
end
|
8661
|
+
|
8662
|
+
def deserialize(params)
|
8663
|
+
@CcnId = params['CcnId']
|
8664
|
+
@RouteTableId = params['RouteTableId']
|
8665
|
+
@PolicyVersion = params['PolicyVersion']
|
8666
|
+
end
|
8667
|
+
end
|
8668
|
+
|
8669
|
+
# DescribeCcnRouteTableInputPolicys返回参数结构体
|
8670
|
+
class DescribeCcnRouteTableInputPolicysResponse < TencentCloud::Common::AbstractModel
|
8671
|
+
# @param PolicySet: 路由表接收策略。
|
8672
|
+
# @type PolicySet: Array
|
8673
|
+
# @param TotalCount: 符合条件的对象数。
|
8674
|
+
# @type TotalCount: Integer
|
8675
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8676
|
+
# @type RequestId: String
|
8677
|
+
|
8678
|
+
attr_accessor :PolicySet, :TotalCount, :RequestId
|
8679
|
+
|
8680
|
+
def initialize(policyset=nil, totalcount=nil, requestid=nil)
|
8681
|
+
@PolicySet = policyset
|
8682
|
+
@TotalCount = totalcount
|
8683
|
+
@RequestId = requestid
|
8684
|
+
end
|
8685
|
+
|
8686
|
+
def deserialize(params)
|
8687
|
+
unless params['PolicySet'].nil?
|
8688
|
+
@PolicySet = []
|
8689
|
+
params['PolicySet'].each do |i|
|
8690
|
+
ccnroutetableinputpolicys_tmp = CcnRouteTableInputPolicys.new
|
8691
|
+
ccnroutetableinputpolicys_tmp.deserialize(i)
|
8692
|
+
@PolicySet << ccnroutetableinputpolicys_tmp
|
8693
|
+
end
|
8694
|
+
end
|
8695
|
+
@TotalCount = params['TotalCount']
|
8696
|
+
@RequestId = params['RequestId']
|
8697
|
+
end
|
8698
|
+
end
|
8699
|
+
|
8700
|
+
# DescribeCcnRouteTables请求参数结构体
|
8701
|
+
class DescribeCcnRouteTablesRequest < TencentCloud::Common::AbstractModel
|
8702
|
+
# @param Filters: 过滤条件:
|
8703
|
+
# <li>ccn-id - String -(过滤条件)CCN实例ID。</li>
|
8704
|
+
# <li>route-table-id - String -(过滤条件)路由表ID。</li>
|
8705
|
+
# <li>route-table-name - String -(过滤条件)路由表名称。</li>
|
8706
|
+
# <li>route-table-description- String -(过滤条件)路由表备注。</li>
|
8707
|
+
# @type Filters: Array
|
8708
|
+
# @param Offset: 偏移量。
|
8709
|
+
# @type Offset: Integer
|
8710
|
+
# @param Limit: 一次查询最大返回的数量。
|
8711
|
+
# @type Limit: Integer
|
8712
|
+
|
8713
|
+
attr_accessor :Filters, :Offset, :Limit
|
8714
|
+
|
8715
|
+
def initialize(filters=nil, offset=nil, limit=nil)
|
8716
|
+
@Filters = filters
|
8717
|
+
@Offset = offset
|
8718
|
+
@Limit = limit
|
8719
|
+
end
|
8720
|
+
|
8721
|
+
def deserialize(params)
|
8722
|
+
unless params['Filters'].nil?
|
8723
|
+
@Filters = []
|
8724
|
+
params['Filters'].each do |i|
|
8725
|
+
filter_tmp = Filter.new
|
8726
|
+
filter_tmp.deserialize(i)
|
8727
|
+
@Filters << filter_tmp
|
8728
|
+
end
|
8729
|
+
end
|
8730
|
+
@Offset = params['Offset']
|
8731
|
+
@Limit = params['Limit']
|
8732
|
+
end
|
8733
|
+
end
|
8734
|
+
|
8735
|
+
# DescribeCcnRouteTables返回参数结构体
|
8736
|
+
class DescribeCcnRouteTablesResponse < TencentCloud::Common::AbstractModel
|
8737
|
+
# @param CcnRouteTableSet: 路由表信息列表。
|
8738
|
+
# @type CcnRouteTableSet: Array
|
8739
|
+
# @param TotalCount: 查询到的路由表数量。
|
8740
|
+
# @type TotalCount: Integer
|
8741
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8742
|
+
# @type RequestId: String
|
8743
|
+
|
8744
|
+
attr_accessor :CcnRouteTableSet, :TotalCount, :RequestId
|
8745
|
+
|
8746
|
+
def initialize(ccnroutetableset=nil, totalcount=nil, requestid=nil)
|
8747
|
+
@CcnRouteTableSet = ccnroutetableset
|
8748
|
+
@TotalCount = totalcount
|
8749
|
+
@RequestId = requestid
|
8750
|
+
end
|
8751
|
+
|
8752
|
+
def deserialize(params)
|
8753
|
+
unless params['CcnRouteTableSet'].nil?
|
8754
|
+
@CcnRouteTableSet = []
|
8755
|
+
params['CcnRouteTableSet'].each do |i|
|
8756
|
+
ccnroutetable_tmp = CcnRouteTable.new
|
8757
|
+
ccnroutetable_tmp.deserialize(i)
|
8758
|
+
@CcnRouteTableSet << ccnroutetable_tmp
|
8759
|
+
end
|
8760
|
+
end
|
8761
|
+
@TotalCount = params['TotalCount']
|
8762
|
+
@RequestId = params['RequestId']
|
8763
|
+
end
|
8764
|
+
end
|
8765
|
+
|
8141
8766
|
# DescribeCcnRoutes请求参数结构体
|
8142
8767
|
class DescribeCcnRoutesRequest < TencentCloud::Common::AbstractModel
|
8143
8768
|
# @param CcnId: CCN实例ID,形如:`ccn-gree226l`。
|
@@ -10804,40 +11429,187 @@ module TencentCloud
|
|
10804
11429
|
# @param DestinationCidrBlocks: 要检查的与之冲突的目的端列表。
|
10805
11430
|
# @type DestinationCidrBlocks: Array
|
10806
11431
|
|
10807
|
-
attr_accessor :RouteTableId, :DestinationCidrBlocks
|
11432
|
+
attr_accessor :RouteTableId, :DestinationCidrBlocks
|
11433
|
+
|
11434
|
+
def initialize(routetableid=nil, destinationcidrblocks=nil)
|
11435
|
+
@RouteTableId = routetableid
|
11436
|
+
@DestinationCidrBlocks = destinationcidrblocks
|
11437
|
+
end
|
11438
|
+
|
11439
|
+
def deserialize(params)
|
11440
|
+
@RouteTableId = params['RouteTableId']
|
11441
|
+
@DestinationCidrBlocks = params['DestinationCidrBlocks']
|
11442
|
+
end
|
11443
|
+
end
|
11444
|
+
|
11445
|
+
# DescribeRouteConflicts返回参数结构体
|
11446
|
+
class DescribeRouteConflictsResponse < TencentCloud::Common::AbstractModel
|
11447
|
+
# @param RouteConflictSet: 路由策略冲突列表。
|
11448
|
+
# @type RouteConflictSet: Array
|
11449
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11450
|
+
# @type RequestId: String
|
11451
|
+
|
11452
|
+
attr_accessor :RouteConflictSet, :RequestId
|
11453
|
+
|
11454
|
+
def initialize(routeconflictset=nil, requestid=nil)
|
11455
|
+
@RouteConflictSet = routeconflictset
|
11456
|
+
@RequestId = requestid
|
11457
|
+
end
|
11458
|
+
|
11459
|
+
def deserialize(params)
|
11460
|
+
unless params['RouteConflictSet'].nil?
|
11461
|
+
@RouteConflictSet = []
|
11462
|
+
params['RouteConflictSet'].each do |i|
|
11463
|
+
routeconflict_tmp = RouteConflict.new
|
11464
|
+
routeconflict_tmp.deserialize(i)
|
11465
|
+
@RouteConflictSet << routeconflict_tmp
|
11466
|
+
end
|
11467
|
+
end
|
11468
|
+
@RequestId = params['RequestId']
|
11469
|
+
end
|
11470
|
+
end
|
11471
|
+
|
11472
|
+
# DescribeRouteTableAssociatedInstances请求参数结构体
|
11473
|
+
class DescribeRouteTableAssociatedInstancesRequest < TencentCloud::Common::AbstractModel
|
11474
|
+
# @param Filters: 过滤条件:
|
11475
|
+
# <li>ccn-id - String -(过滤条件)CCN实例ID。</li>
|
11476
|
+
# <li>ccn-route-table-id - String -(过滤条件)路由表ID。</li>
|
11477
|
+
# <li>instance-type - String -(过滤条件)实例类型:
|
11478
|
+
# 私有网络: `VPC`
|
11479
|
+
# 专线网关: `DIRECTCONNECT`
|
11480
|
+
# 黑石私有网络: `BMVPC`
|
11481
|
+
# EDGE设备: `EDGE`
|
11482
|
+
# EDGE隧道: `EDGE_TUNNEL`
|
11483
|
+
# EDGE网关: `EDGE_VPNGW`
|
11484
|
+
# VPN网关:`VPNGW`</li>
|
11485
|
+
# <li>instance-id- String -(过滤条件)实例ID。</li>
|
11486
|
+
# @type Filters: Array
|
11487
|
+
# @param Offset: 偏移量。
|
11488
|
+
# @type Offset: Integer
|
11489
|
+
# @param Limit: 一次查询最大返回的数量。
|
11490
|
+
# @type Limit: Integer
|
11491
|
+
|
11492
|
+
attr_accessor :Filters, :Offset, :Limit
|
11493
|
+
|
11494
|
+
def initialize(filters=nil, offset=nil, limit=nil)
|
11495
|
+
@Filters = filters
|
11496
|
+
@Offset = offset
|
11497
|
+
@Limit = limit
|
11498
|
+
end
|
11499
|
+
|
11500
|
+
def deserialize(params)
|
11501
|
+
unless params['Filters'].nil?
|
11502
|
+
@Filters = []
|
11503
|
+
params['Filters'].each do |i|
|
11504
|
+
filter_tmp = Filter.new
|
11505
|
+
filter_tmp.deserialize(i)
|
11506
|
+
@Filters << filter_tmp
|
11507
|
+
end
|
11508
|
+
end
|
11509
|
+
@Offset = params['Offset']
|
11510
|
+
@Limit = params['Limit']
|
11511
|
+
end
|
11512
|
+
end
|
11513
|
+
|
11514
|
+
# DescribeRouteTableAssociatedInstances返回参数结构体
|
11515
|
+
class DescribeRouteTableAssociatedInstancesResponse < TencentCloud::Common::AbstractModel
|
11516
|
+
# @param TotalCount: 查询到的绑定路由表的实例数量。
|
11517
|
+
# @type TotalCount: Integer
|
11518
|
+
# @param InstanceBindSet: 绑定信息。
|
11519
|
+
# @type InstanceBindSet: Array
|
11520
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11521
|
+
# @type RequestId: String
|
11522
|
+
|
11523
|
+
attr_accessor :TotalCount, :InstanceBindSet, :RequestId
|
11524
|
+
|
11525
|
+
def initialize(totalcount=nil, instancebindset=nil, requestid=nil)
|
11526
|
+
@TotalCount = totalcount
|
11527
|
+
@InstanceBindSet = instancebindset
|
11528
|
+
@RequestId = requestid
|
11529
|
+
end
|
11530
|
+
|
11531
|
+
def deserialize(params)
|
11532
|
+
@TotalCount = params['TotalCount']
|
11533
|
+
unless params['InstanceBindSet'].nil?
|
11534
|
+
@InstanceBindSet = []
|
11535
|
+
params['InstanceBindSet'].each do |i|
|
11536
|
+
instancebind_tmp = InstanceBind.new
|
11537
|
+
instancebind_tmp.deserialize(i)
|
11538
|
+
@InstanceBindSet << instancebind_tmp
|
11539
|
+
end
|
11540
|
+
end
|
11541
|
+
@RequestId = params['RequestId']
|
11542
|
+
end
|
11543
|
+
end
|
11544
|
+
|
11545
|
+
# DescribeRouteTableSelectionPolicies请求参数结构体
|
11546
|
+
class DescribeRouteTableSelectionPoliciesRequest < TencentCloud::Common::AbstractModel
|
11547
|
+
# @param Offset: 偏移量
|
11548
|
+
# @type Offset: Integer
|
11549
|
+
# @param Limit: 返回数量
|
11550
|
+
# @type Limit: Integer
|
11551
|
+
# @param Filters: 过滤条件:
|
11552
|
+
# <li>ccn-id - String -(过滤条件)CCN实例ID。</li>
|
11553
|
+
# <li>instance-type - String -(过滤条件)关联实例类型:
|
11554
|
+
# 私有网络: `VPC`
|
11555
|
+
# 专线网关: `DIRECTCONNECT`
|
11556
|
+
# 黑石私有网络: `BMVPC`
|
11557
|
+
# EDGE设备: `EDGE`
|
11558
|
+
# EDGE隧道: `EDGE_TUNNEL`
|
11559
|
+
# EDGE网关: `EDGE_VPNGW`
|
11560
|
+
# VPN网关:`VPNGW`</li>
|
11561
|
+
# <li>ccn-route-table-id - String -(过滤条件)路由表ID。</li>
|
11562
|
+
# <li>instance-id - String -(过滤条件)关联的实例ID。</li>
|
11563
|
+
# <li>route-table-name - String -(过滤条件)路由表名称。</li>
|
11564
|
+
# @type Filters: Array
|
11565
|
+
|
11566
|
+
attr_accessor :Offset, :Limit, :Filters
|
10808
11567
|
|
10809
|
-
def initialize(
|
10810
|
-
@
|
10811
|
-
@
|
11568
|
+
def initialize(offset=nil, limit=nil, filters=nil)
|
11569
|
+
@Offset = offset
|
11570
|
+
@Limit = limit
|
11571
|
+
@Filters = filters
|
10812
11572
|
end
|
10813
11573
|
|
10814
11574
|
def deserialize(params)
|
10815
|
-
@
|
10816
|
-
@
|
11575
|
+
@Offset = params['Offset']
|
11576
|
+
@Limit = params['Limit']
|
11577
|
+
unless params['Filters'].nil?
|
11578
|
+
@Filters = []
|
11579
|
+
params['Filters'].each do |i|
|
11580
|
+
filter_tmp = Filter.new
|
11581
|
+
filter_tmp.deserialize(i)
|
11582
|
+
@Filters << filter_tmp
|
11583
|
+
end
|
11584
|
+
end
|
10817
11585
|
end
|
10818
11586
|
end
|
10819
11587
|
|
10820
|
-
#
|
10821
|
-
class
|
10822
|
-
# @param
|
10823
|
-
# @type
|
11588
|
+
# DescribeRouteTableSelectionPolicies返回参数结构体
|
11589
|
+
class DescribeRouteTableSelectionPoliciesResponse < TencentCloud::Common::AbstractModel
|
11590
|
+
# @param TotalCount: 符合条件的对象数。
|
11591
|
+
# @type TotalCount: Integer
|
11592
|
+
# @param RouteSelectionPolicySet: 路由表选择策略信息集合。
|
11593
|
+
# @type RouteSelectionPolicySet: Array
|
10824
11594
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10825
11595
|
# @type RequestId: String
|
10826
11596
|
|
10827
|
-
attr_accessor :
|
11597
|
+
attr_accessor :TotalCount, :RouteSelectionPolicySet, :RequestId
|
10828
11598
|
|
10829
|
-
def initialize(
|
10830
|
-
@
|
11599
|
+
def initialize(totalcount=nil, routeselectionpolicyset=nil, requestid=nil)
|
11600
|
+
@TotalCount = totalcount
|
11601
|
+
@RouteSelectionPolicySet = routeselectionpolicyset
|
10831
11602
|
@RequestId = requestid
|
10832
11603
|
end
|
10833
11604
|
|
10834
11605
|
def deserialize(params)
|
10835
|
-
|
10836
|
-
|
10837
|
-
|
10838
|
-
|
10839
|
-
|
10840
|
-
|
11606
|
+
@TotalCount = params['TotalCount']
|
11607
|
+
unless params['RouteSelectionPolicySet'].nil?
|
11608
|
+
@RouteSelectionPolicySet = []
|
11609
|
+
params['RouteSelectionPolicySet'].each do |i|
|
11610
|
+
routeselectionpolicy_tmp = RouteSelectionPolicy.new
|
11611
|
+
routeselectionpolicy_tmp.deserialize(i)
|
11612
|
+
@RouteSelectionPolicySet << routeselectionpolicy_tmp
|
10841
11613
|
end
|
10842
11614
|
end
|
10843
11615
|
@RequestId = params['RequestId']
|
@@ -15464,6 +16236,63 @@ module TencentCloud
|
|
15464
16236
|
end
|
15465
16237
|
end
|
15466
16238
|
|
16239
|
+
# 云联网实例绑定路由表信息
|
16240
|
+
class InstanceBind < TencentCloud::Common::AbstractModel
|
16241
|
+
# @param CcnId: 云联网ID。
|
16242
|
+
# @type CcnId: String
|
16243
|
+
# @param InstanceType: 实例类型:VPC,DIRECTCONNECT,BMVPC,EDGE,EDGE_TUNNEL,EDGE_VPNGW,VPNGW。
|
16244
|
+
# @type InstanceType: String
|
16245
|
+
# @param InstanceId: 实例ID。
|
16246
|
+
# @type InstanceId: String
|
16247
|
+
# @param InstanceBindTime: 实例绑定路由表的时间。
|
16248
|
+
# @type InstanceBindTime: String
|
16249
|
+
# @param RouteTableId: 路由表ID。
|
16250
|
+
# @type RouteTableId: String
|
16251
|
+
# @param InstanceName: 实例名称。
|
16252
|
+
# @type InstanceName: String
|
16253
|
+
# @param InstanceRegion: 实例所在地域。
|
16254
|
+
# @type InstanceRegion: Array
|
16255
|
+
# @param InstanceUin: 实例所属的账户uin。
|
16256
|
+
# @type InstanceUin: String
|
16257
|
+
# @param State: 关联实例状态:
|
16258
|
+
# <li>`PENDING`:申请中</li>
|
16259
|
+
# <li>`ACTIVE`:已连接</li>
|
16260
|
+
# <li>`EXPIRED`:已过期</li>
|
16261
|
+
# <li>`REJECTED`:已拒绝</li>
|
16262
|
+
# <li>`DELETED`:已删除</li>
|
16263
|
+
# <li>`FAILED`:失败的(2小时后将异步强制解关联)</li>
|
16264
|
+
# <li>`ATTACHING`:关联中</li>
|
16265
|
+
# <li>`DETACHING`:解关联中</li>
|
16266
|
+
# <li>`DETACHFAILED`:解关联失败(2小时后将异步强制解关联)</li>
|
16267
|
+
# @type State: String
|
16268
|
+
|
16269
|
+
attr_accessor :CcnId, :InstanceType, :InstanceId, :InstanceBindTime, :RouteTableId, :InstanceName, :InstanceRegion, :InstanceUin, :State
|
16270
|
+
|
16271
|
+
def initialize(ccnid=nil, instancetype=nil, instanceid=nil, instancebindtime=nil, routetableid=nil, instancename=nil, instanceregion=nil, instanceuin=nil, state=nil)
|
16272
|
+
@CcnId = ccnid
|
16273
|
+
@InstanceType = instancetype
|
16274
|
+
@InstanceId = instanceid
|
16275
|
+
@InstanceBindTime = instancebindtime
|
16276
|
+
@RouteTableId = routetableid
|
16277
|
+
@InstanceName = instancename
|
16278
|
+
@InstanceRegion = instanceregion
|
16279
|
+
@InstanceUin = instanceuin
|
16280
|
+
@State = state
|
16281
|
+
end
|
16282
|
+
|
16283
|
+
def deserialize(params)
|
16284
|
+
@CcnId = params['CcnId']
|
16285
|
+
@InstanceType = params['InstanceType']
|
16286
|
+
@InstanceId = params['InstanceId']
|
16287
|
+
@InstanceBindTime = params['InstanceBindTime']
|
16288
|
+
@RouteTableId = params['RouteTableId']
|
16289
|
+
@InstanceName = params['InstanceName']
|
16290
|
+
@InstanceRegion = params['InstanceRegion']
|
16291
|
+
@InstanceUin = params['InstanceUin']
|
16292
|
+
@State = params['State']
|
16293
|
+
end
|
16294
|
+
end
|
16295
|
+
|
15467
16296
|
# 预付费(包年包月)计费对象。
|
15468
16297
|
class InstanceChargePrepaid < TencentCloud::Common::AbstractModel
|
15469
16298
|
# @param Period: 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36。
|
@@ -16540,6 +17369,45 @@ module TencentCloud
|
|
16540
17369
|
end
|
16541
17370
|
end
|
16542
17371
|
|
17372
|
+
# ModifyCcnRouteTables请求参数结构体
|
17373
|
+
class ModifyCcnRouteTablesRequest < TencentCloud::Common::AbstractModel
|
17374
|
+
# @param RouteTableInfo: 需要修改的路由表列表。
|
17375
|
+
# @type RouteTableInfo: Array
|
17376
|
+
|
17377
|
+
attr_accessor :RouteTableInfo
|
17378
|
+
|
17379
|
+
def initialize(routetableinfo=nil)
|
17380
|
+
@RouteTableInfo = routetableinfo
|
17381
|
+
end
|
17382
|
+
|
17383
|
+
def deserialize(params)
|
17384
|
+
unless params['RouteTableInfo'].nil?
|
17385
|
+
@RouteTableInfo = []
|
17386
|
+
params['RouteTableInfo'].each do |i|
|
17387
|
+
modifyroutetableinfo_tmp = ModifyRouteTableInfo.new
|
17388
|
+
modifyroutetableinfo_tmp.deserialize(i)
|
17389
|
+
@RouteTableInfo << modifyroutetableinfo_tmp
|
17390
|
+
end
|
17391
|
+
end
|
17392
|
+
end
|
17393
|
+
end
|
17394
|
+
|
17395
|
+
# ModifyCcnRouteTables返回参数结构体
|
17396
|
+
class ModifyCcnRouteTablesResponse < TencentCloud::Common::AbstractModel
|
17397
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17398
|
+
# @type RequestId: String
|
17399
|
+
|
17400
|
+
attr_accessor :RequestId
|
17401
|
+
|
17402
|
+
def initialize(requestid=nil)
|
17403
|
+
@RequestId = requestid
|
17404
|
+
end
|
17405
|
+
|
17406
|
+
def deserialize(params)
|
17407
|
+
@RequestId = params['RequestId']
|
17408
|
+
end
|
17409
|
+
end
|
17410
|
+
|
16543
17411
|
# ModifyCustomerGatewayAttribute请求参数结构体
|
16544
17412
|
class ModifyCustomerGatewayAttributeRequest < TencentCloud::Common::AbstractModel
|
16545
17413
|
# @param CustomerGatewayId: 对端网关ID,例如:cgw-2wqq41m9,可通过[DescribeCustomerGateways](https://cloud.tencent.com/document/api/215/17516)接口查询对端网关。
|
@@ -17674,6 +18542,73 @@ module TencentCloud
|
|
17674
18542
|
end
|
17675
18543
|
end
|
17676
18544
|
|
18545
|
+
# 云联网路由表信息
|
18546
|
+
class ModifyRouteTableInfo < TencentCloud::Common::AbstractModel
|
18547
|
+
# @param RouteTableId: 云联网路由表id。
|
18548
|
+
# @type RouteTableId: String
|
18549
|
+
# @param Name: 云联网路由表名称。
|
18550
|
+
# @type Name: String
|
18551
|
+
# @param Description: 云联网路由表描述。
|
18552
|
+
# @type Description: String
|
18553
|
+
|
18554
|
+
attr_accessor :RouteTableId, :Name, :Description
|
18555
|
+
|
18556
|
+
def initialize(routetableid=nil, name=nil, description=nil)
|
18557
|
+
@RouteTableId = routetableid
|
18558
|
+
@Name = name
|
18559
|
+
@Description = description
|
18560
|
+
end
|
18561
|
+
|
18562
|
+
def deserialize(params)
|
18563
|
+
@RouteTableId = params['RouteTableId']
|
18564
|
+
@Name = params['Name']
|
18565
|
+
@Description = params['Description']
|
18566
|
+
end
|
18567
|
+
end
|
18568
|
+
|
18569
|
+
# ModifyRouteTableSelectionPolicies请求参数结构体
|
18570
|
+
class ModifyRouteTableSelectionPoliciesRequest < TencentCloud::Common::AbstractModel
|
18571
|
+
# @param CcnId: 云联网ID。
|
18572
|
+
# @type CcnId: String
|
18573
|
+
# @param SelectionPolicies: 选择策略信息集合,表示需要按照当前的策略来修改。
|
18574
|
+
# @type SelectionPolicies: Array
|
18575
|
+
|
18576
|
+
attr_accessor :CcnId, :SelectionPolicies
|
18577
|
+
|
18578
|
+
def initialize(ccnid=nil, selectionpolicies=nil)
|
18579
|
+
@CcnId = ccnid
|
18580
|
+
@SelectionPolicies = selectionpolicies
|
18581
|
+
end
|
18582
|
+
|
18583
|
+
def deserialize(params)
|
18584
|
+
@CcnId = params['CcnId']
|
18585
|
+
unless params['SelectionPolicies'].nil?
|
18586
|
+
@SelectionPolicies = []
|
18587
|
+
params['SelectionPolicies'].each do |i|
|
18588
|
+
ccnroutetableselectpolicy_tmp = CcnRouteTableSelectPolicy.new
|
18589
|
+
ccnroutetableselectpolicy_tmp.deserialize(i)
|
18590
|
+
@SelectionPolicies << ccnroutetableselectpolicy_tmp
|
18591
|
+
end
|
18592
|
+
end
|
18593
|
+
end
|
18594
|
+
end
|
18595
|
+
|
18596
|
+
# ModifyRouteTableSelectionPolicies返回参数结构体
|
18597
|
+
class ModifyRouteTableSelectionPoliciesResponse < TencentCloud::Common::AbstractModel
|
18598
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18599
|
+
# @type RequestId: String
|
18600
|
+
|
18601
|
+
attr_accessor :RequestId
|
18602
|
+
|
18603
|
+
def initialize(requestid=nil)
|
18604
|
+
@RequestId = requestid
|
18605
|
+
end
|
18606
|
+
|
18607
|
+
def deserialize(params)
|
18608
|
+
@RequestId = params['RequestId']
|
18609
|
+
end
|
18610
|
+
end
|
18611
|
+
|
17677
18612
|
# ModifySecurityGroupAttribute请求参数结构体
|
17678
18613
|
class ModifySecurityGroupAttributeRequest < TencentCloud::Common::AbstractModel
|
17679
18614
|
# @param SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
@@ -20168,6 +21103,100 @@ module TencentCloud
|
|
20168
21103
|
end
|
20169
21104
|
end
|
20170
21105
|
|
21106
|
+
# ReplaceCcnRouteTableBroadcastPolicys请求参数结构体
|
21107
|
+
class ReplaceCcnRouteTableBroadcastPolicysRequest < TencentCloud::Common::AbstractModel
|
21108
|
+
# @param CcnId: 云联网ID
|
21109
|
+
# @type CcnId: String
|
21110
|
+
# @param RouteTableId: 云联网路由表ID
|
21111
|
+
# @type RouteTableId: String
|
21112
|
+
# @param Policys: 新的路由传播策略
|
21113
|
+
# @type Policys: Array
|
21114
|
+
|
21115
|
+
attr_accessor :CcnId, :RouteTableId, :Policys
|
21116
|
+
|
21117
|
+
def initialize(ccnid=nil, routetableid=nil, policys=nil)
|
21118
|
+
@CcnId = ccnid
|
21119
|
+
@RouteTableId = routetableid
|
21120
|
+
@Policys = policys
|
21121
|
+
end
|
21122
|
+
|
21123
|
+
def deserialize(params)
|
21124
|
+
@CcnId = params['CcnId']
|
21125
|
+
@RouteTableId = params['RouteTableId']
|
21126
|
+
unless params['Policys'].nil?
|
21127
|
+
@Policys = []
|
21128
|
+
params['Policys'].each do |i|
|
21129
|
+
ccnroutetablebroadcastpolicy_tmp = CcnRouteTableBroadcastPolicy.new
|
21130
|
+
ccnroutetablebroadcastpolicy_tmp.deserialize(i)
|
21131
|
+
@Policys << ccnroutetablebroadcastpolicy_tmp
|
21132
|
+
end
|
21133
|
+
end
|
21134
|
+
end
|
21135
|
+
end
|
21136
|
+
|
21137
|
+
# ReplaceCcnRouteTableBroadcastPolicys返回参数结构体
|
21138
|
+
class ReplaceCcnRouteTableBroadcastPolicysResponse < TencentCloud::Common::AbstractModel
|
21139
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21140
|
+
# @type RequestId: String
|
21141
|
+
|
21142
|
+
attr_accessor :RequestId
|
21143
|
+
|
21144
|
+
def initialize(requestid=nil)
|
21145
|
+
@RequestId = requestid
|
21146
|
+
end
|
21147
|
+
|
21148
|
+
def deserialize(params)
|
21149
|
+
@RequestId = params['RequestId']
|
21150
|
+
end
|
21151
|
+
end
|
21152
|
+
|
21153
|
+
# ReplaceCcnRouteTableInputPolicys请求参数结构体
|
21154
|
+
class ReplaceCcnRouteTableInputPolicysRequest < TencentCloud::Common::AbstractModel
|
21155
|
+
# @param CcnId: 云联网ID。
|
21156
|
+
# @type CcnId: String
|
21157
|
+
# @param RouteTableId: 云联网路由表ID。
|
21158
|
+
# @type RouteTableId: String
|
21159
|
+
# @param Policys: 新的路由接收策略。
|
21160
|
+
# @type Policys: Array
|
21161
|
+
|
21162
|
+
attr_accessor :CcnId, :RouteTableId, :Policys
|
21163
|
+
|
21164
|
+
def initialize(ccnid=nil, routetableid=nil, policys=nil)
|
21165
|
+
@CcnId = ccnid
|
21166
|
+
@RouteTableId = routetableid
|
21167
|
+
@Policys = policys
|
21168
|
+
end
|
21169
|
+
|
21170
|
+
def deserialize(params)
|
21171
|
+
@CcnId = params['CcnId']
|
21172
|
+
@RouteTableId = params['RouteTableId']
|
21173
|
+
unless params['Policys'].nil?
|
21174
|
+
@Policys = []
|
21175
|
+
params['Policys'].each do |i|
|
21176
|
+
ccnroutetableinputpolicy_tmp = CcnRouteTableInputPolicy.new
|
21177
|
+
ccnroutetableinputpolicy_tmp.deserialize(i)
|
21178
|
+
@Policys << ccnroutetableinputpolicy_tmp
|
21179
|
+
end
|
21180
|
+
end
|
21181
|
+
end
|
21182
|
+
end
|
21183
|
+
|
21184
|
+
# ReplaceCcnRouteTableInputPolicys返回参数结构体
|
21185
|
+
class ReplaceCcnRouteTableInputPolicysResponse < TencentCloud::Common::AbstractModel
|
21186
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21187
|
+
# @type RequestId: String
|
21188
|
+
|
21189
|
+
attr_accessor :RequestId
|
21190
|
+
|
21191
|
+
def initialize(requestid=nil)
|
21192
|
+
@RequestId = requestid
|
21193
|
+
end
|
21194
|
+
|
21195
|
+
def deserialize(params)
|
21196
|
+
@RequestId = params['RequestId']
|
21197
|
+
end
|
21198
|
+
end
|
21199
|
+
|
20171
21200
|
# ReplaceDirectConnectGatewayCcnRoutes请求参数结构体
|
20172
21201
|
class ReplaceDirectConnectGatewayCcnRoutesRequest < TencentCloud::Common::AbstractModel
|
20173
21202
|
# @param DirectConnectGatewayId: 专线网关ID,形如:dcg-prpqlmg1
|
@@ -21051,6 +22080,55 @@ module TencentCloud
|
|
21051
22080
|
end
|
21052
22081
|
end
|
21053
22082
|
|
22083
|
+
# 路由表选择策略信息
|
22084
|
+
class RouteSelectionPolicy < TencentCloud::Common::AbstractModel
|
22085
|
+
# @param CcnId: 云联网ID。
|
22086
|
+
# @type CcnId: String
|
22087
|
+
# @param RouteTableId: 路由表ID。
|
22088
|
+
# @type RouteTableId: String
|
22089
|
+
# @param RouteTableName: 路由表名称。
|
22090
|
+
# @type RouteTableName: String
|
22091
|
+
# @param InstanceType: 实例类型。如VPC
|
22092
|
+
# @type InstanceType: String
|
22093
|
+
# @param InstanceName: 实例名称。
|
22094
|
+
# @type InstanceName: String
|
22095
|
+
# @param SourceCidrBlock: 源端cidr。
|
22096
|
+
# @type SourceCidrBlock: String
|
22097
|
+
# @param Description: 路由表描述。
|
22098
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22099
|
+
# @type Description: String
|
22100
|
+
# @param InstanceId: 实例ID。
|
22101
|
+
# @type InstanceId: String
|
22102
|
+
# @param InstanceUin: 关联实例所属UIN(根账号)。
|
22103
|
+
# @type InstanceUin: String
|
22104
|
+
|
22105
|
+
attr_accessor :CcnId, :RouteTableId, :RouteTableName, :InstanceType, :InstanceName, :SourceCidrBlock, :Description, :InstanceId, :InstanceUin
|
22106
|
+
|
22107
|
+
def initialize(ccnid=nil, routetableid=nil, routetablename=nil, instancetype=nil, instancename=nil, sourcecidrblock=nil, description=nil, instanceid=nil, instanceuin=nil)
|
22108
|
+
@CcnId = ccnid
|
22109
|
+
@RouteTableId = routetableid
|
22110
|
+
@RouteTableName = routetablename
|
22111
|
+
@InstanceType = instancetype
|
22112
|
+
@InstanceName = instancename
|
22113
|
+
@SourceCidrBlock = sourcecidrblock
|
22114
|
+
@Description = description
|
22115
|
+
@InstanceId = instanceid
|
22116
|
+
@InstanceUin = instanceuin
|
22117
|
+
end
|
22118
|
+
|
22119
|
+
def deserialize(params)
|
22120
|
+
@CcnId = params['CcnId']
|
22121
|
+
@RouteTableId = params['RouteTableId']
|
22122
|
+
@RouteTableName = params['RouteTableName']
|
22123
|
+
@InstanceType = params['InstanceType']
|
22124
|
+
@InstanceName = params['InstanceName']
|
22125
|
+
@SourceCidrBlock = params['SourceCidrBlock']
|
22126
|
+
@Description = params['Description']
|
22127
|
+
@InstanceId = params['InstanceId']
|
22128
|
+
@InstanceUin = params['InstanceUin']
|
22129
|
+
end
|
22130
|
+
end
|
22131
|
+
|
21054
22132
|
# 路由表对象
|
21055
22133
|
class RouteTable < TencentCloud::Common::AbstractModel
|
21056
22134
|
# @param VpcId: VPC实例ID。
|