tencentcloud-sdk-mna 3.0.868 → 3.0.869
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210119/client.rb +144 -0
- data/lib/v20210119/models.rb +304 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a41670455931866c5e337c53af5194e1f9770133
|
4
|
+
data.tar.gz: a50e7a8849b7df0b92c00b638c8d2f56ca7589a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 464a19eee4a5aa0d2d2ce7b0477566899ee33ebf5981d19313529660e2d80fa14691438f683a7cf3442cc754804f7c47c59fb3aac9f7ba6f0a112f0a3f724af8
|
7
|
+
data.tar.gz: 4db153037684d08dfe8a805c17753c91a32b9432d3a74d4d0197ea220da65db41ddef75d5ef219391da7a1f6d2f383cb43bfe87b1e0231035b0c26d0ce7d34e0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.869
|
data/lib/v20210119/client.rb
CHANGED
@@ -125,6 +125,30 @@ module TencentCloud
|
|
125
125
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
126
|
end
|
127
127
|
|
128
|
+
# 新建互通规则
|
129
|
+
|
130
|
+
# @param request: Request instance for AddL3Conn.
|
131
|
+
# @type request: :class:`Tencentcloud::mna::V20210119::AddL3ConnRequest`
|
132
|
+
# @rtype: :class:`Tencentcloud::mna::V20210119::AddL3ConnResponse`
|
133
|
+
def AddL3Conn(request)
|
134
|
+
body = send_request('AddL3Conn', request.serialize)
|
135
|
+
response = JSON.parse(body)
|
136
|
+
if response['Response'].key?('Error') == false
|
137
|
+
model = AddL3ConnResponse.new
|
138
|
+
model.deserialize(response['Response'])
|
139
|
+
model
|
140
|
+
else
|
141
|
+
code = response['Response']['Error']['Code']
|
142
|
+
message = response['Response']['Error']['Message']
|
143
|
+
reqid = response['Response']['RequestId']
|
144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
145
|
+
end
|
146
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
147
|
+
raise e
|
148
|
+
rescue StandardError => e
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
|
+
end
|
151
|
+
|
128
152
|
# 通过此接口设置和更新预置密钥
|
129
153
|
|
130
154
|
# @param request: Request instance for CreateEncryptedKey.
|
@@ -221,6 +245,30 @@ module TencentCloud
|
|
221
245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
246
|
end
|
223
247
|
|
248
|
+
# 删除互通规则
|
249
|
+
|
250
|
+
# @param request: Request instance for DeleteL3Conn.
|
251
|
+
# @type request: :class:`Tencentcloud::mna::V20210119::DeleteL3ConnRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::mna::V20210119::DeleteL3ConnResponse`
|
253
|
+
def DeleteL3Conn(request)
|
254
|
+
body = send_request('DeleteL3Conn', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = DeleteL3ConnResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
224
272
|
# 移动网络停止Qos加速过程
|
225
273
|
|
226
274
|
# @param request: Request instance for DeleteQos.
|
@@ -533,6 +581,30 @@ module TencentCloud
|
|
533
581
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
582
|
end
|
535
583
|
|
584
|
+
# 获取互通规则列表
|
585
|
+
|
586
|
+
# @param request: Request instance for GetL3ConnList.
|
587
|
+
# @type request: :class:`Tencentcloud::mna::V20210119::GetL3ConnListRequest`
|
588
|
+
# @rtype: :class:`Tencentcloud::mna::V20210119::GetL3ConnListResponse`
|
589
|
+
def GetL3ConnList(request)
|
590
|
+
body = send_request('GetL3ConnList', request.serialize)
|
591
|
+
response = JSON.parse(body)
|
592
|
+
if response['Response'].key?('Error') == false
|
593
|
+
model = GetL3ConnListResponse.new
|
594
|
+
model.deserialize(response['Response'])
|
595
|
+
model
|
596
|
+
else
|
597
|
+
code = response['Response']['Error']['Code']
|
598
|
+
message = response['Response']['Error']['Message']
|
599
|
+
reqid = response['Response']['RequestId']
|
600
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
601
|
+
end
|
602
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
603
|
+
raise e
|
604
|
+
rescue StandardError => e
|
605
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
606
|
+
end
|
607
|
+
|
536
608
|
# 批量获取设备流量统计曲线
|
537
609
|
|
538
610
|
# @param request: Request instance for GetMultiFlowStatistic.
|
@@ -845,6 +917,78 @@ module TencentCloud
|
|
845
917
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
846
918
|
end
|
847
919
|
|
920
|
+
# 更新互通规则CIDR
|
921
|
+
|
922
|
+
# @param request: Request instance for UpdateL3Cidr.
|
923
|
+
# @type request: :class:`Tencentcloud::mna::V20210119::UpdateL3CidrRequest`
|
924
|
+
# @rtype: :class:`Tencentcloud::mna::V20210119::UpdateL3CidrResponse`
|
925
|
+
def UpdateL3Cidr(request)
|
926
|
+
body = send_request('UpdateL3Cidr', request.serialize)
|
927
|
+
response = JSON.parse(body)
|
928
|
+
if response['Response'].key?('Error') == false
|
929
|
+
model = UpdateL3CidrResponse.new
|
930
|
+
model.deserialize(response['Response'])
|
931
|
+
model
|
932
|
+
else
|
933
|
+
code = response['Response']['Error']['Code']
|
934
|
+
message = response['Response']['Error']['Message']
|
935
|
+
reqid = response['Response']['RequestId']
|
936
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
937
|
+
end
|
938
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
939
|
+
raise e
|
940
|
+
rescue StandardError => e
|
941
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
942
|
+
end
|
943
|
+
|
944
|
+
# 更新互通规则备注
|
945
|
+
|
946
|
+
# @param request: Request instance for UpdateL3Conn.
|
947
|
+
# @type request: :class:`Tencentcloud::mna::V20210119::UpdateL3ConnRequest`
|
948
|
+
# @rtype: :class:`Tencentcloud::mna::V20210119::UpdateL3ConnResponse`
|
949
|
+
def UpdateL3Conn(request)
|
950
|
+
body = send_request('UpdateL3Conn', request.serialize)
|
951
|
+
response = JSON.parse(body)
|
952
|
+
if response['Response'].key?('Error') == false
|
953
|
+
model = UpdateL3ConnResponse.new
|
954
|
+
model.deserialize(response['Response'])
|
955
|
+
model
|
956
|
+
else
|
957
|
+
code = response['Response']['Error']['Code']
|
958
|
+
message = response['Response']['Error']['Message']
|
959
|
+
reqid = response['Response']['RequestId']
|
960
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
961
|
+
end
|
962
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
963
|
+
raise e
|
964
|
+
rescue StandardError => e
|
965
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
|
+
end
|
967
|
+
|
968
|
+
# 更新互通规则开关
|
969
|
+
|
970
|
+
# @param request: Request instance for UpdateL3Switch.
|
971
|
+
# @type request: :class:`Tencentcloud::mna::V20210119::UpdateL3SwitchRequest`
|
972
|
+
# @rtype: :class:`Tencentcloud::mna::V20210119::UpdateL3SwitchResponse`
|
973
|
+
def UpdateL3Switch(request)
|
974
|
+
body = send_request('UpdateL3Switch', request.serialize)
|
975
|
+
response = JSON.parse(body)
|
976
|
+
if response['Response'].key?('Error') == false
|
977
|
+
model = UpdateL3SwitchResponse.new
|
978
|
+
model.deserialize(response['Response'])
|
979
|
+
model
|
980
|
+
else
|
981
|
+
code = response['Response']['Error']['Code']
|
982
|
+
message = response['Response']['Error']['Message']
|
983
|
+
reqid = response['Response']['RequestId']
|
984
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
985
|
+
end
|
986
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
987
|
+
raise e
|
988
|
+
rescue StandardError => e
|
989
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
990
|
+
end
|
991
|
+
|
848
992
|
|
849
993
|
end
|
850
994
|
end
|
data/lib/v20210119/models.rb
CHANGED
@@ -311,6 +311,58 @@ module TencentCloud
|
|
311
311
|
end
|
312
312
|
end
|
313
313
|
|
314
|
+
# AddL3Conn请求参数结构体
|
315
|
+
class AddL3ConnRequest < TencentCloud::Common::AbstractModel
|
316
|
+
# @param Cidr1: 设置互通网段CIDR1,支持: 10.0.0.0 - 10.255.255.255,172.16.0.0 - 172.31.255.255,192.168.0.0 - 192.168.255.255
|
317
|
+
# @type Cidr1: String
|
318
|
+
# @param Cidr2: 设置互通网段CIDR2,支持: 10.0.0.0 - 10.255.255.255,172.16.0.0 - 172.31.255.255,192.168.0.0 - 192.168.255.255
|
319
|
+
# @type Cidr2: String
|
320
|
+
# @param DeviceId1: CIDR1对应的设备ID
|
321
|
+
# @type DeviceId1: String
|
322
|
+
# @param DeviceId2: CIDR2对应的设备ID
|
323
|
+
# @type DeviceId2: String
|
324
|
+
# @param Description: 规则描述
|
325
|
+
# @type Description: String
|
326
|
+
|
327
|
+
attr_accessor :Cidr1, :Cidr2, :DeviceId1, :DeviceId2, :Description
|
328
|
+
|
329
|
+
def initialize(cidr1=nil, cidr2=nil, deviceid1=nil, deviceid2=nil, description=nil)
|
330
|
+
@Cidr1 = cidr1
|
331
|
+
@Cidr2 = cidr2
|
332
|
+
@DeviceId1 = deviceid1
|
333
|
+
@DeviceId2 = deviceid2
|
334
|
+
@Description = description
|
335
|
+
end
|
336
|
+
|
337
|
+
def deserialize(params)
|
338
|
+
@Cidr1 = params['Cidr1']
|
339
|
+
@Cidr2 = params['Cidr2']
|
340
|
+
@DeviceId1 = params['DeviceId1']
|
341
|
+
@DeviceId2 = params['DeviceId2']
|
342
|
+
@Description = params['Description']
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
346
|
+
# AddL3Conn返回参数结构体
|
347
|
+
class AddL3ConnResponse < TencentCloud::Common::AbstractModel
|
348
|
+
# @param L3ConnId: 互通规则ID
|
349
|
+
# @type L3ConnId: String
|
350
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
351
|
+
# @type RequestId: String
|
352
|
+
|
353
|
+
attr_accessor :L3ConnId, :RequestId
|
354
|
+
|
355
|
+
def initialize(l3connid=nil, requestid=nil)
|
356
|
+
@L3ConnId = l3connid
|
357
|
+
@RequestId = requestid
|
358
|
+
end
|
359
|
+
|
360
|
+
def deserialize(params)
|
361
|
+
@L3ConnId = params['L3ConnId']
|
362
|
+
@RequestId = params['RequestId']
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
314
366
|
# 接口能力扩展,用于填充电信的加速Token,并为未来参数提供兼容空间
|
315
367
|
class Capacity < TencentCloud::Common::AbstractModel
|
316
368
|
# @param CTCCToken: 电信鉴权的Token。要加速的电信手机终端访问 http://qos.189.cn/qos-api/getToken?appid=TencentCloud 页面,获取返回结果中result的值
|
@@ -562,6 +614,38 @@ module TencentCloud
|
|
562
614
|
end
|
563
615
|
end
|
564
616
|
|
617
|
+
# DeleteL3Conn请求参数结构体
|
618
|
+
class DeleteL3ConnRequest < TencentCloud::Common::AbstractModel
|
619
|
+
# @param L3ConnIdList: 互通规则ID列表
|
620
|
+
# @type L3ConnIdList: Array
|
621
|
+
|
622
|
+
attr_accessor :L3ConnIdList
|
623
|
+
|
624
|
+
def initialize(l3connidlist=nil)
|
625
|
+
@L3ConnIdList = l3connidlist
|
626
|
+
end
|
627
|
+
|
628
|
+
def deserialize(params)
|
629
|
+
@L3ConnIdList = params['L3ConnIdList']
|
630
|
+
end
|
631
|
+
end
|
632
|
+
|
633
|
+
# DeleteL3Conn返回参数结构体
|
634
|
+
class DeleteL3ConnResponse < TencentCloud::Common::AbstractModel
|
635
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
636
|
+
# @type RequestId: String
|
637
|
+
|
638
|
+
attr_accessor :RequestId
|
639
|
+
|
640
|
+
def initialize(requestid=nil)
|
641
|
+
@RequestId = requestid
|
642
|
+
end
|
643
|
+
|
644
|
+
def deserialize(params)
|
645
|
+
@RequestId = params['RequestId']
|
646
|
+
end
|
647
|
+
end
|
648
|
+
|
565
649
|
# DeleteQos请求参数结构体
|
566
650
|
class DeleteQosRequest < TencentCloud::Common::AbstractModel
|
567
651
|
# @param SessionId: 单次加速唯一 Id
|
@@ -1778,6 +1862,65 @@ module TencentCloud
|
|
1778
1862
|
end
|
1779
1863
|
end
|
1780
1864
|
|
1865
|
+
# GetL3ConnList请求参数结构体
|
1866
|
+
class GetL3ConnListRequest < TencentCloud::Common::AbstractModel
|
1867
|
+
# @param PageSize: 每页显示记录数,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备
|
1868
|
+
# @type PageSize: Integer
|
1869
|
+
# @param PageNumber: 当前查看页码,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备
|
1870
|
+
# @type PageNumber: Integer
|
1871
|
+
# @param DeviceId: 搜索分组的DeviceId,为空时匹配所有分组
|
1872
|
+
# @type DeviceId: String
|
1873
|
+
|
1874
|
+
attr_accessor :PageSize, :PageNumber, :DeviceId
|
1875
|
+
|
1876
|
+
def initialize(pagesize=nil, pagenumber=nil, deviceid=nil)
|
1877
|
+
@PageSize = pagesize
|
1878
|
+
@PageNumber = pagenumber
|
1879
|
+
@DeviceId = deviceid
|
1880
|
+
end
|
1881
|
+
|
1882
|
+
def deserialize(params)
|
1883
|
+
@PageSize = params['PageSize']
|
1884
|
+
@PageNumber = params['PageNumber']
|
1885
|
+
@DeviceId = params['DeviceId']
|
1886
|
+
end
|
1887
|
+
end
|
1888
|
+
|
1889
|
+
# GetL3ConnList返回参数结构体
|
1890
|
+
class GetL3ConnListResponse < TencentCloud::Common::AbstractModel
|
1891
|
+
# @param L3ConnList: 互通规则列表
|
1892
|
+
# @type L3ConnList: Array
|
1893
|
+
# @param Length: 设备总记录条数
|
1894
|
+
# @type Length: Integer
|
1895
|
+
# @param TotalPage: 总页数
|
1896
|
+
# @type TotalPage: Integer
|
1897
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1898
|
+
# @type RequestId: String
|
1899
|
+
|
1900
|
+
attr_accessor :L3ConnList, :Length, :TotalPage, :RequestId
|
1901
|
+
|
1902
|
+
def initialize(l3connlist=nil, length=nil, totalpage=nil, requestid=nil)
|
1903
|
+
@L3ConnList = l3connlist
|
1904
|
+
@Length = length
|
1905
|
+
@TotalPage = totalpage
|
1906
|
+
@RequestId = requestid
|
1907
|
+
end
|
1908
|
+
|
1909
|
+
def deserialize(params)
|
1910
|
+
unless params['L3ConnList'].nil?
|
1911
|
+
@L3ConnList = []
|
1912
|
+
params['L3ConnList'].each do |i|
|
1913
|
+
l3conninfo_tmp = L3ConnInfo.new
|
1914
|
+
l3conninfo_tmp.deserialize(i)
|
1915
|
+
@L3ConnList << l3conninfo_tmp
|
1916
|
+
end
|
1917
|
+
end
|
1918
|
+
@Length = params['Length']
|
1919
|
+
@TotalPage = params['TotalPage']
|
1920
|
+
@RequestId = params['RequestId']
|
1921
|
+
end
|
1922
|
+
end
|
1923
|
+
|
1781
1924
|
# GetMultiFlowStatistic请求参数结构体
|
1782
1925
|
class GetMultiFlowStatisticRequest < TencentCloud::Common::AbstractModel
|
1783
1926
|
# @param DeviceIds: 设备id列表,单次最多请求10个设备
|
@@ -2315,6 +2458,47 @@ module TencentCloud
|
|
2315
2458
|
end
|
2316
2459
|
end
|
2317
2460
|
|
2461
|
+
# 三层互通规则信息
|
2462
|
+
class L3ConnInfo < TencentCloud::Common::AbstractModel
|
2463
|
+
# @param L3ConnId: 互通规则ID
|
2464
|
+
# @type L3ConnId: String
|
2465
|
+
# @param DeviceId1: 互通设备ID
|
2466
|
+
# @type DeviceId1: String
|
2467
|
+
# @param Cidr1: 互通规则CIDR
|
2468
|
+
# @type Cidr1: String
|
2469
|
+
# @param DeviceId2: 互通设备ID
|
2470
|
+
# @type DeviceId2: String
|
2471
|
+
# @param Cidr2: 互通规则CIDR
|
2472
|
+
# @type Cidr2: String
|
2473
|
+
# @param Enable: 互通规则启用状态
|
2474
|
+
# @type Enable: Boolean
|
2475
|
+
# @param Description: 互通规则描述
|
2476
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2477
|
+
# @type Description: String
|
2478
|
+
|
2479
|
+
attr_accessor :L3ConnId, :DeviceId1, :Cidr1, :DeviceId2, :Cidr2, :Enable, :Description
|
2480
|
+
|
2481
|
+
def initialize(l3connid=nil, deviceid1=nil, cidr1=nil, deviceid2=nil, cidr2=nil, enable=nil, description=nil)
|
2482
|
+
@L3ConnId = l3connid
|
2483
|
+
@DeviceId1 = deviceid1
|
2484
|
+
@Cidr1 = cidr1
|
2485
|
+
@DeviceId2 = deviceid2
|
2486
|
+
@Cidr2 = cidr2
|
2487
|
+
@Enable = enable
|
2488
|
+
@Description = description
|
2489
|
+
end
|
2490
|
+
|
2491
|
+
def deserialize(params)
|
2492
|
+
@L3ConnId = params['L3ConnId']
|
2493
|
+
@DeviceId1 = params['DeviceId1']
|
2494
|
+
@Cidr1 = params['Cidr1']
|
2495
|
+
@DeviceId2 = params['DeviceId2']
|
2496
|
+
@Cidr2 = params['Cidr2']
|
2497
|
+
@Enable = params['Enable']
|
2498
|
+
@Description = params['Description']
|
2499
|
+
end
|
2500
|
+
end
|
2501
|
+
|
2318
2502
|
# ModifyPackageRenewFlag请求参数结构体
|
2319
2503
|
class ModifyPackageRenewFlagRequest < TencentCloud::Common::AbstractModel
|
2320
2504
|
# @param ResourceId: 流量包的唯一资源ID
|
@@ -2728,6 +2912,126 @@ module TencentCloud
|
|
2728
2912
|
end
|
2729
2913
|
end
|
2730
2914
|
|
2915
|
+
# UpdateL3Cidr请求参数结构体
|
2916
|
+
class UpdateL3CidrRequest < TencentCloud::Common::AbstractModel
|
2917
|
+
# @param L3ConnId: 互通规则ID
|
2918
|
+
# @type L3ConnId: String
|
2919
|
+
# @param Cidr1: 互通规则CIDR
|
2920
|
+
# @type Cidr1: String
|
2921
|
+
# @param DeviceId1: 互通设备ID
|
2922
|
+
# @type DeviceId1: String
|
2923
|
+
# @param DeviceId2: 互通设备ID
|
2924
|
+
# @type DeviceId2: String
|
2925
|
+
# @param Cidr2: 互通规则CIDR
|
2926
|
+
# @type Cidr2: String
|
2927
|
+
|
2928
|
+
attr_accessor :L3ConnId, :Cidr1, :DeviceId1, :DeviceId2, :Cidr2
|
2929
|
+
|
2930
|
+
def initialize(l3connid=nil, cidr1=nil, deviceid1=nil, deviceid2=nil, cidr2=nil)
|
2931
|
+
@L3ConnId = l3connid
|
2932
|
+
@Cidr1 = cidr1
|
2933
|
+
@DeviceId1 = deviceid1
|
2934
|
+
@DeviceId2 = deviceid2
|
2935
|
+
@Cidr2 = cidr2
|
2936
|
+
end
|
2937
|
+
|
2938
|
+
def deserialize(params)
|
2939
|
+
@L3ConnId = params['L3ConnId']
|
2940
|
+
@Cidr1 = params['Cidr1']
|
2941
|
+
@DeviceId1 = params['DeviceId1']
|
2942
|
+
@DeviceId2 = params['DeviceId2']
|
2943
|
+
@Cidr2 = params['Cidr2']
|
2944
|
+
end
|
2945
|
+
end
|
2946
|
+
|
2947
|
+
# UpdateL3Cidr返回参数结构体
|
2948
|
+
class UpdateL3CidrResponse < TencentCloud::Common::AbstractModel
|
2949
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2950
|
+
# @type RequestId: String
|
2951
|
+
|
2952
|
+
attr_accessor :RequestId
|
2953
|
+
|
2954
|
+
def initialize(requestid=nil)
|
2955
|
+
@RequestId = requestid
|
2956
|
+
end
|
2957
|
+
|
2958
|
+
def deserialize(params)
|
2959
|
+
@RequestId = params['RequestId']
|
2960
|
+
end
|
2961
|
+
end
|
2962
|
+
|
2963
|
+
# UpdateL3Conn请求参数结构体
|
2964
|
+
class UpdateL3ConnRequest < TencentCloud::Common::AbstractModel
|
2965
|
+
# @param L3ConnId: 互通规则ID
|
2966
|
+
# @type L3ConnId: String
|
2967
|
+
# @param Description: 互通规则备注
|
2968
|
+
# @type Description: String
|
2969
|
+
|
2970
|
+
attr_accessor :L3ConnId, :Description
|
2971
|
+
|
2972
|
+
def initialize(l3connid=nil, description=nil)
|
2973
|
+
@L3ConnId = l3connid
|
2974
|
+
@Description = description
|
2975
|
+
end
|
2976
|
+
|
2977
|
+
def deserialize(params)
|
2978
|
+
@L3ConnId = params['L3ConnId']
|
2979
|
+
@Description = params['Description']
|
2980
|
+
end
|
2981
|
+
end
|
2982
|
+
|
2983
|
+
# UpdateL3Conn返回参数结构体
|
2984
|
+
class UpdateL3ConnResponse < TencentCloud::Common::AbstractModel
|
2985
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2986
|
+
# @type RequestId: String
|
2987
|
+
|
2988
|
+
attr_accessor :RequestId
|
2989
|
+
|
2990
|
+
def initialize(requestid=nil)
|
2991
|
+
@RequestId = requestid
|
2992
|
+
end
|
2993
|
+
|
2994
|
+
def deserialize(params)
|
2995
|
+
@RequestId = params['RequestId']
|
2996
|
+
end
|
2997
|
+
end
|
2998
|
+
|
2999
|
+
# UpdateL3Switch请求参数结构体
|
3000
|
+
class UpdateL3SwitchRequest < TencentCloud::Common::AbstractModel
|
3001
|
+
# @param L3ConnId: 互通规则ID
|
3002
|
+
# @type L3ConnId: String
|
3003
|
+
# @param Enable: 互通规则开关
|
3004
|
+
# @type Enable: Boolean
|
3005
|
+
|
3006
|
+
attr_accessor :L3ConnId, :Enable
|
3007
|
+
|
3008
|
+
def initialize(l3connid=nil, enable=nil)
|
3009
|
+
@L3ConnId = l3connid
|
3010
|
+
@Enable = enable
|
3011
|
+
end
|
3012
|
+
|
3013
|
+
def deserialize(params)
|
3014
|
+
@L3ConnId = params['L3ConnId']
|
3015
|
+
@Enable = params['Enable']
|
3016
|
+
end
|
3017
|
+
end
|
3018
|
+
|
3019
|
+
# UpdateL3Switch返回参数结构体
|
3020
|
+
class UpdateL3SwitchResponse < TencentCloud::Common::AbstractModel
|
3021
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3022
|
+
# @type RequestId: String
|
3023
|
+
|
3024
|
+
attr_accessor :RequestId
|
3025
|
+
|
3026
|
+
def initialize(requestid=nil)
|
3027
|
+
@RequestId = requestid
|
3028
|
+
end
|
3029
|
+
|
3030
|
+
def deserialize(params)
|
3031
|
+
@RequestId = params['RequestId']
|
3032
|
+
end
|
3033
|
+
end
|
3034
|
+
|
2731
3035
|
# 更新设备网络状态信息
|
2732
3036
|
class UpdateNetInfo < TencentCloud::Common::AbstractModel
|
2733
3037
|
# @param Type: 网络类型:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-mna
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.869
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|