tencentcloud-sdk-python-dlc 3.1.157__tar.gz → 3.1.166__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_dlc-3.1.157 → tencentcloud_sdk_python_dlc-3.1.166}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_dlc-3.1.157 → tencentcloud_sdk_python_dlc-3.1.166}/setup.py +1 -1
  3. {tencentcloud_sdk_python_dlc-3.1.157 → tencentcloud_sdk_python_dlc-3.1.166}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_dlc-3.1.157 → tencentcloud_sdk_python_dlc-3.1.166}/tencentcloud/dlc/v20210125/errorcodes.py +12 -0
  5. {tencentcloud_sdk_python_dlc-3.1.157 → tencentcloud_sdk_python_dlc-3.1.166}/tencentcloud/dlc/v20210125/models.py +55 -55
  6. {tencentcloud_sdk_python_dlc-3.1.157 → tencentcloud_sdk_python_dlc-3.1.166}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_dlc-3.1.166/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_dlc-3.1.157/tencentcloud_sdk_python_dlc.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_dlc-3.1.157 → tencentcloud_sdk_python_dlc-3.1.166}/README.rst +0 -0
  10. {tencentcloud_sdk_python_dlc-3.1.157 → tencentcloud_sdk_python_dlc-3.1.166}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_dlc-3.1.157 → tencentcloud_sdk_python_dlc-3.1.166}/tencentcloud/dlc/__init__.py +0 -0
  12. {tencentcloud_sdk_python_dlc-3.1.157 → tencentcloud_sdk_python_dlc-3.1.166}/tencentcloud/dlc/v20210125/__init__.py +0 -0
  13. {tencentcloud_sdk_python_dlc-3.1.157 → tencentcloud_sdk_python_dlc-3.1.166}/tencentcloud/dlc/v20210125/dlc_client.py +0 -0
  14. {tencentcloud_sdk_python_dlc-3.1.157 → tencentcloud_sdk_python_dlc-3.1.166}/tencentcloud/dlc/v20210125/dlc_client_async.py +0 -0
  15. {tencentcloud_sdk_python_dlc-3.1.157 → tencentcloud_sdk_python_dlc-3.1.166}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_dlc-3.1.157 → tencentcloud_sdk_python_dlc-3.1.166}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_dlc-3.1.157 → tencentcloud_sdk_python_dlc-3.1.166}/tencentcloud_sdk_python_dlc.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-dlc
3
- Version: 3.1.157
3
+ Version: 3.1.166
4
4
  Summary: Tencent Cloud Dlc 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.157
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.166
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-dlc',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.157,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.166,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Dlc SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.157'
17
+ __version__ = '3.1.166'
@@ -32,6 +32,9 @@ FAILEDOPERATION_ANOTHERPROCESSRUNNING = 'FailedOperation.AnotherProcessRunning'
32
32
  # 另一个请求正在处理中,请稍后再试。
33
33
  FAILEDOPERATION_ANOTHERREQUESTPROCESSING = 'FailedOperation.AnotherRequestProcessing'
34
34
 
35
+ # 调用下游计费接口失败,资源销毁通知未送达
36
+ FAILEDOPERATION_APICALLFAILED = 'FailedOperation.ApiCallFailed'
37
+
35
38
  # 账户余额不足。
36
39
  FAILEDOPERATION_BALANCENOTENOUGH = 'FailedOperation.BalanceNotEnough'
37
40
 
@@ -608,6 +611,12 @@ INVALIDPARAMETERCOMBINATION = 'InvalidParameterCombination'
608
611
  # 参数取值错误。
609
612
  INVALIDPARAMETERVALUE = 'InvalidParameterValue'
610
613
 
614
+ # 机型步长不规范,cpu需要为32倍数
615
+ INVALIDPARAMETERVALUE_BILLINGITEMSTEP = 'InvalidParameterValue.BillingItemStep'
616
+
617
+ # 按量计费资源包名称不规范
618
+ INVALIDPARAMETERVALUE_POSTPAYPARTITIONNAME = 'InvalidParameterValue.PostpayPartitionName'
619
+
611
620
  # 队列 Id 与 PartitionCode/QueueName 不一致
