tencentcloud-sdk-cdwdoris 3.0.889 → 3.0.890
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20211228/client.rb +24 -0
- data/lib/v20211228/models.rb +100 -2
- 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: 3faa59fffffacbd3415bdc8a5f99208cd42fa24f
|
4
|
+
data.tar.gz: 1bc0f82921c2c69b575eeed665eda2943ebc6b2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4f2b5214a910c455f8685e0845b554fc9257b457809fcdeeb43dd928ed5d230b1efbaf3aff7b167176e2168c97e89611bb422bc0e8523eaf3a6c5ec266a60cd
|
7
|
+
data.tar.gz: f291d4bf144c224fbc2f15cac013c42b297cb131767adb90adb4fb4144e11fc00516f19adf3feb2f1dd52c61fa0857c9733b40664e8694264838275b847d3416
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.890
|
data/lib/v20211228/client.rb
CHANGED
@@ -29,6 +29,30 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 新增和修改用户接口
|
33
|
+
|
34
|
+
# @param request: Request instance for ActionAlterUser.
|
35
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::ActionAlterUserRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::ActionAlterUserResponse`
|
37
|
+
def ActionAlterUser(request)
|
38
|
+
body = send_request('ActionAlterUser', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = ActionAlterUserResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
32
56
|
# 取消对应的备份实例任务
|
33
57
|
|
34
58
|
# @param request: Request instance for CancelBackupJob.
|
data/lib/v20211228/models.rb
CHANGED
@@ -17,6 +17,54 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Cdwdoris
|
19
19
|
module V20211228
|
20
|
+
# ActionAlterUser请求参数结构体
|
21
|
+
class ActionAlterUserRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param UserInfo: 用户信息
|
23
|
+
# @type UserInfo: :class:`Tencentcloud::Cdwdoris.v20211228.models.UserInfo`
|
24
|
+
# @param ApiType: api接口类型
|
25
|
+
# @type ApiType: String
|
26
|
+
# @param UserPrivilege: 用户权限类型 0:普通用户 1:管理员
|
27
|
+
# @type UserPrivilege: Integer
|
28
|
+
|
29
|
+
attr_accessor :UserInfo, :ApiType, :UserPrivilege
|
30
|
+
|
31
|
+
def initialize(userinfo=nil, apitype=nil, userprivilege=nil)
|
32
|
+
@UserInfo = userinfo
|
33
|
+
@ApiType = apitype
|
34
|
+
@UserPrivilege = userprivilege
|
35
|
+
end
|
36
|
+
|
37
|
+
def deserialize(params)
|
38
|
+
unless params['UserInfo'].nil?
|
39
|
+
@UserInfo = UserInfo.new
|
40
|
+
@UserInfo.deserialize(params['UserInfo'])
|
41
|
+
end
|
42
|
+
@ApiType = params['ApiType']
|
43
|
+
@UserPrivilege = params['UserPrivilege']
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# ActionAlterUser返回参数结构体
|
48
|
+
class ActionAlterUserResponse < TencentCloud::Common::AbstractModel
|
49
|
+
# @param ErrorMsg: 错误信息
|
50
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
51
|
+
# @type ErrorMsg: String
|
52
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
53
|
+
# @type RequestId: String
|
54
|
+
|
55
|
+
attr_accessor :ErrorMsg, :RequestId
|
56
|
+
|
57
|
+
def initialize(errormsg=nil, requestid=nil)
|
58
|
+
@ErrorMsg = errormsg
|
59
|
+
@RequestId = requestid
|
60
|
+
end
|
61
|
+
|
62
|
+
def deserialize(params)
|
63
|
+
@ErrorMsg = params['ErrorMsg']
|
64
|
+
@RequestId = params['RequestId']
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
20
68
|
# 集群内节点的规格磁盘规格描述
|
21
69
|
class AttachCBSSpec < TencentCloud::Common::AbstractModel
|
22
70
|
# @param DiskType: 节点磁盘类型,例如“CLOUD_SSD”\"CLOUD_PREMIUM"
|
@@ -3256,13 +3304,19 @@ module TencentCloud
|
|
3256
3304
|
# @param Details: 实例扩展信息
|
3257
3305
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3258
3306
|
# @type Details: :class:`Tencentcloud::Cdwdoris.v20211228.models.InstanceDetail`
|
3307
|
+
# @param EnableDlc: 是否启用DLC 0:关闭 1:开启
|
3308
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3309
|
+
# @type EnableDlc: Integer
|
3310
|
+
# @param AccountType: 账户类型 0:普通用户 1:CAM用户
|
3311
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3312
|
+
# @type AccountType: Integer
|
3259
3313
|
|
3260
|
-
attr_accessor :InstanceId, :InstanceName, :Status, :Version, :Region, :Zone, :VpcId, :SubnetId, :PayMode, :CreateTime, :ExpireTime, :MasterSummary, :CoreSummary, :HA, :HaType, :AccessInfo, :Id, :RegionId, :ZoneDesc, :FlowMsg, :StatusDesc, :RenewFlag, :Tags, :Monitor, :HasClsTopic, :ClsTopicId, :ClsLogSetId, :EnableXMLConfig, :RegionDesc, :Eip, :CosMoveFactor, :Kind, :CosBucketName, :CanAttachCbs, :BuildVersion, :Components, :IfExistCatalog, :Characteristic, :RestartTimeout, :GraceShutdownWaitSeconds, :CaseSensitive, :IsWhiteSGs, :BindSGs, :EnableMultiZones, :UserNetworkInfos, :EnableCoolDown, :CoolDownBucket, :Details
|
3314
|
+
attr_accessor :InstanceId, :InstanceName, :Status, :Version, :Region, :Zone, :VpcId, :SubnetId, :PayMode, :CreateTime, :ExpireTime, :MasterSummary, :CoreSummary, :HA, :HaType, :AccessInfo, :Id, :RegionId, :ZoneDesc, :FlowMsg, :StatusDesc, :RenewFlag, :Tags, :Monitor, :HasClsTopic, :ClsTopicId, :ClsLogSetId, :EnableXMLConfig, :RegionDesc, :Eip, :CosMoveFactor, :Kind, :CosBucketName, :CanAttachCbs, :BuildVersion, :Components, :IfExistCatalog, :Characteristic, :RestartTimeout, :GraceShutdownWaitSeconds, :CaseSensitive, :IsWhiteSGs, :BindSGs, :EnableMultiZones, :UserNetworkInfos, :EnableCoolDown, :CoolDownBucket, :Details, :EnableDlc, :AccountType
|
3261
3315
|
extend Gem::Deprecate
|
3262
3316
|
deprecate :IfExistCatalog, :none, 2024, 8
|
3263
3317
|
deprecate :IfExistCatalog=, :none, 2024, 8
|
3264
3318
|
|
3265
|
-
def initialize(instanceid=nil, instancename=nil, status=nil, version=nil, region=nil, zone=nil, vpcid=nil, subnetid=nil, paymode=nil, createtime=nil, expiretime=nil, mastersummary=nil, coresummary=nil, ha=nil, hatype=nil, accessinfo=nil, id=nil, regionid=nil, zonedesc=nil, flowmsg=nil, statusdesc=nil, renewflag=nil, tags=nil, monitor=nil, hasclstopic=nil, clstopicid=nil, clslogsetid=nil, enablexmlconfig=nil, regiondesc=nil, eip=nil, cosmovefactor=nil, kind=nil, cosbucketname=nil, canattachcbs=nil, buildversion=nil, components=nil, ifexistcatalog=nil, characteristic=nil, restarttimeout=nil, graceshutdownwaitseconds=nil, casesensitive=nil, iswhitesgs=nil, bindsgs=nil, enablemultizones=nil, usernetworkinfos=nil, enablecooldown=nil, cooldownbucket=nil, details=nil)
|
3319
|
+
def initialize(instanceid=nil, instancename=nil, status=nil, version=nil, region=nil, zone=nil, vpcid=nil, subnetid=nil, paymode=nil, createtime=nil, expiretime=nil, mastersummary=nil, coresummary=nil, ha=nil, hatype=nil, accessinfo=nil, id=nil, regionid=nil, zonedesc=nil, flowmsg=nil, statusdesc=nil, renewflag=nil, tags=nil, monitor=nil, hasclstopic=nil, clstopicid=nil, clslogsetid=nil, enablexmlconfig=nil, regiondesc=nil, eip=nil, cosmovefactor=nil, kind=nil, cosbucketname=nil, canattachcbs=nil, buildversion=nil, components=nil, ifexistcatalog=nil, characteristic=nil, restarttimeout=nil, graceshutdownwaitseconds=nil, casesensitive=nil, iswhitesgs=nil, bindsgs=nil, enablemultizones=nil, usernetworkinfos=nil, enablecooldown=nil, cooldownbucket=nil, details=nil, enabledlc=nil, accounttype=nil)
|
3266
3320
|
@InstanceId = instanceid
|
3267
3321
|
@InstanceName = instancename
|
3268
3322
|
@Status = status
|
@@ -3311,6 +3365,8 @@ module TencentCloud
|
|
3311
3365
|
@EnableCoolDown = enablecooldown
|
3312
3366
|
@CoolDownBucket = cooldownbucket
|
3313
3367
|
@Details = details
|
3368
|
+
@EnableDlc = enabledlc
|
3369
|
+
@AccountType = accounttype
|
3314
3370
|
end
|
3315
3371
|
|
3316
3372
|
def deserialize(params)
|
@@ -3378,6 +3434,8 @@ module TencentCloud
|
|
3378
3434
|
@Details = InstanceDetail.new
|
3379
3435
|
@Details.deserialize(params['Details'])
|
3380
3436
|
end
|
3437
|
+
@EnableDlc = params['EnableDlc']
|
3438
|
+
@AccountType = params['AccountType']
|
3381
3439
|
end
|
3382
3440
|
end
|
3383
3441
|
|
@@ -5105,6 +5163,46 @@ module TencentCloud
|
|
5105
5163
|
end
|
5106
5164
|
end
|
5107
5165
|
|
5166
|
+
# 新增或是修改用户
|
5167
|
+
class UserInfo < TencentCloud::Common::AbstractModel
|
5168
|
+
# @param InstanceId: 集群实例id
|
5169
|
+
# @type InstanceId: String
|
5170
|
+
# @param UserName: 用户名
|
5171
|
+
# @type UserName: String
|
5172
|
+
# @param PassWord: 密码
|
5173
|
+
# @type PassWord: String
|
5174
|
+
# @param WhiteHost: 用户链接来自的 IP
|
5175
|
+
# @type WhiteHost: String
|
5176
|
+
# @param OldWhiteHost: 修改前用户链接来自的 IP
|
5177
|
+
# @type OldWhiteHost: String
|
5178
|
+
# @param Describe: 描述
|
5179
|
+
# @type Describe: String
|
5180
|
+
# @param OldPwd: 旧密码
|
5181
|
+
# @type OldPwd: String
|
5182
|
+
|
5183
|
+
attr_accessor :InstanceId, :UserName, :PassWord, :WhiteHost, :OldWhiteHost, :Describe, :OldPwd
|
5184
|
+
|
5185
|
+
def initialize(instanceid=nil, username=nil, password=nil, whitehost=nil, oldwhitehost=nil, describe=nil, oldpwd=nil)
|
5186
|
+
@InstanceId = instanceid
|
5187
|
+
@UserName = username
|
5188
|
+
@PassWord = password
|
5189
|
+
@WhiteHost = whitehost
|
5190
|
+
@OldWhiteHost = oldwhitehost
|
5191
|
+
@Describe = describe
|
5192
|
+
@OldPwd = oldpwd
|
5193
|
+
end
|
5194
|
+
|
5195
|
+
def deserialize(params)
|
5196
|
+
@InstanceId = params['InstanceId']
|
5197
|
+
@UserName = params['UserName']
|
5198
|
+
@PassWord = params['PassWord']
|
5199
|
+
@WhiteHost = params['WhiteHost']
|
5200
|
+
@OldWhiteHost = params['OldWhiteHost']
|
5201
|
+
@Describe = params['Describe']
|
5202
|
+
@OldPwd = params['OldPwd']
|
5203
|
+
end
|
5204
|
+
end
|
5205
|
+
|
5108
5206
|
# 用户绑定资源组信息
|
5109
5207
|
class UserWorkloadGroup < TencentCloud::Common::AbstractModel
|
5110
5208
|
# @param UserName: test
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdwdoris
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.890
|
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-08-
|
11
|
+
date: 2024-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|