tencentcloud-sdk-vpc 1.0.277 → 1.0.278
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 +162 -0
- data/lib/v20170312/models.rb +162 -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: c8fa237e32e5a19781be25e8e1a120380510fea4
|
4
|
+
data.tar.gz: f4ad97c03d44101857a76072017238920f5db799
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6002153784b322d767d3c669884698ce689aeff6425427e7bc06c1d12ad4d1bbe97cbe29224ff31fb78f773c79fae853aaf88e7c3d66d88566d777ca36b8434
|
7
|
+
data.tar.gz: 38d884538641ea68b01e399effa48eb1d645c1d6d51d2ac63b8d7ff06d211b66434966ddd6f3d8a16c0008d94891fbaed8c26ca732ec46ac68d2d03501a14462
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.278
|
data/lib/v20170312/client.rb
CHANGED
@@ -2935,6 +2935,32 @@ module TencentCloud
|
|
2935
2935
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2936
2936
|
end
|
2937
2937
|
|
2938
|
+
# 本接口(DescribeCrossBorderCcnRegionBandwidthLimits)用于获取要锁定的限速实例列表。
|
2939
|
+
# 该接口一般用来封禁地域间限速的云联网实例下的限速实例, 目前联通内部运营系统通过云API调用, 如果是出口限速, 一般使用更粗的云联网实例粒度封禁(DescribeTenantCcns)
|
2940
|
+
# 如有需要, 可以封禁任意限速实例, 可接入到内部运营系统
|
2941
|
+
|
2942
|
+
# @param request: Request instance for DescribeCrossBorderCcnRegionBandwidthLimits.
|
2943
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeCrossBorderCcnRegionBandwidthLimitsRequest`
|
2944
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeCrossBorderCcnRegionBandwidthLimitsResponse`
|
2945
|
+
def DescribeCrossBorderCcnRegionBandwidthLimits(request)
|
2946
|
+
body = send_request('DescribeCrossBorderCcnRegionBandwidthLimits', request.serialize)
|
2947
|
+
response = JSON.parse(body)
|
2948
|
+
if response['Response'].key?('Error') == false
|
2949
|
+
model = DescribeCrossBorderCcnRegionBandwidthLimitsResponse.new
|
2950
|
+
model.deserialize(response['Response'])
|
2951
|
+
model
|
2952
|
+
else
|
2953
|
+
code = response['Response']['Error']['Code']
|
2954
|
+
message = response['Response']['Error']['Message']
|
2955
|
+
reqid = response['Response']['RequestId']
|
2956
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2957
|
+
end
|
2958
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2959
|
+
raise e
|
2960
|
+
rescue StandardError => e
|
2961
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2962
|
+
end
|
2963
|
+
|
2938
2964
|
# 本接口(DescribeCrossBorderCompliance)用于查询用户创建的合规化资质审批单。
|
2939
2965
|
# 服务商可以查询服务名下的任意 `APPID` 创建的审批单;非服务商,只能查询自己审批单。
|
2940
2966
|
|
@@ -3876,6 +3902,32 @@ module TencentCloud
|
|
3876
3902
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3877
3903
|
end
|
3878
3904
|
|
3905
|
+
# 本接口(DescribeTenantCcns)用于获取要锁定的云联网实例列表。
|
3906
|
+
# 该接口一般用来封禁出口限速的云联网实例, 目前联通内部运营系统通过云API调用, 因为出口限速无法按地域间封禁, 只能按更粗的云联网实例粒度封禁, 如果是地域间限速, 一般可以通过更细的限速实例粒度封禁(DescribeCrossBorderCcnRegionBandwidthLimits)
|
3907
|
+
# 如有需要, 可以封禁任意云联网实例, 可接入到内部运营系统
|
3908
|
+
|
3909
|
+
# @param request: Request instance for DescribeTenantCcns.
|
3910
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeTenantCcnsRequest`
|
3911
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeTenantCcnsResponse`
|
3912
|
+
def DescribeTenantCcns(request)
|
3913
|
+
body = send_request('DescribeTenantCcns', request.serialize)
|
3914
|
+
response = JSON.parse(body)
|
3915
|
+
if response['Response'].key?('Error') == false
|
3916
|
+
model = DescribeTenantCcnsResponse.new
|
3917
|
+
model.deserialize(response['Response'])
|
3918
|
+
model
|
3919
|
+
else
|
3920
|
+
code = response['Response']['Error']['Code']
|
3921
|
+
message = response['Response']['Error']['Message']
|
3922
|
+
reqid = response['Response']['RequestId']
|
3923
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3924
|
+
end
|
3925
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3926
|
+
raise e
|
3927
|
+
rescue StandardError => e
|
3928
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3929
|
+
end
|
3930
|
+
|
3879
3931
|
# 查询终端节点列表。
|
3880
3932
|
|
3881
3933
|
# @param request: Request instance for DescribeVpcEndPoint.
|
@@ -4977,6 +5029,61 @@ module TencentCloud
|
|
4977
5029
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4978
5030
|
end
|
4979
5031
|
|
5032
|
+
# 本接口(LockCcnBandwidths)用户锁定云联网限速实例。
|
5033
|
+
# 该接口一般用来封禁地域间限速的云联网实例下的限速实例, 目前联通内部运营系统通过云API调用, 如果是出口限速, 一般使用更粗的云联网实例粒度封禁(LockCcns)。
|
5034
|
+
# 如有需要, 可以封禁任意限速实例, 可接入到内部运营系统。
|
5035
|
+
|
5036
|
+
# @param request: Request instance for LockCcnBandwidths.
|
5037
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::LockCcnBandwidthsRequest`
|
5038
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::LockCcnBandwidthsResponse`
|
5039
|
+
def LockCcnBandwidths(request)
|
5040
|
+
body = send_request('LockCcnBandwidths', request.serialize)
|
5041
|
+
response = JSON.parse(body)
|
5042
|
+
if response['Response'].key?('Error') == false
|
5043
|
+
model = LockCcnBandwidthsResponse.new
|
5044
|
+
model.deserialize(response['Response'])
|
5045
|
+
model
|
5046
|
+
else
|
5047
|
+
code = response['Response']['Error']['Code']
|
5048
|
+
message = response['Response']['Error']['Message']
|
5049
|
+
reqid = response['Response']['RequestId']
|
5050
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
5051
|
+
end
|
5052
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
5053
|
+
raise e
|
5054
|
+
rescue StandardError => e
|
5055
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5056
|
+
end
|
5057
|
+
|
5058
|
+
# 本接口(LockCcns)用于锁定云联网实例
|
5059
|
+
|
5060
|
+
# 该接口一般用来封禁出口限速的云联网实例, 目前联通内部运营系统通过云API调用, 因为出口限速无法按地域间封禁, 只能按更粗的云联网实例粒度封禁, 如果是地域间限速, 一般可以通过更细的限速实例粒度封禁(LockCcnBandwidths)
|
5061
|
+
|
5062
|
+
# 如有需要, 可以封禁任意限速实例, 可接入到内部运营系统
|
5063
|
+
|
5064
|
+
|
5065
|
+
# @param request: Request instance for LockCcns.
|
5066
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::LockCcnsRequest`
|
5067
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::LockCcnsResponse`
|
5068
|
+
def LockCcns(request)
|
5069
|
+
body = send_request('LockCcns', request.serialize)
|
5070
|
+
response = JSON.parse(body)
|
5071
|
+
if response['Response'].key?('Error') == false
|
5072
|
+
model = LockCcnsResponse.new
|
5073
|
+
model.deserialize(response['Response'])
|
5074
|
+
model
|
5075
|
+
else
|
5076
|
+
code = response['Response']['Error']['Code']
|
5077
|
+
message = response['Response']['Error']['Message']
|
5078
|
+
reqid = response['Response']['RequestId']
|
5079
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
5080
|
+
end
|
5081
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
5082
|
+
raise e
|
5083
|
+
rescue StandardError => e
|
5084
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5085
|
+
end
|
5086
|
+
|
4980
5087
|
# 本接口(MigrateNetworkInterface)用于弹性网卡迁移。
|
4981
5088
|
# 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。
|
4982
5089
|
|
@@ -6719,6 +6826,61 @@ module TencentCloud
|
|
6719
6826
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6720
6827
|
end
|
6721
6828
|
|
6829
|
+
# 本接口(UnlockCcnBandwidths)用户解锁云联网限速实例。
|
6830
|
+
# 该接口一般用来封禁地域间限速的云联网实例下的限速实例, 目前联通内部运营系统通过云API调用, 如果是出口限速, 一般使用更粗的云联网实例粒度封禁(SecurityUnlockCcns)。
|
6831
|
+
# 如有需要, 可以封禁任意限速实例, 可接入到内部运营系统。
|
6832
|
+
|
6833
|
+
# @param request: Request instance for UnlockCcnBandwidths.
|
6834
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::UnlockCcnBandwidthsRequest`
|
6835
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::UnlockCcnBandwidthsResponse`
|
6836
|
+
def UnlockCcnBandwidths(request)
|
6837
|
+
body = send_request('UnlockCcnBandwidths', request.serialize)
|
6838
|
+
response = JSON.parse(body)
|
6839
|
+
if response['Response'].key?('Error') == false
|
6840
|
+
model = UnlockCcnBandwidthsResponse.new
|
6841
|
+
model.deserialize(response['Response'])
|
6842
|
+
model
|
6843
|
+
else
|
6844
|
+
code = response['Response']['Error']['Code']
|
6845
|
+
message = response['Response']['Error']['Message']
|
6846
|
+
reqid = response['Response']['RequestId']
|
6847
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
6848
|
+
end
|
6849
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
6850
|
+
raise e
|
6851
|
+
rescue StandardError => e
|
6852
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6853
|
+
end
|
6854
|
+
|
6855
|
+
# 本接口(UnlockCcns)用于解锁云联网实例
|
6856
|
+
|
6857
|
+
# 该接口一般用来解封禁出口限速的云联网实例, 目前联通内部运营系统通过云API调用, 因为出口限速无法按地域间解封禁, 只能按更粗的云联网实例粒度解封禁, 如果是地域间限速, 一般可以通过更细的限速实例粒度解封禁(UnlockCcnBandwidths)
|
6858
|
+
|
6859
|
+
# 如有需要, 可以封禁任意限速实例, 可接入到内部运营系统
|
6860
|
+
|
6861
|
+
|
6862
|
+
# @param request: Request instance for UnlockCcns.
|
6863
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::UnlockCcnsRequest`
|
6864
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::UnlockCcnsResponse`
|
6865
|
+
def UnlockCcns(request)
|
6866
|
+
body = send_request('UnlockCcns', request.serialize)
|
6867
|
+
response = JSON.parse(body)
|
6868
|
+
if response['Response'].key?('Error') == false
|
6869
|
+
model = UnlockCcnsResponse.new
|
6870
|
+
model.deserialize(response['Response'])
|
6871
|
+
model
|
6872
|
+
else
|
6873
|
+
code = response['Response']['Error']['Code']
|
6874
|
+
message = response['Response']['Error']['Message']
|
6875
|
+
reqid = response['Response']['RequestId']
|
6876
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
6877
|
+
end
|
6878
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
6879
|
+
raise e
|
6880
|
+
rescue StandardError => e
|
6881
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6882
|
+
end
|
6883
|
+
|
6722
6884
|
# 路由表列表页操作增加“从云联网撤销”,用于撤销已发布到云联网的路由。
|
6723
6885
|
|
6724
6886
|
# @param request: Request instance for WithdrawNotifyRoutes.
|
data/lib/v20170312/models.rb
CHANGED
@@ -6807,6 +6807,33 @@ module TencentCloud
|
|
6807
6807
|
end
|
6808
6808
|
end
|
6809
6809
|
|
6810
|
+
# DescribeCrossBorderCcnRegionBandwidthLimits请求参数结构体
|
6811
|
+
class DescribeCrossBorderCcnRegionBandwidthLimitsRequest < TencentCloud::Common::AbstractModel
|
6812
|
+
|
6813
|
+
|
6814
|
+
def initialize()
|
6815
|
+
end
|
6816
|
+
|
6817
|
+
def deserialize(params)
|
6818
|
+
end
|
6819
|
+
end
|
6820
|
+
|
6821
|
+
# DescribeCrossBorderCcnRegionBandwidthLimits返回参数结构体
|
6822
|
+
class DescribeCrossBorderCcnRegionBandwidthLimitsResponse < TencentCloud::Common::AbstractModel
|
6823
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6824
|
+
# @type RequestId: String
|
6825
|
+
|
6826
|
+
attr_accessor :RequestId
|
6827
|
+
|
6828
|
+
def initialize(requestid=nil)
|
6829
|
+
@RequestId = requestid
|
6830
|
+
end
|
6831
|
+
|
6832
|
+
def deserialize(params)
|
6833
|
+
@RequestId = params['RequestId']
|
6834
|
+
end
|
6835
|
+
end
|
6836
|
+
|
6810
6837
|
# DescribeCrossBorderCompliance请求参数结构体
|
6811
6838
|
class DescribeCrossBorderComplianceRequest < TencentCloud::Common::AbstractModel
|
6812
6839
|
# @param ServiceProvider: (精确匹配)服务商,可选值:`UNICOM`。
|
@@ -9245,6 +9272,33 @@ module TencentCloud
|
|
9245
9272
|
end
|
9246
9273
|
end
|
9247
9274
|
|
9275
|
+
# DescribeTenantCcns请求参数结构体
|
9276
|
+
class DescribeTenantCcnsRequest < TencentCloud::Common::AbstractModel
|
9277
|
+
|
9278
|
+
|
9279
|
+
def initialize()
|
9280
|
+
end
|
9281
|
+
|
9282
|
+
def deserialize(params)
|
9283
|
+
end
|
9284
|
+
end
|
9285
|
+
|
9286
|
+
# DescribeTenantCcns返回参数结构体
|
9287
|
+
class DescribeTenantCcnsResponse < TencentCloud::Common::AbstractModel
|
9288
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9289
|
+
# @type RequestId: String
|
9290
|
+
|
9291
|
+
attr_accessor :RequestId
|
9292
|
+
|
9293
|
+
def initialize(requestid=nil)
|
9294
|
+
@RequestId = requestid
|
9295
|
+
end
|
9296
|
+
|
9297
|
+
def deserialize(params)
|
9298
|
+
@RequestId = params['RequestId']
|
9299
|
+
end
|
9300
|
+
end
|
9301
|
+
|
9248
9302
|
# DescribeVpcEndPoint请求参数结构体
|
9249
9303
|
class DescribeVpcEndPointRequest < TencentCloud::Common::AbstractModel
|
9250
9304
|
# @param Filters: 过滤条件。
|
@@ -12473,6 +12527,60 @@ module TencentCloud
|
|
12473
12527
|
end
|
12474
12528
|
end
|
12475
12529
|
|
12530
|
+
# LockCcnBandwidths请求参数结构体
|
12531
|
+
class LockCcnBandwidthsRequest < TencentCloud::Common::AbstractModel
|
12532
|
+
|
12533
|
+
|
12534
|
+
def initialize()
|
12535
|
+
end
|
12536
|
+
|
12537
|
+
def deserialize(params)
|
12538
|
+
end
|
12539
|
+
end
|
12540
|
+
|
12541
|
+
# LockCcnBandwidths返回参数结构体
|
12542
|
+
class LockCcnBandwidthsResponse < TencentCloud::Common::AbstractModel
|
12543
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
12544
|
+
# @type RequestId: String
|
12545
|
+
|
12546
|
+
attr_accessor :RequestId
|
12547
|
+
|
12548
|
+
def initialize(requestid=nil)
|
12549
|
+
@RequestId = requestid
|
12550
|
+
end
|
12551
|
+
|
12552
|
+
def deserialize(params)
|
12553
|
+
@RequestId = params['RequestId']
|
12554
|
+
end
|
12555
|
+
end
|
12556
|
+
|
12557
|
+
# LockCcns请求参数结构体
|
12558
|
+
class LockCcnsRequest < TencentCloud::Common::AbstractModel
|
12559
|
+
|
12560
|
+
|
12561
|
+
def initialize()
|
12562
|
+
end
|
12563
|
+
|
12564
|
+
def deserialize(params)
|
12565
|
+
end
|
12566
|
+
end
|
12567
|
+
|
12568
|
+
# LockCcns返回参数结构体
|
12569
|
+
class LockCcnsResponse < TencentCloud::Common::AbstractModel
|
12570
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
12571
|
+
# @type RequestId: String
|
12572
|
+
|
12573
|
+
attr_accessor :RequestId
|
12574
|
+
|
12575
|
+
def initialize(requestid=nil)
|
12576
|
+
@RequestId = requestid
|
12577
|
+
end
|
12578
|
+
|
12579
|
+
def deserialize(params)
|
12580
|
+
@RequestId = params['RequestId']
|
12581
|
+
end
|
12582
|
+
end
|
12583
|
+
|
12476
12584
|
# 模板对象成员信息
|
12477
12585
|
class MemberInfo < TencentCloud::Common::AbstractModel
|
12478
12586
|
# @param Member: 模板对象成员
|
@@ -17515,6 +17623,60 @@ module TencentCloud
|
|
17515
17623
|
end
|
17516
17624
|
end
|
17517
17625
|
|
17626
|
+
# UnlockCcnBandwidths请求参数结构体
|
17627
|
+
class UnlockCcnBandwidthsRequest < TencentCloud::Common::AbstractModel
|
17628
|
+
|
17629
|
+
|
17630
|
+
def initialize()
|
17631
|
+
end
|
17632
|
+
|
17633
|
+
def deserialize(params)
|
17634
|
+
end
|
17635
|
+
end
|
17636
|
+
|
17637
|
+
# UnlockCcnBandwidths返回参数结构体
|
17638
|
+
class UnlockCcnBandwidthsResponse < TencentCloud::Common::AbstractModel
|
17639
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17640
|
+
# @type RequestId: String
|
17641
|
+
|
17642
|
+
attr_accessor :RequestId
|
17643
|
+
|
17644
|
+
def initialize(requestid=nil)
|
17645
|
+
@RequestId = requestid
|
17646
|
+
end
|
17647
|
+
|
17648
|
+
def deserialize(params)
|
17649
|
+
@RequestId = params['RequestId']
|
17650
|
+
end
|
17651
|
+
end
|
17652
|
+
|
17653
|
+
# UnlockCcns请求参数结构体
|
17654
|
+
class UnlockCcnsRequest < TencentCloud::Common::AbstractModel
|
17655
|
+
|
17656
|
+
|
17657
|
+
def initialize()
|
17658
|
+
end
|
17659
|
+
|
17660
|
+
def deserialize(params)
|
17661
|
+
end
|
17662
|
+
end
|
17663
|
+
|
17664
|
+
# UnlockCcns返回参数结构体
|
17665
|
+
class UnlockCcnsResponse < TencentCloud::Common::AbstractModel
|
17666
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17667
|
+
# @type RequestId: String
|
17668
|
+
|
17669
|
+
attr_accessor :RequestId
|
17670
|
+
|
17671
|
+
def initialize(requestid=nil)
|
17672
|
+
@RequestId = requestid
|
17673
|
+
end
|
17674
|
+
|
17675
|
+
def deserialize(params)
|
17676
|
+
@RequestId = params['RequestId']
|
17677
|
+
end
|
17678
|
+
end
|
17679
|
+
|
17518
17680
|
# 私有网络(VPC)对象。
|
17519
17681
|
class Vpc < TencentCloud::Common::AbstractModel
|
17520
17682
|
# @param VpcName: `VPC`名称。
|
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: 1.0.
|
4
|
+
version: 1.0.278
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|