612
621
  INVALIDPARAMETERVALUE_QUEUEIDMISMATCH = 'InvalidParameterValue.QueueIdMismatch'
613
622
 
@@ -644,6 +653,9 @@ RESOURCEINUSE_QUEUENAME = 'ResourceInUse.QueueName'
644
653
  # 有SQL任务尚未执行完成。
645
654
  RESOURCEINUSE_UNFINISHEDSQLS = 'ResourceInUse.UnfinishedSQLs'
646
655
 
656
+ # 资源不足。
657
+ RESOURCEINSUFFICIENT = 'ResourceInsufficient'
658
+
647
659
  # 指定的spark作业资源不足,请调整driver/executor规格
648
660
  RESOURCEINSUFFICIENT_SPARKJOBINSUFFICIENTRESOURCES = 'ResourceInsufficient.SparkJobInsufficientResources'
649
661
 
@@ -10198,16 +10198,16 @@ class CreateLabRequest(AbstractModel):
10198
10198
  r"""
10199
10199
  :param _Name: <p>数据实验室名称</p>
10200
10200
  :type Name: str
10201
- :param _LabImage: <p>Lab 镜像地址(必填,用于开发工具如 Jupyter/VSCode/WebShell)。前端在&quot;内置 / 自定义&quot;两态中选择此值;当 Image 字段未显式传入时,后端会基于该字段按 R1(镜像表命中)/R2(同值 fallback)派生 Ray 集群镜像。</p>
10202
- :type LabImage: str
10203
10201
  :param _ResourcePartitionId: <p>资源分区ID</p>
10204
10202
  :type ResourcePartitionId: str
10205
10203
  :param _Queue: <p>队列名称</p>
10206
10204
  :type Queue: str
10207
- :param _Description: <p>数据实验室描述</p>
10208
- :type Description: str
10209
10205
  :param _Image: <p>Ray 集群镜像地址(可选,OpenAPI/SDK 高级控制入口)。前端不再传递此字段;为空时后端按 R1(镜像表查询命中)→ R2(同值 fallback)顺序自动派生。非空时直接作为 Ray 集群镜像,跳过派生(EXPLICIT),且后端不校验其与 LabImage 的兼容性。</p>
10210
10206
  :type Image: str
10207
+ :param _LabImage: <p>Lab 镜像地址(必填,用于开发工具如 Jupyter/VSCode/WebShell)。前端在&quot;内置 / 自定义&quot;两态中选择此值;当 Image 字段未显式传入时,后端会基于该字段按 R1(镜像表命中)/R2(同值 fallback)派生 Ray 集群镜像。</p>
10208
+ :type LabImage: str
10209
+ :param _Description: <p>数据实验室描述</p>
10210
+ :type Description: str
10211
10211
  :param _ImagePullPolicy: <p>镜像拉取策略(Always, IfNotPresent, Never)</p>
10212
10212
  :type ImagePullPolicy: str
10213
10213
  :param _ResourceConfig: <p>资源配置</p>
@@ -10242,11 +10242,11 @@ class CreateLabRequest(AbstractModel):
10242
10242
  :type LabImagePullType: str
10243
10243
  """
10244
10244
  self._Name = None
10245
- self._LabImage = None
10246
10245
  self._ResourcePartitionId = None
10247
10246
  self._Queue = None
10248
- self._Description = None
10249
10247
  self._Image = None
10248
+ self._LabImage = None
10249
+ self._Description = None
10250
10250
  self._ImagePullPolicy = None
10251
10251
  self._ResourceConfig = None
10252
10252
  self._ResourceConfigId = None
@@ -10275,17 +10275,6 @@ class CreateLabRequest(AbstractModel):
10275
10275
  def Name(self, Name):
10276
10276
  self._Name = Name
10277
10277
 
10278
- @property
10279
- def LabImage(self):
10280
- r"""<p>Lab 镜像地址(必填,用于开发工具如 Jupyter/VSCode/WebShell)。前端在&quot;内置 / 自定义&quot;两态中选择此值;当 Image 字段未显式传入时,后端会基于该字段按 R1(镜像表命中)/R2(同值 fallback)派生 Ray 集群镜像。</p>
10281
- :rtype: str
10282
- """
10283
- return self._LabImage
10284
-
10285
- @LabImage.setter
10286
- def LabImage(self, LabImage):
10287
- self._LabImage = LabImage
10288
-
10289
10278
  @property
