tencentcloud-sdk-es 3.0.858 → 3.0.860

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: 72d9576ded8372ce004268298cd7877ba8702df1
4
- data.tar.gz: cb3aa9da52bd9bd3679b624d1dd27391486385b0
3
+ metadata.gz: a66008aa73699ee369429896ac9ebe08983a8eb3
4
+ data.tar.gz: 9e64ca4f959034fc0666252ab535a816fbc0ad48
5
5
  SHA512:
6
- metadata.gz: d20dc57c95f785535ea578189cf9eb131883083a6c270ed66dd7c1ca4374ccb71371ae7976ec4eaffd23e015f195f8003813f25de9ddfa089b82b0ef19672260
7
- data.tar.gz: a8c10ba4737f2d0841574162b479c94afa30159db4a2b262099bd00840738249d46d89037266477cf495a3f28f9970b00835974641309340da0b45a2a8a96b48
6
+ metadata.gz: ba4a6489a49a0bb066a623b18f94a5f19b8597aa8e4b3e106da749e7d2b42bb146b385d8e199fc72241154f471849b74d94ea1e7e1d06824766e0511f4efd94d
7
+ data.tar.gz: 5d30eef81061e9f4d748262d1d7ba78ab33f08ca5dd4bf5ddbee85052115fe32cb15c702e98a972cb9434d8657551ef8bf81bce01fe71e579937f8cf8f68a3f4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.858
1
+ 3.0.860
@@ -629,6 +629,30 @@ module TencentCloud
629
629
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
630
630
  end
631
631
 
632
+ # 获取serverless实例对应指标,获取space维度时不需要传入indexid,获取index时不需要传入spaceid
633
+
634
+ # @param request: Request instance for DescribeServerlessMetrics.
635
+ # @type request: :class:`Tencentcloud::es::V20180416::DescribeServerlessMetricsRequest`
636
+ # @rtype: :class:`Tencentcloud::es::V20180416::DescribeServerlessMetricsResponse`
637
+ def DescribeServerlessMetrics(request)
638
+ body = send_request('DescribeServerlessMetrics', request.serialize)
639
+ response = JSON.parse(body)
640
+ if response['Response'].key?('Error') == false
641
+ model = DescribeServerlessMetricsResponse.new
642
+ model.deserialize(response['Response'])
643
+ model
644
+ else
645
+ code = response['Response']['Error']['Code']
646
+ message = response['Response']['Error']['Message']
647
+ reqid = response['Response']['RequestId']
648
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
649
+ end
650
+ rescue TencentCloud::Common::TencentCloudSDKException => e
651
+ raise e
652
+ rescue StandardError => e
653
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
+ end
655
+
632
656
  # 查看Serverless空间子用户
633
657
 
634
658
  # @param request: Request instance for DescribeServerlessSpaceUser.
@@ -519,10 +519,12 @@ module TencentCloud
519
519
  # @type EnableDiagnose: Boolean
520
520
  # @param CdcId: cdcId,使用cdc子网时传递
521
521
  # @type CdcId: String
522
+ # @param DisasterRecoverGroupAffinity: 置放群组亲和度,范围[0,10],0表示不开启
523
+ # @type DisasterRecoverGroupAffinity: Integer
522
524
 
523
- attr_accessor :Zone, :EsVersion, :VpcId, :SubnetId, :Password, :InstanceName, :NodeNum, :ChargeType, :ChargePeriod, :RenewFlag, :NodeType, :DiskType, :DiskSize, :TimeUnit, :AutoVoucher, :VoucherIds, :EnableDedicatedMaster, :MasterNodeNum, :MasterNodeType, :MasterNodeDiskSize, :ClusterNameInConf, :DeployMode, :MultiZoneInfo, :LicenseType, :NodeInfoList, :TagList, :BasicSecurityType, :SceneType, :WebNodeTypeInfo, :Protocol, :OperationDuration, :EnableHybridStorage, :DiskEnhance, :EnableDiagnose, :CdcId
525
+ attr_accessor :Zone, :EsVersion, :VpcId, :SubnetId, :Password, :InstanceName, :NodeNum, :ChargeType, :ChargePeriod, :RenewFlag, :NodeType, :DiskType, :DiskSize, :TimeUnit, :AutoVoucher, :VoucherIds, :EnableDedicatedMaster, :MasterNodeNum, :MasterNodeType, :MasterNodeDiskSize, :ClusterNameInConf, :DeployMode, :MultiZoneInfo, :LicenseType, :NodeInfoList, :TagList, :BasicSecurityType, :SceneType, :WebNodeTypeInfo, :Protocol, :OperationDuration, :EnableHybridStorage, :DiskEnhance, :EnableDiagnose, :CdcId, :DisasterRecoverGroupAffinity
524
526
 
