tencentcloud-sdk-python-emr 3.1.192__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.192 → tencentcloud_sdk_python_emr-3.1.200}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_emr-3.1.192 → tencentcloud_sdk_python_emr-3.1.200}/setup.py +1 -1
- {tencentcloud_sdk_python_emr-3.1.192 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_emr-3.1.192 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud/emr/v20190103/models.py +195 -84
- {tencentcloud_sdk_python_emr-3.1.192 → 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.192/tencentcloud_sdk_python_emr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_emr-3.1.192 → tencentcloud_sdk_python_emr-3.1.200}/README.rst +0 -0
- {tencentcloud_sdk_python_emr-3.1.192 → tencentcloud_sdk_python_emr-3.1.200}/setup.cfg +0 -0
- {tencentcloud_sdk_python_emr-3.1.192 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud/emr/__init__.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.192 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud/emr/v20190103/__init__.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.192 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud/emr/v20190103/emr_client.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.192 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud/emr/v20190103/emr_client_async.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.192 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud/emr/v20190103/errorcodes.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.192 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud_sdk_python_emr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_emr-3.1.192 → tencentcloud_sdk_python_emr-3.1.200}/tencentcloud_sdk_python_emr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_emr-3.1.192 → 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',
|
|
@@ -14043,21 +14043,22 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14043
14043
|
|
|
14044
14044
|
def __init__(self):
|
|
14045
14045
|
r"""
|
|
14046
|
-
:param _DisplayStrategy:
|
|
14046
|
+
:param _DisplayStrategy: <p>集群筛选策略。取值范围:<li>clusterList:表示查询除了已销毁集群之外的集群列表。</li><li>monitorManage:表示查询除了已销毁、创建中以及创建失败的集群之外的集群列表。</li><li>cloudHardwareManage/componentManage:目前这两个取值为预留取值,暂时和monitorManage表示同样的含义。</li></p>
|
|
14047
14047
|
:type DisplayStrategy: str
|
|
14048
|
-
:param _Offset:
|
|
14048
|
+
:param _Offset: <p>页编号,默认值为0,表示第一页。</p>
|
|
14049
14049
|
:type Offset: int
|
|
14050
|
-
:param _Limit:
|
|
14051
|
-
如果limit和offset都为0,则查询全部记录;
|
|
14050
|
+
:param _Limit: <p>每页返回数量,默认值为100,最大值为100。<br>如果limit和offset都为0,则查询全部记录;</p>
|
|
14052
14051
|
:type Limit: int
|
|
14053
|
-
:param _OrderField:
|
|
14052
|
+
:param _OrderField: <p>排序字段。取值范围:<li>clusterId:表示按照实例ID排序。</li><li>addTime:表示按照实例创建时间排序。</li><li>status:表示按照实例的状态码排序。</li></p>
|
|
14054
14053
|
:type OrderField: str
|
|
14055
|
-
:param _Asc:
|
|
14054
|
+
:param _Asc: <p>按照OrderField升序或者降序进行排序。取值范围:<li>0:表示升序。</li><li>1:表示降序。</li>默认值为0。</p>
|
|
14056
14055
|
:type Asc: int
|
|
14057
|
-
: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>
|
|
14058
14057
|
:type Filters: list of Filters
|
|
14059
|
-
:param _ClusterType:
|
|
14058
|
+
:param _ClusterType: <p>默认0为普通集群,2为tke集群</p>
|
|
14060
14059
|
:type ClusterType: int
|
|
14060
|
+
:param _NeedMcpPasswordInfo: <p>是否返回需要密码信息</p>
|
|
14061
|
+
:type NeedMcpPasswordInfo: bool
|
|
14061
14062
|
"""
|
|
14062
14063
|
self._DisplayStrategy = None
|
|
14063
14064
|
self._Offset = None
|
|
@@ -14066,10 +14067,11 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14066
14067
|
self._Asc = None
|
|
14067
14068
|
self._Filters = None
|
|
14068
14069
|
self._ClusterType = None
|
|
14070
|
+
self._NeedMcpPasswordInfo = None
|
|
14069
14071
|
|
|
14070
14072
|
@property
|
|
14071
14073
|
def DisplayStrategy(self):
|
|
14072
|
-
r"""
|
|
14074
|
+
r"""<p>集群筛选策略。取值范围:<li>clusterList:表示查询除了已销毁集群之外的集群列表。</li><li>monitorManage:表示查询除了已销毁、创建中以及创建失败的集群之外的集群列表。</li><li>cloudHardwareManage/componentManage:目前这两个取值为预留取值,暂时和monitorManage表示同样的含义。</li></p>
|
|
14073
14075
|
:rtype: str
|
|
14074
14076
|
"""
|
|
14075
14077
|
return self._DisplayStrategy
|
|
@@ -14080,7 +14082,7 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14080
14082
|
|
|
14081
14083
|
@property
|
|
14082
14084
|
def Offset(self):
|
|
14083
|
-
r"""
|
|
14085
|
+
r"""<p>页编号,默认值为0,表示第一页。</p>
|
|
14084
14086
|
:rtype: int
|
|
14085
14087
|
"""
|
|
14086
14088
|
return self._Offset
|
|
@@ -14091,8 +14093,7 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14091
14093
|
|
|
14092
14094
|
@property
|
|
14093
14095
|
def Limit(self):
|
|
14094
|
-
r"""
|
|
14095
|
-
如果limit和offset都为0,则查询全部记录;
|
|
14096
|
+
r"""<p>每页返回数量,默认值为100,最大值为100。<br>如果limit和offset都为0,则查询全部记录;</p>
|
|
14096
14097
|
:rtype: int
|
|
14097
14098
|
"""
|
|
14098
14099
|
return self._Limit
|
|
@@ -14103,7 +14104,7 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14103
14104
|
|
|
14104
14105
|
@property
|
|
14105
14106
|
def OrderField(self):
|
|
14106
|
-
r"""
|
|
14107
|
+
r"""<p>排序字段。取值范围:<li>clusterId:表示按照实例ID排序。</li><li>addTime:表示按照实例创建时间排序。</li><li>status:表示按照实例的状态码排序。</li></p>
|
|
14107
14108
|
:rtype: str
|
|
14108
14109
|
"""
|
|
14109
14110
|
return self._OrderField
|
|
@@ -14114,7 +14115,7 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14114
14115
|
|
|
14115
14116
|
@property
|
|
14116
14117
|
def Asc(self):
|
|
14117
|
-
r"""
|
|
14118
|
+
r"""<p>按照OrderField升序或者降序进行排序。取值范围:<li>0:表示升序。</li><li>1:表示降序。</li>默认值为0。</p>
|
|
14118
14119
|
:rtype: int
|
|
14119
14120
|
"""
|
|
14120
14121
|
return self._Asc
|
|
@@ -14125,7 +14126,7 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14125
14126
|
|
|
14126
14127
|
@property
|
|
14127
14128
|
def Filters(self):
|
|
14128
|
-
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>
|
|
14129
14130
|
:rtype: list of Filters
|
|
14130
14131
|
"""
|
|
14131
14132
|
return self._Filters
|
|
@@ -14136,7 +14137,7 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14136
14137
|
|
|
14137
14138
|
@property
|
|
14138
14139
|
def ClusterType(self):
|
|
14139
|
-
r"""
|
|
14140
|
+
r"""<p>默认0为普通集群,2为tke集群</p>
|
|
14140
14141
|
:rtype: int
|
|
14141
14142
|
"""
|
|
14142
14143
|
return self._ClusterType
|
|
@@ -14145,6 +14146,17 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14145
14146
|
def ClusterType(self, ClusterType):
|
|
14146
14147
|
self._ClusterType = ClusterType
|
|
14147
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
|
+
|
|
14148
14160
|
|
|
14149
14161
|
def _deserialize(self, params):
|
|
14150
14162
|
self._DisplayStrategy = params.get("DisplayStrategy")
|
|
@@ -14159,6 +14171,7 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
14159
14171
|
obj._deserialize(item)
|
|
14160
14172
|
self._Filters.append(obj)
|
|
14161
14173
|
self._ClusterType = params.get("ClusterType")
|
|
14174
|
+
self._NeedMcpPasswordInfo = params.get("NeedMcpPasswordInfo")
|
|
14162
14175
|
memeber_set = set(params.keys())
|
|
14163
14176
|
for name, value in vars(self).items():
|
|
14164
14177
|
property_name = name[1:]
|
|
@@ -14176,9 +14189,9 @@ class DescribeInstancesListResponse(AbstractModel):
|
|
|
14176
14189
|
|
|
14177
14190
|
def __init__(self):
|
|
14178
14191
|
r"""
|
|
14179
|
-
:param _TotalCnt:
|
|
14192
|
+
:param _TotalCnt: <p>符合条件的实例总数。</p>
|
|
14180
14193
|
:type TotalCnt: int
|
|
14181
|
-
:param _InstancesList:
|
|
14194
|
+
:param _InstancesList: <p>集群实例列表</p>
|
|
14182
14195
|
:type InstancesList: list of EmrListInstance
|
|
14183
14196
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14184
14197
|
:type RequestId: str
|
|
@@ -14189,7 +14202,7 @@ class DescribeInstancesListResponse(AbstractModel):
|
|
|
14189
14202
|
|
|
14190
14203
|
@property
|
|
14191
14204
|
def TotalCnt(self):
|
|
14192
|
-
r"""
|
|
14205
|
+
r"""<p>符合条件的实例总数。</p>
|
|
14193
14206
|
:rtype: int
|
|
14194
14207
|
"""
|
|
14195
14208
|
return self._TotalCnt
|
|
@@ -14200,7 +14213,7 @@ class DescribeInstancesListResponse(AbstractModel):
|
|
|
14200
14213
|
|
|
14201
14214
|
@property
|
|
14202
14215
|
def InstancesList(self):
|
|
14203
|
-
r"""
|
|
14216
|
+
r"""<p>集群实例列表</p>
|
|
14204
14217
|
:rtype: list of EmrListInstance
|
|
14205
14218
|
"""
|
|
14206
14219
|
return self._InstancesList
|
|
@@ -20398,72 +20411,78 @@ class EmrListInstance(AbstractModel):
|
|
|
20398
20411
|
|
|
20399
20412
|
def __init__(self):
|
|
20400
20413
|
r"""
|
|
20401
|
-
:param _ClusterId:
|
|
20414
|
+
:param _ClusterId: <p>集群ID</p>
|
|
20402
20415
|
:type ClusterId: str
|
|
20403
|
-
:param _StatusDesc:
|
|
20416
|
+
:param _StatusDesc: <p>常见状态描述:集群生产中,集群运行中,集群创建中,集群已关闭,集群已删除</p>
|
|
20404
20417
|
:type StatusDesc: str
|
|
20405
|
-
:param _ClusterName:
|
|
20418
|
+
:param _ClusterName: <p>集群名字</p>
|
|
20406
20419
|
:type ClusterName: str
|
|
20407
|
-
:param _ZoneId:
|
|
20420
|
+
:param _ZoneId: <p>集群地域</p>
|
|
20408
20421
|
:type ZoneId: int
|
|
20409
|
-
:param _AppId:
|
|
20422
|
+
:param _AppId: <p>用户APPID</p>
|
|
20410
20423
|
:type AppId: int
|
|
20411
|
-
:param _AddTime:
|
|
20424
|
+
:param _AddTime: <p>创建时间</p>
|
|
20412
20425
|
:type AddTime: str
|
|
20413
|
-
:param _RunTime:
|
|
20426
|
+
:param _RunTime: <p>运行时间</p>
|
|
20414
20427
|
:type RunTime: str
|
|
20415
|
-
:param _MasterIp:
|
|
20428
|
+
:param _MasterIp: <p>集群IP</p>
|
|
20416
20429
|
:type MasterIp: str
|
|
20417
|
-
:param _EmrVersion:
|
|
20430
|
+
:param _EmrVersion: <p>集群版本</p>
|
|
20418
20431
|
:type EmrVersion: str
|
|
20419
|
-
:param _ChargeType:
|
|
20432
|
+
:param _ChargeType: <p>集群计费类型</p>
|
|
20420
20433
|
:type ChargeType: int
|
|
20421
|
-
:param _Id: emr ID
|
|
20434
|
+
:param _Id: <p>emr ID</p>
|
|
20422
20435
|
:type Id: int
|
|
20423
|
-
:param _ProductId:
|
|
20436
|
+
:param _ProductId: <p>产品ID</p>
|
|
20424
20437
|
:type ProductId: int
|
|
20425
|
-
:param _ProjectId:
|
|
20438
|
+
:param _ProjectId: <p>项目ID</p>
|
|
20426
20439
|
:type ProjectId: int
|
|
20427
|
-
:param _RegionId:
|
|
20440
|
+
:param _RegionId: <p>区域</p>
|
|
20428
20441
|
:type RegionId: int
|
|
20429
|
-
:param _SubnetId:
|
|
20442
|
+
:param _SubnetId: <p>子网ID</p>
|
|
20430
20443
|
:type SubnetId: int
|
|
20431
|
-
:param _VpcId:
|
|
20444
|
+
:param _VpcId: <p>网络ID</p>
|
|
20432
20445
|
:type VpcId: int
|
|
20433
|
-
:param _Zone:
|
|
20446
|
+
:param _Zone: <p>地区</p>
|
|
20434
20447
|
:type Zone: str
|
|
20435
|
-
:param _Status:
|
|
20448
|
+
:param _Status: <p>状态码, 取值为-2(集群已删除), -1(集群已关闭), 0(集群生产中), 2(集群运行中), 3(集群创建中)</p>
|
|
20436
20449
|
:type Status: int
|
|
20437
|
-
:param _Tags:
|
|
20450
|
+
:param _Tags: <p>实例标签</p>
|
|
20438
20451
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
20439
20452
|
:type Tags: list of Tag
|
|
20440
|
-
:param _AlarmInfo:
|
|
20453
|
+
:param _AlarmInfo: <p>告警信息</p>
|
|
20441
20454
|
:type AlarmInfo: str
|
|
20442
|
-
:param _IsWoodpeckerCluster:
|
|
20455
|
+
:param _IsWoodpeckerCluster: <p>是否是woodpecker集群</p>
|
|
20443
20456
|
:type IsWoodpeckerCluster: int
|
|
20444
|
-
:param _VpcName: Vpc
|
|
20457
|
+
:param _VpcName: <p>Vpc中文</p>
|
|
20445
20458
|
:type VpcName: str
|
|
20446
|
-
:param _SubnetName:
|
|
20459
|
+
:param _SubnetName: <p>子网中文</p>
|
|
20447
20460
|
:type SubnetName: str
|
|
20448
|
-
:param _UniqVpcId:
|
|
20461
|
+
:param _UniqVpcId: <p>字符串VpcId</p>
|
|
20449
20462
|
:type UniqVpcId: str
|
|
20450
|
-
:param _UniqSubnetId:
|
|
20463
|
+
:param _UniqSubnetId: <p>字符串子网</p>
|
|
20451
20464
|
:type UniqSubnetId: str
|
|
20452
|
-
:param _ClusterClass:
|
|
20465
|
+
:param _ClusterClass: <p>集群类型</p>
|
|
20453
20466
|
:type ClusterClass: str
|
|
20454
|
-
:param _IsMultiZoneCluster:
|
|
20467
|
+
:param _IsMultiZoneCluster: <p>是否为跨AZ集群</p>
|
|
20455
20468
|
:type IsMultiZoneCluster: bool
|
|
20456
|
-
:param _IsHandsCluster:
|
|
20469
|
+
:param _IsHandsCluster: <p>是否手戳集群</p>
|
|
20457
20470
|
:type IsHandsCluster: bool
|
|
20458
|
-
:param _OutSideSoftInfo:
|
|
20471
|
+
:param _OutSideSoftInfo: <p>体外客户端组件信息</p>
|
|
20459
20472
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
20460
20473
|
:type OutSideSoftInfo: list of SoftDependInfo
|
|
20461
|
-
:param _IsSupportOutsideCluster:
|
|
20474
|
+
:param _IsSupportOutsideCluster: <p>当前集群的应用场景是否支持体外客户端</p>
|
|
20462
20475
|
:type IsSupportOutsideCluster: bool
|
|
20463
|
-
:param _IsDedicatedCluster:
|
|
20476
|
+
:param _IsDedicatedCluster: <p>是否专有集群场景集群</p>
|
|
20464
20477
|
:type IsDedicatedCluster: bool
|
|
20465
|
-
:param _IsSupportClone:
|
|
20478
|
+
:param _IsSupportClone: <p>集群支持克隆</p>
|
|
20466
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`
|
|
20467
20486
|
"""
|
|
20468
20487
|
self._ClusterId = None
|
|
20469
20488
|
self._StatusDesc = None
|
|
@@ -20497,10 +20516,13 @@ class EmrListInstance(AbstractModel):
|
|
|
20497
20516
|
self._IsSupportOutsideCluster = None
|
|
20498
20517
|
self._IsDedicatedCluster = None
|
|
20499
20518
|
self._IsSupportClone = None
|
|
20519
|
+
self._Soft = None
|
|
20520
|
+
self._IsTerminateProtection = None
|
|
20521
|
+
self._McpPasswordInfo = None
|
|
20500
20522
|
|
|
20501
20523
|
@property
|
|
20502
20524
|
def ClusterId(self):
|
|
20503
|
-
r"""
|
|
20525
|
+
r"""<p>集群ID</p>
|
|
20504
20526
|
:rtype: str
|
|
20505
20527
|
"""
|
|
20506
20528
|
return self._ClusterId
|
|
@@ -20511,7 +20533,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20511
20533
|
|
|
20512
20534
|
@property
|
|
20513
20535
|
def StatusDesc(self):
|
|
20514
|
-
r"""
|
|
20536
|
+
r"""<p>常见状态描述:集群生产中,集群运行中,集群创建中,集群已关闭,集群已删除</p>
|
|
20515
20537
|
:rtype: str
|
|
20516
20538
|
"""
|
|
20517
20539
|
return self._StatusDesc
|
|
@@ -20522,7 +20544,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20522
20544
|
|
|
20523
20545
|
@property
|
|
20524
20546
|
def ClusterName(self):
|
|
20525
|
-
r"""
|
|
20547
|
+
r"""<p>集群名字</p>
|
|
20526
20548
|
:rtype: str
|
|
20527
20549
|
"""
|
|
20528
20550
|
return self._ClusterName
|
|
@@ -20533,7 +20555,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20533
20555
|
|
|
20534
20556
|
@property
|
|
20535
20557
|
def ZoneId(self):
|
|
20536
|
-
r"""
|
|
20558
|
+
r"""<p>集群地域</p>
|
|
20537
20559
|
:rtype: int
|
|
20538
20560
|
"""
|
|
20539
20561
|
return self._ZoneId
|
|
@@ -20544,7 +20566,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20544
20566
|
|
|
20545
20567
|
@property
|
|
20546
20568
|
def AppId(self):
|
|
20547
|
-
r"""
|
|
20569
|
+
r"""<p>用户APPID</p>
|
|
20548
20570
|
:rtype: int
|
|
20549
20571
|
"""
|
|
20550
20572
|
return self._AppId
|
|
@@ -20555,7 +20577,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20555
20577
|
|
|
20556
20578
|
@property
|
|
20557
20579
|
def AddTime(self):
|
|
20558
|
-
r"""
|
|
20580
|
+
r"""<p>创建时间</p>
|
|
20559
20581
|
:rtype: str
|
|
20560
20582
|
"""
|
|
20561
20583
|
return self._AddTime
|
|
@@ -20566,7 +20588,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20566
20588
|
|
|
20567
20589
|
@property
|
|
20568
20590
|
def RunTime(self):
|
|
20569
|
-
r"""
|
|
20591
|
+
r"""<p>运行时间</p>
|
|
20570
20592
|
:rtype: str
|
|
20571
20593
|
"""
|
|
20572
20594
|
return self._RunTime
|
|
@@ -20577,7 +20599,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20577
20599
|
|
|
20578
20600
|
@property
|
|
20579
20601
|
def MasterIp(self):
|
|
20580
|
-
r"""
|
|
20602
|
+
r"""<p>集群IP</p>
|
|
20581
20603
|
:rtype: str
|
|
20582
20604
|
"""
|
|
20583
20605
|
return self._MasterIp
|
|
@@ -20588,7 +20610,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20588
20610
|
|
|
20589
20611
|
@property
|
|
20590
20612
|
def EmrVersion(self):
|
|
20591
|
-
r"""
|
|
20613
|
+
r"""<p>集群版本</p>
|
|
20592
20614
|
:rtype: str
|
|
20593
20615
|
"""
|
|
20594
20616
|
return self._EmrVersion
|
|
@@ -20599,7 +20621,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20599
20621
|
|
|
20600
20622
|
@property
|
|
20601
20623
|
def ChargeType(self):
|
|
20602
|
-
r"""
|
|
20624
|
+
r"""<p>集群计费类型</p>
|
|
20603
20625
|
:rtype: int
|
|
20604
20626
|
"""
|
|
20605
20627
|
return self._ChargeType
|
|
@@ -20610,7 +20632,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20610
20632
|
|
|
20611
20633
|
@property
|
|
20612
20634
|
def Id(self):
|
|
20613
|
-
r"""emr ID
|
|
20635
|
+
r"""<p>emr ID</p>
|
|
20614
20636
|
:rtype: int
|
|
20615
20637
|
"""
|
|
20616
20638
|
return self._Id
|
|
@@ -20621,7 +20643,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20621
20643
|
|
|
20622
20644
|
@property
|
|
20623
20645
|
def ProductId(self):
|
|
20624
|
-
r"""
|
|
20646
|
+
r"""<p>产品ID</p>
|
|
20625
20647
|
:rtype: int
|
|
20626
20648
|
"""
|
|
20627
20649
|
return self._ProductId
|
|
@@ -20632,7 +20654,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20632
20654
|
|
|
20633
20655
|
@property
|
|
20634
20656
|
def ProjectId(self):
|
|
20635
|
-
r"""
|
|
20657
|
+
r"""<p>项目ID</p>
|
|
20636
20658
|
:rtype: int
|
|
20637
20659
|
"""
|
|
20638
20660
|
return self._ProjectId
|
|
@@ -20643,7 +20665,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20643
20665
|
|
|
20644
20666
|
@property
|
|
20645
20667
|
def RegionId(self):
|
|
20646
|
-
r"""
|
|
20668
|
+
r"""<p>区域</p>
|
|
20647
20669
|
:rtype: int
|
|
20648
20670
|
"""
|
|
20649
20671
|
return self._RegionId
|
|
@@ -20654,7 +20676,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20654
20676
|
|
|
20655
20677
|
@property
|
|
20656
20678
|
def SubnetId(self):
|
|
20657
|
-
r"""
|
|
20679
|
+
r"""<p>子网ID</p>
|
|
20658
20680
|
:rtype: int
|
|
20659
20681
|
"""
|
|
20660
20682
|
return self._SubnetId
|
|
@@ -20665,7 +20687,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20665
20687
|
|
|
20666
20688
|
@property
|
|
20667
20689
|
def VpcId(self):
|
|
20668
|
-
r"""
|
|
20690
|
+
r"""<p>网络ID</p>
|
|
20669
20691
|
:rtype: int
|
|
20670
20692
|
"""
|
|
20671
20693
|
return self._VpcId
|
|
@@ -20676,7 +20698,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20676
20698
|
|
|
20677
20699
|
@property
|
|
20678
20700
|
def Zone(self):
|
|
20679
|
-
r"""
|
|
20701
|
+
r"""<p>地区</p>
|
|
20680
20702
|
:rtype: str
|
|
20681
20703
|
"""
|
|
20682
20704
|
return self._Zone
|
|
@@ -20687,7 +20709,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20687
20709
|
|
|
20688
20710
|
@property
|
|
20689
20711
|
def Status(self):
|
|
20690
|
-
r"""
|
|
20712
|
+
r"""<p>状态码, 取值为-2(集群已删除), -1(集群已关闭), 0(集群生产中), 2(集群运行中), 3(集群创建中)</p>
|
|
20691
20713
|
:rtype: int
|
|
20692
20714
|
"""
|
|
20693
20715
|
return self._Status
|
|
@@ -20698,7 +20720,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20698
20720
|
|
|
20699
20721
|
@property
|
|
20700
20722
|
def Tags(self):
|
|
20701
|
-
r"""
|
|
20723
|
+
r"""<p>实例标签</p>
|
|
20702
20724
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
20703
20725
|
:rtype: list of Tag
|
|
20704
20726
|
"""
|
|
@@ -20710,7 +20732,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20710
20732
|
|
|
20711
20733
|
@property
|
|
20712
20734
|
def AlarmInfo(self):
|
|
20713
|
-
r"""
|
|
20735
|
+
r"""<p>告警信息</p>
|
|
20714
20736
|
:rtype: str
|
|
20715
20737
|
"""
|
|
20716
20738
|
return self._AlarmInfo
|
|
@@ -20721,7 +20743,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20721
20743
|
|
|
20722
20744
|
@property
|
|
20723
20745
|
def IsWoodpeckerCluster(self):
|
|
20724
|
-
r"""
|
|
20746
|
+
r"""<p>是否是woodpecker集群</p>
|
|
20725
20747
|
:rtype: int
|
|
20726
20748
|
"""
|
|
20727
20749
|
return self._IsWoodpeckerCluster
|
|
@@ -20732,7 +20754,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20732
20754
|
|
|
20733
20755
|
@property
|
|
20734
20756
|
def VpcName(self):
|
|
20735
|
-
r"""Vpc
|
|
20757
|
+
r"""<p>Vpc中文</p>
|
|
20736
20758
|
:rtype: str
|
|
20737
20759
|
"""
|
|
20738
20760
|
return self._VpcName
|
|
@@ -20743,7 +20765,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20743
20765
|
|
|
20744
20766
|
@property
|
|
20745
20767
|
def SubnetName(self):
|
|
20746
|
-
r"""
|
|
20768
|
+
r"""<p>子网中文</p>
|
|
20747
20769
|
:rtype: str
|
|
20748
20770
|
"""
|
|
20749
20771
|
return self._SubnetName
|
|
@@ -20754,7 +20776,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20754
20776
|
|
|
20755
20777
|
@property
|
|
20756
20778
|
def UniqVpcId(self):
|
|
20757
|
-
r"""
|
|
20779
|
+
r"""<p>字符串VpcId</p>
|
|
20758
20780
|
:rtype: str
|
|
20759
20781
|
"""
|
|
20760
20782
|
return self._UniqVpcId
|
|
@@ -20765,7 +20787,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20765
20787
|
|
|
20766
20788
|
@property
|
|
20767
20789
|
def UniqSubnetId(self):
|
|
20768
|
-
r"""
|
|
20790
|
+
r"""<p>字符串子网</p>
|
|
20769
20791
|
:rtype: str
|
|
20770
20792
|
"""
|
|
20771
20793
|
return self._UniqSubnetId
|
|
@@ -20776,7 +20798,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20776
20798
|
|
|
20777
20799
|
@property
|
|
20778
20800
|
def ClusterClass(self):
|
|
20779
|
-
r"""
|
|
20801
|
+
r"""<p>集群类型</p>
|
|
20780
20802
|
:rtype: str
|
|
20781
20803
|
"""
|
|
20782
20804
|
return self._ClusterClass
|
|
@@ -20787,7 +20809,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20787
20809
|
|
|
20788
20810
|
@property
|
|
20789
20811
|
def IsMultiZoneCluster(self):
|
|
20790
|
-
r"""
|
|
20812
|
+
r"""<p>是否为跨AZ集群</p>
|
|
20791
20813
|
:rtype: bool
|
|
20792
20814
|
"""
|
|
20793
20815
|
return self._IsMultiZoneCluster
|
|
@@ -20798,7 +20820,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20798
20820
|
|
|
20799
20821
|
@property
|
|
20800
20822
|
def IsHandsCluster(self):
|
|
20801
|
-
r"""
|
|
20823
|
+
r"""<p>是否手戳集群</p>
|
|
20802
20824
|
:rtype: bool
|
|
20803
20825
|
"""
|
|
20804
20826
|
return self._IsHandsCluster
|
|
@@ -20809,7 +20831,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20809
20831
|
|
|
20810
20832
|
@property
|
|
20811
20833
|
def OutSideSoftInfo(self):
|
|
20812
|
-
r"""
|
|
20834
|
+
r"""<p>体外客户端组件信息</p>
|
|
20813
20835
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
20814
20836
|
:rtype: list of SoftDependInfo
|
|
20815
20837
|
"""
|
|
@@ -20821,7 +20843,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20821
20843
|
|
|
20822
20844
|
@property
|
|
20823
20845
|
def IsSupportOutsideCluster(self):
|
|
20824
|
-
r"""
|
|
20846
|
+
r"""<p>当前集群的应用场景是否支持体外客户端</p>
|
|
20825
20847
|
:rtype: bool
|
|
20826
20848
|
"""
|
|
20827
20849
|
return self._IsSupportOutsideCluster
|
|
@@ -20832,7 +20854,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20832
20854
|
|
|
20833
20855
|
@property
|
|
20834
20856
|
def IsDedicatedCluster(self):
|
|
20835
|
-
r"""
|
|
20857
|
+
r"""<p>是否专有集群场景集群</p>
|
|
20836
20858
|
:rtype: bool
|
|
20837
20859
|
"""
|
|
20838
20860
|
return self._IsDedicatedCluster
|
|
@@ -20843,7 +20865,7 @@ class EmrListInstance(AbstractModel):
|
|
|
20843
20865
|
|
|
20844
20866
|
@property
|
|
20845
20867
|
def IsSupportClone(self):
|
|
20846
|
-
r"""
|
|
20868
|
+
r"""<p>集群支持克隆</p>
|
|
20847
20869
|
:rtype: bool
|
|
20848
20870
|
"""
|
|
20849
20871
|
return self._IsSupportClone
|
|
@@ -20852,6 +20874,39 @@ class EmrListInstance(AbstractModel):
|
|
|
20852
20874
|
def IsSupportClone(self, IsSupportClone):
|
|
20853
20875
|
self._IsSupportClone = IsSupportClone
|
|
20854
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
|
+
|
|
20855
20910
|
|
|
20856
20911
|
def _deserialize(self, params):
|
|
20857
20912
|
self._ClusterId = params.get("ClusterId")
|
|
@@ -20896,6 +20951,11 @@ class EmrListInstance(AbstractModel):
|
|
|
20896
20951
|
self._IsSupportOutsideCluster = params.get("IsSupportOutsideCluster")
|
|
20897
20952
|
self._IsDedicatedCluster = params.get("IsDedicatedCluster")
|
|
20898
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"))
|
|
20899
20959
|
memeber_set = set(params.keys())
|
|
20900
20960
|
for name, value in vars(self).items():
|
|
20901
20961
|
property_name = name[1:]
|
|
@@ -28011,6 +28071,57 @@ class LoginSettings(AbstractModel):
|
|
|
28011
28071
|
|
|
28012
28072
|
|
|
28013
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
|
+
|
|
28014
28125
|
class MetaDbInfo(AbstractModel):
|
|
28015
28126
|
r"""元数据库信息
|
|
28016
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.192
|
|
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
|