10290
10279
  def ResourcePartitionId(self):
10291
10280
  r"""<p>资源分区ID</p>
@@ -10308,17 +10297,6 @@ class CreateLabRequest(AbstractModel):
10308
10297
  def Queue(self, Queue):
10309
10298
  self._Queue = Queue
10310
10299
 
10311
- @property
10312
- def Description(self):
10313
- r"""<p>数据实验室描述</p>
10314
- :rtype: str
10315
- """
10316
- return self._Description
10317
-
10318
- @Description.setter
10319
- def Description(self, Description):
10320
- self._Description = Description
10321
-
10322
10300
  @property
10323
10301
  def Image(self):
10324
10302
  r"""<p>Ray 集群镜像地址(可选,OpenAPI/SDK 高级控制入口)。前端不再传递此字段;为空时后端按 R1(镜像表查询命中)→ R2(同值 fallback)顺序自动派生。非空时直接作为 Ray 集群镜像,跳过派生(EXPLICIT),且后端不校验其与 LabImage 的兼容性。</p>
@@ -10330,6 +10308,28 @@ class CreateLabRequest(AbstractModel):
10330
10308
  def Image(self, Image):
10331
10309
  self._Image = Image
10332
10310
 
10311
+ @property
10312
+ def LabImage(self):
10313
+ r"""<p>Lab 镜像地址(必填,用于开发工具如 Jupyter/VSCode/WebShell)。前端在&quot;内置 / 自定义&quot;两态中选择此值;当 Image 字段未显式传入时,后端会基于该字段按 R1(镜像表命中)/R2(同值 fallback)派生 Ray 集群镜像。</p>
10314
+ :rtype: str
10315
+ """
10316
+ return self._LabImage
10317
+
10318
+ @LabImage.setter
10319
+ def LabImage(self, LabImage):
10320
+ self._LabImage = LabImage
10321
+
10322
+ @property
10323
+ def Description(self):
10324
+ r"""<p>数据实验室描述</p>
10325
+ :rtype: str
10326
+ """
10327
+ return self._Description
10328
+
10329
+ @Description.setter
10330
+ def Description(self, Description):
10331
+ self._Description = Description
10332
+
10333
10333
  @property
10334
10334
  def ImagePullPolicy(self):
10335
10335
  r"""<p>镜像拉取策略(Always, IfNotPresent, Never)</p>
@@ -10509,11 +10509,11 @@ class CreateLabRequest(AbstractModel):
10509
10509
 
10510
10510
  def _deserialize(self, params):
10511
10511
  self._Name = params.get("Name")
10512
- self._LabImage = params.get("LabImage")
10513
10512
  self._ResourcePartitionId = params.get("ResourcePartitionId")
10514
10513
  self._Queue = params.get("Queue")
10515
- self._Description = params.get("Description")
10516
10514
  self._Image = params.get("Image")
10515
+ self._LabImage = params.get("LabImage")
10516
+ self._Description = params.get("Description")
10517
10517
  self._ImagePullPolicy = params.get("ImagePullPolicy")
10518
10518
  self._ResourceConfig = params.get("ResourceConfig")
10519
10519
  self._ResourceConfigId = params.get("ResourceConfigId")
@@ -12210,21 +12210,21 @@ class CreatePartitionRequest(AbstractModel):
12210
12210
 
12211
12211
  def __init__(self):
12212
12212
  r"""
12213
- :param _ActionType: <p>交易类型:purchase-新购,renew-续费,modify-变配</p>
12213
+ :param _ActionType: <p>交易类型:purchase-新购</p>
12214
12214
  :type ActionType: str
12215
- :param _PayMode: <p>付费模式:0-后付费,1-预付费</p>
12215
+ :param _PayMode: <p>付费模式:1-预付费</p>
12216
12216
  :type PayMode: int
12217
12217
  :param _ResourceQuotaList: <p>资源配额列表(计费项+数量)</p>
12218
12218
  :type ResourceQuotaList: list of ResourceQuota