525
- def initialize(zone=nil, esversion=nil, vpcid=nil, subnetid=nil, password=nil, instancename=nil, nodenum=nil, chargetype=nil, chargeperiod=nil, renewflag=nil, nodetype=nil, disktype=nil, disksize=nil, timeunit=nil, autovoucher=nil, voucherids=nil, enablededicatedmaster=nil, masternodenum=nil, masternodetype=nil, masternodedisksize=nil, clusternameinconf=nil, deploymode=nil, multizoneinfo=nil, licensetype=nil, nodeinfolist=nil, taglist=nil, basicsecuritytype=nil, scenetype=nil, webnodetypeinfo=nil, protocol=nil, operationduration=nil, enablehybridstorage=nil, diskenhance=nil, enablediagnose=nil, cdcid=nil)
527
+ def initialize(zone=nil, esversion=nil, vpcid=nil, subnetid=nil, password=nil, instancename=nil, nodenum=nil, chargetype=nil, chargeperiod=nil, renewflag=nil, nodetype=nil, disktype=nil, disksize=nil, timeunit=nil, autovoucher=nil, voucherids=nil, enablededicatedmaster=nil, masternodenum=nil, masternodetype=nil, masternodedisksize=nil, clusternameinconf=nil, deploymode=nil, multizoneinfo=nil, licensetype=nil, nodeinfolist=nil, taglist=nil, basicsecuritytype=nil, scenetype=nil, webnodetypeinfo=nil, protocol=nil, operationduration=nil, enablehybridstorage=nil, diskenhance=nil, enablediagnose=nil, cdcid=nil, disasterrecovergroupaffinity=nil)
526
528
  @Zone = zone
527
529
  @EsVersion = esversion
528
530
  @VpcId = vpcid
@@ -558,6 +560,7 @@ module TencentCloud
558
560
  @DiskEnhance = diskenhance
559
561
  @EnableDiagnose = enablediagnose
560
562
  @CdcId = cdcid
563
+ @DisasterRecoverGroupAffinity = disasterrecovergroupaffinity
561
564
  end
562
565
 
563
566
  def deserialize(params)
@@ -623,6 +626,7 @@ module TencentCloud
623
626
  @DiskEnhance = params['DiskEnhance']
624
627
  @EnableDiagnose = params['EnableDiagnose']
625
628
  @CdcId = params['CdcId']
629
+ @DisasterRecoverGroupAffinity = params['DisasterRecoverGroupAffinity']
626
630
  end
627
631
  end
628
632
 
@@ -2074,6 +2078,50 @@ module TencentCloud
2074
2078
  end
2075
2079
  end
2076
2080
 
