tencentcloud-sdk-tse 3.0.658 → 3.0.660

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: aa1c25987262e9ba1b149154f0f348903123b561
4
- data.tar.gz: a145efb98e42adca8da1f3a17266b2a213291d7b
3
+ metadata.gz: 3c6bf2edde9ca11cf48025208add14375e63e0fa
4
+ data.tar.gz: 035c1a8137152754d4c0b6537b0c4c86d2b48857
5
5
  SHA512:
6
- metadata.gz: 194c9ef34e01b5f25c5931698885af138ff520847f8ab00c0c951b6629e847022dd135672d77918ccaf35c18cacac1a3c5279d45c63d696d1293b0df5953e4db
7
- data.tar.gz: 083e1dcd9ff7d473d24a5b5f198f42c2bca3a9c7c2d4f4d8df5c18bf4db416c42f4c0b081c2e62e1f16f38d182223db21f3b66ada434d5ba925b777f519f0a6d
6
+ metadata.gz: 637231ae1d13cbfe547c40b27f665454775e1451c393b4f9224c2f57d55fd7a99699140e0cb00295819d705ef06b28fbc667203ed5fd88f076d56cef5874d5f6
7
+ data.tar.gz: 97502ec2c84ebd4d79c4754f68e3f365ef378fa8a08c332fe88c9e45b9bcc917e46a3b8f67290a75251a8bcaa419b05f958033982a54240b6b45a9c790bf95d7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.658
1
+ 3.0.660
@@ -461,6 +461,30 @@ module TencentCloud
461
461
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
462
462
  end
463
463
 
464
+ # 获取云原生API网关实例网络配置信息
465
+
466
+ # @param request: Request instance for DescribeCloudNativeAPIGatewayConfig.
467
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayConfigRequest`
468
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayConfigResponse`
469
+ def DescribeCloudNativeAPIGatewayConfig(request)
470
+ body = send_request('DescribeCloudNativeAPIGatewayConfig', request.serialize)
471
+ response = JSON.parse(body)
472
+ if response['Response'].key?('Error') == false
473
+ model = DescribeCloudNativeAPIGatewayConfigResponse.new
474
+ model.deserialize(response['Response'])
475
+ model
476
+ else
477
+ code = response['Response']['Error']['Code']
478
+ message = response['Response']['Error']['Message']
479
+ reqid = response['Response']['RequestId']
480
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
481
+ end
482
+ rescue TencentCloud::Common::TencentCloudSDKException => e
483
+ raise e
484
+ rescue StandardError => e
485
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
+ end
487
+
464
488
  # 获取云原生网关节点列表
465
489
 
466
490
  # @param request: Request instance for DescribeCloudNativeAPIGatewayNodes.
@@ -339,6 +339,118 @@ module TencentCloud
339
339
  end
340
340
  end
341
341
 
342
+ # 云原生API网关配置信息。
343
+ class CloudNativeAPIGatewayConfig < TencentCloud::Common::AbstractModel
344
+ # @param ConsoleType: 控制台类型。
345
+ # @type ConsoleType: String
346
+ # @param HttpUrl: HTTP链接地址。
347
+ # 注意:此字段可能返回 null,表示取不到有效值。
348
+ # @type HttpUrl: String
349
+ # @param HttpsUrl: HTTPS链接地址。
350
+ # @type HttpsUrl: String
351
+ # @param NetType: 网络类型, Open|Internal。
352
+ # @type NetType: String
353
+ # @param AdminUser: 管理员用户名。
354
+ # 注意:此字段可能返回 null,表示取不到有效值。
355
+ # @type AdminUser: String
356
+ # @param AdminPassword: 管理员密码。
357
+ # 注意:此字段可能返回 null,表示取不到有效值。
358
+ # @type AdminPassword: String
359
+ # @param Status: 网络状态, Open|Closed|Updating
360
+ # 注意:此字段可能返回 null,表示取不到有效值。
361
+ # @type Status: String
362
+ # @param AccessControl: 网络访问策略
363
+ # 注意:此字段可能返回 null,表示取不到有效值。
364
+ # @type AccessControl: :class:`Tencentcloud::Tse.v20201207.models.NetworkAccessControl`
365
+ # @param SubnetId: 内网子网 ID
366
+ # 注意:此字段可能返回 null,表示取不到有效值。
367
+ # @type SubnetId: String
368
+ # @param VpcId: 内网VPC ID
369
+ # 注意:此字段可能返回 null,表示取不到有效值。
370
+ # @type VpcId: String
371
+ # @param Description: 负载均衡的描述
372
+ # 注意:此字段可能返回 null,表示取不到有效值。
373
+ # @type Description: String
374
+ # @param SlaType: 负载均衡的规格类型,传 "SLA" 表示性能容量型,返回空为共享型
375
+ # 注意:此字段可能返回 null,表示取不到有效值。
376
+ # @type SlaType: String
377
+ # @param Vip: clb vip
378
+ # 注意:此字段可能返回 null,表示取不到有效值。
379
+ # @type Vip: String
380
+ # @param InternetMaxBandwidthOut: 带宽
381
+ # 注意:此字段可能返回 null,表示取不到有效值。
382
+ # @type InternetMaxBandwidthOut: Integer
383
+ # @param MultiZoneFlag: 是否多可用区
384
+ # 注意:此字段可能返回 null,表示取不到有效值。
385
+ # @type MultiZoneFlag: Boolean
386
+ # @param MasterZoneId: 主可用区
387
+ # 注意:此字段可能返回 null,表示取不到有效值。
388
+ # @type MasterZoneId: String
389
+ # @param SlaveZoneId: 备可用区
390
+ # 注意:此字段可能返回 null,表示取不到有效值。
391
+ # @type SlaveZoneId: String
392
+ # @param MasterZoneName: 主可用区名称
393
+ # 注意:此字段可能返回 null,表示取不到有效值。
394
+ # @type MasterZoneName: String
395
+ # @param SlaveZoneName: 备可用区名称
396
+ # 注意:此字段可能返回 null,表示取不到有效值。
397
+ # @type SlaveZoneName: String
398
+ # @param NetworkId: 网络 id
399
+ # 注意:此字段可能返回 null,表示取不到有效值。
400
+ # @type NetworkId: String
401
+
402
+ attr_accessor :ConsoleType, :HttpUrl, :HttpsUrl, :NetType, :AdminUser, :AdminPassword, :Status, :AccessControl, :SubnetId, :VpcId, :Description, :SlaType, :Vip, :InternetMaxBandwidthOut, :MultiZoneFlag, :MasterZoneId, :SlaveZoneId, :MasterZoneName, :SlaveZoneName, :NetworkId
403
+
404
+ def initialize(consoletype=nil, httpurl=nil, httpsurl=nil, nettype=nil, adminuser=nil, adminpassword=nil, status=nil, accesscontrol=nil, subnetid=nil, vpcid=nil, description=nil, slatype=nil, vip=nil, internetmaxbandwidthout=nil, multizoneflag=nil, masterzoneid=nil, slavezoneid=nil, masterzonename=nil, slavezonename=nil, networkid=nil)
405
+ @ConsoleType = consoletype
406
+ @HttpUrl = httpurl
407
+ @HttpsUrl = httpsurl
408
+ @NetType = nettype
409
+ @AdminUser = adminuser
410
+ @AdminPassword = adminpassword
411
+ @Status = status
412
+ @AccessControl = accesscontrol
413
+ @SubnetId = subnetid
414
+ @VpcId = vpcid
415
+ @Description = description
416
+ @SlaType = slatype
417
+ @Vip = vip
418
+ @InternetMaxBandwidthOut = internetmaxbandwidthout
419
+ @MultiZoneFlag = multizoneflag
420
+ @MasterZoneId = masterzoneid
421
+ @SlaveZoneId = slavezoneid
422
+ @MasterZoneName = masterzonename
423
+ @SlaveZoneName = slavezonename
424
+ @NetworkId = networkid
425
+ end
426
+
427
+ def deserialize(params)
428
+ @ConsoleType = params['ConsoleType']
429
+ @HttpUrl = params['HttpUrl']
430
+ @HttpsUrl = params['HttpsUrl']
431
+ @NetType = params['NetType']
432
+ @AdminUser = params['AdminUser']
433
+ @AdminPassword = params['AdminPassword']
434
+ @Status = params['Status']
435
+ unless params['AccessControl'].nil?
436
+ @AccessControl = NetworkAccessControl.new
437
+ @AccessControl.deserialize(params['AccessControl'])
438
+ end
439
+ @SubnetId = params['SubnetId']
440
+ @VpcId = params['VpcId']
441
+ @Description = params['Description']
442
+ @SlaType = params['SlaType']
443
+ @Vip = params['Vip']
444
+ @InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
445
+ @MultiZoneFlag = params['MultiZoneFlag']
446
+ @MasterZoneId = params['MasterZoneId']
447
+ @SlaveZoneId = params['SlaveZoneId']
448
+ @MasterZoneName = params['MasterZoneName']
449
+ @SlaveZoneName = params['SlaveZoneName']
450
+ @NetworkId = params['NetworkId']
451
+ end
452
+ end
453
+
342
454
  # 云原生API网关节点信息。
343
455
  class CloudNativeAPIGatewayNode < TencentCloud::Common::AbstractModel
344
456
  # @param NodeId: 云原生网关节点 id
@@ -1901,6 +2013,91 @@ module TencentCloud
1901
2013
  end
1902
2014
  end
1903
2015
 
2016
+ # DescribeCloudNativeAPIGatewayConfig请求参数结构体
2017
+ class DescribeCloudNativeAPIGatewayConfigRequest < TencentCloud::Common::AbstractModel
2018
+ # @param GatewayId: 云原生API网关实例ID。
2019
+ # @type GatewayId: String
2020
+ # @param GroupId: 分组id,不填时为默认分组
2021
+ # @type GroupId: String
2022
+
2023
+ attr_accessor :GatewayId, :GroupId
2024
+
2025
+ def initialize(gatewayid=nil, groupid=nil)
2026
+ @GatewayId = gatewayid
2027
+ @GroupId = groupid
2028
+ end
2029
+
2030
+ def deserialize(params)
2031
+ @GatewayId = params['GatewayId']
2032
+ @GroupId = params['GroupId']
2033
+ end
2034
+ end
2035
+
2036
+ # DescribeCloudNativeAPIGatewayConfig返回参数结构体
2037
+ class DescribeCloudNativeAPIGatewayConfigResponse < TencentCloud::Common::AbstractModel
2038
+ # @param Result: 获取云原生API网关响应结果。
2039
+ # @type Result: :class:`Tencentcloud::Tse.v20201207.models.DescribeCloudNativeAPIGatewayConfigResult`
2040
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2041
+ # @type RequestId: String
2042
+
2043
+ attr_accessor :Result, :RequestId
2044
+
2045
+ def initialize(result=nil, requestid=nil)
2046
+ @Result = result
2047
+ @RequestId = requestid
2048
+ end
2049
+
2050
+ def deserialize(params)
2051
+ unless params['Result'].nil?
2052
+ @Result = DescribeCloudNativeAPIGatewayConfigResult.new
2053
+ @Result.deserialize(params['Result'])
2054
+ end
2055
+ @RequestId = params['RequestId']
2056
+ end
2057
+ end
2058
+
2059
+ # 获取云原生API网关实例网络配置结果。
2060
+ class DescribeCloudNativeAPIGatewayConfigResult < TencentCloud::Common::AbstractModel
2061
+ # @param GatewayId: 网关实例ID。
2062
+ # @type GatewayId: String
2063
+ # @param ConfigList: 分组网络配置列表。
2064
+ # @type ConfigList: Array
2065
+ # @param GroupSubnetId: 分组子网信息
2066
+ # 注意:此字段可能返回 null,表示取不到有效值。
2067
+ # @type GroupSubnetId: String
2068
+ # @param GroupVpcId: 分组VPC信息
2069
+ # 注意:此字段可能返回 null,表示取不到有效值。
2070
+ # @type GroupVpcId: String
2071
+ # @param GroupId: 分组ID
2072
+ # 注意:此字段可能返回 null,表示取不到有效值。
2073
+ # @type GroupId: String
2074
+
2075
+ attr_accessor :GatewayId, :ConfigList, :GroupSubnetId, :GroupVpcId, :GroupId
2076
+
2077
+ def initialize(gatewayid=nil, configlist=nil, groupsubnetid=nil, groupvpcid=nil, groupid=nil)
2078
+ @GatewayId = gatewayid
2079
+ @ConfigList = configlist
2080
+ @GroupSubnetId = groupsubnetid
2081
+ @GroupVpcId = groupvpcid
2082
+ @GroupId = groupid
2083
+ end
2084
+
2085
+ def deserialize(params)
2086
+ @GatewayId = params['GatewayId']
2087
+ unless params['ConfigList'].nil?
2088
+ @ConfigList = []
2089
+ params['ConfigList'].each do |i|
2090
+ cloudnativeapigatewayconfig_tmp = CloudNativeAPIGatewayConfig.new
2091
+ cloudnativeapigatewayconfig_tmp.deserialize(i)
2092
+ @ConfigList << cloudnativeapigatewayconfig_tmp
2093
+ end
2094
+ end
2095
+ @GroupSubnetId = params['GroupSubnetId']
2096
+ @GroupVpcId = params['GroupVpcId']
2097
+ @GroupId = params['GroupId']
2098
+ end
2099
+ end
2100
+
1904
2101
  # DescribeCloudNativeAPIGatewayNodes请求参数结构体
1905
2102
  class DescribeCloudNativeAPIGatewayNodesRequest < TencentCloud::Common::AbstractModel
1906
2103
  # @param GatewayId: 云原生API网关实例ID。
@@ -4446,6 +4643,30 @@ module TencentCloud
4446
4643
  end
4447
4644
  end
4448
4645
 
4646
+ # 网络访问策略
4647
+ class NetworkAccessControl < TencentCloud::Common::AbstractModel
4648
+ # @param Mode: 访问模式:Whitelist|Blacklist
4649
+ # @type Mode: String
4650
+ # @param CidrWhiteList: 白名单列表
4651
+ # @type CidrWhiteList: Array
4652
+ # @param CidrBlackList: 黑名单列表
4653
+ # @type CidrBlackList: Array
4654
+
4655
+ attr_accessor :Mode, :CidrWhiteList, :CidrBlackList
4656
+
4657
+ def initialize(mode=nil, cidrwhitelist=nil, cidrblacklist=nil)
4658
+ @Mode = mode
4659
+ @CidrWhiteList = cidrwhitelist
4660
+ @CidrBlackList = cidrblacklist
4661
+ end
4662
+
4663
+ def deserialize(params)
4664
+ @Mode = params['Mode']
4665
+ @CidrWhiteList = params['CidrWhiteList']
4666
+ @CidrBlackList = params['CidrBlackList']
4667
+ end
4668
+ end
4669
+
4449
4670
  # 查询Limiter的接入地址
4450
4671
  class PolarisLimiterAddress < TencentCloud::Common::AbstractModel
4451
4672
  # @param IntranetAddress: VPC接入IP列表
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tse
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.658
4
+ version: 3.0.660
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-13 00:00:00.000000000 Z
11
+ date: 2023-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common