tencentcloud-sdk-cdwdoris 3.0.875 → 3.0.876
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/v20211228/client.rb +456 -0
- data/lib/v20211228/models.rb +1589 -63
- metadata +2 -2
data/lib/v20211228/models.rb
CHANGED
@@ -45,6 +45,28 @@ module TencentCloud
|
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
+
# 资源组绑定的用户信息,需要username和host信息进行授权
|
49
|
+
class BindUser < TencentCloud::Common::AbstractModel
|
50
|
+
# @param UserName: 用户名
|
51
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
52
|
+
# @type UserName: String
|
53
|
+
# @param Host: 主机信息
|
54
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
55
|
+
# @type Host: String
|
56
|
+
|
57
|
+
attr_accessor :UserName, :Host
|
58
|
+
|
59
|
+
def initialize(username=nil, host=nil)
|
60
|
+
@UserName = username
|
61
|
+
@Host = host
|
62
|
+
end
|
63
|
+
|
64
|
+
def deserialize(params)
|
65
|
+
@UserName = params['UserName']
|
66
|
+
@Host = params['Host']
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
48
70
|
# 集群计费相关信息
|
49
71
|
class ChargeProperties < TencentCloud::Common::AbstractModel
|
50
72
|
# @param ChargeType: 计费类型,“PREPAID” 预付费,“POSTPAID_BY_HOUR” 后付费
|
@@ -317,6 +339,49 @@ module TencentCloud
|
|
317
339
|
end
|
318
340
|
end
|
319
341
|
|
342
|
+
# CreateWorkloadGroup请求参数结构体
|
343
|
+
class CreateWorkloadGroupRequest < TencentCloud::Common::AbstractModel
|
344
|
+
# @param InstanceId: 集群id
|
345
|
+
# @type InstanceId: String
|
346
|
+
# @param WorkloadGroup: 资源组配置
|
347
|
+
# @type WorkloadGroup: :class:`Tencentcloud::Cdwdoris.v20211228.models.WorkloadGroupConfig`
|
348
|
+
|
349
|
+
attr_accessor :InstanceId, :WorkloadGroup
|
350
|
+
|
351
|
+
def initialize(instanceid=nil, workloadgroup=nil)
|
352
|
+
@InstanceId = instanceid
|
353
|
+
@WorkloadGroup = workloadgroup
|
354
|
+
end
|
355
|
+
|
356
|
+
def deserialize(params)
|
357
|
+
@InstanceId = params['InstanceId']
|
358
|
+
unless params['WorkloadGroup'].nil?
|
359
|
+
@WorkloadGroup = WorkloadGroupConfig.new
|
360
|
+
@WorkloadGroup.deserialize(params['WorkloadGroup'])
|
361
|
+
end
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
365
|
+
# CreateWorkloadGroup返回参数结构体
|
366
|
+
class CreateWorkloadGroupResponse < TencentCloud::Common::AbstractModel
|
367
|
+
# @param ErrorMsg: 错误信息
|
368
|
+
# @type ErrorMsg: String
|
369
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
370
|
+
# @type RequestId: String
|
371
|
+
|
372
|
+
attr_accessor :ErrorMsg, :RequestId
|
373
|
+
|
374
|
+
def initialize(errormsg=nil, requestid=nil)
|
375
|
+
@ErrorMsg = errormsg
|
376
|
+
@RequestId = requestid
|
377
|
+
end
|
378
|
+
|
379
|
+
def deserialize(params)
|
380
|
+
@ErrorMsg = params['ErrorMsg']
|
381
|
+
@RequestId = params['RequestId']
|
382
|
+
end
|
383
|
+
end
|
384
|
+
|
320
385
|
# 数据库审计
|
321
386
|
class DataBaseAuditRecord < TencentCloud::Common::AbstractModel
|
322
387
|
# @param OsUser: 查询用户
|
@@ -394,6 +459,46 @@ module TencentCloud
|
|
394
459
|
end
|
395
460
|
end
|
396
461
|
|
462
|
+
# DeleteWorkloadGroup请求参数结构体
|
463
|
+
class DeleteWorkloadGroupRequest < TencentCloud::Common::AbstractModel
|
464
|
+
# @param InstanceId: 集群id
|
465
|
+
# @type InstanceId: String
|
466
|
+
# @param WorkloadGroupName: 需要删除的资源组名称
|
467
|
+
# @type WorkloadGroupName: String
|
468
|
+
|
469
|
+
attr_accessor :InstanceId, :WorkloadGroupName
|
470
|
+
|
471
|
+
def initialize(instanceid=nil, workloadgroupname=nil)
|
472
|
+
@InstanceId = instanceid
|
473
|
+
@WorkloadGroupName = workloadgroupname
|
474
|
+
end
|
475
|
+
|
476
|
+
def deserialize(params)
|
477
|
+
@InstanceId = params['InstanceId']
|
478
|
+
@WorkloadGroupName = params['WorkloadGroupName']
|
479
|
+
end
|
480
|
+
end
|
481
|
+
|
482
|
+
# DeleteWorkloadGroup返回参数结构体
|
483
|
+
class DeleteWorkloadGroupResponse < TencentCloud::Common::AbstractModel
|
484
|
+
# @param ErrorMsg: 错误信息
|
485
|
+
# @type ErrorMsg: String
|
486
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
487
|
+
# @type RequestId: String
|
488
|
+
|
489
|
+
attr_accessor :ErrorMsg, :RequestId
|
490
|
+
|
491
|
+
def initialize(errormsg=nil, requestid=nil)
|
492
|
+
@ErrorMsg = errormsg
|
493
|
+
@RequestId = requestid
|
494
|
+
end
|
495
|
+
|
496
|
+
def deserialize(params)
|
497
|
+
@ErrorMsg = params['ErrorMsg']
|
498
|
+
@RequestId = params['RequestId']
|
499
|
+
end
|
500
|
+
end
|
501
|
+
|
397
502
|
# DescribeClusterConfigs请求参数结构体
|
398
503
|
class DescribeClusterConfigsRequest < TencentCloud::Common::AbstractModel
|
399
504
|
# @param InstanceId: 集群实例ID
|
@@ -640,6 +745,219 @@ module TencentCloud
|
|
640
745
|
end
|
641
746
|
end
|
642
747
|
|
748
|
+
# DescribeFederationToken请求参数结构体
|
749
|
+
class DescribeFederationTokenRequest < TencentCloud::Common::AbstractModel
|
750
|
+
|
751
|
+
|
752
|
+
def initialize()
|
753
|
+
end
|
754
|
+
|
755
|
+
def deserialize(params)
|
756
|
+
end
|
757
|
+
end
|
758
|
+
|
759
|
+
# DescribeFederationToken返回参数结构体
|
760
|
+
class DescribeFederationTokenResponse < TencentCloud::Common::AbstractModel
|
761
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
762
|
+
# @type RequestId: String
|
763
|
+
|
764
|
+
attr_accessor :RequestId
|
765
|
+
|
766
|
+
def initialize(requestid=nil)
|
767
|
+
@RequestId = requestid
|
768
|
+
end
|
769
|
+
|
770
|
+
def deserialize(params)
|
771
|
+
@RequestId = params['RequestId']
|
772
|
+
end
|
773
|
+
end
|
774
|
+
|
775
|
+
# DescribeGoodsDetail请求参数结构体
|
776
|
+
class DescribeGoodsDetailRequest < TencentCloud::Common::AbstractModel
|
777
|
+
# @param Case: 操作类型,“CREATE"表示创建、”MODIFY"表示变更配置、“RENEW"表示续费
|
778
|
+
# @type Case: String
|
779
|
+
# @param Zone: 可用区,例如"ap-guangzhou-3"表示广州三区等
|
780
|
+
# @type Zone: String
|
781
|
+
# @param HaFlag: 集群的高可用标记,true表示为高可用集群
|
782
|
+
# @type HaFlag: Boolean
|
783
|
+
# @param HaType: 高可用类型: 0:非高可用 1:读高可用 2:读写高可用。
|
784
|
+
# @type HaType: Integer
|
785
|
+
# @param UserVPCId: 用户集群的私有网络
|
786
|
+
# @type UserVPCId: String
|
787
|
+
# @param UserSubnetId: 用户集群的子网
|
788
|
+
# @type UserSubnetId: String
|
789
|
+
# @param ProductVersion: 用户集群的版本,例如“20.7.2.30”等
|
790
|
+
# @type ProductVersion: String
|
791
|
+
# @param InstanceId: 集群ID,创建时为空,其他情况必须存在
|
792
|
+
# @type InstanceId: String
|
793
|
+
# @param Resources: 集群资源规格描述
|
794
|
+
# @type Resources: Array
|
795
|
+
# @param ModifySpec: 集群规格修改参数
|
796
|
+
# @type ModifySpec: :class:`Tencentcloud::Cdwdoris.v20211228.models.ResourceNodeSpec`
|
797
|
+
# @param ChargeProperties: 计费信息
|
798
|
+
# @type ChargeProperties: :class:`Tencentcloud::Cdwdoris.v20211228.models.ChargeProperties`
|
799
|
+
# @param InstanceName: 创建集群时需要填写InstanceName
|
800
|
+
# @type InstanceName: String
|
801
|
+
# @param Tags: 购买页填写的标签列表
|
802
|
+
# @type Tags: Array
|
803
|
+
# @param ClsLogSetId: CLS日志集ID
|
804
|
+
# @type ClsLogSetId: String
|
805
|
+
# @param UserSubnetIPNum: 用户子网剩余ip数量
|
806
|
+
# @type UserSubnetIPNum: Integer
|
807
|
+
# @param CosBucketName: COS桶名称
|
808
|
+
# @type CosBucketName: String
|
809
|
+
# @param HourToPrepaid: 按量计费转包年包月
|
810
|
+
# @type HourToPrepaid: Boolean
|
811
|
+
# @param DorisUserPwd: base64密码
|
812
|
+
# @type DorisUserPwd: String
|
813
|
+
# @param LogType: 日志的类型,es或者cls_topic
|
814
|
+
# @type LogType: String
|
815
|
+
# @param CaseSensitive: 表名大小写是否敏感,0:敏感;1:不敏感,表名改为以小写存储;2:不敏感,以小写进行比较
|
816
|
+
# @type CaseSensitive: Integer
|
817
|
+
# @param RollingRestart: true为滚动重启 false为批量重启
|
818
|
+
# @type RollingRestart: Boolean
|
819
|
+
# @param EnableMultiZones: 是否为多可用区
|
820
|
+
# @type EnableMultiZones: Boolean
|
821
|
+
# @param UserMultiZoneInfos: 用户多可用区的网络信息
|
822
|
+
# @type UserMultiZoneInfos: Array
|
823
|
+
# @param Details: 扩展字段
|
824
|
+
# @type Details: :class:`Tencentcloud::Cdwdoris.v20211228.models.InstanceDetail`
|
825
|
+
|
826
|
+
attr_accessor :Case, :Zone, :HaFlag, :HaType, :UserVPCId, :UserSubnetId, :ProductVersion, :InstanceId, :Resources, :ModifySpec, :ChargeProperties, :InstanceName, :Tags, :ClsLogSetId, :UserSubnetIPNum, :CosBucketName, :HourToPrepaid, :DorisUserPwd, :LogType, :CaseSensitive, :RollingRestart, :EnableMultiZones, :UserMultiZoneInfos, :Details
|
827
|
+
|
828
|
+
def initialize(_case=nil, zone=nil, haflag=nil, hatype=nil, uservpcid=nil, usersubnetid=nil, productversion=nil, instanceid=nil, resources=nil, modifyspec=nil, chargeproperties=nil, instancename=nil, tags=nil, clslogsetid=nil, usersubnetipnum=nil, cosbucketname=nil, hourtoprepaid=nil, dorisuserpwd=nil, logtype=nil, casesensitive=nil, rollingrestart=nil, enablemultizones=nil, usermultizoneinfos=nil, details=nil)
|
829
|
+
@Case = _case
|
830
|
+
@Zone = zone
|
831
|
+
@HaFlag = haflag
|
832
|
+
@HaType = hatype
|
833
|
+
@UserVPCId = uservpcid
|
834
|
+
@UserSubnetId = usersubnetid
|
835
|
+
@ProductVersion = productversion
|
836
|
+
@InstanceId = instanceid
|
837
|
+
@Resources = resources
|
838
|
+
@ModifySpec = modifyspec
|
839
|
+
@ChargeProperties = chargeproperties
|
840
|
+
@InstanceName = instancename
|
841
|
+
@Tags = tags
|
842
|
+
@ClsLogSetId = clslogsetid
|
843
|
+
@UserSubnetIPNum = usersubnetipnum
|
844
|
+
@CosBucketName = cosbucketname
|
845
|
+
@HourToPrepaid = hourtoprepaid
|
846
|
+
@DorisUserPwd = dorisuserpwd
|
847
|
+
@LogType = logtype
|
848
|
+
@CaseSensitive = casesensitive
|
849
|
+
@RollingRestart = rollingrestart
|
850
|
+
@EnableMultiZones = enablemultizones
|
851
|
+
@UserMultiZoneInfos = usermultizoneinfos
|
852
|
+
@Details = details
|
853
|
+
end
|
854
|
+
|
855
|
+
def deserialize(params)
|
856
|
+
@Case = params['Case']
|
857
|
+
@Zone = params['Zone']
|
858
|
+
@HaFlag = params['HaFlag']
|
859
|
+
@HaType = params['HaType']
|
860
|
+
@UserVPCId = params['UserVPCId']
|
861
|
+
@UserSubnetId = params['UserSubnetId']
|
862
|
+
@ProductVersion = params['ProductVersion']
|
863
|
+
@InstanceId = params['InstanceId']
|
864
|
+
unless params['Resources'].nil?
|
865
|
+
@Resources = []
|
866
|
+
params['Resources'].each do |i|
|
867
|
+
resourcenodespec_tmp = ResourceNodeSpec.new
|
868
|
+
resourcenodespec_tmp.deserialize(i)
|
869
|
+
@Resources << resourcenodespec_tmp
|
870
|
+
end
|
871
|
+
end
|
872
|
+
unless params['ModifySpec'].nil?
|
873
|
+
@ModifySpec = ResourceNodeSpec.new
|
874
|
+
@ModifySpec.deserialize(params['ModifySpec'])
|
875
|
+
end
|
876
|
+
unless params['ChargeProperties'].nil?
|
877
|
+
@ChargeProperties = ChargeProperties.new
|
878
|
+
@ChargeProperties.deserialize(params['ChargeProperties'])
|
879
|
+
end
|
880
|
+
@InstanceName = params['InstanceName']
|
881
|
+
unless params['Tags'].nil?
|
882
|
+
@Tags = []
|
883
|
+
params['Tags'].each do |i|
|
884
|
+
tag_tmp = Tag.new
|
885
|
+
tag_tmp.deserialize(i)
|
886
|
+
@Tags << tag_tmp
|
887
|
+
end
|
888
|
+
end
|
889
|
+
@ClsLogSetId = params['ClsLogSetId']
|
890
|
+
@UserSubnetIPNum = params['UserSubnetIPNum']
|
891
|
+
@CosBucketName = params['CosBucketName']
|
892
|
+
@HourToPrepaid = params['HourToPrepaid']
|
893
|
+
@DorisUserPwd = params['DorisUserPwd']
|
894
|
+
@LogType = params['LogType']
|
895
|
+
@CaseSensitive = params['CaseSensitive']
|
896
|
+
@RollingRestart = params['RollingRestart']
|
897
|
+
@EnableMultiZones = params['EnableMultiZones']
|
898
|
+
unless params['UserMultiZoneInfos'].nil?
|
899
|
+
@UserMultiZoneInfos = []
|
900
|
+
params['UserMultiZoneInfos'].each do |i|
|
901
|
+
networkinfo_tmp = NetworkInfo.new
|
902
|
+
networkinfo_tmp.deserialize(i)
|
903
|
+
@UserMultiZoneInfos << networkinfo_tmp
|
904
|
+
end
|
905
|
+
end
|
906
|
+
unless params['Details'].nil?
|
907
|
+
@Details = InstanceDetail.new
|
908
|
+
@Details.deserialize(params['Details'])
|
909
|
+
end
|
910
|
+
end
|
911
|
+
end
|
912
|
+
|
913
|
+
# DescribeGoodsDetail返回参数结构体
|
914
|
+
class DescribeGoodsDetailResponse < TencentCloud::Common::AbstractModel
|
915
|
+
# @param GoodsDetail: GoodsDetail对象
|
916
|
+
# @type GoodsDetail: String
|
917
|
+
# @param GoodsCategoryId: GoodsCategoryId 表示操作类型
|
918
|
+
# @type GoodsCategoryId: Integer
|
919
|
+
# @param Type: 子商品码
|
920
|
+
# @type Type: String
|
921
|
+
# @param PayMode: 付费模式,0后付费,1预付费
|
922
|
+
# @type PayMode: Integer
|
923
|
+
# @param RegionId: 地域ID
|
924
|
+
# @type RegionId: Integer
|
925
|
+
# @param ZoneId: 可用区ID
|
926
|
+
# @type ZoneId: Integer
|
927
|
+
# @param ResourceId: 资源标识符
|
928
|
+
# @type ResourceId: String
|
929
|
+
# @param GoodsNum: 商品数目
|
930
|
+
# @type GoodsNum: Integer
|
931
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
932
|
+
# @type RequestId: String
|
933
|
+
|
934
|
+
attr_accessor :GoodsDetail, :GoodsCategoryId, :Type, :PayMode, :RegionId, :ZoneId, :ResourceId, :GoodsNum, :RequestId
|
935
|
+
|
936
|
+
def initialize(goodsdetail=nil, goodscategoryid=nil, type=nil, paymode=nil, regionid=nil, zoneid=nil, resourceid=nil, goodsnum=nil, requestid=nil)
|
937
|
+
@GoodsDetail = goodsdetail
|
938
|
+
@GoodsCategoryId = goodscategoryid
|
939
|
+
@Type = type
|
940
|
+
@PayMode = paymode
|
941
|
+
@RegionId = regionid
|
942
|
+
@ZoneId = zoneid
|
943
|
+
@ResourceId = resourceid
|
944
|
+
@GoodsNum = goodsnum
|
945
|
+
@RequestId = requestid
|
946
|
+
end
|
947
|
+
|
948
|
+
def deserialize(params)
|
949
|
+
@GoodsDetail = params['GoodsDetail']
|
950
|
+
@GoodsCategoryId = params['GoodsCategoryId']
|
951
|
+
@Type = params['Type']
|
952
|
+
@PayMode = params['PayMode']
|
953
|
+
@RegionId = params['RegionId']
|
954
|
+
@ZoneId = params['ZoneId']
|
955
|
+
@ResourceId = params['ResourceId']
|
956
|
+
@GoodsNum = params['GoodsNum']
|
957
|
+
@RequestId = params['RequestId']
|
958
|
+
end
|
959
|
+
end
|
960
|
+
|
643
961
|
# DescribeInstanceNodesInfo请求参数结构体
|
644
962
|
class DescribeInstanceNodesInfoRequest < TencentCloud::Common::AbstractModel
|
645
963
|
# @param InstanceID: 集群id
|
@@ -874,6 +1192,48 @@ module TencentCloud
|
|
874
1192
|
end
|
875
1193
|
end
|
876
1194
|
|
1195
|
+
# DescribeInstanceUsedSubnets请求参数结构体
|
1196
|
+
class DescribeInstanceUsedSubnetsRequest < TencentCloud::Common::AbstractModel
|
1197
|
+
# @param InstanceId: 集群id
|
1198
|
+
# @type InstanceId: String
|
1199
|
+
|
1200
|
+
attr_accessor :InstanceId
|
1201
|
+
|
1202
|
+
def initialize(instanceid=nil)
|
1203
|
+
@InstanceId = instanceid
|
1204
|
+
end
|
1205
|
+
|
1206
|
+
def deserialize(params)
|
1207
|
+
@InstanceId = params['InstanceId']
|
1208
|
+
end
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
# DescribeInstanceUsedSubnets返回参数结构体
|
1212
|
+
class DescribeInstanceUsedSubnetsResponse < TencentCloud::Common::AbstractModel
|
1213
|
+
# @param VpcId: 集群使用的vpc信息
|
1214
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1215
|
+
# @type VpcId: String
|
1216
|
+
# @param UsedSubnets: 集群使用的subnet信息
|
1217
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1218
|
+
# @type UsedSubnets: Array
|
1219
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1220
|
+
# @type RequestId: String
|
1221
|
+
|
1222
|
+
attr_accessor :VpcId, :UsedSubnets, :RequestId
|
1223
|
+
|
1224
|
+
def initialize(vpcid=nil, usedsubnets=nil, requestid=nil)
|
1225
|
+
@VpcId = vpcid
|
1226
|
+
@UsedSubnets = usedsubnets
|
1227
|
+
@RequestId = requestid
|
1228
|
+
end
|
1229
|
+
|
1230
|
+
def deserialize(params)
|
1231
|
+
@VpcId = params['VpcId']
|
1232
|
+
@UsedSubnets = params['UsedSubnets']
|
1233
|
+
@RequestId = params['RequestId']
|
1234
|
+
end
|
1235
|
+
end
|
1236
|
+
|
877
1237
|
# DescribeInstances请求参数结构体
|
878
1238
|
class DescribeInstancesRequest < TencentCloud::Common::AbstractModel
|
879
1239
|
# @param SearchInstanceId: 搜索的集群id名称
|
@@ -944,47 +1304,195 @@ module TencentCloud
|
|
944
1304
|
end
|
945
1305
|
end
|
946
1306
|
|
947
|
-
#
|
948
|
-
class
|
949
|
-
# @param
|
950
|
-
# @type
|
951
|
-
# @param
|
952
|
-
# @type
|
953
|
-
# @param StartTime: 开始时间
|
954
|
-
# @type StartTime: String
|
955
|
-
# @param EndTime: 结束时间
|
956
|
-
# @type EndTime: String
|
957
|
-
# @param DurationMs: 排序参数
|
958
|
-
# @type DurationMs: String
|
959
|
-
# @param Sql: 查询sql
|
960
|
-
# @type Sql: String
|
961
|
-
# @param ReadRows: 排序参数
|
962
|
-
# @type ReadRows: String
|
963
|
-
# @param ResultBytes: 排序参数
|
964
|
-
# @type ResultBytes: String
|
965
|
-
# @param MemoryUsage: 排序参数
|
966
|
-
# @type MemoryUsage: String
|
967
|
-
# @param IsQuery: IsQuery条件
|
968
|
-
# @type IsQuery: Integer
|
969
|
-
# @param DbName: 数据库名称
|
970
|
-
# @type DbName: Array
|
971
|
-
# @param CatalogName: catalog名称
|
972
|
-
# @type CatalogName: Array
|
1307
|
+
# DescribeRegionZone请求参数结构体
|
1308
|
+
class DescribeRegionZoneRequest < TencentCloud::Common::AbstractModel
|
1309
|
+
# @param Service: 服务
|
1310
|
+
# @type Service: String
|
1311
|
+
# @param IsInternationalSite: 是否是国际站
|
1312
|
+
# @type IsInternationalSite: Boolean
|
973
1313
|
|
974
|
-
attr_accessor :
|
1314
|
+
attr_accessor :Service, :IsInternationalSite
|
975
1315
|
|
976
|
-
def initialize(
|
977
|
-
@
|
978
|
-
@
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
@
|
983
|
-
@
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
1316
|
+
def initialize(service=nil, isinternationalsite=nil)
|
1317
|
+
@Service = service
|
1318
|
+
@IsInternationalSite = isinternationalsite
|
1319
|
+
end
|
1320
|
+
|
1321
|
+
def deserialize(params)
|
1322
|
+
@Service = params['Service']
|
1323
|
+
@IsInternationalSite = params['IsInternationalSite']
|
1324
|
+
end
|
1325
|
+
end
|
1326
|
+
|
1327
|
+
# DescribeRegionZone返回参数结构体
|
1328
|
+
class DescribeRegionZoneResponse < TencentCloud::Common::AbstractModel
|
1329
|
+
# @param Items: 地域列表
|
1330
|
+
# @type Items: Array
|
1331
|
+
# @param Versions: 内核版本列表
|
1332
|
+
# @type Versions: Array
|
1333
|
+
# @param VpcRule: 网络规则
|
1334
|
+
# @type VpcRule: String
|
1335
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1336
|
+
# @type RequestId: String
|
1337
|
+
|
1338
|
+
attr_accessor :Items, :Versions, :VpcRule, :RequestId
|
1339
|
+
|
1340
|
+
def initialize(items=nil, versions=nil, vpcrule=nil, requestid=nil)
|
1341
|
+
@Items = items
|
1342
|
+
@Versions = versions
|
1343
|
+
@VpcRule = vpcrule
|
1344
|
+
@RequestId = requestid
|
1345
|
+
end
|
1346
|
+
|
1347
|
+
def deserialize(params)
|
1348
|
+
unless params['Items'].nil?
|
1349
|
+
@Items = []
|
1350
|
+
params['Items'].each do |i|
|
1351
|
+
regionareainfo_tmp = RegionAreaInfo.new
|
1352
|
+
regionareainfo_tmp.deserialize(i)
|
1353
|
+
@Items << regionareainfo_tmp
|
1354
|
+
end
|
1355
|
+
end
|
1356
|
+
@Versions = params['Versions']
|
1357
|
+
@VpcRule = params['VpcRule']
|
1358
|
+
@RequestId = params['RequestId']
|
1359
|
+
end
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
# DescribeReplicaVersion请求参数结构体
|
1363
|
+
class DescribeReplicaVersionRequest < TencentCloud::Common::AbstractModel
|
1364
|
+
# @param InstanceId: 实例id
|
1365
|
+
# @type InstanceId: String
|
1366
|
+
|
1367
|
+
attr_accessor :InstanceId
|
1368
|
+
|
1369
|
+
def initialize(instanceid=nil)
|
1370
|
+
@InstanceId = instanceid
|
1371
|
+
end
|
1372
|
+
|
1373
|
+
def deserialize(params)
|
1374
|
+
@InstanceId = params['InstanceId']
|
1375
|
+
end
|
1376
|
+
end
|
1377
|
+
|
1378
|
+
# DescribeReplicaVersion返回参数结构体
|
1379
|
+
class DescribeReplicaVersionResponse < TencentCloud::Common::AbstractModel
|
1380
|
+
# @param ReplicaFlagItem: 是否支持新语法
|
1381
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1382
|
+
# @type ReplicaFlagItem: :class:`Tencentcloud::Cdwdoris.v20211228.models.VersionReplicaItem`
|
1383
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1384
|
+
# @type RequestId: String
|
1385
|
+
|
1386
|
+
attr_accessor :ReplicaFlagItem, :RequestId
|
1387
|
+
|
1388
|
+
def initialize(replicaflagitem=nil, requestid=nil)
|
1389
|
+
@ReplicaFlagItem = replicaflagitem
|
1390
|
+
@RequestId = requestid
|
1391
|
+
end
|
1392
|
+
|
1393
|
+
def deserialize(params)
|
1394
|
+
unless params['ReplicaFlagItem'].nil?
|
1395
|
+
@ReplicaFlagItem = VersionReplicaItem.new
|
1396
|
+
@ReplicaFlagItem.deserialize(params['ReplicaFlagItem'])
|
1397
|
+
end
|
1398
|
+
@RequestId = params['RequestId']
|
1399
|
+
end
|
1400
|
+
end
|
1401
|
+
|
1402
|
+
# DescribeRestoreTaskDetail请求参数结构体
|
1403
|
+
class DescribeRestoreTaskDetailRequest < TencentCloud::Common::AbstractModel
|
1404
|
+
# @param InstanceId: 集群id
|
1405
|
+
# @type InstanceId: String
|
1406
|
+
# @param BackUpJobId: 任务id
|
1407
|
+
# @type BackUpJobId: Integer
|
1408
|
+
|
1409
|
+
attr_accessor :InstanceId, :BackUpJobId
|
1410
|
+
|
1411
|
+
def initialize(instanceid=nil, backupjobid=nil)
|
1412
|
+
@InstanceId = instanceid
|
1413
|
+
@BackUpJobId = backupjobid
|
1414
|
+
end
|
1415
|
+
|
1416
|
+
def deserialize(params)
|
1417
|
+
@InstanceId = params['InstanceId']
|
1418
|
+
@BackUpJobId = params['BackUpJobId']
|
1419
|
+
end
|
1420
|
+
end
|
1421
|
+
|
1422
|
+
# DescribeRestoreTaskDetail返回参数结构体
|
1423
|
+
class DescribeRestoreTaskDetailResponse < TencentCloud::Common::AbstractModel
|
1424
|
+
# @param RestoreStatus: 恢复任务进度详情
|
1425
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1426
|
+
# @type RestoreStatus: Array
|
1427
|
+
# @param ErrorMsg: 错误信息
|
1428
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1429
|
+
# @type ErrorMsg: String
|
1430
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1431
|
+
# @type RequestId: String
|
1432
|
+
|
1433
|
+
attr_accessor :RestoreStatus, :ErrorMsg, :RequestId
|
1434
|
+
|
1435
|
+
def initialize(restorestatus=nil, errormsg=nil, requestid=nil)
|
1436
|
+
@RestoreStatus = restorestatus
|
1437
|
+
@ErrorMsg = errormsg
|
1438
|
+
@RequestId = requestid
|
1439
|
+
end
|
1440
|
+
|
1441
|
+
def deserialize(params)
|
1442
|
+
unless params['RestoreStatus'].nil?
|
1443
|
+
@RestoreStatus = []
|
1444
|
+
params['RestoreStatus'].each do |i|
|
1445
|
+
restorestatus_tmp = RestoreStatus.new
|
1446
|
+
restorestatus_tmp.deserialize(i)
|
1447
|
+
@RestoreStatus << restorestatus_tmp
|
1448
|
+
end
|
1449
|
+
end
|
1450
|
+
@ErrorMsg = params['ErrorMsg']
|
1451
|
+
@RequestId = params['RequestId']
|
1452
|
+
end
|
1453
|
+
end
|
1454
|
+
|
1455
|
+
# DescribeSlowQueryRecordsDownload请求参数结构体
|
1456
|
+
class DescribeSlowQueryRecordsDownloadRequest < TencentCloud::Common::AbstractModel
|
1457
|
+
# @param InstanceId: 实例ID
|
1458
|
+
# @type InstanceId: String
|
1459
|
+
# @param QueryDurationMs: 慢查询时间
|
1460
|
+
# @type QueryDurationMs: Integer
|
1461
|
+
# @param StartTime: 开始时间
|
1462
|
+
# @type StartTime: String
|
1463
|
+
# @param EndTime: 结束时间
|
1464
|
+
# @type EndTime: String
|
1465
|
+
# @param DurationMs: 排序参数
|
1466
|
+
# @type DurationMs: String
|
1467
|
+
# @param Sql: 查询sql
|
1468
|
+
# @type Sql: String
|
1469
|
+
# @param ReadRows: 排序参数
|
1470
|
+
# @type ReadRows: String
|
1471
|
+
# @param ResultBytes: 排序参数
|
1472
|
+
# @type ResultBytes: String
|
1473
|
+
# @param MemoryUsage: 排序参数
|
1474
|
+
# @type MemoryUsage: String
|
1475
|
+
# @param IsQuery: IsQuery条件
|
1476
|
+
# @type IsQuery: Integer
|
1477
|
+
# @param DbName: 数据库名称
|
1478
|
+
# @type DbName: Array
|
1479
|
+
# @param CatalogName: catalog名称
|
1480
|
+
# @type CatalogName: Array
|
1481
|
+
|
1482
|
+
attr_accessor :InstanceId, :QueryDurationMs, :StartTime, :EndTime, :DurationMs, :Sql, :ReadRows, :ResultBytes, :MemoryUsage, :IsQuery, :DbName, :CatalogName
|
1483
|
+
|
1484
|
+
def initialize(instanceid=nil, querydurationms=nil, starttime=nil, endtime=nil, durationms=nil, sql=nil, readrows=nil, resultbytes=nil, memoryusage=nil, isquery=nil, dbname=nil, catalogname=nil)
|
1485
|
+
@InstanceId = instanceid
|
1486
|
+
@QueryDurationMs = querydurationms
|
1487
|
+
@StartTime = starttime
|
1488
|
+
@EndTime = endtime
|
1489
|
+
@DurationMs = durationms
|
1490
|
+
@Sql = sql
|
1491
|
+
@ReadRows = readrows
|
1492
|
+
@ResultBytes = resultbytes
|
1493
|
+
@MemoryUsage = memoryusage
|
1494
|
+
@IsQuery = isquery
|
1495
|
+
@DbName = dbname
|
988
1496
|
@CatalogName = catalogname
|
989
1497
|
end
|
990
1498
|
|
@@ -1133,6 +1641,144 @@ module TencentCloud
|
|
1133
1641
|
end
|
1134
1642
|
end
|
1135
1643
|
|
1644
|
+
# DescribeSqlApis请求参数结构体
|
1645
|
+
class DescribeSqlApisRequest < TencentCloud::Common::AbstractModel
|
1646
|
+
# @param WhiteHost: 用户链接来自的 IP
|
1647
|
+
# @type WhiteHost: String
|
1648
|
+
# @param Catalog: catalog名称
|
1649
|
+
# @type Catalog: String
|
1650
|
+
# @param Catalogs: catalog集合
|
1651
|
+
# @type Catalogs: Array
|
1652
|
+
|
1653
|
+
attr_accessor :WhiteHost, :Catalog, :Catalogs
|
1654
|
+
|
1655
|
+
def initialize(whitehost=nil, catalog=nil, catalogs=nil)
|
1656
|
+
@WhiteHost = whitehost
|
1657
|
+
@Catalog = catalog
|
1658
|
+
@Catalogs = catalogs
|
1659
|
+
end
|
1660
|
+
|
1661
|
+
def deserialize(params)
|
1662
|
+
@WhiteHost = params['WhiteHost']
|
1663
|
+
@Catalog = params['Catalog']
|
1664
|
+
@Catalogs = params['Catalogs']
|
1665
|
+
end
|
1666
|
+
end
|
1667
|
+
|
1668
|
+
# DescribeSqlApis返回参数结构体
|
1669
|
+
class DescribeSqlApisResponse < TencentCloud::Common::AbstractModel
|
1670
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1671
|
+
# @type RequestId: String
|
1672
|
+
|
1673
|
+
attr_accessor :RequestId
|
1674
|
+
|
1675
|
+
def initialize(requestid=nil)
|
1676
|
+
@RequestId = requestid
|
1677
|
+
end
|
1678
|
+
|
1679
|
+
def deserialize(params)
|
1680
|
+
@RequestId = params['RequestId']
|
1681
|
+
end
|
1682
|
+
end
|
1683
|
+
|
1684
|
+
# DescribeUserBindWorkloadGroup请求参数结构体
|
1685
|
+
class DescribeUserBindWorkloadGroupRequest < TencentCloud::Common::AbstractModel
|
1686
|
+
# @param InstanceId: 集群id
|
1687
|
+
# @type InstanceId: String
|
1688
|
+
|
1689
|
+
attr_accessor :InstanceId
|
1690
|
+
|
1691
|
+
def initialize(instanceid=nil)
|
1692
|
+
@InstanceId = instanceid
|
1693
|
+
end
|
1694
|
+
|
1695
|
+
def deserialize(params)
|
1696
|
+
@InstanceId = params['InstanceId']
|
1697
|
+
end
|
1698
|
+
end
|
1699
|
+
|
1700
|
+
# DescribeUserBindWorkloadGroup返回参数结构体
|
1701
|
+
class DescribeUserBindWorkloadGroupResponse < TencentCloud::Common::AbstractModel
|
1702
|
+
# @param UserBindInfos: 用户绑定资源组信息
|
1703
|
+
# @type UserBindInfos: Array
|
1704
|
+
# @param ErrorMsg: 错误信息
|
1705
|
+
# @type ErrorMsg: String
|
1706
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1707
|
+
# @type RequestId: String
|
1708
|
+
|
1709
|
+
attr_accessor :UserBindInfos, :ErrorMsg, :RequestId
|
1710
|
+
|
1711
|
+
def initialize(userbindinfos=nil, errormsg=nil, requestid=nil)
|
1712
|
+
@UserBindInfos = userbindinfos
|
1713
|
+
@ErrorMsg = errormsg
|
1714
|
+
@RequestId = requestid
|
1715
|
+
end
|
1716
|
+
|
1717
|
+
def deserialize(params)
|
1718
|
+
unless params['UserBindInfos'].nil?
|
1719
|
+
@UserBindInfos = []
|
1720
|
+
params['UserBindInfos'].each do |i|
|
1721
|
+
userworkloadgroup_tmp = UserWorkloadGroup.new
|
1722
|
+
userworkloadgroup_tmp.deserialize(i)
|
1723
|
+
@UserBindInfos << userworkloadgroup_tmp
|
1724
|
+
end
|
1725
|
+
end
|
1726
|
+
@ErrorMsg = params['ErrorMsg']
|
1727
|
+
@RequestId = params['RequestId']
|
1728
|
+
end
|
1729
|
+
end
|
1730
|
+
|
1731
|
+
# DescribeWorkloadGroup请求参数结构体
|
1732
|
+
class DescribeWorkloadGroupRequest < TencentCloud::Common::AbstractModel
|
1733
|
+
# @param InstanceId: 集群id
|
1734
|
+
# @type InstanceId: String
|
1735
|
+
|
1736
|
+
attr_accessor :InstanceId
|
1737
|
+
|
1738
|
+
def initialize(instanceid=nil)
|
1739
|
+
@InstanceId = instanceid
|
1740
|
+
end
|
1741
|
+
|
1742
|
+
def deserialize(params)
|
1743
|
+
@InstanceId = params['InstanceId']
|
1744
|
+
end
|
1745
|
+
end
|
1746
|
+
|
1747
|
+
# DescribeWorkloadGroup返回参数结构体
|
1748
|
+
class DescribeWorkloadGroupResponse < TencentCloud::Common::AbstractModel
|
1749
|
+
# @param WorkloadGroups: 资源组信息
|
1750
|
+
# @type WorkloadGroups: Array
|
1751
|
+
# @param Status: 是否开启资源组:开启-open、关闭-close
|
1752
|
+
# @type Status: String
|
1753
|
+
# @param ErrorMsg: 错误信息
|
1754
|
+
# @type ErrorMsg: String
|
1755
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1756
|
+
# @type RequestId: String
|
1757
|
+
|
1758
|
+
attr_accessor :WorkloadGroups, :Status, :ErrorMsg, :RequestId
|
1759
|
+
|
1760
|
+
def initialize(workloadgroups=nil, status=nil, errormsg=nil, requestid=nil)
|
1761
|
+
@WorkloadGroups = workloadgroups
|
1762
|
+
@Status = status
|
1763
|
+
@ErrorMsg = errormsg
|
1764
|
+
@RequestId = requestid
|
1765
|
+
end
|
1766
|
+
|
1767
|
+
def deserialize(params)
|
1768
|
+
unless params['WorkloadGroups'].nil?
|
1769
|
+
@WorkloadGroups = []
|
1770
|
+
params['WorkloadGroups'].each do |i|
|
1771
|
+
workloadgroupconfig_tmp = WorkloadGroupConfig.new
|
1772
|
+
workloadgroupconfig_tmp.deserialize(i)
|
1773
|
+
@WorkloadGroups << workloadgroupconfig_tmp
|
1774
|
+
end
|
1775
|
+
end
|
1776
|
+
@Status = params['Status']
|
1777
|
+
@ErrorMsg = params['ErrorMsg']
|
1778
|
+
@RequestId = params['RequestId']
|
1779
|
+
end
|
1780
|
+
end
|
1781
|
+
|
1136
1782
|
# DestroyInstance请求参数结构体
|
1137
1783
|
class DestroyInstanceRequest < TencentCloud::Common::AbstractModel
|
1138
1784
|
# @param InstanceId: 集群ID
|
@@ -1177,6 +1823,74 @@ module TencentCloud
|
|
1177
1823
|
end
|
1178
1824
|
end
|
1179
1825
|
|
1826
|
+
# FitClsLog请求参数结构体
|
1827
|
+
class FitClsLogRequest < TencentCloud::Common::AbstractModel
|
1828
|
+
# @param InstanceId: 集群ID,例如cdwch-xxxx
|
1829
|
+
# @type InstanceId: String
|
1830
|
+
# @param ClsLogSetId: cls日志集ID
|
1831
|
+
# @type ClsLogSetId: String
|
1832
|
+
# @param LogType: 日志的类型,es还是cls_topic
|
1833
|
+
# @type LogType: String
|
1834
|
+
|
1835
|
+
attr_accessor :InstanceId, :ClsLogSetId, :LogType
|
1836
|
+
|
1837
|
+
def initialize(instanceid=nil, clslogsetid=nil, logtype=nil)
|
1838
|
+
@InstanceId = instanceid
|
1839
|
+
@ClsLogSetId = clslogsetid
|
1840
|
+
@LogType = logtype
|
1841
|
+
end
|
1842
|
+
|
1843
|
+
def deserialize(params)
|
1844
|
+
@InstanceId = params['InstanceId']
|
1845
|
+
@ClsLogSetId = params['ClsLogSetId']
|
1846
|
+
@LogType = params['LogType']
|
1847
|
+
end
|
1848
|
+
end
|
1849
|
+
|
1850
|
+
# FitClsLog返回参数结构体
|
1851
|
+
class FitClsLogResponse < TencentCloud::Common::AbstractModel
|
1852
|
+
# @param FlowId: 流程相关信息
|
1853
|
+
# @type FlowId: Integer
|
1854
|
+
# @param ErrorMsg: 错误信息
|
1855
|
+
# @type ErrorMsg: String
|
1856
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1857
|
+
# @type RequestId: String
|
1858
|
+
|
1859
|
+
attr_accessor :FlowId, :ErrorMsg, :RequestId
|
1860
|
+
|
1861
|
+
def initialize(flowid=nil, errormsg=nil, requestid=nil)
|
1862
|
+
@FlowId = flowid
|
1863
|
+
@ErrorMsg = errormsg
|
1864
|
+
@RequestId = requestid
|
1865
|
+
end
|
1866
|
+
|
1867
|
+
def deserialize(params)
|
1868
|
+
@FlowId = params['FlowId']
|
1869
|
+
@ErrorMsg = params['ErrorMsg']
|
1870
|
+
@RequestId = params['RequestId']
|
1871
|
+
end
|
1872
|
+
end
|
1873
|
+
|
1874
|
+
# KV配置
|
1875
|
+
class InstanceConfigItem < TencentCloud::Common::AbstractModel
|
1876
|
+
# @param ConfKey: key
|
1877
|
+
# @type ConfKey: String
|
1878
|
+
# @param ConfValue: value
|
1879
|
+
# @type ConfValue: String
|
1880
|
+
|
1881
|
+
attr_accessor :ConfKey, :ConfValue
|
1882
|
+
|
1883
|
+
def initialize(confkey=nil, confvalue=nil)
|
1884
|
+
@ConfKey = confkey
|
1885
|
+
@ConfValue = confvalue
|
1886
|
+
end
|
1887
|
+
|
1888
|
+
def deserialize(params)
|
1889
|
+
@ConfKey = params['ConfKey']
|
1890
|
+
@ConfValue = params['ConfValue']
|
1891
|
+
end
|
1892
|
+
end
|
1893
|
+
|
1180
1894
|
# Instance表detail字段
|
1181
1895
|
class InstanceDetail < TencentCloud::Common::AbstractModel
|
1182
1896
|
# @param EnableAlarmStrategy: 告警策略是否可用
|
@@ -1518,52 +2232,395 @@ module TencentCloud
|
|
1518
2232
|
end
|
1519
2233
|
|
1520
2234
|
def deserialize(params)
|
1521
|
-
@Ip = params['Ip']
|
1522
|
-
@Spec = params['Spec']
|
1523
|
-
@Core = params['Core']
|
1524
|
-
@Memory = params['Memory']
|
1525
|
-
@DiskType = params['DiskType']
|
1526
|
-
@DiskSize = params['DiskSize']
|
1527
|
-
@Role = params['Role']
|
1528
|
-
@Status = params['Status']
|
1529
|
-
@Rip = params['Rip']
|
1530
|
-
@FeRole = params['FeRole']
|
1531
|
-
@UUID = params['UUID']
|
2235
|
+
@Ip = params['Ip']
|
2236
|
+
@Spec = params['Spec']
|
2237
|
+
@Core = params['Core']
|
2238
|
+
@Memory = params['Memory']
|
2239
|
+
@DiskType = params['DiskType']
|
2240
|
+
@DiskSize = params['DiskSize']
|
2241
|
+
@Role = params['Role']
|
2242
|
+
@Status = params['Status']
|
2243
|
+
@Rip = params['Rip']
|
2244
|
+
@FeRole = params['FeRole']
|
2245
|
+
@UUID = params['UUID']
|
2246
|
+
end
|
2247
|
+
end
|
2248
|
+
|
2249
|
+
# ModifyInstanceKeyValConfigs请求参数结构体
|
2250
|
+
class ModifyInstanceKeyValConfigsRequest < TencentCloud::Common::AbstractModel
|
2251
|
+
# @param InstanceId: 实例ID
|
2252
|
+
# @type InstanceId: String
|
2253
|
+
# @param FileName: 文件名称
|
2254
|
+
# @type FileName: String
|
2255
|
+
# @param AddItems: 新增配置列表
|
2256
|
+
# @type AddItems: Array
|
2257
|
+
# @param UpdateItems: 更新配置列表
|
2258
|
+
# @type UpdateItems: Array
|
2259
|
+
# @param DelItems: 删除配置列表
|
2260
|
+
# @type DelItems: Array
|
2261
|
+
# @param Message: 备注(50字以内)
|
2262
|
+
# @type Message: String
|
2263
|
+
# @param HotUpdateItems: 热更新列表
|
2264
|
+
# @type HotUpdateItems: Array
|
2265
|
+
# @param DeleteItems: 删除配置列表
|
2266
|
+
# @type DeleteItems: :class:`Tencentcloud::Cdwdoris.v20211228.models.InstanceConfigItem`
|
2267
|
+
# @param IPAddress: ip地址
|
2268
|
+
# @type IPAddress: String
|
2269
|
+
|
2270
|
+
attr_accessor :InstanceId, :FileName, :AddItems, :UpdateItems, :DelItems, :Message, :HotUpdateItems, :DeleteItems, :IPAddress
|
2271
|
+
|
2272
|
+
def initialize(instanceid=nil, filename=nil, additems=nil, updateitems=nil, delitems=nil, message=nil, hotupdateitems=nil, deleteitems=nil, ipaddress=nil)
|
2273
|
+
@InstanceId = instanceid
|
2274
|
+
@FileName = filename
|
2275
|
+
@AddItems = additems
|
2276
|
+
@UpdateItems = updateitems
|
2277
|
+
@DelItems = delitems
|
2278
|
+
@Message = message
|
2279
|
+
@HotUpdateItems = hotupdateitems
|
2280
|
+
@DeleteItems = deleteitems
|
2281
|
+
@IPAddress = ipaddress
|
2282
|
+
end
|
2283
|
+
|
2284
|
+
def deserialize(params)
|
2285
|
+
@InstanceId = params['InstanceId']
|
2286
|
+
@FileName = params['FileName']
|
2287
|
+
unless params['AddItems'].nil?
|
2288
|
+
@AddItems = []
|
2289
|
+
params['AddItems'].each do |i|
|
2290
|
+
instanceconfigitem_tmp = InstanceConfigItem.new
|
2291
|
+
instanceconfigitem_tmp.deserialize(i)
|
2292
|
+
@AddItems << instanceconfigitem_tmp
|
2293
|
+
end
|
2294
|
+
end
|
2295
|
+
unless params['UpdateItems'].nil?
|
2296
|
+
@UpdateItems = []
|
2297
|
+
params['UpdateItems'].each do |i|
|
2298
|
+
instanceconfigitem_tmp = InstanceConfigItem.new
|
2299
|
+
instanceconfigitem_tmp.deserialize(i)
|
2300
|
+
@UpdateItems << instanceconfigitem_tmp
|
2301
|
+
end
|
2302
|
+
end
|
2303
|
+
unless params['DelItems'].nil?
|
2304
|
+
@DelItems = []
|
2305
|
+
params['DelItems'].each do |i|
|
2306
|
+
instanceconfigitem_tmp = InstanceConfigItem.new
|
2307
|
+
instanceconfigitem_tmp.deserialize(i)
|
2308
|
+
@DelItems << instanceconfigitem_tmp
|
2309
|
+
end
|
2310
|
+
end
|
2311
|
+
@Message = params['Message']
|
2312
|
+
unless params['HotUpdateItems'].nil?
|
2313
|
+
@HotUpdateItems = []
|
2314
|
+
params['HotUpdateItems'].each do |i|
|
2315
|
+
instanceconfigitem_tmp = InstanceConfigItem.new
|
2316
|
+
instanceconfigitem_tmp.deserialize(i)
|
2317
|
+
@HotUpdateItems << instanceconfigitem_tmp
|
2318
|
+
end
|
2319
|
+
end
|
2320
|
+
unless params['DeleteItems'].nil?
|
2321
|
+
@DeleteItems = InstanceConfigItem.new
|
2322
|
+
@DeleteItems.deserialize(params['DeleteItems'])
|
2323
|
+
end
|
2324
|
+
@IPAddress = params['IPAddress']
|
2325
|
+
end
|
2326
|
+
end
|
2327
|
+
|
2328
|
+
# ModifyInstanceKeyValConfigs返回参数结构体
|
2329
|
+
class ModifyInstanceKeyValConfigsResponse < TencentCloud::Common::AbstractModel
|
2330
|
+
# @param ErrorMsg: 错误信息
|
2331
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2332
|
+
# @type ErrorMsg: String
|
2333
|
+
# @param FlowId: ID
|
2334
|
+
# @type FlowId: Integer
|
2335
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2336
|
+
# @type RequestId: String
|
2337
|
+
|
2338
|
+
attr_accessor :ErrorMsg, :FlowId, :RequestId
|
2339
|
+
|
2340
|
+
def initialize(errormsg=nil, flowid=nil, requestid=nil)
|
2341
|
+
@ErrorMsg = errormsg
|
2342
|
+
@FlowId = flowid
|
2343
|
+
@RequestId = requestid
|
2344
|
+
end
|
2345
|
+
|
2346
|
+
def deserialize(params)
|
2347
|
+
@ErrorMsg = params['ErrorMsg']
|
2348
|
+
@FlowId = params['FlowId']
|
2349
|
+
@RequestId = params['RequestId']
|
2350
|
+
end
|
2351
|
+
end
|
2352
|
+
|
2353
|
+
# ModifyInstance请求参数结构体
|
2354
|
+
class ModifyInstanceRequest < TencentCloud::Common::AbstractModel
|
2355
|
+
# @param InstanceId: 实例Id
|
2356
|
+
# @type InstanceId: String
|
2357
|
+
# @param InstanceName: 新修改的实例名称
|
2358
|
+
# @type InstanceName: String
|
2359
|
+
|
2360
|
+
attr_accessor :InstanceId, :InstanceName
|
2361
|
+
|
2362
|
+
def initialize(instanceid=nil, instancename=nil)
|
2363
|
+
@InstanceId = instanceid
|
2364
|
+
@InstanceName = instancename
|
2365
|
+
end
|
2366
|
+
|
2367
|
+
def deserialize(params)
|
2368
|
+
@InstanceId = params['InstanceId']
|
2369
|
+
@InstanceName = params['InstanceName']
|
2370
|
+
end
|
2371
|
+
end
|
2372
|
+
|
2373
|
+
# ModifyInstance返回参数结构体
|
2374
|
+
class ModifyInstanceResponse < TencentCloud::Common::AbstractModel
|
2375
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2376
|
+
# @type RequestId: String
|
2377
|
+
|
2378
|
+
attr_accessor :RequestId
|
2379
|
+
|
2380
|
+
def initialize(requestid=nil)
|
2381
|
+
@RequestId = requestid
|
2382
|
+
end
|
2383
|
+
|
2384
|
+
def deserialize(params)
|
2385
|
+
@RequestId = params['RequestId']
|
2386
|
+
end
|
2387
|
+
end
|
2388
|
+
|
2389
|
+
# ModifySecurityGroups请求参数结构体
|
2390
|
+
class ModifySecurityGroupsRequest < TencentCloud::Common::AbstractModel
|
2391
|
+
# @param InstanceId: 集群id
|
2392
|
+
# @type InstanceId: String
|
2393
|
+
# @param OldSecurityGroupIds: 修改前的安全组信息
|
2394
|
+
# @type OldSecurityGroupIds: Array
|
2395
|
+
# @param ModifySecurityGroupIds: 修改后的安全组信息
|
2396
|
+
# @type ModifySecurityGroupIds: Array
|
2397
|
+
|
2398
|
+
attr_accessor :InstanceId, :OldSecurityGroupIds, :ModifySecurityGroupIds
|
2399
|
+
|
2400
|
+
def initialize(instanceid=nil, oldsecuritygroupids=nil, modifysecuritygroupids=nil)
|
2401
|
+
@InstanceId = instanceid
|
2402
|
+
@OldSecurityGroupIds = oldsecuritygroupids
|
2403
|
+
@ModifySecurityGroupIds = modifysecuritygroupids
|
2404
|
+
end
|
2405
|
+
|
2406
|
+
def deserialize(params)
|
2407
|
+
@InstanceId = params['InstanceId']
|
2408
|
+
@OldSecurityGroupIds = params['OldSecurityGroupIds']
|
2409
|
+
@ModifySecurityGroupIds = params['ModifySecurityGroupIds']
|
2410
|
+
end
|
2411
|
+
end
|
2412
|
+
|
2413
|
+
# ModifySecurityGroups返回参数结构体
|
2414
|
+
class ModifySecurityGroupsResponse < TencentCloud::Common::AbstractModel
|
2415
|
+
# @param ErrorMsg: 错误信息
|
2416
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2417
|
+
# @type ErrorMsg: String
|
2418
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2419
|
+
# @type RequestId: String
|
2420
|
+
|
2421
|
+
attr_accessor :ErrorMsg, :RequestId
|
2422
|
+
|
2423
|
+
def initialize(errormsg=nil, requestid=nil)
|
2424
|
+
@ErrorMsg = errormsg
|
2425
|
+
@RequestId = requestid
|
2426
|
+
end
|
2427
|
+
|
2428
|
+
def deserialize(params)
|
2429
|
+
@ErrorMsg = params['ErrorMsg']
|
2430
|
+
@RequestId = params['RequestId']
|
2431
|
+
end
|
2432
|
+
end
|
2433
|
+
|
2434
|
+
# ModifyUserBindWorkloadGroup请求参数结构体
|
2435
|
+
class ModifyUserBindWorkloadGroupRequest < TencentCloud::Common::AbstractModel
|
2436
|
+
# @param InstanceId: 集群id
|
2437
|
+
# @type InstanceId: String
|
2438
|
+
# @param BindUsers: 需要绑定资源组的用户信息,如果一个账户拥有多个主机信息,需要将这些信息都传入
|
2439
|
+
# @type BindUsers: Array
|
2440
|
+
# @param OldWorkloadGroupName: 修改前绑定的资源组名称
|
2441
|
+
# @type OldWorkloadGroupName: String
|
2442
|
+
# @param NewWorkloadGroupName: 修改后绑定的资源组名称
|
2443
|
+
# @type NewWorkloadGroupName: String
|
2444
|
+
|
2445
|
+
attr_accessor :InstanceId, :BindUsers, :OldWorkloadGroupName, :NewWorkloadGroupName
|
2446
|
+
|
2447
|
+
def initialize(instanceid=nil, bindusers=nil, oldworkloadgroupname=nil, newworkloadgroupname=nil)
|
2448
|
+
@InstanceId = instanceid
|
2449
|
+
@BindUsers = bindusers
|
2450
|
+
@OldWorkloadGroupName = oldworkloadgroupname
|
2451
|
+
@NewWorkloadGroupName = newworkloadgroupname
|
2452
|
+
end
|
2453
|
+
|
2454
|
+
def deserialize(params)
|
2455
|
+
@InstanceId = params['InstanceId']
|
2456
|
+
unless params['BindUsers'].nil?
|
2457
|
+
@BindUsers = []
|
2458
|
+
params['BindUsers'].each do |i|
|
2459
|
+
binduser_tmp = BindUser.new
|
2460
|
+
binduser_tmp.deserialize(i)
|
2461
|
+
@BindUsers << binduser_tmp
|
2462
|
+
end
|
2463
|
+
end
|
2464
|
+
@OldWorkloadGroupName = params['OldWorkloadGroupName']
|
2465
|
+
@NewWorkloadGroupName = params['NewWorkloadGroupName']
|
2466
|
+
end
|
2467
|
+
end
|
2468
|
+
|
2469
|
+
# ModifyUserBindWorkloadGroup返回参数结构体
|
2470
|
+
class ModifyUserBindWorkloadGroupResponse < TencentCloud::Common::AbstractModel
|
2471
|
+
# @param ErrorMsg: 错误信息
|
2472
|
+
# @type ErrorMsg: String
|
2473
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2474
|
+
# @type RequestId: String
|
2475
|
+
|
2476
|
+
attr_accessor :ErrorMsg, :RequestId
|
2477
|
+
|
2478
|
+
def initialize(errormsg=nil, requestid=nil)
|
2479
|
+
@ErrorMsg = errormsg
|
2480
|
+
@RequestId = requestid
|
2481
|
+
end
|
2482
|
+
|
2483
|
+
def deserialize(params)
|
2484
|
+
@ErrorMsg = params['ErrorMsg']
|
2485
|
+
@RequestId = params['RequestId']
|
2486
|
+
end
|
2487
|
+
end
|
2488
|
+
|
2489
|
+
# ModifyUserPrivilegesV3请求参数结构体
|
2490
|
+
class ModifyUserPrivilegesV3Request < TencentCloud::Common::AbstractModel
|
2491
|
+
# @param InstanceId: 集群id
|
2492
|
+
# @type InstanceId: String
|
2493
|
+
# @param UserName: 用户名
|
2494
|
+
# @type UserName: String
|
2495
|
+
# @param UserPrivileges: 用户权限
|
2496
|
+
# @type UserPrivileges: :class:`Tencentcloud::Cdwdoris.v20211228.models.UpdateUserPrivileges`
|
2497
|
+
# @param WhiteHost: 用户链接来自的 IP
|
2498
|
+
# @type WhiteHost: String
|
2499
|
+
|
2500
|
+
attr_accessor :InstanceId, :UserName, :UserPrivileges, :WhiteHost
|
2501
|
+
|
2502
|
+
def initialize(instanceid=nil, username=nil, userprivileges=nil, whitehost=nil)
|
2503
|
+
@InstanceId = instanceid
|
2504
|
+
@UserName = username
|
2505
|
+
@UserPrivileges = userprivileges
|
2506
|
+
@WhiteHost = whitehost
|
2507
|
+
end
|
2508
|
+
|
2509
|
+
def deserialize(params)
|
2510
|
+
@InstanceId = params['InstanceId']
|
2511
|
+
@UserName = params['UserName']
|
2512
|
+
unless params['UserPrivileges'].nil?
|
2513
|
+
@UserPrivileges = UpdateUserPrivileges.new
|
2514
|
+
@UserPrivileges.deserialize(params['UserPrivileges'])
|
2515
|
+
end
|
2516
|
+
@WhiteHost = params['WhiteHost']
|
2517
|
+
end
|
2518
|
+
end
|
2519
|
+
|
2520
|
+
# ModifyUserPrivilegesV3返回参数结构体
|
2521
|
+
class ModifyUserPrivilegesV3Response < TencentCloud::Common::AbstractModel
|
2522
|
+
# @param ErrorMsg: 错误信息,为空就是没有错误
|
2523
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2524
|
+
# @type ErrorMsg: String
|
2525
|
+
# @param InstanceId: 集群id
|
2526
|
+
# @type InstanceId: String
|
2527
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2528
|
+
# @type RequestId: String
|
2529
|
+
|
2530
|
+
attr_accessor :ErrorMsg, :InstanceId, :RequestId
|
2531
|
+
|
2532
|
+
def initialize(errormsg=nil, instanceid=nil, requestid=nil)
|
2533
|
+
@ErrorMsg = errormsg
|
2534
|
+
@InstanceId = instanceid
|
2535
|
+
@RequestId = requestid
|
2536
|
+
end
|
2537
|
+
|
2538
|
+
def deserialize(params)
|
2539
|
+
@ErrorMsg = params['ErrorMsg']
|
2540
|
+
@InstanceId = params['InstanceId']
|
2541
|
+
@RequestId = params['RequestId']
|
2542
|
+
end
|
2543
|
+
end
|
2544
|
+
|
2545
|
+
# ModifyWorkloadGroup请求参数结构体
|
2546
|
+
class ModifyWorkloadGroupRequest < TencentCloud::Common::AbstractModel
|
2547
|
+
# @param InstanceId: 集群id
|
2548
|
+
# @type InstanceId: String
|
2549
|
+
# @param WorkloadGroup: 修改的资源组信息
|
2550
|
+
# @type WorkloadGroup: :class:`Tencentcloud::Cdwdoris.v20211228.models.WorkloadGroupConfig`
|
2551
|
+
|
2552
|
+
attr_accessor :InstanceId, :WorkloadGroup
|
2553
|
+
|
2554
|
+
def initialize(instanceid=nil, workloadgroup=nil)
|
2555
|
+
@InstanceId = instanceid
|
2556
|
+
@WorkloadGroup = workloadgroup
|
2557
|
+
end
|
2558
|
+
|
2559
|
+
def deserialize(params)
|
2560
|
+
@InstanceId = params['InstanceId']
|
2561
|
+
unless params['WorkloadGroup'].nil?
|
2562
|
+
@WorkloadGroup = WorkloadGroupConfig.new
|
2563
|
+
@WorkloadGroup.deserialize(params['WorkloadGroup'])
|
2564
|
+
end
|
2565
|
+
end
|
2566
|
+
end
|
2567
|
+
|
2568
|
+
# ModifyWorkloadGroup返回参数结构体
|
2569
|
+
class ModifyWorkloadGroupResponse < TencentCloud::Common::AbstractModel
|
2570
|
+
# @param ErrorMsg: 错误信息
|
2571
|
+
# @type ErrorMsg: String
|
2572
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2573
|
+
# @type RequestId: String
|
2574
|
+
|
2575
|
+
attr_accessor :ErrorMsg, :RequestId
|
2576
|
+
|
2577
|
+
def initialize(errormsg=nil, requestid=nil)
|
2578
|
+
@ErrorMsg = errormsg
|
2579
|
+
@RequestId = requestid
|
2580
|
+
end
|
2581
|
+
|
2582
|
+
def deserialize(params)
|
2583
|
+
@ErrorMsg = params['ErrorMsg']
|
2584
|
+
@RequestId = params['RequestId']
|
1532
2585
|
end
|
1533
2586
|
end
|
1534
2587
|
|
1535
|
-
#
|
1536
|
-
class
|
1537
|
-
# @param InstanceId:
|
2588
|
+
# ModifyWorkloadGroupStatus请求参数结构体
|
2589
|
+
class ModifyWorkloadGroupStatusRequest < TencentCloud::Common::AbstractModel
|
2590
|
+
# @param InstanceId: 集群id
|
1538
2591
|
# @type InstanceId: String
|
1539
|
-
# @param
|
1540
|
-
# @type
|
2592
|
+
# @param OperationType: 是否开启资源组:open-开启、close-关闭
|
2593
|
+
# @type OperationType: String
|
1541
2594
|
|
1542
|
-
attr_accessor :InstanceId, :
|
2595
|
+
attr_accessor :InstanceId, :OperationType
|
1543
2596
|
|
1544
|
-
def initialize(instanceid=nil,
|
2597
|
+
def initialize(instanceid=nil, operationtype=nil)
|
1545
2598
|
@InstanceId = instanceid
|
1546
|
-
@
|
2599
|
+
@OperationType = operationtype
|
1547
2600
|
end
|
1548
2601
|
|
1549
2602
|
def deserialize(params)
|
1550
2603
|
@InstanceId = params['InstanceId']
|
1551
|
-
@
|
2604
|
+
@OperationType = params['OperationType']
|
1552
2605
|
end
|
1553
2606
|
end
|
1554
2607
|
|
1555
|
-
#
|
1556
|
-
class
|
2608
|
+
# ModifyWorkloadGroupStatus返回参数结构体
|
2609
|
+
class ModifyWorkloadGroupStatusResponse < TencentCloud::Common::AbstractModel
|
2610
|
+
# @param ErrorMsg: 错误信息
|
2611
|
+
# @type ErrorMsg: String
|
1557
2612
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1558
2613
|
# @type RequestId: String
|
1559
2614
|
|
1560
|
-
attr_accessor :RequestId
|
2615
|
+
attr_accessor :ErrorMsg, :RequestId
|
1561
2616
|
|
1562
|
-
def initialize(requestid=nil)
|
2617
|
+
def initialize(errormsg=nil, requestid=nil)
|
2618
|
+
@ErrorMsg = errormsg
|
1563
2619
|
@RequestId = requestid
|
1564
2620
|
end
|
1565
2621
|
|
1566
2622
|
def deserialize(params)
|
2623
|
+
@ErrorMsg = params['ErrorMsg']
|
1567
2624
|
@RequestId = params['RequestId']
|
1568
2625
|
end
|
1569
2626
|
end
|
@@ -1720,6 +2777,143 @@ module TencentCloud
|
|
1720
2777
|
end
|
1721
2778
|
end
|
1722
2779
|
|
2780
|
+
# ReduceInstance请求参数结构体
|
2781
|
+
class ReduceInstanceRequest < TencentCloud::Common::AbstractModel
|
2782
|
+
# @param InstanceId: 集群ID
|
2783
|
+
# @type InstanceId: String
|
2784
|
+
# @param DelHosts: 节点列表
|
2785
|
+
# @type DelHosts: Array
|
2786
|
+
# @param Type: 角色(MATER/CORE),MASTER 对应 FE,CORE对应BE
|
2787
|
+
# @type Type: String
|
2788
|
+
# @param HaType: 缩容后集群高可用类型:0:非高可用,1:读高可用,2:读写高可用。
|
2789
|
+
# @type HaType: Integer
|
2790
|
+
|
2791
|
+
attr_accessor :InstanceId, :DelHosts, :Type, :HaType
|
2792
|
+
|
2793
|
+
def initialize(instanceid=nil, delhosts=nil, type=nil, hatype=nil)
|
2794
|
+
@InstanceId = instanceid
|
2795
|
+
@DelHosts = delhosts
|
2796
|
+
@Type = type
|
2797
|
+
@HaType = hatype
|
2798
|
+
end
|
2799
|
+
|
2800
|
+
def deserialize(params)
|
2801
|
+
@InstanceId = params['InstanceId']
|
2802
|
+
@DelHosts = params['DelHosts']
|
2803
|
+
@Type = params['Type']
|
2804
|
+
@HaType = params['HaType']
|
2805
|
+
end
|
2806
|
+
end
|
2807
|
+
|
2808
|
+
# ReduceInstance返回参数结构体
|
2809
|
+
class ReduceInstanceResponse < TencentCloud::Common::AbstractModel
|
2810
|
+
# @param FlowId: 流程ID
|
2811
|
+
# @type FlowId: String
|
2812
|
+
# @param InstanceId: 集群ID
|
2813
|
+
# @type InstanceId: String
|
2814
|
+
# @param ErrorMsg: 错误信息
|
2815
|
+
# @type ErrorMsg: String
|
2816
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2817
|
+
# @type RequestId: String
|
2818
|
+
|
2819
|
+
attr_accessor :FlowId, :InstanceId, :ErrorMsg, :RequestId
|
2820
|
+
|
2821
|
+
def initialize(flowid=nil, instanceid=nil, errormsg=nil, requestid=nil)
|
2822
|
+
@FlowId = flowid
|
2823
|
+
@InstanceId = instanceid
|
2824
|
+
@ErrorMsg = errormsg
|
2825
|
+
@RequestId = requestid
|
2826
|
+
end
|
2827
|
+
|
2828
|
+
def deserialize(params)
|
2829
|
+
@FlowId = params['FlowId']
|
2830
|
+
@InstanceId = params['InstanceId']
|
2831
|
+
@ErrorMsg = params['ErrorMsg']
|
2832
|
+
@RequestId = params['RequestId']
|
2833
|
+
end
|
2834
|
+
end
|
2835
|
+
|
2836
|
+
# 可用区的地域大类描述
|
2837
|
+
class RegionAreaInfo < TencentCloud::Common::AbstractModel
|
2838
|
+
# @param Name: 大类地域信息,如"south_china", "east_china"等
|
2839
|
+
# @type Name: String
|
2840
|
+
# @param Desc: 对应Name的描述,例如“华南地区”,“华东地区”等
|
2841
|
+
# @type Desc: String
|
2842
|
+
# @param Regions: 具体地域列表1
|
2843
|
+
# @type Regions: Array
|
2844
|
+
|
2845
|
+
attr_accessor :Name, :Desc, :Regions
|
2846
|
+
|
2847
|
+
def initialize(name=nil, desc=nil, regions=nil)
|
2848
|
+
@Name = name
|
2849
|
+
@Desc = desc
|
2850
|
+
@Regions = regions
|
2851
|
+
end
|
2852
|
+
|
2853
|
+
def deserialize(params)
|
2854
|
+
@Name = params['Name']
|
2855
|
+
@Desc = params['Desc']
|
2856
|
+
unless params['Regions'].nil?
|
2857
|
+
@Regions = []
|
2858
|
+
params['Regions'].each do |i|
|
2859
|
+
regioninfo_tmp = RegionInfo.new
|
2860
|
+
regioninfo_tmp.deserialize(i)
|
2861
|
+
@Regions << regioninfo_tmp
|
2862
|
+
end
|
2863
|
+
end
|
2864
|
+
end
|
2865
|
+
end
|
2866
|
+
|
2867
|
+
# 地域描述信息
|
2868
|
+
class RegionInfo < TencentCloud::Common::AbstractModel
|
2869
|
+
# @param Name: 地域名称,例如“ap-guangzhou"
|
2870
|
+
# @type Name: String
|
2871
|
+
# @param Desc: 地域描述,例如"广州”
|
2872
|
+
# @type Desc: String
|
2873
|
+
# @param RegionId: 地域唯一标记
|
2874
|
+
# @type RegionId: Integer
|
2875
|
+
# @param Zones: 地域下所有可用区列表
|
2876
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2877
|
+
# @type Zones: Array
|
2878
|
+
# @param Count: 该地域下集群数目
|
2879
|
+
# @type Count: Integer
|
2880
|
+
# @param IsInternationalSite: 0代表是国际站 1代表不是
|
2881
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2882
|
+
# @type IsInternationalSite: Integer
|
2883
|
+
# @param Bucket: 桶
|
2884
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2885
|
+
# @type Bucket: String
|
2886
|
+
|
2887
|
+
attr_accessor :Name, :Desc, :RegionId, :Zones, :Count, :IsInternationalSite, :Bucket
|
2888
|
+
|
2889
|
+
def initialize(name=nil, desc=nil, regionid=nil, zones=nil, count=nil, isinternationalsite=nil, bucket=nil)
|
2890
|
+
@Name = name
|
2891
|
+
@Desc = desc
|
2892
|
+
@RegionId = regionid
|
2893
|
+
@Zones = zones
|
2894
|
+
@Count = count
|
2895
|
+
@IsInternationalSite = isinternationalsite
|
2896
|
+
@Bucket = bucket
|
2897
|
+
end
|
2898
|
+
|
2899
|
+
def deserialize(params)
|
2900
|
+
@Name = params['Name']
|
2901
|
+
@Desc = params['Desc']
|
2902
|
+
@RegionId = params['RegionId']
|
2903
|
+
unless params['Zones'].nil?
|
2904
|
+
@Zones = []
|
2905
|
+
params['Zones'].each do |i|
|
2906
|
+
zoneinfo_tmp = ZoneInfo.new
|
2907
|
+
zoneinfo_tmp.deserialize(i)
|
2908
|
+
@Zones << zoneinfo_tmp
|
2909
|
+
end
|
2910
|
+
end
|
2911
|
+
@Count = params['Count']
|
2912
|
+
@IsInternationalSite = params['IsInternationalSite']
|
2913
|
+
@Bucket = params['Bucket']
|
2914
|
+
end
|
2915
|
+
end
|
2916
|
+
|
1723
2917
|
# ResizeDisk请求参数结构体
|
1724
2918
|
class ResizeDiskRequest < TencentCloud::Common::AbstractModel
|
1725
2919
|
# @param InstanceId: 集群ID
|
@@ -1772,6 +2966,83 @@ module TencentCloud
|
|
1772
2966
|
end
|
1773
2967
|
end
|
1774
2968
|
|
2969
|
+
# 集群内节点的规格磁盘规格描述
|
2970
|
+
class ResourceNodeDiskSpec < TencentCloud::Common::AbstractModel
|
2971
|
+
# @param DiskType: 节点磁盘类型,例如“CLOUD_SSD”\"CLOUD_PREMIUM"
|
2972
|
+
# @type DiskType: String
|
2973
|
+
# @param DiskSize: 磁盘容量,单位G
|
2974
|
+
# @type DiskSize: Integer
|
2975
|
+
# @param DiskCount: 磁盘总数
|
2976
|
+
# @type DiskCount: Integer
|
2977
|
+
|
2978
|
+
attr_accessor :DiskType, :DiskSize, :DiskCount
|
2979
|
+
|
2980
|
+
def initialize(disktype=nil, disksize=nil, diskcount=nil)
|
2981
|
+
@DiskType = disktype
|
2982
|
+
@DiskSize = disksize
|
2983
|
+
@DiskCount = diskcount
|
2984
|
+
end
|
2985
|
+
|
2986
|
+
def deserialize(params)
|
2987
|
+
@DiskType = params['DiskType']
|
2988
|
+
@DiskSize = params['DiskSize']
|
2989
|
+
@DiskCount = params['DiskCount']
|
2990
|
+
end
|
2991
|
+
end
|
2992
|
+
|
2993
|
+
# 集群内节点的规格描述
|
2994
|
+
class ResourceNodeSpec < TencentCloud::Common::AbstractModel
|
2995
|
+
# @param Type: 节点类型,“DATA"数据节点,”COMMON" zookeeper节点
|
2996
|
+
# @type Type: String
|
2997
|
+
# @param SpecName: 节点规格名称,例如 “SCH1","SCH2”等
|
2998
|
+
# @type SpecName: String
|
2999
|
+
# @param Count: 节点数目
|
3000
|
+
# @type Count: Integer
|
3001
|
+
# @param DiskSpec: 磁盘规格描述
|
3002
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3003
|
+
# @type DiskSpec: :class:`Tencentcloud::Cdwdoris.v20211228.models.ResourceNodeDiskSpec`
|
3004
|
+
# @param Encrypt: 云盘是否加密,0不加密/1加密 默认为0
|
3005
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3006
|
+
# @type Encrypt: Integer
|
3007
|
+
# @param Extra: 额外信息
|
3008
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3009
|
+
# @type Extra: :class:`Tencentcloud::Cdwdoris.v20211228.models.SpecExtra`
|
3010
|
+
# @param AttachCBSSpec: 挂载云盘信息
|
3011
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3012
|
+
# @type AttachCBSSpec: :class:`Tencentcloud::Cdwdoris.v20211228.models.ResourceNodeDiskSpec`
|
3013
|
+
|
3014
|
+
attr_accessor :Type, :SpecName, :Count, :DiskSpec, :Encrypt, :Extra, :AttachCBSSpec
|
3015
|
+
|
3016
|
+
def initialize(type=nil, specname=nil, count=nil, diskspec=nil, encrypt=nil, extra=nil, attachcbsspec=nil)
|
3017
|
+
@Type = type
|
3018
|
+
@SpecName = specname
|
3019
|
+
@Count = count
|
3020
|
+
@DiskSpec = diskspec
|
3021
|
+
@Encrypt = encrypt
|
3022
|
+
@Extra = extra
|
3023
|
+
@AttachCBSSpec = attachcbsspec
|
3024
|
+
end
|
3025
|
+
|
3026
|
+
def deserialize(params)
|
3027
|
+
@Type = params['Type']
|
3028
|
+
@SpecName = params['SpecName']
|
3029
|
+
@Count = params['Count']
|
3030
|
+
unless params['DiskSpec'].nil?
|
3031
|
+
@DiskSpec = ResourceNodeDiskSpec.new
|
3032
|
+
@DiskSpec.deserialize(params['DiskSpec'])
|
3033
|
+
end
|
3034
|
+
@Encrypt = params['Encrypt']
|
3035
|
+
unless params['Extra'].nil?
|
3036
|
+
@Extra = SpecExtra.new
|
3037
|
+
@Extra.deserialize(params['Extra'])
|
3038
|
+
end
|
3039
|
+
unless params['AttachCBSSpec'].nil?
|
3040
|
+
@AttachCBSSpec = ResourceNodeDiskSpec.new
|
3041
|
+
@AttachCBSSpec.deserialize(params['AttachCBSSpec'])
|
3042
|
+
end
|
3043
|
+
end
|
3044
|
+
end
|
3045
|
+
|
1775
3046
|
# RestartClusterForNode请求参数结构体
|
1776
3047
|
class RestartClusterForNodeRequest < TencentCloud::Common::AbstractModel
|
1777
3048
|
# @param InstanceId: 集群ID,例如cdwch-xxxx
|
@@ -1828,6 +3099,112 @@ module TencentCloud
|
|
1828
3099
|
end
|
1829
3100
|
end
|
1830
3101
|
|
3102
|
+
# 恢复任务信息
|
3103
|
+
class RestoreStatus < TencentCloud::Common::AbstractModel
|
3104
|
+
# @param JobId: 恢复任务id
|
3105
|
+
# @type JobId: Integer
|
3106
|
+
# @param Label: 恢复任务标签
|
3107
|
+
# @type Label: String
|
3108
|
+
# @param Timestamp: 恢复任务时间戳
|
3109
|
+
# @type Timestamp: String
|
3110
|
+
# @param DbName: 恢复任务所在库
|
3111
|
+
# @type DbName: String
|
3112
|
+
# @param State: 恢复任务状态
|
3113
|
+
# @type State: String
|
3114
|
+
# @param AllowLoad: 恢复时是否允许导入
|
3115
|
+
# @type AllowLoad: Boolean
|
3116
|
+
# @param ReplicationNum: 副本数
|
3117
|
+
# @type ReplicationNum: String
|
3118
|
+
# @param ReplicaAllocation: 副本数
|
3119
|
+
# @type ReplicaAllocation: String
|
3120
|
+
# @param RestoreObjects: 恢复对象
|
3121
|
+
# @type RestoreObjects: String
|
3122
|
+
# @param CreateTime: 创建时间
|
3123
|
+
# @type CreateTime: String
|
3124
|
+
# @param MetaPreparedTime: 元数据准备时间
|
3125
|
+
# @type MetaPreparedTime: String
|
3126
|
+
# @param SnapshotFinishedTime: 快照结束时间
|
3127
|
+
# @type SnapshotFinishedTime: String
|
3128
|
+
# @param DownloadFinishedTime: 下载结束时间
|
3129
|
+
# @type DownloadFinishedTime: String
|
3130
|
+
# @param FinishedTime: 结束时间
|
3131
|
+
# @type FinishedTime: String
|
3132
|
+
# @param UnfinishedTasks: 未完成任务
|
3133
|
+
# @type UnfinishedTasks: String
|
3134
|
+
# @param Progress: 进度
|
3135
|
+
# @type Progress: String
|
3136
|
+
# @param TaskErrMsg: 错误信息
|
3137
|
+
# @type TaskErrMsg: String
|
3138
|
+
# @param Status: 状态
|
3139
|
+
# @type Status: String
|
3140
|
+
# @param Timeout: 作业超时时间
|
3141
|
+
# @type Timeout: Integer
|
3142
|
+
# @param ReserveReplica: 是否保持源表中的副本数
|
3143
|
+
# @type ReserveReplica: Boolean
|
3144
|
+
# @param ReserveDynamicPartitionEnable: 是否保持源表中的动态分区
|
3145
|
+
# @type ReserveDynamicPartitionEnable: Boolean
|
3146
|
+
# @param BackupJobId: 备份实例id
|
3147
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3148
|
+
# @type BackupJobId: Integer
|
3149
|
+
# @param TaskId: 实例对应snapshot的id
|
3150
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3151
|
+
# @type TaskId: Integer
|
3152
|
+
|
3153
|
+
attr_accessor :JobId, :Label, :Timestamp, :DbName, :State, :AllowLoad, :ReplicationNum, :ReplicaAllocation, :RestoreObjects, :CreateTime, :MetaPreparedTime, :SnapshotFinishedTime, :DownloadFinishedTime, :FinishedTime, :UnfinishedTasks, :Progress, :TaskErrMsg, :Status, :Timeout, :ReserveReplica, :ReserveDynamicPartitionEnable, :BackupJobId, :TaskId
|
3154
|
+
|
3155
|
+
def initialize(jobid=nil, label=nil, timestamp=nil, dbname=nil, state=nil, allowload=nil, replicationnum=nil, replicaallocation=nil, restoreobjects=nil, createtime=nil, metapreparedtime=nil, snapshotfinishedtime=nil, downloadfinishedtime=nil, finishedtime=nil, unfinishedtasks=nil, progress=nil, taskerrmsg=nil, status=nil, timeout=nil, reservereplica=nil, reservedynamicpartitionenable=nil, backupjobid=nil, taskid=nil)
|
3156
|
+
@JobId = jobid
|
3157
|
+
@Label = label
|
3158
|
+
@Timestamp = timestamp
|
3159
|
+
@DbName = dbname
|
3160
|
+
@State = state
|
3161
|
+
@AllowLoad = allowload
|
3162
|
+
@ReplicationNum = replicationnum
|
3163
|
+
@ReplicaAllocation = replicaallocation
|
3164
|
+
@RestoreObjects = restoreobjects
|
3165
|
+
@CreateTime = createtime
|
3166
|
+
@MetaPreparedTime = metapreparedtime
|
3167
|
+
@SnapshotFinishedTime = snapshotfinishedtime
|
3168
|
+
@DownloadFinishedTime = downloadfinishedtime
|
3169
|
+
@FinishedTime = finishedtime
|
3170
|
+
@UnfinishedTasks = unfinishedtasks
|
3171
|
+
@Progress = progress
|
3172
|
+
@TaskErrMsg = taskerrmsg
|
3173
|
+
@Status = status
|
3174
|
+
@Timeout = timeout
|
3175
|
+
@ReserveReplica = reservereplica
|
3176
|
+
@ReserveDynamicPartitionEnable = reservedynamicpartitionenable
|
3177
|
+
@BackupJobId = backupjobid
|
3178
|
+
@TaskId = taskid
|
3179
|
+
end
|
3180
|
+
|
3181
|
+
def deserialize(params)
|
3182
|
+
@JobId = params['JobId']
|
3183
|
+
@Label = params['Label']
|
3184
|
+
@Timestamp = params['Timestamp']
|
3185
|
+
@DbName = params['DbName']
|
3186
|
+
@State = params['State']
|
3187
|
+
@AllowLoad = params['AllowLoad']
|
3188
|
+
@ReplicationNum = params['ReplicationNum']
|
3189
|
+
@ReplicaAllocation = params['ReplicaAllocation']
|
3190
|
+
@RestoreObjects = params['RestoreObjects']
|
3191
|
+
@CreateTime = params['CreateTime']
|
3192
|
+
@MetaPreparedTime = params['MetaPreparedTime']
|
3193
|
+
@SnapshotFinishedTime = params['SnapshotFinishedTime']
|
3194
|
+
@DownloadFinishedTime = params['DownloadFinishedTime']
|
3195
|
+
@FinishedTime = params['FinishedTime']
|
3196
|
+
@UnfinishedTasks = params['UnfinishedTasks']
|
3197
|
+
@Progress = params['Progress']
|
3198
|
+
@TaskErrMsg = params['TaskErrMsg']
|
3199
|
+
@Status = params['Status']
|
3200
|
+
@Timeout = params['Timeout']
|
3201
|
+
@ReserveReplica = params['ReserveReplica']
|
3202
|
+
@ReserveDynamicPartitionEnable = params['ReserveDynamicPartitionEnable']
|
3203
|
+
@BackupJobId = params['BackupJobId']
|
3204
|
+
@TaskId = params['TaskId']
|
3205
|
+
end
|
3206
|
+
end
|
3207
|
+
|
1831
3208
|
# ScaleOutInstance请求参数结构体
|
1832
3209
|
class ScaleOutInstanceRequest < TencentCloud::Common::AbstractModel
|
1833
3210
|
# @param InstanceId: 集群ID
|
@@ -2037,6 +3414,29 @@ module TencentCloud
|
|
2037
3414
|
end
|
2038
3415
|
end
|
2039
3416
|
|
3417
|
+
# 额外参数
|
3418
|
+
class SpecExtra < TencentCloud::Common::AbstractModel
|
3419
|
+
# @param DelShards: 要删除的shards
|
3420
|
+
# @type DelShards: String
|
3421
|
+
# @param DelHosts: 要删除的节点uip
|
3422
|
+
# @type DelHosts: String
|
3423
|
+
|
3424
|
+
attr_accessor :DelShards, :DelHosts
|
3425
|
+
extend Gem::Deprecate
|
3426
|
+
deprecate :DelShards, :none, 2024, 7
|
3427
|
+
deprecate :DelShards=, :none, 2024, 7
|
3428
|
+
|
3429
|
+
def initialize(delshards=nil, delhosts=nil)
|
3430
|
+
@DelShards = delshards
|
3431
|
+
@DelHosts = delhosts
|
3432
|
+
end
|
3433
|
+
|
3434
|
+
def deserialize(params)
|
3435
|
+
@DelShards = params['DelShards']
|
3436
|
+
@DelHosts = params['DelHosts']
|
3437
|
+
end
|
3438
|
+
end
|
3439
|
+
|
2040
3440
|
# 标签描述
|
2041
3441
|
class Tag < TencentCloud::Common::AbstractModel
|
2042
3442
|
# @param TagKey: 标签的键
|
@@ -2057,6 +3457,132 @@ module TencentCloud
|
|
2057
3457
|
end
|
2058
3458
|
end
|
2059
3459
|
|
3460
|
+
# 更新用户权限结构体
|
3461
|
+
class UpdateUserPrivileges < TencentCloud::Common::AbstractModel
|
3462
|
+
# @param IsSetGlobalCatalog: 是否设置catalog权限
|
3463
|
+
# @type IsSetGlobalCatalog: Boolean
|
3464
|
+
|
3465
|
+
attr_accessor :IsSetGlobalCatalog
|
3466
|
+
|
3467
|
+
def initialize(issetglobalcatalog=nil)
|
3468
|
+
@IsSetGlobalCatalog = issetglobalcatalog
|
3469
|
+
end
|
3470
|
+
|
3471
|
+
def deserialize(params)
|
3472
|
+
@IsSetGlobalCatalog = params['IsSetGlobalCatalog']
|
3473
|
+
end
|
3474
|
+
end
|
3475
|
+
|
3476
|
+
# 用户绑定资源组信息
|
3477
|
+
class UserWorkloadGroup < TencentCloud::Common::AbstractModel
|
3478
|
+
# @param UserName: test
|
3479
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3480
|
+
# @type UserName: String
|
3481
|
+
# @param WorkloadGroupName: normal
|
3482
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3483
|
+
# @type WorkloadGroupName: String
|
3484
|
+
|
3485
|
+
attr_accessor :UserName, :WorkloadGroupName
|
3486
|
+
|
3487
|
+
def initialize(username=nil, workloadgroupname=nil)
|
3488
|
+
@UserName = username
|
3489
|
+
@WorkloadGroupName = workloadgroupname
|
3490
|
+
end
|
3491
|
+
|
3492
|
+
def deserialize(params)
|
3493
|
+
@UserName = params['UserName']
|
3494
|
+
@WorkloadGroupName = params['WorkloadGroupName']
|
3495
|
+
end
|
3496
|
+
end
|
3497
|
+
|
3498
|
+
# 检查doris内核是否支持新语法。
|
3499
|
+
class VersionReplicaItem < TencentCloud::Common::AbstractModel
|
3500
|
+
# @param ReplicaFlag: 版本描述
|
3501
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3502
|
+
# @type ReplicaFlag: Integer
|
3503
|
+
# @param ErrorMsg: 错误信息
|
3504
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3505
|
+
# @type ErrorMsg: String
|
3506
|
+
|
3507
|
+
attr_accessor :ReplicaFlag, :ErrorMsg
|
3508
|
+
|
3509
|
+
def initialize(replicaflag=nil, errormsg=nil)
|
3510
|
+
@ReplicaFlag = replicaflag
|
3511
|
+
@ErrorMsg = errormsg
|
3512
|
+
end
|
3513
|
+
|
3514
|
+
def deserialize(params)
|
3515
|
+
@ReplicaFlag = params['ReplicaFlag']
|
3516
|
+
@ErrorMsg = params['ErrorMsg']
|
3517
|
+
end
|
3518
|
+
end
|
3519
|
+
|
3520
|
+
# 资源组相关配置
|
3521
|
+
class WorkloadGroupConfig < TencentCloud::Common::AbstractModel
|
3522
|
+
# @param WorkloadGroupName: 资源组名称
|
3523
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3524
|
+
# @type WorkloadGroupName: String
|
3525
|
+
# @param CpuShare: CPU权重
|
3526
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3527
|
+
# @type CpuShare: Integer
|
3528
|
+
# @param MemoryLimit: 内存限制,所有资源组的内存限制值之和应该小于等于100
|
3529
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3530
|
+
# @type MemoryLimit: Integer
|
3531
|
+
# @param EnableMemoryOverCommit: 是否允许超配分配
|
3532
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3533
|
+
# @type EnableMemoryOverCommit: Boolean
|
3534
|
+
# @param CpuHardLimit: cpu硬限制
|
3535
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3536
|
+
# @type CpuHardLimit: String
|
3537
|
+
|
3538
|
+
attr_accessor :WorkloadGroupName, :CpuShare, :MemoryLimit, :EnableMemoryOverCommit, :CpuHardLimit
|
3539
|
+
|
3540
|
+
def initialize(workloadgroupname=nil, cpushare=nil, memorylimit=nil, enablememoryovercommit=nil, cpuhardlimit=nil)
|
3541
|
+
@WorkloadGroupName = workloadgroupname
|
3542
|
+
@CpuShare = cpushare
|
3543
|
+
@MemoryLimit = memorylimit
|
3544
|
+
@EnableMemoryOverCommit = enablememoryovercommit
|
3545
|
+
@CpuHardLimit = cpuhardlimit
|
3546
|
+
end
|
3547
|
+
|
3548
|
+
def deserialize(params)
|
3549
|
+
@WorkloadGroupName = params['WorkloadGroupName']
|
3550
|
+
@CpuShare = params['CpuShare']
|
3551
|
+
@MemoryLimit = params['MemoryLimit']
|
3552
|
+
@EnableMemoryOverCommit = params['EnableMemoryOverCommit']
|
3553
|
+
@CpuHardLimit = params['CpuHardLimit']
|
3554
|
+
end
|
3555
|
+
end
|
3556
|
+
|
3557
|
+
# 可用区描述信息
|
3558
|
+
class ZoneInfo < TencentCloud::Common::AbstractModel
|
3559
|
+
# @param Name: 可用区名称,例如"ap-guangzhou-1"
|
3560
|
+
# @type Name: String
|
3561
|
+
# @param Desc: 可用区描述信息,例如“广州一区”
|
3562
|
+
# @type Desc: String
|
3563
|
+
# @param ZoneId: 可用区唯一标记
|
3564
|
+
# @type ZoneId: Integer
|
3565
|
+
# @param Encrypt: Encryptid
|
3566
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3567
|
+
# @type Encrypt: Integer
|
3568
|
+
|
3569
|
+
attr_accessor :Name, :Desc, :ZoneId, :Encrypt
|
3570
|
+
|
3571
|
+
def initialize(name=nil, desc=nil, zoneid=nil, encrypt=nil)
|
3572
|
+
@Name = name
|
3573
|
+
@Desc = desc
|
3574
|
+
@ZoneId = zoneid
|
3575
|
+
@Encrypt = encrypt
|
3576
|
+
end
|
3577
|
+
|
3578
|
+
def deserialize(params)
|
3579
|
+
@Name = params['Name']
|
3580
|
+
@Desc = params['Desc']
|
3581
|
+
@ZoneId = params['ZoneId']
|
3582
|
+
@Encrypt = params['Encrypt']
|
3583
|
+
end
|
3584
|
+
end
|
3585
|
+
|
2060
3586
|
end
|
2061
3587
|
end
|
2062
3588
|
end
|