2081
+ # DescribeServerlessMetrics请求参数结构体
2082
+ class DescribeServerlessMetricsRequest < TencentCloud::Common::AbstractModel
2083
+ # @param SpaceId: space空间id
2084
+ # @type SpaceId: String
2085
+ # @param IndexId: index索引id
2086
+ # @type IndexId: String
2087
+ # @param MetricType: 指标类型,暂时只支持Storage
2088
+ # @type MetricType: Array
2089
+
2090
+ attr_accessor :SpaceId, :IndexId, :MetricType
2091
+
2092
+ def initialize(spaceid=nil, indexid=nil, metrictype=nil)
2093
+ @SpaceId = spaceid
2094
+ @IndexId = indexid
2095
+ @MetricType = metrictype
2096
+ end
2097
+
2098
+ def deserialize(params)
2099
+ @SpaceId = params['SpaceId']
2100
+ @IndexId = params['IndexId']
2101
+ @MetricType = params['MetricType']
2102
+ end
2103
+ end
2104
+
2105
+ # DescribeServerlessMetrics返回参数结构体
2106
+ class DescribeServerlessMetricsResponse < TencentCloud::Common::AbstractModel
2107
+ # @param Storage: storage指标值,单位byte
2108
+ # @type Storage: Float
2109
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2110
+ # @type RequestId: String
2111
+
2112
+ attr_accessor :Storage, :RequestId
2113
+
2114
+ def initialize(storage=nil, requestid=nil)
2115
+ @Storage = storage
2116
+ @RequestId = requestid
2117
+ end
2118
+
2119
+ def deserialize(params)
2120
+ @Storage = params['Storage']
2121
+ @RequestId = params['RequestId']
2122
+ end
2123
+ end
2124
+
2077
2125
  # DescribeServerlessSpaceUser请求参数结构体
2078
2126
  class DescribeServerlessSpaceUserRequest < TencentCloud::Common::AbstractModel
2079
2127
  # @param SpaceId: 空间的ID
@@ -3617,10 +3665,13 @@ module TencentCloud
3617
3665
  # @param NetConnectScheme: 网络连接方案
3618
3666
  # 注意:此字段可能返回 null,表示取不到有效值。
3619
3667
  # @type NetConnectScheme: String
3668
+ # @param DisasterRecoverGroupAffinity: 置放群组相关参数
3669
+ # 注意:此字段可能返回 null,表示取不到有效值。
3670
+ # @type DisasterRecoverGroupAffinity: Integer
3620
3671
 
3621
- attr_accessor :InstanceId, :InstanceName, :Region, :Zone, :AppId, :Uin, :VpcUid, :SubnetUid, :Status, :RenewFlag, :ChargeType, :ChargePeriod, :NodeType, :NodeNum, :CpuNum, :MemSize, :DiskType, :DiskSize, :EsDomain, :EsVip, :EsPort, :KibanaUrl, :EsVersion, :EsConfig, :EsAcl, :CreateTime, :UpdateTime, :Deadline, :InstanceType, :IkConfig, :MasterNodeInfo, :CosBackup, :AllowCosBackup, :TagList, :LicenseType, :EnableHotWarmMode, :WarmNodeType, :WarmNodeNum, :WarmCpuNum, :WarmMemSize, :WarmDiskType, :WarmDiskSize, :NodeInfoList, :EsPublicUrl, :MultiZoneInfo, :DeployMode, :PublicAccess, :EsPublicAcl, :KibanaPrivateUrl, :KibanaPublicAccess, :KibanaPrivateAccess, :SecurityType, :SceneType, :KibanaConfig, :KibanaNodeInfo, :WebNodeTypeInfo, :Jdk, :Protocol, :SecurityGroups, :ColdNodeType, :ColdNodeNum, :ColdCpuNum, :ColdMemSize, :ColdDiskType, :ColdDiskSize, :FrozenNodeType, :FrozenNodeNum, :FrozenCpuNum, :FrozenMemSize, :FrozenDiskType, :FrozenDiskSize, :HealthStatus, :EsPrivateUrl, :EsPrivateDomain, :EsConfigSets, :OperationDuration, :OptionalWebServiceInfos, :AutoIndexEnabled, :EnableHybridStorage, :ProcessPercent, :KibanaAlteringPublicAccess, :HasKernelUpgrade, :CdcId, :KibanaPrivateVip, :CustomKibanaPrivateUrl, :OutboundPublicAcls, :NetConnectScheme
3672
+ attr_accessor :InstanceId, :InstanceName, :Region, :Zone, :AppId, :Uin, :VpcUid, :SubnetUid, :Status, :RenewFlag, :ChargeType, :ChargePeriod, :NodeType, :NodeNum, :CpuNum, :MemSize, :DiskType, :DiskSize, :EsDomain, :EsVip, :EsPort, :KibanaUrl, :EsVersion, :EsConfig, :EsAcl, :CreateTime, :UpdateTime, :Deadline, :InstanceType, :IkConfig, :MasterNodeInfo, :CosBackup, :AllowCosBackup, :TagList, :LicenseType, :EnableHotWarmMode, :WarmNodeType, :WarmNodeNum, :WarmCpuNum, :WarmMemSize, :WarmDiskType, :WarmDiskSize, :NodeInfoList, :EsPublicUrl, :MultiZoneInfo, :DeployMode, :PublicAccess, :EsPublicAcl, :KibanaPrivateUrl, :KibanaPublicAccess, :KibanaPrivateAccess, :SecurityType, :SceneType, :KibanaConfig, :KibanaNodeInfo, :WebNodeTypeInfo, :Jdk, :Protocol, :SecurityGroups, :ColdNodeType, :ColdNodeNum, :ColdCpuNum, :ColdMemSize, :ColdDiskType, :ColdDiskSize, :FrozenNodeType, :FrozenNodeNum, :FrozenCpuNum, :FrozenMemSize, :FrozenDiskType, :FrozenDiskSize, :HealthStatus, :EsPrivateUrl, :EsPrivateDomain, :EsConfigSets, :OperationDuration, :OptionalWebServiceInfos, :AutoIndexEnabled, :EnableHybridStorage, :ProcessPercent, :KibanaAlteringPublicAccess, :HasKernelUpgrade, :CdcId, :KibanaPrivateVip, :CustomKibanaPrivateUrl, :OutboundPublicAcls, :NetConnectScheme, :DisasterRecoverGroupAffinity
3622
3673
 
