tencentcloud-sdk-es 3.0.610 → 3.0.611

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: 6267495fe7a0e951eb325b8d96fe0f91e12ebf29
4
- data.tar.gz: 27e0e544f734ebc5677d8b54b44fa8e41b7ca0a8
3
+ metadata.gz: 5f9bf0f13d71c48ec87bda92bd5ad5e5d4de50ba
4
+ data.tar.gz: de648984d917ad814c65bc26249c9b9e438b9334
5
5
  SHA512:
6
- metadata.gz: 255987f72d08a8c788cec65e5f02494c4cb11180d9b175082fe853f4d0aaad7203cba3c4fa0c322d31b2c74a208cdaf18f0660814c911cbc3fa53bdacd3b0527
7
- data.tar.gz: 6a02a810595cc705492e4d97863491ac22da20c06edbb189355c43724592e404780e5949ff3ce3cbfd43eda1af8b808f82e87e2ab01c79a9ae9f194f2fc7bf55
6
+ metadata.gz: 3ea075d19dbcd7efa46fdab47b418926d81bd9e2b2dbfe2ad2cd35dba7557a976652ab451464ca2f35e165d0a0e13a72d7383bfef85b8bf73a2b7c3dcbe40525
7
+ data.tar.gz: e76b5565681e45ea680ff330902500ccd0730375f815fdb5291c7eb8037de38b84115a84e34ac64affd4d921499ee5c797fd6de2d048b2af7d467ecb44d76cd6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.610
1
+ 3.0.611
@@ -485,6 +485,30 @@ module TencentCloud
485
485
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
486
  end
487
487
 
488
+ # 修改绑定VIP的安全组,传安全组id列表
489
+
490
+ # @param request: Request instance for ModifyEsVipSecurityGroup.
491
+ # @type request: :class:`Tencentcloud::es::V20180416::ModifyEsVipSecurityGroupRequest`
492
+ # @rtype: :class:`Tencentcloud::es::V20180416::ModifyEsVipSecurityGroupResponse`
493
+ def ModifyEsVipSecurityGroup(request)
494
+ body = send_request('ModifyEsVipSecurityGroup', request.serialize)
495
+ response = JSON.parse(body)
496
+ if response['Response'].key?('Error') == false
497
+ model = ModifyEsVipSecurityGroupResponse.new
498
+ model.deserialize(response['Response'])
499
+ model
500
+ else
501
+ code = response['Response']['Error']['Code']
502
+ message = response['Response']['Error']['Message']
503
+ reqid = response['Response']['RequestId']
504
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
505
+ end
506
+ rescue TencentCloud::Common::TencentCloudSDKException => e
507
+ raise e
508
+ rescue StandardError => e
509
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
+ end
511
+
488
512
  # 重启ES集群实例(用于系统版本更新等操作)
489
513
 
490
514
  # @param request: Request instance for RestartInstance.
@@ -2850,6 +2850,42 @@ module TencentCloud
2850
2850
  end
2851
2851
  end
2852
2852
 
2853
+ # ModifyEsVipSecurityGroup请求参数结构体
2854
+ class ModifyEsVipSecurityGroupRequest < TencentCloud::Common::AbstractModel
2855
+ # @param InstanceId: es集群的实例id
2856
+ # @type InstanceId: String
2857
+ # @param SecurityGroupIds: 安全组id列表
2858
+ # @type SecurityGroupIds: Array
2859
+
2860
+ attr_accessor :InstanceId, :SecurityGroupIds
2861
+
2862
+ def initialize(instanceid=nil, securitygroupids=nil)
2863
+ @InstanceId = instanceid
2864
+ @SecurityGroupIds = securitygroupids
2865
+ end
2866
+
2867
+ def deserialize(params)
2868
+ @InstanceId = params['InstanceId']
2869
+ @SecurityGroupIds = params['SecurityGroupIds']
2870
+ end
2871
+ end
2872
+
2873
+ # ModifyEsVipSecurityGroup返回参数结构体
2874
+ class ModifyEsVipSecurityGroupResponse < TencentCloud::Common::AbstractModel
2875
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2876
+ # @type RequestId: String
2877
+
2878
+ attr_accessor :RequestId
2879
+
2880
+ def initialize(requestid=nil)
2881
+ @RequestId = requestid
2882
+ end
2883
+
2884
+ def deserialize(params)
2885
+ @RequestId = params['RequestId']
2886
+ end
2887
+ end
2888
+
2853
2889
  # 集群中一种节点类型(如热数据节点,冷数据节点,专用主节点等)的规格描述信息,包括节点类型,节点个数,节点规格,磁盘类型,磁盘大小等, Type不指定时默认为热数据节点;如果节点为master节点,则DiskType和DiskSize参数会被忽略(主节点无数据盘)
2854
2890
  class NodeInfo < TencentCloud::Common::AbstractModel
2855
2891
  # @param NodeNum: 节点数量
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.610
4
+ version: 3.0.611
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-07-11 00:00:00.000000000 Z
11
+ date: 2023-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-es.rb
37
- - lib/v20180416/client.rb
38
37
  - lib/v20180416/models.rb
38
+ - lib/v20180416/client.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: