tencentcloud-sdk-vpc 3.0.1157 → 3.0.1160

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: d52505505bb2da5f924a71adf33bfd547ed2467d
4
- data.tar.gz: e340eebb0ef8665c688b8286ddc778bcfc4b40c0
3
+ metadata.gz: 63867b786e6f489a0b007ca0bfd5b984f6b25f27
4
+ data.tar.gz: 039285e41f4d2d05075e32b0cd920517164f1f2d
5
5
  SHA512:
6
- metadata.gz: e4e0e8d5edc8ebf12a0be0ac0ad9ff8b0e201761a0f6a3067680b527307ac0099bf610a8bb3cf26540d3100549ea94a295c079583f5ea6b7d8b06082ed82775b
7
- data.tar.gz: f91568e588002f64209b3d9aca0fabda4b6db831ba5620b4cab4850575c43b344eee588f005c811229eaf603dd3a391caf6e4c01816570fbef622fe69f2392b9
6
+ metadata.gz: 78dd67068d0c47e9a38274f8391fdcc97feae03d5b180b09aaa15f3553f1030a41692a9c33f5f962a9ef523da8807ea2b8798682e279d16649a879870e927d94
7
+ data.tar.gz: 564eb61fc37a8187864c4a2ad9c48500067b05b8b422e7137ca4e5b8c360b44e8c211d94627e4d80cac13445f964e81be6a3954509028399ca37e52404ec53a3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1157
1
+ 3.0.1160
@@ -5666,6 +5666,30 @@ module TencentCloud
5666
5666
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5667
5667
  end
5668
5668
 