3623
- def initialize(instanceid=nil, instancename=nil, region=nil, zone=nil, appid=nil, uin=nil, vpcuid=nil, subnetuid=nil, status=nil, renewflag=nil, chargetype=nil, chargeperiod=nil, nodetype=nil, nodenum=nil, cpunum=nil, memsize=nil, disktype=nil, disksize=nil, esdomain=nil, esvip=nil, esport=nil, kibanaurl=nil, esversion=nil, esconfig=nil, esacl=nil, createtime=nil, updatetime=nil, deadline=nil, instancetype=nil, ikconfig=nil, masternodeinfo=nil, cosbackup=nil, allowcosbackup=nil, taglist=nil, licensetype=nil, enablehotwarmmode=nil, warmnodetype=nil, warmnodenum=nil, warmcpunum=nil, warmmemsize=nil, warmdisktype=nil, warmdisksize=nil, nodeinfolist=nil, espublicurl=nil, multizoneinfo=nil, deploymode=nil, publicaccess=nil, espublicacl=nil, kibanaprivateurl=nil, kibanapublicaccess=nil, kibanaprivateaccess=nil, securitytype=nil, scenetype=nil, kibanaconfig=nil, kibananodeinfo=nil, webnodetypeinfo=nil, jdk=nil, protocol=nil, securitygroups=nil, coldnodetype=nil, coldnodenum=nil, coldcpunum=nil, coldmemsize=nil, colddisktype=nil, colddisksize=nil, frozennodetype=nil, frozennodenum=nil, frozencpunum=nil, frozenmemsize=nil, frozendisktype=nil, frozendisksize=nil, healthstatus=nil, esprivateurl=nil, esprivatedomain=nil, esconfigsets=nil, operationduration=nil, optionalwebserviceinfos=nil, autoindexenabled=nil, enablehybridstorage=nil, processpercent=nil, kibanaalteringpublicaccess=nil, haskernelupgrade=nil, cdcid=nil, kibanaprivatevip=nil, customkibanaprivateurl=nil, outboundpublicacls=nil, netconnectscheme=nil)
3674
+ def initialize(instanceid=nil, instancename=nil, region=nil, zone=nil, appid=nil, uin=nil, vpcuid=nil, subnetuid=nil, status=nil, renewflag=nil, chargetype=nil, chargeperiod=nil, nodetype=nil, nodenum=nil, cpunum=nil, memsize=nil, disktype=nil, disksize=nil, esdomain=nil, esvip=nil, esport=nil, kibanaurl=nil, esversion=nil, esconfig=nil, esacl=nil, createtime=nil, updatetime=nil, deadline=nil, instancetype=nil, ikconfig=nil, masternodeinfo=nil, cosbackup=nil, allowcosbackup=nil, taglist=nil, licensetype=nil, enablehotwarmmode=nil, warmnodetype=nil, warmnodenum=nil, warmcpunum=nil, warmmemsize=nil, warmdisktype=nil, warmdisksize=nil, nodeinfolist=nil, espublicurl=nil, multizoneinfo=nil, deploymode=nil, publicaccess=nil, espublicacl=nil, kibanaprivateurl=nil, kibanapublicaccess=nil, kibanaprivateaccess=nil, securitytype=nil, scenetype=nil, kibanaconfig=nil, kibananodeinfo=nil, webnodetypeinfo=nil, jdk=nil, protocol=nil, securitygroups=nil, coldnodetype=nil, coldnodenum=nil, coldcpunum=nil, coldmemsize=nil, colddisktype=nil, colddisksize=nil, frozennodetype=nil, frozennodenum=nil, frozencpunum=nil, frozenmemsize=nil, frozendisktype=nil, frozendisksize=nil, healthstatus=nil, esprivateurl=nil, esprivatedomain=nil, esconfigsets=nil, operationduration=nil, optionalwebserviceinfos=nil, autoindexenabled=nil, enablehybridstorage=nil, processpercent=nil, kibanaalteringpublicaccess=nil, haskernelupgrade=nil, cdcid=nil, kibanaprivatevip=nil, customkibanaprivateurl=nil, outboundpublicacls=nil, netconnectscheme=nil, disasterrecovergroupaffinity=nil)
3624
3675
  @InstanceId = instanceid
