tencentcloud-sdk-vpc 1.0.360 → 1.0.361

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d948ca66444e085adc4ec836c8a7441bb4b7b262
4
- data.tar.gz: dc50b88b38cf8acb3b7ecc580a7b86f0754a133f
3
+ metadata.gz: 5adbbb4d0ab02ed93e01acf81f1324b49a0ee4fd
4
+ data.tar.gz: 32a5f9abba05fffc0f0d0f518bd78d0cebab1b1d
5
5
  SHA512:
6
- metadata.gz: 8d094a095aefe9d022869198e6e135bd9a9ff4657ac643b7dcbbdff9c8a65f3e413cd64c42d122d6b076a7388481394b4353ab88339f331adb72b10aa96d3118
7
- data.tar.gz: 749073764bfd80126fe7165fad6feca00d765a6c1aac213748e4a0a1d7d4a281c0c401b8d9b3d6268636067d4ef4cb9f6b6b9cd8babcce4857f6b562f84ec9e8
6
+ metadata.gz: ad5a349834b9f7df68971de3302ffcddd4fe84812276be0db3c7e2f7ac7f89fa3ee217687d841c5e9d1858007da7c8b7631ef26bd46f2ba7c71846fbecbd2c82
7
+ data.tar.gz: 67109b69cb56d12a80c101842cb055dd82e37539665f1201875a8297a0c4f718dbf0db12de51cc1a72f828d23010ab29dc5301d2fdce985fc35175c6638e8dad
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.360
1
+ 1.0.361
@@ -1200,6 +1200,30 @@ module TencentCloud
1200
1200
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1201
1201
  end
1202
1202
 
1203
+ # 本接口(CreateNetworkAclQuintupleEntries)用于增量网络ACL五元组的入站规则和出站规则。
1204
+
1205
+ # @param request: Request instance for CreateNetworkAclQuintupleEntries.
1206
+ # @type request: :class:`Tencentcloud::vpc::V20170312::CreateNetworkAclQuintupleEntriesRequest`
1207
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::CreateNetworkAclQuintupleEntriesResponse`
1208
+ def CreateNetworkAclQuintupleEntries(request)
1209
+ body = send_request('CreateNetworkAclQuintupleEntries', request.serialize)
1210
+ response = JSON.parse(body)
1211
+ if response['Response'].key?('Error') == false
1212
+ model = CreateNetworkAclQuintupleEntriesResponse.new
1213
+ model.deserialize(response['Response'])
1214
+ model
1215
+ else
1216
+ code = response['Response']['Error']['Code']
1217
+ message = response['Response']['Error']['Message']
1218
+ reqid = response['Response']['RequestId']
1219
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1220
+ end
1221
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1222
+ raise e
1223
+ rescue StandardError => e
1224
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1225
+ end
1226
+
1203
1227
  # 本接口(CreateNetworkInterface)用于创建弹性网卡。
1204
1228
  # * 创建弹性网卡时可以指定内网IP,并且可以指定一个主IP,指定的内网IP必须在弹性网卡所在子网内,而且不能被占用。
1205
1229
  # * 创建弹性网卡时可以指定需要申请的内网IP数量,系统会随机生成内网IP地址。
@@ -2155,6 +2179,30 @@ module TencentCloud
2155
2179
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2156
2180
  end
2157
2181
 
2182
+ # 本接口(DeleteNetworkAclQuintupleEntries)用于删除网络ACL五元组指定的入站规则和出站规则(但不是全量删除该ACL下的所有条目)。在NetworkAclQuintupleEntrySet参数中:NetworkAclQuintupleEntry需要提供NetworkAclQuintupleEntryId。
2183
+
2184
+ # @param request: Request instance for DeleteNetworkAclQuintupleEntries.
2185
+ # @type request: :class:`Tencentcloud::vpc::V20170312::DeleteNetworkAclQuintupleEntriesRequest`
2186
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::DeleteNetworkAclQuintupleEntriesResponse`
2187
+ def DeleteNetworkAclQuintupleEntries(request)
2188
+ body = send_request('DeleteNetworkAclQuintupleEntries', request.serialize)
2189
+ response = JSON.parse(body)
2190
+ if response['Response'].key?('Error') == false
2191
+ model = DeleteNetworkAclQuintupleEntriesResponse.new
2192
+ model.deserialize(response['Response'])
2193
+ model
2194
+ else
2195
+ code = response['Response']['Error']['Code']
2196
+ message = response['Response']['Error']['Message']
2197
+ reqid = response['Response']['RequestId']
2198
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2199
+ end
2200
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2201
+ raise e
2202
+ rescue StandardError => e
2203
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2204
+ end
2205
+
2158
2206
  # 本接口(DeleteNetworkInterface)用于删除弹性网卡。
2159
2207
  # * 弹性网卡上绑定了云服务器时,不能被删除。
2160
2208
  # * 删除指定弹性网卡,弹性网卡必须先和子机解绑才能删除。删除之后弹性网卡上所有内网IP都将被退还。
@@ -3543,6 +3591,30 @@ module TencentCloud
3543
3591
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3544
3592
  end
3545
3593
 
3594
+ # 本接口(DescribeNetworkAclQuintupleEntries)查询入方向或出方向网络ACL五元组条目列表。
3595
+
3596
+ # @param request: Request instance for DescribeNetworkAclQuintupleEntries.
3597
+ # @type request: :class:`Tencentcloud::vpc::V20170312::DescribeNetworkAclQuintupleEntriesRequest`
3598
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeNetworkAclQuintupleEntriesResponse`
3599
+ def DescribeNetworkAclQuintupleEntries(request)
3600
+ body = send_request('DescribeNetworkAclQuintupleEntries', request.serialize)
3601
+ response = JSON.parse(body)
3602
+ if response['Response'].key?('Error') == false
3603
+ model = DescribeNetworkAclQuintupleEntriesResponse.new
3604
+ model.deserialize(response['Response'])
3605
+ model
3606
+ else
3607
+ code = response['Response']['Error']['Code']
3608
+ message = response['Response']['Error']['Message']
3609
+ reqid = response['Response']['RequestId']
3610
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3611
+ end
3612
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3613
+ raise e
3614
+ rescue StandardError => e
3615
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3616
+ end
3617
+
3546
3618
  # 本接口(DescribeNetworkAcls)用于查询网络ACL列表。
3547
3619
 
3548
3620
  # @param request: Request instance for DescribeNetworkAcls.
@@ -5862,6 +5934,30 @@ module TencentCloud
5862
5934
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5863
5935
  end
5864
5936
 
5937
+ # 本接口(ModifyNetworkAclQuintupleEntries)用于修改网络ACL五元组的入站规则和出站规则。在NetworkAclQuintupleEntrySet参数中:NetworkAclQuintupleEntry需要提供NetworkAclQuintupleEntryId。
5938
+
5939
+ # @param request: Request instance for ModifyNetworkAclQuintupleEntries.
5940
+ # @type request: :class:`Tencentcloud::vpc::V20170312::ModifyNetworkAclQuintupleEntriesRequest`
5941
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::ModifyNetworkAclQuintupleEntriesResponse`
5942
+ def ModifyNetworkAclQuintupleEntries(request)
5943
+ body = send_request('ModifyNetworkAclQuintupleEntries', request.serialize)
5944
+ response = JSON.parse(body)
5945
+ if response['Response'].key?('Error') == false
5946
+ model = ModifyNetworkAclQuintupleEntriesResponse.new
5947
+ model.deserialize(response['Response'])
5948
+ model
5949
+ else
5950
+ code = response['Response']['Error']['Code']
5951
+ message = response['Response']['Error']['Message']
5952
+ reqid = response['Response']['RequestId']
5953
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
5954
+ end
5955
+ rescue TencentCloud::Common::TencentCloudSDKException => e
5956
+ raise e
5957
+ rescue StandardError => e
5958
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5959
+ end
5960
+
5865
5961
  # 本接口(ModifyNetworkInterfaceAttribute)用于修改弹性网卡属性。
5866
5962
 
5867
5963
  # @param request: Request instance for ModifyNetworkInterfaceAttribute.
@@ -3299,6 +3299,45 @@ module TencentCloud
3299
3299
  end
3300
3300
  end
3301
3301
 
3302
+ # CreateNetworkAclQuintupleEntries请求参数结构体
3303
+ class CreateNetworkAclQuintupleEntriesRequest < TencentCloud::Common::AbstractModel
3304
+ # @param NetworkAclId: 网络ACL实例ID。例如:acl-12345678。
3305
+ # @type NetworkAclId: String
3306
+ # @param NetworkAclQuintupleSet: 网络五元组ACL规则集。
3307
+ # @type NetworkAclQuintupleSet: :class:`Tencentcloud::Vpc.v20170312.models.NetworkAclQuintupleEntries`
3308
+
3309
+ attr_accessor :NetworkAclId, :NetworkAclQuintupleSet
3310
+
3311
+ def initialize(networkaclid=nil, networkaclquintupleset=nil)
3312
+ @NetworkAclId = networkaclid
3313
+ @NetworkAclQuintupleSet = networkaclquintupleset
3314
+ end
3315
+
3316
+ def deserialize(params)
3317
+ @NetworkAclId = params['NetworkAclId']
3318
+ unless params['NetworkAclQuintupleSet'].nil?
3319
+ @NetworkAclQuintupleSet = NetworkAclQuintupleEntries.new
3320
+ @NetworkAclQuintupleSet.deserialize(params['NetworkAclQuintupleSet'])
3321
+ end
3322
+ end
3323
+ end
3324
+
3325
+ # CreateNetworkAclQuintupleEntries返回参数结构体
3326
+ class CreateNetworkAclQuintupleEntriesResponse < TencentCloud::Common::AbstractModel
3327
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3328
+ # @type RequestId: String
3329
+
3330
+ attr_accessor :RequestId
3331
+
3332
+ def initialize(requestid=nil)
3333
+ @RequestId = requestid
3334
+ end
3335
+
3336
+ def deserialize(params)
3337
+ @RequestId = params['RequestId']
3338
+ end
3339
+ end
3340
+
3302
3341
  # CreateNetworkAcl请求参数结构体
3303
3342
  class CreateNetworkAclRequest < TencentCloud::Common::AbstractModel
3304
3343
  # @param VpcId: VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
@@ -5359,6 +5398,45 @@ module TencentCloud
5359
5398
  end
5360
5399
  end
5361
5400
 
5401
+ # DeleteNetworkAclQuintupleEntries请求参数结构体
5402
+ class DeleteNetworkAclQuintupleEntriesRequest < TencentCloud::Common::AbstractModel
5403
+ # @param NetworkAclId: 网络ACL实例ID。例如:acl-12345678。
5404
+ # @type NetworkAclId: String
5405
+ # @param NetworkAclQuintupleSet: 网络五元组ACL规则集。
5406
+ # @type NetworkAclQuintupleSet: :class:`Tencentcloud::Vpc.v20170312.models.NetworkAclQuintupleEntries`
5407
+
5408
+ attr_accessor :NetworkAclId, :NetworkAclQuintupleSet
5409
+
5410
+ def initialize(networkaclid=nil, networkaclquintupleset=nil)
5411
+ @NetworkAclId = networkaclid
5412
+ @NetworkAclQuintupleSet = networkaclquintupleset
5413
+ end
5414
+
5415
+ def deserialize(params)
5416
+ @NetworkAclId = params['NetworkAclId']
5417
+ unless params['NetworkAclQuintupleSet'].nil?
5418
+ @NetworkAclQuintupleSet = NetworkAclQuintupleEntries.new
5419
+ @NetworkAclQuintupleSet.deserialize(params['NetworkAclQuintupleSet'])
5420
+ end
5421
+ end
5422
+ end
5423
+
5424
+ # DeleteNetworkAclQuintupleEntries返回参数结构体
5425
+ class DeleteNetworkAclQuintupleEntriesResponse < TencentCloud::Common::AbstractModel
5426
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5427
+ # @type RequestId: String
5428
+
5429
+ attr_accessor :RequestId
5430
+
5431
+ def initialize(requestid=nil)
5432
+ @RequestId = requestid
5433
+ end
5434
+
5435
+ def deserialize(params)
5436
+ @RequestId = params['RequestId']
5437
+ end
5438
+ end
5439
+
5362
5440
  # DeleteNetworkAcl请求参数结构体
5363
5441
  class DeleteNetworkAclRequest < TencentCloud::Common::AbstractModel
5364
5442
  # @param NetworkAclId: 网络ACL实例ID。例如:acl-12345678。
@@ -8517,6 +8595,48 @@ module TencentCloud
8517
8595
  end
8518
8596
  end
8519
8597
 