5669
+ # 本接口(DescribeSecurityGroupExpandedPolicies)用于查看参数模板展开后的安全组规则。本接口会通过缓存降低请求后端服务的调用次数,因此拉取结果会存在延迟(缓存超时时间为1分钟)。
5670
+
5671
+ # @param request: Request instance for DescribeSecurityGroupExpandedPolicies.
5672
+ # @type request: :class:`Tencentcloud::vpc::V20170312::DescribeSecurityGroupExpandedPoliciesRequest`
5673
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeSecurityGroupExpandedPoliciesResponse`
5674
+ def DescribeSecurityGroupExpandedPolicies(request)
5675
+ body = send_request('DescribeSecurityGroupExpandedPolicies', request.serialize)
5676
+ response = JSON.parse(body)
5677
+ if response['Response'].key?('Error') == false
5678
+ model = DescribeSecurityGroupExpandedPoliciesResponse.new
5679
+ model.deserialize(response['Response'])
5680
+ model
5681
+ else
5682
+ code = response['Response']['Error']['Code']
5683
+ message = response['Response']['Error']['Message']
5684
+ reqid = response['Response']['RequestId']
5685
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
5686
+ end
5687
+ rescue TencentCloud::Common::TencentCloudSDKException => e
5688
+ raise e
5689
+ rescue StandardError => e
5690
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5691
+ end
5692
+
5669
5693
  # 本接口(DescribeSecurityGroupLimits)用于查询用户安全组配额。
5670
5694
 
5671
5695
  # @param request: Request instance for DescribeSecurityGroupLimits.
@@ -624,6 +624,13 @@ module TencentCloud
624
624
  # @type UpdatedTime: String
625
625
 
626
626
  attr_accessor :AddressTemplateId, :AddressTemplateName, :From, :To, :Description, :UpdatedTime
627
+ extend Gem::Deprecate
628
+ deprecate :AddressTemplateName, :none, 2025, 10
629
+ deprecate :AddressTemplateName=, :none, 2025, 10
630
+ deprecate :From, :none, 2025, 10
631
+ deprecate :From=, :none, 2025, 10
632
+ deprecate :To, :none, 2025, 10
633
+ deprecate :To=, :none, 2025, 10
627
634
 
628
635
  def initialize(addresstemplateid=nil, addresstemplatename=nil, from=nil, to=nil, description=nil, updatedtime=nil)
629
636
  @AddressTemplateId = addresstemplateid
@@ -3397,6 +3404,9 @@ module TencentCloud
3397
3404
  # @type ConflictId: String
3398
3405
 
3399
3406
  attr_accessor :ConfilctId, :DestinationItem, :ConflictId
3407
+ extend Gem::Deprecate
3408
+ deprecate :ConfilctId, :none, 2025, 10
3409
+ deprecate :ConfilctId=, :none, 2025, 10
3400
3410
 
3401
3411
  def initialize(confilctid=nil, destinationitem=nil, conflictid=nil)
3402
3412
  @ConfilctId = confilctid
@@ -4306,7 +4316,7 @@ module TencentCloud
4306
4316
  class CreateFlowLogRequest < TencentCloud::Common::AbstractModel
4307
4317
  # @param FlowLogName: 流日志实例名称。长度为不超过60个字符。
4308
4318
  # @type FlowLogName: String
4309
- # @param ResourceType: 流日志所属资源类型,VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。当选择VPC,SUBNET,CCN,DCG时,请通过工单加入白名单。
4319
+ # @param ResourceType: 流日志所属资源类型,NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。当选择CCN,DCG时,请通过工单加入白名单。
4310
4320
  # @type ResourceType: String
4311
4321
  # @param ResourceId: 资源唯一ID。
4312
4322
  # @type ResourceId: String
@@ -4327,10 +4337,12 @@ module TencentCloud
4327
4337
  # @type FlowLogStorage: :class:`Tencentcloud::Vpc.v20170312.models.FlowLogStorage`
4328
4338
  # @param CloudLogRegion: 流日志存储ID对应的地域,不传递默认为本地域。
4329
4339
  # @type CloudLogRegion: String
4340
+ # @param Period: 流日志采集周期,只支持CCN类型流日志。取值范围(单位s):60, 300, 600。
4341
+ # @type Period: Integer
4330
4342
 
4331
- attr_accessor :FlowLogName, :ResourceType, :ResourceId, :TrafficType, :VpcId, :FlowLogDescription, :CloudLogId, :Tags, :StorageType, :FlowLogStorage, :CloudLogRegion
4343
+ attr_accessor :FlowLogName, :ResourceType, :ResourceId, :TrafficType, :VpcId, :FlowLogDescription, :CloudLogId, :Tags, :StorageType, :FlowLogStorage, :CloudLogRegion, :Period
4332
4344
 
4333
- def initialize(flowlogname=nil, resourcetype=nil, resourceid=nil, traffictype=nil, vpcid=nil, flowlogdescription=nil, cloudlogid=nil, tags=nil, storagetype=nil, flowlogstorage=nil, cloudlogregion=nil)
4345
+ def initialize(flowlogname=nil, resourcetype=nil, resourceid=nil, traffictype=nil, vpcid=nil, flowlogdescription=nil, cloudlogid=nil, tags=nil, storagetype=nil, flowlogstorage=nil, cloudlogregion=nil, period=nil)
4334
4346
  @FlowLogName = flowlogname
4335
4347
  @ResourceType = resourcetype
4336
4348
  @ResourceId = resourceid
@@ -4342,6 +4354,7 @@ module TencentCloud
4342
4354
  @StorageType = storagetype
4343
4355
  @FlowLogStorage = flowlogstorage
4344
4356
  @CloudLogRegion = cloudlogregion
4357
+ @Period = period
4345
4358
  end
4346
4359
 
4347
4360
  def deserialize(params)
@@ -4366,6 +4379,7 @@ module TencentCloud
4366
4379
  @FlowLogStorage.deserialize(params['FlowLogStorage'])
4367
4380
  end
4368
4381
  @CloudLogRegion = params['CloudLogRegion']
4382
+ @Period = params['Period']
4369
4383
  end
4370
4384
  end
4371
4385
 
@@ -9907,11 +9921,11 @@ module TencentCloud
9907
9921
  # @type AddressIds: Array
9908
9922
  # @param Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。详细的过滤条件如下:
9909
9923
  # <li> address-id - String - 是否必填:否 - (过滤条件)按照 EIP 的唯一 ID 过滤。EIP 唯一 ID 形如:eip-11112222。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-id。</li>
9910
- # <li> address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-name。</li>
9924
+ # <li> address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-name。注意:当指定 address-name 参数时,仅支持按第一个传入的 address-name 参数执行查询操作。</li>
9911
9925
  # <li> address-ip - String - 是否必填:否 - (过滤条件)按照 EIP 的 IP 地址过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-ip。</li>
9912
9926
  # <li> address-status - String - 是否必填:否 - (过滤条件)按照 EIP 的状态过滤。状态包含:'CREATING':创建中,'BINDING':绑定中,'BIND':已绑,'UNBINDING':解绑中,'UNBIND':未绑定,'OFFLINING':下线中,'BIND_ENI':绑定了ENI。</li>
9913
9927
  # <li> instance-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的实例 ID 过滤。实例 ID 形如:ins-11112222。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取instance-id。</li>
9914
- # <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取private-ip-address。</li>
9928
+ # <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取private-ip-address。注意:当指定 private-ip-address 参数时,仅支持按第一个传入的 private-ip-address 参数执行查询操作。</li>
9915
9929
  # <li> network-interface-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的弹性网卡 ID 过滤。弹性网卡 ID 形如:eni-11112222。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取network-interface-id。</li>
9916
9930
  # <li> is-arrears - String - 是否必填:否 - (过滤条件)按照 EIP 是否欠费进行过滤。(TRUE:EIP 处于欠费状态|FALSE:EIP 费用状态正常)</li>
9917
9931
  # <li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'WanIP':普通公网 IP, 'EIP':弹性公网 IP,'AnycastEIP':加速 IP,'HighQualityEIP':精品弹性公网 IP, 'AntiDDoSEIP':高防 IP。默认值是'EIP'。</li>
@@ -14411,6 +14425,65 @@ module TencentCloud
14411
14425
  end
14412
14426
  end
14413
14427
 
14428
+ # DescribeSecurityGroupExpandedPolicies请求参数结构体
14429
+ class DescribeSecurityGroupExpandedPoliciesRequest < TencentCloud::Common::AbstractModel
14430
+ # @param SecurityGroupId: 安全组实例ID,例如:sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
14431
+ # @type SecurityGroupId: String
14432
+ # @param Filters: 过滤条件。
14433
+ # <li>security-group-id - String - 规则中的安全组ID。</li>
14434
+ # <li>ip - String - IP,支持IPV4和IPV6模糊匹配。</li>
14435
+ # <li>address-module - String - IP地址模板或IP地址组模板ID。</li>
14436
+ # <li>service-module - String - 协议端口模板或协议端口组模板ID。</li>
14437
+ # <li>protocol-type - String - 安全组策略支持的协议,可选值:`TCP`, `UDP`, `ICMP`, `ICMPV6`, `GRE`, `ALL`。</li>
14438
+ # <li>port - String - 是否必填:否 -协议端口,支持模糊匹配,值为`ALL`时,查询所有的端口。</li>
14439
+ # <li>poly - String - 协议策略,可选值:`ALL`,所有策略;`ACCEPT`,允许;`DROP`,拒绝。</li>
14440
+ # <li>direction - String - 协议规则,可选值:`ALL`,所有策略;`INBOUND`,入站规则;`OUTBOUND`,出站规则。</li>
14441
+ # <li>description - String - 协议描述,该过滤条件支持模糊匹配。</li>
14442
+ # @type Filters: Array
14443
+
14444
+ attr_accessor :SecurityGroupId, :Filters
14445
+
14446
+ def initialize(securitygroupid=nil, filters=nil)
14447
+ @SecurityGroupId = securitygroupid
14448
+ @Filters = filters
14449
+ end
14450
+
14451
+ def deserialize(params)
14452
+ @SecurityGroupId = params['SecurityGroupId']
14453
+ unless params['Filters'].nil?
14454
+ @Filters = []
14455
+ params['Filters'].each do |i|
14456
+ filter_tmp = Filter.new
14457
+ filter_tmp.deserialize(i)
14458
+ @Filters << filter_tmp
14459
+ end
14460
+ end
14461
+ end
14462
+ end
14463
+
14464
+ # DescribeSecurityGroupExpandedPolicies返回参数结构体
14465
+ class DescribeSecurityGroupExpandedPoliciesResponse < TencentCloud::Common::AbstractModel
14466
+ # @param SecurityGroupPolicySet: 安全组规则集合。
14467
+ # @type SecurityGroupPolicySet: :class:`Tencentcloud::Vpc.v20170312.models.SecurityGroupPolicySet`
14468
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14469
+ # @type RequestId: String
14470
+
14471
+ attr_accessor :SecurityGroupPolicySet, :RequestId
14472
+
14473
+ def initialize(securitygrouppolicyset=nil, requestid=nil)
14474
+ @SecurityGroupPolicySet = securitygrouppolicyset
14475
+ @RequestId = requestid
14476
+ end
14477
+
14478
+ def deserialize(params)
14479
+ unless params['SecurityGroupPolicySet'].nil?
14480
+ @SecurityGroupPolicySet = SecurityGroupPolicySet.new
14481
+ @SecurityGroupPolicySet.deserialize(params['SecurityGroupPolicySet'])
14482
+ end
14483
+ @RequestId = params['RequestId']
14484
+ end
14485
+ end
14486
+
14414
14487
  # DescribeSecurityGroupLimits请求参数结构体
14415
14488
  class DescribeSecurityGroupLimitsRequest < TencentCloud::Common::AbstractModel
14416
14489
 
@@ -18498,13 +18571,13 @@ module TencentCloud
18498
18571
 
18499
18572
  # 流日志
18500
18573
  class FlowLog < TencentCloud::Common::AbstractModel
18501
- # @param VpcId: 私用网络唯一ID。可通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)接口获取。
18574
+ # @param VpcId: 私有网络唯一ID。可通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)接口获取。
18502
18575
  # @type VpcId: String
18503
18576
  # @param FlowLogId: 流日志唯一ID。
18504
18577
  # @type FlowLogId: String
18505
18578
  # @param FlowLogName: 流日志实例名字。
18506
18579
  # @type FlowLogName: String
18507
- # @param ResourceType: 流日志所属资源类型:VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。
18580
+ # @param ResourceType: 流日志所属资源类型:VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转换),DCG(专线网关)。
18508
18581
  # @type ResourceType: String
18509
18582
  # @param ResourceId: 资源唯一ID。
18510
18583
  # @type ResourceId: String
@@ -18528,10 +18601,12 @@ module TencentCloud
18528
18601
  # @type FlowLogStorage: :class:`Tencentcloud::Vpc.v20170312.models.FlowLogStorage`
18529
18602
  # @param CloudLogRegion: 流日志存储ID对应的地域信息。
18530
18603
  # @type CloudLogRegion: String
18604
+ # @param Period: 流日志采集周期,只支持CCN类型流日志。取值范围(单位s):60, 300, 600。
18605
+ # @type Period: Integer
18531
18606
 
18532
- attr_accessor :VpcId, :FlowLogId, :FlowLogName, :ResourceType, :ResourceId, :TrafficType, :CloudLogId, :CloudLogState, :FlowLogDescription, :CreatedTime, :TagSet, :Enable, :StorageType, :FlowLogStorage, :CloudLogRegion
18607
+ attr_accessor :VpcId, :FlowLogId, :FlowLogName, :ResourceType, :ResourceId, :TrafficType, :CloudLogId, :CloudLogState, :FlowLogDescription, :CreatedTime, :TagSet, :Enable, :StorageType, :FlowLogStorage, :CloudLogRegion, :Period
18533
18608
 
18534
- def initialize(vpcid=nil, flowlogid=nil, flowlogname=nil, resourcetype=nil, resourceid=nil, traffictype=nil, cloudlogid=nil, cloudlogstate=nil, flowlogdescription=nil, createdtime=nil, tagset=nil, enable=nil, storagetype=nil, flowlogstorage=nil, cloudlogregion=nil)
18609
+ def initialize(vpcid=nil, flowlogid=nil, flowlogname=nil, resourcetype=nil, resourceid=nil, traffictype=nil, cloudlogid=nil, cloudlogstate=nil, flowlogdescription=nil, createdtime=nil, tagset=nil, enable=nil, storagetype=nil, flowlogstorage=nil, cloudlogregion=nil, period=nil)
18535
18610
  @VpcId = vpcid
18536
18611
  @FlowLogId = flowlogid
18537
18612
  @FlowLogName = flowlogname
@@ -18547,6 +18622,7 @@ module TencentCloud
18547
18622
  @StorageType = storagetype
18548
18623
  @FlowLogStorage = flowlogstorage
18549
18624
  @CloudLogRegion = cloudlogregion
18625
+ @Period = period
18550
18626
  end
18551
18627
 
18552
18628
  def deserialize(params)
@@ -18575,6 +18651,7 @@ module TencentCloud
18575
18651
  @FlowLogStorage.deserialize(params['FlowLogStorage'])
18576
18652
  end
18577
18653
  @CloudLogRegion = params['CloudLogRegion']
18654
+ @Period = params['Period']
18578
18655
  end
18579
18656
  end
18580
18657
 
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.1157
4
+ version: 3.0.1160
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-10-20 00:00:00.000000000 Z
11
+ date: 2025-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
+ - lib/tencentcloud-sdk-vpc.rb
36
37
  - lib/v20170312/models.rb
37
38
  - lib/v20170312/client.rb
38
- - lib/tencentcloud-sdk-vpc.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: