tencentcloud-sdk-vpc 3.0.996 → 3.0.998
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/client.rb +290 -0
- data/lib/v20170312/models.rb +756 -8
- 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: 6b7ffa31f4379bf972b59fcb6798dbd893b92e1a
|
4
|
+
data.tar.gz: bdb5948e73922fa145140e906ef6524091282cf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 721f716a0c2dca0f54d5cf5013b4ec8b2e2cec5f79b1b0268ae3cfed51738903fc33cde2732d02b1b7c1dc7992e7ffa795cea71f34de6ffa0ba401c0071c5ddd
|
7
|
+
data.tar.gz: d359582e255d49bb3f6ba8c326752c529ba5c6586cf200b516c55792786161b5cbb6c3e69c1134e8ea90202a457f5f67c95603b7a84f68726a33fa24d07c1a64
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.998
|
data/lib/v20170312/client.rb
CHANGED
@@ -780,6 +780,30 @@ module TencentCloud
|
|
780
780
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
781
781
|
end
|
782
782
|
|
783
|
+
# 检查流量镜像的采集端接收端(公网IP类型)
|
784
|
+
|
785
|
+
# @param request: Request instance for CheckTrafficMirror.
|
786
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::CheckTrafficMirrorRequest`
|
787
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::CheckTrafficMirrorResponse`
|
788
|
+
def CheckTrafficMirror(request)
|
789
|
+
body = send_request('CheckTrafficMirror', request.serialize)
|
790
|
+
response = JSON.parse(body)
|
791
|
+
if response['Response'].key?('Error') == false
|
792
|
+
model = CheckTrafficMirrorResponse.new
|
793
|
+
model.deserialize(response['Response'])
|
794
|
+
model
|
795
|
+
else
|
796
|
+
code = response['Response']['Error']['Code']
|
797
|
+
message = response['Response']['Error']['Message']
|
798
|
+
reqid = response['Response']['RequestId']
|
799
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
800
|
+
end
|
801
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
802
|
+
raise e
|
803
|
+
rescue StandardError => e
|
804
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
805
|
+
end
|
806
|
+
|
783
807
|
# 本接口(ClearRouteTableSelectionPolicies)用于清空指定云联网的路由表选择策略。
|
784
808
|
|
785
809
|
# @param request: Request instance for ClearRouteTableSelectionPolicies.
|
@@ -1960,6 +1984,30 @@ module TencentCloud
|
|
1960
1984
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1961
1985
|
end
|
1962
1986
|
|
1987
|
+
# 本接口(CreateTrafficMirror)用于创建流量镜像实例。
|
1988
|
+
|
1989
|
+
# @param request: Request instance for CreateTrafficMirror.
|
1990
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::CreateTrafficMirrorRequest`
|
1991
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::CreateTrafficMirrorResponse`
|
1992
|
+
def CreateTrafficMirror(request)
|
1993
|
+
body = send_request('CreateTrafficMirror', request.serialize)
|
1994
|
+
response = JSON.parse(body)
|
1995
|
+
if response['Response'].key?('Error') == false
|
1996
|
+
model = CreateTrafficMirrorResponse.new
|
1997
|
+
model.deserialize(response['Response'])
|
1998
|
+
model
|
1999
|
+
else
|
2000
|
+
code = response['Response']['Error']['Code']
|
2001
|
+
message = response['Response']['Error']['Message']
|
2002
|
+
reqid = response['Response']['RequestId']
|
2003
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2004
|
+
end
|
2005
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2006
|
+
raise e
|
2007
|
+
rescue StandardError => e
|
2008
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2009
|
+
end
|
2010
|
+
|
1963
2011
|
# 本接口 (CreateTrafficPackages) 用于创建共享流量包。
|
1964
2012
|
|
1965
2013
|
# @param request: Request instance for CreateTrafficPackages.
|
@@ -3218,6 +3266,30 @@ module TencentCloud
|
|
3218
3266
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3219
3267
|
end
|
3220
3268
|
|
3269
|
+
# 本接口(DeleteTrafficMirror)用于删除流量镜像实例。
|
3270
|
+
|
3271
|
+
# @param request: Request instance for DeleteTrafficMirror.
|
3272
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DeleteTrafficMirrorRequest`
|
3273
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DeleteTrafficMirrorResponse`
|
3274
|
+
def DeleteTrafficMirror(request)
|
3275
|
+
body = send_request('DeleteTrafficMirror', request.serialize)
|
3276
|
+
response = JSON.parse(body)
|
3277
|
+
if response['Response'].key?('Error') == false
|
3278
|
+
model = DeleteTrafficMirrorResponse.new
|
3279
|
+
model.deserialize(response['Response'])
|
3280
|
+
model
|
3281
|
+
else
|
3282
|
+
code = response['Response']['Error']['Code']
|
3283
|
+
message = response['Response']['Error']['Message']
|
3284
|
+
reqid = response['Response']['RequestId']
|
3285
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3286
|
+
end
|
3287
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3288
|
+
raise e
|
3289
|
+
rescue StandardError => e
|
3290
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3291
|
+
end
|
3292
|
+
|
3221
3293
|
# 删除共享带宽包(仅非活动状态的流量包可删除)。
|
3222
3294
|
|
3223
3295
|
# @param request: Request instance for DeleteTrafficPackages.
|
@@ -5540,6 +5612,30 @@ module TencentCloud
|
|
5540
5612
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5541
5613
|
end
|
5542
5614
|
|
5615
|
+
# 本接口(DescribeTrafficMirrors)用于查询流量镜像实例信息。
|
5616
|
+
|
5617
|
+
# @param request: Request instance for DescribeTrafficMirrors.
|
5618
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeTrafficMirrorsRequest`
|
5619
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeTrafficMirrorsResponse`
|
5620
|
+
def DescribeTrafficMirrors(request)
|
5621
|
+
body = send_request('DescribeTrafficMirrors', request.serialize)
|
5622
|
+
response = JSON.parse(body)
|
5623
|
+
if response['Response'].key?('Error') == false
|
5624
|
+
model = DescribeTrafficMirrorsResponse.new
|
5625
|
+
model.deserialize(response['Response'])
|
5626
|
+
model
|
5627
|
+
else
|
5628
|
+
code = response['Response']['Error']['Code']
|
5629
|
+
message = response['Response']['Error']['Message']
|
5630
|
+
reqid = response['Response']['RequestId']
|
5631
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
5632
|
+
end
|
5633
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
5634
|
+
raise e
|
5635
|
+
rescue StandardError => e
|
5636
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5637
|
+
end
|
5638
|
+
|
5543
5639
|
# 本接口 (DescribeTrafficPackages) 用于查询共享流量包详细信息,包括共享流量包唯一标识ID,名称,流量使用信息等
|
5544
5640
|
|
5545
5641
|
# @param request: Request instance for DescribeTrafficPackages.
|
@@ -8447,6 +8543,31 @@ module TencentCloud
|
|
8447
8543
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
8448
8544
|
end
|
8449
8545
|
|
8546
|
+
# 本接口(ModifyTrafficMirrorAttribute)用于修改流量镜像实例属性。
|
8547
|
+
# 注意:只支持修改名字和描述信息
|
8548
|
+
|
8549
|
+
# @param request: Request instance for ModifyTrafficMirrorAttribute.
|
8550
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ModifyTrafficMirrorAttributeRequest`
|
8551
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ModifyTrafficMirrorAttributeResponse`
|
8552
|
+
def ModifyTrafficMirrorAttribute(request)
|
8553
|
+
body = send_request('ModifyTrafficMirrorAttribute', request.serialize)
|
8554
|
+
response = JSON.parse(body)
|
8555
|
+
if response['Response'].key?('Error') == false
|
8556
|
+
model = ModifyTrafficMirrorAttributeResponse.new
|
8557
|
+
model.deserialize(response['Response'])
|
8558
|
+
model
|
8559
|
+
else
|
8560
|
+
code = response['Response']['Error']['Code']
|
8561
|
+
message = response['Response']['Error']['Message']
|
8562
|
+
reqid = response['Response']['RequestId']
|
8563
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
8564
|
+
end
|
8565
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
8566
|
+
raise e
|
8567
|
+
rescue StandardError => e
|
8568
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
8569
|
+
end
|
8570
|
+
|
8450
8571
|
# 本接口(ModifyVpcAttribute)用于修改私有网络(VPC)的相关属性。
|
8451
8572
|
|
8452
8573
|
# @param request: Request instance for ModifyVpcAttribute.
|
@@ -9334,6 +9455,79 @@ module TencentCloud
|
|
9334
9455
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
9335
9456
|
end
|
9336
9457
|
|
9458
|
+
# 本接口(ResetTrafficMirrorFilter)用于更新流量镜像实例过滤规则。
|
9459
|
+
# 注意:每一个流量镜像实例,不能同时支持按nat网关和五元组两种规则过滤
|
9460
|
+
|
9461
|
+
# @param request: Request instance for ResetTrafficMirrorFilter.
|
9462
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ResetTrafficMirrorFilterRequest`
|
9463
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ResetTrafficMirrorFilterResponse`
|
9464
|
+
def ResetTrafficMirrorFilter(request)
|
9465
|
+
body = send_request('ResetTrafficMirrorFilter', request.serialize)
|
9466
|
+
response = JSON.parse(body)
|
9467
|
+
if response['Response'].key?('Error') == false
|
9468
|
+
model = ResetTrafficMirrorFilterResponse.new
|
9469
|
+
model.deserialize(response['Response'])
|
9470
|
+
model
|
9471
|
+
else
|
9472
|
+
code = response['Response']['Error']['Code']
|
9473
|
+
message = response['Response']['Error']['Message']
|
9474
|
+
reqid = response['Response']['RequestId']
|
9475
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
9476
|
+
end
|
9477
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
9478
|
+
raise e
|
9479
|
+
rescue StandardError => e
|
9480
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
9481
|
+
end
|
9482
|
+
|
9483
|
+
# 本接口(ResetTrafficMirrorSrcs)用于重置流量镜像实例采集对象。
|
9484
|
+
|
9485
|
+
# @param request: Request instance for ResetTrafficMirrorSrcs.
|
9486
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ResetTrafficMirrorSrcsRequest`
|
9487
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ResetTrafficMirrorSrcsResponse`
|
9488
|
+
def ResetTrafficMirrorSrcs(request)
|
9489
|
+
body = send_request('ResetTrafficMirrorSrcs', request.serialize)
|
9490
|
+
response = JSON.parse(body)
|
9491
|
+
if response['Response'].key?('Error') == false
|
9492
|
+
model = ResetTrafficMirrorSrcsResponse.new
|
9493
|
+
model.deserialize(response['Response'])
|
9494
|
+
model
|
9495
|
+
else
|
9496
|
+
code = response['Response']['Error']['Code']
|
9497
|
+
message = response['Response']['Error']['Message']
|
9498
|
+
reqid = response['Response']['RequestId']
|
9499
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
9500
|
+
end
|
9501
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
9502
|
+
raise e
|
9503
|
+
rescue StandardError => e
|
9504
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
9505
|
+
end
|
9506
|
+
|
9507
|
+
# 本接口(ResetTrafficMirrorTarget)用于更新流量镜像实例的接收目的信息。
|
9508
|
+
|
9509
|
+
# @param request: Request instance for ResetTrafficMirrorTarget.
|
9510
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ResetTrafficMirrorTargetRequest`
|
9511
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ResetTrafficMirrorTargetResponse`
|
9512
|
+
def ResetTrafficMirrorTarget(request)
|
9513
|
+
body = send_request('ResetTrafficMirrorTarget', request.serialize)
|
9514
|
+
response = JSON.parse(body)
|
9515
|
+
if response['Response'].key?('Error') == false
|
9516
|
+
model = ResetTrafficMirrorTargetResponse.new
|
9517
|
+
model.deserialize(response['Response'])
|
9518
|
+
model
|
9519
|
+
else
|
9520
|
+
code = response['Response']['Error']['Code']
|
9521
|
+
message = response['Response']['Error']['Message']
|
9522
|
+
reqid = response['Response']['RequestId']
|
9523
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
9524
|
+
end
|
9525
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
9526
|
+
raise e
|
9527
|
+
rescue StandardError => e
|
9528
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
9529
|
+
end
|
9530
|
+
|
9337
9531
|
# 本接口(ResetVpnConnection)用于重置VPN通道。
|
9338
9532
|
|
9339
9533
|
# @param request: Request instance for ResetVpnConnection.
|
@@ -9479,6 +9673,54 @@ module TencentCloud
|
|
9479
9673
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
9480
9674
|
end
|
9481
9675
|
|
9676
|
+
# 本接口(StartTrafficMirror)用于开启流量镜像实例。
|
9677
|
+
|
9678
|
+
# @param request: Request instance for StartTrafficMirror.
|
9679
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::StartTrafficMirrorRequest`
|
9680
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::StartTrafficMirrorResponse`
|
9681
|
+
def StartTrafficMirror(request)
|
9682
|
+
body = send_request('StartTrafficMirror', request.serialize)
|
9683
|
+
response = JSON.parse(body)
|
9684
|
+
if response['Response'].key?('Error') == false
|
9685
|
+
model = StartTrafficMirrorResponse.new
|
9686
|
+
model.deserialize(response['Response'])
|
9687
|
+
model
|
9688
|
+
else
|
9689
|
+
code = response['Response']['Error']['Code']
|
9690
|
+
message = response['Response']['Error']['Message']
|
9691
|
+
reqid = response['Response']['RequestId']
|
9692
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
9693
|
+
end
|
9694
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
9695
|
+
raise e
|
9696
|
+
rescue StandardError => e
|
9697
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
9698
|
+
end
|
9699
|
+
|
9700
|
+
# 本接口(StopTrafficMirror)用于关闭流量镜像实例。
|
9701
|
+
|
9702
|
+
# @param request: Request instance for StopTrafficMirror.
|
9703
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::StopTrafficMirrorRequest`
|
9704
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::StopTrafficMirrorResponse`
|
9705
|
+
def StopTrafficMirror(request)
|
9706
|
+
body = send_request('StopTrafficMirror', request.serialize)
|
9707
|
+
response = JSON.parse(body)
|
9708
|
+
if response['Response'].key?('Error') == false
|
9709
|
+
model = StopTrafficMirrorResponse.new
|
9710
|
+
model.deserialize(response['Response'])
|
9711
|
+
model
|
9712
|
+
else
|
9713
|
+
code = response['Response']['Error']['Code']
|
9714
|
+
message = response['Response']['Error']['Message']
|
9715
|
+
reqid = response['Response']['RequestId']
|
9716
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
9717
|
+
end
|
9718
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
9719
|
+
raise e
|
9720
|
+
rescue StandardError => e
|
9721
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
9722
|
+
end
|
9723
|
+
|
9482
9724
|
# 本接口 (TransformAddress) 用于将实例的普通公网 IP 转换为[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)。
|
9483
9725
|
# * 平台对用户每地域每日解绑 EIP 重新分配普通公网 IP 次数有所限制(可参见 [EIP 产品简介](/document/product/213/1941))。上述配额可通过 [DescribeAddressQuota](https://cloud.tencent.com/document/api/213/1378) 接口获取。
|
9484
9726
|
|
@@ -9660,6 +9902,54 @@ module TencentCloud
|
|
9660
9902
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
9661
9903
|
end
|
9662
9904
|
|
9905
|
+
# 本接口(UpdateTrafficMirrorAllFilter)用于更新流量镜像实例的过滤规则或者采集对象。
|
9906
|
+
|
9907
|
+
# @param request: Request instance for UpdateTrafficMirrorAllFilter.
|
9908
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::UpdateTrafficMirrorAllFilterRequest`
|
9909
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::UpdateTrafficMirrorAllFilterResponse`
|
9910
|
+
def UpdateTrafficMirrorAllFilter(request)
|
9911
|
+
body = send_request('UpdateTrafficMirrorAllFilter', request.serialize)
|
9912
|
+
response = JSON.parse(body)
|
9913
|
+
if response['Response'].key?('Error') == false
|
9914
|
+
model = UpdateTrafficMirrorAllFilterResponse.new
|
9915
|
+
model.deserialize(response['Response'])
|
9916
|
+
model
|
9917
|
+
else
|
9918
|
+
code = response['Response']['Error']['Code']
|
9919
|
+
message = response['Response']['Error']['Message']
|
9920
|
+
reqid = response['Response']['RequestId']
|
9921
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
9922
|
+
end
|
9923
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
9924
|
+
raise e
|
9925
|
+
rescue StandardError => e
|
9926
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
9927
|
+
end
|
9928
|
+
|
9929
|
+
# 本接口(UpdateTrafficMirrorDirection)用于更新流量镜像实例的采集方向。
|
9930
|
+
|
9931
|
+
# @param request: Request instance for UpdateTrafficMirrorDirection.
|
9932
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::UpdateTrafficMirrorDirectionRequest`
|
9933
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::UpdateTrafficMirrorDirectionResponse`
|
9934
|
+
def UpdateTrafficMirrorDirection(request)
|
9935
|
+
body = send_request('UpdateTrafficMirrorDirection', request.serialize)
|
9936
|
+
response = JSON.parse(body)
|
9937
|
+
if response['Response'].key?('Error') == false
|
9938
|
+
model = UpdateTrafficMirrorDirectionResponse.new
|
9939
|
+
model.deserialize(response['Response'])
|
9940
|
+
model
|
9941
|
+
else
|
9942
|
+
code = response['Response']['Error']['Code']
|
9943
|
+
message = response['Response']['Error']['Message']
|
9944
|
+
reqid = response['Response']['RequestId']
|
9945
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
9946
|
+
end
|
9947
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
9948
|
+
raise e
|
9949
|
+
rescue StandardError => e
|
9950
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
9951
|
+
end
|
9952
|
+
|
9663
9953
|
# 本接口(WithdrawNotifyRoutes)用于撤销已发布到云联网的路由。路由表列表页操作增加“从云联网撤销”。
|
9664
9954
|
|
9665
9955
|
# @param request: Request instance for WithdrawNotifyRoutes.
|
data/lib/v20170312/models.rb
CHANGED
@@ -3024,6 +3024,61 @@ module TencentCloud
|
|
3024
3024
|
end
|
3025
3025
|
end
|
3026
3026
|
|
3027
|
+
# CheckTrafficMirror请求参数结构体
|
3028
|
+
class CheckTrafficMirrorRequest < TencentCloud::Common::AbstractModel
|
3029
|
+
# @param VpcId: 流量镜像所属的vpc
|
3030
|
+
# @type VpcId: String
|
3031
|
+
# @param TrafficMirrorId: 流量镜像的实例id
|
3032
|
+
# @type TrafficMirrorId: String
|
3033
|
+
# @param CollectorSources: 流量镜像的采集端IP列表
|
3034
|
+
# @type CollectorSources: Array
|
3035
|
+
# @param SubnetId: 流量镜像的接收端的子网
|
3036
|
+
# @type SubnetId: String
|
3037
|
+
# @param CollectorTarget: 流量镜像采集端的
|
3038
|
+
# @type CollectorTarget: Array
|
3039
|
+
|
3040
|
+
attr_accessor :VpcId, :TrafficMirrorId, :CollectorSources, :SubnetId, :CollectorTarget
|
3041
|
+
|
3042
|
+
def initialize(vpcid=nil, trafficmirrorid=nil, collectorsources=nil, subnetid=nil, collectortarget=nil)
|
3043
|
+
@VpcId = vpcid
|
3044
|
+
@TrafficMirrorId = trafficmirrorid
|
3045
|
+
@CollectorSources = collectorsources
|
3046
|
+
@SubnetId = subnetid
|
3047
|
+
@CollectorTarget = collectortarget
|
3048
|
+
end
|
3049
|
+
|
3050
|
+
def deserialize(params)
|
3051
|
+
@VpcId = params['VpcId']
|
3052
|
+
@TrafficMirrorId = params['TrafficMirrorId']
|
3053
|
+
@CollectorSources = params['CollectorSources']
|
3054
|
+
@SubnetId = params['SubnetId']
|
3055
|
+
unless params['CollectorTarget'].nil?
|
3056
|
+
@CollectorTarget = []
|
3057
|
+
params['CollectorTarget'].each do |i|
|
3058
|
+
trafficmirrortarget_tmp = TrafficMirrorTarget.new
|
3059
|
+
trafficmirrortarget_tmp.deserialize(i)
|
3060
|
+
@CollectorTarget << trafficmirrortarget_tmp
|
3061
|
+
end
|
3062
|
+
end
|
3063
|
+
end
|
3064
|
+
end
|
3065
|
+
|
3066
|
+
# CheckTrafficMirror返回参数结构体
|
3067
|
+
class CheckTrafficMirrorResponse < TencentCloud::Common::AbstractModel
|
3068
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3069
|
+
# @type RequestId: String
|
3070
|
+
|
3071
|
+
attr_accessor :RequestId
|
3072
|
+
|
3073
|
+
def initialize(requestid=nil)
|
3074
|
+
@RequestId = requestid
|
3075
|
+
end
|
3076
|
+
|
3077
|
+
def deserialize(params)
|
3078
|
+
@RequestId = params['RequestId']
|
3079
|
+
end
|
3080
|
+
end
|
3081
|
+
|
3027
3082
|
# 用于发布云联网的cidr信息
|
3028
3083
|
class CidrForCcn < TencentCloud::Common::AbstractModel
|
3029
3084
|
# @param Cidr: local cidr值。
|
@@ -3363,12 +3418,14 @@ module TencentCloud
|
|
3363
3418
|
# @type Tags: Array
|
3364
3419
|
# @param AttachType: 绑定类型:0 标准型 1 扩展型。
|
3365
3420
|
# @type AttachType: Integer
|
3421
|
+
# @param IsRdma: 是否创建RDMA弹性网卡,true:创建rdma弹性网卡,false:普通弹性网卡。不填默认为false。
|
3422
|
+
# @type IsRdma: Boolean
|
3366
3423
|
# @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
3367
3424
|
# @type ClientToken: String
|
3368
3425
|
|
3369
|
-
attr_accessor :VpcId, :NetworkInterfaceName, :SubnetId, :InstanceId, :PrivateIpAddresses, :SecondaryPrivateIpAddressCount, :QosLevel, :SecurityGroupIds, :NetworkInterfaceDescription, :Tags, :AttachType, :ClientToken
|
3426
|
+
attr_accessor :VpcId, :NetworkInterfaceName, :SubnetId, :InstanceId, :PrivateIpAddresses, :SecondaryPrivateIpAddressCount, :QosLevel, :SecurityGroupIds, :NetworkInterfaceDescription, :Tags, :AttachType, :IsRdma, :ClientToken
|
3370
3427
|
|
3371
|
-
def initialize(vpcid=nil, networkinterfacename=nil, subnetid=nil, instanceid=nil, privateipaddresses=nil, secondaryprivateipaddresscount=nil, qoslevel=nil, securitygroupids=nil, networkinterfacedescription=nil, tags=nil, attachtype=nil, clienttoken=nil)
|
3428
|
+
def initialize(vpcid=nil, networkinterfacename=nil, subnetid=nil, instanceid=nil, privateipaddresses=nil, secondaryprivateipaddresscount=nil, qoslevel=nil, securitygroupids=nil, networkinterfacedescription=nil, tags=nil, attachtype=nil, isrdma=nil, clienttoken=nil)
|
3372
3429
|
@VpcId = vpcid
|
3373
3430
|
@NetworkInterfaceName = networkinterfacename
|
3374
3431
|
@SubnetId = subnetid
|
@@ -3380,6 +3437,7 @@ module TencentCloud
|
|
3380
3437
|
@NetworkInterfaceDescription = networkinterfacedescription
|
3381
3438
|
@Tags = tags
|
3382
3439
|
@AttachType = attachtype
|
3440
|
+
@IsRdma = isrdma
|
3383
3441
|
@ClientToken = clienttoken
|
3384
3442
|
end
|
3385
3443
|
|
@@ -3409,6 +3467,7 @@ module TencentCloud
|
|
3409
3467
|
end
|
3410
3468
|
end
|
3411
3469
|
@AttachType = params['AttachType']
|
3470
|
+
@IsRdma = params['IsRdma']
|
3412
3471
|
@ClientToken = params['ClientToken']
|
3413
3472
|
end
|
3414
3473
|
end
|
@@ -4901,12 +4960,14 @@ module TencentCloud
|
|
4901
4960
|
# @type Tags: Array
|
4902
4961
|
# @param TrunkingFlag: 网卡trunking模式设置,Enable-开启,Disable--关闭,默认关闭。
|
4903
4962
|
# @type TrunkingFlag: String
|
4963
|
+
# @param IsRdma: 是否创建RDMA弹性网卡,true:创建rdma弹性网卡,false:普通弹性网卡。不填默认为false
|
4964
|
+
# @type IsRdma: Boolean
|
4904
4965
|
# @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
4905
4966
|
# @type ClientToken: String
|
4906
4967
|
|
4907
|
-
attr_accessor :VpcId, :NetworkInterfaceName, :SubnetId, :NetworkInterfaceDescription, :SecondaryPrivateIpAddressCount, :QosLevel, :SecurityGroupIds, :PrivateIpAddresses, :Tags, :TrunkingFlag, :ClientToken
|
4968
|
+
attr_accessor :VpcId, :NetworkInterfaceName, :SubnetId, :NetworkInterfaceDescription, :SecondaryPrivateIpAddressCount, :QosLevel, :SecurityGroupIds, :PrivateIpAddresses, :Tags, :TrunkingFlag, :IsRdma, :ClientToken
|
4908
4969
|
|
4909
|
-
def initialize(vpcid=nil, networkinterfacename=nil, subnetid=nil, networkinterfacedescription=nil, secondaryprivateipaddresscount=nil, qoslevel=nil, securitygroupids=nil, privateipaddresses=nil, tags=nil, trunkingflag=nil, clienttoken=nil)
|
4970
|
+
def initialize(vpcid=nil, networkinterfacename=nil, subnetid=nil, networkinterfacedescription=nil, secondaryprivateipaddresscount=nil, qoslevel=nil, securitygroupids=nil, privateipaddresses=nil, tags=nil, trunkingflag=nil, isrdma=nil, clienttoken=nil)
|
4910
4971
|
@VpcId = vpcid
|
4911
4972
|
@NetworkInterfaceName = networkinterfacename
|
4912
4973
|
@SubnetId = subnetid
|
@@ -4917,6 +4978,7 @@ module TencentCloud
|
|
4917
4978
|
@PrivateIpAddresses = privateipaddresses
|
4918
4979
|
@Tags = tags
|
4919
4980
|
@TrunkingFlag = trunkingflag
|
4981
|
+
@IsRdma = isrdma
|
4920
4982
|
@ClientToken = clienttoken
|
4921
4983
|
end
|
4922
4984
|
|
@@ -4945,6 +5007,7 @@ module TencentCloud
|
|
4945
5007
|
end
|
4946
5008
|
end
|
4947
5009
|
@TrunkingFlag = params['TrunkingFlag']
|
5010
|
+
@IsRdma = params['IsRdma']
|
4948
5011
|
@ClientToken = params['ClientToken']
|
4949
5012
|
end
|
4950
5013
|
end
|
@@ -5866,6 +5929,106 @@ module TencentCloud
|
|
5866
5929
|
end
|
5867
5930
|
end
|
5868
5931
|
|
5932
|
+
# CreateTrafficMirror请求参数结构体
|
5933
|
+
class CreateTrafficMirrorRequest < TencentCloud::Common::AbstractModel
|
5934
|
+
# @param VpcId: VPC实例ID。
|
5935
|
+
# @type VpcId: String
|
5936
|
+
# @param TrafficMirrorName: 流量镜像名字。
|
5937
|
+
# @type TrafficMirrorName: String
|
5938
|
+
# @param TrafficMirrorDescribe: 流量镜像描述。
|
5939
|
+
# @type TrafficMirrorDescribe: String
|
5940
|
+
# @param State: 流量镜像状态, 支持RUNNING/STOPED(vpc),RUNNING(公网IP),当采集vpc流量镜像时,此参数为必填。
|
5941
|
+
# @type State: String
|
5942
|
+
# @param Direction: 流量镜像采集方向,支持EGRESS/INGRESS/ALL(vpc),ALL(公网IP)。
|
5943
|
+
# @type Direction: String
|
5944
|
+
# @param CollectorSrcs: 流量镜像的采集对象。
|
5945
|
+
# @type CollectorSrcs: Array
|
5946
|
+
# @param NatId: 流量镜像过滤的natgw实例。
|
5947
|
+
# @type NatId: String
|
5948
|
+
# @param CollectorNormalFilters: 需要过滤的五元组规则。
|
5949
|
+
# @type CollectorNormalFilters: Array
|
5950
|
+
# @param CollectorTarget: 流量镜像的目的地址。
|
5951
|
+
# @type CollectorTarget: :class:`Tencentcloud::Vpc.v20170312.models.TrafficMirrorTarget`
|
5952
|
+
# @param SubnetId: 流量镜像采集流量的发送端所属子网ID。
|
5953
|
+
# @type SubnetId: String
|
5954
|
+
# @param Type: 创建的流量镜像的类型,支持VPC/PUBLICIP,默认为VPC类型。
|
5955
|
+
# @type Type: String
|
5956
|
+
# @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
5957
|
+
# @type Tags: Array
|
5958
|
+
|
5959
|
+
attr_accessor :VpcId, :TrafficMirrorName, :TrafficMirrorDescribe, :State, :Direction, :CollectorSrcs, :NatId, :CollectorNormalFilters, :CollectorTarget, :SubnetId, :Type, :Tags
|
5960
|
+
|
5961
|
+
def initialize(vpcid=nil, trafficmirrorname=nil, trafficmirrordescribe=nil, state=nil, direction=nil, collectorsrcs=nil, natid=nil, collectornormalfilters=nil, collectortarget=nil, subnetid=nil, type=nil, tags=nil)
|
5962
|
+
@VpcId = vpcid
|
5963
|
+
@TrafficMirrorName = trafficmirrorname
|
5964
|
+
@TrafficMirrorDescribe = trafficmirrordescribe
|
5965
|
+
@State = state
|
5966
|
+
@Direction = direction
|
5967
|
+
@CollectorSrcs = collectorsrcs
|
5968
|
+
@NatId = natid
|
5969
|
+
@CollectorNormalFilters = collectornormalfilters
|
5970
|
+
@CollectorTarget = collectortarget
|
5971
|
+
@SubnetId = subnetid
|
5972
|
+
@Type = type
|
5973
|
+
@Tags = tags
|
5974
|
+
end
|
5975
|
+
|
5976
|
+
def deserialize(params)
|
5977
|
+
@VpcId = params['VpcId']
|
5978
|
+
@TrafficMirrorName = params['TrafficMirrorName']
|
5979
|
+
@TrafficMirrorDescribe = params['TrafficMirrorDescribe']
|
5980
|
+
@State = params['State']
|
5981
|
+
@Direction = params['Direction']
|
5982
|
+
@CollectorSrcs = params['CollectorSrcs']
|
5983
|
+
@NatId = params['NatId']
|
5984
|
+
unless params['CollectorNormalFilters'].nil?
|
5985
|
+
@CollectorNormalFilters = []
|
5986
|
+
params['CollectorNormalFilters'].each do |i|
|
5987
|
+
trafficmirrorfilter_tmp = TrafficMirrorFilter.new
|
5988
|
+
trafficmirrorfilter_tmp.deserialize(i)
|
5989
|
+
@CollectorNormalFilters << trafficmirrorfilter_tmp
|
5990
|
+
end
|
5991
|
+
end
|
5992
|
+
unless params['CollectorTarget'].nil?
|
5993
|
+
@CollectorTarget = TrafficMirrorTarget.new
|
5994
|
+
@CollectorTarget.deserialize(params['CollectorTarget'])
|
5995
|
+
end
|
5996
|
+
@SubnetId = params['SubnetId']
|
5997
|
+
@Type = params['Type']
|
5998
|
+
unless params['Tags'].nil?
|
5999
|
+
@Tags = []
|
6000
|
+
params['Tags'].each do |i|
|
6001
|
+
tag_tmp = Tag.new
|
6002
|
+
tag_tmp.deserialize(i)
|
6003
|
+
@Tags << tag_tmp
|
6004
|
+
end
|
6005
|
+
end
|
6006
|
+
end
|
6007
|
+
end
|
6008
|
+
|
6009
|
+
# CreateTrafficMirror返回参数结构体
|
6010
|
+
class CreateTrafficMirrorResponse < TencentCloud::Common::AbstractModel
|
6011
|
+
# @param TrafficMirror: 流量镜像实例
|
6012
|
+
# @type TrafficMirror: :class:`Tencentcloud::Vpc.v20170312.models.TrafficMirror`
|
6013
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6014
|
+
# @type RequestId: String
|
6015
|
+
|
6016
|
+
attr_accessor :TrafficMirror, :RequestId
|
6017
|
+
|
6018
|
+
def initialize(trafficmirror=nil, requestid=nil)
|
6019
|
+
@TrafficMirror = trafficmirror
|
6020
|
+
@RequestId = requestid
|
6021
|
+
end
|
6022
|
+
|
6023
|
+
def deserialize(params)
|
6024
|
+
unless params['TrafficMirror'].nil?
|
6025
|
+
@TrafficMirror = TrafficMirror.new
|
6026
|
+
@TrafficMirror.deserialize(params['TrafficMirror'])
|
6027
|
+
end
|
6028
|
+
@RequestId = params['RequestId']
|
6029
|
+
end
|
6030
|
+
end
|
6031
|
+
|
5869
6032
|
# CreateTrafficPackages请求参数结构体
|
5870
6033
|
class CreateTrafficPackagesRequest < TencentCloud::Common::AbstractModel
|
5871
6034
|
# @param TrafficAmount: 流量包规格。可选值:
|
@@ -6626,9 +6789,9 @@ module TencentCloud
|
|
6626
6789
|
# @type SslVpnProtocol: String
|
6627
6790
|
# @param SslVpnPort: SSL VPN服务端监听协议端口,默认1194。
|
6628
6791
|
# @type SslVpnPort: Integer
|
6629
|
-
# @param IntegrityAlgorithm: 认证算法。可选 'SHA1'
|
6792
|
+
# @param IntegrityAlgorithm: 认证算法。可选 'SHA1',默认SHA1。
|
6630
6793
|
# @type IntegrityAlgorithm: String
|
6631
|
-
# @param EncryptAlgorithm: 加密算法。可选 'AES-128-CBC','AES-192-CBC', 'AES-256-CBC',
|
6794
|
+
# @param EncryptAlgorithm: 加密算法。可选 'AES-128-CBC','AES-192-CBC', 'AES-256-CBC', 默认AES-128-CBC。
|
6632
6795
|
# @type EncryptAlgorithm: String
|
6633
6796
|
# @param Compress: 是否支持压缩。当前不支持压缩,默认False。
|
6634
6797
|
# @type Compress: Boolean
|
@@ -8423,6 +8586,38 @@ module TencentCloud
|
|
8423
8586
|
end
|
8424
8587
|
end
|
8425
8588
|
|
8589
|
+
# DeleteTrafficMirror请求参数结构体
|
8590
|
+
class DeleteTrafficMirrorRequest < TencentCloud::Common::AbstractModel
|
8591
|
+
# @param TrafficMirrorId: 流量镜像实例ID
|
8592
|
+
# @type TrafficMirrorId: String
|
8593
|
+
|
8594
|
+
attr_accessor :TrafficMirrorId
|
8595
|
+
|
8596
|
+
def initialize(trafficmirrorid=nil)
|
8597
|
+
@TrafficMirrorId = trafficmirrorid
|
8598
|
+
end
|
8599
|
+
|
8600
|
+
def deserialize(params)
|
8601
|
+
@TrafficMirrorId = params['TrafficMirrorId']
|
8602
|
+
end
|
8603
|
+
end
|
8604
|
+
|
8605
|
+
# DeleteTrafficMirror返回参数结构体
|
8606
|
+
class DeleteTrafficMirrorResponse < TencentCloud::Common::AbstractModel
|
8607
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8608
|
+
# @type RequestId: String
|
8609
|
+
|
8610
|
+
attr_accessor :RequestId
|
8611
|
+
|
8612
|
+
def initialize(requestid=nil)
|
8613
|
+
@RequestId = requestid
|
8614
|
+
end
|
8615
|
+
|
8616
|
+
def deserialize(params)
|
8617
|
+
@RequestId = params['RequestId']
|
8618
|
+
end
|
8619
|
+
end
|
8620
|
+
|
8426
8621
|
# DeleteTrafficPackages请求参数结构体
|
8427
8622
|
class DeleteTrafficPackagesRequest < TencentCloud::Common::AbstractModel
|
8428
8623
|
# @param TrafficPackageIds: 待删除的流量包唯一ID数组
|
@@ -14242,6 +14437,68 @@ module TencentCloud
|
|
14242
14437
|
end
|
14243
14438
|
end
|
14244
14439
|
|
14440
|
+
# DescribeTrafficMirrors请求参数结构体
|
14441
|
+
class DescribeTrafficMirrorsRequest < TencentCloud::Common::AbstractModel
|
14442
|
+
# @param TrafficMirrorIds: 流量镜像实例ID集合
|
14443
|
+
# @type TrafficMirrorIds: Array
|
14444
|
+
# @param Filters: 流量镜像查询过滤调节。
|
14445
|
+
# vpc-id :VPC实例ID,例如:vpc-f49l6u0z。
|
14446
|
+
# traffic-mirror-id:流量镜像实例ID。
|
14447
|
+
# traffic-mirror-name:流量镜像名称。
|
14448
|
+
# tag-key :按照标签键进行过滤。
|
14449
|
+
# @type Filters: :class:`Tencentcloud::Vpc.v20170312.models.Filter`
|
14450
|
+
# @param Offset: 偏移量,默认为0。
|
14451
|
+
# @type Offset: Integer
|
14452
|
+
# @param Limit: 返回数量,默认为20,最大值为100。
|
14453
|
+
# @type Limit: Integer
|
14454
|
+
|
14455
|
+
attr_accessor :TrafficMirrorIds, :Filters, :Offset, :Limit
|
14456
|
+
|
14457
|
+
def initialize(trafficmirrorids=nil, filters=nil, offset=nil, limit=nil)
|
14458
|
+
@TrafficMirrorIds = trafficmirrorids
|
14459
|
+
@Filters = filters
|
14460
|
+
@Offset = offset
|
14461
|
+
@Limit = limit
|
14462
|
+
end
|
14463
|
+
|
14464
|
+
def deserialize(params)
|
14465
|
+
@TrafficMirrorIds = params['TrafficMirrorIds']
|
14466
|
+
unless params['Filters'].nil?
|
14467
|
+
@Filters = Filter.new
|
14468
|
+
@Filters.deserialize(params['Filters'])
|
14469
|
+
end
|
14470
|
+
@Offset = params['Offset']
|
14471
|
+
@Limit = params['Limit']
|
14472
|
+
end
|
14473
|
+
end
|
14474
|
+
|
14475
|
+
# DescribeTrafficMirrors返回参数结构体
|
14476
|
+
class DescribeTrafficMirrorsResponse < TencentCloud::Common::AbstractModel
|
14477
|
+
# @param TrafficMirrorSet: 流量镜像实例信息
|
14478
|
+
# @type TrafficMirrorSet: Array
|
14479
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14480
|
+
# @type RequestId: String
|
14481
|
+
|
14482
|
+
attr_accessor :TrafficMirrorSet, :RequestId
|
14483
|
+
|
14484
|
+
def initialize(trafficmirrorset=nil, requestid=nil)
|
14485
|
+
@TrafficMirrorSet = trafficmirrorset
|
14486
|
+
@RequestId = requestid
|
14487
|
+
end
|
14488
|
+
|
14489
|
+
def deserialize(params)
|
14490
|
+
unless params['TrafficMirrorSet'].nil?
|
14491
|
+
@TrafficMirrorSet = []
|
14492
|
+
params['TrafficMirrorSet'].each do |i|
|
14493
|
+
trafficmirror_tmp = TrafficMirror.new
|
14494
|
+
trafficmirror_tmp.deserialize(i)
|
14495
|
+
@TrafficMirrorSet << trafficmirror_tmp
|
14496
|
+
end
|
14497
|
+
end
|
14498
|
+
@RequestId = params['RequestId']
|
14499
|
+
end
|
14500
|
+
end
|
14501
|
+
|
14245
14502
|
# DescribeTrafficPackages请求参数结构体
|
14246
14503
|
class DescribeTrafficPackagesRequest < TencentCloud::Common::AbstractModel
|
14247
14504
|
# @param TrafficPackageIds: 共享流量包ID,支持批量
|
@@ -21314,6 +21571,46 @@ module TencentCloud
|
|
21314
21571
|
end
|
21315
21572
|
end
|
21316
21573
|
|
21574
|
+
# ModifyTrafficMirrorAttribute请求参数结构体
|
21575
|
+
class ModifyTrafficMirrorAttributeRequest < TencentCloud::Common::AbstractModel
|
21576
|
+
# @param TrafficMirrorId: 流量镜像实例ID
|
21577
|
+
# @type TrafficMirrorId: String
|
21578
|
+
# @param TrafficMirrorName: 流量镜像实例名称
|
21579
|
+
# @type TrafficMirrorName: String
|
21580
|
+
# @param TrafficMirrorDescription: 流量镜像实例描述信息
|
21581
|
+
# @type TrafficMirrorDescription: String
|
21582
|
+
|
21583
|
+
attr_accessor :TrafficMirrorId, :TrafficMirrorName, :TrafficMirrorDescription
|
21584
|
+
|
21585
|
+
def initialize(trafficmirrorid=nil, trafficmirrorname=nil, trafficmirrordescription=nil)
|
21586
|
+
@TrafficMirrorId = trafficmirrorid
|
21587
|
+
@TrafficMirrorName = trafficmirrorname
|
21588
|
+
@TrafficMirrorDescription = trafficmirrordescription
|
21589
|
+
end
|
21590
|
+
|
21591
|
+
def deserialize(params)
|
21592
|
+
@TrafficMirrorId = params['TrafficMirrorId']
|
21593
|
+
@TrafficMirrorName = params['TrafficMirrorName']
|
21594
|
+
@TrafficMirrorDescription = params['TrafficMirrorDescription']
|
21595
|
+
end
|
21596
|
+
end
|
21597
|
+
|
21598
|
+
# ModifyTrafficMirrorAttribute返回参数结构体
|
21599
|
+
class ModifyTrafficMirrorAttributeResponse < TencentCloud::Common::AbstractModel
|
21600
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21601
|
+
# @type RequestId: String
|
21602
|
+
|
21603
|
+
attr_accessor :RequestId
|
21604
|
+
|
21605
|
+
def initialize(requestid=nil)
|
21606
|
+
@RequestId = requestid
|
21607
|
+
end
|
21608
|
+
|
21609
|
+
def deserialize(params)
|
21610
|
+
@RequestId = params['RequestId']
|
21611
|
+
end
|
21612
|
+
end
|
21613
|
+
|
21317
21614
|
# ModifyVpcAttribute请求参数结构体
|
21318
21615
|
class ModifyVpcAttributeRequest < TencentCloud::Common::AbstractModel
|
21319
21616
|
# @param VpcId: VPC实例ID。形如:vpc-f49l6u0z。
|
@@ -21837,9 +22134,9 @@ module TencentCloud
|
|
21837
22134
|
# @type SslVpnProtocol: String
|
21838
22135
|
# @param SslVpnPort: SSL VPN服务端监听协议端口。
|
21839
22136
|
# @type SslVpnPort: Integer
|
21840
|
-
# @param EncryptAlgorithm: 加密算法。可选 'AES-128-CBC',
|
22137
|
+
# @param EncryptAlgorithm: 加密算法。可选 'AES-128-CBC','AES-192-CBC', 'AES-256-CBC', 默认AES-128-CBC。
|
21841
22138
|
# @type EncryptAlgorithm: String
|
21842
|
-
# @param IntegrityAlgorithm: 认证算法。可选 'SHA1'
|
22139
|
+
# @param IntegrityAlgorithm: 认证算法。可选 'SHA1',默认SHA1。
|
21843
22140
|
# @type IntegrityAlgorithm: String
|
21844
22141
|
# @param Compress: 是否支持压缩。当前不支持压缩。默认False。
|
21845
22142
|
# @type Compress: Boolean
|
@@ -24299,6 +24596,132 @@ module TencentCloud
|
|
24299
24596
|
end
|
24300
24597
|
end
|
24301
24598
|
|
24599
|
+
# ResetTrafficMirrorFilter请求参数结构体
|
24600
|
+
class ResetTrafficMirrorFilterRequest < TencentCloud::Common::AbstractModel
|
24601
|
+
# @param TrafficMirrorId: 流量镜像实例ID
|
24602
|
+
# @type TrafficMirrorId: String
|
24603
|
+
# @param NatId: 流量镜像需要过滤的natgw实例ID
|
24604
|
+
# @type NatId: String
|
24605
|
+
# @param CollectorNormalFilters: 流量镜像需要过滤的五元组规则
|
24606
|
+
# @type CollectorNormalFilters: Array
|
24607
|
+
|
24608
|
+
attr_accessor :TrafficMirrorId, :NatId, :CollectorNormalFilters
|
24609
|
+
|
24610
|
+
def initialize(trafficmirrorid=nil, natid=nil, collectornormalfilters=nil)
|
24611
|
+
@TrafficMirrorId = trafficmirrorid
|
24612
|
+
@NatId = natid
|
24613
|
+
@CollectorNormalFilters = collectornormalfilters
|
24614
|
+
end
|
24615
|
+
|
24616
|
+
def deserialize(params)
|
24617
|
+
@TrafficMirrorId = params['TrafficMirrorId']
|
24618
|
+
@NatId = params['NatId']
|
24619
|
+
unless params['CollectorNormalFilters'].nil?
|
24620
|
+
@CollectorNormalFilters = []
|
24621
|
+
params['CollectorNormalFilters'].each do |i|
|
24622
|
+
trafficmirrorfilter_tmp = TrafficMirrorFilter.new
|
24623
|
+
trafficmirrorfilter_tmp.deserialize(i)
|
24624
|
+
@CollectorNormalFilters << trafficmirrorfilter_tmp
|
24625
|
+
end
|
24626
|
+
end
|
24627
|
+
end
|
24628
|
+
end
|
24629
|
+
|
24630
|
+
# ResetTrafficMirrorFilter返回参数结构体
|
24631
|
+
class ResetTrafficMirrorFilterResponse < TencentCloud::Common::AbstractModel
|
24632
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
24633
|
+
# @type RequestId: String
|
24634
|
+
|
24635
|
+
attr_accessor :RequestId
|
24636
|
+
|
24637
|
+
def initialize(requestid=nil)
|
24638
|
+
@RequestId = requestid
|
24639
|
+
end
|
24640
|
+
|
24641
|
+
def deserialize(params)
|
24642
|
+
@RequestId = params['RequestId']
|
24643
|
+
end
|
24644
|
+
end
|
24645
|
+
|
24646
|
+
# ResetTrafficMirrorSrcs请求参数结构体
|
24647
|
+
class ResetTrafficMirrorSrcsRequest < TencentCloud::Common::AbstractModel
|
24648
|
+
# @param TrafficMirrorId: 流量镜像实例ID
|
24649
|
+
# @type TrafficMirrorId: String
|
24650
|
+
# @param CollectorSrcs: 流量镜像采集对象
|
24651
|
+
# @type CollectorSrcs: Array
|
24652
|
+
|
24653
|
+
attr_accessor :TrafficMirrorId, :CollectorSrcs
|
24654
|
+
|
24655
|
+
def initialize(trafficmirrorid=nil, collectorsrcs=nil)
|
24656
|
+
@TrafficMirrorId = trafficmirrorid
|
24657
|
+
@CollectorSrcs = collectorsrcs
|
24658
|
+
end
|
24659
|
+
|
24660
|
+
def deserialize(params)
|
24661
|
+
@TrafficMirrorId = params['TrafficMirrorId']
|
24662
|
+
@CollectorSrcs = params['CollectorSrcs']
|
24663
|
+
end
|
24664
|
+
end
|
24665
|
+
|
24666
|
+
# ResetTrafficMirrorSrcs返回参数结构体
|
24667
|
+
class ResetTrafficMirrorSrcsResponse < TencentCloud::Common::AbstractModel
|
24668
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
24669
|
+
# @type RequestId: String
|
24670
|
+
|
24671
|
+
attr_accessor :RequestId
|
24672
|
+
|
24673
|
+
def initialize(requestid=nil)
|
24674
|
+
@RequestId = requestid
|
24675
|
+
end
|
24676
|
+
|
24677
|
+
def deserialize(params)
|
24678
|
+
@RequestId = params['RequestId']
|
24679
|
+
end
|
24680
|
+
end
|
24681
|
+
|
24682
|
+
# ResetTrafficMirrorTarget请求参数结构体
|
24683
|
+
class ResetTrafficMirrorTargetRequest < TencentCloud::Common::AbstractModel
|
24684
|
+
# @param TrafficMirrorId: 流量镜像实例ID
|
24685
|
+
# @type TrafficMirrorId: String
|
24686
|
+
# @param CollectorTarget: 流量镜像的接收目的信息
|
24687
|
+
# @type CollectorTarget: :class:`Tencentcloud::Vpc.v20170312.models.TrafficMirrorTarget`
|
24688
|
+
# @param SubnetId: 公网IP类型的流量镜像采集流量的发送端所属子网
|
24689
|
+
# @type SubnetId: String
|
24690
|
+
|
24691
|
+
attr_accessor :TrafficMirrorId, :CollectorTarget, :SubnetId
|
24692
|
+
|
24693
|
+
def initialize(trafficmirrorid=nil, collectortarget=nil, subnetid=nil)
|
24694
|
+
@TrafficMirrorId = trafficmirrorid
|
24695
|
+
@CollectorTarget = collectortarget
|
24696
|
+
@SubnetId = subnetid
|
24697
|
+
end
|
24698
|
+
|
24699
|
+
def deserialize(params)
|
24700
|
+
@TrafficMirrorId = params['TrafficMirrorId']
|
24701
|
+
unless params['CollectorTarget'].nil?
|
24702
|
+
@CollectorTarget = TrafficMirrorTarget.new
|
24703
|
+
@CollectorTarget.deserialize(params['CollectorTarget'])
|
24704
|
+
end
|
24705
|
+
@SubnetId = params['SubnetId']
|
24706
|
+
end
|
24707
|
+
end
|
24708
|
+
|
24709
|
+
# ResetTrafficMirrorTarget返回参数结构体
|
24710
|
+
class ResetTrafficMirrorTargetResponse < TencentCloud::Common::AbstractModel
|
24711
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
24712
|
+
# @type RequestId: String
|
24713
|
+
|
24714
|
+
attr_accessor :RequestId
|
24715
|
+
|
24716
|
+
def initialize(requestid=nil)
|
24717
|
+
@RequestId = requestid
|
24718
|
+
end
|
24719
|
+
|
24720
|
+
def deserialize(params)
|
24721
|
+
@RequestId = params['RequestId']
|
24722
|
+
end
|
24723
|
+
end
|
24724
|
+
|
24302
24725
|
# ResetVpnConnection请求参数结构体
|
24303
24726
|
class ResetVpnConnectionRequest < TencentCloud::Common::AbstractModel
|
24304
24727
|
# @param VpnGatewayId: VPN网关实例ID。
|
@@ -25908,6 +26331,70 @@ module TencentCloud
|
|
25908
26331
|
end
|
25909
26332
|
end
|
25910
26333
|
|
26334
|
+
# StartTrafficMirror请求参数结构体
|
26335
|
+
class StartTrafficMirrorRequest < TencentCloud::Common::AbstractModel
|
26336
|
+
# @param TrafficMirrorId: 流量镜像实例ID
|
26337
|
+
# @type TrafficMirrorId: String
|
26338
|
+
|
26339
|
+
attr_accessor :TrafficMirrorId
|
26340
|
+
|
26341
|
+
def initialize(trafficmirrorid=nil)
|
26342
|
+
@TrafficMirrorId = trafficmirrorid
|
26343
|
+
end
|
26344
|
+
|
26345
|
+
def deserialize(params)
|
26346
|
+
@TrafficMirrorId = params['TrafficMirrorId']
|
26347
|
+
end
|
26348
|
+
end
|
26349
|
+
|
26350
|
+
# StartTrafficMirror返回参数结构体
|
26351
|
+
class StartTrafficMirrorResponse < TencentCloud::Common::AbstractModel
|
26352
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26353
|
+
# @type RequestId: String
|
26354
|
+
|
26355
|
+
attr_accessor :RequestId
|
26356
|
+
|
26357
|
+
def initialize(requestid=nil)
|
26358
|
+
@RequestId = requestid
|
26359
|
+
end
|
26360
|
+
|
26361
|
+
def deserialize(params)
|
26362
|
+
@RequestId = params['RequestId']
|
26363
|
+
end
|
26364
|
+
end
|
26365
|
+
|
26366
|
+
# StopTrafficMirror请求参数结构体
|
26367
|
+
class StopTrafficMirrorRequest < TencentCloud::Common::AbstractModel
|
26368
|
+
# @param TrafficMirrorId: 流量镜像实例ID
|
26369
|
+
# @type TrafficMirrorId: String
|
26370
|
+
|
26371
|
+
attr_accessor :TrafficMirrorId
|
26372
|
+
|
26373
|
+
def initialize(trafficmirrorid=nil)
|
26374
|
+
@TrafficMirrorId = trafficmirrorid
|
26375
|
+
end
|
26376
|
+
|
26377
|
+
def deserialize(params)
|
26378
|
+
@TrafficMirrorId = params['TrafficMirrorId']
|
26379
|
+
end
|
26380
|
+
end
|
26381
|
+
|
26382
|
+
# StopTrafficMirror返回参数结构体
|
26383
|
+
class StopTrafficMirrorResponse < TencentCloud::Common::AbstractModel
|
26384
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26385
|
+
# @type RequestId: String
|
26386
|
+
|
26387
|
+
attr_accessor :RequestId
|
26388
|
+
|
26389
|
+
def initialize(requestid=nil)
|
26390
|
+
@RequestId = requestid
|
26391
|
+
end
|
26392
|
+
|
26393
|
+
def deserialize(params)
|
26394
|
+
@RequestId = params['RequestId']
|
26395
|
+
end
|
26396
|
+
end
|
26397
|
+
|
25911
26398
|
# 子网对象
|
25912
26399
|
class Subnet < TencentCloud::Common::AbstractModel
|
25913
26400
|
# @param VpcId: `VPC`实例`ID`。
|
@@ -26123,6 +26610,176 @@ module TencentCloud
|
|
26123
26610
|
end
|
26124
26611
|
end
|
26125
26612
|
|
26613
|
+
# 流量镜像实例
|
26614
|
+
class TrafficMirror < TencentCloud::Common::AbstractModel
|
26615
|
+
# @param VpcId: VPC实例ID。
|
26616
|
+
# @type VpcId: String
|
26617
|
+
# @param TrafficMirrorId: 流量镜像实例。
|
26618
|
+
# @type TrafficMirrorId: String
|
26619
|
+
# @param TrafficMirrorName: 流量镜像名字。
|
26620
|
+
# @type TrafficMirrorName: String
|
26621
|
+
# @param TrafficMirrorDescribe: 流量镜像描述。
|
26622
|
+
# @type TrafficMirrorDescribe: String
|
26623
|
+
# @param State: 流量镜像状态。
|
26624
|
+
# @type State: String
|
26625
|
+
# @param Direction: 流量镜像采集方向。
|
26626
|
+
# @type Direction: String
|
26627
|
+
# @param CollectorSrcs: 流量镜像采集对象。
|
26628
|
+
# @type CollectorSrcs: Array
|
26629
|
+
# @param NatId: 流量镜像过滤的nat网关实例ID。
|
26630
|
+
# @type NatId: String
|
26631
|
+
# @param CollectorNormalFilters: 流量镜像过滤的五元组规则。
|
26632
|
+
# @type CollectorNormalFilters: Array
|
26633
|
+
# @param CollectorTarget: 流量镜接收目标。
|
26634
|
+
# @type CollectorTarget: :class:`Tencentcloud::Vpc.v20170312.models.TrafficMirrorTarget`
|
26635
|
+
# @param CreateTime: 流量镜像创建时间。
|
26636
|
+
# @type CreateTime: String
|
26637
|
+
# @param Type: 流量镜像的类型。
|
26638
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
26639
|
+
# @type Type: String
|
26640
|
+
# @param SubnetId: 流量镜像所属的子网ID。
|
26641
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
26642
|
+
# @type SubnetId: String
|
26643
|
+
# @param TargetInfo: 流量镜接收目标资源信息,当接收目标为ENI和CLB时返回。
|
26644
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
26645
|
+
# @type TargetInfo: Array
|
26646
|
+
|
26647
|
+
attr_accessor :VpcId, :TrafficMirrorId, :TrafficMirrorName, :TrafficMirrorDescribe, :State, :Direction, :CollectorSrcs, :NatId, :CollectorNormalFilters, :CollectorTarget, :CreateTime, :Type, :SubnetId, :TargetInfo
|
26648
|
+
|
26649
|
+
def initialize(vpcid=nil, trafficmirrorid=nil, trafficmirrorname=nil, trafficmirrordescribe=nil, state=nil, direction=nil, collectorsrcs=nil, natid=nil, collectornormalfilters=nil, collectortarget=nil, createtime=nil, type=nil, subnetid=nil, targetinfo=nil)
|
26650
|
+
@VpcId = vpcid
|
26651
|
+
@TrafficMirrorId = trafficmirrorid
|
26652
|
+
@TrafficMirrorName = trafficmirrorname
|
26653
|
+
@TrafficMirrorDescribe = trafficmirrordescribe
|
26654
|
+
@State = state
|
26655
|
+
@Direction = direction
|
26656
|
+
@CollectorSrcs = collectorsrcs
|
26657
|
+
@NatId = natid
|
26658
|
+
@CollectorNormalFilters = collectornormalfilters
|
26659
|
+
@CollectorTarget = collectortarget
|
26660
|
+
@CreateTime = createtime
|
26661
|
+
@Type = type
|
26662
|
+
@SubnetId = subnetid
|
26663
|
+
@TargetInfo = targetinfo
|
26664
|
+
end
|
26665
|
+
|
26666
|
+
def deserialize(params)
|
26667
|
+
@VpcId = params['VpcId']
|
26668
|
+
@TrafficMirrorId = params['TrafficMirrorId']
|
26669
|
+
@TrafficMirrorName = params['TrafficMirrorName']
|
26670
|
+
@TrafficMirrorDescribe = params['TrafficMirrorDescribe']
|
26671
|
+
@State = params['State']
|
26672
|
+
@Direction = params['Direction']
|
26673
|
+
@CollectorSrcs = params['CollectorSrcs']
|
26674
|
+
@NatId = params['NatId']
|
26675
|
+
unless params['CollectorNormalFilters'].nil?
|
26676
|
+
@CollectorNormalFilters = []
|
26677
|
+
params['CollectorNormalFilters'].each do |i|
|
26678
|
+
trafficmirrorfilter_tmp = TrafficMirrorFilter.new
|
26679
|
+
trafficmirrorfilter_tmp.deserialize(i)
|
26680
|
+
@CollectorNormalFilters << trafficmirrorfilter_tmp
|
26681
|
+
end
|
26682
|
+
end
|
26683
|
+
unless params['CollectorTarget'].nil?
|
26684
|
+
@CollectorTarget = TrafficMirrorTarget.new
|
26685
|
+
@CollectorTarget.deserialize(params['CollectorTarget'])
|
26686
|
+
end
|
26687
|
+
@CreateTime = params['CreateTime']
|
26688
|
+
@Type = params['Type']
|
26689
|
+
@SubnetId = params['SubnetId']
|
26690
|
+
unless params['TargetInfo'].nil?
|
26691
|
+
@TargetInfo = []
|
26692
|
+
params['TargetInfo'].each do |i|
|
26693
|
+
trafficmirrortargetresourceinfo_tmp = TrafficMirrorTargetResourceInfo.new
|
26694
|
+
trafficmirrortargetresourceinfo_tmp.deserialize(i)
|
26695
|
+
@TargetInfo << trafficmirrortargetresourceinfo_tmp
|
26696
|
+
end
|
26697
|
+
end
|
26698
|
+
end
|
26699
|
+
end
|
26700
|
+
|
26701
|
+
# 流量镜像五元组过滤规则对象
|
26702
|
+
class TrafficMirrorFilter < TencentCloud::Common::AbstractModel
|
26703
|
+
# @param SrcNet: 过滤规则的源网段
|
26704
|
+
# @type SrcNet: String
|
26705
|
+
# @param DstNet: 过滤规则的目的网段
|
26706
|
+
# @type DstNet: String
|
26707
|
+
# @param Protocol: 过滤规则的协议
|
26708
|
+
# @type Protocol: String
|
26709
|
+
# @param SrcPort: 过滤规则的源端口,默认值1-65535
|
26710
|
+
# @type SrcPort: String
|
26711
|
+
# @param DstPort: 过滤规则的目的端口,默认值1-65535
|
26712
|
+
# @type DstPort: String
|
26713
|
+
|
26714
|
+
attr_accessor :SrcNet, :DstNet, :Protocol, :SrcPort, :DstPort
|
26715
|
+
|
26716
|
+
def initialize(srcnet=nil, dstnet=nil, protocol=nil, srcport=nil, dstport=nil)
|
26717
|
+
@SrcNet = srcnet
|
26718
|
+
@DstNet = dstnet
|
26719
|
+
@Protocol = protocol
|
26720
|
+
@SrcPort = srcport
|
26721
|
+
@DstPort = dstport
|
26722
|
+
end
|
26723
|
+
|
26724
|
+
def deserialize(params)
|
26725
|
+
@SrcNet = params['SrcNet']
|
26726
|
+
@DstNet = params['DstNet']
|
26727
|
+
@Protocol = params['Protocol']
|
26728
|
+
@SrcPort = params['SrcPort']
|
26729
|
+
@DstPort = params['DstPort']
|
26730
|
+
end
|
26731
|
+
end
|
26732
|
+
|
26733
|
+
# 流量镜像采集目标类型
|
26734
|
+
class TrafficMirrorTarget < TencentCloud::Common::AbstractModel
|
26735
|
+
# @param TargetIps: 流量镜像的接收IP
|
26736
|
+
# @type TargetIps: Array
|
26737
|
+
# @param AlgHash: 流量镜像接收IP组,均衡规则,支持ENI/FIVE_TUPLE_FLOW(vpc),FIVE_TUPLE_FLOW(公网IP)
|
26738
|
+
# @type AlgHash: String
|
26739
|
+
# @param TargetEndPoints: 流量镜像的接收endpoint(公网IP)
|
26740
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
26741
|
+
# @type TargetEndPoints: Array
|
26742
|
+
# @param TargetType: 流量镜像的接收类型,分别为:IP/ENI/CLB
|
26743
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
26744
|
+
# @type TargetType: String
|
26745
|
+
|
26746
|
+
attr_accessor :TargetIps, :AlgHash, :TargetEndPoints, :TargetType
|
26747
|
+
|
26748
|
+
def initialize(targetips=nil, alghash=nil, targetendpoints=nil, targettype=nil)
|
26749
|
+
@TargetIps = targetips
|
26750
|
+
@AlgHash = alghash
|
26751
|
+
@TargetEndPoints = targetendpoints
|
26752
|
+
@TargetType = targettype
|
26753
|
+
end
|
26754
|
+
|
26755
|
+
def deserialize(params)
|
26756
|
+
@TargetIps = params['TargetIps']
|
26757
|
+
@AlgHash = params['AlgHash']
|
26758
|
+
@TargetEndPoints = params['TargetEndPoints']
|
26759
|
+
@TargetType = params['TargetType']
|
26760
|
+
end
|
26761
|
+
end
|
26762
|
+
|
26763
|
+
# 流量镜像接收流量信息,当接收目标为ENI和CLB时返回
|
26764
|
+
class TrafficMirrorTargetResourceInfo < TencentCloud::Common::AbstractModel
|
26765
|
+
# @param TargetId: 接收目标的资源Id
|
26766
|
+
# @type TargetId: String
|
26767
|
+
# @param TargetName: 接收目标的资源名称
|
26768
|
+
# @type TargetName: String
|
26769
|
+
|
26770
|
+
attr_accessor :TargetId, :TargetName
|
26771
|
+
|
26772
|
+
def initialize(targetid=nil, targetname=nil)
|
26773
|
+
@TargetId = targetid
|
26774
|
+
@TargetName = targetname
|
26775
|
+
end
|
26776
|
+
|
26777
|
+
def deserialize(params)
|
26778
|
+
@TargetId = params['TargetId']
|
26779
|
+
@TargetName = params['TargetName']
|
26780
|
+
end
|
26781
|
+
end
|
26782
|
+
|
26126
26783
|
# 流量包信息描述类型
|
26127
26784
|
class TrafficPackage < TencentCloud::Common::AbstractModel
|
26128
26785
|
# @param TrafficPackageId: 流量包唯一ID
|
@@ -26653,6 +27310,97 @@ module TencentCloud
|
|
26653
27310
|
end
|
26654
27311
|
end
|
26655
27312
|
|
27313
|
+
# UpdateTrafficMirrorAllFilter请求参数结构体
|
27314
|
+
class UpdateTrafficMirrorAllFilterRequest < TencentCloud::Common::AbstractModel
|
27315
|
+
# @param TrafficMirrorId: 流量镜像实例ID
|
27316
|
+
# @type TrafficMirrorId: String
|
27317
|
+
# @param Direction: 流量镜像采集方向
|
27318
|
+
# @type Direction: String
|
27319
|
+
# @param CollectorSrcs: 流量镜像采集对象
|
27320
|
+
# @type CollectorSrcs: Array
|
27321
|
+
# @param NatId: 流量镜像需要过滤的natgw实例
|
27322
|
+
# @type NatId: String
|
27323
|
+
# @param CollectorNormalFilters: 流量镜像需要过滤的五元组规则
|
27324
|
+
# @type CollectorNormalFilters: Array
|
27325
|
+
|
27326
|
+
attr_accessor :TrafficMirrorId, :Direction, :CollectorSrcs, :NatId, :CollectorNormalFilters
|
27327
|
+
|
27328
|
+
def initialize(trafficmirrorid=nil, direction=nil, collectorsrcs=nil, natid=nil, collectornormalfilters=nil)
|
27329
|
+
@TrafficMirrorId = trafficmirrorid
|
27330
|
+
@Direction = direction
|
27331
|
+
@CollectorSrcs = collectorsrcs
|
27332
|
+
@NatId = natid
|
27333
|
+
@CollectorNormalFilters = collectornormalfilters
|
27334
|
+
end
|
27335
|
+
|
27336
|
+
def deserialize(params)
|
27337
|
+
@TrafficMirrorId = params['TrafficMirrorId']
|
27338
|
+
@Direction = params['Direction']
|
27339
|
+
@CollectorSrcs = params['CollectorSrcs']
|
27340
|
+
@NatId = params['NatId']
|
27341
|
+
unless params['CollectorNormalFilters'].nil?
|
27342
|
+
@CollectorNormalFilters = []
|
27343
|
+
params['CollectorNormalFilters'].each do |i|
|
27344
|
+
trafficmirrorfilter_tmp = TrafficMirrorFilter.new
|
27345
|
+
trafficmirrorfilter_tmp.deserialize(i)
|
27346
|
+
@CollectorNormalFilters << trafficmirrorfilter_tmp
|
27347
|
+
end
|
27348
|
+
end
|
27349
|
+
end
|
27350
|
+
end
|
27351
|
+
|
27352
|
+
# UpdateTrafficMirrorAllFilter返回参数结构体
|
27353
|
+
class UpdateTrafficMirrorAllFilterResponse < TencentCloud::Common::AbstractModel
|
27354
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
27355
|
+
# @type RequestId: String
|
27356
|
+
|
27357
|
+
attr_accessor :RequestId
|
27358
|
+
|
27359
|
+
def initialize(requestid=nil)
|
27360
|
+
@RequestId = requestid
|
27361
|
+
end
|
27362
|
+
|
27363
|
+
def deserialize(params)
|
27364
|
+
@RequestId = params['RequestId']
|
27365
|
+
end
|
27366
|
+
end
|
27367
|
+
|
27368
|
+
# UpdateTrafficMirrorDirection请求参数结构体
|
27369
|
+
class UpdateTrafficMirrorDirectionRequest < TencentCloud::Common::AbstractModel
|
27370
|
+
# @param TrafficMirrorId: 流量镜像实例ID
|
27371
|
+
# @type TrafficMirrorId: String
|
27372
|
+
# @param Direction: 流量镜像采集方向
|
27373
|
+
# @type Direction: String
|
27374
|
+
|
27375
|
+
attr_accessor :TrafficMirrorId, :Direction
|
27376
|
+
|
27377
|
+
def initialize(trafficmirrorid=nil, direction=nil)
|
27378
|
+
@TrafficMirrorId = trafficmirrorid
|
27379
|
+
@Direction = direction
|
27380
|
+
end
|
27381
|
+
|
27382
|
+
def deserialize(params)
|
27383
|
+
@TrafficMirrorId = params['TrafficMirrorId']
|
27384
|
+
@Direction = params['Direction']
|
27385
|
+
end
|
27386
|
+
end
|
27387
|
+
|
27388
|
+
# UpdateTrafficMirrorDirection返回参数结构体
|
27389
|
+
class UpdateTrafficMirrorDirectionResponse < TencentCloud::Common::AbstractModel
|
27390
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
27391
|
+
# @type RequestId: String
|
27392
|
+
|
27393
|
+
attr_accessor :RequestId
|
27394
|
+
|
27395
|
+
def initialize(requestid=nil)
|
27396
|
+
@RequestId = requestid
|
27397
|
+
end
|
27398
|
+
|
27399
|
+
def deserialize(params)
|
27400
|
+
@RequestId = params['RequestId']
|
27401
|
+
end
|
27402
|
+
end
|
27403
|
+
|
26656
27404
|
# 共享流量包用量明细
|
26657
27405
|
class UsedDetail < TencentCloud::Common::AbstractModel
|
26658
27406
|
# @param TrafficPackageId: 流量包唯一ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-vpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.998
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|