tencentcloud-sdk-vpc 3.0.1193 → 3.0.1199

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e28b61f6f7d011a0acec2e2eb13adf65148b5969
4
- data.tar.gz: b25cb59bed4eb198a430af10916c556fba2b283e
3
+ metadata.gz: 21b98dcea784f5038ff574264676055d14c5e16c
4
+ data.tar.gz: 41c19a0de1c0a6accfe9fffba06774f97357380b
5
5
  SHA512:
6
- metadata.gz: 7d9d5168ae31adceaab5021a5fb77f28758bbc740a65f68385c64987f0bf0f6d48e51ba56b2803b1c9b13482eeb5d652a4cd9f6c908f576d71ccb316b40b9b60
7
- data.tar.gz: e52c9c8e6653fd8ff1c225c96993034290a9718ef04b8d2f65026f603ee985aa34b14c2b7d64e2488ec560f0edca063662ca36358eec3b1a1e275174b6b34049
6
+ metadata.gz: 5a9fab28de985d81947785b965096b76d1e2ae3f3b85c62d57c25a6dc1ed69cd66a6e9c839ea14d0455bcad7e8d1e1249ec65614be3342fd143a63f3ab7e1729
7
+ data.tar.gz: 66950156275d0872f7076bdad148afbf3dfe4ea1a191cbc73f3c0fe3db6d11555917d1204c209fd4e8c9565a72c4b5bab1d8a1693059ec848fe47fec31542be6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1193
1
+ 3.0.1199
@@ -10038,6 +10038,30 @@ module TencentCloud
10038
10038
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
10039
10039
  end
10040
10040
 
