tencentcloud-sdk-dlc 3.0.671 → 3.0.672
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/v20210125/client.rb +504 -0
- data/lib/v20210125/models.rb +1282 -45
- metadata +2 -2
data/lib/v20210125/models.rb
CHANGED
@@ -759,6 +759,146 @@ module TencentCloud
|
|
759
759
|
end
|
760
760
|
end
|
761
761
|
|
762
|
+
# CheckDataEngineConfigPairsValidity请求参数结构体
|
763
|
+
class CheckDataEngineConfigPairsValidityRequest < TencentCloud::Common::AbstractModel
|
764
|
+
# @param ChildImageVersionId: 引擎小版本ID
|
765
|
+
# @type ChildImageVersionId: String
|
766
|
+
# @param DataEngineConfigPairs: 用户自定义参数
|
767
|
+
# @type DataEngineConfigPairs: Array
|
768
|
+
# @param ImageVersionId: 引擎大版本ID,存在小版本ID时仅需传入小版本ID,不存在时会获取当前大版本下最新的小版本ID。
|
769
|
+
# @type ImageVersionId: String
|
770
|
+
|
771
|
+
attr_accessor :ChildImageVersionId, :DataEngineConfigPairs, :ImageVersionId
|
772
|
+
|
773
|
+
def initialize(childimageversionid=nil, dataengineconfigpairs=nil, imageversionid=nil)
|
774
|
+
@ChildImageVersionId = childimageversionid
|
775
|
+
@DataEngineConfigPairs = dataengineconfigpairs
|
776
|
+
@ImageVersionId = imageversionid
|
777
|
+
end
|
778
|
+
|
779
|
+
def deserialize(params)
|
780
|
+
@ChildImageVersionId = params['ChildImageVersionId']
|
781
|
+
unless params['DataEngineConfigPairs'].nil?
|
782
|
+
@DataEngineConfigPairs = []
|
783
|
+
params['DataEngineConfigPairs'].each do |i|
|
784
|
+
dataengineconfigpair_tmp = DataEngineConfigPair.new
|
785
|
+
dataengineconfigpair_tmp.deserialize(i)
|
786
|
+
@DataEngineConfigPairs << dataengineconfigpair_tmp
|
787
|
+
end
|
788
|
+
end
|
789
|
+
@ImageVersionId = params['ImageVersionId']
|
790
|
+
end
|
791
|
+
end
|
792
|
+
|
793
|
+
# CheckDataEngineConfigPairsValidity返回参数结构体
|
794
|
+
class CheckDataEngineConfigPairsValidityResponse < TencentCloud::Common::AbstractModel
|
795
|
+
# @param IsAvailable: 参数有效性:ture:有效,false:至少存在一个无效参数;
|
796
|
+
# @type IsAvailable: Boolean
|
797
|
+
# @param UnavailableConfig: 无效参数集合
|
798
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
799
|
+
# @type UnavailableConfig: Array
|
800
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
801
|
+
# @type RequestId: String
|
802
|
+
|
803
|
+
attr_accessor :IsAvailable, :UnavailableConfig, :RequestId
|
804
|
+
|
805
|
+
def initialize(isavailable=nil, unavailableconfig=nil, requestid=nil)
|
806
|
+
@IsAvailable = isavailable
|
807
|
+
@UnavailableConfig = unavailableconfig
|
808
|
+
@RequestId = requestid
|
809
|
+
end
|
810
|
+
|
811
|
+
def deserialize(params)
|
812
|
+
@IsAvailable = params['IsAvailable']
|
813
|
+
@UnavailableConfig = params['UnavailableConfig']
|
814
|
+
@RequestId = params['RequestId']
|
815
|
+
end
|
816
|
+
end
|
817
|
+
|
818
|
+
# CheckDataEngineImageCanBeRollback请求参数结构体
|
819
|
+
class CheckDataEngineImageCanBeRollbackRequest < TencentCloud::Common::AbstractModel
|
820
|
+
# @param DataEngineId: 引擎唯一id
|
821
|
+
# @type DataEngineId: String
|
822
|
+
|
823
|
+
attr_accessor :DataEngineId
|
824
|
+
|
825
|
+
def initialize(dataengineid=nil)
|
826
|
+
@DataEngineId = dataengineid
|
827
|
+
end
|
828
|
+
|
829
|
+
def deserialize(params)
|
830
|
+
@DataEngineId = params['DataEngineId']
|
831
|
+
end
|
832
|
+
end
|
833
|
+
|
834
|
+
# CheckDataEngineImageCanBeRollback返回参数结构体
|
835
|
+
class CheckDataEngineImageCanBeRollbackResponse < TencentCloud::Common::AbstractModel
|
836
|
+
# @param ToRecordId: 回滚后日志记录id
|
837
|
+
# @type ToRecordId: String
|
838
|
+
# @param FromRecordId: 回滚前日志记录id
|
839
|
+
# @type FromRecordId: String
|
840
|
+
# @param IsRollback: 是否能够回滚
|
841
|
+
# @type IsRollback: Boolean
|
842
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
843
|
+
# @type RequestId: String
|
844
|
+
|
845
|
+
attr_accessor :ToRecordId, :FromRecordId, :IsRollback, :RequestId
|
846
|
+
|
847
|
+
def initialize(torecordid=nil, fromrecordid=nil, isrollback=nil, requestid=nil)
|
848
|
+
@ToRecordId = torecordid
|
849
|
+
@FromRecordId = fromrecordid
|
850
|
+
@IsRollback = isrollback
|
851
|
+
@RequestId = requestid
|
852
|
+
end
|
853
|
+
|
854
|
+
def deserialize(params)
|
855
|
+
@ToRecordId = params['ToRecordId']
|
856
|
+
@FromRecordId = params['FromRecordId']
|
857
|
+
@IsRollback = params['IsRollback']
|
858
|
+
@RequestId = params['RequestId']
|
859
|
+
end
|
860
|
+
end
|
861
|
+
|
862
|
+
# CheckDataEngineImageCanBeUpgrade请求参数结构体
|
863
|
+
class CheckDataEngineImageCanBeUpgradeRequest < TencentCloud::Common::AbstractModel
|
864
|
+
# @param DataEngineId: 集群id
|
865
|
+
# @type DataEngineId: String
|
866
|
+
|
867
|
+
attr_accessor :DataEngineId
|
868
|
+
|
869
|
+
def initialize(dataengineid=nil)
|
870
|
+
@DataEngineId = dataengineid
|
871
|
+
end
|
872
|
+
|
873
|
+
def deserialize(params)
|
874
|
+
@DataEngineId = params['DataEngineId']
|
875
|
+
end
|
876
|
+
end
|
877
|
+
|
878
|
+
# CheckDataEngineImageCanBeUpgrade返回参数结构体
|
879
|
+
class CheckDataEngineImageCanBeUpgradeResponse < TencentCloud::Common::AbstractModel
|
880
|
+
# @param ChildImageVersionId: 当前大版本下,可升级的集群镜像小版本id
|
881
|
+
# @type ChildImageVersionId: String
|
882
|
+
# @param IsUpgrade: 是否能够升级
|
883
|
+
# @type IsUpgrade: Boolean
|
884
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
885
|
+
# @type RequestId: String
|
886
|
+
|
887
|
+
attr_accessor :ChildImageVersionId, :IsUpgrade, :RequestId
|
888
|
+
|
889
|
+
def initialize(childimageversionid=nil, isupgrade=nil, requestid=nil)
|
890
|
+
@ChildImageVersionId = childimageversionid
|
891
|
+
@IsUpgrade = isupgrade
|
892
|
+
@RequestId = requestid
|
893
|
+
end
|
894
|
+
|
895
|
+
def deserialize(params)
|
896
|
+
@ChildImageVersionId = params['ChildImageVersionId']
|
897
|
+
@IsUpgrade = params['IsUpgrade']
|
898
|
+
@RequestId = params['RequestId']
|
899
|
+
end
|
900
|
+
end
|
901
|
+
|
762
902
|
# CheckLockMetaData请求参数结构体
|
763
903
|
class CheckLockMetaDataRequest < TencentCloud::Common::AbstractModel
|
764
904
|
# @param LockId: 锁ID
|
@@ -1192,8 +1332,8 @@ module TencentCloud
|
|
1192
1332
|
|
1193
1333
|
attr_accessor :EngineType, :DataEngineName, :ClusterType, :Mode, :AutoResume, :MinClusters, :MaxClusters, :DefaultDataEngine, :CidrBlock, :Message, :Size, :PayMode, :TimeSpan, :TimeUnit, :AutoRenew, :Tags, :AutoSuspend, :CrontabResumeSuspend, :CrontabResumeSuspendStrategy, :EngineExecType, :MaxConcurrency, :TolerableQueueTime, :AutoSuspendTime, :ResourceType, :DataEngineConfigPairs, :ImageVersionName, :MainClusterName, :ElasticSwitch, :ElasticLimit, :SessionResourceTemplate
|
1194
1334
|
extend Gem::Deprecate
|
1195
|
-
deprecate :DefaultDataEngine, :none, 2023,
|
1196
|
-
deprecate :DefaultDataEngine=, :none, 2023,
|
1335
|
+
deprecate :DefaultDataEngine, :none, 2023, 10
|
1336
|
+
deprecate :DefaultDataEngine=, :none, 2023, 10
|
1197
1337
|
|
1198
1338
|
def initialize(enginetype=nil, dataenginename=nil, clustertype=nil, mode=nil, autoresume=nil, minclusters=nil, maxclusters=nil, defaultdataengine=nil, cidrblock=nil, message=nil, size=nil, paymode=nil, timespan=nil, timeunit=nil, autorenew=nil, tags=nil, autosuspend=nil, crontabresumesuspend=nil, crontabresumesuspendstrategy=nil, engineexectype=nil, maxconcurrency=nil, tolerablequeuetime=nil, autosuspendtime=nil, resourcetype=nil, dataengineconfigpairs=nil, imageversionname=nil, mainclustername=nil, elasticswitch=nil, elasticlimit=nil, sessionresourcetemplate=nil)
|
1199
1339
|
@EngineType = enginetype
|
@@ -2926,6 +3066,55 @@ module TencentCloud
|
|
2926
3066
|
end
|
2927
3067
|
end
|
2928
3068
|
|
3069
|
+
# 集群大版本镜像信息。
|
3070
|
+
class DataEngineImageVersion < TencentCloud::Common::AbstractModel
|
3071
|
+
# @param ImageVersionId: 镜像大版本ID
|
3072
|
+
# @type ImageVersionId: String
|
3073
|
+
# @param ImageVersion: 镜像大版本名称
|
3074
|
+
# @type ImageVersion: String
|
3075
|
+
# @param Description: 镜像大版本描述
|
3076
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3077
|
+
# @type Description: String
|
3078
|
+
# @param IsPublic: 是否为公共版本:1:公共;2:私有
|
3079
|
+
# @type IsPublic: Integer
|
3080
|
+
# @param EngineType: 集群类型:SparkSQL/PrestoSQL/SparkBatch
|
3081
|
+
# @type EngineType: String
|
3082
|
+
# @param IsSharedEngine: 版本状态:1:初始化;2:上线;3:下线
|
3083
|
+
# @type IsSharedEngine: Integer
|
3084
|
+
# @param State: 版本状态:1:初始化;2:上线;3:下线
|
3085
|
+
# @type State: Integer
|
3086
|
+
# @param InsertTime: 插入时间
|
3087
|
+
# @type InsertTime: String
|
3088
|
+
# @param UpdateTime: 更新时间
|
3089
|
+
# @type UpdateTime: String
|
3090
|
+
|
3091
|
+
attr_accessor :ImageVersionId, :ImageVersion, :Description, :IsPublic, :EngineType, :IsSharedEngine, :State, :InsertTime, :UpdateTime
|
3092
|
+
|
3093
|
+
def initialize(imageversionid=nil, imageversion=nil, description=nil, ispublic=nil, enginetype=nil, issharedengine=nil, state=nil, inserttime=nil, updatetime=nil)
|
3094
|
+
@ImageVersionId = imageversionid
|
3095
|
+
@ImageVersion = imageversion
|
3096
|
+
@Description = description
|
3097
|
+
@IsPublic = ispublic
|
3098
|
+
@EngineType = enginetype
|
3099
|
+
@IsSharedEngine = issharedengine
|
3100
|
+
@State = state
|
3101
|
+
@InsertTime = inserttime
|
3102
|
+
@UpdateTime = updatetime
|
3103
|
+
end
|
3104
|
+
|
3105
|
+
def deserialize(params)
|
3106
|
+
@ImageVersionId = params['ImageVersionId']
|
3107
|
+
@ImageVersion = params['ImageVersion']
|
3108
|
+
@Description = params['Description']
|
3109
|
+
@IsPublic = params['IsPublic']
|
3110
|
+
@EngineType = params['EngineType']
|
3111
|
+
@IsSharedEngine = params['IsSharedEngine']
|
3112
|
+
@State = params['State']
|
3113
|
+
@InsertTime = params['InsertTime']
|
3114
|
+
@UpdateTime = params['UpdateTime']
|
3115
|
+
end
|
3116
|
+
end
|
3117
|
+
|
2929
3118
|
# DataEngine详细信息
|
2930
3119
|
class DataEngineInfo < TencentCloud::Common::AbstractModel
|
2931
3120
|
# @param DataEngineName: DataEngine名称
|
@@ -3626,6 +3815,38 @@ module TencentCloud
|
|
3626
3815
|
end
|
3627
3816
|
end
|
3628
3817
|
|
3818
|
+
# DeleteDataEngine请求参数结构体
|
3819
|
+
class DeleteDataEngineRequest < TencentCloud::Common::AbstractModel
|
3820
|
+
# @param DataEngineNames: 删除虚拟集群的名称数组
|
3821
|
+
# @type DataEngineNames: Array
|
3822
|
+
|
3823
|
+
attr_accessor :DataEngineNames
|
3824
|
+
|
3825
|
+
def initialize(dataenginenames=nil)
|
3826
|
+
@DataEngineNames = dataenginenames
|
3827
|
+
end
|
3828
|
+
|
3829
|
+
def deserialize(params)
|
3830
|
+
@DataEngineNames = params['DataEngineNames']
|
3831
|
+
end
|
3832
|
+
end
|
3833
|
+
|
3834
|
+
# DeleteDataEngine返回参数结构体
|
3835
|
+
class DeleteDataEngineResponse < TencentCloud::Common::AbstractModel
|
3836
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3837
|
+
# @type RequestId: String
|
3838
|
+
|
3839
|
+
attr_accessor :RequestId
|
3840
|
+
|
3841
|
+
def initialize(requestid=nil)
|
3842
|
+
@RequestId = requestid
|
3843
|
+
end
|
3844
|
+
|
3845
|
+
def deserialize(params)
|
3846
|
+
@RequestId = params['RequestId']
|
3847
|
+
end
|
3848
|
+
end
|
3849
|
+
|
3629
3850
|
# DeleteNotebookSession请求参数结构体
|
3630
3851
|
class DeleteNotebookSessionRequest < TencentCloud::Common::AbstractModel
|
3631
3852
|
# @param SessionId: Session唯一标识
|
@@ -4249,6 +4470,135 @@ module TencentCloud
|
|
4249
4470
|
end
|
4250
4471
|
end
|
4251
4472
|
|
4473
|
+
# DescribeDataEngineImageVersions请求参数结构体
|
4474
|
+
class DescribeDataEngineImageVersionsRequest < TencentCloud::Common::AbstractModel
|
4475
|
+
# @param EngineType: 引擎类型:SQL、SparkBatch
|
4476
|
+
# @type EngineType: String
|
4477
|
+
|
4478
|
+
attr_accessor :EngineType
|
4479
|
+
|
4480
|
+
def initialize(enginetype=nil)
|
4481
|
+
@EngineType = enginetype
|
4482
|
+
end
|
4483
|
+
|
4484
|
+
def deserialize(params)
|
4485
|
+
@EngineType = params['EngineType']
|
4486
|
+
end
|
4487
|
+
end
|
4488
|
+
|
4489
|
+
# DescribeDataEngineImageVersions返回参数结构体
|
4490
|
+
class DescribeDataEngineImageVersionsResponse < TencentCloud::Common::AbstractModel
|
4491
|
+
# @param ImageParentVersions: 集群大版本镜像信息列表
|
4492
|
+
# @type ImageParentVersions: Array
|
4493
|
+
# @param Total: 总数
|
4494
|
+
# @type Total: Integer
|
4495
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4496
|
+
# @type RequestId: String
|
4497
|
+
|
4498
|
+
attr_accessor :ImageParentVersions, :Total, :RequestId
|
4499
|
+
|
4500
|
+
def initialize(imageparentversions=nil, total=nil, requestid=nil)
|
4501
|
+
@ImageParentVersions = imageparentversions
|
4502
|
+
@Total = total
|
4503
|
+
@RequestId = requestid
|
4504
|
+
end
|
4505
|
+
|
4506
|
+
def deserialize(params)
|
4507
|
+
unless params['ImageParentVersions'].nil?
|
4508
|
+
@ImageParentVersions = []
|
4509
|
+
params['ImageParentVersions'].each do |i|
|
4510
|
+
dataengineimageversion_tmp = DataEngineImageVersion.new
|
4511
|
+
dataengineimageversion_tmp.deserialize(i)
|
4512
|
+
@ImageParentVersions << dataengineimageversion_tmp
|
4513
|
+
end
|
4514
|
+
end
|
4515
|
+
@Total = params['Total']
|
4516
|
+
@RequestId = params['RequestId']
|
4517
|
+
end
|
4518
|
+
end
|
4519
|
+
|
4520
|
+
# DescribeDataEnginePythonSparkImages请求参数结构体
|
4521
|
+
class DescribeDataEnginePythonSparkImagesRequest < TencentCloud::Common::AbstractModel
|
4522
|
+
# @param ChildImageVersionId: 集群镜像小版本ID
|
4523
|
+
# @type ChildImageVersionId: String
|
4524
|
+
|
4525
|
+
attr_accessor :ChildImageVersionId
|
4526
|
+
|
4527
|
+
def initialize(childimageversionid=nil)
|
4528
|
+
@ChildImageVersionId = childimageversionid
|
4529
|
+
end
|
4530
|
+
|
4531
|
+
def deserialize(params)
|
4532
|
+
@ChildImageVersionId = params['ChildImageVersionId']
|
4533
|
+
end
|
4534
|
+
end
|
4535
|
+
|
4536
|
+
# DescribeDataEnginePythonSparkImages返回参数结构体
|
4537
|
+
class DescribeDataEnginePythonSparkImagesResponse < TencentCloud::Common::AbstractModel
|
4538
|
+
# @param PythonSparkImages: PYSPARK镜像信息列表
|
4539
|
+
# @type PythonSparkImages: Array
|
4540
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4541
|
+
# @type RequestId: String
|
4542
|
+
|
4543
|
+
attr_accessor :PythonSparkImages, :RequestId
|
4544
|
+
|
4545
|
+
def initialize(pythonsparkimages=nil, requestid=nil)
|
4546
|
+
@PythonSparkImages = pythonsparkimages
|
4547
|
+
@RequestId = requestid
|
4548
|
+
end
|
4549
|
+
|
4550
|
+
def deserialize(params)
|
4551
|
+
unless params['PythonSparkImages'].nil?
|
4552
|
+
@PythonSparkImages = []
|
4553
|
+
params['PythonSparkImages'].each do |i|
|
4554
|
+
pythonsparkimage_tmp = PythonSparkImage.new
|
4555
|
+
pythonsparkimage_tmp.deserialize(i)
|
4556
|
+
@PythonSparkImages << pythonsparkimage_tmp
|
4557
|
+
end
|
4558
|
+
end
|
4559
|
+
@RequestId = params['RequestId']
|
4560
|
+
end
|
4561
|
+
end
|
4562
|
+
|
4563
|
+
# DescribeDataEngine请求参数结构体
|
4564
|
+
class DescribeDataEngineRequest < TencentCloud::Common::AbstractModel
|
4565
|
+
# @param DataEngineName: House名称
|
4566
|
+
# @type DataEngineName: String
|
4567
|
+
|
4568
|
+
attr_accessor :DataEngineName
|
4569
|
+
|
4570
|
+
def initialize(dataenginename=nil)
|
4571
|
+
@DataEngineName = dataenginename
|
4572
|
+
end
|
4573
|
+
|
4574
|
+
def deserialize(params)
|
4575
|
+
@DataEngineName = params['DataEngineName']
|
4576
|
+
end
|
4577
|
+
end
|
4578
|
+
|
4579
|
+
# DescribeDataEngine返回参数结构体
|
4580
|
+
class DescribeDataEngineResponse < TencentCloud::Common::AbstractModel
|
4581
|
+
# @param DataEngine: 数据引擎详细信息
|
4582
|
+
# @type DataEngine: :class:`Tencentcloud::Dlc.v20210125.models.DataEngineInfo`
|
4583
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4584
|
+
# @type RequestId: String
|
4585
|
+
|
4586
|
+
attr_accessor :DataEngine, :RequestId
|
4587
|
+
|
4588
|
+
def initialize(dataengine=nil, requestid=nil)
|
4589
|
+
@DataEngine = dataengine
|
4590
|
+
@RequestId = requestid
|
4591
|
+
end
|
4592
|
+
|
4593
|
+
def deserialize(params)
|
4594
|
+
unless params['DataEngine'].nil?
|
4595
|
+
@DataEngine = DataEngineInfo.new
|
4596
|
+
@DataEngine.deserialize(params['DataEngine'])
|
4597
|
+
end
|
4598
|
+
@RequestId = params['RequestId']
|
4599
|
+
end
|
4600
|
+
end
|
4601
|
+
|
4252
4602
|
# DescribeDataEngines请求参数结构体
|
4253
4603
|
class DescribeDataEnginesRequest < TencentCloud::Common::AbstractModel
|
4254
4604
|
# @param Offset: 偏移量,默认为0。
|
@@ -5722,48 +6072,170 @@ module TencentCloud
|
|
5722
6072
|
end
|
5723
6073
|
end
|
5724
6074
|
|
5725
|
-
#
|
5726
|
-
class
|
5727
|
-
# @param Limit: 列举的数量限制
|
5728
|
-
# @type Limit: Integer
|
5729
|
-
# @param Offset: 列举的偏移位置
|
5730
|
-
# @type Offset: Integer
|
5731
|
-
# @param Fuzzy: 按照arn模糊列举
|
5732
|
-
# @type Fuzzy: String
|
5733
|
-
# @param SortBy: 返回结果按照该字段排序
|
5734
|
-
# @type SortBy: String
|
5735
|
-
# @param Sorting: 正序或者倒序,例如:desc
|
5736
|
-
# @type Sorting: String
|
6075
|
+
# DescribeUserDataEngineConfig请求参数结构体
|
6076
|
+
class DescribeUserDataEngineConfigRequest < TencentCloud::Common::AbstractModel
|
5737
6077
|
|
5738
|
-
attr_accessor :Limit, :Offset, :Fuzzy, :SortBy, :Sorting
|
5739
6078
|
|
5740
|
-
def initialize(
|
5741
|
-
@Limit = limit
|
5742
|
-
@Offset = offset
|
5743
|
-
@Fuzzy = fuzzy
|
5744
|
-
@SortBy = sortby
|
5745
|
-
@Sorting = sorting
|
6079
|
+
def initialize()
|
5746
6080
|
end
|
5747
6081
|
|
5748
6082
|
def deserialize(params)
|
5749
|
-
@Limit = params['Limit']
|
5750
|
-
@Offset = params['Offset']
|
5751
|
-
@Fuzzy = params['Fuzzy']
|
5752
|
-
@SortBy = params['SortBy']
|
5753
|
-
@Sorting = params['Sorting']
|
5754
6083
|
end
|
5755
6084
|
end
|
5756
6085
|
|
5757
|
-
#
|
5758
|
-
class
|
5759
|
-
# @param Total: 符合列举条件的总数量
|
5760
|
-
# @type Total: Integer
|
5761
|
-
# @param UserRoles: 用户角色信息
|
5762
|
-
# @type UserRoles: Array
|
6086
|
+
# DescribeUserDataEngineConfig返回参数结构体
|
6087
|
+
class DescribeUserDataEngineConfigResponse < TencentCloud::Common::AbstractModel
|
5763
6088
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5764
6089
|
# @type RequestId: String
|
5765
6090
|
|
5766
|
-
attr_accessor :
|
6091
|
+
attr_accessor :RequestId
|
6092
|
+
|
6093
|
+
def initialize(requestid=nil)
|
6094
|
+
@RequestId = requestid
|
6095
|
+
end
|
6096
|
+
|
6097
|
+
def deserialize(params)
|
6098
|
+
@RequestId = params['RequestId']
|
6099
|
+
end
|
6100
|
+
end
|
6101
|
+
|
6102
|
+
# DescribeUserInfo请求参数结构体
|
6103
|
+
class DescribeUserInfoRequest < TencentCloud::Common::AbstractModel
|
6104
|
+
# @param UserId: 用户Id
|
6105
|
+
# @type UserId: String
|
6106
|
+
# @param Type: 查询的信息类型,Group:工作组 DataAuth:数据权限 EngineAuth:引擎权限
|
6107
|
+
# @type Type: String
|
6108
|
+
# @param Filters: 查询的过滤条件。
|
6109
|
+
|
6110
|
+
# 当Type为Group时,支持Key为workgroup-name的模糊搜索;
|
6111
|
+
|
6112
|
+
# 当Type为DataAuth时,支持key:
|
6113
|
+
|
6114
|
+
# policy-type:权限类型。
|
6115
|
+
|
6116
|
+
# policy-source:数据来源。
|
6117
|
+
|
6118
|
+
# data-name:库表的模糊搜索。
|
6119
|
+
|
6120
|
+
# 当Type为EngineAuth时,支持key:
|
6121
|
+
|
6122
|
+
# policy-type:权限类型。
|
6123
|
+
|
6124
|
+
# policy-source:数据来源。
|
6125
|
+
|
6126
|
+
# engine-name:库表的模糊搜索。
|
6127
|
+
# @type Filters: Array
|
6128
|
+
# @param SortBy: 排序字段。
|
6129
|
+
|
6130
|
+
# 当Type为Group时,支持create-time、group-name
|
6131
|
+
|
6132
|
+
# 当Type为DataAuth时,支持create-time
|
6133
|
+
|
6134
|
+
# 当Type为EngineAuth时,支持create-time
|
6135
|
+
# @type SortBy: String
|
6136
|
+
# @param Sorting: 排序方式,desc表示正序,asc表示反序, 默认为asc
|
6137
|
+
# @type Sorting: String
|
6138
|
+
# @param Limit: 返回数量,默认20,最大值100
|
6139
|
+
# @type Limit: Integer
|
6140
|
+
# @param Offset: 偏移量,默认为0
|
6141
|
+
# @type Offset: Integer
|
6142
|
+
|
6143
|
+
attr_accessor :UserId, :Type, :Filters, :SortBy, :Sorting, :Limit, :Offset
|
6144
|
+
|
6145
|
+
def initialize(userid=nil, type=nil, filters=nil, sortby=nil, sorting=nil, limit=nil, offset=nil)
|
6146
|
+
@UserId = userid
|
6147
|
+
@Type = type
|
6148
|
+
@Filters = filters
|
6149
|
+
@SortBy = sortby
|
6150
|
+
@Sorting = sorting
|
6151
|
+
@Limit = limit
|
6152
|
+
@Offset = offset
|
6153
|
+
end
|
6154
|
+
|
6155
|
+
def deserialize(params)
|
6156
|
+
@UserId = params['UserId']
|
6157
|
+
@Type = params['Type']
|
6158
|
+
unless params['Filters'].nil?
|
6159
|
+
@Filters = []
|
6160
|
+
params['Filters'].each do |i|
|
6161
|
+
filter_tmp = Filter.new
|
6162
|
+
filter_tmp.deserialize(i)
|
6163
|
+
@Filters << filter_tmp
|
6164
|
+
end
|
6165
|
+
end
|
6166
|
+
@SortBy = params['SortBy']
|
6167
|
+
@Sorting = params['Sorting']
|
6168
|
+
@Limit = params['Limit']
|
6169
|
+
@Offset = params['Offset']
|
6170
|
+
end
|
6171
|
+
end
|
6172
|
+
|
6173
|
+
# DescribeUserInfo返回参数结构体
|
6174
|
+
class DescribeUserInfoResponse < TencentCloud::Common::AbstractModel
|
6175
|
+
# @param UserInfo: 用户详细信息
|
6176
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6177
|
+
# @type UserInfo: :class:`Tencentcloud::Dlc.v20210125.models.UserDetailInfo`
|
6178
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6179
|
+
# @type RequestId: String
|
6180
|
+
|
6181
|
+
attr_accessor :UserInfo, :RequestId
|
6182
|
+
|
6183
|
+
def initialize(userinfo=nil, requestid=nil)
|
6184
|
+
@UserInfo = userinfo
|
6185
|
+
@RequestId = requestid
|
6186
|
+
end
|
6187
|
+
|
6188
|
+
def deserialize(params)
|
6189
|
+
unless params['UserInfo'].nil?
|
6190
|
+
@UserInfo = UserDetailInfo.new
|
6191
|
+
@UserInfo.deserialize(params['UserInfo'])
|
6192
|
+
end
|
6193
|
+
@RequestId = params['RequestId']
|
6194
|
+
end
|
6195
|
+
end
|
6196
|
+
|
6197
|
+
# DescribeUserRoles请求参数结构体
|
6198
|
+
class DescribeUserRolesRequest < TencentCloud::Common::AbstractModel
|
6199
|
+
# @param Limit: 列举的数量限制
|
6200
|
+
# @type Limit: Integer
|
6201
|
+
# @param Offset: 列举的偏移位置
|
6202
|
+
# @type Offset: Integer
|
6203
|
+
# @param Fuzzy: 按照arn模糊列举
|
6204
|
+
# @type Fuzzy: String
|
6205
|
+
# @param SortBy: 返回结果按照该字段排序
|
6206
|
+
# @type SortBy: String
|
6207
|
+
# @param Sorting: 正序或者倒序,例如:desc
|
6208
|
+
# @type Sorting: String
|
6209
|
+
|
6210
|
+
attr_accessor :Limit, :Offset, :Fuzzy, :SortBy, :Sorting
|
6211
|
+
|
6212
|
+
def initialize(limit=nil, offset=nil, fuzzy=nil, sortby=nil, sorting=nil)
|
6213
|
+
@Limit = limit
|
6214
|
+
@Offset = offset
|
6215
|
+
@Fuzzy = fuzzy
|
6216
|
+
@SortBy = sortby
|
6217
|
+
@Sorting = sorting
|
6218
|
+
end
|
6219
|
+
|
6220
|
+
def deserialize(params)
|
6221
|
+
@Limit = params['Limit']
|
6222
|
+
@Offset = params['Offset']
|
6223
|
+
@Fuzzy = params['Fuzzy']
|
6224
|
+
@SortBy = params['SortBy']
|
6225
|
+
@Sorting = params['Sorting']
|
6226
|
+
end
|
6227
|
+
end
|
6228
|
+
|
6229
|
+
# DescribeUserRoles返回参数结构体
|
6230
|
+
class DescribeUserRolesResponse < TencentCloud::Common::AbstractModel
|
6231
|
+
# @param Total: 符合列举条件的总数量
|
6232
|
+
# @type Total: Integer
|
6233
|
+
# @param UserRoles: 用户角色信息
|
6234
|
+
# @type UserRoles: Array
|
6235
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6236
|
+
# @type RequestId: String
|
6237
|
+
|
6238
|
+
attr_accessor :Total, :UserRoles, :RequestId
|
5767
6239
|
|
5768
6240
|
def initialize(total=nil, userroles=nil, requestid=nil)
|
5769
6241
|
@Total = total
|
@@ -5785,6 +6257,43 @@ module TencentCloud
|
|
5785
6257
|
end
|
5786
6258
|
end
|
5787
6259
|
|
6260
|
+
# DescribeUserType请求参数结构体
|
6261
|
+
class DescribeUserTypeRequest < TencentCloud::Common::AbstractModel
|
6262
|
+
# @param UserId: 用户ID(UIN),如果不填默认为调用方的子UIN
|
6263
|
+
# @type UserId: String
|
6264
|
+
|
6265
|
+
attr_accessor :UserId
|
6266
|
+
|
6267
|
+
def initialize(userid=nil)
|
6268
|
+
@UserId = userid
|
6269
|
+
end
|
6270
|
+
|
6271
|
+
def deserialize(params)
|
6272
|
+
@UserId = params['UserId']
|
6273
|
+
end
|
6274
|
+
end
|
6275
|
+
|
6276
|
+
# DescribeUserType返回参数结构体
|
6277
|
+
class DescribeUserTypeResponse < TencentCloud::Common::AbstractModel
|
6278
|
+
# @param UserType: 用户类型。ADMIN:管理员 COMMON:普通用户
|
6279
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6280
|
+
# @type UserType: String
|
6281
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6282
|
+
# @type RequestId: String
|
6283
|
+
|
6284
|
+
attr_accessor :UserType, :RequestId
|
6285
|
+
|
6286
|
+
def initialize(usertype=nil, requestid=nil)
|
6287
|
+
@UserType = usertype
|
6288
|
+
@RequestId = requestid
|
6289
|
+
end
|
6290
|
+
|
6291
|
+
def deserialize(params)
|
6292
|
+
@UserType = params['UserType']
|
6293
|
+
@RequestId = params['RequestId']
|
6294
|
+
end
|
6295
|
+
end
|
6296
|
+
|
5788
6297
|
# DescribeUsers请求参数结构体
|
5789
6298
|
class DescribeUsersRequest < TencentCloud::Common::AbstractModel
|
5790
6299
|
# @param UserId: 指定查询的子用户uin,用户需要通过CreateUser接口创建。
|
@@ -5947,6 +6456,101 @@ module TencentCloud
|
|
5947
6456
|
end
|
5948
6457
|
end
|
5949
6458
|
|
6459
|
+
# DescribeWorkGroupInfo请求参数结构体
|
6460
|
+
class DescribeWorkGroupInfoRequest < TencentCloud::Common::AbstractModel
|
6461
|
+
# @param WorkGroupId: 工作组Id
|
6462
|
+
# @type WorkGroupId: Integer
|
6463
|
+
# @param Type: 查询信息类型:User:用户信息 DataAuth:数据权限 EngineAuth:引擎权限
|
6464
|
+
# @type Type: String
|
6465
|
+
# @param Filters: 查询的过滤条件。
|
6466
|
+
|
6467
|
+
# 当Type为User时,支持Key为user-name的模糊搜索;
|
6468
|
+
|
6469
|
+
# 当Type为DataAuth时,支持key:
|
6470
|
+
|
6471
|
+
# policy-type:权限类型。
|
6472
|
+
|
6473
|
+
# policy-source:数据来源。
|
6474
|
+
|
6475
|
+
# data-name:库表的模糊搜索。
|
6476
|
+
|
6477
|
+
# 当Type为EngineAuth时,支持key:
|
6478
|
+
|
6479
|
+
# policy-type:权限类型。
|
6480
|
+
|
6481
|
+
# policy-source:数据来源。
|
6482
|
+
|
6483
|
+
# engine-name:库表的模糊搜索。
|
6484
|
+
# @type Filters: Array
|
6485
|
+
# @param SortBy: 排序字段。
|
6486
|
+
|
6487
|
+
# 当Type为User时,支持create-time、user-name
|
6488
|
+
|
6489
|
+
# 当Type为DataAuth时,支持create-time
|
6490
|
+
|
6491
|
+
# 当Type为EngineAuth时,支持create-time
|
6492
|
+
# @type SortBy: String
|
6493
|
+
# @param Sorting: 排序方式,desc表示正序,asc表示反序, 默认为asc
|
6494
|
+
# @type Sorting: String
|
6495
|
+
# @param Limit: 返回数量,默认20,最大值100
|
6496
|
+
# @type Limit: Integer
|
6497
|
+
# @param Offset: 偏移量,默认为0
|
6498
|
+
# @type Offset: Integer
|
6499
|
+
|
6500
|
+
attr_accessor :WorkGroupId, :Type, :Filters, :SortBy, :Sorting, :Limit, :Offset
|
6501
|
+
|
6502
|
+
def initialize(workgroupid=nil, type=nil, filters=nil, sortby=nil, sorting=nil, limit=nil, offset=nil)
|
6503
|
+
@WorkGroupId = workgroupid
|
6504
|
+
@Type = type
|
6505
|
+
@Filters = filters
|
6506
|
+
@SortBy = sortby
|
6507
|
+
@Sorting = sorting
|
6508
|
+
@Limit = limit
|
6509
|
+
@Offset = offset
|
6510
|
+
end
|
6511
|
+
|
6512
|
+
def deserialize(params)
|
6513
|
+
@WorkGroupId = params['WorkGroupId']
|
6514
|
+
@Type = params['Type']
|
6515
|
+
unless params['Filters'].nil?
|
6516
|
+
@Filters = []
|
6517
|
+
params['Filters'].each do |i|
|
6518
|
+
filter_tmp = Filter.new
|
6519
|
+
filter_tmp.deserialize(i)
|
6520
|
+
@Filters << filter_tmp
|
6521
|
+
end
|
6522
|
+
end
|
6523
|
+
@SortBy = params['SortBy']
|
6524
|
+
@Sorting = params['Sorting']
|
6525
|
+
@Limit = params['Limit']
|
6526
|
+
@Offset = params['Offset']
|
6527
|
+
end
|
6528
|
+
end
|
6529
|
+
|
6530
|
+
# DescribeWorkGroupInfo返回参数结构体
|
6531
|
+
class DescribeWorkGroupInfoResponse < TencentCloud::Common::AbstractModel
|
6532
|
+
# @param WorkGroupInfo: 工作组详细信息
|
6533
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6534
|
+
# @type WorkGroupInfo: :class:`Tencentcloud::Dlc.v20210125.models.WorkGroupDetailInfo`
|
6535
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6536
|
+
# @type RequestId: String
|
6537
|
+
|
6538
|
+
attr_accessor :WorkGroupInfo, :RequestId
|
6539
|
+
|
6540
|
+
def initialize(workgroupinfo=nil, requestid=nil)
|
6541
|
+
@WorkGroupInfo = workgroupinfo
|
6542
|
+
@RequestId = requestid
|
6543
|
+
end
|
6544
|
+
|
6545
|
+
def deserialize(params)
|
6546
|
+
unless params['WorkGroupInfo'].nil?
|
6547
|
+
@WorkGroupInfo = WorkGroupDetailInfo.new
|
6548
|
+
@WorkGroupInfo.deserialize(params['WorkGroupInfo'])
|
6549
|
+
end
|
6550
|
+
@RequestId = params['RequestId']
|
6551
|
+
end
|
6552
|
+
end
|
6553
|
+
|
5950
6554
|
# DescribeWorkGroups请求参数结构体
|
5951
6555
|
class DescribeWorkGroupsRequest < TencentCloud::Common::AbstractModel
|
5952
6556
|
# @param WorkGroupId: 查询的工作组Id,不填或填0表示不过滤。
|
@@ -6830,6 +7434,42 @@ module TencentCloud
|
|
6830
7434
|
end
|
6831
7435
|
end
|
6832
7436
|
|
7437
|
+
# ModifyDataEngineDescription请求参数结构体
|
7438
|
+
class ModifyDataEngineDescriptionRequest < TencentCloud::Common::AbstractModel
|
7439
|
+
# @param DataEngineName: 要修改的引擎的名称
|
7440
|
+
# @type DataEngineName: String
|
7441
|
+
# @param Message: 引擎的描述信息,最大长度为250
|
7442
|
+
# @type Message: String
|
7443
|
+
|
7444
|
+
attr_accessor :DataEngineName, :Message
|
7445
|
+
|
7446
|
+
def initialize(dataenginename=nil, message=nil)
|
7447
|
+
@DataEngineName = dataenginename
|
7448
|
+
@Message = message
|
7449
|
+
end
|
7450
|
+
|
7451
|
+
def deserialize(params)
|
7452
|
+
@DataEngineName = params['DataEngineName']
|
7453
|
+
@Message = params['Message']
|
7454
|
+
end
|
7455
|
+
end
|
7456
|
+
|
7457
|
+
# ModifyDataEngineDescription返回参数结构体
|
7458
|
+
class ModifyDataEngineDescriptionResponse < TencentCloud::Common::AbstractModel
|
7459
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7460
|
+
# @type RequestId: String
|
7461
|
+
|
7462
|
+
attr_accessor :RequestId
|
7463
|
+
|
7464
|
+
def initialize(requestid=nil)
|
7465
|
+
@RequestId = requestid
|
7466
|
+
end
|
7467
|
+
|
7468
|
+
def deserialize(params)
|
7469
|
+
@RequestId = params['RequestId']
|
7470
|
+
end
|
7471
|
+
end
|
7472
|
+
|
6833
7473
|
# ModifyGovernEventRule请求参数结构体
|
6834
7474
|
class ModifyGovernEventRuleRequest < TencentCloud::Common::AbstractModel
|
6835
7475
|
|
@@ -7097,23 +7737,59 @@ module TencentCloud
|
|
7097
7737
|
end
|
7098
7738
|
end
|
7099
7739
|
|
7100
|
-
#
|
7101
|
-
class
|
7102
|
-
# @param
|
7103
|
-
# @type
|
7104
|
-
# @param
|
7105
|
-
# @type
|
7740
|
+
# ModifyUserType请求参数结构体
|
7741
|
+
class ModifyUserTypeRequest < TencentCloud::Common::AbstractModel
|
7742
|
+
# @param UserId: 用户ID
|
7743
|
+
# @type UserId: String
|
7744
|
+
# @param UserType: 用户要修改到的类型,ADMIN:管理员,COMMON:一般用户。
|
7745
|
+
# @type UserType: String
|
7106
7746
|
|
7107
|
-
attr_accessor :
|
7747
|
+
attr_accessor :UserId, :UserType
|
7108
7748
|
|
7109
|
-
def initialize(
|
7110
|
-
@
|
7111
|
-
@
|
7749
|
+
def initialize(userid=nil, usertype=nil)
|
7750
|
+
@UserId = userid
|
7751
|
+
@UserType = usertype
|
7112
7752
|
end
|
7113
7753
|
|
7114
7754
|
def deserialize(params)
|
7115
|
-
@
|
7116
|
-
@
|
7755
|
+
@UserId = params['UserId']
|
7756
|
+
@UserType = params['UserType']
|
7757
|
+
end
|
7758
|
+
end
|
7759
|
+
|
7760
|
+
# ModifyUserType返回参数结构体
|
7761
|
+
class ModifyUserTypeResponse < TencentCloud::Common::AbstractModel
|
7762
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7763
|
+
# @type RequestId: String
|
7764
|
+
|
7765
|
+
attr_accessor :RequestId
|
7766
|
+
|
7767
|
+
def initialize(requestid=nil)
|
7768
|
+
@RequestId = requestid
|
7769
|
+
end
|
7770
|
+
|
7771
|
+
def deserialize(params)
|
7772
|
+
@RequestId = params['RequestId']
|
7773
|
+
end
|
7774
|
+
end
|
7775
|
+
|
7776
|
+
# ModifyWorkGroup请求参数结构体
|
7777
|
+
class ModifyWorkGroupRequest < TencentCloud::Common::AbstractModel
|
7778
|
+
# @param WorkGroupId: 工作组Id
|
7779
|
+
# @type WorkGroupId: Integer
|
7780
|
+
# @param WorkGroupDescription: 工作组描述,最大字符数限制50
|
7781
|
+
# @type WorkGroupDescription: String
|
7782
|
+
|
7783
|
+
attr_accessor :WorkGroupId, :WorkGroupDescription
|
7784
|
+
|
7785
|
+
def initialize(workgroupid=nil, workgroupdescription=nil)
|
7786
|
+
@WorkGroupId = workgroupid
|
7787
|
+
@WorkGroupDescription = workgroupdescription
|
7788
|
+
end
|
7789
|
+
|
7790
|
+
def deserialize(params)
|
7791
|
+
@WorkGroupId = params['WorkGroupId']
|
7792
|
+
@WorkGroupDescription = params['WorkGroupDescription']
|
7117
7793
|
end
|
7118
7794
|
end
|
7119
7795
|
|
@@ -7723,6 +8399,35 @@ module TencentCloud
|
|
7723
8399
|
end
|
7724
8400
|
end
|
7725
8401
|
|
8402
|
+
# 策略集合
|
8403
|
+
class Policys < TencentCloud::Common::AbstractModel
|
8404
|
+
# @param PolicySet: 策略集合
|
8405
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8406
|
+
# @type PolicySet: Array
|
8407
|
+
# @param TotalCount: 策略总数
|
8408
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8409
|
+
# @type TotalCount: Integer
|
8410
|
+
|
8411
|
+
attr_accessor :PolicySet, :TotalCount
|
8412
|
+
|
8413
|
+
def initialize(policyset=nil, totalcount=nil)
|
8414
|
+
@PolicySet = policyset
|
8415
|
+
@TotalCount = totalcount
|
8416
|
+
end
|
8417
|
+
|
8418
|
+
def deserialize(params)
|
8419
|
+
unless params['PolicySet'].nil?
|
8420
|
+
@PolicySet = []
|
8421
|
+
params['PolicySet'].each do |i|
|
8422
|
+
policy_tmp = Policy.new
|
8423
|
+
policy_tmp.deserialize(i)
|
8424
|
+
@PolicySet << policy_tmp
|
8425
|
+
end
|
8426
|
+
end
|
8427
|
+
@TotalCount = params['TotalCount']
|
8428
|
+
end
|
8429
|
+
end
|
8430
|
+
|
7726
8431
|
# Presto监控指标
|
7727
8432
|
class PrestoMonitorMetrics < TencentCloud::Common::AbstractModel
|
7728
8433
|
# @param LocalCacheHitRate: Alluxio本地缓存命中率
|
@@ -7765,6 +8470,43 @@ module TencentCloud
|
|
7765
8470
|
end
|
7766
8471
|
end
|
7767
8472
|
|
8473
|
+
# python-spark镜像信息。
|
8474
|
+
class PythonSparkImage < TencentCloud::Common::AbstractModel
|
8475
|
+
# @param SparkImageId: spark镜像唯一id
|
8476
|
+
# @type SparkImageId: String
|
8477
|
+
# @param ChildImageVersionId: 集群小版本镜像id
|
8478
|
+
# @type ChildImageVersionId: String
|
8479
|
+
# @param SparkImageVersion: spark镜像名称
|
8480
|
+
# @type SparkImageVersion: String
|
8481
|
+
# @param Description: spark镜像描述信息
|
8482
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8483
|
+
# @type Description: String
|
8484
|
+
# @param CreateTime: 创建时间
|
8485
|
+
# @type CreateTime: String
|
8486
|
+
# @param UpdateTime: 更新时间
|
8487
|
+
# @type UpdateTime: String
|
8488
|
+
|
8489
|
+
attr_accessor :SparkImageId, :ChildImageVersionId, :SparkImageVersion, :Description, :CreateTime, :UpdateTime
|
8490
|
+
|
8491
|
+
def initialize(sparkimageid=nil, childimageversionid=nil, sparkimageversion=nil, description=nil, createtime=nil, updatetime=nil)
|
8492
|
+
@SparkImageId = sparkimageid
|
8493
|
+
@ChildImageVersionId = childimageversionid
|
8494
|
+
@SparkImageVersion = sparkimageversion
|
8495
|
+
@Description = description
|
8496
|
+
@CreateTime = createtime
|
8497
|
+
@UpdateTime = updatetime
|
8498
|
+
end
|
8499
|
+
|
8500
|
+
def deserialize(params)
|
8501
|
+
@SparkImageId = params['SparkImageId']
|
8502
|
+
@ChildImageVersionId = params['ChildImageVersionId']
|
8503
|
+
@SparkImageVersion = params['SparkImageVersion']
|
8504
|
+
@Description = params['Description']
|
8505
|
+
@CreateTime = params['CreateTime']
|
8506
|
+
@UpdateTime = params['UpdateTime']
|
8507
|
+
end
|
8508
|
+
end
|
8509
|
+
|
7768
8510
|
# QueryResult请求参数结构体
|
7769
8511
|
class QueryResultRequest < TencentCloud::Common::AbstractModel
|
7770
8512
|
# @param TaskId: 任务ID
|
@@ -7825,6 +8567,54 @@ module TencentCloud
|
|
7825
8567
|
end
|
7826
8568
|
end
|
7827
8569
|
|
8570
|
+
# RenewDataEngine请求参数结构体
|
8571
|
+
class RenewDataEngineRequest < TencentCloud::Common::AbstractModel
|
8572
|
+
# @param DataEngineName: CU队列名称
|
8573
|
+
# @type DataEngineName: String
|
8574
|
+
# @param TimeSpan: 续费时长,单位月,最少续费1一个月
|
8575
|
+
# @type TimeSpan: Integer
|
8576
|
+
# @param PayMode: 付费类型,默认为1,预付费
|
8577
|
+
# @type PayMode: Integer
|
8578
|
+
# @param TimeUnit: 单位,默认m,仅能填m
|
8579
|
+
# @type TimeUnit: String
|
8580
|
+
# @param RenewFlag: 自动续费标志,0,初始状态,默认不自动续费,若用户有预付费不停服特权,自动续费。1:自动续费。2:明确不自动续费。不传该参数默认为0
|
8581
|
+
# @type RenewFlag: Integer
|
8582
|
+
|
8583
|
+
attr_accessor :DataEngineName, :TimeSpan, :PayMode, :TimeUnit, :RenewFlag
|
8584
|
+
|
8585
|
+
def initialize(dataenginename=nil, timespan=nil, paymode=nil, timeunit=nil, renewflag=nil)
|
8586
|
+
@DataEngineName = dataenginename
|
8587
|
+
@TimeSpan = timespan
|
8588
|
+
@PayMode = paymode
|
8589
|
+
@TimeUnit = timeunit
|
8590
|
+
@RenewFlag = renewflag
|
8591
|
+
end
|
8592
|
+
|
8593
|
+
def deserialize(params)
|
8594
|
+
@DataEngineName = params['DataEngineName']
|
8595
|
+
@TimeSpan = params['TimeSpan']
|
8596
|
+
@PayMode = params['PayMode']
|
8597
|
+
@TimeUnit = params['TimeUnit']
|
8598
|
+
@RenewFlag = params['RenewFlag']
|
8599
|
+
end
|
8600
|
+
end
|
8601
|
+
|
8602
|
+
# RenewDataEngine返回参数结构体
|
8603
|
+
class RenewDataEngineResponse < TencentCloud::Common::AbstractModel
|
8604
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8605
|
+
# @type RequestId: String
|
8606
|
+
|
8607
|
+
attr_accessor :RequestId
|
8608
|
+
|
8609
|
+
def initialize(requestid=nil)
|
8610
|
+
@RequestId = requestid
|
8611
|
+
end
|
8612
|
+
|
8613
|
+
def deserialize(params)
|
8614
|
+
@RequestId = params['RequestId']
|
8615
|
+
end
|
8616
|
+
end
|
8617
|
+
|
7828
8618
|
# ReportHeartbeatMetaData请求参数结构体
|
7829
8619
|
class ReportHeartbeatMetaDataRequest < TencentCloud::Common::AbstractModel
|
7830
8620
|
# @param DatasourceConnectionName: 数据源名称
|
@@ -7865,6 +8655,60 @@ module TencentCloud
|
|
7865
8655
|
end
|
7866
8656
|
end
|
7867
8657
|
|
8658
|
+
# RestartDataEngine请求参数结构体
|
8659
|
+
class RestartDataEngineRequest < TencentCloud::Common::AbstractModel
|
8660
|
+
|
8661
|
+
|
8662
|
+
def initialize()
|
8663
|
+
end
|
8664
|
+
|
8665
|
+
def deserialize(params)
|
8666
|
+
end
|
8667
|
+
end
|
8668
|
+
|
8669
|
+
# RestartDataEngine返回参数结构体
|
8670
|
+
class RestartDataEngineResponse < TencentCloud::Common::AbstractModel
|
8671
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8672
|
+
# @type RequestId: String
|
8673
|
+
|
8674
|
+
attr_accessor :RequestId
|
8675
|
+
|
8676
|
+
def initialize(requestid=nil)
|
8677
|
+
@RequestId = requestid
|
8678
|
+
end
|
8679
|
+
|
8680
|
+
def deserialize(params)
|
8681
|
+
@RequestId = params['RequestId']
|
8682
|
+
end
|
8683
|
+
end
|
8684
|
+
|
8685
|
+
# RollbackDataEngineImage请求参数结构体
|
8686
|
+
class RollbackDataEngineImageRequest < TencentCloud::Common::AbstractModel
|
8687
|
+
|
8688
|
+
|
8689
|
+
def initialize()
|
8690
|
+
end
|
8691
|
+
|
8692
|
+
def deserialize(params)
|
8693
|
+
end
|
8694
|
+
end
|
8695
|
+
|
8696
|
+
# RollbackDataEngineImage返回参数结构体
|
8697
|
+
class RollbackDataEngineImageResponse < TencentCloud::Common::AbstractModel
|
8698
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8699
|
+
# @type RequestId: String
|
8700
|
+
|
8701
|
+
attr_accessor :RequestId
|
8702
|
+
|
8703
|
+
def initialize(requestid=nil)
|
8704
|
+
@RequestId = requestid
|
8705
|
+
end
|
8706
|
+
|
8707
|
+
def deserialize(params)
|
8708
|
+
@RequestId = params['RequestId']
|
8709
|
+
end
|
8710
|
+
end
|
8711
|
+
|
7868
8712
|
# SQL查询任务
|
7869
8713
|
class SQLTask < TencentCloud::Common::AbstractModel
|
7870
8714
|
# @param SQL: base64加密后的SQL语句
|
@@ -8407,6 +9251,33 @@ module TencentCloud
|
|
8407
9251
|
end
|
8408
9252
|
end
|
8409
9253
|
|
9254
|
+
# SwitchDataEngineImage请求参数结构体
|
9255
|
+
class SwitchDataEngineImageRequest < TencentCloud::Common::AbstractModel
|
9256
|
+
|
9257
|
+
|
9258
|
+
def initialize()
|
9259
|
+
end
|
9260
|
+
|
9261
|
+
def deserialize(params)
|
9262
|
+
end
|
9263
|
+
end
|
9264
|
+
|
9265
|
+
# SwitchDataEngineImage返回参数结构体
|
9266
|
+
class SwitchDataEngineImageResponse < TencentCloud::Common::AbstractModel
|
9267
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9268
|
+
# @type RequestId: String
|
9269
|
+
|
9270
|
+
attr_accessor :RequestId
|
9271
|
+
|
9272
|
+
def initialize(requestid=nil)
|
9273
|
+
@RequestId = requestid
|
9274
|
+
end
|
9275
|
+
|
9276
|
+
def deserialize(params)
|
9277
|
+
@RequestId = params['RequestId']
|
9278
|
+
end
|
9279
|
+
end
|
9280
|
+
|
8410
9281
|
# SwitchDataEngine请求参数结构体
|
8411
9282
|
class SwitchDataEngineRequest < TencentCloud::Common::AbstractModel
|
8412
9283
|
# @param DataEngineName: 主集群名称
|
@@ -9243,6 +10114,127 @@ module TencentCloud
|
|
9243
10114
|
end
|
9244
10115
|
end
|
9245
10116
|
|
10117
|
+
# UpdateDataEngineConfig请求参数结构体
|
10118
|
+
class UpdateDataEngineConfigRequest < TencentCloud::Common::AbstractModel
|
10119
|
+
|
10120
|
+
|
10121
|
+
def initialize()
|
10122
|
+
end
|
10123
|
+
|
10124
|
+
def deserialize(params)
|
10125
|
+
end
|
10126
|
+
end
|
10127
|
+
|
10128
|
+
# UpdateDataEngineConfig返回参数结构体
|
10129
|
+
class UpdateDataEngineConfigResponse < TencentCloud::Common::AbstractModel
|
10130
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
10131
|
+
# @type RequestId: String
|
10132
|
+
|
10133
|
+
attr_accessor :RequestId
|
10134
|
+
|
10135
|
+
def initialize(requestid=nil)
|
10136
|
+
@RequestId = requestid
|
10137
|
+
end
|
10138
|
+
|
10139
|
+
def deserialize(params)
|
10140
|
+
@RequestId = params['RequestId']
|
10141
|
+
end
|
10142
|
+
end
|
10143
|
+
|
10144
|
+
# UpdateDataEngine请求参数结构体
|
10145
|
+
class UpdateDataEngineRequest < TencentCloud::Common::AbstractModel
|
10146
|
+
# @param Size: 资源大小
|
10147
|
+
# @type Size: Integer
|
10148
|
+
# @param MinClusters: 最小资源
|
10149
|
+
# @type MinClusters: Integer
|
10150
|
+
# @param MaxClusters: 最大资源
|
10151
|
+
# @type MaxClusters: Integer
|
10152
|
+
# @param AutoResume: 开启自动刷新:true:开启、false(默认):关闭
|
10153
|
+
# @type AutoResume: Boolean
|
10154
|
+
# @param DataEngineName: 数据引擎名称
|
10155
|
+
# @type DataEngineName: String
|
10156
|
+
# @param Message: 相关信息
|
10157
|
+
# @type Message: String
|
10158
|
+
# @param AutoSuspend: 是否自定挂起集群:false(默认):不自动挂起、true:自动挂起
|
10159
|
+
# @type AutoSuspend: Boolean
|
10160
|
+
# @param CrontabResumeSuspend: 定时启停集群策略:0(默认):关闭定时策略、1:开启定时策略(注:定时启停策略与自动挂起策略互斥)
|
10161
|
+
# @type CrontabResumeSuspend: Integer
|
10162
|
+
# @param CrontabResumeSuspendStrategy: 定时启停策略,复杂类型:包含启停时间、挂起集群策略
|
10163
|
+
# @type CrontabResumeSuspendStrategy: :class:`Tencentcloud::Dlc.v20210125.models.CrontabResumeSuspendStrategy`
|
10164
|
+
# @param MaxConcurrency: 单个集群最大并发任务数,默认5
|
10165
|
+
# @type MaxConcurrency: Integer
|
10166
|
+
# @param TolerableQueueTime: 可容忍的排队时间,默认0。当任务排队的时间超过可容忍的时间时可能会触发扩容。如果该参数为0,则表示一旦有任务排队就可能立即触发扩容。
|
10167
|
+
# @type TolerableQueueTime: Integer
|
10168
|
+
# @param AutoSuspendTime: 集群自动挂起时间
|
10169
|
+
# @type AutoSuspendTime: Integer
|
10170
|
+
# @param ElasticSwitch: spark jar 包年包月集群是否开启弹性
|
10171
|
+
# @type ElasticSwitch: Boolean
|
10172
|
+
# @param ElasticLimit: spark jar 包年包月集群弹性上限
|
10173
|
+
# @type ElasticLimit: Integer
|
10174
|
+
# @param SessionResourceTemplate: Spark批作业集群Session资源配置模板
|
10175
|
+
# @type SessionResourceTemplate: :class:`Tencentcloud::Dlc.v20210125.models.SessionResourceTemplate`
|
10176
|
+
|
10177
|
+
attr_accessor :Size, :MinClusters, :MaxClusters, :AutoResume, :DataEngineName, :Message, :AutoSuspend, :CrontabResumeSuspend, :CrontabResumeSuspendStrategy, :MaxConcurrency, :TolerableQueueTime, :AutoSuspendTime, :ElasticSwitch, :ElasticLimit, :SessionResourceTemplate
|
10178
|
+
|
10179
|
+
def initialize(size=nil, minclusters=nil, maxclusters=nil, autoresume=nil, dataenginename=nil, message=nil, autosuspend=nil, crontabresumesuspend=nil, crontabresumesuspendstrategy=nil, maxconcurrency=nil, tolerablequeuetime=nil, autosuspendtime=nil, elasticswitch=nil, elasticlimit=nil, sessionresourcetemplate=nil)
|
10180
|
+
@Size = size
|
10181
|
+
@MinClusters = minclusters
|
10182
|
+
@MaxClusters = maxclusters
|
10183
|
+
@AutoResume = autoresume
|
10184
|
+
@DataEngineName = dataenginename
|
10185
|
+
@Message = message
|
10186
|
+
@AutoSuspend = autosuspend
|
10187
|
+
@CrontabResumeSuspend = crontabresumesuspend
|
10188
|
+
@CrontabResumeSuspendStrategy = crontabresumesuspendstrategy
|
10189
|
+
@MaxConcurrency = maxconcurrency
|
10190
|
+
@TolerableQueueTime = tolerablequeuetime
|
10191
|
+
@AutoSuspendTime = autosuspendtime
|
10192
|
+
@ElasticSwitch = elasticswitch
|
10193
|
+
@ElasticLimit = elasticlimit
|
10194
|
+
@SessionResourceTemplate = sessionresourcetemplate
|
10195
|
+
end
|
10196
|
+
|
10197
|
+
def deserialize(params)
|
10198
|
+
@Size = params['Size']
|
10199
|
+
@MinClusters = params['MinClusters']
|
10200
|
+
@MaxClusters = params['MaxClusters']
|
10201
|
+
@AutoResume = params['AutoResume']
|
10202
|
+
@DataEngineName = params['DataEngineName']
|
10203
|
+
@Message = params['Message']
|
10204
|
+
@AutoSuspend = params['AutoSuspend']
|
10205
|
+
@CrontabResumeSuspend = params['CrontabResumeSuspend']
|
10206
|
+
unless params['CrontabResumeSuspendStrategy'].nil?
|
10207
|
+
@CrontabResumeSuspendStrategy = CrontabResumeSuspendStrategy.new
|
10208
|
+
@CrontabResumeSuspendStrategy.deserialize(params['CrontabResumeSuspendStrategy'])
|
10209
|
+
end
|
10210
|
+
@MaxConcurrency = params['MaxConcurrency']
|
10211
|
+
@TolerableQueueTime = params['TolerableQueueTime']
|
10212
|
+
@AutoSuspendTime = params['AutoSuspendTime']
|
10213
|
+
@ElasticSwitch = params['ElasticSwitch']
|
10214
|
+
@ElasticLimit = params['ElasticLimit']
|
10215
|
+
unless params['SessionResourceTemplate'].nil?
|
10216
|
+
@SessionResourceTemplate = SessionResourceTemplate.new
|
10217
|
+
@SessionResourceTemplate.deserialize(params['SessionResourceTemplate'])
|
10218
|
+
end
|
10219
|
+
end
|
10220
|
+
end
|
10221
|
+
|
10222
|
+
# UpdateDataEngine返回参数结构体
|
10223
|
+
class UpdateDataEngineResponse < TencentCloud::Common::AbstractModel
|
10224
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
10225
|
+
# @type RequestId: String
|
10226
|
+
|
10227
|
+
attr_accessor :RequestId
|
10228
|
+
|
10229
|
+
def initialize(requestid=nil)
|
10230
|
+
@RequestId = requestid
|
10231
|
+
end
|
10232
|
+
|
10233
|
+
def deserialize(params)
|
10234
|
+
@RequestId = params['RequestId']
|
10235
|
+
end
|
10236
|
+
end
|
10237
|
+
|
9246
10238
|
# UpdateRowFilter请求参数结构体
|
9247
10239
|
class UpdateRowFilterRequest < TencentCloud::Common::AbstractModel
|
9248
10240
|
# @param PolicyId: 行过滤策略的id,此值可以通过DescribeUserInfo或者DescribeWorkGroupInfo接口获取
|
@@ -9282,6 +10274,129 @@ module TencentCloud
|
|
9282
10274
|
end
|
9283
10275
|
end
|
9284
10276
|
|
10277
|
+
# UpdateUserDataEngineConfig请求参数结构体
|
10278
|
+
class UpdateUserDataEngineConfigRequest < TencentCloud::Common::AbstractModel
|
10279
|
+
|
10280
|
+
|
10281
|
+
def initialize()
|
10282
|
+
end
|
10283
|
+
|
10284
|
+
def deserialize(params)
|
10285
|
+
end
|
10286
|
+
end
|
10287
|
+
|
10288
|
+
# UpdateUserDataEngineConfig返回参数结构体
|
10289
|
+
class UpdateUserDataEngineConfigResponse < TencentCloud::Common::AbstractModel
|
10290
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
10291
|
+
# @type RequestId: String
|
10292
|
+
|
10293
|
+
attr_accessor :RequestId
|
10294
|
+
|
10295
|
+
def initialize(requestid=nil)
|
10296
|
+
@RequestId = requestid
|
10297
|
+
end
|
10298
|
+
|
10299
|
+
def deserialize(params)
|
10300
|
+
@RequestId = params['RequestId']
|
10301
|
+
end
|
10302
|
+
end
|
10303
|
+
|
10304
|
+
# UpgradeDataEngineImage请求参数结构体
|
10305
|
+
class UpgradeDataEngineImageRequest < TencentCloud::Common::AbstractModel
|
10306
|
+
|
10307
|
+
|
10308
|
+
def initialize()
|
10309
|
+
end
|
10310
|
+
|
10311
|
+
def deserialize(params)
|
10312
|
+
end
|
10313
|
+
end
|
10314
|
+
|
10315
|
+
# UpgradeDataEngineImage返回参数结构体
|
10316
|
+
class UpgradeDataEngineImageResponse < TencentCloud::Common::AbstractModel
|
10317
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
10318
|
+
# @type RequestId: String
|
10319
|
+
|
10320
|
+
attr_accessor :RequestId
|
10321
|
+
|
10322
|
+
def initialize(requestid=nil)
|
10323
|
+
@RequestId = requestid
|
10324
|
+
end
|
10325
|
+
|
10326
|
+
def deserialize(params)
|
10327
|
+
@RequestId = params['RequestId']
|
10328
|
+
end
|
10329
|
+
end
|
10330
|
+
|
10331
|
+
# 用户详细信息
|
10332
|
+
class UserDetailInfo < TencentCloud::Common::AbstractModel
|
10333
|
+
# @param UserId: 用户Id
|
10334
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10335
|
+
# @type UserId: String
|
10336
|
+
# @param Type: 返回的信息类型,Group:返回的当前用户的工作组信息;DataAuth:返回的当前用户的数据权限信息;EngineAuth:返回的当前用户的引擎权限信息
|
10337
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10338
|
+
# @type Type: String
|
10339
|
+
# @param UserType: 用户类型:ADMIN:管理员 COMMON:一般用户
|
10340
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10341
|
+
# @type UserType: String
|
10342
|
+
# @param UserDescription: 用户描述信息
|
10343
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10344
|
+
# @type UserDescription: String
|
10345
|
+
# @param DataPolicyInfo: 数据权限信息集合
|
10346
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10347
|
+
# @type DataPolicyInfo: :class:`Tencentcloud::Dlc.v20210125.models.Policys`
|
10348
|
+
# @param EnginePolicyInfo: 引擎权限集合
|
10349
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10350
|
+
# @type EnginePolicyInfo: :class:`Tencentcloud::Dlc.v20210125.models.Policys`
|
10351
|
+
# @param WorkGroupInfo: 绑定到该用户的工作组集合信息
|
10352
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10353
|
+
# @type WorkGroupInfo: :class:`Tencentcloud::Dlc.v20210125.models.WorkGroups`
|
10354
|
+
# @param UserAlias: 用户别名
|
10355
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10356
|
+
# @type UserAlias: String
|
10357
|
+
# @param RowFilterInfo: 行过滤集合
|
10358
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10359
|
+
# @type RowFilterInfo: :class:`Tencentcloud::Dlc.v20210125.models.Policys`
|
10360
|
+
|
10361
|
+
attr_accessor :UserId, :Type, :UserType, :UserDescription, :DataPolicyInfo, :EnginePolicyInfo, :WorkGroupInfo, :UserAlias, :RowFilterInfo
|
10362
|
+
|
10363
|
+
def initialize(userid=nil, type=nil, usertype=nil, userdescription=nil, datapolicyinfo=nil, enginepolicyinfo=nil, workgroupinfo=nil, useralias=nil, rowfilterinfo=nil)
|
10364
|
+
@UserId = userid
|
10365
|
+
@Type = type
|
10366
|
+
@UserType = usertype
|
10367
|
+
@UserDescription = userdescription
|
10368
|
+
@DataPolicyInfo = datapolicyinfo
|
10369
|
+
@EnginePolicyInfo = enginepolicyinfo
|
10370
|
+
@WorkGroupInfo = workgroupinfo
|
10371
|
+
@UserAlias = useralias
|
10372
|
+
@RowFilterInfo = rowfilterinfo
|
10373
|
+
end
|
10374
|
+
|
10375
|
+
def deserialize(params)
|
10376
|
+
@UserId = params['UserId']
|
10377
|
+
@Type = params['Type']
|
10378
|
+
@UserType = params['UserType']
|
10379
|
+
@UserDescription = params['UserDescription']
|
10380
|
+
unless params['DataPolicyInfo'].nil?
|
10381
|
+
@DataPolicyInfo = Policys.new
|
10382
|
+
@DataPolicyInfo.deserialize(params['DataPolicyInfo'])
|
10383
|
+
end
|
10384
|
+
unless params['EnginePolicyInfo'].nil?
|
10385
|
+
@EnginePolicyInfo = Policys.new
|
10386
|
+
@EnginePolicyInfo.deserialize(params['EnginePolicyInfo'])
|
10387
|
+
end
|
10388
|
+
unless params['WorkGroupInfo'].nil?
|
10389
|
+
@WorkGroupInfo = WorkGroups.new
|
10390
|
+
@WorkGroupInfo.deserialize(params['WorkGroupInfo'])
|
10391
|
+
end
|
10392
|
+
@UserAlias = params['UserAlias']
|
10393
|
+
unless params['RowFilterInfo'].nil?
|
10394
|
+
@RowFilterInfo = Policys.new
|
10395
|
+
@RowFilterInfo.deserialize(params['RowFilterInfo'])
|
10396
|
+
end
|
10397
|
+
end
|
10398
|
+
end
|
10399
|
+
|
9285
10400
|
# 绑定到同一个工作组的用户Id的集合
|
9286
10401
|
class UserIdSetOfWorkGroupId < TencentCloud::Common::AbstractModel
|
9287
10402
|
# @param WorkGroupId: 工作组Id
|
@@ -9466,6 +10581,35 @@ module TencentCloud
|
|
9466
10581
|
end
|
9467
10582
|
end
|
9468
10583
|
|
10584
|
+
# 用户信息集合
|
10585
|
+
class Users < TencentCloud::Common::AbstractModel
|
10586
|
+
# @param UserSet: 用户信息集合
|
10587
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10588
|
+
# @type UserSet: Array
|
10589
|
+
# @param TotalCount: 用户总数
|
10590
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10591
|
+
# @type TotalCount: Integer
|
10592
|
+
|
10593
|
+
attr_accessor :UserSet, :TotalCount
|
10594
|
+
|
10595
|
+
def initialize(userset=nil, totalcount=nil)
|
10596
|
+
@UserSet = userset
|
10597
|
+
@TotalCount = totalcount
|
10598
|
+
end
|
10599
|
+
|
10600
|
+
def deserialize(params)
|
10601
|
+
unless params['UserSet'].nil?
|
10602
|
+
@UserSet = []
|
10603
|
+
params['UserSet'].each do |i|
|
10604
|
+
usermessage_tmp = UserMessage.new
|
10605
|
+
usermessage_tmp.deserialize(i)
|
10606
|
+
@UserSet << usermessage_tmp
|
10607
|
+
end
|
10608
|
+
end
|
10609
|
+
@TotalCount = params['TotalCount']
|
10610
|
+
end
|
10611
|
+
end
|
10612
|
+
|
9469
10613
|
# 视图基本配置信息
|
9470
10614
|
class ViewBaseInfo < TencentCloud::Common::AbstractModel
|
9471
10615
|
# @param DatabaseName: 该视图所属数据库名字
|
@@ -9545,6 +10689,70 @@ module TencentCloud
|
|
9545
10689
|
end
|
9546
10690
|
end
|
9547
10691
|
|
10692
|
+
# 工作组详细信息
|
10693
|
+
class WorkGroupDetailInfo < TencentCloud::Common::AbstractModel
|
10694
|
+
# @param WorkGroupId: 工作组Id
|
10695
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10696
|
+
# @type WorkGroupId: Integer
|
10697
|
+
# @param WorkGroupName: 工作组名称
|
10698
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10699
|
+
# @type WorkGroupName: String
|
10700
|
+
# @param Type: 包含的信息类型。User:用户信息;DataAuth:数据权限;EngineAuth:引擎权限
|
10701
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10702
|
+
# @type Type: String
|
10703
|
+
# @param UserInfo: 工作组上绑定的用户集合
|
10704
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10705
|
+
# @type UserInfo: :class:`Tencentcloud::Dlc.v20210125.models.Users`
|
10706
|
+
# @param DataPolicyInfo: 数据权限集合
|
10707
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10708
|
+
# @type DataPolicyInfo: :class:`Tencentcloud::Dlc.v20210125.models.Policys`
|
10709
|
+
# @param EnginePolicyInfo: 引擎权限集合
|
10710
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10711
|
+
# @type EnginePolicyInfo: :class:`Tencentcloud::Dlc.v20210125.models.Policys`
|
10712
|
+
# @param WorkGroupDescription: 工作组描述信息
|
10713
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10714
|
+
# @type WorkGroupDescription: String
|
10715
|
+
# @param RowFilterInfo: 行过滤信息集合
|
10716
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10717
|
+
# @type RowFilterInfo: :class:`Tencentcloud::Dlc.v20210125.models.Policys`
|
10718
|
+
|
10719
|
+
attr_accessor :WorkGroupId, :WorkGroupName, :Type, :UserInfo, :DataPolicyInfo, :EnginePolicyInfo, :WorkGroupDescription, :RowFilterInfo
|
10720
|
+
|
10721
|
+
def initialize(workgroupid=nil, workgroupname=nil, type=nil, userinfo=nil, datapolicyinfo=nil, enginepolicyinfo=nil, workgroupdescription=nil, rowfilterinfo=nil)
|
10722
|
+
@WorkGroupId = workgroupid
|
10723
|
+
@WorkGroupName = workgroupname
|
10724
|
+
@Type = type
|
10725
|
+
@UserInfo = userinfo
|
10726
|
+
@DataPolicyInfo = datapolicyinfo
|
10727
|
+
@EnginePolicyInfo = enginepolicyinfo
|
10728
|
+
@WorkGroupDescription = workgroupdescription
|
10729
|
+
@RowFilterInfo = rowfilterinfo
|
10730
|
+
end
|
10731
|
+
|
10732
|
+
def deserialize(params)
|
10733
|
+
@WorkGroupId = params['WorkGroupId']
|
10734
|
+
@WorkGroupName = params['WorkGroupName']
|
10735
|
+
@Type = params['Type']
|
10736
|
+
unless params['UserInfo'].nil?
|
10737
|
+
@UserInfo = Users.new
|
10738
|
+
@UserInfo.deserialize(params['UserInfo'])
|
10739
|
+
end
|
10740
|
+
unless params['DataPolicyInfo'].nil?
|
10741
|
+
@DataPolicyInfo = Policys.new
|
10742
|
+
@DataPolicyInfo.deserialize(params['DataPolicyInfo'])
|
10743
|
+
end
|
10744
|
+
unless params['EnginePolicyInfo'].nil?
|
10745
|
+
@EnginePolicyInfo = Policys.new
|
10746
|
+
@EnginePolicyInfo.deserialize(params['EnginePolicyInfo'])
|
10747
|
+
end
|
10748
|
+
@WorkGroupDescription = params['WorkGroupDescription']
|
10749
|
+
unless params['RowFilterInfo'].nil?
|
10750
|
+
@RowFilterInfo = Policys.new
|
10751
|
+
@RowFilterInfo.deserialize(params['RowFilterInfo'])
|
10752
|
+
end
|
10753
|
+
end
|
10754
|
+
end
|
10755
|
+
|
9548
10756
|
# 同一个用户绑定的工作组集合
|
9549
10757
|
class WorkGroupIdSetOfUserId < TencentCloud::Common::AbstractModel
|
9550
10758
|
# @param UserId: 用户Id,和CAM侧Uin匹配
|
@@ -9659,6 +10867,35 @@ module TencentCloud
|
|
9659
10867
|
end
|
9660
10868
|
end
|
9661
10869
|
|
10870
|
+
# 工作组集合
|
10871
|
+
class WorkGroups < TencentCloud::Common::AbstractModel
|
10872
|
+
# @param WorkGroupSet: 工作组信息集合
|
10873
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10874
|
+
# @type WorkGroupSet: Array
|
10875
|
+
# @param TotalCount: 工作组总数
|
10876
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10877
|
+
# @type TotalCount: Integer
|
10878
|
+
|
10879
|
+
attr_accessor :WorkGroupSet, :TotalCount
|
10880
|
+
|
10881
|
+
def initialize(workgroupset=nil, totalcount=nil)
|
10882
|
+
@WorkGroupSet = workgroupset
|
10883
|
+
@TotalCount = totalcount
|
10884
|
+
end
|
10885
|
+
|
10886
|
+
def deserialize(params)
|
10887
|
+
unless params['WorkGroupSet'].nil?
|
10888
|
+
@WorkGroupSet = []
|
10889
|
+
params['WorkGroupSet'].each do |i|
|
10890
|
+
workgroupmessage_tmp = WorkGroupMessage.new
|
10891
|
+
workgroupmessage_tmp.deserialize(i)
|
10892
|
+
@WorkGroupSet << workgroupmessage_tmp
|
10893
|
+
end
|
10894
|
+
end
|
10895
|
+
@TotalCount = params['TotalCount']
|
10896
|
+
end
|
10897
|
+
end
|
10898
|
+
|
9662
10899
|
end
|
9663
10900
|
end
|
9664
10901
|
end
|