8598
+ # DescribeNetworkAclQuintupleEntries请求参数结构体
8599
+ class DescribeNetworkAclQuintupleEntriesRequest < TencentCloud::Common::AbstractModel
8600
+
8601
+
8602
+ def initialize()
8603
+ end
8604
+
8605
+ def deserialize(params)
8606
+ end
8607
+ end
8608
+
8609
+ # DescribeNetworkAclQuintupleEntries返回参数结构体
8610
+ class DescribeNetworkAclQuintupleEntriesResponse < TencentCloud::Common::AbstractModel
8611
+ # @param NetworkAclQuintupleSet: 网络ACL条目列表(NetworkAclTuple5Entry)
8612
+ # @type NetworkAclQuintupleSet: Array
8613
+ # @param TotalCount: 符合条件的实例数量。
8614
+ # @type TotalCount: Integer
8615
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8616
+ # @type RequestId: String
8617
+
8618
+ attr_accessor :NetworkAclQuintupleSet, :TotalCount, :RequestId
8619
+
8620
+ def initialize(networkaclquintupleset=nil, totalcount=nil, requestid=nil)
8621
+ @NetworkAclQuintupleSet = networkaclquintupleset
8622
+ @TotalCount = totalcount
8623
+ @RequestId = requestid
8624
+ end
8625
+
8626
+ def deserialize(params)
8627
+ unless params['NetworkAclQuintupleSet'].nil?
8628
+ @NetworkAclQuintupleSet = []
8629
+ params['NetworkAclQuintupleSet'].each do |i|
8630
+ networkaclquintupleentry_tmp = NetworkAclQuintupleEntry.new
8631
+ networkaclquintupleentry_tmp.deserialize(i)
8632
+ @NetworkAclQuintupleSet << networkaclquintupleentry_tmp
8633
+ end
8634
+ end
8635
+ @TotalCount = params['TotalCount']
8636
+ @RequestId = params['RequestId']
8637
+ end
8638
+ end
8639
+
8520
8640
  # DescribeNetworkAcls请求参数结构体
8521
8641
  class DescribeNetworkAclsRequest < TencentCloud::Common::AbstractModel
8522
8642
  # @param Filters: 过滤条件,参数不支持同时指定NetworkAclIds和Filters。
@@ -14121,6 +14241,45 @@ module TencentCloud
14121
14241
  end
14122
14242
  end
14123
14243
 
14244
+ # ModifyNetworkAclQuintupleEntries请求参数结构体
14245
+ class ModifyNetworkAclQuintupleEntriesRequest < TencentCloud::Common::AbstractModel
14246
+ # @param NetworkAclId: 网络ACL实例ID。例如:acl-12345678。
14247
+ # @type NetworkAclId: String
14248
+ # @param NetworkAclQuintupleSet: 网络五元组ACL规则集。
14249
+ # @type NetworkAclQuintupleSet: :class:`Tencentcloud::Vpc.v20170312.models.NetworkAclQuintupleEntries`
14250
+
14251
+ attr_accessor :NetworkAclId, :NetworkAclQuintupleSet
14252
+
14253
+ def initialize(networkaclid=nil, networkaclquintupleset=nil)
14254
+ @NetworkAclId = networkaclid
14255
+ @NetworkAclQuintupleSet = networkaclquintupleset
14256
+ end
14257
+
14258
+ def deserialize(params)
14259
+ @NetworkAclId = params['NetworkAclId']
14260
+ unless params['NetworkAclQuintupleSet'].nil?
14261
+ @NetworkAclQuintupleSet = NetworkAclQuintupleEntries.new
14262
+ @NetworkAclQuintupleSet.deserialize(params['NetworkAclQuintupleSet'])
14263
+ end
14264
+ end
14265
+ end
14266
+
14267
+ # ModifyNetworkAclQuintupleEntries返回参数结构体
14268
+ class ModifyNetworkAclQuintupleEntriesResponse < TencentCloud::Common::AbstractModel
14269
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
14270
+ # @type RequestId: String
14271
+
14272
+ attr_accessor :RequestId
14273
+
14274
+ def initialize(requestid=nil)
14275
+ @RequestId = requestid
14276
+ end
14277
+
14278
+ def deserialize(params)
14279
+ @RequestId = params['RequestId']
14280
+ end
14281
+ end
14282
+
14124
14283
  # ModifyNetworkInterfaceAttribute请求参数结构体
14125
14284
  class ModifyNetworkInterfaceAttributeRequest < TencentCloud::Common::AbstractModel
14126
14285
  # @param NetworkInterfaceId: 弹性网卡实例ID,例如:eni-pxir56ns。
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.360
4
+ version: 1.0.361
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-07-20 00:00:00.000000000 Z
11
+ date: 2022-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common