12219
- :param _TimeSpan: <p>时间大小,预付费时为购买月数,后付费时为3600</p>
12219
+ :param _TimeSpan: <p>时间大小,预付费时为购买月数</p>
12220
12220
  :type TimeSpan: int
12221
- :param _TimeUnit: <p>时间单位,预付费为m(月),后付费为s(秒)</p>
12221
+ :param _TimeUnit: <p>时间单位,预付费为m(月)</p>
12222
12222
  :type TimeUnit: str
12223
12223
  :param _AutoRenewFlag: <p>自动续费标志:0-默认,1-自动续费,2-不自动续费(仅预付费有效)</p>
12224
12224
  :type AutoRenewFlag: int
12225
12225
  :param _Name: <p>弹性资源池名称,用于订单页展示</p>
12226
12226
  :type Name: str
12227
- :param _Description: <p>队列描述</p>
12227
+ :param _Description: <p>资源包描述</p>
12228
12228
  :type Description: str
12229
12229
  """
12230
12230
  self._ActionType = None
@@ -12238,7 +12238,7 @@ class CreatePartitionRequest(AbstractModel):
12238
12238
 
12239
12239
  @property
12240
12240
  def ActionType(self):
12241
- r"""<p>交易类型:purchase-新购,renew-续费,modify-变配</p>
12241
+ r"""<p>交易类型:purchase-新购</p>
12242
12242
  :rtype: str
12243
12243
  """
12244
12244
  return self._ActionType
@@ -12249,7 +12249,7 @@ class CreatePartitionRequest(AbstractModel):
12249
12249
 
12250
12250
  @property
12251
12251
  def PayMode(self):
12252
- r"""<p>付费模式:0-后付费,1-预付费</p>
12252
+ r"""<p>付费模式:1-预付费</p>
12253
12253
  :rtype: int
12254
12254
  """
12255
12255
  return self._PayMode
@@ -12271,7 +12271,7 @@ class CreatePartitionRequest(AbstractModel):
12271
12271
 
12272
12272
  @property
12273
12273
  def TimeSpan(self):
12274
- r"""<p>时间大小,预付费时为购买月数,后付费时为3600</p>
12274
+ r"""<p>时间大小,预付费时为购买月数</p>
12275
12275
  :rtype: int
12276
12276
  """
12277
12277
  return self._TimeSpan
@@ -12282,7 +12282,7 @@ class CreatePartitionRequest(AbstractModel):
12282
12282
 
12283
12283
  @property
12284
12284
  def TimeUnit(self):
12285
- r"""<p>时间单位,预付费为m(月),后付费为s(秒)</p>
12285
+ r"""<p>时间单位,预付费为m(月)</p>
12286
12286
  :rtype: str
12287
12287
  """
12288
12288
  return self._TimeUnit
@@ -12315,7 +12315,7 @@ class CreatePartitionRequest(AbstractModel):
12315
12315
 
12316
12316
  @property
12317
12317
  def Description(self):
12318
- r"""<p>队列描述</p>
12318
+ r"""<p>资源包描述</p>
12319
12319
  :rtype: str
12320
12320
  """
12321
12321
  return self._Description
@@ -82082,12 +82082,12 @@ class UpdateLabRequest(AbstractModel):
82082
82082
  r"""
82083
82083
  :param _Name: <p>数据实验室名称</p>
82084
82084
  :type Name: str
82085
+ :param _Image: <p>Ray 集群镜像地址(可选,OpenAPI/SDK 高级控制入口)。前端不再传递此字段;为空时后端按 R1(镜像表查询命中)→ R2(同值 fallback)顺序自动派生。非空时直接作为 Ray 集群镜像,跳过派生(EXPLICIT),且后端不校验其与 LabImage 的兼容性。</p>
82086
+ :type Image: str
82085
82087
  :param _LabImage: <p>Lab 镜像地址(必填,用于开发工具如 Jupyter/VSCode/WebShell)。前端在&quot;内置 / 自定义&quot;两态中选择此值;当 Image 字段未显式传入时,后端会基于该字段按 R1(镜像表命中)/R2(同值 fallback)派生 Ray 集群镜像。</p>
82086
82088
  :type LabImage: str
82087
82089
  :param _Description: <p>数据实验室描述</p>
82088
82090
  :type Description: str
82089
- :param _Image: <p>Ray 集群镜像地址(可选,OpenAPI/SDK 高级控制入口)。前端不再传递此字段;为空时后端按 R1(镜像表查询命中)→ R2(同值 fallback)顺序自动派生。非空时直接作为 Ray 集群镜像,跳过派生(EXPLICIT),且后端不校验其与 LabImage 的兼容性。</p>
82090
- :type Image: str
82091
82091
  :param _ImagePullPolicy: <p>镜像拉取策略(Always, IfNotPresent, Never)</p>
82092
82092
  :type ImagePullPolicy: str
82093
82093
  :param _ResourceConfigId: <p>资源配置ID</p>
@@ -82118,9 +82118,9 @@ class UpdateLabRequest(AbstractModel):
82118
82118
  :type LabImagePullType: str
82119
82119
  """