10041
+ # 本接口(ReplaceRoutes)根据路由策略ID(RouteId)修改指定的路由策略(Route),支持批量修改。
10042
+
10043
+ # @param request: Request instance for ReplaceRoutesWithRoutePolicy.
10044
+ # @type request: :class:`Tencentcloud::vpc::V20170312::ReplaceRoutesWithRoutePolicyRequest`
10045
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::ReplaceRoutesWithRoutePolicyResponse`
10046
+ def ReplaceRoutesWithRoutePolicy(request)
10047
+ body = send_request('ReplaceRoutesWithRoutePolicy', request.serialize)
10048
+ response = JSON.parse(body)
10049
+ if response['Response'].key?('Error') == false
10050
+ model = ReplaceRoutesWithRoutePolicyResponse.new
10051
+ model.deserialize(response['Response'])
10052
+ model
10053
+ else
10054
+ code = response['Response']['Error']['Code']
10055
+ message = response['Response']['Error']['Message']
10056
+ reqid = response['Response']['RequestId']
10057
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
10058
+ end
10059
+ rescue TencentCloud::Common::TencentCloudSDKException => e
10060
+ raise e
10061
+ rescue StandardError => e
10062
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
10063
+ end
10064
+
10041
10065
  # 本接口(ReplaceSecurityGroupPolicies)用于批量修改安全组规则(SecurityGroupPolicy)。
10042
10066
  # 单个请求中只能替换单个方向的一条或多条规则, 必须要指定索引(PolicyIndex)。
10043
10067
 
@@ -625,12 +625,12 @@ module TencentCloud
625
625
 
626
626
  attr_accessor :AddressTemplateId, :AddressTemplateName, :From, :To, :Description, :UpdatedTime
627
627
  extend Gem::Deprecate
628
- deprecate :AddressTemplateName, :none, 2025, 12
629
- deprecate :AddressTemplateName=, :none, 2025, 12
630
- deprecate :From, :none, 2025, 12
631
- deprecate :From=, :none, 2025, 12
632
- deprecate :To, :none, 2025, 12
633
- deprecate :To=, :none, 2025, 12
628
+ deprecate :AddressTemplateName, :none, 2026, 1
629
+ deprecate :AddressTemplateName=, :none, 2026, 1
630
+ deprecate :From, :none, 2026, 1
631
+ deprecate :From=, :none, 2026, 1
632
+ deprecate :To, :none, 2026, 1
633
+ deprecate :To=, :none, 2026, 1
634
634
 
635
635
  def initialize(addresstemplateid=nil, addresstemplatename=nil, from=nil, to=nil, description=nil, updatedtime=nil)
636
636
  @AddressTemplateId = addresstemplateid
@@ -805,8 +805,8 @@ module TencentCloud
805
805
 
806
806
  attr_accessor :AddressCount, :InternetServiceProvider, :InternetChargeType, :IPChargeType, :InternetMaxBandwidthOut, :AddressChargePrepaid, :AddressType, :AnycastZone, :VipCluster, :ApplicableForCLB, :Tags, :BandwidthPackageId, :AddressName, :DedicatedClusterId, :IsDedicatedAddressPool, :Egress, :AntiDDoSPackageId, :ClientToken
807
807
  extend Gem::Deprecate
808
- deprecate :ApplicableForCLB, :none, 2025, 12
809
- deprecate :ApplicableForCLB=, :none, 2025, 12
808
+ deprecate :ApplicableForCLB, :none, 2026, 1
809
+ deprecate :ApplicableForCLB=, :none, 2026, 1
810
810
 
811
811
  def initialize(addresscount=nil, internetserviceprovider=nil, internetchargetype=nil, ipchargetype=nil, internetmaxbandwidthout=nil, addresschargeprepaid=nil, addresstype=nil, anycastzone=nil, vipcluster=nil, applicableforclb=nil, tags=nil, bandwidthpackageid=nil, addressname=nil, dedicatedclusterid=nil, isdedicatedaddresspool=nil, egress=nil, antiddospackageid=nil, clienttoken=nil)
812
812
  @AddressCount = addresscount
@@ -3429,8 +3429,8 @@ module TencentCloud
3429
3429
 
3430
3430
  attr_accessor :ConfilctId, :DestinationItem, :ConflictId
3431
3431
  extend Gem::Deprecate
3432
- deprecate :ConfilctId, :none, 2025, 12
3433
- deprecate :ConfilctId=, :none, 2025, 12
3432
+ deprecate :ConfilctId, :none, 2026, 1
3433
+ deprecate :ConfilctId=, :none, 2026, 1
3434
3434
 
3435
3435
  def initialize(confilctid=nil, destinationitem=nil, conflictid=nil)
3436
3436
  @ConfilctId = confilctid
@@ -4885,8 +4885,8 @@ module TencentCloud
4885
4885
 
4886
4886
  attr_accessor :NatGatewayName, :VpcId, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :AddressCount, :PublicIpAddresses, :Zone, :Tags, :SubnetId, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut, :PublicIpFromSameZone, :NatProductVersion, :DeletionProtectionEnabled, :ExclusiveType
4887
4887
  extend Gem::Deprecate
4888
- deprecate :SubnetId, :none, 2025, 12
4889
- deprecate :SubnetId=, :none, 2025, 12
4888
+ deprecate :SubnetId, :none, 2026, 1
4889
+ deprecate :SubnetId=, :none, 2026, 1
4890
4890
 
4891
4891
  def initialize(natgatewayname=nil, vpcid=nil, internetmaxbandwidthout=nil, maxconcurrentconnection=nil, addresscount=nil, publicipaddresses=nil, zone=nil, tags=nil, subnetid=nil, stockpublicipaddressesbandwidthout=nil, publicipaddressesbandwidthout=nil, publicipfromsamezone=nil, natproductversion=nil, deletionprotectionenabled=nil, exclusivetype=nil)
4892
4892
  @NatGatewayName = natgatewayname
@@ -6627,8 +6627,8 @@ module TencentCloud
6627
6627
 
6628
6628
  attr_accessor :VpcId, :EndPointServiceName, :AutoAcceptFlag, :ServiceInstanceId, :IsPassService, :ServiceType, :Tags, :IpAddressType
6629
6629
  extend Gem::Deprecate
6630
- deprecate :IsPassService, :none, 2025, 12
6631
- deprecate :IsPassService=, :none, 2025, 12
6630
+ deprecate :IsPassService, :none, 2026, 1
6631
+ deprecate :IsPassService=, :none, 2026, 1
6632
6632
 
6633
6633
  def initialize(vpcid=nil, endpointservicename=nil, autoacceptflag=nil, serviceinstanceid=nil, ispassservice=nil, servicetype=nil, tags=nil, ipaddresstype=nil)
6634
6634
  @VpcId = vpcid
@@ -16284,8 +16284,8 @@ module TencentCloud
16284
16284
 
16285
16285
  attr_accessor :VpcEndpointServiceUserSet, :VpcEndPointServiceUserSet, :TotalCount, :RequestId
16286
16286
  extend Gem::Deprecate
16287
- deprecate :VpcEndpointServiceUserSet, :none, 2025, 12
16288
- deprecate :VpcEndpointServiceUserSet=, :none, 2025, 12
16287
+ deprecate :VpcEndpointServiceUserSet, :none, 2026, 1
16288
+ deprecate :VpcEndpointServiceUserSet=, :none, 2026, 1
16289
16289
 
16290
16290
  def initialize(vpcendpointserviceuserset=nil, totalcount=nil, requestid=nil)
16291
16291
  @VpcEndPointServiceUserSet = vpcendpointserviceuserset
@@ -18952,18 +18952,21 @@ module TencentCloud
18952
18952
  # @type VpcId: String
18953
18953
  # @param IpAddress: 云服务器内网IP。
18954
18954
  # @type IpAddress: String
18955
- # @param Bandwidth: 流控带宽值。
18955
+ # @param Bandwidth: 网关流控出方向带宽值,当值为-1时,代表未限速;当值大于等于0时,限速带宽上限为返回值。
18956
18956
  # @type Bandwidth: Integer
18957
18957
  # @param CreateTime: 创建时间。
18958
18958
  # @type CreateTime: String
18959
+ # @param InBandwidth: 网关流控入方向带宽值,当值为-1时,代表未限速;当值大于等于0时,限速带宽上限为返回值。
18960
+ # @type InBandwidth: Integer
18959
18961
 
18960
- attr_accessor :VpcId, :IpAddress, :Bandwidth, :CreateTime
18962
+ attr_accessor :VpcId, :IpAddress, :Bandwidth, :CreateTime, :InBandwidth
18961
18963
 
18962
- def initialize(vpcid=nil, ipaddress=nil, bandwidth=nil, createtime=nil)
18964
+ def initialize(vpcid=nil, ipaddress=nil, bandwidth=nil, createtime=nil, inbandwidth=nil)
18963
18965
  @VpcId = vpcid
18964
18966
  @IpAddress = ipaddress
18965
18967
  @Bandwidth = bandwidth
18966
18968
  @CreateTime = createtime
18969
+ @InBandwidth = inbandwidth
18967
18970
  end
18968
18971
 
18969
18972
  def deserialize(params)
@@ -18971,6 +18974,7 @@ module TencentCloud
18971
18974
  @IpAddress = params['IpAddress']
18972
18975
  @Bandwidth = params['Bandwidth']
18973
18976
  @CreateTime = params['CreateTime']
18977
+ @InBandwidth = params['InBandwidth']
18974
18978
  end
18975
18979
  end
18976
18980
 
@@ -19544,8 +19548,8 @@ module TencentCloud
19544
19548
 
19545
19549
  attr_accessor :EncryptAlgorithm, :IntegrityAlgorith, :IPSECSaLifetimeSeconds, :PfsDhGroup, :IPSECSaLifetimeTraffic, :IntegrityAlgorithm
19546
19550
  extend Gem::Deprecate
19547
- deprecate :IntegrityAlgorith, :none, 2025, 12
19548
- deprecate :IntegrityAlgorith=, :none, 2025, 12
19551
+ deprecate :IntegrityAlgorith, :none, 2026, 1
19552
+ deprecate :IntegrityAlgorith=, :none, 2026, 1
19549
19553
 
19550
19554
  def initialize(encryptalgorithm=nil, integrityalgorith=nil, ipsecsalifetimeseconds=nil, pfsdhgroup=nil, ipsecsalifetimetraffic=nil, integrityalgorithm=nil)
19551
19555
  @EncryptAlgorithm = encryptalgorithm
@@ -20956,10 +20960,10 @@ module TencentCloud
20956
20960
 
20957
20961
  attr_accessor :AddressIds, :InternetMaxBandwidthOut, :StartTime, :EndTime
20958
20962
  extend Gem::Deprecate
20959
- deprecate :StartTime, :none, 2025, 12
20960
- deprecate :StartTime=, :none, 2025, 12
20961
- deprecate :EndTime, :none, 2025, 12
20962
- deprecate :EndTime=, :none, 2025, 12
20963
+ deprecate :StartTime, :none, 2026, 1
20964
+ deprecate :StartTime=, :none, 2026, 1
20965
+ deprecate :EndTime, :none, 2026, 1
20966
+ deprecate :EndTime=, :none, 2026, 1
20963
20967
 
20964
20968
  def initialize(addressids=nil, internetmaxbandwidthout=nil, starttime=nil, endtime=nil)
20965
20969
  @AddressIds = addressids
@@ -24635,10 +24639,14 @@ module TencentCloud
24635
24639
  # @type CreateTime: String
24636
24640
  # @param NetworkAclDirection: 方向,INGRESS或EGRESS,用于DescribeNetworkAclQuintupleEntries的出参。
24637
24641
  # @type NetworkAclDirection: String
24642
+ # @param SourceIPv6Cidr: IPv6源CIDR。
24643
+ # @type SourceIPv6Cidr: String
24644
+ # @param DestinationIPv6Cidr: IPv6目的CIDR。
24645
+ # @type DestinationIPv6Cidr: String
24638
24646
 
24639
- attr_accessor :Protocol, :Description, :SourcePort, :SourceCidr, :DestinationPort, :DestinationCidr, :Action, :NetworkAclQuintupleEntryId, :Priority, :CreateTime, :NetworkAclDirection
24647
+ attr_accessor :Protocol, :Description, :SourcePort, :SourceCidr, :DestinationPort, :DestinationCidr, :Action, :NetworkAclQuintupleEntryId, :Priority, :CreateTime, :NetworkAclDirection, :SourceIPv6Cidr, :DestinationIPv6Cidr
24640
24648
 
24641
- def initialize(protocol=nil, description=nil, sourceport=nil, sourcecidr=nil, destinationport=nil, destinationcidr=nil, action=nil, networkaclquintupleentryid=nil, priority=nil, createtime=nil, networkacldirection=nil)
24649
+ def initialize(protocol=nil, description=nil, sourceport=nil, sourcecidr=nil, destinationport=nil, destinationcidr=nil, action=nil, networkaclquintupleentryid=nil, priority=nil, createtime=nil, networkacldirection=nil, sourceipv6cidr=nil, destinationipv6cidr=nil)
24642
24650
  @Protocol = protocol
24643
24651
  @Description = description
24644
24652
  @SourcePort = sourceport
@@ -24650,6 +24658,8 @@ module TencentCloud
24650
24658
  @Priority = priority
24651
24659
  @CreateTime = createtime
24652
24660
  @NetworkAclDirection = networkacldirection
24661
+ @SourceIPv6Cidr = sourceipv6cidr
24662
+ @DestinationIPv6Cidr = destinationipv6cidr
24653
24663
  end
24654
24664
 
24655
24665
  def deserialize(params)
@@ -24664,6 +24674,8 @@ module TencentCloud
24664
24674
  @Priority = params['Priority']
24665
24675
  @CreateTime = params['CreateTime']
24666
24676
  @NetworkAclDirection = params['NetworkAclDirection']
24677
+ @SourceIPv6Cidr = params['SourceIPv6Cidr']
24678
+ @DestinationIPv6Cidr = params['DestinationIPv6Cidr']
24667
24679
  end
24668
24680
  end
24669
24681
 
@@ -26143,6 +26155,69 @@ module TencentCloud
26143
26155
  end
26144
26156
  end
26145
26157
 
26158
+ # ReplaceRoutesWithRoutePolicy请求参数结构体
26159
+ class ReplaceRoutesWithRoutePolicyRequest < TencentCloud::Common::AbstractModel
26160
+ # @param RouteTableId: 路由表实例ID。
26161
+ # @type RouteTableId: String
26162
+ # @param Routes: 路由策略对象。需要指定路由策略唯一ID(RouteItemId)。
26163
+ # @type Routes: Array
26164
+
26165
+ attr_accessor :RouteTableId, :Routes
26166
+
26167
+ def initialize(routetableid=nil, routes=nil)
26168
+ @RouteTableId = routetableid
26169
+ @Routes = routes
26170
+ end
26171
+
26172
+ def deserialize(params)
26173
+ @RouteTableId = params['RouteTableId']
26174
+ unless params['Routes'].nil?
26175
+ @Routes = []
26176
+ params['Routes'].each do |i|
26177
+ replacerouteswithroutepolicyroute_tmp = ReplaceRoutesWithRoutePolicyRoute.new
26178
+ replacerouteswithroutepolicyroute_tmp.deserialize(i)
26179
+ @Routes << replacerouteswithroutepolicyroute_tmp
26180
+ end
26181
+ end
26182
+ end
26183
+ end
26184
+
26185
+ # ReplaceRoutesWithRoutePolicy返回参数结构体
26186
+ class ReplaceRoutesWithRoutePolicyResponse < TencentCloud::Common::AbstractModel
26187
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
26188
+ # @type RequestId: String
26189
+
26190
+ attr_accessor :RequestId
26191
+
26192
+ def initialize(requestid=nil)
26193
+ @RequestId = requestid
26194
+ end
26195
+
26196
+ def deserialize(params)
26197
+ @RequestId = params['RequestId']
26198
+ end
26199
+ end
26200
+
26201
+ # 匹配路由接收策略对象
26202
+ class ReplaceRoutesWithRoutePolicyRoute < TencentCloud::Common::AbstractModel
26203
+ # @param RouteItemId: 路由唯一策略ID。
26204
+ # @type RouteItemId: String
26205
+ # @param ForceMatchPolicy: 匹配路由接收策略标记。
26206
+ # @type ForceMatchPolicy: Boolean
26207
+
26208
+ attr_accessor :RouteItemId, :ForceMatchPolicy
26209
+
26210
+ def initialize(routeitemid=nil, forcematchpolicy=nil)
26211
+ @RouteItemId = routeitemid
26212
+ @ForceMatchPolicy = forcematchpolicy
26213
+ end
26214
+
26215
+ def deserialize(params)
26216
+ @RouteItemId = params['RouteItemId']
26217
+ @ForceMatchPolicy = params['ForceMatchPolicy']
26218
+ end
26219
+ end
26220
+
26146
26221
  # ReplaceSecurityGroupPolicies请求参数结构体
26147
26222
  class ReplaceSecurityGroupPoliciesRequest < TencentCloud::Common::AbstractModel
26148
26223
  # @param SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
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.1193
4
+ version: 3.0.1199
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-12-30 00:00:00.000000000 Z
11
+ date: 2026-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common