tencentcloud-sdk-vpc 3.0.970 → 3.0.972
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 +72 -0
- data/lib/v20170312/models.rb +228 -47
- 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: f1ba8059ad4ee0f16144885ce2002fffb5cde84d
|
4
|
+
data.tar.gz: 66c7b92ee99e13d2aff2d6adf2cd0c15ac3732ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5333c209dec6257dbd04481a9d5205473b91c31dcc38e2f620d222cf8f26c4898a7e73a2bcda0dba49fa2123ae605277bec84796795aa1e17c9a5215c5e7d208
|
7
|
+
data.tar.gz: 80eb68e72c2c69f6bb72e5f4ba8bc5b43f5450688d851c9b906b2160e846559cfb60df6c748689419bfe001980f2612155d6b803628026ff7e9d1ac6fe70e3fa
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.972
|
data/lib/v20170312/client.rb
CHANGED
@@ -6820,6 +6820,30 @@ module TencentCloud
|
|
6820
6820
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6821
6821
|
end
|
6822
6822
|
|
6823
|
+
# 本接口(InquiryPriceAllocateAddresses)用于新购弹性公网IP询价。
|
6824
|
+
|
6825
|
+
# @param request: Request instance for InquiryPriceAllocateAddresses.
|
6826
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::InquiryPriceAllocateAddressesRequest`
|
6827
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::InquiryPriceAllocateAddressesResponse`
|
6828
|
+
def InquiryPriceAllocateAddresses(request)
|
6829
|
+
body = send_request('InquiryPriceAllocateAddresses', request.serialize)
|
6830
|
+
response = JSON.parse(body)
|
6831
|
+
if response['Response'].key?('Error') == false
|
6832
|
+
model = InquiryPriceAllocateAddressesResponse.new
|
6833
|
+
model.deserialize(response['Response'])
|
6834
|
+
model
|
6835
|
+
else
|
6836
|
+
code = response['Response']['Error']['Code']
|
6837
|
+
message = response['Response']['Error']['Message']
|
6838
|
+
reqid = response['Response']['RequestId']
|
6839
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
6840
|
+
end
|
6841
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
6842
|
+
raise e
|
6843
|
+
rescue StandardError => e
|
6844
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6845
|
+
end
|
6846
|
+
|
6823
6847
|
# 本接口(InquiryPriceCreateVpnGateway)用于创建VPN网关询价。
|
6824
6848
|
|
6825
6849
|
# @param request: Request instance for InquiryPriceCreateVpnGateway.
|
@@ -6844,6 +6868,54 @@ module TencentCloud
|
|
6844
6868
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6845
6869
|
end
|
6846
6870
|
|
6871
|
+
# EIP修改带宽询价
|
6872
|
+
|
6873
|
+
# @param request: Request instance for InquiryPriceModifyAddressesBandwidth.
|
6874
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::InquiryPriceModifyAddressesBandwidthRequest`
|
6875
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::InquiryPriceModifyAddressesBandwidthResponse`
|
6876
|
+
def InquiryPriceModifyAddressesBandwidth(request)
|
6877
|
+
body = send_request('InquiryPriceModifyAddressesBandwidth', request.serialize)
|
6878
|
+
response = JSON.parse(body)
|
6879
|
+
if response['Response'].key?('Error') == false
|
6880
|
+
model = InquiryPriceModifyAddressesBandwidthResponse.new
|
6881
|
+
model.deserialize(response['Response'])
|
6882
|
+
model
|
6883
|
+
else
|
6884
|
+
code = response['Response']['Error']['Code']
|
6885
|
+
message = response['Response']['Error']['Message']
|
6886
|
+
reqid = response['Response']['RequestId']
|
6887
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
6888
|
+
end
|
6889
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
6890
|
+
raise e
|
6891
|
+
rescue StandardError => e
|
6892
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6893
|
+
end
|
6894
|
+
|
6895
|
+
# 本接口(InquiryPriceRenewAddresses)用于续费预付费弹性公网IP询价。
|
6896
|
+
|
6897
|
+
# @param request: Request instance for InquiryPriceRenewAddresses.
|
6898
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::InquiryPriceRenewAddressesRequest`
|
6899
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::InquiryPriceRenewAddressesResponse`
|
6900
|
+
def InquiryPriceRenewAddresses(request)
|
6901
|
+
body = send_request('InquiryPriceRenewAddresses', request.serialize)
|
6902
|
+
response = JSON.parse(body)
|
6903
|
+
if response['Response'].key?('Error') == false
|
6904
|
+
model = InquiryPriceRenewAddressesResponse.new
|
6905
|
+
model.deserialize(response['Response'])
|
6906
|
+
model
|
6907
|
+
else
|
6908
|
+
code = response['Response']['Error']['Code']
|
6909
|
+
message = response['Response']['Error']['Message']
|
6910
|
+
reqid = response['Response']['RequestId']
|
6911
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
6912
|
+
end
|
6913
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
6914
|
+
raise e
|
6915
|
+
rescue StandardError => e
|
6916
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6917
|
+
end
|
6918
|
+
|
6847
6919
|
# 本接口(InquiryPriceRenewVpnGateway)用于续费VPN网关询价。目前仅支持IPSEC类型网关的询价。
|
6848
6920
|
|
6849
6921
|
# @param request: Request instance for InquiryPriceRenewVpnGateway.
|
data/lib/v20170312/models.rb
CHANGED
@@ -105,7 +105,6 @@ module TencentCloud
|
|
105
105
|
# @param UpdateTime: 更新时间
|
106
106
|
# @type UpdateTime: String
|
107
107
|
# @param Remark: Remark
|
108
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
109
108
|
# @type Remark: String
|
110
109
|
|
111
110
|
attr_accessor :TargetCidr, :VpnGatewayIdSslAccessPolicyId, :ForAllClient, :UserGroupIds, :UpdateTime, :Remark
|
@@ -1978,19 +1977,14 @@ module TencentCloud
|
|
1978
1977
|
# VPN通道BGP配置
|
1979
1978
|
class BgpConfigAndAsn < TencentCloud::Common::AbstractModel
|
1980
1979
|
# @param TunnelCidr: BGP通道CIDR
|
1981
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1982
1980
|
# @type TunnelCidr: String
|
1983
1981
|
# @param LocalBgpIp: 本端BGP IP
|
1984
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1985
1982
|
# @type LocalBgpIp: String
|
1986
1983
|
# @param RemoteBgpIp: 对端BGP IP
|
1987
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1988
1984
|
# @type RemoteBgpIp: String
|
1989
1985
|
# @param LocalBgpAsn: 本端BGP ASN号
|
1990
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1991
1986
|
# @type LocalBgpAsn: String
|
1992
1987
|
# @param RemoteBgpAsn: 对端BGP ASN号
|
1993
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1994
1988
|
# @type RemoteBgpAsn: String
|
1995
1989
|
|
1996
1990
|
attr_accessor :TunnelCidr, :LocalBgpIp, :RemoteBgpIp, :LocalBgpAsn, :RemoteBgpAsn
|
@@ -2280,33 +2274,29 @@ module TencentCloud
|
|
2280
2274
|
# 用于描述云联网地域间限速带宽实例的信息。
|
2281
2275
|
class CcnBandwidthInfo < TencentCloud::Common::AbstractModel
|
2282
2276
|
# @param CcnId: 带宽所属的云联网ID。
|
2283
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2284
2277
|
# @type CcnId: String
|
2285
2278
|
# @param CreatedTime: 实例的创建时间。
|
2286
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2287
2279
|
# @type CreatedTime: String
|
2288
2280
|
# @param ExpiredTime: 实例的过期时间
|
2289
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2290
2281
|
# @type ExpiredTime: String
|
2291
2282
|
# @param RegionFlowControlId: 带宽实例的唯一ID。
|
2292
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2293
2283
|
# @type RegionFlowControlId: String
|
2294
2284
|
# @param RenewFlag: 带宽是否自动续费的标记。
|
2295
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2296
2285
|
# @type RenewFlag: String
|
2297
2286
|
# @param CcnRegionBandwidthLimit: 描述带宽的地域和限速上限信息。在地域间限速的情况下才会返回参数,出口限速模式不返回。
|
2298
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2299
2287
|
# @type CcnRegionBandwidthLimit: :class:`Tencentcloud::Vpc.v20170312.models.CcnRegionBandwidthLimit`
|
2300
2288
|
# @param MarketId: 云市场实例ID。
|
2301
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2302
2289
|
# @type MarketId: String
|
2303
2290
|
# @param TagSet: 资源绑定的标签列表
|
2304
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2305
2291
|
# @type TagSet: Array
|
2292
|
+
# @param DefaultQosBandwidthFlag: `true表示`Qos默认带宽;`false`表示非Qos默认带宽;
|
2293
|
+
# @type DefaultQosBandwidthFlag: Boolean
|
2294
|
+
# @param QosLevel: 服务等级信息。
|
2295
|
+
# @type QosLevel: String
|
2306
2296
|
|
2307
|
-
attr_accessor :CcnId, :CreatedTime, :ExpiredTime, :RegionFlowControlId, :RenewFlag, :CcnRegionBandwidthLimit, :MarketId, :TagSet
|
2297
|
+
attr_accessor :CcnId, :CreatedTime, :ExpiredTime, :RegionFlowControlId, :RenewFlag, :CcnRegionBandwidthLimit, :MarketId, :TagSet, :DefaultQosBandwidthFlag, :QosLevel
|
2308
2298
|
|
2309
|
-
def initialize(ccnid=nil, createdtime=nil, expiredtime=nil, regionflowcontrolid=nil, renewflag=nil, ccnregionbandwidthlimit=nil, marketid=nil, tagset=nil)
|
2299
|
+
def initialize(ccnid=nil, createdtime=nil, expiredtime=nil, regionflowcontrolid=nil, renewflag=nil, ccnregionbandwidthlimit=nil, marketid=nil, tagset=nil, defaultqosbandwidthflag=nil, qoslevel=nil)
|
2310
2300
|
@CcnId = ccnid
|
2311
2301
|
@CreatedTime = createdtime
|
2312
2302
|
@ExpiredTime = expiredtime
|
@@ -2315,6 +2305,8 @@ module TencentCloud
|
|
2315
2305
|
@CcnRegionBandwidthLimit = ccnregionbandwidthlimit
|
2316
2306
|
@MarketId = marketid
|
2317
2307
|
@TagSet = tagset
|
2308
|
+
@DefaultQosBandwidthFlag = defaultqosbandwidthflag
|
2309
|
+
@QosLevel = qoslevel
|
2318
2310
|
end
|
2319
2311
|
|
2320
2312
|
def deserialize(params)
|
@@ -2336,6 +2328,8 @@ module TencentCloud
|
|
2336
2328
|
@TagSet << tag_tmp
|
2337
2329
|
end
|
2338
2330
|
end
|
2331
|
+
@DefaultQosBandwidthFlag = params['DefaultQosBandwidthFlag']
|
2332
|
+
@QosLevel = params['QosLevel']
|
2339
2333
|
end
|
2340
2334
|
end
|
2341
2335
|
|
@@ -2402,10 +2396,8 @@ module TencentCloud
|
|
2402
2396
|
# @param Description: 备注
|
2403
2397
|
# @type Description: String
|
2404
2398
|
# @param RouteTableId: 实例关联的路由表ID。
|
2405
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2406
2399
|
# @type RouteTableId: String
|
2407
2400
|
# @param OrderType: 实例付费方式
|
2408
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2409
2401
|
# @type OrderType: String
|
2410
2402
|
|
2411
2403
|
attr_accessor :InstanceId, :InstanceRegion, :InstanceType, :Description, :RouteTableId, :OrderType
|
@@ -2431,12 +2423,17 @@ module TencentCloud
|
|
2431
2423
|
|
2432
2424
|
# 云联网实例对象,该对象特用于运营端使用,不建议给租户的接口中提供该复杂类型。
|
2433
2425
|
class CcnInstanceInfo < TencentCloud::Common::AbstractModel
|
2426
|
+
# @param CcnId: 云联网唯一ID。
|
2427
|
+
# @type CcnId: String
|
2434
2428
|
|
2429
|
+
attr_accessor :CcnId
|
2435
2430
|
|
2436
|
-
def initialize()
|
2431
|
+
def initialize(ccnid=nil)
|
2432
|
+
@CcnId = ccnid
|
2437
2433
|
end
|
2438
2434
|
|
2439
2435
|
def deserialize(params)
|
2436
|
+
@CcnId = params['CcnId']
|
2440
2437
|
end
|
2441
2438
|
end
|
2442
2439
|
|
@@ -2476,7 +2473,6 @@ module TencentCloud
|
|
2476
2473
|
# @param IsBm: 是否黑石地域,默认`false`。
|
2477
2474
|
# @type IsBm: Boolean
|
2478
2475
|
# @param DstRegion: 目的地域,例如:ap-shanghai
|
2479
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2480
2476
|
# @type DstRegion: String
|
2481
2477
|
# @param DstIsBm: 目的地域是否为黑石地域,默认`false`。
|
2482
2478
|
# @type DstIsBm: Boolean
|
@@ -2503,13 +2499,10 @@ module TencentCloud
|
|
2503
2499
|
# 云联网(CCN)地域出带宽上限。
|
2504
2500
|
class CcnRegionBandwidthLimitInfo < TencentCloud::Common::AbstractModel
|
2505
2501
|
# @param SourceRegion: 源地域,例如:ap-shanghai
|
2506
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2507
2502
|
# @type SourceRegion: String
|
2508
2503
|
# @param DestinationRegion: 目的地域, 例如:ap-shanghai
|
2509
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2510
2504
|
# @type DestinationRegion: String
|
2511
2505
|
# @param BandwidthLimit: 出带宽上限,单位:Mbps。
|
2512
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2513
2506
|
# @type BandwidthLimit: Integer
|
2514
2507
|
|
2515
2508
|
attr_accessor :SourceRegion, :DestinationRegion, :BandwidthLimit
|
@@ -2556,10 +2549,8 @@ module TencentCloud
|
|
2556
2549
|
# @param InstanceExtraName: 下一跳扩展名称(关联实例的扩展名称)
|
2557
2550
|
# @type InstanceExtraName: String
|
2558
2551
|
# @param AliasType: 实例类型
|
2559
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2560
2552
|
# @type AliasType: String
|
2561
2553
|
# @param AliasInstanceId: 实例id
|
2562
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2563
2554
|
# @type AliasInstanceId: String
|
2564
2555
|
|
2565
2556
|
attr_accessor :RouteId, :DestinationCidrBlock, :InstanceType, :InstanceId, :InstanceName, :InstanceRegion, :UpdateTime, :Enabled, :InstanceUin, :ExtraState, :IsBgp, :RoutePriority, :InstanceExtraName, :AliasType, :AliasInstanceId
|
@@ -2672,16 +2663,12 @@ module TencentCloud
|
|
2672
2663
|
# @param Description: 策略描述
|
2673
2664
|
# @type Description: String
|
2674
2665
|
# @param OperateAsPath: as-path操作
|
2675
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2676
2666
|
# @type OperateAsPath: String
|
2677
2667
|
# @param AsPathOperateMode: as-path操作模式
|
2678
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2679
2668
|
# @type AsPathOperateMode: String
|
2680
2669
|
# @param OperateCommunitySet: community操作
|
2681
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2682
2670
|
# @type OperateCommunitySet: Array
|
2683
2671
|
# @param CommunityOperateMode: community操作模式
|
2684
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2685
2672
|
# @type CommunityOperateMode: String
|
2686
2673
|
|
2687
2674
|
attr_accessor :RouteConditions, :BroadcastConditions, :Action, :Description, :OperateAsPath, :AsPathOperateMode, :OperateCommunitySet, :CommunityOperateMode
|
@@ -2796,13 +2783,10 @@ module TencentCloud
|
|
2796
2783
|
# 云联网路由接收策略列表
|
2797
2784
|
class CcnRouteTableInputPolicys < TencentCloud::Common::AbstractModel
|
2798
2785
|
# @param Policys: 策略列表。
|
2799
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2800
2786
|
# @type Policys: Array
|
2801
2787
|
# @param PolicyVersion: 版本号。
|
2802
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2803
2788
|
# @type PolicyVersion: Integer
|
2804
2789
|
# @param CreateTime: 创建时间。
|
2805
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2806
2790
|
# @type CreateTime: String
|
2807
2791
|
|
2808
2792
|
attr_accessor :Policys, :PolicyVersion, :CreateTime
|
@@ -6748,10 +6732,8 @@ module TencentCloud
|
|
6748
6732
|
# @param CreatedTime: 审批单创建时间。
|
6749
6733
|
# @type CreatedTime: String
|
6750
6734
|
# @param LegalPersonId: 法定代表人身份证号。
|
6751
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6752
6735
|
# @type LegalPersonId: String
|
6753
6736
|
# @param LegalPersonIdCard: 法定代表人身份证。
|
6754
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6755
6737
|
# @type LegalPersonIdCard: String
|
6756
6738
|
|
6757
6739
|
attr_accessor :ServiceProvider, :ComplianceId, :Company, :UniformSocialCreditCode, :LegalPerson, :IssuingAuthority, :BusinessLicense, :BusinessAddress, :PostCode, :Manager, :ManagerId, :ManagerIdCard, :ManagerAddress, :ManagerTelephone, :Email, :ServiceHandlingForm, :AuthorizationLetter, :SafetyCommitment, :ServiceStartDate, :ServiceEndDate, :State, :CreatedTime, :LegalPersonId, :LegalPersonIdCard
|
@@ -6874,10 +6856,13 @@ module TencentCloud
|
|
6874
6856
|
# 对端网关厂商信息对象。
|
6875
6857
|
class CustomerGatewayVendor < TencentCloud::Common::AbstractModel
|
6876
6858
|
# @param Platform: 平台。
|
6859
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6877
6860
|
# @type Platform: String
|
6878
6861
|
# @param SoftwareVersion: 软件版本。
|
6862
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6879
6863
|
# @type SoftwareVersion: String
|
6880
6864
|
# @param VendorName: 供应商名称。
|
6865
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6881
6866
|
# @type VendorName: String
|
6882
6867
|
|
6883
6868
|
attr_accessor :Platform, :SoftwareVersion, :VendorName
|
@@ -10203,7 +10188,6 @@ module TencentCloud
|
|
10203
10188
|
# DescribeCrossBorderFlowMonitor返回参数结构体
|
10204
10189
|
class DescribeCrossBorderFlowMonitorResponse < TencentCloud::Common::AbstractModel
|
10205
10190
|
# @param CrossBorderFlowMonitorData: 云联网跨境带宽监控数据
|
10206
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10207
10191
|
# @type CrossBorderFlowMonitorData: Array
|
10208
10192
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10209
10193
|
# @type RequestId: String
|
@@ -14081,7 +14065,6 @@ module TencentCloud
|
|
14081
14065
|
# DescribeTenantCcns返回参数结构体
|
14082
14066
|
class DescribeTenantCcnsResponse < TencentCloud::Common::AbstractModel
|
14083
14067
|
# @param CcnSet: 云联网(CCN)对象。
|
14084
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
14085
14068
|
# @type CcnSet: Array
|
14086
14069
|
# @param TotalCount: 符合条件的对象总数。
|
14087
14070
|
# @type TotalCount: Integer
|
@@ -15150,7 +15133,6 @@ module TencentCloud
|
|
15150
15133
|
# @param Routes: VPN网关目的路由。
|
15151
15134
|
# @type Routes: Array
|
15152
15135
|
# @param TotalCount: 路由条数。
|
15153
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15154
15136
|
# @type TotalCount: Integer
|
15155
15137
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
15156
15138
|
# @type RequestId: String
|
@@ -17252,10 +17234,8 @@ module TencentCloud
|
|
17252
17234
|
# GetCcnRegionBandwidthLimits返回参数结构体
|
17253
17235
|
class GetCcnRegionBandwidthLimitsResponse < TencentCloud::Common::AbstractModel
|
17254
17236
|
# @param CcnBandwidthSet: 云联网(CCN)各地域出带宽详情。
|
17255
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
17256
17237
|
# @type CcnBandwidthSet: Array
|
17257
17238
|
# @param TotalCount: 符合条件的对象数。
|
17258
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
17259
17239
|
# @type TotalCount: Integer
|
17260
17240
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17261
17241
|
# @type RequestId: String
|
@@ -17774,6 +17754,77 @@ module TencentCloud
|
|
17774
17754
|
end
|
17775
17755
|
end
|
17776
17756
|
|
17757
|
+
# InquiryPriceAllocateAddresses请求参数结构体
|
17758
|
+
class InquiryPriceAllocateAddressesRequest < TencentCloud::Common::AbstractModel
|
17759
|
+
# @param InternetChargeType: EIP计费方式。
|
17760
|
+
# <ul style="margin:0"><li>账号为标准账户类型的用户,可选值:<ul>
|
17761
|
+
# <li>BANDWIDTH_POSTPAID_BY_HOUR:带宽按小时后付费</li>
|
17762
|
+
# <li>BANDWIDTH_PREPAID_BY_MONTH:包月按带宽预付费</li>
|
17763
|
+
# <li>TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费</li></ul>默认值:TRAFFIC_POSTPAID_BY_HOUR。</li>
|
17764
|
+
# </ul>
|
17765
|
+
# @type InternetChargeType: String
|
17766
|
+
# @param InternetMaxBandwidthOut: EIP出带宽上限,单位:Mbps。
|
17767
|
+
# <ul style="margin:0"><li>账号为标准账户类型的用户,可选值范围取决于EIP计费方式:<ul>
|
17768
|
+
# <li>BANDWIDTH_POSTPAID_BY_HOUR:1 Mbps 至 100 Mbps</li>
|
17769
|
+
# <li>BANDWIDTH_PREPAID_BY_MONTH:1 Mbps 至 200 Mbps</li>
|
17770
|
+
# <li>TRAFFIC_POSTPAID_BY_HOUR:1 Mbps 至 100 Mbps</li></ul>默认值:1 Mbps。</li>
|
17771
|
+
# <li>账号为传统账户类型的用户,EIP出带宽上限取决于与其绑定的实例的公网出带宽上限,无需传递此参数。</li></ul>
|
17772
|
+
# @type InternetMaxBandwidthOut: Integer
|
17773
|
+
# @param AddressChargePrepaid: 包月按带宽预付费EIP的计费参数。EIP为包月按带宽预付费时,该参数必传,其余场景不需传递
|
17774
|
+
# @type AddressChargePrepaid: :class:`Tencentcloud::Vpc.v20170312.models.AddressChargePrepaid`
|
17775
|
+
# @param AddressType: EIP类型。默认值:EIP。
|
17776
|
+
|
17777
|
+
# <ul style="margin:0"><li>精品IP,可选值:<ul><li>HighQualityEIP:精品IP</li></ul>注意:仅部分地域支持精品IP。</li></ul><ul style="margin:0">
|
17778
|
+
# <li>高防IP,可选值:<ul>
|
17779
|
+
# <li>AntiDDoSEIP:高防IP</li>
|
17780
|
+
# </ul>
|
17781
|
+
# </li>
|
17782
|
+
# </ul>
|
17783
|
+
# @type AddressType: String
|
17784
|
+
|
17785
|
+
attr_accessor :InternetChargeType, :InternetMaxBandwidthOut, :AddressChargePrepaid, :AddressType
|
17786
|
+
|
17787
|
+
def initialize(internetchargetype=nil, internetmaxbandwidthout=nil, addresschargeprepaid=nil, addresstype=nil)
|
17788
|
+
@InternetChargeType = internetchargetype
|
17789
|
+
@InternetMaxBandwidthOut = internetmaxbandwidthout
|
17790
|
+
@AddressChargePrepaid = addresschargeprepaid
|
17791
|
+
@AddressType = addresstype
|
17792
|
+
end
|
17793
|
+
|
17794
|
+
def deserialize(params)
|
17795
|
+
@InternetChargeType = params['InternetChargeType']
|
17796
|
+
@InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
|
17797
|
+
unless params['AddressChargePrepaid'].nil?
|
17798
|
+
@AddressChargePrepaid = AddressChargePrepaid.new
|
17799
|
+
@AddressChargePrepaid.deserialize(params['AddressChargePrepaid'])
|
17800
|
+
end
|
17801
|
+
@AddressType = params['AddressType']
|
17802
|
+
end
|
17803
|
+
end
|
17804
|
+
|
17805
|
+
# InquiryPriceAllocateAddresses返回参数结构体
|
17806
|
+
class InquiryPriceAllocateAddressesResponse < TencentCloud::Common::AbstractModel
|
17807
|
+
# @param Price: 弹性公网IP价格
|
17808
|
+
# @type Price: :class:`Tencentcloud::Vpc.v20170312.models.InternetPrice`
|
17809
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17810
|
+
# @type RequestId: String
|
17811
|
+
|
17812
|
+
attr_accessor :Price, :RequestId
|
17813
|
+
|
17814
|
+
def initialize(price=nil, requestid=nil)
|
17815
|
+
@Price = price
|
17816
|
+
@RequestId = requestid
|
17817
|
+
end
|
17818
|
+
|
17819
|
+
def deserialize(params)
|
17820
|
+
unless params['Price'].nil?
|
17821
|
+
@Price = InternetPrice.new
|
17822
|
+
@Price.deserialize(params['Price'])
|
17823
|
+
end
|
17824
|
+
@RequestId = params['RequestId']
|
17825
|
+
end
|
17826
|
+
end
|
17827
|
+
|
17777
17828
|
# InquiryPriceCreateVpnGateway请求参数结构体
|
17778
17829
|
class InquiryPriceCreateVpnGatewayRequest < TencentCloud::Common::AbstractModel
|
17779
17830
|
# @param InternetMaxBandwidthOut: 公网带宽设置。可选带宽规格:5, 10, 20, 50, 100, 200, 500, 1000, 3000;单位:Mbps。
|
@@ -17832,6 +17883,95 @@ module TencentCloud
|
|
17832
17883
|
end
|
17833
17884
|
end
|
17834
17885
|
|
17886
|
+
# InquiryPriceModifyAddressesBandwidth请求参数结构体
|
17887
|
+
class InquiryPriceModifyAddressesBandwidthRequest < TencentCloud::Common::AbstractModel
|
17888
|
+
# @param AddressIds: EIP唯一ID
|
17889
|
+
# @type AddressIds: Array
|
17890
|
+
# @param InternetMaxBandwidthOut: 新带宽值
|
17891
|
+
# @type InternetMaxBandwidthOut: Integer
|
17892
|
+
|
17893
|
+
attr_accessor :AddressIds, :InternetMaxBandwidthOut
|
17894
|
+
|
17895
|
+
def initialize(addressids=nil, internetmaxbandwidthout=nil)
|
17896
|
+
@AddressIds = addressids
|
17897
|
+
@InternetMaxBandwidthOut = internetmaxbandwidthout
|
17898
|
+
end
|
17899
|
+
|
17900
|
+
def deserialize(params)
|
17901
|
+
@AddressIds = params['AddressIds']
|
17902
|
+
@InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
|
17903
|
+
end
|
17904
|
+
end
|
17905
|
+
|
17906
|
+
# InquiryPriceModifyAddressesBandwidth返回参数结构体
|
17907
|
+
class InquiryPriceModifyAddressesBandwidthResponse < TencentCloud::Common::AbstractModel
|
17908
|
+
# @param Price: 弹性公网IP调整带宽询价结果
|
17909
|
+
# @type Price: :class:`Tencentcloud::Vpc.v20170312.models.InternetPrice`
|
17910
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17911
|
+
# @type RequestId: String
|
17912
|
+
|
17913
|
+
attr_accessor :Price, :RequestId
|
17914
|
+
|
17915
|
+
def initialize(price=nil, requestid=nil)
|
17916
|
+
@Price = price
|
17917
|
+
@RequestId = requestid
|
17918
|
+
end
|
17919
|
+
|
17920
|
+
def deserialize(params)
|
17921
|
+
unless params['Price'].nil?
|
17922
|
+
@Price = InternetPrice.new
|
17923
|
+
@Price.deserialize(params['Price'])
|
17924
|
+
end
|
17925
|
+
@RequestId = params['RequestId']
|
17926
|
+
end
|
17927
|
+
end
|
17928
|
+
|
17929
|
+
# InquiryPriceRenewAddresses请求参数结构体
|
17930
|
+
class InquiryPriceRenewAddressesRequest < TencentCloud::Common::AbstractModel
|
17931
|
+
# @param AddressIds: 续费资源实例ID。
|
17932
|
+
# @type AddressIds: Array
|
17933
|
+
# @param AddressChargePrepaid: 包月按带宽预付费EIP的计费参数。EIP为包月按带宽预付费时,该参数必传,其余场景不需传递。
|
17934
|
+
# @type AddressChargePrepaid: :class:`Tencentcloud::Vpc.v20170312.models.AddressChargePrepaid`
|
17935
|
+
|
17936
|
+
attr_accessor :AddressIds, :AddressChargePrepaid
|
17937
|
+
|
17938
|
+
def initialize(addressids=nil, addresschargeprepaid=nil)
|
17939
|
+
@AddressIds = addressids
|
17940
|
+
@AddressChargePrepaid = addresschargeprepaid
|
17941
|
+
end
|
17942
|
+
|
17943
|
+
def deserialize(params)
|
17944
|
+
@AddressIds = params['AddressIds']
|
17945
|
+
unless params['AddressChargePrepaid'].nil?
|
17946
|
+
@AddressChargePrepaid = AddressChargePrepaid.new
|
17947
|
+
@AddressChargePrepaid.deserialize(params['AddressChargePrepaid'])
|
17948
|
+
end
|
17949
|
+
end
|
17950
|
+
end
|
17951
|
+
|
17952
|
+
# InquiryPriceRenewAddresses返回参数结构体
|
17953
|
+
class InquiryPriceRenewAddressesResponse < TencentCloud::Common::AbstractModel
|
17954
|
+
# @param Price: 弹性公网IP续费价格。
|
17955
|
+
# @type Price: :class:`Tencentcloud::Vpc.v20170312.models.InternetPrice`
|
17956
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17957
|
+
# @type RequestId: String
|
17958
|
+
|
17959
|
+
attr_accessor :Price, :RequestId
|
17960
|
+
|
17961
|
+
def initialize(price=nil, requestid=nil)
|
17962
|
+
@Price = price
|
17963
|
+
@RequestId = requestid
|
17964
|
+
end
|
17965
|
+
|
17966
|
+
def deserialize(params)
|
17967
|
+
unless params['Price'].nil?
|
17968
|
+
@Price = InternetPrice.new
|
17969
|
+
@Price.deserialize(params['Price'])
|
17970
|
+
end
|
17971
|
+
@RequestId = params['RequestId']
|
17972
|
+
end
|
17973
|
+
end
|
17974
|
+
|
17835
17975
|
# InquiryPriceRenewVpnGateway请求参数结构体
|
17836
17976
|
class InquiryPriceRenewVpnGatewayRequest < TencentCloud::Common::AbstractModel
|
17837
17977
|
# @param VpnGatewayId: VPN网关实例ID。
|
@@ -18018,6 +18158,55 @@ module TencentCloud
|
|
18018
18158
|
end
|
18019
18159
|
end
|
18020
18160
|
|
18161
|
+
# 公网询价出参
|
18162
|
+
class InternetPrice < TencentCloud::Common::AbstractModel
|
18163
|
+
# @param AddressPrice: 公网IP询价详细参数。
|
18164
|
+
# @type AddressPrice: :class:`Tencentcloud::Vpc.v20170312.models.InternetPriceDetail`
|
18165
|
+
|
18166
|
+
attr_accessor :AddressPrice
|
18167
|
+
|
18168
|
+
def initialize(addressprice=nil)
|
18169
|
+
@AddressPrice = addressprice
|
18170
|
+
end
|
18171
|
+
|
18172
|
+
def deserialize(params)
|
18173
|
+
unless params['AddressPrice'].nil?
|
18174
|
+
@AddressPrice = InternetPriceDetail.new
|
18175
|
+
@AddressPrice.deserialize(params['AddressPrice'])
|
18176
|
+
end
|
18177
|
+
end
|
18178
|
+
end
|
18179
|
+
|
18180
|
+
# 公网IP询价出参
|
18181
|
+
class InternetPriceDetail < TencentCloud::Common::AbstractModel
|
18182
|
+
# @param UnitPrice: 付费单价,单位:元,仅后付费价格查询返回。
|
18183
|
+
# @type UnitPrice: Float
|
18184
|
+
# @param DiscountPrice: 折扣后的价格,单位:元。
|
18185
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18186
|
+
# @type DiscountPrice: Float
|
18187
|
+
# @param ChargeUnit: 计价单元,可取值范围:<ul> <li>HOUR:表示计价单元是按每小时来计算。当前涉及该计价单元的场景有:流量按小时后付费(TRAFFIC_POSTPAID_BY_HOUR)、带宽按小时后付费(BANDWIDTH_POSTPAID_BY_HOUR)。</li></ul>
|
18188
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18189
|
+
# @type ChargeUnit: String
|
18190
|
+
# @param OriginalPrice: 原价,单位:元,仅预付费价格查询返回。
|
18191
|
+
# @type OriginalPrice: Float
|
18192
|
+
|
18193
|
+
attr_accessor :UnitPrice, :DiscountPrice, :ChargeUnit, :OriginalPrice
|
18194
|
+
|
18195
|
+
def initialize(unitprice=nil, discountprice=nil, chargeunit=nil, originalprice=nil)
|
18196
|
+
@UnitPrice = unitprice
|
18197
|
+
@DiscountPrice = discountprice
|
18198
|
+
@ChargeUnit = chargeunit
|
18199
|
+
@OriginalPrice = originalprice
|
18200
|
+
end
|
18201
|
+
|
18202
|
+
def deserialize(params)
|
18203
|
+
@UnitPrice = params['UnitPrice']
|
18204
|
+
@DiscountPrice = params['DiscountPrice']
|
18205
|
+
@ChargeUnit = params['ChargeUnit']
|
18206
|
+
@OriginalPrice = params['OriginalPrice']
|
18207
|
+
end
|
18208
|
+
end
|
18209
|
+
|
18021
18210
|
# IPV6转换规则
|
18022
18211
|
class Ip6Rule < TencentCloud::Common::AbstractModel
|
18023
18212
|
# @param Ip6RuleId: IPV6转换规则唯一ID,形如rule6-xxxxxxxx
|
@@ -21443,7 +21632,6 @@ module TencentCloud
|
|
21443
21632
|
# ModifyVpnGatewayRoutes返回参数结构体
|
21444
21633
|
class ModifyVpnGatewayRoutesResponse < TencentCloud::Common::AbstractModel
|
21445
21634
|
# @param Routes: VPN路由信息
|
21446
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
21447
21635
|
# @type Routes: Array
|
21448
21636
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21449
21637
|
# @type RequestId: String
|
@@ -24531,7 +24719,6 @@ module TencentCloud
|
|
24531
24719
|
# @param SourceCidrBlock: 源端cidr。
|
24532
24720
|
# @type SourceCidrBlock: String
|
24533
24721
|
# @param Description: 路由表描述。
|
24534
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
24535
24722
|
# @type Description: String
|
24536
24723
|
# @param InstanceId: 实例ID。
|
24537
24724
|
# @type InstanceId: String
|
@@ -26638,24 +26825,18 @@ module TencentCloud
|
|
26638
26825
|
# @param HealthCheckStatus: 通道健康检查状态,AVAILABLE:正常,UNAVAILABLE:不正常。 未配置健康检查不返回该对象
|
26639
26826
|
# @type HealthCheckStatus: String
|
26640
26827
|
# @param DpdEnable: DPD探测开关。默认为0,表示关闭DPD探测。可选值:0(关闭),1(开启)
|
26641
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
26642
26828
|
# @type DpdEnable: Integer
|
26643
26829
|
# @param DpdTimeout: DPD超时时间。即探测确认对端不存在需要的时间。
|
26644
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
26645
26830
|
# @type DpdTimeout: String
|
26646
26831
|
# @param DpdAction: DPD超时后的动作。默认为clear。dpdEnable为1(开启)时有效。可取值为clear(断开)和restart(重试)
|
26647
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
26648
26832
|
# @type DpdAction: String
|
26649
26833
|
# @param TagSet: 标签键值对数组
|
26650
26834
|
# @type TagSet: Array
|
26651
26835
|
# @param NegotiationType: 协商类型
|
26652
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
26653
26836
|
# @type NegotiationType: String
|
26654
26837
|
# @param BgpConfig: Bgp配置信息
|
26655
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
26656
26838
|
# @type BgpConfig: :class:`Tencentcloud::Vpc.v20170312.models.BgpConfigAndAsn`
|
26657
26839
|
# @param HealthCheckConfig: Nqa配置信息
|
26658
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
26659
26840
|
# @type HealthCheckConfig: :class:`Tencentcloud::Vpc.v20170312.models.HealthCheckConfig`
|
26660
26841
|
|
26661
26842
|
attr_accessor :VpnConnectionId, :VpnConnectionName, :VpcId, :VpnGatewayId, :CustomerGatewayId, :PreShareKey, :VpnProto, :EncryptProto, :RouteType, :CreatedTime, :State, :NetStatus, :SecurityPolicyDatabaseSet, :IKEOptionsSpecification, :IPSECOptionsSpecification, :EnableHealthCheck, :HealthCheckLocalIp, :HealthCheckRemoteIp, :HealthCheckStatus, :DpdEnable, :DpdTimeout, :DpdAction, :TagSet, :NegotiationType, :BgpConfig, :HealthCheckConfig
|
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.972
|
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-12-
|
11
|
+
date: 2024-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|