tencentcloud-sdk-es 3.0.895 → 3.0.897
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180416/client.rb +24 -0
- data/lib/v20180416/models.rb +44 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8edbc2d8631c02a92cc0bd784087b006e1d317b
|
4
|
+
data.tar.gz: 86ddef082336c356cdada9763a5618a60407b733
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e62e1af20614dd9f1ccc6ecf552913ab4a085273499b3a04c90daebecf37e4b110315c8be8229aa39264ca33f538c98156154a19fad4c6ab1776ad220d4b531
|
7
|
+
data.tar.gz: 11be9634939fd08c5204e4ed38051c3bbcfad98059ec97455202609e977737084fc7dd3cb8e91c8056abb5500b43f3e5b353b3ff7983dc9a475824a72fce7391
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.897
|
data/lib/v20180416/client.rb
CHANGED
@@ -846,6 +846,30 @@ module TencentCloud
|
|
846
846
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
847
847
|
end
|
848
848
|
|
849
|
+
# ES集群安装模型接口
|
850
|
+
|
851
|
+
# @param request: Request instance for InstallInstanceModel.
|
852
|
+
# @type request: :class:`Tencentcloud::es::V20180416::InstallInstanceModelRequest`
|
853
|
+
# @rtype: :class:`Tencentcloud::es::V20180416::InstallInstanceModelResponse`
|
854
|
+
def InstallInstanceModel(request)
|
855
|
+
body = send_request('InstallInstanceModel', request.serialize)
|
856
|
+
response = JSON.parse(body)
|
857
|
+
if response['Response'].key?('Error') == false
|
858
|
+
model = InstallInstanceModelResponse.new
|
859
|
+
model.deserialize(response['Response'])
|
860
|
+
model
|
861
|
+
else
|
862
|
+
code = response['Response']['Error']['Code']
|
863
|
+
message = response['Response']['Error']['Message']
|
864
|
+
reqid = response['Response']['RequestId']
|
865
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
866
|
+
end
|
867
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
868
|
+
raise e
|
869
|
+
rescue StandardError => e
|
870
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
871
|
+
end
|
872
|
+
|
849
873
|
# 修改绑定VIP的安全组,传安全组id列表
|
850
874
|
|
851
875
|
# @param request: Request instance for ModifyEsVipSecurityGroup.
|
data/lib/v20180416/models.rb
CHANGED
@@ -3487,6 +3487,50 @@ module TencentCloud
|
|
3487
3487
|
end
|
3488
3488
|
end
|
3489
3489
|
|
3490
|
+
# InstallInstanceModel请求参数结构体
|
3491
|
+
class InstallInstanceModelRequest < TencentCloud::Common::AbstractModel
|
3492
|
+
# @param InstanceId: 实例ID
|
3493
|
+
# @type InstanceId: String
|
3494
|
+
# @param UsrCosModelUrlList: 客户上传到自己cos的地址列表
|
3495
|
+
# @type UsrCosModelUrlList: Array
|
3496
|
+
|
3497
|
+
attr_accessor :InstanceId, :UsrCosModelUrlList
|
3498
|
+
|
3499
|
+
def initialize(instanceid=nil, usrcosmodelurllist=nil)
|
3500
|
+
@InstanceId = instanceid
|
3501
|
+
@UsrCosModelUrlList = usrcosmodelurllist
|
3502
|
+
end
|
3503
|
+
|
3504
|
+
def deserialize(params)
|
3505
|
+
@InstanceId = params['InstanceId']
|
3506
|
+
@UsrCosModelUrlList = params['UsrCosModelUrlList']
|
3507
|
+
end
|
3508
|
+
end
|
3509
|
+
|
3510
|
+
# InstallInstanceModel返回参数结构体
|
3511
|
+
class InstallInstanceModelResponse < TencentCloud::Common::AbstractModel
|
3512
|
+
# @param FlowId: 发起异步流程的flowId
|
3513
|
+
# @type FlowId: String
|
3514
|
+
# @param ErrMsg: 调用接口的错误信息
|
3515
|
+
# @type ErrMsg: String
|
3516
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3517
|
+
# @type RequestId: String
|
3518
|
+
|
3519
|
+
attr_accessor :FlowId, :ErrMsg, :RequestId
|
3520
|
+
|
3521
|
+
def initialize(flowid=nil, errmsg=nil, requestid=nil)
|
3522
|
+
@FlowId = flowid
|
3523
|
+
@ErrMsg = errmsg
|
3524
|
+
@RequestId = requestid
|
3525
|
+
end
|
3526
|
+
|
3527
|
+
def deserialize(params)
|
3528
|
+
@FlowId = params['FlowId']
|
3529
|
+
@ErrMsg = params['ErrMsg']
|
3530
|
+
@RequestId = params['RequestId']
|
3531
|
+
end
|
3532
|
+
end
|
3533
|
+
|
3490
3534
|
# 实例详细信息
|
3491
3535
|
class InstanceInfo < TencentCloud::Common::AbstractModel
|
3492
3536
|
# @param InstanceId: 实例ID
|
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.
|
4
|
+
version: 3.0.897
|
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-
|
11
|
+
date: 2024-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|