tencentcloud-sdk-python-emr 3.0.1237__py2.py3-none-any.whl → 3.0.1251__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/errorcodes.py +1 -1
- tencentcloud/emr/v20190103/models.py +468 -96
- {tencentcloud_sdk_python_emr-3.0.1237.dist-info → tencentcloud_sdk_python_emr-3.0.1251.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_emr-3.0.1251.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_emr-3.0.1237.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_emr-3.0.1237.dist-info → tencentcloud_sdk_python_emr-3.0.1251.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_emr-3.0.1237.dist-info → tencentcloud_sdk_python_emr-3.0.1251.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -397,6 +397,29 @@ class EmrClient(AbstractClient):
|
|
|
397
397
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
398
398
|
|
|
399
399
|
|
|
400
|
+
def DescribeGlobalConfig(self, request):
|
|
401
|
+
"""查询YARN资源调度的全局配置
|
|
402
|
+
|
|
403
|
+
:param request: Request instance for DescribeGlobalConfig.
|
|
404
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.DescribeGlobalConfigRequest`
|
|
405
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.DescribeGlobalConfigResponse`
|
|
406
|
+
|
|
407
|
+
"""
|
|
408
|
+
try:
|
|
409
|
+
params = request._serialize()
|
|
410
|
+
headers = request.headers
|
|
411
|
+
body = self.call("DescribeGlobalConfig", params, headers=headers)
|
|
412
|
+
response = json.loads(body)
|
|
413
|
+
model = models.DescribeGlobalConfigResponse()
|
|
414
|
+
model._deserialize(response["Response"])
|
|
415
|
+
return model
|
|
416
|
+
except Exception as e:
|
|
417
|
+
if isinstance(e, TencentCloudSDKException):
|
|
418
|
+
raise
|
|
419
|
+
else:
|
|
420
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
421
|
+
|
|
422
|
+
|
|
400
423
|
def DescribeHBaseTableOverview(self, request):
|
|
401
424
|
"""获取Hbase表级监控数据概览接口
|
|
402
425
|
|
|
@@ -974,6 +997,29 @@ class EmrClient(AbstractClient):
|
|
|
974
997
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
975
998
|
|
|
976
999
|
|
|
1000
|
+
def ModifyGlobalConfig(self, request):
|
|
1001
|
+
"""修改YARN资源调度的全局配置
|
|
1002
|
+
|
|
1003
|
+
:param request: Request instance for ModifyGlobalConfig.
|
|
1004
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.ModifyGlobalConfigRequest`
|
|
1005
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.ModifyGlobalConfigResponse`
|
|
1006
|
+
|
|
1007
|
+
"""
|
|
1008
|
+
try:
|
|
1009
|
+
params = request._serialize()
|
|
1010
|
+
headers = request.headers
|
|
1011
|
+
body = self.call("ModifyGlobalConfig", params, headers=headers)
|
|
1012
|
+
response = json.loads(body)
|
|
1013
|
+
model = models.ModifyGlobalConfigResponse()
|
|
1014
|
+
model._deserialize(response["Response"])
|
|
1015
|
+
return model
|
|
1016
|
+
except Exception as e:
|
|
1017
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1018
|
+
raise
|
|
1019
|
+
else:
|
|
1020
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1021
|
+
|
|
1022
|
+
|
|
977
1023
|
def ModifyResourcePools(self, request):
|
|
978
1024
|
"""刷新YARN的动态资源池。已废弃,请使用`DeployYarnConf`
|
|
979
1025
|
|
|
@@ -374,7 +374,7 @@ INVALIDPARAMETER_INVALIDTIMEUNIT = 'InvalidParameter.InvalidTimeUnit'
|
|
|
374
374
|
# 无效的Tke集群ID,或Tke集群不符合条件。
|
|
375
375
|
INVALIDPARAMETER_INVALIDTKEINSTANCE = 'InvalidParameter.InvalidTkeInstance'
|
|
376
376
|
|
|
377
|
-
#
|
|
377
|
+
# 父账号uin参数输入异常。
|
|
378
378
|
INVALIDPARAMETER_INVALIDUINNUM = 'InvalidParameter.InvalidUinNum'
|
|
379
379
|
|
|
380
380
|
# 无效的统一元数据库。
|
|
@@ -1063,6 +1063,83 @@ class COSSettings(AbstractModel):
|
|
|
1063
1063
|
|
|
1064
1064
|
|
|
1065
1065
|
|
|
1066
|
+
class CapacityGlobalConfig(AbstractModel):
|
|
1067
|
+
"""资源调度-容量调度器的全局设置
|
|
1068
|
+
|
|
1069
|
+
"""
|
|
1070
|
+
|
|
1071
|
+
def __init__(self):
|
|
1072
|
+
r"""
|
|
1073
|
+
:param _EnableLabel: 是否开启了标签调度
|
|
1074
|
+
:type EnableLabel: bool
|
|
1075
|
+
:param _LabelDir: 如果开启了标签调度,标签信息存放的路径
|
|
1076
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1077
|
+
:type LabelDir: str
|
|
1078
|
+
:param _QueueMappingOverride: 是否覆盖用户指定队列,为true表示覆盖。
|
|
1079
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1080
|
+
:type QueueMappingOverride: bool
|
|
1081
|
+
:param _DefaultSettings: 高级设置
|
|
1082
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1083
|
+
:type DefaultSettings: list of DefaultSetting
|
|
1084
|
+
"""
|
|
1085
|
+
self._EnableLabel = None
|
|
1086
|
+
self._LabelDir = None
|
|
1087
|
+
self._QueueMappingOverride = None
|
|
1088
|
+
self._DefaultSettings = None
|
|
1089
|
+
|
|
1090
|
+
@property
|
|
1091
|
+
def EnableLabel(self):
|
|
1092
|
+
return self._EnableLabel
|
|
1093
|
+
|
|
1094
|
+
@EnableLabel.setter
|
|
1095
|
+
def EnableLabel(self, EnableLabel):
|
|
1096
|
+
self._EnableLabel = EnableLabel
|
|
1097
|
+
|
|
1098
|
+
@property
|
|
1099
|
+
def LabelDir(self):
|
|
1100
|
+
return self._LabelDir
|
|
1101
|
+
|
|
1102
|
+
@LabelDir.setter
|
|
1103
|
+
def LabelDir(self, LabelDir):
|
|
1104
|
+
self._LabelDir = LabelDir
|
|
1105
|
+
|
|
1106
|
+
@property
|
|
1107
|
+
def QueueMappingOverride(self):
|
|
1108
|
+
return self._QueueMappingOverride
|
|
1109
|
+
|
|
1110
|
+
@QueueMappingOverride.setter
|
|
1111
|
+
def QueueMappingOverride(self, QueueMappingOverride):
|
|
1112
|
+
self._QueueMappingOverride = QueueMappingOverride
|
|
1113
|
+
|
|
1114
|
+
@property
|
|
1115
|
+
def DefaultSettings(self):
|
|
1116
|
+
return self._DefaultSettings
|
|
1117
|
+
|
|
1118
|
+
@DefaultSettings.setter
|
|
1119
|
+
def DefaultSettings(self, DefaultSettings):
|
|
1120
|
+
self._DefaultSettings = DefaultSettings
|
|
1121
|
+
|
|
1122
|
+
|
|
1123
|
+
def _deserialize(self, params):
|
|
1124
|
+
self._EnableLabel = params.get("EnableLabel")
|
|
1125
|
+
self._LabelDir = params.get("LabelDir")
|
|
1126
|
+
self._QueueMappingOverride = params.get("QueueMappingOverride")
|
|
1127
|
+
if params.get("DefaultSettings") is not None:
|
|
1128
|
+
self._DefaultSettings = []
|
|
1129
|
+
for item in params.get("DefaultSettings"):
|
|
1130
|
+
obj = DefaultSetting()
|
|
1131
|
+
obj._deserialize(item)
|
|
1132
|
+
self._DefaultSettings.append(obj)
|
|
1133
|
+
memeber_set = set(params.keys())
|
|
1134
|
+
for name, value in vars(self).items():
|
|
1135
|
+
property_name = name[1:]
|
|
1136
|
+
if property_name in memeber_set:
|
|
1137
|
+
memeber_set.remove(property_name)
|
|
1138
|
+
if len(memeber_set) > 0:
|
|
1139
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
|
|
1066
1143
|
class CdbInfo(AbstractModel):
|
|
1067
1144
|
"""出参
|
|
1068
1145
|
|
|
@@ -3866,6 +3943,88 @@ class DayRepeatStrategy(AbstractModel):
|
|
|
3866
3943
|
|
|
3867
3944
|
|
|
3868
3945
|
|
|
3946
|
+
class DefaultSetting(AbstractModel):
|
|
3947
|
+
"""资源调度的默认设置
|
|
3948
|
+
|
|
3949
|
+
"""
|
|
3950
|
+
|
|
3951
|
+
def __init__(self):
|
|
3952
|
+
r"""
|
|
3953
|
+
:param _Name: 名称,作为入参的key
|
|
3954
|
+
:type Name: str
|
|
3955
|
+
:param _Desc: 描述
|
|
3956
|
+
:type Desc: str
|
|
3957
|
+
:param _Prompt: 提示
|
|
3958
|
+
:type Prompt: str
|
|
3959
|
+
:param _Key: key,用于展示,该配置对应与配置文件中的配置项
|
|
3960
|
+
:type Key: str
|
|
3961
|
+
:param _Value: Name对应的值
|
|
3962
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3963
|
+
:type Value: str
|
|
3964
|
+
"""
|
|
3965
|
+
self._Name = None
|
|
3966
|
+
self._Desc = None
|
|
3967
|
+
self._Prompt = None
|
|
3968
|
+
self._Key = None
|
|
3969
|
+
self._Value = None
|
|
3970
|
+
|
|
3971
|
+
@property
|
|
3972
|
+
def Name(self):
|
|
3973
|
+
return self._Name
|
|
3974
|
+
|
|
3975
|
+
@Name.setter
|
|
3976
|
+
def Name(self, Name):
|
|
3977
|
+
self._Name = Name
|
|
3978
|
+
|
|
3979
|
+
@property
|
|
3980
|
+
def Desc(self):
|
|
3981
|
+
return self._Desc
|
|
3982
|
+
|
|
3983
|
+
@Desc.setter
|
|
3984
|
+
def Desc(self, Desc):
|
|
3985
|
+
self._Desc = Desc
|
|
3986
|
+
|
|
3987
|
+
@property
|
|
3988
|
+
def Prompt(self):
|
|
3989
|
+
return self._Prompt
|
|
3990
|
+
|
|
3991
|
+
@Prompt.setter
|
|
3992
|
+
def Prompt(self, Prompt):
|
|
3993
|
+
self._Prompt = Prompt
|
|
3994
|
+
|
|
3995
|
+
@property
|
|
3996
|
+
def Key(self):
|
|
3997
|
+
return self._Key
|
|
3998
|
+
|
|
3999
|
+
@Key.setter
|
|
4000
|
+
def Key(self, Key):
|
|
4001
|
+
self._Key = Key
|
|
4002
|
+
|
|
4003
|
+
@property
|
|
4004
|
+
def Value(self):
|
|
4005
|
+
return self._Value
|
|
4006
|
+
|
|
4007
|
+
@Value.setter
|
|
4008
|
+
def Value(self, Value):
|
|
4009
|
+
self._Value = Value
|
|
4010
|
+
|
|
4011
|
+
|
|
4012
|
+
def _deserialize(self, params):
|
|
4013
|
+
self._Name = params.get("Name")
|
|
4014
|
+
self._Desc = params.get("Desc")
|
|
4015
|
+
self._Prompt = params.get("Prompt")
|
|
4016
|
+
self._Key = params.get("Key")
|
|
4017
|
+
self._Value = params.get("Value")
|
|
4018
|
+
memeber_set = set(params.keys())
|
|
4019
|
+
for name, value in vars(self).items():
|
|
4020
|
+
property_name = name[1:]
|
|
4021
|
+
if property_name in memeber_set:
|
|
4022
|
+
memeber_set.remove(property_name)
|
|
4023
|
+
if len(memeber_set) > 0:
|
|
4024
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4025
|
+
|
|
4026
|
+
|
|
4027
|
+
|
|
3869
4028
|
class DeleteAutoScaleStrategyRequest(AbstractModel):
|
|
3870
4029
|
"""DeleteAutoScaleStrategy请求参数结构体
|
|
3871
4030
|
|
|
@@ -5447,6 +5606,130 @@ class DescribeEmrOverviewMetricsResponse(AbstractModel):
|
|
|
5447
5606
|
self._RequestId = params.get("RequestId")
|
|
5448
5607
|
|
|
5449
5608
|
|
|
5609
|
+
class DescribeGlobalConfigRequest(AbstractModel):
|
|
5610
|
+
"""DescribeGlobalConfig请求参数结构体
|
|
5611
|
+
|
|
5612
|
+
"""
|
|
5613
|
+
|
|
5614
|
+
def __init__(self):
|
|
5615
|
+
r"""
|
|
5616
|
+
:param _InstanceId: emr集群的英文id
|
|
5617
|
+
:type InstanceId: str
|
|
5618
|
+
"""
|
|
5619
|
+
self._InstanceId = None
|
|
5620
|
+
|
|
5621
|
+
@property
|
|
5622
|
+
def InstanceId(self):
|
|
5623
|
+
return self._InstanceId
|
|
5624
|
+
|
|
5625
|
+
@InstanceId.setter
|
|
5626
|
+
def InstanceId(self, InstanceId):
|
|
5627
|
+
self._InstanceId = InstanceId
|
|
5628
|
+
|
|
5629
|
+
|
|
5630
|
+
def _deserialize(self, params):
|
|
5631
|
+
self._InstanceId = params.get("InstanceId")
|
|
5632
|
+
memeber_set = set(params.keys())
|
|
5633
|
+
for name, value in vars(self).items():
|
|
5634
|
+
property_name = name[1:]
|
|
5635
|
+
if property_name in memeber_set:
|
|
5636
|
+
memeber_set.remove(property_name)
|
|
5637
|
+
if len(memeber_set) > 0:
|
|
5638
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5639
|
+
|
|
5640
|
+
|
|
5641
|
+
|
|
5642
|
+
class DescribeGlobalConfigResponse(AbstractModel):
|
|
5643
|
+
"""DescribeGlobalConfig返回参数结构体
|
|
5644
|
+
|
|
5645
|
+
"""
|
|
5646
|
+
|
|
5647
|
+
def __init__(self):
|
|
5648
|
+
r"""
|
|
5649
|
+
:param _EnableResourceSchedule: 是否开启了资源调度功能
|
|
5650
|
+
:type EnableResourceSchedule: bool
|
|
5651
|
+
:param _ActiveScheduler: 当前生效的资源调度器
|
|
5652
|
+
:type ActiveScheduler: str
|
|
5653
|
+
:param _CapacityGlobalConfig: 公平调度器的信息
|
|
5654
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5655
|
+
:type CapacityGlobalConfig: :class:`tencentcloud.emr.v20190103.models.CapacityGlobalConfig`
|
|
5656
|
+
:param _FairGlobalConfig: 容量调度器的信息
|
|
5657
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5658
|
+
:type FairGlobalConfig: :class:`tencentcloud.emr.v20190103.models.FairGlobalConfig`
|
|
5659
|
+
:param _Scheduler: 最新的资源调度器
|
|
5660
|
+
:type Scheduler: str
|
|
5661
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5662
|
+
:type RequestId: str
|
|
5663
|
+
"""
|
|
5664
|
+
self._EnableResourceSchedule = None
|
|
5665
|
+
self._ActiveScheduler = None
|
|
5666
|
+
self._CapacityGlobalConfig = None
|
|
5667
|
+
self._FairGlobalConfig = None
|
|
5668
|
+
self._Scheduler = None
|
|
5669
|
+
self._RequestId = None
|
|
5670
|
+
|
|
5671
|
+
@property
|
|
5672
|
+
def EnableResourceSchedule(self):
|
|
5673
|
+
return self._EnableResourceSchedule
|
|
5674
|
+
|
|
5675
|
+
@EnableResourceSchedule.setter
|
|
5676
|
+
def EnableResourceSchedule(self, EnableResourceSchedule):
|
|
5677
|
+
self._EnableResourceSchedule = EnableResourceSchedule
|
|
5678
|
+
|
|
5679
|
+
@property
|
|
5680
|
+
def ActiveScheduler(self):
|
|
5681
|
+
return self._ActiveScheduler
|
|
5682
|
+
|
|
5683
|
+
@ActiveScheduler.setter
|
|
5684
|
+
def ActiveScheduler(self, ActiveScheduler):
|
|
5685
|
+
self._ActiveScheduler = ActiveScheduler
|
|
5686
|
+
|
|
5687
|
+
@property
|
|
5688
|
+
def CapacityGlobalConfig(self):
|
|
5689
|
+
return self._CapacityGlobalConfig
|
|
5690
|
+
|
|
5691
|
+
@CapacityGlobalConfig.setter
|
|
5692
|
+
def CapacityGlobalConfig(self, CapacityGlobalConfig):
|
|
5693
|
+
self._CapacityGlobalConfig = CapacityGlobalConfig
|
|
5694
|
+
|
|
5695
|
+
@property
|
|
5696
|
+
def FairGlobalConfig(self):
|
|
5697
|
+
return self._FairGlobalConfig
|
|
5698
|
+
|
|
5699
|
+
@FairGlobalConfig.setter
|
|
5700
|
+
def FairGlobalConfig(self, FairGlobalConfig):
|
|
5701
|
+
self._FairGlobalConfig = FairGlobalConfig
|
|
5702
|
+
|
|
5703
|
+
@property
|
|
5704
|
+
def Scheduler(self):
|
|
5705
|
+
return self._Scheduler
|
|
5706
|
+
|
|
5707
|
+
@Scheduler.setter
|
|
5708
|
+
def Scheduler(self, Scheduler):
|
|
5709
|
+
self._Scheduler = Scheduler
|
|
5710
|
+
|
|
5711
|
+
@property
|
|
5712
|
+
def RequestId(self):
|
|
5713
|
+
return self._RequestId
|
|
5714
|
+
|
|
5715
|
+
@RequestId.setter
|
|
5716
|
+
def RequestId(self, RequestId):
|
|
5717
|
+
self._RequestId = RequestId
|
|
5718
|
+
|
|
5719
|
+
|
|
5720
|
+
def _deserialize(self, params):
|
|
5721
|
+
self._EnableResourceSchedule = params.get("EnableResourceSchedule")
|
|
5722
|
+
self._ActiveScheduler = params.get("ActiveScheduler")
|
|
5723
|
+
if params.get("CapacityGlobalConfig") is not None:
|
|
5724
|
+
self._CapacityGlobalConfig = CapacityGlobalConfig()
|
|
5725
|
+
self._CapacityGlobalConfig._deserialize(params.get("CapacityGlobalConfig"))
|
|
5726
|
+
if params.get("FairGlobalConfig") is not None:
|
|
5727
|
+
self._FairGlobalConfig = FairGlobalConfig()
|
|
5728
|
+
self._FairGlobalConfig._deserialize(params.get("FairGlobalConfig"))
|
|
5729
|
+
self._Scheduler = params.get("Scheduler")
|
|
5730
|
+
self._RequestId = params.get("RequestId")
|
|
5731
|
+
|
|
5732
|
+
|
|
5450
5733
|
class DescribeHBaseTableOverviewRequest(AbstractModel):
|
|
5451
5734
|
"""DescribeHBaseTableOverview请求参数结构体
|
|
5452
5735
|
|
|
@@ -5970,12 +6253,15 @@ class DescribeInsightListRequest(AbstractModel):
|
|
|
5970
6253
|
:type PageSize: int
|
|
5971
6254
|
:param _Page: 分页查询时的页号,从1开始
|
|
5972
6255
|
:type Page: int
|
|
6256
|
+
:param _Type: 查询类型,支持HIVE,SPARK,DLC_SPARK,SPARK_SQL,SCHEDULE,MAPREDUCE,TRINO等类型,默认查询全部
|
|
6257
|
+
:type Type: str
|
|
5973
6258
|
"""
|
|
5974
6259
|
self._InstanceId = None
|
|
5975
6260
|
self._StartTime = None
|
|
5976
6261
|
self._EndTime = None
|
|
5977
6262
|
self._PageSize = None
|
|
5978
6263
|
self._Page = None
|
|
6264
|
+
self._Type = None
|
|
5979
6265
|
|
|
5980
6266
|
@property
|
|
5981
6267
|
def InstanceId(self):
|
|
@@ -6017,6 +6303,14 @@ class DescribeInsightListRequest(AbstractModel):
|
|
|
6017
6303
|
def Page(self, Page):
|
|
6018
6304
|
self._Page = Page
|
|
6019
6305
|
|
|
6306
|
+
@property
|
|
6307
|
+
def Type(self):
|
|
6308
|
+
return self._Type
|
|
6309
|
+
|
|
6310
|
+
@Type.setter
|
|
6311
|
+
def Type(self, Type):
|
|
6312
|
+
self._Type = Type
|
|
6313
|
+
|
|
6020
6314
|
|
|
6021
6315
|
def _deserialize(self, params):
|
|
6022
6316
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -6024,6 +6318,7 @@ class DescribeInsightListRequest(AbstractModel):
|
|
|
6024
6318
|
self._EndTime = params.get("EndTime")
|
|
6025
6319
|
self._PageSize = params.get("PageSize")
|
|
6026
6320
|
self._Page = params.get("Page")
|
|
6321
|
+
self._Type = params.get("Type")
|
|
6027
6322
|
memeber_set = set(params.keys())
|
|
6028
6323
|
for name, value in vars(self).items():
|
|
6029
6324
|
property_name = name[1:]
|
|
@@ -6208,7 +6503,7 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
6208
6503
|
:type OrderField: str
|
|
6209
6504
|
:param _Asc: 按照OrderField升序或者降序进行排序。取值范围:<li>0:表示升序。</li><li>1:表示降序。</li>默认值为0。
|
|
6210
6505
|
:type Asc: int
|
|
6211
|
-
:param _Filters:
|
|
6506
|
+
:param _Filters: 自定义查询过滤器。示例:<li>根据ClusterId过滤实例:[{"Name":"ClusterId","Values":["emr-xxxxxxxx"]}]</li><li>根据clusterName过滤实例:[{"Name": "ClusterName","Values": ["cluster_name"]}]</li><li>根据ClusterStatus过滤实例:[{"Name": "ClusterStatus","Values": ["2"]}]</li>
|
|
6212
6507
|
:type Filters: list of Filters
|
|
6213
6508
|
"""
|
|
6214
6509
|
self._DisplayStrategy = None
|
|
@@ -6829,9 +7124,9 @@ class DescribeSLInstanceListRequest(AbstractModel):
|
|
|
6829
7124
|
:type Limit: int
|
|
6830
7125
|
:param _OrderField: 排序字段。取值范围:<li>clusterId:表示按照实例ID排序。</li><li>addTime:表示按照实例创建时间排序。</li><li>status:表示按照实例的状态码排序。</li>
|
|
6831
7126
|
:type OrderField: str
|
|
6832
|
-
:param _Asc: 按照OrderField升序或者降序进行排序。取值范围:<li>0
|
|
7127
|
+
:param _Asc: 按照OrderField升序或者降序进行排序。取值范围:<li>0:表示升序。</li><li>1:表示降序。</li>默认值为0。
|
|
6833
7128
|
:type Asc: int
|
|
6834
|
-
:param _Filters:
|
|
7129
|
+
:param _Filters: 自定义查询过滤器。示例:<li>根据ClusterId过滤实例:[{"Name":"ClusterId","Values":["emr-xxxxxxxx"]}]</li><li>根据clusterName过滤实例:[{"Name": "ClusterName","Values": ["cluster_name"]}]</li><li>根据ClusterStatus过滤实例:[{"Name": "ClusterStatus","Values": ["2"]}]</li>
|
|
6835
7130
|
:type Filters: list of Filters
|
|
6836
7131
|
"""
|
|
6837
7132
|
self._DisplayStrategy = None
|
|
@@ -7857,99 +8152,7 @@ class DescribeYarnQueueResponse(AbstractModel):
|
|
|
7857
8152
|
|
|
7858
8153
|
def __init__(self):
|
|
7859
8154
|
r"""
|
|
7860
|
-
:param _Queue: 队列信息。是一个对象转成的json字符串,对应的golang
|
|
7861
|
-
|
|
7862
|
-
```
|
|
7863
|
-
Name string `json:"name"` //队列名称
|
|
7864
|
-
```
|
|
7865
|
-
- `Name`:字段名
|
|
7866
|
-
- `string`:字段类型
|
|
7867
|
-
- `json:"name"`:表示在序列化和反序列化`json`时,对应的`json key`,下面以`json key`来指代
|
|
7868
|
-
- `//`:后面的注释内容对应页面上看到的名称
|
|
7869
|
-
|
|
7870
|
-
字段类型以`*`开头的表示取值可能为json规范下的null,不同的语言需要使用能表达null的类型来接收,比如java的包装类型;字段类型以`[]`开头的表示是数组类型;`json key`在调用`ModifyYarnQueueV2 `接口也会使用。
|
|
7871
|
-
|
|
7872
|
-
- 公平调度器
|
|
7873
|
-
|
|
7874
|
-
```
|
|
7875
|
-
type QueueWithConfigSetForFairScheduler struct {
|
|
7876
|
-
Name string `json:"name"` //队列名称
|
|
7877
|
-
MyId string `json:"myId"` // 队列id,用于编辑、删除、克隆时使用
|
|
7878
|
-
ParentId string `json:"parentId"` // 父队列Id
|
|
7879
|
-
Type *string `json:"type"` // 队列归属。parent或空,当确定某个队列是父队列,且没有子队列时,才可以设置,通常用来支持放置策略nestedUserQueue
|
|
7880
|
-
AclSubmitApps *AclForYarnQueue `json:"aclSubmitApps"` // 提交访问控制
|
|
7881
|
-
AclAdministerApps *AclForYarnQueue `json:"aclAdministerApps"` // 管理访问控制
|
|
7882
|
-
MinSharePreemptionTimeout *int `json:"minSharePreemptionTimeout"` // 最小共享优先权超时时间
|
|
7883
|
-
FairSharePreemptionTimeout *int `json:"fairSharePreemptionTimeout"` // 公平份额抢占超时时间
|
|
7884
|
-
FairSharePreemptionThreshold *float32 `json:"fairSharePreemptionThreshold"` // 公平份额抢占阈值。取值 (0,1]
|
|
7885
|
-
AllowPreemptionFrom *bool `json:"allowPreemptionFrom"` // 抢占模式
|
|
7886
|
-
SchedulingPolicy *string `json:"schedulingPolicy"` // 调度策略,取值有drf、fair、fifo
|
|
7887
|
-
IsDefault *bool `json:"isDefault"` // 是否是root.default队列
|
|
7888
|
-
IsRoot *bool `json:"isRoot"` // 是否是root队列
|
|
7889
|
-
ConfigSets []ConfigSetForFairScheduler `json:"configSets"` // 配置集设置
|
|
7890
|
-
Children []QueueWithConfigSetForFairScheduler `json:"queues"` // 子队列信息。递归
|
|
7891
|
-
}
|
|
7892
|
-
|
|
7893
|
-
type AclForYarnQueue struct {
|
|
7894
|
-
User *string `json:"user"` //用户名
|
|
7895
|
-
Group *string `json:"group"`//组名
|
|
7896
|
-
}
|
|
7897
|
-
|
|
7898
|
-
type ConfigSetForFairScheduler struct {
|
|
7899
|
-
Name string `json:"name"` // 配置集名称
|
|
7900
|
-
MinResources *YarnResource `json:"minResources"` // 最小资源量
|
|
7901
|
-
MaxResources *YarnResource `json:"maxResources"` // 最大资源量
|
|
7902
|
-
MaxChildResources *YarnResource `json:"maxChildResources"` // 能够分配给为未声明子队列的最大资源量
|
|
7903
|
-
MaxRunningApps *int `json:"maxRunningApps"` // 最高可同时处于运行的App数量
|
|
7904
|
-
Weight *float32 `json:"weight"` // 权重
|
|
7905
|
-
MaxAMShare *float32 `json:"maxAMShare"` // App Master最大份额
|
|
7906
|
-
}
|
|
7907
|
-
|
|
7908
|
-
type YarnResource struct {
|
|
7909
|
-
Vcores *int `json:"vcores"`
|
|
7910
|
-
Memory *int `json:"memory"`
|
|
7911
|
-
Type *string `json:"type"` // 当值为`percent`时,表示使用的百分比,否则就是使用的绝对数值
|
|
7912
|
-
}
|
|
7913
|
-
```
|
|
7914
|
-
|
|
7915
|
-
- 容量调度器
|
|
7916
|
-
|
|
7917
|
-
```
|
|
7918
|
-
type QueueForCapacitySchedulerV3 struct {
|
|
7919
|
-
Name string `json:"name"` // 队列名称
|
|
7920
|
-
MyId string `json:"myId"` // 队列id,用于编辑、删除、克隆时使用
|
|
7921
|
-
ParentId string `json:"parentId"` // 父队列Id
|
|
7922
|
-
Configs []ConfigForCapacityV3 `json:"configs"` //配置集设置
|
|
7923
|
-
State *string `json:"state"` // 资源池状态
|
|
7924
|
-
DefaultNodeLabelExpression *string `json:"default-node-label-expression"` // 默认标签表达式
|
|
7925
|
-
AclSubmitApps *AclForYarnQueue `json:"acl_submit_applications"` // 提交访问控制
|
|
7926
|
-
AclAdminQueue *AclForYarnQueue `json:"acl_administer_queue"` //管理访问控制
|
|
7927
|
-
MaxAllocationMB *int32 `json:"maximum-allocation-mb"` // 分配Container最大内存数量
|
|
7928
|
-
MaxAllocationVcores *int32 `json:"maximum-allocation-vcores"` // Container最大vCore数量
|
|
7929
|
-
IsDefault *bool `json:"isDefault"`// 是否是root.default队列
|
|
7930
|
-
IsRoot *bool `json:"isRoot"` // 是否是root队列
|
|
7931
|
-
Queues []*QueueForCapacitySchedulerV3 `json:"queues"`//子队列信息。递归
|
|
7932
|
-
}
|
|
7933
|
-
type ConfigForCapacityV3 struct {
|
|
7934
|
-
Name string `json:"configName"` // 配置集名称
|
|
7935
|
-
Labels []CapacityLabel `json:"labels"` // 标签信息
|
|
7936
|
-
MinUserLimitPercent *int32 `json:"minimum-user-limit-percent"` // 用户最小容量
|
|
7937
|
-
UserLimitFactor *float32 `json:"user-limit-factor" valid:"rangeExcludeLeft(0|)"` // 用户资源因子
|
|
7938
|
-
MaxApps *int32 `json:"maximum-applications" valid:"rangeExcludeLeft(0|)"` // 最大应用数Max-Applications
|
|
7939
|
-
MaxAmPercent *float32 `json:"maximum-am-resource-percent"` // 最大AM比例
|
|
7940
|
-
DefaultApplicationPriority *int32 `json:"default-application-priority"` // 资源池优先级
|
|
7941
|
-
}
|
|
7942
|
-
type CapacityLabel struct {
|
|
7943
|
-
Name string `json:"labelName"`
|
|
7944
|
-
Capacity *float32 `json:"capacity"` // 容量
|
|
7945
|
-
MaxCapacity *float32 `json:"maximum-capacity"` //最大容量
|
|
7946
|
-
}
|
|
7947
|
-
|
|
7948
|
-
type AclForYarnQueue struct {
|
|
7949
|
-
User *string `json:"user"` //用户名
|
|
7950
|
-
Group *string `json:"group"`//组名
|
|
7951
|
-
}
|
|
7952
|
-
```
|
|
8155
|
+
:param _Queue: 队列信息。是一个对象转成的json字符串,对应的golang结构体如下所示,例如`QueueWithConfigSetForFairScheduler`的第一个字段`Name`:```Name string `json:"name"` //队列名称```- `Name`:字段名- `string`:字段类型- `json:"name"`:表示在序列化和反序列化`json`时,对应的`json key`,下面以`json key`来指代- `//`:后面的注释内容对应页面上看到的名称字段类型以`*`开头的表示取值可能为json规范下的null,不同的语言需要使用能表达null的类型来接收,例如java的包装类型;字段类型以`[]`开头的表示是数组类型;`json key`在调用`ModifyYarnQueueV2 `接口也会使用。- 公平调度器```type QueueWithConfigSetForFairScheduler struct { Name string `json:"name"` //队列名称 MyId string `json:"myId"` // 队列id,用于编辑、删除、克隆时使用 ParentId string `json:"parentId"` // 父队列Id Type *string `json:"type"` // 队列归属。parent或空,当确定某个队列是父队列,且没有子队列时,才可以设置,通常用来支持放置策略nestedUserQueue AclSubmitApps *AclForYarnQueue `json:"aclSubmitApps"` // 提交访问控制 AclAdministerApps *AclForYarnQueue `json:"aclAdministerApps"` // 管理访问控制 MinSharePreemptionTimeout *int `json:"minSharePreemptionTimeout"` // 最小共享优先权超时时间 FairSharePreemptionTimeout *int `json:"fairSharePreemptionTimeout"` // 公平份额抢占超时时间 FairSharePreemptionThreshold *float32 `json:"fairSharePreemptionThreshold"` // 公平份额抢占阈值。取值 (0,1] AllowPreemptionFrom *bool `json:"allowPreemptionFrom"` // 抢占模式 SchedulingPolicy *string `json:"schedulingPolicy"` // 调度策略,取值有drf、fair、fifo IsDefault *bool `json:"isDefault"` // 是否是root.default队列 IsRoot *bool `json:"isRoot"` // 是否是root队列 ConfigSets []ConfigSetForFairScheduler `json:"configSets"` // 配置集设置 Children []QueueWithConfigSetForFairScheduler `json:"queues"` // 子队列信息。递归}type AclForYarnQueue struct { User *string `json:"user"` //用户名 Group *string `json:"group"`//组名}type ConfigSetForFairScheduler struct { Name string `json:"name"` // 配置集名称 MinResources *YarnResource `json:"minResources"` // 最小资源量 MaxResources *YarnResource `json:"maxResources"` // 最大资源量 MaxChildResources *YarnResource `json:"maxChildResources"` // 能够分配给为未声明子队列的最大资源量 MaxRunningApps *int `json:"maxRunningApps"` // 最高可同时处于运行的App数量 Weight *float32 `json:"weight"` // 权重 MaxAMShare *float32 `json:"maxAMShare"` // App Master最大份额}type YarnResource struct { Vcores *int `json:"vcores"` Memory *int `json:"memory"` Type *string `json:"type"` // 当值为`percent`时,表示使用的百分比,否则就是使用的绝对数值}```- 容量调度器```type QueueForCapacitySchedulerV3 struct { Name string `json:"name"` // 队列名称 MyId string `json:"myId"` // 队列id,用于编辑、删除、克隆时使用 ParentId string `json:"parentId"` // 父队列Id Configs []ConfigForCapacityV3 `json:"configs"` //配置集设置 State *string `json:"state"` // 资源池状态 DefaultNodeLabelExpression *string `json:"default-node-label-expression"` // 默认标签表达式 AclSubmitApps *AclForYarnQueue `json:"acl_submit_applications"` // 提交访问控制 AclAdminQueue *AclForYarnQueue `json:"acl_administer_queue"` //管理访问控制 MaxAllocationMB *int32 `json:"maximum-allocation-mb"` // 分配Container最大内存数量 MaxAllocationVcores *int32 `json:"maximum-allocation-vcores"` // Container最大vCore数量 IsDefault *bool `json:"isDefault"`// 是否是root.default队列 IsRoot *bool `json:"isRoot"` // 是否是root队列 Queues []*QueueForCapacitySchedulerV3 `json:"queues"`//子队列信息。递归}type ConfigForCapacityV3 struct { Name string `json:"configName"` // 配置集名称 Labels []CapacityLabel `json:"labels"` // 标签信息 MinUserLimitPercent *int32 `json:"minimum-user-limit-percent"` // 用户最小容量 UserLimitFactor *float32 `json:"user-limit-factor" valid:"rangeExcludeLeft(0|)"` // 用户资源因子 MaxApps *int32 `json:"maximum-applications" valid:"rangeExcludeLeft(0|)"` // 最大应用数Max-Applications MaxAmPercent *float32 `json:"maximum-am-resource-percent"` // 最大AM比例 DefaultApplicationPriority *int32 `json:"default-application-priority"` // 资源池优先级}type CapacityLabel struct { Name string `json:"labelName"` Capacity *float32 `json:"capacity"` // 容量 MaxCapacity *float32 `json:"maximum-capacity"` //最大容量}type AclForYarnQueue struct { User *string `json:"user"` //用户名 Group *string `json:"group"`//组名}```
|
|
7953
8156
|
:type Queue: str
|
|
7954
8157
|
:param _Version: 版本
|
|
7955
8158
|
:type Version: str
|
|
@@ -8623,10 +8826,14 @@ class DiskSpecInfo(AbstractModel):
|
|
|
8623
8826
|
:param _DiskSize: 数据容量,单位为GB
|
|
8624
8827
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8625
8828
|
:type DiskSize: int
|
|
8829
|
+
:param _ExtraPerformance: 额外性能
|
|
8830
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8831
|
+
:type ExtraPerformance: int
|
|
8626
8832
|
"""
|
|
8627
8833
|
self._Count = None
|
|
8628
8834
|
self._DiskType = None
|
|
8629
8835
|
self._DiskSize = None
|
|
8836
|
+
self._ExtraPerformance = None
|
|
8630
8837
|
|
|
8631
8838
|
@property
|
|
8632
8839
|
def Count(self):
|
|
@@ -8652,11 +8859,20 @@ class DiskSpecInfo(AbstractModel):
|
|
|
8652
8859
|
def DiskSize(self, DiskSize):
|
|
8653
8860
|
self._DiskSize = DiskSize
|
|
8654
8861
|
|
|
8862
|
+
@property
|
|
8863
|
+
def ExtraPerformance(self):
|
|
8864
|
+
return self._ExtraPerformance
|
|
8865
|
+
|
|
8866
|
+
@ExtraPerformance.setter
|
|
8867
|
+
def ExtraPerformance(self, ExtraPerformance):
|
|
8868
|
+
self._ExtraPerformance = ExtraPerformance
|
|
8869
|
+
|
|
8655
8870
|
|
|
8656
8871
|
def _deserialize(self, params):
|
|
8657
8872
|
self._Count = params.get("Count")
|
|
8658
8873
|
self._DiskType = params.get("DiskType")
|
|
8659
8874
|
self._DiskSize = params.get("DiskSize")
|
|
8875
|
+
self._ExtraPerformance = params.get("ExtraPerformance")
|
|
8660
8876
|
memeber_set = set(params.keys())
|
|
8661
8877
|
for name, value in vars(self).items():
|
|
8662
8878
|
property_name = name[1:]
|
|
@@ -9922,6 +10138,40 @@ class ExternalService(AbstractModel):
|
|
|
9922
10138
|
|
|
9923
10139
|
|
|
9924
10140
|
|
|
10141
|
+
class FairGlobalConfig(AbstractModel):
|
|
10142
|
+
"""资源调度-公平调度器的全局配置
|
|
10143
|
+
|
|
10144
|
+
"""
|
|
10145
|
+
|
|
10146
|
+
def __init__(self):
|
|
10147
|
+
r"""
|
|
10148
|
+
:param _UserMaxAppsDefault: 对应与页面的<p>程序上限</p>
|
|
10149
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10150
|
+
:type UserMaxAppsDefault: int
|
|
10151
|
+
"""
|
|
10152
|
+
self._UserMaxAppsDefault = None
|
|
10153
|
+
|
|
10154
|
+
@property
|
|
10155
|
+
def UserMaxAppsDefault(self):
|
|
10156
|
+
return self._UserMaxAppsDefault
|
|
10157
|
+
|
|
10158
|
+
@UserMaxAppsDefault.setter
|
|
10159
|
+
def UserMaxAppsDefault(self, UserMaxAppsDefault):
|
|
10160
|
+
self._UserMaxAppsDefault = UserMaxAppsDefault
|
|
10161
|
+
|
|
10162
|
+
|
|
10163
|
+
def _deserialize(self, params):
|
|
10164
|
+
self._UserMaxAppsDefault = params.get("UserMaxAppsDefault")
|
|
10165
|
+
memeber_set = set(params.keys())
|
|
10166
|
+
for name, value in vars(self).items():
|
|
10167
|
+
property_name = name[1:]
|
|
10168
|
+
if property_name in memeber_set:
|
|
10169
|
+
memeber_set.remove(property_name)
|
|
10170
|
+
if len(memeber_set) > 0:
|
|
10171
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10172
|
+
|
|
10173
|
+
|
|
10174
|
+
|
|
9925
10175
|
class Filters(AbstractModel):
|
|
9926
10176
|
"""Emr集群列表实例自定义查询过滤
|
|
9927
10177
|
|
|
@@ -13415,6 +13665,89 @@ class ModifyAutoScaleStrategyResponse(AbstractModel):
|
|
|
13415
13665
|
self._RequestId = params.get("RequestId")
|
|
13416
13666
|
|
|
13417
13667
|
|
|
13668
|
+
class ModifyGlobalConfigRequest(AbstractModel):
|
|
13669
|
+
"""ModifyGlobalConfig请求参数结构体
|
|
13670
|
+
|
|
13671
|
+
"""
|
|
13672
|
+
|
|
13673
|
+
def __init__(self):
|
|
13674
|
+
r"""
|
|
13675
|
+
:param _InstanceId: emr集群的英文id
|
|
13676
|
+
:type InstanceId: str
|
|
13677
|
+
:param _Items: 修改的配置列表。其中Key的取值与`DescribeGlobalConfig`接口的出参一一对应,不区分大小写(如果报错找不到Key,以出参为准),分别为:
|
|
13678
|
+
1. 开启或关闭资源调度:enableResourceSchedule;在关闭时会有一个同步的选项,Key为sync,取值为true或false。
|
|
13679
|
+
2. 调度器类型:scheduler。
|
|
13680
|
+
2. 开启或关闭标签:enableLabel,取值为true或false。
|
|
13681
|
+
2. 标签目录:labelDir。
|
|
13682
|
+
3. 是否覆盖用户指定队列:queueMappingOverride,取值为true、false。
|
|
13683
|
+
4. 程序上限:userMaxAppsDefault。
|
|
13684
|
+
5. 动态配置项:`DescribeGlobalConfig`接口返回的DefaultSettings中的Name字段。
|
|
13685
|
+
Value的取值都是字符串,对于**是否覆盖用户指定队列**、**程序上限**,json规范中的null表示清空该配置的值。支持修改单个配置项的值。对于**动态配置项**则需要全量传递以进行覆盖。
|
|
13686
|
+
:type Items: list of Item
|
|
13687
|
+
"""
|
|
13688
|
+
self._InstanceId = None
|
|
13689
|
+
self._Items = None
|
|
13690
|
+
|
|
13691
|
+
@property
|
|
13692
|
+
def InstanceId(self):
|
|
13693
|
+
return self._InstanceId
|
|
13694
|
+
|
|
13695
|
+
@InstanceId.setter
|
|
13696
|
+
def InstanceId(self, InstanceId):
|
|
13697
|
+
self._InstanceId = InstanceId
|
|
13698
|
+
|
|
13699
|
+
@property
|
|
13700
|
+
def Items(self):
|
|
13701
|
+
return self._Items
|
|
13702
|
+
|
|
13703
|
+
@Items.setter
|
|
13704
|
+
def Items(self, Items):
|
|
13705
|
+
self._Items = Items
|
|
13706
|
+
|
|
13707
|
+
|
|
13708
|
+
def _deserialize(self, params):
|
|
13709
|
+
self._InstanceId = params.get("InstanceId")
|
|
13710
|
+
if params.get("Items") is not None:
|
|
13711
|
+
self._Items = []
|
|
13712
|
+
for item in params.get("Items"):
|
|
13713
|
+
obj = Item()
|
|
13714
|
+
obj._deserialize(item)
|
|
13715
|
+
self._Items.append(obj)
|
|
13716
|
+
memeber_set = set(params.keys())
|
|
13717
|
+
for name, value in vars(self).items():
|
|
13718
|
+
property_name = name[1:]
|
|
13719
|
+
if property_name in memeber_set:
|
|
13720
|
+
memeber_set.remove(property_name)
|
|
13721
|
+
if len(memeber_set) > 0:
|
|
13722
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13723
|
+
|
|
13724
|
+
|
|
13725
|
+
|
|
13726
|
+
class ModifyGlobalConfigResponse(AbstractModel):
|
|
13727
|
+
"""ModifyGlobalConfig返回参数结构体
|
|
13728
|
+
|
|
13729
|
+
"""
|
|
13730
|
+
|
|
13731
|
+
def __init__(self):
|
|
13732
|
+
r"""
|
|
13733
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13734
|
+
:type RequestId: str
|
|
13735
|
+
"""
|
|
13736
|
+
self._RequestId = None
|
|
13737
|
+
|
|
13738
|
+
@property
|
|
13739
|
+
def RequestId(self):
|
|
13740
|
+
return self._RequestId
|
|
13741
|
+
|
|
13742
|
+
@RequestId.setter
|
|
13743
|
+
def RequestId(self, RequestId):
|
|
13744
|
+
self._RequestId = RequestId
|
|
13745
|
+
|
|
13746
|
+
|
|
13747
|
+
def _deserialize(self, params):
|
|
13748
|
+
self._RequestId = params.get("RequestId")
|
|
13749
|
+
|
|
13750
|
+
|
|
13418
13751
|
class ModifyResourcePoolsRequest(AbstractModel):
|
|
13419
13752
|
"""ModifyResourcePools请求参数结构体
|
|
13420
13753
|
|
|
@@ -14463,12 +14796,16 @@ class MultiDiskMC(AbstractModel):
|
|
|
14463
14796
|
:param _Type: 磁盘类型
|
|
14464
14797
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
14465
14798
|
:type Type: int
|
|
14799
|
+
:param _Size: 磁盘大小
|
|
14800
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14801
|
+
:type Size: str
|
|
14466
14802
|
:param _Volume: 云盘大小
|
|
14467
14803
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
14468
14804
|
:type Volume: int
|
|
14469
14805
|
"""
|
|
14470
14806
|
self._Count = None
|
|
14471
14807
|
self._Type = None
|
|
14808
|
+
self._Size = None
|
|
14472
14809
|
self._Volume = None
|
|
14473
14810
|
|
|
14474
14811
|
@property
|
|
@@ -14487,6 +14824,14 @@ class MultiDiskMC(AbstractModel):
|
|
|
14487
14824
|
def Type(self, Type):
|
|
14488
14825
|
self._Type = Type
|
|
14489
14826
|
|
|
14827
|
+
@property
|
|
14828
|
+
def Size(self):
|
|
14829
|
+
return self._Size
|
|
14830
|
+
|
|
14831
|
+
@Size.setter
|
|
14832
|
+
def Size(self, Size):
|
|
14833
|
+
self._Size = Size
|
|
14834
|
+
|
|
14490
14835
|
@property
|
|
14491
14836
|
def Volume(self):
|
|
14492
14837
|
return self._Volume
|
|
@@ -14499,6 +14844,7 @@ class MultiDiskMC(AbstractModel):
|
|
|
14499
14844
|
def _deserialize(self, params):
|
|
14500
14845
|
self._Count = params.get("Count")
|
|
14501
14846
|
self._Type = params.get("Type")
|
|
14847
|
+
self._Size = params.get("Size")
|
|
14502
14848
|
self._Volume = params.get("Volume")
|
|
14503
14849
|
memeber_set = set(params.keys())
|
|
14504
14850
|
for name, value in vars(self).items():
|
|
@@ -14926,6 +15272,12 @@ class NodeHardwareInfo(AbstractModel):
|
|
|
14926
15272
|
:param _Remark: 备注
|
|
14927
15273
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
14928
15274
|
:type Remark: str
|
|
15275
|
+
:param _SharedClusterId: 共享集群id
|
|
15276
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15277
|
+
:type SharedClusterId: str
|
|
15278
|
+
:param _SharedClusterIdDesc: 共享集群id描述
|
|
15279
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15280
|
+
:type SharedClusterIdDesc: str
|
|
14929
15281
|
"""
|
|
14930
15282
|
self._AppId = None
|
|
14931
15283
|
self._SerialNo = None
|
|
@@ -14979,6 +15331,8 @@ class NodeHardwareInfo(AbstractModel):
|
|
|
14979
15331
|
self._TradeVersion = None
|
|
14980
15332
|
self._ServicesStatus = None
|
|
14981
15333
|
self._Remark = None
|
|
15334
|
+
self._SharedClusterId = None
|
|
15335
|
+
self._SharedClusterIdDesc = None
|
|
14982
15336
|
|
|
14983
15337
|
@property
|
|
14984
15338
|
def AppId(self):
|
|
@@ -15396,6 +15750,22 @@ class NodeHardwareInfo(AbstractModel):
|
|
|
15396
15750
|
def Remark(self, Remark):
|
|
15397
15751
|
self._Remark = Remark
|
|
15398
15752
|
|
|
15753
|
+
@property
|
|
15754
|
+
def SharedClusterId(self):
|
|
15755
|
+
return self._SharedClusterId
|
|
15756
|
+
|
|
15757
|
+
@SharedClusterId.setter
|
|
15758
|
+
def SharedClusterId(self, SharedClusterId):
|
|
15759
|
+
self._SharedClusterId = SharedClusterId
|
|
15760
|
+
|
|
15761
|
+
@property
|
|
15762
|
+
def SharedClusterIdDesc(self):
|
|
15763
|
+
return self._SharedClusterIdDesc
|
|
15764
|
+
|
|
15765
|
+
@SharedClusterIdDesc.setter
|
|
15766
|
+
def SharedClusterIdDesc(self, SharedClusterIdDesc):
|
|
15767
|
+
self._SharedClusterIdDesc = SharedClusterIdDesc
|
|
15768
|
+
|
|
15399
15769
|
|
|
15400
15770
|
def _deserialize(self, params):
|
|
15401
15771
|
self._AppId = params.get("AppId")
|
|
@@ -15464,6 +15834,8 @@ class NodeHardwareInfo(AbstractModel):
|
|
|
15464
15834
|
self._TradeVersion = params.get("TradeVersion")
|
|
15465
15835
|
self._ServicesStatus = params.get("ServicesStatus")
|
|
15466
15836
|
self._Remark = params.get("Remark")
|
|
15837
|
+
self._SharedClusterId = params.get("SharedClusterId")
|
|
15838
|
+
self._SharedClusterIdDesc = params.get("SharedClusterIdDesc")
|
|
15467
15839
|
memeber_set = set(params.keys())
|
|
15468
15840
|
for name, value in vars(self).items():
|
|
15469
15841
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-emr
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1251
|
|
4
4
|
Summary: Tencent Cloud Emr SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common (==3.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (==3.0.1251)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=4ShRF5stIoNri9YFqFY5cD8ek5hw8hdm4qZdr-plJP8,631
|
|
2
|
+
tencentcloud/emr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/emr/v20190103/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/emr/v20190103/emr_client.py,sha256=dpetIAtvfRIJbHL659XWveSXtIasnJz4dCR98Nv7PvA,57735
|
|
5
|
+
tencentcloud/emr/v20190103/errorcodes.py,sha256=FxHT35W8c1JMEAiVS4GdYEu_UGixDAotC3AfRp8Spz4,17726
|
|
6
|
+
tencentcloud/emr/v20190103/models.py,sha256=PybL9h_eMsb0i_Bcz5TJgEhYF0hNXMozPlFhNcoXzf0,754912
|
|
7
|
+
tencentcloud_sdk_python_emr-3.0.1251.dist-info/METADATA,sha256=Dju2KKP8aRRbHOJggZ2W6Ajwu_whXti46pHAYxH695U,1492
|
|
8
|
+
tencentcloud_sdk_python_emr-3.0.1251.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_emr-3.0.1251.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_emr-3.0.1251.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=H54gAH968PT5BuF7KXColTwPHBJVF_S4G4shVU2FFyU,631
|
|
2
|
-
tencentcloud/emr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/emr/v20190103/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/emr/v20190103/emr_client.py,sha256=UzgWJSpkP6GxPw04HCXTUELw-LBfbuPVwosPK_dRLwg,55935
|
|
5
|
-
tencentcloud/emr/v20190103/errorcodes.py,sha256=tdDylAHWMYbjyhzVgyfC9c2JGqZS3ZbdwvgRDZ29Tec,17726
|
|
6
|
-
tencentcloud/emr/v20190103/models.py,sha256=HcAUN4OfWA3UQjKNO4E4cvhLVULHfu5lqTqzZF2oq_M,739676
|
|
7
|
-
tencentcloud_sdk_python_emr-3.0.1237.dist-info/METADATA,sha256=Ba-GZRkdw0ppNHvyboYMey3rH3gn-zv65GCN2PclUyI,1492
|
|
8
|
-
tencentcloud_sdk_python_emr-3.0.1237.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_emr-3.0.1237.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_emr-3.0.1237.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|