tencentcloud-sdk-vpc 3.0.864 → 3.0.866
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 +1172 -32
- 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。
|
@@ -2089,15 +2160,19 @@ module TencentCloud
|
|
2089
2160
|
# @param RouteTableId: 实例关联的路由表ID。
|
2090
2161
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2091
2162
|
# @type RouteTableId: String
|
2163
|
+
# @param OrderType: 实例付费方式
|
2164
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2165
|
+
# @type OrderType: String
|
2092
2166
|
|
2093
|
-
attr_accessor :InstanceId, :InstanceRegion, :InstanceType, :Description, :RouteTableId
|
2167
|
+
attr_accessor :InstanceId, :InstanceRegion, :InstanceType, :Description, :RouteTableId, :OrderType
|
2094
2168
|
|
2095
|
-
def initialize(instanceid=nil, instanceregion=nil, instancetype=nil, description=nil, routetableid=nil)
|
2169
|
+
def initialize(instanceid=nil, instanceregion=nil, instancetype=nil, description=nil, routetableid=nil, ordertype=nil)
|
2096
2170
|
@InstanceId = instanceid
|
2097
2171
|
@InstanceRegion = instanceregion
|
2098
2172
|
@InstanceType = instancetype
|
2099
2173
|
@Description = description
|
2100
2174
|
@RouteTableId = routetableid
|
2175
|
+
@OrderType = ordertype
|
2101
2176
|
end
|
2102
2177
|
|
2103
2178
|
def deserialize(params)
|
@@ -2106,6 +2181,7 @@ module TencentCloud
|
|
2106
2181
|
@InstanceType = params['InstanceType']
|
2107
2182
|
@Description = params['Description']
|
2108
2183
|
@RouteTableId = params['RouteTableId']
|
2184
|
+
@OrderType = params['OrderType']
|
2109
2185
|
end
|
2110
2186
|
end
|
2111
2187
|
|
@@ -2120,6 +2196,33 @@ module TencentCloud
|
|
2120
2196
|
end
|
2121
2197
|
end
|
2122
2198
|
|
2199
|
+
# ccn实例信息(不带地域属性)
|
2200
|
+
class CcnInstanceWithoutRegion < TencentCloud::Common::AbstractModel
|
2201
|
+
# @param InstanceType: 云联网支持的实例类型:
|
2202
|
+
# `VPC`
|
2203
|
+
# `DIRECTCONNECT`
|
2204
|
+
# `BMVPC`
|
2205
|
+
# `EDGE`
|
2206
|
+
# `EDGE_TUNNEL`
|
2207
|
+
# `EDGE_VPNGW`
|
2208
|
+
# `VPNGW`
|
2209
|
+
# @type InstanceType: String
|
2210
|
+
# @param InstanceId: 实例ID。
|
2211
|
+
# @type InstanceId: String
|
2212
|
+
|
2213
|
+
attr_accessor :InstanceType, :InstanceId
|
2214
|
+
|
2215
|
+
def initialize(instancetype=nil, instanceid=nil)
|
2216
|
+
@InstanceType = instancetype
|
2217
|
+
@InstanceId = instanceid
|
2218
|
+
end
|
2219
|
+
|
2220
|
+
def deserialize(params)
|
2221
|
+
@InstanceType = params['InstanceType']
|
2222
|
+
@InstanceId = params['InstanceId']
|
2223
|
+
end
|
2224
|
+
end
|
2225
|
+
|
2123
2226
|
# 云联网(CCN)地域出带宽上限
|
2124
2227
|
class CcnRegionBandwidthLimit < TencentCloud::Common::AbstractModel
|
2125
2228
|
# @param Region: 地域,例如:ap-guangzhou
|
@@ -2244,6 +2347,243 @@ module TencentCloud
|
|
2244
2347
|
end
|
2245
2348
|
end
|
2246
2349
|
|
2350
|
+
# 云联网路由传播策略之路由条件
|
2351
|
+
class CcnRouteBroadcastPolicyRouteCondition < TencentCloud::Common::AbstractModel
|
2352
|
+
# @param Name: 条件类型
|
2353
|
+
# @type Name: String
|
2354
|
+
# @param Values: 条件值列表
|
2355
|
+
# @type Values: Array
|
2356
|
+
# @param MatchPattern: 匹配模式,`1` 精确匹配,`0` 模糊匹配
|
2357
|
+
# @type MatchPattern: Integer
|
2358
|
+
|
2359
|
+
attr_accessor :Name, :Values, :MatchPattern
|
2360
|
+
|
2361
|
+
def initialize(name=nil, values=nil, matchpattern=nil)
|
2362
|
+
@Name = name
|
2363
|
+
@Values = values
|
2364
|
+
@MatchPattern = matchpattern
|
2365
|
+
end
|
2366
|
+
|
2367
|
+
def deserialize(params)
|
2368
|
+
@Name = params['Name']
|
2369
|
+
@Values = params['Values']
|
2370
|
+
@MatchPattern = params['MatchPattern']
|
2371
|
+
end
|
2372
|
+
end
|
2373
|
+
|
2374
|
+
# 云联网路由表信息
|
2375
|
+
class CcnRouteTable < TencentCloud::Common::AbstractModel
|
2376
|
+
# @param CcnId: 云联网ID。
|
2377
|
+
# @type CcnId: String
|
2378
|
+
# @param CcnRouteTableId: 云联网路由表ID。
|
2379
|
+
# @type CcnRouteTableId: String
|
2380
|
+
# @param RouteTableName: 云联网路由表名称。
|
2381
|
+
# @type RouteTableName: String
|
2382
|
+
# @param RouteTableDescription: 云联网路由表描述。
|
2383
|
+
# @type RouteTableDescription: String
|
2384
|
+
# @param IsDefaultTable: True:是默认路由表 False:非默认路由表。
|
2385
|
+
# @type IsDefaultTable: Boolean
|
2386
|
+
# @param CreateTime: 创建时间。
|
2387
|
+
# @type CreateTime: String
|
2388
|
+
|
2389
|
+
attr_accessor :CcnId, :CcnRouteTableId, :RouteTableName, :RouteTableDescription, :IsDefaultTable, :CreateTime
|
2390
|
+
|
2391
|
+
def initialize(ccnid=nil, ccnroutetableid=nil, routetablename=nil, routetabledescription=nil, isdefaulttable=nil, createtime=nil)
|
2392
|
+
@CcnId = ccnid
|
2393
|
+
@CcnRouteTableId = ccnroutetableid
|
2394
|
+
@RouteTableName = routetablename
|
2395
|
+
@RouteTableDescription = routetabledescription
|
2396
|
+
@IsDefaultTable = isdefaulttable
|
2397
|
+
@CreateTime = createtime
|
2398
|
+
end
|
2399
|
+
|
2400
|
+
def deserialize(params)
|
2401
|
+
@CcnId = params['CcnId']
|
2402
|
+
@CcnRouteTableId = params['CcnRouteTableId']
|
2403
|
+
@RouteTableName = params['RouteTableName']
|
2404
|
+
@RouteTableDescription = params['RouteTableDescription']
|
2405
|
+
@IsDefaultTable = params['IsDefaultTable']
|
2406
|
+
@CreateTime = params['CreateTime']
|
2407
|
+
end
|
2408
|
+
end
|
2409
|
+
|
2410
|
+
# 云联网路由传播策略
|
2411
|
+
class CcnRouteTableBroadcastPolicy < TencentCloud::Common::AbstractModel
|
2412
|
+
# @param RouteConditions: 路由条件
|
2413
|
+
# @type RouteConditions: Array
|
2414
|
+
# @param BroadcastConditions: 传播条件
|
2415
|
+
# @type BroadcastConditions: Array
|
2416
|
+
# @param Action: 路由行为,`accept` 允许,`drop` 拒绝
|
2417
|
+
# @type Action: String
|
2418
|
+
# @param Description: 策略描述
|
2419
|
+
# @type Description: String
|
2420
|
+
|
2421
|
+
attr_accessor :RouteConditions, :BroadcastConditions, :Action, :Description
|
2422
|
+
|
2423
|
+
def initialize(routeconditions=nil, broadcastconditions=nil, action=nil, description=nil)
|
2424
|
+
@RouteConditions = routeconditions
|
2425
|
+
@BroadcastConditions = broadcastconditions
|
2426
|
+
@Action = action
|
2427
|
+
@Description = description
|
2428
|
+
end
|
2429
|
+
|
2430
|
+
def deserialize(params)
|
2431
|
+
unless params['RouteConditions'].nil?
|
2432
|
+
@RouteConditions = []
|
2433
|
+
params['RouteConditions'].each do |i|
|
2434
|
+
ccnroutebroadcastpolicyroutecondition_tmp = CcnRouteBroadcastPolicyRouteCondition.new
|
2435
|
+
ccnroutebroadcastpolicyroutecondition_tmp.deserialize(i)
|
2436
|
+
@RouteConditions << ccnroutebroadcastpolicyroutecondition_tmp
|
2437
|
+
end
|
2438
|
+
end
|
2439
|
+
unless params['BroadcastConditions'].nil?
|
2440
|
+
@BroadcastConditions = []
|
2441
|
+
params['BroadcastConditions'].each do |i|
|
2442
|
+
ccnroutebroadcastpolicyroutecondition_tmp = CcnRouteBroadcastPolicyRouteCondition.new
|
2443
|
+
ccnroutebroadcastpolicyroutecondition_tmp.deserialize(i)
|
2444
|
+
@BroadcastConditions << ccnroutebroadcastpolicyroutecondition_tmp
|
2445
|
+
end
|
2446
|
+
end
|
2447
|
+
@Action = params['Action']
|
2448
|
+
@Description = params['Description']
|
2449
|
+
end
|
2450
|
+
end
|
2451
|
+
|
2452
|
+
# 云联网路由传播策略列表
|
2453
|
+
class CcnRouteTableBroadcastPolicys < TencentCloud::Common::AbstractModel
|
2454
|
+
# @param Policys: 策略列表
|
2455
|
+
# @type Policys: Array
|
2456
|
+
# @param PolicyVersion: 版本号
|
2457
|
+
# @type PolicyVersion: Integer
|
2458
|
+
# @param CreateTime: 创建时间
|
2459
|
+
# @type CreateTime: String
|
2460
|
+
|
2461
|
+
attr_accessor :Policys, :PolicyVersion, :CreateTime
|
2462
|
+
|
2463
|
+
def initialize(policys=nil, policyversion=nil, createtime=nil)
|
2464
|
+
@Policys = policys
|
2465
|
+
@PolicyVersion = policyversion
|
2466
|
+
@CreateTime = createtime
|
2467
|
+
end
|
2468
|
+
|
2469
|
+
def deserialize(params)
|
2470
|
+
unless params['Policys'].nil?
|
2471
|
+
@Policys = []
|
2472
|
+
params['Policys'].each do |i|
|
2473
|
+
ccnroutetablebroadcastpolicy_tmp = CcnRouteTableBroadcastPolicy.new
|
2474
|
+
ccnroutetablebroadcastpolicy_tmp.deserialize(i)
|
2475
|
+
@Policys << ccnroutetablebroadcastpolicy_tmp
|
2476
|
+
end
|
2477
|
+
end
|
2478
|
+
@PolicyVersion = params['PolicyVersion']
|
2479
|
+
@CreateTime = params['CreateTime']
|
2480
|
+
end
|
2481
|
+
end
|
2482
|
+
|
2483
|
+
# 云联网路由接收策略
|
2484
|
+
class CcnRouteTableInputPolicy < TencentCloud::Common::AbstractModel
|
2485
|
+
# @param RouteConditions: 路由条件。
|
2486
|
+
# @type RouteConditions: Array
|
2487
|
+
# @param Action: 路由行为,`accept` 允许,`drop` 拒绝。
|
2488
|
+
# @type Action: String
|
2489
|
+
# @param Description: 策略描述。
|
2490
|
+
# @type Description: String
|
2491
|
+
|
2492
|
+
attr_accessor :RouteConditions, :Action, :Description
|
2493
|
+
|
2494
|
+
def initialize(routeconditions=nil, action=nil, description=nil)
|
2495
|
+
@RouteConditions = routeconditions
|
2496
|
+
@Action = action
|
2497
|
+
@Description = description
|
2498
|
+
end
|
2499
|
+
|
2500
|
+
def deserialize(params)
|
2501
|
+
unless params['RouteConditions'].nil?
|
2502
|
+
@RouteConditions = []
|
2503
|
+
params['RouteConditions'].each do |i|
|
2504
|
+
ccnroutebroadcastpolicyroutecondition_tmp = CcnRouteBroadcastPolicyRouteCondition.new
|
2505
|
+
ccnroutebroadcastpolicyroutecondition_tmp.deserialize(i)
|
2506
|
+
@RouteConditions << ccnroutebroadcastpolicyroutecondition_tmp
|
2507
|
+
end
|
2508
|
+
end
|
2509
|
+
@Action = params['Action']
|
2510
|
+
@Description = params['Description']
|
2511
|
+
end
|
2512
|
+
end
|
2513
|
+
|
2514
|
+
# 云联网路由接收策略列表
|
2515
|
+
class CcnRouteTableInputPolicys < TencentCloud::Common::AbstractModel
|
2516
|
+
# @param Policys: 策略列表。
|
2517
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2518
|
+
# @type Policys: Array
|
2519
|
+
# @param PolicyVersion: 版本号。
|
2520
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2521
|
+
# @type PolicyVersion: Integer
|
2522
|
+
# @param CreateTime: 创建时间。
|
2523
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2524
|
+
# @type CreateTime: String
|
2525
|
+
|
2526
|
+
attr_accessor :Policys, :PolicyVersion, :CreateTime
|
2527
|
+
|
2528
|
+
def initialize(policys=nil, policyversion=nil, createtime=nil)
|
2529
|
+
@Policys = policys
|
2530
|
+
@PolicyVersion = policyversion
|
2531
|
+
@CreateTime = createtime
|
2532
|
+
end
|
2533
|
+
|
2534
|
+
def deserialize(params)
|
2535
|
+
unless params['Policys'].nil?
|
2536
|
+
@Policys = []
|
2537
|
+
params['Policys'].each do |i|
|
2538
|
+
ccnroutetableinputpolicy_tmp = CcnRouteTableInputPolicy.new
|
2539
|
+
ccnroutetableinputpolicy_tmp.deserialize(i)
|
2540
|
+
@Policys << ccnroutetableinputpolicy_tmp
|
2541
|
+
end
|
2542
|
+
end
|
2543
|
+
@PolicyVersion = params['PolicyVersion']
|
2544
|
+
@CreateTime = params['CreateTime']
|
2545
|
+
end
|
2546
|
+
end
|
2547
|
+
|
2548
|
+
# 路由表选择策略信息
|
2549
|
+
class CcnRouteTableSelectPolicy < TencentCloud::Common::AbstractModel
|
2550
|
+
# @param InstanceType: 实例类型:
|
2551
|
+
# 私有网络: `VPC`
|
2552
|
+
# 专线网关: `DIRECTCONNECT`
|
2553
|
+
# 黑石私有网络: `BMVPC`
|
2554
|
+
# EDGE设备: `EDGE`
|
2555
|
+
# EDGE隧道: `EDGE_TUNNEL`
|
2556
|
+
# EDGE网关: `EDGE_VPNGW`
|
2557
|
+
# VPN网关:`VPNGW`
|
2558
|
+
# @type InstanceType: String
|
2559
|
+
# @param InstanceId: 实例ID。
|
2560
|
+
# @type InstanceId: String
|
2561
|
+
# @param SourceCidrBlock: 源端CIDR。
|
2562
|
+
# @type SourceCidrBlock: String
|
2563
|
+
# @param RouteTableId: 路由表ID。
|
2564
|
+
# @type RouteTableId: String
|
2565
|
+
# @param Description: 路由表备注。
|
2566
|
+
# @type Description: String
|
2567
|
+
|
2568
|
+
attr_accessor :InstanceType, :InstanceId, :SourceCidrBlock, :RouteTableId, :Description
|
2569
|
+
|
2570
|
+
def initialize(instancetype=nil, instanceid=nil, sourcecidrblock=nil, routetableid=nil, description=nil)
|
2571
|
+
@InstanceType = instancetype
|
2572
|
+
@InstanceId = instanceid
|
2573
|
+
@SourceCidrBlock = sourcecidrblock
|
2574
|
+
@RouteTableId = routetableid
|
2575
|
+
@Description = description
|
2576
|
+
end
|
2577
|
+
|
2578
|
+
def deserialize(params)
|
2579
|
+
@InstanceType = params['InstanceType']
|
2580
|
+
@InstanceId = params['InstanceId']
|
2581
|
+
@SourceCidrBlock = params['SourceCidrBlock']
|
2582
|
+
@RouteTableId = params['RouteTableId']
|
2583
|
+
@Description = params['Description']
|
2584
|
+
end
|
2585
|
+
end
|
2586
|
+
|
2247
2587
|
# CheckAssistantCidr请求参数结构体
|
2248
2588
|
class CheckAssistantCidrRequest < TencentCloud::Common::AbstractModel
|
2249
2589
|
# @param VpcId: `VPC`实例`ID`。形如:`vpc-6v2ht8q5`
|
@@ -2454,6 +2794,38 @@ module TencentCloud
|
|
2454
2794
|
end
|
2455
2795
|
end
|
2456
2796
|
|
2797
|
+
# ClearRouteTableSelectionPolicies请求参数结构体
|
2798
|
+
class ClearRouteTableSelectionPoliciesRequest < TencentCloud::Common::AbstractModel
|
2799
|
+
# @param CcnId: 云联网ID。
|
2800
|
+
# @type CcnId: String
|
2801
|
+
|
2802
|
+
attr_accessor :CcnId
|
2803
|
+
|
2804
|
+
def initialize(ccnid=nil)
|
2805
|
+
@CcnId = ccnid
|
2806
|
+
end
|
2807
|
+
|
2808
|
+
def deserialize(params)
|
2809
|
+
@CcnId = params['CcnId']
|
2810
|
+
end
|
2811
|
+
end
|
2812
|
+
|
2813
|
+
# ClearRouteTableSelectionPolicies返回参数结构体
|
2814
|
+
class ClearRouteTableSelectionPoliciesResponse < TencentCloud::Common::AbstractModel
|
2815
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2816
|
+
# @type RequestId: String
|
2817
|
+
|
2818
|
+
attr_accessor :RequestId
|
2819
|
+
|
2820
|
+
def initialize(requestid=nil)
|
2821
|
+
@RequestId = requestid
|
2822
|
+
end
|
2823
|
+
|
2824
|
+
def deserialize(params)
|
2825
|
+
@RequestId = params['RequestId']
|
2826
|
+
end
|
2827
|
+
end
|
2828
|
+
|
2457
2829
|
# CloneSecurityGroup请求参数结构体
|
2458
2830
|
class CloneSecurityGroupRequest < TencentCloud::Common::AbstractModel
|
2459
2831
|
# @param SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
@@ -2958,6 +3330,56 @@ module TencentCloud
|
|
2958
3330
|
end
|
2959
3331
|
end
|
2960
3332
|
|
3333
|
+
# CreateCcnRouteTables请求参数结构体
|
3334
|
+
class CreateCcnRouteTablesRequest < TencentCloud::Common::AbstractModel
|
3335
|
+
# @param RouteTable: 需要创建的路由表列表。
|
3336
|
+
# @type RouteTable: Array
|
3337
|
+
|
3338
|
+
attr_accessor :RouteTable
|
3339
|
+
|
3340
|
+
def initialize(routetable=nil)
|
3341
|
+
@RouteTable = routetable
|
3342
|
+
end
|
3343
|
+
|
3344
|
+
def deserialize(params)
|
3345
|
+
unless params['RouteTable'].nil?
|
3346
|
+
@RouteTable = []
|
3347
|
+
params['RouteTable'].each do |i|
|
3348
|
+
ccnbatchroutetable_tmp = CcnBatchRouteTable.new
|
3349
|
+
ccnbatchroutetable_tmp.deserialize(i)
|
3350
|
+
@RouteTable << ccnbatchroutetable_tmp
|
3351
|
+
end
|
3352
|
+
end
|
3353
|
+
end
|
3354
|
+
end
|
3355
|
+
|
3356
|
+
# CreateCcnRouteTables返回参数结构体
|
3357
|
+
class CreateCcnRouteTablesResponse < TencentCloud::Common::AbstractModel
|
3358
|
+
# @param CcnRouteTableSet: 路由表信息列表。
|
3359
|
+
# @type CcnRouteTableSet: Array
|
3360
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3361
|
+
# @type RequestId: String
|
3362
|
+
|
3363
|
+
attr_accessor :CcnRouteTableSet, :RequestId
|
3364
|
+
|
3365
|
+
def initialize(ccnroutetableset=nil, requestid=nil)
|
3366
|
+
@CcnRouteTableSet = ccnroutetableset
|
3367
|
+
@RequestId = requestid
|
3368
|
+
end
|
3369
|
+
|
3370
|
+
def deserialize(params)
|
3371
|
+
unless params['CcnRouteTableSet'].nil?
|
3372
|
+
@CcnRouteTableSet = []
|
3373
|
+
params['CcnRouteTableSet'].each do |i|
|
3374
|
+
ccnroutetable_tmp = CcnRouteTable.new
|
3375
|
+
ccnroutetable_tmp.deserialize(i)
|
3376
|
+
@CcnRouteTableSet << ccnroutetable_tmp
|
3377
|
+
end
|
3378
|
+
end
|
3379
|
+
@RequestId = params['RequestId']
|
3380
|
+
end
|
3381
|
+
end
|
3382
|
+
|
2961
3383
|
# CreateCustomerGateway请求参数结构体
|
2962
3384
|
class CreateCustomerGatewayRequest < TencentCloud::Common::AbstractModel
|
2963
3385
|
# @param CustomerGatewayName: 对端网关名称,可任意命名,但不得超过60个字符。
|
@@ -3361,31 +3783,35 @@ module TencentCloud
|
|
3361
3783
|
class CreateHaVipRequest < TencentCloud::Common::AbstractModel
|
3362
3784
|
# @param VpcId: `HAVIP`所在私有网络`ID`。
|
3363
3785
|
# @type VpcId: String
|
3364
|
-
# @param SubnetId: `HAVIP`所在子网`ID`。
|
3365
|
-
# @type SubnetId: String
|
3366
3786
|
# @param HaVipName: `HAVIP`名称。
|
3367
3787
|
# @type HaVipName: String
|
3788
|
+
# @param SubnetId: `HAVIP`所在子网`ID`。
|
3789
|
+
# @type SubnetId: String
|
3368
3790
|
# @param Vip: 指定虚拟IP地址,必须在`VPC`网段内且未被占用。不指定则自动分配。
|
3369
3791
|
# @type Vip: String
|
3370
3792
|
# @param NetworkInterfaceId: `HAVIP`所在弹性网卡`ID`。
|
3371
3793
|
# @type NetworkInterfaceId: String
|
3794
|
+
# @param CheckAssociate: 是否开启`HAVIP`漂移时子机或网卡范围的校验。默认不开启。
|
3795
|
+
# @type CheckAssociate: Boolean
|
3372
3796
|
|
3373
|
-
attr_accessor :VpcId, :
|
3797
|
+
attr_accessor :VpcId, :HaVipName, :SubnetId, :Vip, :NetworkInterfaceId, :CheckAssociate
|
3374
3798
|
|
3375
|
-
def initialize(vpcid=nil,
|
3799
|
+
def initialize(vpcid=nil, havipname=nil, subnetid=nil, vip=nil, networkinterfaceid=nil, checkassociate=nil)
|
3376
3800
|
@VpcId = vpcid
|
3377
|
-
@SubnetId = subnetid
|
3378
3801
|
@HaVipName = havipname
|
3802
|
+
@SubnetId = subnetid
|
3379
3803
|
@Vip = vip
|
3380
3804
|
@NetworkInterfaceId = networkinterfaceid
|
3805
|
+
@CheckAssociate = checkassociate
|
3381
3806
|
end
|
3382
3807
|
|
3383
3808
|
def deserialize(params)
|
3384
3809
|
@VpcId = params['VpcId']
|
3385
|
-
@SubnetId = params['SubnetId']
|
3386
3810
|
@HaVipName = params['HaVipName']
|
3811
|
+
@SubnetId = params['SubnetId']
|
3387
3812
|
@Vip = params['Vip']
|
3388
3813
|
@NetworkInterfaceId = params['NetworkInterfaceId']
|
3814
|
+
@CheckAssociate = params['CheckAssociate']
|
3389
3815
|
end
|
3390
3816
|
end
|
3391
3817
|
|
@@ -5598,10 +6024,16 @@ module TencentCloud
|
|
5598
6024
|
# @type State: String
|
5599
6025
|
# @param CreatedTime: 审批单创建时间。
|
5600
6026
|
# @type CreatedTime: String
|
6027
|
+
# @param LegalPersonId: 法定代表人身份证号。
|
6028
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6029
|
+
# @type LegalPersonId: String
|
6030
|
+
# @param LegalPersonIdCard: 法定代表人身份证。
|
6031
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6032
|
+
# @type LegalPersonIdCard: String
|
5601
6033
|
|
5602
|
-
attr_accessor :ServiceProvider, :ComplianceId, :Company, :UniformSocialCreditCode, :LegalPerson, :IssuingAuthority, :BusinessLicense, :BusinessAddress, :PostCode, :Manager, :ManagerId, :ManagerIdCard, :ManagerAddress, :ManagerTelephone, :Email, :ServiceHandlingForm, :AuthorizationLetter, :SafetyCommitment, :ServiceStartDate, :ServiceEndDate, :State, :CreatedTime
|
6034
|
+
attr_accessor :ServiceProvider, :ComplianceId, :Company, :UniformSocialCreditCode, :LegalPerson, :IssuingAuthority, :BusinessLicense, :BusinessAddress, :PostCode, :Manager, :ManagerId, :ManagerIdCard, :ManagerAddress, :ManagerTelephone, :Email, :ServiceHandlingForm, :AuthorizationLetter, :SafetyCommitment, :ServiceStartDate, :ServiceEndDate, :State, :CreatedTime, :LegalPersonId, :LegalPersonIdCard
|
5603
6035
|
|
5604
|
-
def initialize(serviceprovider=nil, complianceid=nil, company=nil, uniformsocialcreditcode=nil, legalperson=nil, issuingauthority=nil, businesslicense=nil, businessaddress=nil, postcode=nil, manager=nil, managerid=nil, manageridcard=nil, manageraddress=nil, managertelephone=nil, email=nil, servicehandlingform=nil, authorizationletter=nil, safetycommitment=nil, servicestartdate=nil, serviceenddate=nil, state=nil, createdtime=nil)
|
6036
|
+
def initialize(serviceprovider=nil, complianceid=nil, company=nil, uniformsocialcreditcode=nil, legalperson=nil, issuingauthority=nil, businesslicense=nil, businessaddress=nil, postcode=nil, manager=nil, managerid=nil, manageridcard=nil, manageraddress=nil, managertelephone=nil, email=nil, servicehandlingform=nil, authorizationletter=nil, safetycommitment=nil, servicestartdate=nil, serviceenddate=nil, state=nil, createdtime=nil, legalpersonid=nil, legalpersonidcard=nil)
|
5605
6037
|
@ServiceProvider = serviceprovider
|
5606
6038
|
@ComplianceId = complianceid
|
5607
6039
|
@Company = company
|
@@ -5624,6 +6056,8 @@ module TencentCloud
|
|
5624
6056
|
@ServiceEndDate = serviceenddate
|
5625
6057
|
@State = state
|
5626
6058
|
@CreatedTime = createdtime
|
6059
|
+
@LegalPersonId = legalpersonid
|
6060
|
+
@LegalPersonIdCard = legalpersonidcard
|
5627
6061
|
end
|
5628
6062
|
|
5629
6063
|
def deserialize(params)
|
@@ -5649,6 +6083,8 @@ module TencentCloud
|
|
5649
6083
|
@ServiceEndDate = params['ServiceEndDate']
|
5650
6084
|
@State = params['State']
|
5651
6085
|
@CreatedTime = params['CreatedTime']
|
6086
|
+
@LegalPersonId = params['LegalPersonId']
|
6087
|
+
@LegalPersonIdCard = params['LegalPersonIdCard']
|
5652
6088
|
end
|
5653
6089
|
end
|
5654
6090
|
|
@@ -5992,6 +6428,38 @@ module TencentCloud
|
|
5992
6428
|
end
|
5993
6429
|
end
|
5994
6430
|
|
6431
|
+
# DeleteCcnRouteTables请求参数结构体
|
6432
|
+
class DeleteCcnRouteTablesRequest < TencentCloud::Common::AbstractModel
|
6433
|
+
# @param RouteTableId: 需要删除的路由表列表。
|
6434
|
+
# @type RouteTableId: Array
|
6435
|
+
|
6436
|
+
attr_accessor :RouteTableId
|
6437
|
+
|
6438
|
+
def initialize(routetableid=nil)
|
6439
|
+
@RouteTableId = routetableid
|
6440
|
+
end
|
6441
|
+
|
6442
|
+
def deserialize(params)
|
6443
|
+
@RouteTableId = params['RouteTableId']
|
6444
|
+
end
|
6445
|
+
end
|
6446
|
+
|
6447
|
+
# DeleteCcnRouteTables返回参数结构体
|
6448
|
+
class DeleteCcnRouteTablesResponse < TencentCloud::Common::AbstractModel
|
6449
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6450
|
+
# @type RequestId: String
|
6451
|
+
|
6452
|
+
attr_accessor :RequestId
|
6453
|
+
|
6454
|
+
def initialize(requestid=nil)
|
6455
|
+
@RequestId = requestid
|
6456
|
+
end
|
6457
|
+
|
6458
|
+
def deserialize(params)
|
6459
|
+
@RequestId = params['RequestId']
|
6460
|
+
end
|
6461
|
+
end
|
6462
|
+
|
5995
6463
|
# DeleteCustomerGateway请求参数结构体
|
5996
6464
|
class DeleteCustomerGatewayRequest < TencentCloud::Common::AbstractModel
|
5997
6465
|
# @param CustomerGatewayId: 对端网关ID,例如:cgw-2wqq41m9,可通过[DescribeCustomerGateways](https://cloud.tencent.com/document/api/215/17516)接口查询对端网关。
|
@@ -8138,6 +8606,182 @@ module TencentCloud
|
|
8138
8606
|
end
|
8139
8607
|
end
|
8140
8608
|
|
8609
|
+
# DescribeCcnRouteTableBroadcastPolicys请求参数结构体
|
8610
|
+
class DescribeCcnRouteTableBroadcastPolicysRequest < TencentCloud::Common::AbstractModel
|
8611
|
+
# @param CcnId: 云联网ID
|
8612
|
+
# @type CcnId: String
|
8613
|
+
# @param RouteTableId: 云联网路由表ID
|
8614
|
+
# @type RouteTableId: String
|
8615
|
+
# @param PolicyVersion: 路由传播策略版本号
|
8616
|
+
# @type PolicyVersion: Integer
|
8617
|
+
|
8618
|
+
attr_accessor :CcnId, :RouteTableId, :PolicyVersion
|
8619
|
+
|
8620
|
+
def initialize(ccnid=nil, routetableid=nil, policyversion=nil)
|
8621
|
+
@CcnId = ccnid
|
8622
|
+
@RouteTableId = routetableid
|
8623
|
+
@PolicyVersion = policyversion
|
8624
|
+
end
|
8625
|
+
|
8626
|
+
def deserialize(params)
|
8627
|
+
@CcnId = params['CcnId']
|
8628
|
+
@RouteTableId = params['RouteTableId']
|
8629
|
+
@PolicyVersion = params['PolicyVersion']
|
8630
|
+
end
|
8631
|
+
end
|
8632
|
+
|
8633
|
+
# DescribeCcnRouteTableBroadcastPolicys返回参数结构体
|
8634
|
+
class DescribeCcnRouteTableBroadcastPolicysResponse < TencentCloud::Common::AbstractModel
|
8635
|
+
# @param PolicySet: 路由表传播策略。
|
8636
|
+
# @type PolicySet: Array
|
8637
|
+
# @param TotalCount: 符合条件的对象数。
|
8638
|
+
# @type TotalCount: Integer
|
8639
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8640
|
+
# @type RequestId: String
|
8641
|
+
|
8642
|
+
attr_accessor :PolicySet, :TotalCount, :RequestId
|
8643
|
+
|
8644
|
+
def initialize(policyset=nil, totalcount=nil, requestid=nil)
|
8645
|
+
@PolicySet = policyset
|
8646
|
+
@TotalCount = totalcount
|
8647
|
+
@RequestId = requestid
|
8648
|
+
end
|
8649
|
+
|
8650
|
+
def deserialize(params)
|
8651
|
+
unless params['PolicySet'].nil?
|
8652
|
+
@PolicySet = []
|
8653
|
+
params['PolicySet'].each do |i|
|
8654
|
+
ccnroutetablebroadcastpolicys_tmp = CcnRouteTableBroadcastPolicys.new
|
8655
|
+
ccnroutetablebroadcastpolicys_tmp.deserialize(i)
|
8656
|
+
@PolicySet << ccnroutetablebroadcastpolicys_tmp
|
8657
|
+
end
|
8658
|
+
end
|
8659
|
+
@TotalCount = params['TotalCount']
|
8660
|
+
@RequestId = params['RequestId']
|
8661
|
+
end
|
8662
|
+
end
|
8663
|
+
|
8664
|
+
# DescribeCcnRouteTableInputPolicys请求参数结构体
|
8665
|
+
class DescribeCcnRouteTableInputPolicysRequest < TencentCloud::Common::AbstractModel
|
8666
|
+
# @param CcnId: 云联网ID。
|
8667
|
+
# @type CcnId: String
|
8668
|
+
# @param RouteTableId: 云联网路由表ID。
|
8669
|
+
# @type RouteTableId: String
|
8670
|
+
# @param PolicyVersion: 路由接收策略版本号。
|
8671
|
+
# @type PolicyVersion: Integer
|
8672
|
+
|
8673
|
+
attr_accessor :CcnId, :RouteTableId, :PolicyVersion
|
8674
|
+
|
8675
|
+
def initialize(ccnid=nil, routetableid=nil, policyversion=nil)
|
8676
|
+
@CcnId = ccnid
|
8677
|
+
@RouteTableId = routetableid
|
8678
|
+
@PolicyVersion = policyversion
|
8679
|
+
end
|
8680
|
+
|
8681
|
+
def deserialize(params)
|
8682
|
+
@CcnId = params['CcnId']
|
8683
|
+
@RouteTableId = params['RouteTableId']
|
8684
|
+
@PolicyVersion = params['PolicyVersion']
|
8685
|
+
end
|
8686
|
+
end
|
8687
|
+
|
8688
|
+
# DescribeCcnRouteTableInputPolicys返回参数结构体
|
8689
|
+
class DescribeCcnRouteTableInputPolicysResponse < TencentCloud::Common::AbstractModel
|
8690
|
+
# @param PolicySet: 路由表接收策略。
|
8691
|
+
# @type PolicySet: Array
|
8692
|
+
# @param TotalCount: 符合条件的对象数。
|
8693
|
+
# @type TotalCount: Integer
|
8694
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8695
|
+
# @type RequestId: String
|
8696
|
+
|
8697
|
+
attr_accessor :PolicySet, :TotalCount, :RequestId
|
8698
|
+
|
8699
|
+
def initialize(policyset=nil, totalcount=nil, requestid=nil)
|
8700
|
+
@PolicySet = policyset
|
8701
|
+
@TotalCount = totalcount
|
8702
|
+
@RequestId = requestid
|
8703
|
+
end
|
8704
|
+
|
8705
|
+
def deserialize(params)
|
8706
|
+
unless params['PolicySet'].nil?
|
8707
|
+
@PolicySet = []
|
8708
|
+
params['PolicySet'].each do |i|
|
8709
|
+
ccnroutetableinputpolicys_tmp = CcnRouteTableInputPolicys.new
|
8710
|
+
ccnroutetableinputpolicys_tmp.deserialize(i)
|
8711
|
+
@PolicySet << ccnroutetableinputpolicys_tmp
|
8712
|
+
end
|
8713
|
+
end
|
8714
|
+
@TotalCount = params['TotalCount']
|
8715
|
+
@RequestId = params['RequestId']
|
8716
|
+
end
|
8717
|
+
end
|
8718
|
+
|
8719
|
+
# DescribeCcnRouteTables请求参数结构体
|
8720
|
+
class DescribeCcnRouteTablesRequest < TencentCloud::Common::AbstractModel
|
8721
|
+
# @param Filters: 过滤条件:
|
8722
|
+
# <li>ccn-id - String -(过滤条件)CCN实例ID。</li>
|
8723
|
+
# <li>route-table-id - String -(过滤条件)路由表ID。</li>
|
8724
|
+
# <li>route-table-name - String -(过滤条件)路由表名称。</li>
|
8725
|
+
# <li>route-table-description- String -(过滤条件)路由表备注。</li>
|
8726
|
+
# @type Filters: Array
|
8727
|
+
# @param Offset: 偏移量。
|
8728
|
+
# @type Offset: Integer
|
8729
|
+
# @param Limit: 一次查询最大返回的数量。
|
8730
|
+
# @type Limit: Integer
|
8731
|
+
|
8732
|
+
attr_accessor :Filters, :Offset, :Limit
|
8733
|
+
|
8734
|
+
def initialize(filters=nil, offset=nil, limit=nil)
|
8735
|
+
@Filters = filters
|
8736
|
+
@Offset = offset
|
8737
|
+
@Limit = limit
|
8738
|
+
end
|
8739
|
+
|
8740
|
+
def deserialize(params)
|
8741
|
+
unless params['Filters'].nil?
|
8742
|
+
@Filters = []
|
8743
|
+
params['Filters'].each do |i|
|
8744
|
+
filter_tmp = Filter.new
|
8745
|
+
filter_tmp.deserialize(i)
|
8746
|
+
@Filters << filter_tmp
|
8747
|
+
end
|
8748
|
+
end
|
8749
|
+
@Offset = params['Offset']
|
8750
|
+
@Limit = params['Limit']
|
8751
|
+
end
|
8752
|
+
end
|
8753
|
+
|
8754
|
+
# DescribeCcnRouteTables返回参数结构体
|
8755
|
+
class DescribeCcnRouteTablesResponse < TencentCloud::Common::AbstractModel
|
8756
|
+
# @param CcnRouteTableSet: 路由表信息列表。
|
8757
|
+
# @type CcnRouteTableSet: Array
|
8758
|
+
# @param TotalCount: 查询到的路由表数量。
|
8759
|
+
# @type TotalCount: Integer
|
8760
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8761
|
+
# @type RequestId: String
|
8762
|
+
|
8763
|
+
attr_accessor :CcnRouteTableSet, :TotalCount, :RequestId
|
8764
|
+
|
8765
|
+
def initialize(ccnroutetableset=nil, totalcount=nil, requestid=nil)
|
8766
|
+
@CcnRouteTableSet = ccnroutetableset
|
8767
|
+
@TotalCount = totalcount
|
8768
|
+
@RequestId = requestid
|
8769
|
+
end
|
8770
|
+
|
8771
|
+
def deserialize(params)
|
8772
|
+
unless params['CcnRouteTableSet'].nil?
|
8773
|
+
@CcnRouteTableSet = []
|
8774
|
+
params['CcnRouteTableSet'].each do |i|
|
8775
|
+
ccnroutetable_tmp = CcnRouteTable.new
|
8776
|
+
ccnroutetable_tmp.deserialize(i)
|
8777
|
+
@CcnRouteTableSet << ccnroutetable_tmp
|
8778
|
+
end
|
8779
|
+
end
|
8780
|
+
@TotalCount = params['TotalCount']
|
8781
|
+
@RequestId = params['RequestId']
|
8782
|
+
end
|
8783
|
+
end
|
8784
|
+
|
8141
8785
|
# DescribeCcnRoutes请求参数结构体
|
8142
8786
|
class DescribeCcnRoutesRequest < TencentCloud::Common::AbstractModel
|
8143
8787
|
# @param CcnId: CCN实例ID,形如:`ccn-gree226l`。
|
@@ -9216,13 +9860,7 @@ module TencentCloud
|
|
9216
9860
|
class DescribeHaVipsRequest < TencentCloud::Common::AbstractModel
|
9217
9861
|
# @param HaVipIds: `HAVIP`唯一`ID`,形如:`havip-9o233uri`。
|
9218
9862
|
# @type HaVipIds: Array
|
9219
|
-
# @param Filters: 过滤条件,参数不支持同时指定`HaVipIds`和`Filters
|
9220
|
-
# <li>havip-id - String - `HAVIP`唯一`ID`,形如:`havip-9o233uri`。</li>
|
9221
|
-
# <li>havip-name - String - `HAVIP`名称。</li>
|
9222
|
-
# <li>vpc-id - String - `HAVIP`所在私有网络`ID`。</li>
|
9223
|
-
# <li>subnet-id - String - `HAVIP`所在子网`ID`。</li>
|
9224
|
-
# <li>vip - String - `HAVIP`的地址`VIP`。</li>
|
9225
|
-
# <li>address-ip - String - `HAVIP`绑定的弹性公网`IP`。</li>
|
9863
|
+
# @param Filters: 过滤条件,参数不支持同时指定`HaVipIds`和`Filters`。<li>havip-id - String - `HAVIP`唯一`ID`,形如:`havip-9o233uri`。</li><li>havip-name - String - `HAVIP`名称。</li><li>vpc-id - String - `HAVIP`所在私有网络`ID`。</li><li>subnet-id - String - `HAVIP`所在子网`ID`。</li><li>vip - String - `HAVIP`的地址`VIP`。</li><li>address-ip - String - `HAVIP`绑定的弹性公网`IP`。</li><li>havip-association.instance-id - String - `HAVIP`绑定的子机或网卡。</li><li>havip-association.instance-type - String - `HAVIP`绑定的类型,取值:CVM, ENI。</li><li>check-associate - Bool - 是否开启HaVip飘移时校验绑定的子机或网卡。</li><li>cdc-id - String - CDC实例ID。</li>
|
9226
9864
|
# @type Filters: Array
|
9227
9865
|
# @param Offset: 偏移量,默认为0。
|
9228
9866
|
# @type Offset: Integer
|
@@ -10817,27 +11455,174 @@ module TencentCloud
|
|
10817
11455
|
end
|
10818
11456
|
end
|
10819
11457
|
|
10820
|
-
# DescribeRouteConflicts返回参数结构体
|
10821
|
-
class DescribeRouteConflictsResponse < TencentCloud::Common::AbstractModel
|
10822
|
-
# @param RouteConflictSet: 路由策略冲突列表。
|
10823
|
-
# @type RouteConflictSet: Array
|
11458
|
+
# DescribeRouteConflicts返回参数结构体
|
11459
|
+
class DescribeRouteConflictsResponse < TencentCloud::Common::AbstractModel
|
11460
|
+
# @param RouteConflictSet: 路由策略冲突列表。
|
11461
|
+
# @type RouteConflictSet: Array
|
11462
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11463
|
+
# @type RequestId: String
|
11464
|
+
|
11465
|
+
attr_accessor :RouteConflictSet, :RequestId
|
11466
|
+
|
11467
|
+
def initialize(routeconflictset=nil, requestid=nil)
|
11468
|
+
@RouteConflictSet = routeconflictset
|
11469
|
+
@RequestId = requestid
|
11470
|
+
end
|
11471
|
+
|
11472
|
+
def deserialize(params)
|
11473
|
+
unless params['RouteConflictSet'].nil?
|
11474
|
+
@RouteConflictSet = []
|
11475
|
+
params['RouteConflictSet'].each do |i|
|
11476
|
+
routeconflict_tmp = RouteConflict.new
|
11477
|
+
routeconflict_tmp.deserialize(i)
|
11478
|
+
@RouteConflictSet << routeconflict_tmp
|
11479
|
+
end
|
11480
|
+
end
|
11481
|
+
@RequestId = params['RequestId']
|
11482
|
+
end
|
11483
|
+
end
|
11484
|
+
|
11485
|
+
# DescribeRouteTableAssociatedInstances请求参数结构体
|
11486
|
+
class DescribeRouteTableAssociatedInstancesRequest < TencentCloud::Common::AbstractModel
|
11487
|
+
# @param Filters: 过滤条件:
|
11488
|
+
# <li>ccn-id - String -(过滤条件)CCN实例ID。</li>
|
11489
|
+
# <li>ccn-route-table-id - String -(过滤条件)路由表ID。</li>
|
11490
|
+
# <li>instance-type - String -(过滤条件)实例类型:
|
11491
|
+
# 私有网络: `VPC`
|
11492
|
+
# 专线网关: `DIRECTCONNECT`
|
11493
|
+
# 黑石私有网络: `BMVPC`
|
11494
|
+
# EDGE设备: `EDGE`
|
11495
|
+
# EDGE隧道: `EDGE_TUNNEL`
|
11496
|
+
# EDGE网关: `EDGE_VPNGW`
|
11497
|
+
# VPN网关:`VPNGW`</li>
|
11498
|
+
# <li>instance-id- String -(过滤条件)实例ID。</li>
|
11499
|
+
# @type Filters: Array
|
11500
|
+
# @param Offset: 偏移量。
|
11501
|
+
# @type Offset: Integer
|
11502
|
+
# @param Limit: 一次查询最大返回的数量。
|
11503
|
+
# @type Limit: Integer
|
11504
|
+
|
11505
|
+
attr_accessor :Filters, :Offset, :Limit
|
11506
|
+
|
11507
|
+
def initialize(filters=nil, offset=nil, limit=nil)
|
11508
|
+
@Filters = filters
|
11509
|
+
@Offset = offset
|
11510
|
+
@Limit = limit
|
11511
|
+
end
|
11512
|
+
|
11513
|
+
def deserialize(params)
|
11514
|
+
unless params['Filters'].nil?
|
11515
|
+
@Filters = []
|
11516
|
+
params['Filters'].each do |i|
|
11517
|
+
filter_tmp = Filter.new
|
11518
|
+
filter_tmp.deserialize(i)
|
11519
|
+
@Filters << filter_tmp
|
11520
|
+
end
|
11521
|
+
end
|
11522
|
+
@Offset = params['Offset']
|
11523
|
+
@Limit = params['Limit']
|
11524
|
+
end
|
11525
|
+
end
|
11526
|
+
|
11527
|
+
# DescribeRouteTableAssociatedInstances返回参数结构体
|
11528
|
+
class DescribeRouteTableAssociatedInstancesResponse < TencentCloud::Common::AbstractModel
|
11529
|
+
# @param TotalCount: 查询到的绑定路由表的实例数量。
|
11530
|
+
# @type TotalCount: Integer
|
11531
|
+
# @param InstanceBindSet: 绑定信息。
|
11532
|
+
# @type InstanceBindSet: Array
|
11533
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11534
|
+
# @type RequestId: String
|
11535
|
+
|
11536
|
+
attr_accessor :TotalCount, :InstanceBindSet, :RequestId
|
11537
|
+
|
11538
|
+
def initialize(totalcount=nil, instancebindset=nil, requestid=nil)
|
11539
|
+
@TotalCount = totalcount
|
11540
|
+
@InstanceBindSet = instancebindset
|
11541
|
+
@RequestId = requestid
|
11542
|
+
end
|
11543
|
+
|
11544
|
+
def deserialize(params)
|
11545
|
+
@TotalCount = params['TotalCount']
|
11546
|
+
unless params['InstanceBindSet'].nil?
|
11547
|
+
@InstanceBindSet = []
|
11548
|
+
params['InstanceBindSet'].each do |i|
|
11549
|
+
instancebind_tmp = InstanceBind.new
|
11550
|
+
instancebind_tmp.deserialize(i)
|
11551
|
+
@InstanceBindSet << instancebind_tmp
|
11552
|
+
end
|
11553
|
+
end
|
11554
|
+
@RequestId = params['RequestId']
|
11555
|
+
end
|
11556
|
+
end
|
11557
|
+
|
11558
|
+
# DescribeRouteTableSelectionPolicies请求参数结构体
|
11559
|
+
class DescribeRouteTableSelectionPoliciesRequest < TencentCloud::Common::AbstractModel
|
11560
|
+
# @param Offset: 偏移量
|
11561
|
+
# @type Offset: Integer
|
11562
|
+
# @param Limit: 返回数量
|
11563
|
+
# @type Limit: Integer
|
11564
|
+
# @param Filters: 过滤条件:
|
11565
|
+
# <li>ccn-id - String -(过滤条件)CCN实例ID。</li>
|
11566
|
+
# <li>instance-type - String -(过滤条件)关联实例类型:
|
11567
|
+
# 私有网络: `VPC`
|
11568
|
+
# 专线网关: `DIRECTCONNECT`
|
11569
|
+
# 黑石私有网络: `BMVPC`
|
11570
|
+
# EDGE设备: `EDGE`
|
11571
|
+
# EDGE隧道: `EDGE_TUNNEL`
|
11572
|
+
# EDGE网关: `EDGE_VPNGW`
|
11573
|
+
# VPN网关:`VPNGW`</li>
|
11574
|
+
# <li>ccn-route-table-id - String -(过滤条件)路由表ID。</li>
|
11575
|
+
# <li>instance-id - String -(过滤条件)关联的实例ID。</li>
|
11576
|
+
# <li>route-table-name - String -(过滤条件)路由表名称。</li>
|
11577
|
+
# @type Filters: Array
|
11578
|
+
|
11579
|
+
attr_accessor :Offset, :Limit, :Filters
|
11580
|
+
|
11581
|
+
def initialize(offset=nil, limit=nil, filters=nil)
|
11582
|
+
@Offset = offset
|
11583
|
+
@Limit = limit
|
11584
|
+
@Filters = filters
|
11585
|
+
end
|
11586
|
+
|
11587
|
+
def deserialize(params)
|
11588
|
+
@Offset = params['Offset']
|
11589
|
+
@Limit = params['Limit']
|
11590
|
+
unless params['Filters'].nil?
|
11591
|
+
@Filters = []
|
11592
|
+
params['Filters'].each do |i|
|
11593
|
+
filter_tmp = Filter.new
|
11594
|
+
filter_tmp.deserialize(i)
|
11595
|
+
@Filters << filter_tmp
|
11596
|
+
end
|
11597
|
+
end
|
11598
|
+
end
|
11599
|
+
end
|
11600
|
+
|
11601
|
+
# DescribeRouteTableSelectionPolicies返回参数结构体
|
11602
|
+
class DescribeRouteTableSelectionPoliciesResponse < TencentCloud::Common::AbstractModel
|
11603
|
+
# @param TotalCount: 符合条件的对象数。
|
11604
|
+
# @type TotalCount: Integer
|
11605
|
+
# @param RouteSelectionPolicySet: 路由表选择策略信息集合。
|
11606
|
+
# @type RouteSelectionPolicySet: Array
|
10824
11607
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10825
11608
|
# @type RequestId: String
|
10826
11609
|
|
10827
|
-
attr_accessor :
|
11610
|
+
attr_accessor :TotalCount, :RouteSelectionPolicySet, :RequestId
|
10828
11611
|
|
10829
|
-
def initialize(
|
10830
|
-
@
|
11612
|
+
def initialize(totalcount=nil, routeselectionpolicyset=nil, requestid=nil)
|
11613
|
+
@TotalCount = totalcount
|
11614
|
+
@RouteSelectionPolicySet = routeselectionpolicyset
|
10831
11615
|
@RequestId = requestid
|
10832
11616
|
end
|
10833
11617
|
|
10834
11618
|
def deserialize(params)
|
10835
|
-
|
10836
|
-
|
10837
|
-
|
10838
|
-
|
10839
|
-
|
10840
|
-
|
11619
|
+
@TotalCount = params['TotalCount']
|
11620
|
+
unless params['RouteSelectionPolicySet'].nil?
|
11621
|
+
@RouteSelectionPolicySet = []
|
11622
|
+
params['RouteSelectionPolicySet'].each do |i|
|
11623
|
+
routeselectionpolicy_tmp = RouteSelectionPolicy.new
|
11624
|
+
routeselectionpolicy_tmp.deserialize(i)
|
11625
|
+
@RouteSelectionPolicySet << routeselectionpolicy_tmp
|
10841
11626
|
end
|
10842
11627
|
end
|
10843
11628
|
@RequestId = params['RequestId']
|
@@ -15031,10 +15816,19 @@ module TencentCloud
|
|
15031
15816
|
# @type CreatedTime: String
|
15032
15817
|
# @param Business: 使用havip的业务标识。
|
15033
15818
|
# @type Business: String
|
15819
|
+
# @param HaVipAssociationSet: `HAVIP`的飘移范围。
|
15820
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15821
|
+
# @type HaVipAssociationSet: Array
|
15822
|
+
# @param CheckAssociate: 是否开启`HAVIP`的飘移范围校验。
|
15823
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15824
|
+
# @type CheckAssociate: Boolean
|
15825
|
+
# @param FlushedTime: HAVIP 刷新时间。该参数只作为出参数。以下场景会触发 FlushTime 被刷新:1)子机发出免费 ARP 触发 HAVIP 漂移;2)手动HAVIP解绑网卡; 没有更新时默认值:0000-00-00 00:00:00
|
15826
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15827
|
+
# @type FlushedTime: String
|
15034
15828
|
|
15035
|
-
attr_accessor :HaVipId, :HaVipName, :Vip, :VpcId, :SubnetId, :NetworkInterfaceId, :InstanceId, :AddressIp, :State, :CreatedTime, :Business
|
15829
|
+
attr_accessor :HaVipId, :HaVipName, :Vip, :VpcId, :SubnetId, :NetworkInterfaceId, :InstanceId, :AddressIp, :State, :CreatedTime, :Business, :HaVipAssociationSet, :CheckAssociate, :FlushedTime
|
15036
15830
|
|
15037
|
-
def initialize(havipid=nil, havipname=nil, vip=nil, vpcid=nil, subnetid=nil, networkinterfaceid=nil, instanceid=nil, addressip=nil, state=nil, createdtime=nil, business=nil)
|
15831
|
+
def initialize(havipid=nil, havipname=nil, vip=nil, vpcid=nil, subnetid=nil, networkinterfaceid=nil, instanceid=nil, addressip=nil, state=nil, createdtime=nil, business=nil, havipassociationset=nil, checkassociate=nil, flushedtime=nil)
|
15038
15832
|
@HaVipId = havipid
|
15039
15833
|
@HaVipName = havipname
|
15040
15834
|
@Vip = vip
|
@@ -15046,6 +15840,9 @@ module TencentCloud
|
|
15046
15840
|
@State = state
|
15047
15841
|
@CreatedTime = createdtime
|
15048
15842
|
@Business = business
|
15843
|
+
@HaVipAssociationSet = havipassociationset
|
15844
|
+
@CheckAssociate = checkassociate
|
15845
|
+
@FlushedTime = flushedtime
|
15049
15846
|
end
|
15050
15847
|
|
15051
15848
|
def deserialize(params)
|
@@ -15060,6 +15857,16 @@ module TencentCloud
|
|
15060
15857
|
@State = params['State']
|
15061
15858
|
@CreatedTime = params['CreatedTime']
|
15062
15859
|
@Business = params['Business']
|
15860
|
+
unless params['HaVipAssociationSet'].nil?
|
15861
|
+
@HaVipAssociationSet = []
|
15862
|
+
params['HaVipAssociationSet'].each do |i|
|
15863
|
+
havipassociation_tmp = HaVipAssociation.new
|
15864
|
+
havipassociation_tmp.deserialize(i)
|
15865
|
+
@HaVipAssociationSet << havipassociation_tmp
|
15866
|
+
end
|
15867
|
+
end
|
15868
|
+
@CheckAssociate = params['CheckAssociate']
|
15869
|
+
@FlushedTime = params['FlushedTime']
|
15063
15870
|
end
|
15064
15871
|
end
|
15065
15872
|
|
@@ -15099,6 +15906,33 @@ module TencentCloud
|
|
15099
15906
|
end
|
15100
15907
|
end
|
15101
15908
|
|
15909
|
+
# HaVip绑定的子机/网卡(用于限制HaVip飘移的范围,并不是真正的飘移动作)。
|
15910
|
+
class HaVipAssociation < TencentCloud::Common::AbstractModel
|
15911
|
+
# @param HaVipId: HaVip实例唯一ID。
|
15912
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15913
|
+
# @type HaVipId: String
|
15914
|
+
# @param InstanceId: HaVip绑定的子机或网卡唯一ID。
|
15915
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15916
|
+
# @type InstanceId: String
|
15917
|
+
# @param InstanceType: HaVip绑定的类型。取值:CVM, ENI。
|
15918
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15919
|
+
# @type InstanceType: String
|
15920
|
+
|
15921
|
+
attr_accessor :HaVipId, :InstanceId, :InstanceType
|
15922
|
+
|
15923
|
+
def initialize(havipid=nil, instanceid=nil, instancetype=nil)
|
15924
|
+
@HaVipId = havipid
|
15925
|
+
@InstanceId = instanceid
|
15926
|
+
@InstanceType = instancetype
|
15927
|
+
end
|
15928
|
+
|
15929
|
+
def deserialize(params)
|
15930
|
+
@HaVipId = params['HaVipId']
|
15931
|
+
@InstanceId = params['InstanceId']
|
15932
|
+
@InstanceType = params['InstanceType']
|
15933
|
+
end
|
15934
|
+
end
|
15935
|
+
|
15102
15936
|
# HaVipDisassociateAddressIp请求参数结构体
|
15103
15937
|
class HaVipDisassociateAddressIpRequest < TencentCloud::Common::AbstractModel
|
15104
15938
|
# @param HaVipId: `HAVIP`唯一`ID`,形如:`havip-9o233uri`。必须是已绑定`EIP`的`HAVIP`。
|
@@ -15464,6 +16298,63 @@ module TencentCloud
|
|
15464
16298
|
end
|
15465
16299
|
end
|
15466
16300
|
|
16301
|
+
# 云联网实例绑定路由表信息
|
16302
|
+
class InstanceBind < TencentCloud::Common::AbstractModel
|
16303
|
+
# @param CcnId: 云联网ID。
|
16304
|
+
# @type CcnId: String
|
16305
|
+
# @param InstanceType: 实例类型:VPC,DIRECTCONNECT,BMVPC,EDGE,EDGE_TUNNEL,EDGE_VPNGW,VPNGW。
|
16306
|
+
# @type InstanceType: String
|
16307
|
+
# @param InstanceId: 实例ID。
|
16308
|
+
# @type InstanceId: String
|
16309
|
+
# @param InstanceBindTime: 实例绑定路由表的时间。
|
16310
|
+
# @type InstanceBindTime: String
|
16311
|
+
# @param RouteTableId: 路由表ID。
|
16312
|
+
# @type RouteTableId: String
|
16313
|
+
# @param InstanceName: 实例名称。
|
16314
|
+
# @type InstanceName: String
|
16315
|
+
# @param InstanceRegion: 实例所在地域。
|
16316
|
+
# @type InstanceRegion: Array
|
16317
|
+
# @param InstanceUin: 实例所属的账户uin。
|
16318
|
+
# @type InstanceUin: String
|
16319
|
+
# @param State: 关联实例状态:
|
16320
|
+
# <li>`PENDING`:申请中</li>
|
16321
|
+
# <li>`ACTIVE`:已连接</li>
|
16322
|
+
# <li>`EXPIRED`:已过期</li>
|
16323
|
+
# <li>`REJECTED`:已拒绝</li>
|
16324
|
+
# <li>`DELETED`:已删除</li>
|
16325
|
+
# <li>`FAILED`:失败的(2小时后将异步强制解关联)</li>
|
16326
|
+
# <li>`ATTACHING`:关联中</li>
|
16327
|
+
# <li>`DETACHING`:解关联中</li>
|
16328
|
+
# <li>`DETACHFAILED`:解关联失败(2小时后将异步强制解关联)</li>
|
16329
|
+
# @type State: String
|
16330
|
+
|
16331
|
+
attr_accessor :CcnId, :InstanceType, :InstanceId, :InstanceBindTime, :RouteTableId, :InstanceName, :InstanceRegion, :InstanceUin, :State
|
16332
|
+
|
16333
|
+
def initialize(ccnid=nil, instancetype=nil, instanceid=nil, instancebindtime=nil, routetableid=nil, instancename=nil, instanceregion=nil, instanceuin=nil, state=nil)
|
16334
|
+
@CcnId = ccnid
|
16335
|
+
@InstanceType = instancetype
|
16336
|
+
@InstanceId = instanceid
|
16337
|
+
@InstanceBindTime = instancebindtime
|
16338
|
+
@RouteTableId = routetableid
|
16339
|
+
@InstanceName = instancename
|
16340
|
+
@InstanceRegion = instanceregion
|
16341
|
+
@InstanceUin = instanceuin
|
16342
|
+
@State = state
|
16343
|
+
end
|
16344
|
+
|
16345
|
+
def deserialize(params)
|
16346
|
+
@CcnId = params['CcnId']
|
16347
|
+
@InstanceType = params['InstanceType']
|
16348
|
+
@InstanceId = params['InstanceId']
|
16349
|
+
@InstanceBindTime = params['InstanceBindTime']
|
16350
|
+
@RouteTableId = params['RouteTableId']
|
16351
|
+
@InstanceName = params['InstanceName']
|
16352
|
+
@InstanceRegion = params['InstanceRegion']
|
16353
|
+
@InstanceUin = params['InstanceUin']
|
16354
|
+
@State = params['State']
|
16355
|
+
end
|
16356
|
+
end
|
16357
|
+
|
15467
16358
|
# 预付费(包年包月)计费对象。
|
15468
16359
|
class InstanceChargePrepaid < TencentCloud::Common::AbstractModel
|
15469
16360
|
# @param Period: 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36。
|
@@ -16540,6 +17431,45 @@ module TencentCloud
|
|
16540
17431
|
end
|
16541
17432
|
end
|
16542
17433
|
|
17434
|
+
# ModifyCcnRouteTables请求参数结构体
|
17435
|
+
class ModifyCcnRouteTablesRequest < TencentCloud::Common::AbstractModel
|
17436
|
+
# @param RouteTableInfo: 需要修改的路由表列表。
|
17437
|
+
# @type RouteTableInfo: Array
|
17438
|
+
|
17439
|
+
attr_accessor :RouteTableInfo
|
17440
|
+
|
17441
|
+
def initialize(routetableinfo=nil)
|
17442
|
+
@RouteTableInfo = routetableinfo
|
17443
|
+
end
|
17444
|
+
|
17445
|
+
def deserialize(params)
|
17446
|
+
unless params['RouteTableInfo'].nil?
|
17447
|
+
@RouteTableInfo = []
|
17448
|
+
params['RouteTableInfo'].each do |i|
|
17449
|
+
modifyroutetableinfo_tmp = ModifyRouteTableInfo.new
|
17450
|
+
modifyroutetableinfo_tmp.deserialize(i)
|
17451
|
+
@RouteTableInfo << modifyroutetableinfo_tmp
|
17452
|
+
end
|
17453
|
+
end
|
17454
|
+
end
|
17455
|
+
end
|
17456
|
+
|
17457
|
+
# ModifyCcnRouteTables返回参数结构体
|
17458
|
+
class ModifyCcnRouteTablesResponse < TencentCloud::Common::AbstractModel
|
17459
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17460
|
+
# @type RequestId: String
|
17461
|
+
|
17462
|
+
attr_accessor :RequestId
|
17463
|
+
|
17464
|
+
def initialize(requestid=nil)
|
17465
|
+
@RequestId = requestid
|
17466
|
+
end
|
17467
|
+
|
17468
|
+
def deserialize(params)
|
17469
|
+
@RequestId = params['RequestId']
|
17470
|
+
end
|
17471
|
+
end
|
17472
|
+
|
16543
17473
|
# ModifyCustomerGatewayAttribute请求参数结构体
|
16544
17474
|
class ModifyCustomerGatewayAttributeRequest < TencentCloud::Common::AbstractModel
|
16545
17475
|
# @param CustomerGatewayId: 对端网关ID,例如:cgw-2wqq41m9,可通过[DescribeCustomerGateways](https://cloud.tencent.com/document/api/215/17516)接口查询对端网关。
|
@@ -17674,6 +18604,73 @@ module TencentCloud
|
|
17674
18604
|
end
|
17675
18605
|
end
|
17676
18606
|
|
18607
|
+
# 云联网路由表信息
|
18608
|
+
class ModifyRouteTableInfo < TencentCloud::Common::AbstractModel
|
18609
|
+
# @param RouteTableId: 云联网路由表id。
|
18610
|
+
# @type RouteTableId: String
|
18611
|
+
# @param Name: 云联网路由表名称。
|
18612
|
+
# @type Name: String
|
18613
|
+
# @param Description: 云联网路由表描述。
|
18614
|
+
# @type Description: String
|
18615
|
+
|
18616
|
+
attr_accessor :RouteTableId, :Name, :Description
|
18617
|
+
|
18618
|
+
def initialize(routetableid=nil, name=nil, description=nil)
|
18619
|
+
@RouteTableId = routetableid
|
18620
|
+
@Name = name
|
18621
|
+
@Description = description
|
18622
|
+
end
|
18623
|
+
|
18624
|
+
def deserialize(params)
|
18625
|
+
@RouteTableId = params['RouteTableId']
|
18626
|
+
@Name = params['Name']
|
18627
|
+
@Description = params['Description']
|
18628
|
+
end
|
18629
|
+
end
|
18630
|
+
|
18631
|
+
# ModifyRouteTableSelectionPolicies请求参数结构体
|
18632
|
+
class ModifyRouteTableSelectionPoliciesRequest < TencentCloud::Common::AbstractModel
|
18633
|
+
# @param CcnId: 云联网ID。
|
18634
|
+
# @type CcnId: String
|
18635
|
+
# @param SelectionPolicies: 选择策略信息集合,表示需要按照当前的策略来修改。
|
18636
|
+
# @type SelectionPolicies: Array
|
18637
|
+
|
18638
|
+
attr_accessor :CcnId, :SelectionPolicies
|
18639
|
+
|
18640
|
+
def initialize(ccnid=nil, selectionpolicies=nil)
|
18641
|
+
@CcnId = ccnid
|
18642
|
+
@SelectionPolicies = selectionpolicies
|
18643
|
+
end
|
18644
|
+
|
18645
|
+
def deserialize(params)
|
18646
|
+
@CcnId = params['CcnId']
|
18647
|
+
unless params['SelectionPolicies'].nil?
|
18648
|
+
@SelectionPolicies = []
|
18649
|
+
params['SelectionPolicies'].each do |i|
|
18650
|
+
ccnroutetableselectpolicy_tmp = CcnRouteTableSelectPolicy.new
|
18651
|
+
ccnroutetableselectpolicy_tmp.deserialize(i)
|
18652
|
+
@SelectionPolicies << ccnroutetableselectpolicy_tmp
|
18653
|
+
end
|
18654
|
+
end
|
18655
|
+
end
|
18656
|
+
end
|
18657
|
+
|
18658
|
+
# ModifyRouteTableSelectionPolicies返回参数结构体
|
18659
|
+
class ModifyRouteTableSelectionPoliciesResponse < TencentCloud::Common::AbstractModel
|
18660
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18661
|
+
# @type RequestId: String
|
18662
|
+
|
18663
|
+
attr_accessor :RequestId
|
18664
|
+
|
18665
|
+
def initialize(requestid=nil)
|
18666
|
+
@RequestId = requestid
|
18667
|
+
end
|
18668
|
+
|
18669
|
+
def deserialize(params)
|
18670
|
+
@RequestId = params['RequestId']
|
18671
|
+
end
|
18672
|
+
end
|
18673
|
+
|
17677
18674
|
# ModifySecurityGroupAttribute请求参数结构体
|
17678
18675
|
class ModifySecurityGroupAttributeRequest < TencentCloud::Common::AbstractModel
|
17679
18676
|
# @param SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
@@ -20168,6 +21165,100 @@ module TencentCloud
|
|
20168
21165
|
end
|
20169
21166
|
end
|
20170
21167
|
|
21168
|
+
# ReplaceCcnRouteTableBroadcastPolicys请求参数结构体
|
21169
|
+
class ReplaceCcnRouteTableBroadcastPolicysRequest < TencentCloud::Common::AbstractModel
|
21170
|
+
# @param CcnId: 云联网ID
|
21171
|
+
# @type CcnId: String
|
21172
|
+
# @param RouteTableId: 云联网路由表ID
|
21173
|
+
# @type RouteTableId: String
|
21174
|
+
# @param Policys: 新的路由传播策略
|
21175
|
+
# @type Policys: Array
|
21176
|
+
|
21177
|
+
attr_accessor :CcnId, :RouteTableId, :Policys
|
21178
|
+
|
21179
|
+
def initialize(ccnid=nil, routetableid=nil, policys=nil)
|
21180
|
+
@CcnId = ccnid
|
21181
|
+
@RouteTableId = routetableid
|
21182
|
+
@Policys = policys
|
21183
|
+
end
|
21184
|
+
|
21185
|
+
def deserialize(params)
|
21186
|
+
@CcnId = params['CcnId']
|
21187
|
+
@RouteTableId = params['RouteTableId']
|
21188
|
+
unless params['Policys'].nil?
|
21189
|
+
@Policys = []
|
21190
|
+
params['Policys'].each do |i|
|
21191
|
+
ccnroutetablebroadcastpolicy_tmp = CcnRouteTableBroadcastPolicy.new
|
21192
|
+
ccnroutetablebroadcastpolicy_tmp.deserialize(i)
|
21193
|
+
@Policys << ccnroutetablebroadcastpolicy_tmp
|
21194
|
+
end
|
21195
|
+
end
|
21196
|
+
end
|
21197
|
+
end
|
21198
|
+
|
21199
|
+
# ReplaceCcnRouteTableBroadcastPolicys返回参数结构体
|
21200
|
+
class ReplaceCcnRouteTableBroadcastPolicysResponse < TencentCloud::Common::AbstractModel
|
21201
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21202
|
+
# @type RequestId: String
|
21203
|
+
|
21204
|
+
attr_accessor :RequestId
|
21205
|
+
|
21206
|
+
def initialize(requestid=nil)
|
21207
|
+
@RequestId = requestid
|
21208
|
+
end
|
21209
|
+
|
21210
|
+
def deserialize(params)
|
21211
|
+
@RequestId = params['RequestId']
|
21212
|
+
end
|
21213
|
+
end
|
21214
|
+
|
21215
|
+
# ReplaceCcnRouteTableInputPolicys请求参数结构体
|
21216
|
+
class ReplaceCcnRouteTableInputPolicysRequest < TencentCloud::Common::AbstractModel
|
21217
|
+
# @param CcnId: 云联网ID。
|
21218
|
+
# @type CcnId: String
|
21219
|
+
# @param RouteTableId: 云联网路由表ID。
|
21220
|
+
# @type RouteTableId: String
|
21221
|
+
# @param Policys: 新的路由接收策略。
|
21222
|
+
# @type Policys: Array
|
21223
|
+
|
21224
|
+
attr_accessor :CcnId, :RouteTableId, :Policys
|
21225
|
+
|
21226
|
+
def initialize(ccnid=nil, routetableid=nil, policys=nil)
|
21227
|
+
@CcnId = ccnid
|
21228
|
+
@RouteTableId = routetableid
|
21229
|
+
@Policys = policys
|
21230
|
+
end
|
21231
|
+
|
21232
|
+
def deserialize(params)
|
21233
|
+
@CcnId = params['CcnId']
|
21234
|
+
@RouteTableId = params['RouteTableId']
|
21235
|
+
unless params['Policys'].nil?
|
21236
|
+
@Policys = []
|
21237
|
+
params['Policys'].each do |i|
|
21238
|
+
ccnroutetableinputpolicy_tmp = CcnRouteTableInputPolicy.new
|
21239
|
+
ccnroutetableinputpolicy_tmp.deserialize(i)
|
21240
|
+
@Policys << ccnroutetableinputpolicy_tmp
|
21241
|
+
end
|
21242
|
+
end
|
21243
|
+
end
|
21244
|
+
end
|
21245
|
+
|
21246
|
+
# ReplaceCcnRouteTableInputPolicys返回参数结构体
|
21247
|
+
class ReplaceCcnRouteTableInputPolicysResponse < TencentCloud::Common::AbstractModel
|
21248
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21249
|
+
# @type RequestId: String
|
21250
|
+
|
21251
|
+
attr_accessor :RequestId
|
21252
|
+
|
21253
|
+
def initialize(requestid=nil)
|
21254
|
+
@RequestId = requestid
|
21255
|
+
end
|
21256
|
+
|
21257
|
+
def deserialize(params)
|
21258
|
+
@RequestId = params['RequestId']
|
21259
|
+
end
|
21260
|
+
end
|
21261
|
+
|
20171
21262
|
# ReplaceDirectConnectGatewayCcnRoutes请求参数结构体
|
20172
21263
|
class ReplaceDirectConnectGatewayCcnRoutesRequest < TencentCloud::Common::AbstractModel
|
20173
21264
|
# @param DirectConnectGatewayId: 专线网关ID,形如:dcg-prpqlmg1
|
@@ -21051,6 +22142,55 @@ module TencentCloud
|
|
21051
22142
|
end
|
21052
22143
|
end
|
21053
22144
|
|
22145
|
+
# 路由表选择策略信息
|
22146
|
+
class RouteSelectionPolicy < TencentCloud::Common::AbstractModel
|
22147
|
+
# @param CcnId: 云联网ID。
|
22148
|
+
# @type CcnId: String
|
22149
|
+
# @param RouteTableId: 路由表ID。
|
22150
|
+
# @type RouteTableId: String
|
22151
|
+
# @param RouteTableName: 路由表名称。
|
22152
|
+
# @type RouteTableName: String
|
22153
|
+
# @param InstanceType: 实例类型。如VPC
|
22154
|
+
# @type InstanceType: String
|
22155
|
+
# @param InstanceName: 实例名称。
|
22156
|
+
# @type InstanceName: String
|
22157
|
+
# @param SourceCidrBlock: 源端cidr。
|
22158
|
+
# @type SourceCidrBlock: String
|
22159
|
+
# @param Description: 路由表描述。
|
22160
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22161
|
+
# @type Description: String
|
22162
|
+
# @param InstanceId: 实例ID。
|
22163
|
+
# @type InstanceId: String
|
22164
|
+
# @param InstanceUin: 关联实例所属UIN(根账号)。
|
22165
|
+
# @type InstanceUin: String
|
22166
|
+
|
22167
|
+
attr_accessor :CcnId, :RouteTableId, :RouteTableName, :InstanceType, :InstanceName, :SourceCidrBlock, :Description, :InstanceId, :InstanceUin
|
22168
|
+
|
22169
|
+
def initialize(ccnid=nil, routetableid=nil, routetablename=nil, instancetype=nil, instancename=nil, sourcecidrblock=nil, description=nil, instanceid=nil, instanceuin=nil)
|
22170
|
+
@CcnId = ccnid
|
22171
|
+
@RouteTableId = routetableid
|
22172
|
+
@RouteTableName = routetablename
|
22173
|
+
@InstanceType = instancetype
|
22174
|
+
@InstanceName = instancename
|
22175
|
+
@SourceCidrBlock = sourcecidrblock
|
22176
|
+
@Description = description
|
22177
|
+
@InstanceId = instanceid
|
22178
|
+
@InstanceUin = instanceuin
|
22179
|
+
end
|
22180
|
+
|
22181
|
+
def deserialize(params)
|
22182
|
+
@CcnId = params['CcnId']
|
22183
|
+
@RouteTableId = params['RouteTableId']
|
22184
|
+
@RouteTableName = params['RouteTableName']
|
22185
|
+
@InstanceType = params['InstanceType']
|
22186
|
+
@InstanceName = params['InstanceName']
|
22187
|
+
@SourceCidrBlock = params['SourceCidrBlock']
|
22188
|
+
@Description = params['Description']
|
22189
|
+
@InstanceId = params['InstanceId']
|
22190
|
+
@InstanceUin = params['InstanceUin']
|
22191
|
+
end
|
22192
|
+
end
|
22193
|
+
|
21054
22194
|
# 路由表对象
|
21055
22195
|
class RouteTable < TencentCloud::Common::AbstractModel
|
21056
22196
|
# @param VpcId: VPC实例ID。
|