tencentcloud-sdk-es 3.0.857 → 3.0.859

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: e32d82fe0fa1408c88e4e74fb7282a6b95b471ba
4
- data.tar.gz: ad40ca77cbb7bd838772cdab28f992093ba023c8
3
+ metadata.gz: bea97d5595ed2b59b5bfef91a743b210148ba41b
4
+ data.tar.gz: 3e1db10e6b05c37e9336fa2ee61b42416fff9e2f
5
5
  SHA512:
6
- metadata.gz: 58f26249ae48eb90cdcd6b99ef45a3064370532346f5efc174ec0ec5a93430688674dfccd1e43ad7621b674c570605093bc48f179eab71097876a79f31c844d7
7
- data.tar.gz: 199739f7d589ab004a6d1cc7042887efd42911f74cd8c4e8682ddeef514b53cc870251e9eaa0bc90b518bfef2c78175cf103fd0c9d39546349acce8800066a21
6
+ metadata.gz: 0f3077184cd88ace316ec853c91408cc22861d252e0697c8c478a11ec58bdf9de081a2c9d7bb8d3e64a36a98abdeca2f010f153e418de00eadfabebfeb4d7bd8
7
+ data.tar.gz: c4523c51be1bef67dd4048ceb58c6d2db708cdf082f2c7f9c361b0ec3ed306a1adea3a03d80bbd1f369433138864915afb6c9f1f8dac8308b311b8e79a16f047
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.857
1
+ 3.0.859
@@ -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
 
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.857
4
+ version: 3.0.859
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-03 00:00:00.000000000 Z
11
+ date: 2024-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common