3625
3676
  @InstanceName = instancename
3626
3677
  @Region = region
@@ -3708,6 +3759,7 @@ module TencentCloud
3708
3759
  @CustomKibanaPrivateUrl = customkibanaprivateurl
3709
3760
  @OutboundPublicAcls = outboundpublicacls
3710
3761
  @NetConnectScheme = netconnectscheme
3762
+ @DisasterRecoverGroupAffinity = disasterrecovergroupaffinity
3711
3763
  end
3712
3764
 
3713
3765
  def deserialize(params)
@@ -3864,6 +3916,7 @@ module TencentCloud
3864
3916
  end
3865
3917
  end
3866
3918
  @NetConnectScheme = params['NetConnectScheme']
3919
+ @DisasterRecoverGroupAffinity = params['DisasterRecoverGroupAffinity']
3867
3920
  end
3868
3921
  end
3869
3922
 
@@ -5380,17 +5433,22 @@ module TencentCloud
5380
5433
  # @param TimestampField: 时间分区字段
5381
5434
  # 注意:此字段可能返回 null,表示取不到有效值。
5382
5435
  # @type TimestampField: String
5436
+ # @param SinkCycleAge: 标准存储时长
5437
+ # 注意:此字段可能返回 null,表示取不到有效值。
5438
+ # @type SinkCycleAge: String
5383
5439
 
5384
- attr_accessor :ExpireMaxAge, :TimestampField
5440
+ attr_accessor :ExpireMaxAge, :TimestampField, :SinkCycleAge
5385
5441
 
5386
- def initialize(expiremaxage=nil, timestampfield=nil)
5442
+ def initialize(expiremaxage=nil, timestampfield=nil, sinkcycleage=nil)
5387
5443
  @ExpireMaxAge = expiremaxage
5388
5444
  @TimestampField = timestampfield
5445
+ @SinkCycleAge = sinkcycleage
5389
5446
  end
5390
5447
 
5391
5448
  def deserialize(params)
5392
5449
  @ExpireMaxAge = params['ExpireMaxAge']
5393
5450
  @TimestampField = params['TimestampField']
5451
+ @SinkCycleAge = params['SinkCycleAge']
5394
5452
  end
5395
5453
  end
5396
5454
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-es
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.858
4
+ version: 3.0.860
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-07-04 00:00:00.000000000 Z
11
+ date: 2024-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common