82120
82120
  self._Name = None
82121
+ self._Image = None
82121
82122
  self._LabImage = None
82122
82123
  self._Description = None
82123
- self._Image = None
82124
82124
  self._ImagePullPolicy = None
82125
82125
  self._ResourceConfigId = None
82126
82126
  self._GroupId = None
@@ -82147,6 +82147,17 @@ class UpdateLabRequest(AbstractModel):
82147
82147
  def Name(self, Name):
82148
82148
  self._Name = Name
82149
82149
 
82150
+ @property
82151
+ def Image(self):
82152
+ r"""<p>Ray 集群镜像地址(可选,OpenAPI/SDK 高级控制入口)。前端不再传递此字段;为空时后端按 R1(镜像表查询命中)→ R2(同值 fallback)顺序自动派生。非空时直接作为 Ray 集群镜像,跳过派生(EXPLICIT),且后端不校验其与 LabImage 的兼容性。</p>
82153
+ :rtype: str
82154
+ """
82155
+ return self._Image
82156
+
82157
+ @Image.setter
82158
+ def Image(self, Image):
82159
+ self._Image = Image
82160
+
82150
82161
  @property
82151
82162
  def LabImage(self):
82152
82163
  r"""<p>Lab 镜像地址(必填,用于开发工具如 Jupyter/VSCode/WebShell)。前端在&quot;内置 / 自定义&quot;两态中选择此值;当 Image 字段未显式传入时,后端会基于该字段按 R1(镜像表命中)/R2(同值 fallback)派生 Ray 集群镜像。</p>
@@ -82169,17 +82180,6 @@ class UpdateLabRequest(AbstractModel):
82169
82180
  def Description(self, Description):
82170
82181
  self._Description = Description
82171
82182
 
82172
- @property
82173
- def Image(self):
82174
- r"""<p>Ray 集群镜像地址(可选,OpenAPI/SDK 高级控制入口)。前端不再传递此字段;为空时后端按 R1(镜像表查询命中)→ R2(同值 fallback)顺序自动派生。非空时直接作为 Ray 集群镜像,跳过派生(EXPLICIT),且后端不校验其与 LabImage 的兼容性。</p>
82175
- :rtype: str
82176
- """
82177
- return self._Image
82178
-
82179
- @Image.setter
82180
- def Image(self, Image):
82181
- self._Image = Image
82182
-
82183
82183
  @property
82184
82184
  def ImagePullPolicy(self):
82185
82185
  r"""<p>镜像拉取策略(Always, IfNotPresent, Never)</p>
@@ -82337,9 +82337,9 @@ class UpdateLabRequest(AbstractModel):
82337
82337
 
82338
82338
  def _deserialize(self, params):
82339
82339
  self._Name = params.get("Name")
82340
+ self._Image = params.get("Image")
82340
82341
  self._LabImage = params.get("LabImage")
82341
82342
  self._Description = params.get("Description")
82342
- self._Image = params.get("Image")
82343
82343
  self._ImagePullPolicy = params.get("ImagePullPolicy")
82344
82344
  self._ResourceConfigId = params.get("ResourceConfigId")
82345
82345
  self._GroupId = params.get("GroupId")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-dlc
3
- Version: 3.1.157
3
+ Version: 3.1.166
4
4
  Summary: Tencent Cloud Dlc 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.157
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.166
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.166
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.157