tencentcloud-sdk-python-emr 3.1.183__tar.gz → 3.1.200__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.183 → tencentcloud_sdk_python_emr-3.1.200}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_emr-3.1.183 → tencentcloud_sdk_python_emr-3.1.200}/setup.py +1 -1
- {tencentcloud_sdk_python_emr-3.1.183 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_emr-3.1.183 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud/emr/v20190103/models.py +210 -84
- {tencentcloud_sdk_python_emr-3.1.183 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud_sdk_python_emr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_emr-3.1.200/tencentcloud_sdk_python_emr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_emr-3.1.183/tencentcloud_sdk_python_emr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_emr-3.1.183 → tencentcloud_sdk_python_emr-3.1.200}/README.rst +0 -0
- {tencentcloud_sdk_python_emr-3.1.183 → tencentcloud_sdk_python_emr-3.1.200}/setup.cfg +0 -0
- {tencentcloud_sdk_python_emr-3.1.183 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud/emr/__init__.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.183 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud/emr/v20190103/__init__.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.183 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud/emr/v20190103/emr_client.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.183 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud/emr/v20190103/emr_client_async.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.183 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud/emr/v20190103/errorcodes.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.183 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud_sdk_python_emr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_emr-3.1.183 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud_sdk_python_emr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_emr-3.1.183 → tencentcloud_sdk_python_emr-3.1.200}/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.200
|
|
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.200
|
|
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.200,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Emr SDK for Python',
|
|
@@ -5703,6 +5703,8 @@ class CreateCloudInstanceRequest(AbstractModel):
|
|
|
5703
5703
|
:type AirflowDagSource: :class:`tencentcloud.emr.v20190103.models.AirflowDagSourceInput`
|
|
5704
5704
|
:param _AirflowGitCredential: <p>airflow源凭证</p>
|
|
5705
5705
|
:type AirflowGitCredential: :class:`tencentcloud.emr.v20190103.models.AirflowGitCredentialInput`
|
|
5706
|
+
:param _SgIds: <p>多安全组绑定</p>
|
|
5707
|
+
:type SgIds: list of str
|
|
5706
5708
|
"""
|
|
5707
5709
|
self._InstanceName = None
|
|
5708
5710
|
self._ClusterClass = None
|
|
@@ -5731,6 +5733,7 @@ class CreateCloudInstanceRequest(AbstractModel):
|
|
|
5731
5733
|
self._LogStoreID = None
|
|
5732
5734
|
self._AirflowDagSource = None
|
|
5733
5735
|
self._AirflowGitCredential = None
|
|
5736
|
+
self._SgIds = None
|
|
5734
5737
|
|
|
5735
5738
|
@property
|
|
5736
5739
|
def InstanceName(self):
|
|
@@ -6029,6 +6032,17 @@ class CreateCloudInstanceRequest(AbstractModel):
|
|
|
6029
6032
|
def AirflowGitCredential(self, AirflowGitCredential):
|
|
6030
6033
|
self._AirflowGitCredential = AirflowGitCredential
|
|
6031
6034
|
|
|
6035
|
+
@property
|
|
6036
|
+
def SgIds(self):
|
|
6037
|
+
r"""<p>多安全组绑定</p>
|
|
6038
|
+
:rtype: list of str
|
|
6039
|
+
"""
|
|
6040
|
+
return self._SgIds
|
|
6041
|
+
|
|
6042
|
+
@SgIds.setter
|
|
6043
|
+
def SgIds(self, SgIds):
|
|
6044
|
+
self._SgIds = SgIds
|
|
6045
|
+
|
|
6032
6046
|
|
|
6033
6047
|
def _deserialize(self, params):
|
|
6034
6048
|
self._InstanceName = params.get("InstanceName")
|
|
@@ -6087,6 +6101,7 @@ class CreateCloudInstanceRequest(AbstractModel):
|
|
|
6087
6101
|
if params.get("AirflowGitCredential") is not None:
|
|
6088
6102
|
self._AirflowGitCredential = AirflowGitCredentialInput()
|
|
6089
6103
|
self._AirflowGitCredential._deserialize(params.get("AirflowGitCredential"))
|
|
6104
|
+
self._SgIds = params.get("SgIds")
|
|
6090
6105
|
memeber_set = set(params.keys())
|
|
6091
6106
|
for name, value in vars(self).items():
|
|
6092
6107
|
property_name = name[1:]
|
|
@@ -14028,21 +14043,22 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14028
14043
|
|
|
14029
14044
|
def __init__(self):
|
|
14030
14045
|
r"""
|
|
14031
|
-
:param _DisplayStrategy:
|
|
14046
|
+
:param _DisplayStrategy: <p>集群筛选策略。取值范围:<li>clusterList:表示查询除了已销毁集群之外的集群列表。</li><li>monitorManage:表示查询除了已销毁、创建中以及创建失败的集群之外的集群列表。</li><li>cloudHardwareManage/componentManage:目前这两个取值为预留取值,暂时和monitorManage表示同样的含义。</li></p>
|
|
14032
14047
|
:type DisplayStrategy: str
|
|
14033
|
-
:param _Offset:
|
|
14048
|
+
:param _Offset: <p>页编号,默认值为0,表示第一页。</p>
|
|
14034
14049
|
:type Offset: int
|
|
14035
|
-
:param _Limit:
|
|
14036
|
-
如果limit和offset都为0,则查询全部记录;
|
|
14050
|
+
:param _Limit: <p>每页返回数量,默认值为100,最大值为100。<br>如果limit和offset都为0,则查询全部记录;</p>
|
|
14037
14051
|
:type Limit: int
|
|
14038
|
-
:param _OrderField:
|
|
14052
|
+
:param _OrderField: <p>排序字段。取值范围:<li>clusterId:表示按照实例ID排序。</li><li>addTime:表示按照实例创建时间排序。</li><li>status:表示按照实例的状态码排序。</li></p>
|
|
14039
14053
|
:type OrderField: str
|
|
14040
|
-
:param _Asc:
|
|
14054
|
+
:param _Asc: <p>按照OrderField升序或者降序进行排序。取值范围:<li>0:表示升序。</li><li>1:表示降序。</li>默认值为0。</p>
|
|
14041
14055
|
:type Asc: int
|
|
14042
|
-
:param _Filters:
|
|
14056
|
+
:param _Filters: <p>自定义查询过滤器。示例:<li>根据ClusterId过滤实例:[{"Name":"ClusterId","Values":["emr-xxxxxxxx"]}]</li><li>根据clusterName过滤实例:[{"Name": "ClusterName","Values": ["cluster_name"]}]</li><li>根据ClusterStatus过滤实例:[{"Name": "ClusterStatus","Values": ["2"]}]</li></p>
|
|
14043
14057
|
:type Filters: list of Filters
|
|
14044
|
-
:param _ClusterType:
|
|
14058
|
+
:param _ClusterType: <p>默认0为普通集群,2为tke集群</p>
|
|
14045
14059
|
:type ClusterType: int
|
|
14060
|
+
:param _NeedMcpPasswordInfo: <p>是否返回需要密码信息</p>
|
|
14061
|
+
:type NeedMcpPasswordInfo: bool
|
|
14046
14062
|
"""
|
|
14047
14063
|
self._DisplayStrategy = None
|
|
14048
14064
|
self._Offset = None
|
|
@@ -14051,10 +14067,11 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14051
14067
|
self._Asc = None
|
|
14052
14068
|
self._Filters = None
|
|
14053
14069
|
self._ClusterType = None
|
|
14070
|
+
self._NeedMcpPasswordInfo = None
|
|
14054
14071
|
|
|
14055
14072
|
@property
|
|
14056
14073
|
def DisplayStrategy(self):
|
|
14057
|
-
r"""
|
|
14074
|
+
r"""<p>集群筛选策略。取值范围:<li>clusterList:表示查询除了已销毁集群之外的集群列表。</li><li>monitorManage:表示查询除了已销毁、创建中以及创建失败的集群之外的集群列表。</li><li>cloudHardwareManage/componentManage:目前这两个取值为预留取值,暂时和monitorManage表示同样的含义。</li></p>
|
|
14058
14075
|
:rtype: str
|
|
14059
14076
|
"""
|
|
14060
14077
|
return self._DisplayStrategy
|
|
@@ -14065,7 +14082,7 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14065
14082
|
|
|
14066
14083
|
@property
|
|
14067
14084
|
def Offset(self):
|
|
14068
|
-
r"""
|
|
14085
|
+
r"""<p>页编号,默认值为0,表示第一页。</p>
|
|
14069
14086
|
:rtype: int
|
|
14070
14087
|
"""
|
|
14071
14088
|
return self._Offset
|
|
@@ -14076,8 +14093,7 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14076
14093
|
|
|
14077
14094
|
@property
|
|
14078
14095
|
def Limit(self):
|
|
14079
|
-
r"""
|
|
14080
|
-
如果limit和offset都为0,则查询全部记录;
|
|
14096
|
+
r"""<p>每页返回数量,默认值为100,最大值为100。<br>如果limit和offset都为0,则查询全部记录;</p>
|
|
14081
14097
|
:rtype: int
|
|
14082
14098
|
"""
|
|
14083
14099
|
return self._Limit
|
|
@@ -14088,7 +14104,7 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14088
14104
|
|
|
14089
14105
|
@property
|
|
14090
14106
|
def OrderField(self):
|
|
14091
|
-
r"""
|
|
14107
|
+
r"""<p>排序字段。取值范围:<li>clusterId:表示按照实例ID排序。</li><li>addTime:表示按照实例创建时间排序。</li><li>status:表示按照实例的状态码排序。</li></p>
|
|
14092
14108
|
:rtype: str
|
|
14093
14109
|
"""
|
|
14094
14110
|
return self._OrderField
|
|
@@ -14099,7 +14115,7 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14099
14115
|
|
|
14100
14116
|
@property
|
|
14101
14117
|
def Asc(self):
|
|
14102
|
-
r"""
|
|
14118
|
+
r"""<p>按照OrderField升序或者降序进行排序。取值范围:<li>0:表示升序。</li><li>1:表示降序。</li>默认值为0。</p>
|
|
14103
14119
|
:rtype: int
|
|
14104
14120
|
"""
|
|
14105
14121
|
return self._Asc
|
|
@@ -14110,7 +14126,7 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14110
14126
|
|
|
14111
14127
|
@property
|
|
14112
14128
|
def Filters(self):
|
|
14113
|
-
r"""
|
|
14129
|
+
r"""<p>自定义查询过滤器。示例:<li>根据ClusterId过滤实例:[{"Name":"ClusterId","Values":["emr-xxxxxxxx"]}]</li><li>根据clusterName过滤实例:[{"Name": "ClusterName","Values": ["cluster_name"]}]</li><li>根据ClusterStatus过滤实例:[{"Name": "ClusterStatus","Values": ["2"]}]</li></p>
|
|
14114
14130
|
:rtype: list of Filters
|
|
14115
14131
|
"""
|
|
14116
14132
|
return self._Filters
|
|
@@ -14121,7 +14137,7 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14121
14137
|
|
|
14122
14138
|
@property
|
|
14123
14139
|
def ClusterType(self):
|
|
14124
|
-
r"""
|
|
14140
|
+
r"""<p>默认0为普通集群,2为tke集群</p>
|
|
14125
14141
|
:rtype: int
|
|
14126
14142
|
"""
|
|
14127
14143
|
return self._ClusterType
|
|
@@ -14130,6 +14146,17 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14130
14146
|
def ClusterType(self, ClusterType):
|
|
14131
14147
|
self._ClusterType = ClusterType
|
|
14132
14148
|
|
|
14149
|
+
@property
|
|
14150
|
+
def NeedMcpPasswordInfo(self):
|
|
14151
|
+
r"""<p>是否返回需要密码信息</p>
|
|
14152
|
+
:rtype: bool
|
|
14153
|
+
"""
|
|
14154
|
+
return self._NeedMcpPasswordInfo
|
|
14155
|
+
|
|
14156
|
+
@NeedMcpPasswordInfo.setter
|
|
14157
|
+
def NeedMcpPasswordInfo(self, NeedMcpPasswordInfo):
|
|
14158
|
+
self._NeedMcpPasswordInfo = NeedMcpPasswordInfo
|
|
14159
|
+
|
|
14133
14160
|
|
|
14134
14161
|
def _deserialize(self, params):
|
|
14135
14162
|
self._DisplayStrategy = params.get("DisplayStrategy")
|
|
@@ -14144,6 +14171,7 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14144
14171
|
obj._deserialize(item)
|
|
14145
14172
|
self._Filters.append(obj)
|
|
14146
14173
|
self._ClusterType = params.get("ClusterType")
|
|
14174
|
+
self._NeedMcpPasswordInfo = params.get("NeedMcpPasswordInfo")
|
|
14147
14175
|
memeber_set = set(params.keys())
|
|
14148
14176
|
for name, value in vars(self).items():
|
|
14149
14177
|
property_name = name[1:]
|
|
@@ -14161,9 +14189,9 @@ class DescribeInstancesListResponse(AbstractModel):
|
|
|
14161
14189
|
|
|
14162
14190
|
def __init__(self):
|
|
14163
14191
|
r"""
|
|
14164
|
-
:param _TotalCnt:
|
|
14192
|
+
:param _TotalCnt: <p>符合条件的实例总数。</p>
|
|
14165
14193
|
:type TotalCnt: int
|
|
14166
|
-
:param _InstancesList:
|
|
14194
|
+
:param _InstancesList: <p>集群实例列表</p>
|
|
14167
14195
|
:type InstancesList: list of EmrListInstance
|
|
14168
14196
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14169
14197
|
:type RequestId: str
|
|
@@ -14174,7 +14202,7 @@ class DescribeInstancesListResponse(AbstractModel):
|
|
|
14174
14202
|
|
|
14175
14203
|
@property
|
|
14176
14204
|
def TotalCnt(self):
|
|
14177
|
-
r"""
|
|
14205
|
+
r"""<p>符合条件的实例总数。</p>
|
|
14178
14206
|
:rtype: int
|
|
14179
14207
|
"""
|
|
14180
14208
|
return self._TotalCnt
|
|
@@ -14185,7 +14213,7 @@ class DescribeInstancesListResponse(AbstractModel):
|
|
|
14185
14213
|
|
|
14186
14214
|
@property
|
|
14187
14215
|
def InstancesList(self):
|
|
14188
|
-
r"""
|
|
14216
|
+
r"""<p>集群实例列表</p>
|
|
14189
14217
|
:rtype: list of EmrListInstance
|
|
14190
14218
|
"""
|
|
14191
14219
|
return self._InstancesList
|
|
@@ -20383,72 +20411,78 @@ class EmrListInstance(AbstractModel):
|
|
|
20383
20411
|
|
|
20384
20412
|
def __init__(self):
|
|
20385
20413
|
r"""
|
|
20386
|
-
:param _ClusterId:
|
|
20414
|
+
:param _ClusterId: <p>集群ID</p>
|
|
20387
20415
|
:type ClusterId: str
|
|
20388
|
-
:param _StatusDesc:
|
|
20416
|
+
:param _StatusDesc: <p>常见状态描述:集群生产中,集群运行中,集群创建中,集群已关闭,集群已删除</p>
|
|
20389
20417
|
:type StatusDesc: str
|
|
20390
|
-
:param _ClusterName:
|
|
20418
|
+
:param _ClusterName: <p>集群名字</p>
|
|
20391
20419
|
:type ClusterName: str
|
|
20392
|
-
:param _ZoneId:
|
|
20420
|
+
:param _ZoneId: <p>集群地域</p>
|
|
20393
20421
|
:type ZoneId: int
|
|
20394
|
-
:param _AppId:
|
|
20422
|
+
:param _AppId: <p>用户APPID</p>
|
|
20395
20423
|
:type AppId: int
|
|
20396
|
-
:param _AddTime:
|
|
20424
|
+
:param _AddTime: <p>创建时间</p>
|
|
20397
20425
|
:type AddTime: str
|
|
20398
|
-
:param _RunTime:
|
|
20426
|
+
:param _RunTime: <p>运行时间</p>
|
|
20399
20427
|
:type RunTime: str
|
|
20400
|
-
:param _MasterIp:
|
|
20428
|
+
:param _MasterIp: <p>集群IP</p>
|
|
20401
20429
|
:type MasterIp: str
|
|
20402
|
-
:param _EmrVersion:
|
|
20430
|
+
:param _EmrVersion: <p>集群版本</p>
|
|
20403
20431
|
:type EmrVersion: str
|
|
20404
|
-
:param _ChargeType:
|
|
20432
|
+
:param _ChargeType: <p>集群计费类型</p>
|
|
20405
20433
|
:type ChargeType: int
|
|
20406
|
-
:param _Id: emr ID
|
|
20434
|
+
:param _Id: <p>emr ID</p>
|
|
20407
20435
|
:type Id: int
|
|
20408
|
-
:param _ProductId:
|
|
20436
|
+
:param _ProductId: <p>产品ID</p>
|
|
20409
20437
|
:type ProductId: int
|
|
20410
|
-
:param _ProjectId:
|
|
20438
|
+
:param _ProjectId: <p>项目ID</p>
|
|
20411
20439
|
:type ProjectId: int
|
|
20412
|
-
:param _RegionId:
|
|
20440
|
+
:param _RegionId: <p>区域</p>
|
|
20413
20441
|
:type RegionId: int
|
|
20414
|
-
:param _SubnetId:
|
|
20442
|
+
:param _SubnetId: <p>子网ID</p>
|
|
20415
20443
|
:type SubnetId: int
|
|
20416
|
-
:param _VpcId:
|
|
20444
|
+
:param _VpcId: <p>网络ID</p>
|
|
20417
20445
|
:type VpcId: int
|
|
20418
|
-
:param _Zone:
|
|
20446
|
+
:param _Zone: <p>地区</p>
|
|
20419
20447
|
:type Zone: str
|
|
20420
|
-
:param _Status:
|
|
20448
|
+
:param _Status: <p>状态码, 取值为-2(集群已删除), -1(集群已关闭), 0(集群生产中), 2(集群运行中), 3(集群创建中)</p>
|
|
20421
20449
|
:type Status: int
|
|
20422
|
-
:param _Tags:
|
|
20450
|
+
:param _Tags: <p>实例标签</p>
|
|
20423
20451
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
20424
20452
|
:type Tags: list of Tag
|
|
20425
|
-
:param _AlarmInfo:
|
|
20453
|
+
:param _AlarmInfo: <p>告警信息</p>
|
|
20426
20454
|
:type AlarmInfo: str
|
|
20427
|
-
:param _IsWoodpeckerCluster:
|
|
20455
|
+
:param _IsWoodpeckerCluster: <p>是否是woodpecker集群</p>
|
|
20428
20456
|
:type IsWoodpeckerCluster: int
|
|
20429
|
-
:param _VpcName: Vpc
|
|
20457
|
+
:param _VpcName: <p>Vpc中文</p>
|
|
20430
20458
|
:type VpcName: str
|
|
20431
|
-
:param _SubnetName:
|
|
20459
|
+
:param _SubnetName: <p>子网中文</p>
|
|
20432
20460
|
:type SubnetName: str
|
|
20433
|
-
:param _UniqVpcId:
|
|
20461
|
+
:param _UniqVpcId: <p>字符串VpcId</p>
|
|
20434
20462
|
:type UniqVpcId: str
|
|
20435
|
-
:param _UniqSubnetId:
|
|
20463
|
+
:param _UniqSubnetId: <p>字符串子网</p>
|
|
20436
20464
|
:type UniqSubnetId: str
|
|
20437
|
-
:param _ClusterClass:
|
|
20465
|
+
:param _ClusterClass: <p>集群类型</p>
|
|
20438
20466
|
:type ClusterClass: str
|
|
20439
|
-
:param _IsMultiZoneCluster:
|
|
20467
|
+
:param _IsMultiZoneCluster: <p>是否为跨AZ集群</p>
|
|
20440
20468
|
:type IsMultiZoneCluster: bool
|
|
20441
|
-
:param _IsHandsCluster:
|
|
20469
|
+
:param _IsHandsCluster: <p>是否手戳集群</p>
|
|
20442
20470
|
:type IsHandsCluster: bool
|
|
20443
|
-
:param _OutSideSoftInfo:
|
|
20471
|
+
:param _OutSideSoftInfo: <p>体外客户端组件信息</p>
|
|
20444
20472
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
20445
20473
|
:type OutSideSoftInfo: list of SoftDependInfo
|
|
20446
|
-
:param _IsSupportOutsideCluster:
|
|
20474
|
+
:param _IsSupportOutsideCluster: <p>当前集群的应用场景是否支持体外客户端</p>
|
|
20447
20475
|
:type IsSupportOutsideCluster: bool
|
|
20448
|
-
:param _IsDedicatedCluster:
|
|
20476
|
+
:param _IsDedicatedCluster: <p>是否专有集群场景集群</p>
|
|
20449
20477
|
:type IsDedicatedCluster: bool
|
|
20450
|
-
:param _IsSupportClone:
|
|
20478
|
+
:param _IsSupportClone: <p>集群支持克隆</p>
|
|
20451
20479
|
:type IsSupportClone: bool
|
|
20480
|
+
:param _Soft: <p>集群包含的组件</p>
|
|
20481
|
+
:type Soft: list of str
|
|
20482
|
+
:param _IsTerminateProtection: <p>是否开启了实例保护</p>
|
|
20483
|
+
:type IsTerminateProtection: bool
|
|
20484
|
+
:param _McpPasswordInfo: <p>mcp密码信息</p>
|
|
20485
|
+
:type McpPasswordInfo: :class:`tencentcloud.emr.v20190103.models.McpPasswordInfo`
|
|
20452
20486
|
"""
|
|
20453
20487
|
self._ClusterId = None
|
|
20454
20488
|
self._StatusDesc = None
|
|
@@ -20482,10 +20516,13 @@ class EmrListInstance(AbstractModel):
|
|
|
20482
20516
|
self._IsSupportOutsideCluster = None
|
|
20483
20517
|
self._IsDedicatedCluster = None
|
|
20484
20518
|
self._IsSupportClone = None
|
|
20519
|
+
self._Soft = None
|
|
20520
|
+
self._IsTerminateProtection = None
|
|
20521
|
+
self._McpPasswordInfo = None
|
|
20485
20522
|
|
|
20486
20523
|
@property
|
|
20487
20524
|
def ClusterId(self):
|
|
20488
|
-
r"""
|
|
20525
|
+
r"""<p>集群ID</p>
|
|
20489
20526
|
:rtype: str
|
|
20490
20527
|
"""
|
|
20491
20528
|
return self._ClusterId
|
|
@@ -20496,7 +20533,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20496
20533
|
|
|
20497
20534
|
@property
|
|
20498
20535
|
def StatusDesc(self):
|
|
20499
|
-
r"""
|
|
20536
|
+
r"""<p>常见状态描述:集群生产中,集群运行中,集群创建中,集群已关闭,集群已删除</p>
|
|
20500
20537
|
:rtype: str
|
|
20501
20538
|
"""
|
|
20502
20539
|
return self._StatusDesc
|
|
@@ -20507,7 +20544,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20507
20544
|
|
|
20508
20545
|
@property
|
|
20509
20546
|
def ClusterName(self):
|
|
20510
|
-
r"""
|
|
20547
|
+
r"""<p>集群名字</p>
|
|
20511
20548
|
:rtype: str
|
|
20512
20549
|
"""
|
|
20513
20550
|
return self._ClusterName
|
|
@@ -20518,7 +20555,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20518
20555
|
|
|
20519
20556
|
@property
|
|
20520
20557
|
def ZoneId(self):
|
|
20521
|
-
r"""
|
|
20558
|
+
r"""<p>集群地域</p>
|
|
20522
20559
|
:rtype: int
|
|
20523
20560
|
"""
|
|
20524
20561
|
return self._ZoneId
|
|
@@ -20529,7 +20566,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20529
20566
|
|
|
20530
20567
|
@property
|
|
20531
20568
|
def AppId(self):
|
|
20532
|
-
r"""
|
|
20569
|
+
r"""<p>用户APPID</p>
|
|
20533
20570
|
:rtype: int
|
|
20534
20571
|
"""
|
|
20535
20572
|
return self._AppId
|
|
@@ -20540,7 +20577,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20540
20577
|
|
|
20541
20578
|
@property
|
|
20542
20579
|
def AddTime(self):
|
|
20543
|
-
r"""
|
|
20580
|
+
r"""<p>创建时间</p>
|
|
20544
20581
|
:rtype: str
|
|
20545
20582
|
"""
|
|
20546
20583
|
return self._AddTime
|
|
@@ -20551,7 +20588,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20551
20588
|
|
|
20552
20589
|
@property
|
|
20553
20590
|
def RunTime(self):
|
|
20554
|
-
r"""
|
|
20591
|
+
r"""<p>运行时间</p>
|
|
20555
20592
|
:rtype: str
|
|
20556
20593
|
"""
|
|
20557
20594
|
return self._RunTime
|
|
@@ -20562,7 +20599,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20562
20599
|
|
|
20563
20600
|
@property
|
|
20564
20601
|
def MasterIp(self):
|
|
20565
|
-
r"""
|
|
20602
|
+
r"""<p>集群IP</p>
|
|
20566
20603
|
:rtype: str
|
|
20567
20604
|
"""
|
|
20568
20605
|
return self._MasterIp
|
|
@@ -20573,7 +20610,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20573
20610
|
|
|
20574
20611
|
@property
|
|
20575
20612
|
def EmrVersion(self):
|
|
20576
|
-
r"""
|
|
20613
|
+
r"""<p>集群版本</p>
|
|
20577
20614
|
:rtype: str
|
|
20578
20615
|
"""
|
|
20579
20616
|
return self._EmrVersion
|
|
@@ -20584,7 +20621,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20584
20621
|
|
|
20585
20622
|
@property
|
|
20586
20623
|
def ChargeType(self):
|
|
20587
|
-
r"""
|
|
20624
|
+
r"""<p>集群计费类型</p>
|
|
20588
20625
|
:rtype: int
|
|
20589
20626
|
"""
|
|
20590
20627
|
return self._ChargeType
|
|
@@ -20595,7 +20632,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20595
20632
|
|
|
20596
20633
|
@property
|
|
20597
20634
|
def Id(self):
|
|
20598
|
-
r"""emr ID
|
|
20635
|
+
r"""<p>emr ID</p>
|
|
20599
20636
|
:rtype: int
|
|
20600
20637
|
"""
|
|
20601
20638
|
return self._Id
|
|
@@ -20606,7 +20643,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20606
20643
|
|
|
20607
20644
|
@property
|
|
20608
20645
|
def ProductId(self):
|
|
20609
|
-
r"""
|
|
20646
|
+
r"""<p>产品ID</p>
|
|
20610
20647
|
:rtype: int
|
|
20611
20648
|
"""
|
|
20612
20649
|
return self._ProductId
|
|
@@ -20617,7 +20654,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20617
20654
|
|
|
20618
20655
|
@property
|
|
20619
20656
|
def ProjectId(self):
|
|
20620
|
-
r"""
|
|
20657
|
+
r"""<p>项目ID</p>
|
|
20621
20658
|
:rtype: int
|
|
20622
20659
|
"""
|
|
20623
20660
|
return self._ProjectId
|
|
@@ -20628,7 +20665,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20628
20665
|
|
|
20629
20666
|
@property
|
|
20630
20667
|
def RegionId(self):
|
|
20631
|
-
r"""
|
|
20668
|
+
r"""<p>区域</p>
|
|
20632
20669
|
:rtype: int
|
|
20633
20670
|
"""
|
|
20634
20671
|
return self._RegionId
|
|
@@ -20639,7 +20676,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20639
20676
|
|
|
20640
20677
|
@property
|
|
20641
20678
|
def SubnetId(self):
|
|
20642
|
-
r"""
|
|
20679
|
+
r"""<p>子网ID</p>
|
|
20643
20680
|
:rtype: int
|
|
20644
20681
|
"""
|
|
20645
20682
|
return self._SubnetId
|
|
@@ -20650,7 +20687,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20650
20687
|
|
|
20651
20688
|
@property
|
|
20652
20689
|
def VpcId(self):
|
|
20653
|
-
r"""
|
|
20690
|
+
r"""<p>网络ID</p>
|
|
20654
20691
|
:rtype: int
|
|
20655
20692
|
"""
|
|
20656
20693
|
return self._VpcId
|
|
@@ -20661,7 +20698,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20661
20698
|
|
|
20662
20699
|
@property
|
|
20663
20700
|
def Zone(self):
|
|
20664
|
-
r"""
|
|
20701
|
+
r"""<p>地区</p>
|
|
20665
20702
|
:rtype: str
|
|
20666
20703
|
"""
|
|
20667
20704
|
return self._Zone
|
|
@@ -20672,7 +20709,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20672
20709
|
|
|
20673
20710
|
@property
|
|
20674
20711
|
def Status(self):
|
|
20675
|
-
r"""
|
|
20712
|
+
r"""<p>状态码, 取值为-2(集群已删除), -1(集群已关闭), 0(集群生产中), 2(集群运行中), 3(集群创建中)</p>
|
|
20676
20713
|
:rtype: int
|
|
20677
20714
|
"""
|
|
20678
20715
|
return self._Status
|
|
@@ -20683,7 +20720,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20683
20720
|
|
|
20684
20721
|
@property
|
|
20685
20722
|
def Tags(self):
|
|
20686
|
-
r"""
|
|
20723
|
+
r"""<p>实例标签</p>
|
|
20687
20724
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
20688
20725
|
:rtype: list of Tag
|
|
20689
20726
|
"""
|
|
@@ -20695,7 +20732,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20695
20732
|
|
|
20696
20733
|
@property
|
|
20697
20734
|
def AlarmInfo(self):
|
|
20698
|
-
r"""
|
|
20735
|
+
r"""<p>告警信息</p>
|
|
20699
20736
|
:rtype: str
|
|
20700
20737
|
"""
|
|
20701
20738
|
return self._AlarmInfo
|
|
@@ -20706,7 +20743,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20706
20743
|
|
|
20707
20744
|
@property
|
|
20708
20745
|
def IsWoodpeckerCluster(self):
|
|
20709
|
-
r"""
|
|
20746
|
+
r"""<p>是否是woodpecker集群</p>
|
|
20710
20747
|
:rtype: int
|
|
20711
20748
|
"""
|
|
20712
20749
|
return self._IsWoodpeckerCluster
|
|
@@ -20717,7 +20754,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20717
20754
|
|
|
20718
20755
|
@property
|
|
20719
20756
|
def VpcName(self):
|
|
20720
|
-
r"""Vpc
|
|
20757
|
+
r"""<p>Vpc中文</p>
|
|
20721
20758
|
:rtype: str
|
|
20722
20759
|
"""
|
|
20723
20760
|
return self._VpcName
|
|
@@ -20728,7 +20765,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20728
20765
|
|
|
20729
20766
|
@property
|
|
20730
20767
|
def SubnetName(self):
|
|
20731
|
-
r"""
|
|
20768
|
+
r"""<p>子网中文</p>
|
|
20732
20769
|
:rtype: str
|
|
20733
20770
|
"""
|
|
20734
20771
|
return self._SubnetName
|
|
@@ -20739,7 +20776,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20739
20776
|
|
|
20740
20777
|
@property
|
|
20741
20778
|
def UniqVpcId(self):
|
|
20742
|
-
r"""
|
|
20779
|
+
r"""<p>字符串VpcId</p>
|
|
20743
20780
|
:rtype: str
|
|
20744
20781
|
"""
|
|
20745
20782
|
return self._UniqVpcId
|
|
@@ -20750,7 +20787,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20750
20787
|
|
|
20751
20788
|
@property
|
|
20752
20789
|
def UniqSubnetId(self):
|
|
20753
|
-
r"""
|
|
20790
|
+
r"""<p>字符串子网</p>
|
|
20754
20791
|
:rtype: str
|
|
20755
20792
|
"""
|
|
20756
20793
|
return self._UniqSubnetId
|
|
@@ -20761,7 +20798,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20761
20798
|
|
|
20762
20799
|
@property
|
|
20763
20800
|
def ClusterClass(self):
|
|
20764
|
-
r"""
|
|
20801
|
+
r"""<p>集群类型</p>
|
|
20765
20802
|
:rtype: str
|
|
20766
20803
|
"""
|
|
20767
20804
|
return self._ClusterClass
|
|
@@ -20772,7 +20809,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20772
20809
|
|
|
20773
20810
|
@property
|
|
20774
20811
|
def IsMultiZoneCluster(self):
|
|
20775
|
-
r"""
|
|
20812
|
+
r"""<p>是否为跨AZ集群</p>
|
|
20776
20813
|
:rtype: bool
|
|
20777
20814
|
"""
|
|
20778
20815
|
return self._IsMultiZoneCluster
|
|
@@ -20783,7 +20820,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20783
20820
|
|
|
20784
20821
|
@property
|
|
20785
20822
|
def IsHandsCluster(self):
|
|
20786
|
-
r"""
|
|
20823
|
+
r"""<p>是否手戳集群</p>
|
|
20787
20824
|
:rtype: bool
|
|
20788
20825
|
"""
|
|
20789
20826
|
return self._IsHandsCluster
|
|
@@ -20794,7 +20831,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20794
20831
|
|
|
20795
20832
|
@property
|
|
20796
20833
|
def OutSideSoftInfo(self):
|
|
20797
|
-
r"""
|
|
20834
|
+
r"""<p>体外客户端组件信息</p>
|
|
20798
20835
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
20799
20836
|
:rtype: list of SoftDependInfo
|
|
20800
20837
|
"""
|
|
@@ -20806,7 +20843,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20806
20843
|
|
|
20807
20844
|
@property
|
|
20808
20845
|
def IsSupportOutsideCluster(self):
|
|
20809
|
-
r"""
|
|
20846
|
+
r"""<p>当前集群的应用场景是否支持体外客户端</p>
|
|
20810
20847
|
:rtype: bool
|
|
20811
20848
|
"""
|
|
20812
20849
|
return self._IsSupportOutsideCluster
|
|
@@ -20817,7 +20854,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20817
20854
|
|
|
20818
20855
|
@property
|
|
20819
20856
|
def IsDedicatedCluster(self):
|
|
20820
|
-
r"""
|
|
20857
|
+
r"""<p>是否专有集群场景集群</p>
|
|
20821
20858
|
:rtype: bool
|
|
20822
20859
|
"""
|
|
20823
20860
|
return self._IsDedicatedCluster
|
|
@@ -20828,7 +20865,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20828
20865
|
|
|
20829
20866
|
@property
|
|
20830
20867
|
def IsSupportClone(self):
|
|
20831
|
-
r"""
|
|
20868
|
+
r"""<p>集群支持克隆</p>
|
|
20832
20869
|
:rtype: bool
|
|
20833
20870
|
"""
|
|
20834
20871
|
return self._IsSupportClone
|
|
@@ -20837,6 +20874,39 @@ class EmrListInstance(AbstractModel):
|
|
|
20837
20874
|
def IsSupportClone(self, IsSupportClone):
|
|
20838
20875
|
self._IsSupportClone = IsSupportClone
|
|
20839
20876
|
|
|
20877
|
+
@property
|
|
20878
|
+
def Soft(self):
|
|
20879
|
+
r"""<p>集群包含的组件</p>
|
|
20880
|
+
:rtype: list of str
|
|
20881
|
+
"""
|
|
20882
|
+
return self._Soft
|
|
20883
|
+
|
|
20884
|
+
@Soft.setter
|
|
20885
|
+
def Soft(self, Soft):
|
|
20886
|
+
self._Soft = Soft
|
|
20887
|
+
|
|
20888
|
+
@property
|
|
20889
|
+
def IsTerminateProtection(self):
|
|
20890
|
+
r"""<p>是否开启了实例保护</p>
|
|
20891
|
+
:rtype: bool
|
|
20892
|
+
"""
|
|
20893
|
+
return self._IsTerminateProtection
|
|
20894
|
+
|
|
20895
|
+
@IsTerminateProtection.setter
|
|
20896
|
+
def IsTerminateProtection(self, IsTerminateProtection):
|
|
20897
|
+
self._IsTerminateProtection = IsTerminateProtection
|
|
20898
|
+
|
|
20899
|
+
@property
|
|
20900
|
+
def McpPasswordInfo(self):
|
|
20901
|
+
r"""<p>mcp密码信息</p>
|
|
20902
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.McpPasswordInfo`
|
|
20903
|
+
"""
|
|
20904
|
+
return self._McpPasswordInfo
|
|
20905
|
+
|
|
20906
|
+
@McpPasswordInfo.setter
|
|
20907
|
+
def McpPasswordInfo(self, McpPasswordInfo):
|
|
20908
|
+
self._McpPasswordInfo = McpPasswordInfo
|
|
20909
|
+
|
|
20840
20910
|
|
|
20841
20911
|
def _deserialize(self, params):
|
|
20842
20912
|
self._ClusterId = params.get("ClusterId")
|
|
@@ -20881,6 +20951,11 @@ class EmrListInstance(AbstractModel):
|
|
|
20881
20951
|
self._IsSupportOutsideCluster = params.get("IsSupportOutsideCluster")
|
|
20882
20952
|
self._IsDedicatedCluster = params.get("IsDedicatedCluster")
|
|
20883
20953
|
self._IsSupportClone = params.get("IsSupportClone")
|
|
20954
|
+
self._Soft = params.get("Soft")
|
|
20955
|
+
self._IsTerminateProtection = params.get("IsTerminateProtection")
|
|
20956
|
+
if params.get("McpPasswordInfo") is not None:
|
|
20957
|
+
self._McpPasswordInfo = McpPasswordInfo()
|
|
20958
|
+
self._McpPasswordInfo._deserialize(params.get("McpPasswordInfo"))
|
|
20884
20959
|
memeber_set = set(params.keys())
|
|
20885
20960
|
for name, value in vars(self).items():
|
|
20886
20961
|
property_name = name[1:]
|
|
@@ -27996,6 +28071,57 @@ class LoginSettings(AbstractModel):
|
|
|
27996
28071
|
|
|
27997
28072
|
|
|
27998
28073
|
|
|
28074
|
+
class McpPasswordInfo(AbstractModel):
|
|
28075
|
+
r"""mcp是否需要密码
|
|
28076
|
+
|
|
28077
|
+
"""
|
|
28078
|
+
|
|
28079
|
+
def __init__(self):
|
|
28080
|
+
r"""
|
|
28081
|
+
:param _HivePasswordRequired: <p>hive是否需要密码</p>
|
|
28082
|
+
:type HivePasswordRequired: bool
|
|
28083
|
+
:param _TrinoPasswordRequired: <p>trino是否需要密码</p>
|
|
28084
|
+
:type TrinoPasswordRequired: bool
|
|
28085
|
+
"""
|
|
28086
|
+
self._HivePasswordRequired = None
|
|
28087
|
+
self._TrinoPasswordRequired = None
|
|
28088
|
+
|
|
28089
|
+
@property
|
|
28090
|
+
def HivePasswordRequired(self):
|
|
28091
|
+
r"""<p>hive是否需要密码</p>
|
|
28092
|
+
:rtype: bool
|
|
28093
|
+
"""
|
|
28094
|
+
return self._HivePasswordRequired
|
|
28095
|
+
|
|
28096
|
+
@HivePasswordRequired.setter
|
|
28097
|
+
def HivePasswordRequired(self, HivePasswordRequired):
|
|
28098
|
+
self._HivePasswordRequired = HivePasswordRequired
|
|
28099
|
+
|
|
28100
|
+
@property
|
|
28101
|
+
def TrinoPasswordRequired(self):
|
|
28102
|
+
r"""<p>trino是否需要密码</p>
|
|
28103
|
+
:rtype: bool
|
|
28104
|
+
"""
|
|
28105
|
+
return self._TrinoPasswordRequired
|
|
28106
|
+
|
|
28107
|
+
@TrinoPasswordRequired.setter
|
|
28108
|
+
def TrinoPasswordRequired(self, TrinoPasswordRequired):
|
|
28109
|
+
self._TrinoPasswordRequired = TrinoPasswordRequired
|
|
28110
|
+
|
|
28111
|
+
|
|
28112
|
+
def _deserialize(self, params):
|
|
28113
|
+
self._HivePasswordRequired = params.get("HivePasswordRequired")
|
|
28114
|
+
self._TrinoPasswordRequired = params.get("TrinoPasswordRequired")
|
|
28115
|
+
memeber_set = set(params.keys())
|
|
28116
|
+
for name, value in vars(self).items():
|
|
28117
|
+
property_name = name[1:]
|
|
28118
|
+
if property_name in memeber_set:
|
|
28119
|
+
memeber_set.remove(property_name)
|
|
28120
|
+
if len(memeber_set) > 0:
|
|
28121
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28122
|
+
|
|
28123
|
+
|
|
28124
|
+
|
|
27999
28125
|
class MetaDbInfo(AbstractModel):
|
|
28000
28126
|
r"""元数据库信息
|
|
28001
28127
|
|
|
@@ -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.200
|
|
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.200
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.200
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.183
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|