tencentcloud-sdk-python-emr 3.1.169__tar.gz → 3.1.173__tar.gz
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_sdk_python_emr-3.1.169 → tencentcloud_sdk_python_emr-3.1.173}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_emr-3.1.169 → tencentcloud_sdk_python_emr-3.1.173}/setup.py +1 -1
- {tencentcloud_sdk_python_emr-3.1.169 → tencentcloud_sdk_python_emr-3.1.173}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_emr-3.1.169 → tencentcloud_sdk_python_emr-3.1.173}/tencentcloud/emr/v20190103/emr_client.py +46 -0
- {tencentcloud_sdk_python_emr-3.1.169 → tencentcloud_sdk_python_emr-3.1.173}/tencentcloud/emr/v20190103/emr_client_async.py +36 -0
- {tencentcloud_sdk_python_emr-3.1.169 → tencentcloud_sdk_python_emr-3.1.173}/tencentcloud/emr/v20190103/models.py +536 -0
- {tencentcloud_sdk_python_emr-3.1.169 → tencentcloud_sdk_python_emr-3.1.173}/tencentcloud_sdk_python_emr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_emr-3.1.173/tencentcloud_sdk_python_emr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_emr-3.1.169/tencentcloud_sdk_python_emr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_emr-3.1.169 → tencentcloud_sdk_python_emr-3.1.173}/README.rst +0 -0
- {tencentcloud_sdk_python_emr-3.1.169 → tencentcloud_sdk_python_emr-3.1.173}/setup.cfg +0 -0
- {tencentcloud_sdk_python_emr-3.1.169 → tencentcloud_sdk_python_emr-3.1.173}/tencentcloud/emr/__init__.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.169 → tencentcloud_sdk_python_emr-3.1.173}/tencentcloud/emr/v20190103/__init__.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.169 → tencentcloud_sdk_python_emr-3.1.173}/tencentcloud/emr/v20190103/errorcodes.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.169 → tencentcloud_sdk_python_emr-3.1.173}/tencentcloud_sdk_python_emr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_emr-3.1.169 → tencentcloud_sdk_python_emr-3.1.173}/tencentcloud_sdk_python_emr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_emr-3.1.169 → tencentcloud_sdk_python_emr-3.1.173}/tencentcloud_sdk_python_emr.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-emr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.173
|
|
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<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.173
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-emr',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.173,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Emr SDK for Python',
|
|
@@ -696,6 +696,29 @@ class EmrClient(AbstractClient):
|
|
|
696
696
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
697
697
|
|
|
698
698
|
|
|
699
|
+
def DescribeExportConfs(self, request):
|
|
700
|
+
r"""查询导出配置
|
|
701
|
+
|
|
702
|
+
:param request: Request instance for DescribeExportConfs.
|
|
703
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.DescribeExportConfsRequest`
|
|
704
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.DescribeExportConfsResponse`
|
|
705
|
+
|
|
706
|
+
"""
|
|
707
|
+
try:
|
|
708
|
+
params = request._serialize()
|
|
709
|
+
headers = request.headers
|
|
710
|
+
body = self.call("DescribeExportConfs", params, headers=headers)
|
|
711
|
+
response = json.loads(body)
|
|
712
|
+
model = models.DescribeExportConfsResponse()
|
|
713
|
+
model._deserialize(response["Response"])
|
|
714
|
+
return model
|
|
715
|
+
except Exception as e:
|
|
716
|
+
if isinstance(e, TencentCloudSDKException):
|
|
717
|
+
raise
|
|
718
|
+
else:
|
|
719
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
720
|
+
|
|
721
|
+
|
|
699
722
|
def DescribeGlobalConfig(self, request):
|
|
700
723
|
r"""查询YARN资源调度的全局配置
|
|
701
724
|
|
|
@@ -1969,6 +1992,29 @@ class EmrClient(AbstractClient):
|
|
|
1969
1992
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1970
1993
|
|
|
1971
1994
|
|
|
1995
|
+
def ModifyServiceParamsByExportConfs(self, request):
|
|
1996
|
+
r"""配置导入下发
|
|
1997
|
+
|
|
1998
|
+
:param request: Request instance for ModifyServiceParamsByExportConfs.
|
|
1999
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.ModifyServiceParamsByExportConfsRequest`
|
|
2000
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.ModifyServiceParamsByExportConfsResponse`
|
|
2001
|
+
|
|
2002
|
+
"""
|
|
2003
|
+
try:
|
|
2004
|
+
params = request._serialize()
|
|
2005
|
+
headers = request.headers
|
|
2006
|
+
body = self.call("ModifyServiceParamsByExportConfs", params, headers=headers)
|
|
2007
|
+
response = json.loads(body)
|
|
2008
|
+
model = models.ModifyServiceParamsByExportConfsResponse()
|
|
2009
|
+
model._deserialize(response["Response"])
|
|
2010
|
+
return model
|
|
2011
|
+
except Exception as e:
|
|
2012
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2013
|
+
raise
|
|
2014
|
+
else:
|
|
2015
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2016
|
+
|
|
2017
|
+
|
|
1972
2018
|
def ModifyUserGroup(self, request):
|
|
1973
2019
|
r"""用户管理-修改用户组
|
|
1974
2020
|
|
|
@@ -550,6 +550,24 @@ class EmrClient(AbstractClient):
|
|
|
550
550
|
|
|
551
551
|
return await self.call_and_deserialize(**kwargs)
|
|
552
552
|
|
|
553
|
+
async def DescribeExportConfs(
|
|
554
|
+
self,
|
|
555
|
+
request: models.DescribeExportConfsRequest,
|
|
556
|
+
opts: Dict = None,
|
|
557
|
+
) -> models.DescribeExportConfsResponse:
|
|
558
|
+
"""
|
|
559
|
+
查询导出配置
|
|
560
|
+
"""
|
|
561
|
+
|
|
562
|
+
kwargs = {}
|
|
563
|
+
kwargs["action"] = "DescribeExportConfs"
|
|
564
|
+
kwargs["params"] = request._serialize()
|
|
565
|
+
kwargs["resp_cls"] = models.DescribeExportConfsResponse
|
|
566
|
+
kwargs["headers"] = request.headers
|
|
567
|
+
kwargs["opts"] = opts or {}
|
|
568
|
+
|
|
569
|
+
return await self.call_and_deserialize(**kwargs)
|
|
570
|
+
|
|
553
571
|
async def DescribeGlobalConfig(
|
|
554
572
|
self,
|
|
555
573
|
request: models.DescribeGlobalConfigRequest,
|
|
@@ -1548,6 +1566,24 @@ class EmrClient(AbstractClient):
|
|
|
1548
1566
|
|
|
1549
1567
|
return await self.call_and_deserialize(**kwargs)
|
|
1550
1568
|
|
|
1569
|
+
async def ModifyServiceParamsByExportConfs(
|
|
1570
|
+
self,
|
|
1571
|
+
request: models.ModifyServiceParamsByExportConfsRequest,
|
|
1572
|
+
opts: Dict = None,
|
|
1573
|
+
) -> models.ModifyServiceParamsByExportConfsResponse:
|
|
1574
|
+
"""
|
|
1575
|
+
配置导入下发
|
|
1576
|
+
"""
|
|
1577
|
+
|
|
1578
|
+
kwargs = {}
|
|
1579
|
+
kwargs["action"] = "ModifyServiceParamsByExportConfs"
|
|
1580
|
+
kwargs["params"] = request._serialize()
|
|
1581
|
+
kwargs["resp_cls"] = models.ModifyServiceParamsByExportConfsResponse
|
|
1582
|
+
kwargs["headers"] = request.headers
|
|
1583
|
+
kwargs["opts"] = opts or {}
|
|
1584
|
+
|
|
1585
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1586
|
+
|
|
1551
1587
|
async def ModifyUserGroup(
|
|
1552
1588
|
self,
|
|
1553
1589
|
request: models.ModifyUserGroupRequest,
|
|
@@ -4751,6 +4751,57 @@ class ComputeResourceAdvanceParams(AbstractModel):
|
|
|
4751
4751
|
|
|
4752
4752
|
|
|
4753
4753
|
|
|
4754
|
+
class ConfSubContext(AbstractModel):
|
|
4755
|
+
r"""配置下发参数
|
|
4756
|
+
|
|
4757
|
+
"""
|
|
4758
|
+
|
|
4759
|
+
def __init__(self):
|
|
4760
|
+
r"""
|
|
4761
|
+
:param _FileName: 配置文件名字
|
|
4762
|
+
:type FileName: str
|
|
4763
|
+
:param _Params: 配置文件参数,需要转为base64
|
|
4764
|
+
:type Params: str
|
|
4765
|
+
"""
|
|
4766
|
+
self._FileName = None
|
|
4767
|
+
self._Params = None
|
|
4768
|
+
|
|
4769
|
+
@property
|
|
4770
|
+
def FileName(self):
|
|
4771
|
+
r"""配置文件名字
|
|
4772
|
+
:rtype: str
|
|
4773
|
+
"""
|
|
4774
|
+
return self._FileName
|
|
4775
|
+
|
|
4776
|
+
@FileName.setter
|
|
4777
|
+
def FileName(self, FileName):
|
|
4778
|
+
self._FileName = FileName
|
|
4779
|
+
|
|
4780
|
+
@property
|
|
4781
|
+
def Params(self):
|
|
4782
|
+
r"""配置文件参数,需要转为base64
|
|
4783
|
+
:rtype: str
|
|
4784
|
+
"""
|
|
4785
|
+
return self._Params
|
|
4786
|
+
|
|
4787
|
+
@Params.setter
|
|
4788
|
+
def Params(self, Params):
|
|
4789
|
+
self._Params = Params
|
|
4790
|
+
|
|
4791
|
+
|
|
4792
|
+
def _deserialize(self, params):
|
|
4793
|
+
self._FileName = params.get("FileName")
|
|
4794
|
+
self._Params = params.get("Params")
|
|
4795
|
+
memeber_set = set(params.keys())
|
|
4796
|
+
for name, value in vars(self).items():
|
|
4797
|
+
property_name = name[1:]
|
|
4798
|
+
if property_name in memeber_set:
|
|
4799
|
+
memeber_set.remove(property_name)
|
|
4800
|
+
if len(memeber_set) > 0:
|
|
4801
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4802
|
+
|
|
4803
|
+
|
|
4804
|
+
|
|
4754
4805
|
class ConfigModifyInfoV2(AbstractModel):
|
|
4755
4806
|
r"""资源调度 - 队列修改信息
|
|
4756
4807
|
|
|
@@ -11387,6 +11438,157 @@ class DescribeEmrOverviewMetricsResponse(AbstractModel):
|
|
|
11387
11438
|
self._RequestId = params.get("RequestId")
|
|
11388
11439
|
|
|
11389
11440
|
|
|
11441
|
+
class DescribeExportConfsRequest(AbstractModel):
|
|
11442
|
+
r"""DescribeExportConfs请求参数结构体
|
|
11443
|
+
|
|
11444
|
+
"""
|
|
11445
|
+
|
|
11446
|
+
def __init__(self):
|
|
11447
|
+
r"""
|
|
11448
|
+
:param _InstanceId: <p>实例ID</p>
|
|
11449
|
+
:type InstanceId: str
|
|
11450
|
+
:param _ExportConfContexts: <p>指定需要导出的配置</p>
|
|
11451
|
+
:type ExportConfContexts: list of ExportConfContext
|
|
11452
|
+
:param _ExportType: <p>导出类型</p><p>枚举值:</p><ul><li>0: 全部配置</li><li>1: 只导出自定义和修改过的配置</li></ul>
|
|
11453
|
+
:type ExportType: int
|
|
11454
|
+
:param _Ip: <p>节点ip</p>
|
|
11455
|
+
:type Ip: str
|
|
11456
|
+
:param _ConfGroupName: <p>配置组名称</p>
|
|
11457
|
+
:type ConfGroupName: str
|
|
11458
|
+
"""
|
|
11459
|
+
self._InstanceId = None
|
|
11460
|
+
self._ExportConfContexts = None
|
|
11461
|
+
self._ExportType = None
|
|
11462
|
+
self._Ip = None
|
|
11463
|
+
self._ConfGroupName = None
|
|
11464
|
+
|
|
11465
|
+
@property
|
|
11466
|
+
def InstanceId(self):
|
|
11467
|
+
r"""<p>实例ID</p>
|
|
11468
|
+
:rtype: str
|
|
11469
|
+
"""
|
|
11470
|
+
return self._InstanceId
|
|
11471
|
+
|
|
11472
|
+
@InstanceId.setter
|
|
11473
|
+
def InstanceId(self, InstanceId):
|
|
11474
|
+
self._InstanceId = InstanceId
|
|
11475
|
+
|
|
11476
|
+
@property
|
|
11477
|
+
def ExportConfContexts(self):
|
|
11478
|
+
r"""<p>指定需要导出的配置</p>
|
|
11479
|
+
:rtype: list of ExportConfContext
|
|
11480
|
+
"""
|
|
11481
|
+
return self._ExportConfContexts
|
|
11482
|
+
|
|
11483
|
+
@ExportConfContexts.setter
|
|
11484
|
+
def ExportConfContexts(self, ExportConfContexts):
|
|
11485
|
+
self._ExportConfContexts = ExportConfContexts
|
|
11486
|
+
|
|
11487
|
+
@property
|
|
11488
|
+
def ExportType(self):
|
|
11489
|
+
r"""<p>导出类型</p><p>枚举值:</p><ul><li>0: 全部配置</li><li>1: 只导出自定义和修改过的配置</li></ul>
|
|
11490
|
+
:rtype: int
|
|
11491
|
+
"""
|
|
11492
|
+
return self._ExportType
|
|
11493
|
+
|
|
11494
|
+
@ExportType.setter
|
|
11495
|
+
def ExportType(self, ExportType):
|
|
11496
|
+
self._ExportType = ExportType
|
|
11497
|
+
|
|
11498
|
+
@property
|
|
11499
|
+
def Ip(self):
|
|
11500
|
+
r"""<p>节点ip</p>
|
|
11501
|
+
:rtype: str
|
|
11502
|
+
"""
|
|
11503
|
+
return self._Ip
|
|
11504
|
+
|
|
11505
|
+
@Ip.setter
|
|
11506
|
+
def Ip(self, Ip):
|
|
11507
|
+
self._Ip = Ip
|
|
11508
|
+
|
|
11509
|
+
@property
|
|
11510
|
+
def ConfGroupName(self):
|
|
11511
|
+
r"""<p>配置组名称</p>
|
|
11512
|
+
:rtype: str
|
|
11513
|
+
"""
|
|
11514
|
+
return self._ConfGroupName
|
|
11515
|
+
|
|
11516
|
+
@ConfGroupName.setter
|
|
11517
|
+
def ConfGroupName(self, ConfGroupName):
|
|
11518
|
+
self._ConfGroupName = ConfGroupName
|
|
11519
|
+
|
|
11520
|
+
|
|
11521
|
+
def _deserialize(self, params):
|
|
11522
|
+
self._InstanceId = params.get("InstanceId")
|
|
11523
|
+
if params.get("ExportConfContexts") is not None:
|
|
11524
|
+
self._ExportConfContexts = []
|
|
11525
|
+
for item in params.get("ExportConfContexts"):
|
|
11526
|
+
obj = ExportConfContext()
|
|
11527
|
+
obj._deserialize(item)
|
|
11528
|
+
self._ExportConfContexts.append(obj)
|
|
11529
|
+
self._ExportType = params.get("ExportType")
|
|
11530
|
+
self._Ip = params.get("Ip")
|
|
11531
|
+
self._ConfGroupName = params.get("ConfGroupName")
|
|
11532
|
+
memeber_set = set(params.keys())
|
|
11533
|
+
for name, value in vars(self).items():
|
|
11534
|
+
property_name = name[1:]
|
|
11535
|
+
if property_name in memeber_set:
|
|
11536
|
+
memeber_set.remove(property_name)
|
|
11537
|
+
if len(memeber_set) > 0:
|
|
11538
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11539
|
+
|
|
11540
|
+
|
|
11541
|
+
|
|
11542
|
+
class DescribeExportConfsResponse(AbstractModel):
|
|
11543
|
+
r"""DescribeExportConfs返回参数结构体
|
|
11544
|
+
|
|
11545
|
+
"""
|
|
11546
|
+
|
|
11547
|
+
def __init__(self):
|
|
11548
|
+
r"""
|
|
11549
|
+
:param _ExportConfParamList: <p>导出配置参数</p>
|
|
11550
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11551
|
+
:type ExportConfParamList: list of ExportConfMeta
|
|
11552
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11553
|
+
:type RequestId: str
|
|
11554
|
+
"""
|
|
11555
|
+
self._ExportConfParamList = None
|
|
11556
|
+
self._RequestId = None
|
|
11557
|
+
|
|
11558
|
+
@property
|
|
11559
|
+
def ExportConfParamList(self):
|
|
11560
|
+
r"""<p>导出配置参数</p>
|
|
11561
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11562
|
+
:rtype: list of ExportConfMeta
|
|
11563
|
+
"""
|
|
11564
|
+
return self._ExportConfParamList
|
|
11565
|
+
|
|
11566
|
+
@ExportConfParamList.setter
|
|
11567
|
+
def ExportConfParamList(self, ExportConfParamList):
|
|
11568
|
+
self._ExportConfParamList = ExportConfParamList
|
|
11569
|
+
|
|
11570
|
+
@property
|
|
11571
|
+
def RequestId(self):
|
|
11572
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11573
|
+
:rtype: str
|
|
11574
|
+
"""
|
|
11575
|
+
return self._RequestId
|
|
11576
|
+
|
|
11577
|
+
@RequestId.setter
|
|
11578
|
+
def RequestId(self, RequestId):
|
|
11579
|
+
self._RequestId = RequestId
|
|
11580
|
+
|
|
11581
|
+
|
|
11582
|
+
def _deserialize(self, params):
|
|
11583
|
+
if params.get("ExportConfParamList") is not None:
|
|
11584
|
+
self._ExportConfParamList = []
|
|
11585
|
+
for item in params.get("ExportConfParamList"):
|
|
11586
|
+
obj = ExportConfMeta()
|
|
11587
|
+
obj._deserialize(item)
|
|
11588
|
+
self._ExportConfParamList.append(obj)
|
|
11589
|
+
self._RequestId = params.get("RequestId")
|
|
11590
|
+
|
|
11591
|
+
|
|
11390
11592
|
class DescribeGlobalConfigRequest(AbstractModel):
|
|
11391
11593
|
r"""DescribeGlobalConfig请求参数结构体
|
|
11392
11594
|
|
|
@@ -21296,6 +21498,161 @@ class Execution(AbstractModel):
|
|
|
21296
21498
|
|
|
21297
21499
|
|
|
21298
21500
|
|
|
21501
|
+
class ExportConfContext(AbstractModel):
|
|
21502
|
+
r"""指定要导出配置的上下文结构
|
|
21503
|
+
|
|
21504
|
+
"""
|
|
21505
|
+
|
|
21506
|
+
def __init__(self):
|
|
21507
|
+
r"""
|
|
21508
|
+
:param _ServiceType: <p>服务配置</p>
|
|
21509
|
+
:type ServiceType: int
|
|
21510
|
+
:param _FileName: <p>文件名</p>
|
|
21511
|
+
:type FileName: str
|
|
21512
|
+
:param _ServiceName: <p>服务名称</p>
|
|
21513
|
+
:type ServiceName: str
|
|
21514
|
+
"""
|
|
21515
|
+
self._ServiceType = None
|
|
21516
|
+
self._FileName = None
|
|
21517
|
+
self._ServiceName = None
|
|
21518
|
+
|
|
21519
|
+
@property
|
|
21520
|
+
def ServiceType(self):
|
|
21521
|
+
r"""<p>服务配置</p>
|
|
21522
|
+
:rtype: int
|
|
21523
|
+
"""
|
|
21524
|
+
return self._ServiceType
|
|
21525
|
+
|
|
21526
|
+
@ServiceType.setter
|
|
21527
|
+
def ServiceType(self, ServiceType):
|
|
21528
|
+
self._ServiceType = ServiceType
|
|
21529
|
+
|
|
21530
|
+
@property
|
|
21531
|
+
def FileName(self):
|
|
21532
|
+
r"""<p>文件名</p>
|
|
21533
|
+
:rtype: str
|
|
21534
|
+
"""
|
|
21535
|
+
return self._FileName
|
|
21536
|
+
|
|
21537
|
+
@FileName.setter
|
|
21538
|
+
def FileName(self, FileName):
|
|
21539
|
+
self._FileName = FileName
|
|
21540
|
+
|
|
21541
|
+
@property
|
|
21542
|
+
def ServiceName(self):
|
|
21543
|
+
r"""<p>服务名称</p>
|
|
21544
|
+
:rtype: str
|
|
21545
|
+
"""
|
|
21546
|
+
return self._ServiceName
|
|
21547
|
+
|
|
21548
|
+
@ServiceName.setter
|
|
21549
|
+
def ServiceName(self, ServiceName):
|
|
21550
|
+
self._ServiceName = ServiceName
|
|
21551
|
+
|
|
21552
|
+
|
|
21553
|
+
def _deserialize(self, params):
|
|
21554
|
+
self._ServiceType = params.get("ServiceType")
|
|
21555
|
+
self._FileName = params.get("FileName")
|
|
21556
|
+
self._ServiceName = params.get("ServiceName")
|
|
21557
|
+
memeber_set = set(params.keys())
|
|
21558
|
+
for name, value in vars(self).items():
|
|
21559
|
+
property_name = name[1:]
|
|
21560
|
+
if property_name in memeber_set:
|
|
21561
|
+
memeber_set.remove(property_name)
|
|
21562
|
+
if len(memeber_set) > 0:
|
|
21563
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
21564
|
+
|
|
21565
|
+
|
|
21566
|
+
|
|
21567
|
+
class ExportConfMeta(AbstractModel):
|
|
21568
|
+
r"""导出配置结构体
|
|
21569
|
+
|
|
21570
|
+
"""
|
|
21571
|
+
|
|
21572
|
+
def __init__(self):
|
|
21573
|
+
r"""
|
|
21574
|
+
:param _ServiceName: <p>组件名称</p>
|
|
21575
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21576
|
+
:type ServiceName: str
|
|
21577
|
+
:param _Classification: <p>文件名</p>
|
|
21578
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21579
|
+
:type Classification: str
|
|
21580
|
+
:param _ServiceVersion: <p>组件版本</p>
|
|
21581
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21582
|
+
:type ServiceVersion: str
|
|
21583
|
+
:param _Properties: <p>导出配置参数</p>
|
|
21584
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21585
|
+
:type Properties: str
|
|
21586
|
+
"""
|
|
21587
|
+
self._ServiceName = None
|
|
21588
|
+
self._Classification = None
|
|
21589
|
+
self._ServiceVersion = None
|
|
21590
|
+
self._Properties = None
|
|
21591
|
+
|
|
21592
|
+
@property
|
|
21593
|
+
def ServiceName(self):
|
|
21594
|
+
r"""<p>组件名称</p>
|
|
21595
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21596
|
+
:rtype: str
|
|
21597
|
+
"""
|
|
21598
|
+
return self._ServiceName
|
|
21599
|
+
|
|
21600
|
+
@ServiceName.setter
|
|
21601
|
+
def ServiceName(self, ServiceName):
|
|
21602
|
+
self._ServiceName = ServiceName
|
|
21603
|
+
|
|
21604
|
+
@property
|
|
21605
|
+
def Classification(self):
|
|
21606
|
+
r"""<p>文件名</p>
|
|
21607
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21608
|
+
:rtype: str
|
|
21609
|
+
"""
|
|
21610
|
+
return self._Classification
|
|
21611
|
+
|
|
21612
|
+
@Classification.setter
|
|
21613
|
+
def Classification(self, Classification):
|
|
21614
|
+
self._Classification = Classification
|
|
21615
|
+
|
|
21616
|
+
@property
|
|
21617
|
+
def ServiceVersion(self):
|
|
21618
|
+
r"""<p>组件版本</p>
|
|
21619
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21620
|
+
:rtype: str
|
|
21621
|
+
"""
|
|
21622
|
+
return self._ServiceVersion
|
|
21623
|
+
|
|
21624
|
+
@ServiceVersion.setter
|
|
21625
|
+
def ServiceVersion(self, ServiceVersion):
|
|
21626
|
+
self._ServiceVersion = ServiceVersion
|
|
21627
|
+
|
|
21628
|
+
@property
|
|
21629
|
+
def Properties(self):
|
|
21630
|
+
r"""<p>导出配置参数</p>
|
|
21631
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21632
|
+
:rtype: str
|
|
21633
|
+
"""
|
|
21634
|
+
return self._Properties
|
|
21635
|
+
|
|
21636
|
+
@Properties.setter
|
|
21637
|
+
def Properties(self, Properties):
|
|
21638
|
+
self._Properties = Properties
|
|
21639
|
+
|
|
21640
|
+
|
|
21641
|
+
def _deserialize(self, params):
|
|
21642
|
+
self._ServiceName = params.get("ServiceName")
|
|
21643
|
+
self._Classification = params.get("Classification")
|
|
21644
|
+
self._ServiceVersion = params.get("ServiceVersion")
|
|
21645
|
+
self._Properties = params.get("Properties")
|
|
21646
|
+
memeber_set = set(params.keys())
|
|
21647
|
+
for name, value in vars(self).items():
|
|
21648
|
+
property_name = name[1:]
|
|
21649
|
+
if property_name in memeber_set:
|
|
21650
|
+
memeber_set.remove(property_name)
|
|
21651
|
+
if len(memeber_set) > 0:
|
|
21652
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
21653
|
+
|
|
21654
|
+
|
|
21655
|
+
|
|
21299
21656
|
class ExternalAccess(AbstractModel):
|
|
21300
21657
|
r"""容器集群外部访问设置
|
|
21301
21658
|
|
|
@@ -29901,6 +30258,155 @@ class ModifySLInstanceResponse(AbstractModel):
|
|
|
29901
30258
|
self._RequestId = params.get("RequestId")
|
|
29902
30259
|
|
|
29903
30260
|
|
|
30261
|
+
class ModifyServiceParamsByExportConfsRequest(AbstractModel):
|
|
30262
|
+
r"""ModifyServiceParamsByExportConfs请求参数结构体
|
|
30263
|
+
|
|
30264
|
+
"""
|
|
30265
|
+
|
|
30266
|
+
def __init__(self):
|
|
30267
|
+
r"""
|
|
30268
|
+
:param _InstanceId: <p>集群id</p>
|
|
30269
|
+
:type InstanceId: str
|
|
30270
|
+
:param _ExportConfParamList: <p>导入配置项</p>
|
|
30271
|
+
:type ExportConfParamList: list of ExportConfMeta
|
|
30272
|
+
:param _IpList: <p>ip</p>
|
|
30273
|
+
:type IpList: list of str
|
|
30274
|
+
:param _ConfGroupName: <p>配置组</p>
|
|
30275
|
+
:type ConfGroupName: str
|
|
30276
|
+
"""
|
|
30277
|
+
self._InstanceId = None
|
|
30278
|
+
self._ExportConfParamList = None
|
|
30279
|
+
self._IpList = None
|
|
30280
|
+
self._ConfGroupName = None
|
|
30281
|
+
|
|
30282
|
+
@property
|
|
30283
|
+
def InstanceId(self):
|
|
30284
|
+
r"""<p>集群id</p>
|
|
30285
|
+
:rtype: str
|
|
30286
|
+
"""
|
|
30287
|
+
return self._InstanceId
|
|
30288
|
+
|
|
30289
|
+
@InstanceId.setter
|
|
30290
|
+
def InstanceId(self, InstanceId):
|
|
30291
|
+
self._InstanceId = InstanceId
|
|
30292
|
+
|
|
30293
|
+
@property
|
|
30294
|
+
def ExportConfParamList(self):
|
|
30295
|
+
r"""<p>导入配置项</p>
|
|
30296
|
+
:rtype: list of ExportConfMeta
|
|
30297
|
+
"""
|
|
30298
|
+
return self._ExportConfParamList
|
|
30299
|
+
|
|
30300
|
+
@ExportConfParamList.setter
|
|
30301
|
+
def ExportConfParamList(self, ExportConfParamList):
|
|
30302
|
+
self._ExportConfParamList = ExportConfParamList
|
|
30303
|
+
|
|
30304
|
+
@property
|
|
30305
|
+
def IpList(self):
|
|
30306
|
+
r"""<p>ip</p>
|
|
30307
|
+
:rtype: list of str
|
|
30308
|
+
"""
|
|
30309
|
+
return self._IpList
|
|
30310
|
+
|
|
30311
|
+
@IpList.setter
|
|
30312
|
+
def IpList(self, IpList):
|
|
30313
|
+
self._IpList = IpList
|
|
30314
|
+
|
|
30315
|
+
@property
|
|
30316
|
+
def ConfGroupName(self):
|
|
30317
|
+
r"""<p>配置组</p>
|
|
30318
|
+
:rtype: str
|
|
30319
|
+
"""
|
|
30320
|
+
return self._ConfGroupName
|
|
30321
|
+
|
|
30322
|
+
@ConfGroupName.setter
|
|
30323
|
+
def ConfGroupName(self, ConfGroupName):
|
|
30324
|
+
self._ConfGroupName = ConfGroupName
|
|
30325
|
+
|
|
30326
|
+
|
|
30327
|
+
def _deserialize(self, params):
|
|
30328
|
+
self._InstanceId = params.get("InstanceId")
|
|
30329
|
+
if params.get("ExportConfParamList") is not None:
|
|
30330
|
+
self._ExportConfParamList = []
|
|
30331
|
+
for item in params.get("ExportConfParamList"):
|
|
30332
|
+
obj = ExportConfMeta()
|
|
30333
|
+
obj._deserialize(item)
|
|
30334
|
+
self._ExportConfParamList.append(obj)
|
|
30335
|
+
self._IpList = params.get("IpList")
|
|
30336
|
+
self._ConfGroupName = params.get("ConfGroupName")
|
|
30337
|
+
memeber_set = set(params.keys())
|
|
30338
|
+
for name, value in vars(self).items():
|
|
30339
|
+
property_name = name[1:]
|
|
30340
|
+
if property_name in memeber_set:
|
|
30341
|
+
memeber_set.remove(property_name)
|
|
30342
|
+
if len(memeber_set) > 0:
|
|
30343
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
30344
|
+
|
|
30345
|
+
|
|
30346
|
+
|
|
30347
|
+
class ModifyServiceParamsByExportConfsResponse(AbstractModel):
|
|
30348
|
+
r"""ModifyServiceParamsByExportConfs返回参数结构体
|
|
30349
|
+
|
|
30350
|
+
"""
|
|
30351
|
+
|
|
30352
|
+
def __init__(self):
|
|
30353
|
+
r"""
|
|
30354
|
+
:param _FlowId: <p>流程id</p>
|
|
30355
|
+
:type FlowId: int
|
|
30356
|
+
:param _WaitModifyConfList: <p>变更项</p>
|
|
30357
|
+
:type WaitModifyConfList: list of ConfSubContext
|
|
30358
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
30359
|
+
:type RequestId: str
|
|
30360
|
+
"""
|
|
30361
|
+
self._FlowId = None
|
|
30362
|
+
self._WaitModifyConfList = None
|
|
30363
|
+
self._RequestId = None
|
|
30364
|
+
|
|
30365
|
+
@property
|
|
30366
|
+
def FlowId(self):
|
|
30367
|
+
r"""<p>流程id</p>
|
|
30368
|
+
:rtype: int
|
|
30369
|
+
"""
|
|
30370
|
+
return self._FlowId
|
|
30371
|
+
|
|
30372
|
+
@FlowId.setter
|
|
30373
|
+
def FlowId(self, FlowId):
|
|
30374
|
+
self._FlowId = FlowId
|
|
30375
|
+
|
|
30376
|
+
@property
|
|
30377
|
+
def WaitModifyConfList(self):
|
|
30378
|
+
r"""<p>变更项</p>
|
|
30379
|
+
:rtype: list of ConfSubContext
|
|
30380
|
+
"""
|
|
30381
|
+
return self._WaitModifyConfList
|
|
30382
|
+
|
|
30383
|
+
@WaitModifyConfList.setter
|
|
30384
|
+
def WaitModifyConfList(self, WaitModifyConfList):
|
|
30385
|
+
self._WaitModifyConfList = WaitModifyConfList
|
|
30386
|
+
|
|
30387
|
+
@property
|
|
30388
|
+
def RequestId(self):
|
|
30389
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
30390
|
+
:rtype: str
|
|
30391
|
+
"""
|
|
30392
|
+
return self._RequestId
|
|
30393
|
+
|
|
30394
|
+
@RequestId.setter
|
|
30395
|
+
def RequestId(self, RequestId):
|
|
30396
|
+
self._RequestId = RequestId
|
|
30397
|
+
|
|
30398
|
+
|
|
30399
|
+
def _deserialize(self, params):
|
|
30400
|
+
self._FlowId = params.get("FlowId")
|
|
30401
|
+
if params.get("WaitModifyConfList") is not None:
|
|
30402
|
+
self._WaitModifyConfList = []
|
|
30403
|
+
for item in params.get("WaitModifyConfList"):
|
|
30404
|
+
obj = ConfSubContext()
|
|
30405
|
+
obj._deserialize(item)
|
|
30406
|
+
self._WaitModifyConfList.append(obj)
|
|
30407
|
+
self._RequestId = params.get("RequestId")
|
|
30408
|
+
|
|
30409
|
+
|
|
29904
30410
|
class ModifyUserGroupRequest(AbstractModel):
|
|
29905
30411
|
r"""ModifyUserGroup请求参数结构体
|
|
29906
30412
|
|
|
@@ -31315,6 +31821,10 @@ class NodeHardwareInfo(AbstractModel):
|
|
|
31315
31821
|
:type GpuDesc: str
|
|
31316
31822
|
:param _DiskHealthIssues: <p>磁盘问题描述</p>
|
|
31317
31823
|
:type DiskHealthIssues: list of DiskHealthIssue
|
|
31824
|
+
:param _NodeGroupId: <p>所在节点组ID</p>
|
|
31825
|
+
:type NodeGroupId: str
|
|
31826
|
+
:param _NodeGroupName: <p>所在节点组名称</p>
|
|
31827
|
+
:type NodeGroupName: str
|
|
31318
31828
|
"""
|
|
31319
31829
|
self._AppId = None
|
|
31320
31830
|
self._SerialNo = None
|
|
@@ -31377,6 +31887,8 @@ class NodeHardwareInfo(AbstractModel):
|
|
|
31377
31887
|
self._UnderwriteSetAutoRenew = None
|
|
31378
31888
|
self._GpuDesc = None
|
|
31379
31889
|
self._DiskHealthIssues = None
|
|
31890
|
+
self._NodeGroupId = None
|
|
31891
|
+
self._NodeGroupName = None
|
|
31380
31892
|
|
|
31381
31893
|
@property
|
|
31382
31894
|
def AppId(self):
|
|
@@ -32053,6 +32565,28 @@ class NodeHardwareInfo(AbstractModel):
|
|
|
32053
32565
|
def DiskHealthIssues(self, DiskHealthIssues):
|
|
32054
32566
|
self._DiskHealthIssues = DiskHealthIssues
|
|
32055
32567
|
|
|
32568
|
+
@property
|
|
32569
|
+
def NodeGroupId(self):
|
|
32570
|
+
r"""<p>所在节点组ID</p>
|
|
32571
|
+
:rtype: str
|
|
32572
|
+
"""
|
|
32573
|
+
return self._NodeGroupId
|
|
32574
|
+
|
|
32575
|
+
@NodeGroupId.setter
|
|
32576
|
+
def NodeGroupId(self, NodeGroupId):
|
|
32577
|
+
self._NodeGroupId = NodeGroupId
|
|
32578
|
+
|
|
32579
|
+
@property
|
|
32580
|
+
def NodeGroupName(self):
|
|
32581
|
+
r"""<p>所在节点组名称</p>
|
|
32582
|
+
:rtype: str
|
|
32583
|
+
"""
|
|
32584
|
+
return self._NodeGroupName
|
|
32585
|
+
|
|
32586
|
+
@NodeGroupName.setter
|
|
32587
|
+
def NodeGroupName(self, NodeGroupName):
|
|
32588
|
+
self._NodeGroupName = NodeGroupName
|
|
32589
|
+
|
|
32056
32590
|
|
|
32057
32591
|
def _deserialize(self, params):
|
|
32058
32592
|
self._AppId = params.get("AppId")
|
|
@@ -32135,6 +32669,8 @@ class NodeHardwareInfo(AbstractModel):
|
|
|
32135
32669
|
obj = DiskHealthIssue()
|
|
32136
32670
|
obj._deserialize(item)
|
|
32137
32671
|
self._DiskHealthIssues.append(obj)
|
|
32672
|
+
self._NodeGroupId = params.get("NodeGroupId")
|
|
32673
|
+
self._NodeGroupName = params.get("NodeGroupName")
|
|
32138
32674
|
memeber_set = set(params.keys())
|
|
32139
32675
|
for name, value in vars(self).items():
|
|
32140
32676
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-emr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.173
|
|
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<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.173
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.173
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.169
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|