tencentcloud-sdk-python-dlc 3.1.220__py2.py3-none-any.whl → 3.1.222__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.220'
17
+ __version__ = '3.1.222'
@@ -1430,7 +1430,7 @@ class DlcClient(AbstractClient):
1430
1430
 
1431
1431
 
1432
1432
  def CreatePartitionQueue(self, request):
1433
- r"""新增资源队列:在指定分区下创建一个新的资源队列,支持设置队列编码、别名、描述、资源规格列表和队列类型。
1433
+ r"""新增资源队列:在指定分区下创建一个新的资源队列,支持设置队列编码、别名、描述、资源规格列表、队列类型,以及创建同时开通混合弹性(HybridElasticEnabled + MaxElasticCu,仅独占型单标准 CU 计费项队列可用)。
1434
1434
 
1435
1435
  :param request: Request instance for CreatePartitionQueue.
1436
1436
  :type request: :class:`tencentcloud.dlc.v20210125.models.CreatePartitionQueueRequest`
@@ -7231,7 +7231,7 @@ class DlcClient(AbstractClient):
7231
7231
 
7232
7232
 
7233
7233
  def ModifyPartitionQueue(self, request):
7234
- r"""编辑资源队列:根据队列ID修改指定资源队列的别名(显示名)、描述、资源规格列表和队列类型等信息。队列编码(QueueName)不可变,仅作为一致性校验键。
7234
+ r"""编辑资源队列:根据队列ID修改指定资源队列的别名(显示名)、描述、资源规格列表、队列类型以及混合弹性(HybridElasticEnabled 开关与 MaxElasticCu 上限)等信息。队列编码(QueueName)可选:传入时作为与 Id 的一致性校验键(不可变、不参与更新);携带混合弹性参数时必传。混合弹性开关操作为纯弹性请求(不得与配额/展示字段同传):true 开通、false 关闭(停止扩容信号,弹性量自然回落)。
7235
7235
 
7236
7236
  :param request: Request instance for ModifyPartitionQueue.
7237
7237
  :type request: :class:`tencentcloud.dlc.v20210125.models.ModifyPartitionQueueRequest`
@@ -1129,7 +1129,7 @@ class DlcClient(AbstractClient):
1129
1129
  opts: Dict = None,
1130
1130
  ) -> models.CreatePartitionQueueResponse:
1131
1131
  """
1132
- 新增资源队列:在指定分区下创建一个新的资源队列,支持设置队列编码、别名、描述、资源规格列表和队列类型。
1132
+ 新增资源队列:在指定分区下创建一个新的资源队列,支持设置队列编码、别名、描述、资源规格列表、队列类型,以及创建同时开通混合弹性(HybridElasticEnabled + MaxElasticCu,仅独占型单标准 CU 计费项队列可用)。
1133
1133
  """
1134
1134
 
1135
1135
  kwargs = {}
@@ -5670,7 +5670,7 @@ class DlcClient(AbstractClient):
5670
5670
  opts: Dict = None,
5671
5671
  ) -> models.ModifyPartitionQueueResponse:
5672
5672
  """
5673
- 编辑资源队列:根据队列ID修改指定资源队列的别名(显示名)、描述、资源规格列表和队列类型等信息。队列编码(QueueName)不可变,仅作为一致性校验键。
5673
+ 编辑资源队列:根据队列ID修改指定资源队列的别名(显示名)、描述、资源规格列表、队列类型以及混合弹性(HybridElasticEnabled 开关与 MaxElasticCu 上限)等信息。队列编码(QueueName)可选:传入时作为与 Id 的一致性校验键(不可变、不参与更新);携带混合弹性参数时必传。混合弹性开关操作为纯弹性请求(不得与配额/展示字段同传):true 开通、false 关闭(停止扩容信号,弹性量自然回落)。
5674
5674
  """
5675
5675
 
5676
5676
  kwargs = {}
@@ -548,6 +548,9 @@ INVALIDPARAMETER_INVALIDWORKGROUPNAME = 'InvalidParameter.InvalidWorkGroupName'
548
548
  # 您当前仅允许查看100条结果数据,若需调整,请与我们联系
549
549
  INVALIDPARAMETER_MAXRESULTONLYSUPPORTHUNDRED = 'InvalidParameter.MaxResultOnlySupportHundred'
550
550
 
551
+ # 资源包不存在
552
+ INVALIDPARAMETER_MISSINGREQUIREDFIELD = 'InvalidParameter.MissingRequiredField'
553
+
551
554
  # 提交的SQL数量范围限制为1~50
552
555
  INVALIDPARAMETER_NUMBEROFSQLEXCEEDSTHELIMIT = 'InvalidParameter.NumberOfSQLExceedsTheLimit'
553
556
 
@@ -641,6 +644,21 @@ INVALIDPARAMETERVALUE = 'InvalidParameterValue'
641
644
  # 机型步长不规范,cpu需要为32倍数
642
645
  INVALIDPARAMETERVALUE_BILLINGITEMSTEP = 'InvalidParameterValue.BillingItemStep'
643
646
 
647
+ # InvalidParameterValue.HybridElasticCuStepMismatch
648
+ INVALIDPARAMETERVALUE_HYBRIDELASTICCUSTEPMISMATCH = 'InvalidParameterValue.HybridElasticCuStepMismatch'
649
+
650
+ # InvalidParameterValue.HybridElasticMaxCuExceeded
651
+ INVALIDPARAMETERVALUE_HYBRIDELASTICMAXCUEXCEEDED = 'InvalidParameterValue.HybridElasticMaxCuExceeded'
652
+
653
+ # InvalidParameterValue.HybridElasticParamConflict
654
+ INVALIDPARAMETERVALUE_HYBRIDELASTICPARAMCONFLICT = 'InvalidParameterValue.HybridElasticParamConflict'
655
+
656
+ # InvalidParameterValue.HybridQueueBillingItemNotSupported
657
+ INVALIDPARAMETERVALUE_HYBRIDQUEUEBILLINGITEMNOTSUPPORTED = 'InvalidParameterValue.HybridQueueBillingItemNotSupported'
658
+
659
+ # InvalidParameterValue.HybridQueueNotExclusive
660
+ INVALIDPARAMETERVALUE_HYBRIDQUEUENOTEXCLUSIVE = 'InvalidParameterValue.HybridQueueNotExclusive'
661
+
644
662
  # 日志类型参数无效
645
663
  INVALIDPARAMETERVALUE_LOGTYPE = 'InvalidParameterValue.LogType'
646
664
 
@@ -659,6 +677,9 @@ INVALIDPARAMETERVALUE_QUEUEIDMISMATCH = 'InvalidParameterValue.QueueIdMismatch'
659
677
  # 队列名称格式不合法
660
678
  INVALIDPARAMETERVALUE_QUEUENAME = 'InvalidParameterValue.QueueName'
661
679
 
680
+ # InvalidParameterValue.QueueNameRequiredForHybridElastic
681
+ INVALIDPARAMETERVALUE_QUEUENAMEREQUIREDFORHYBRIDELASTIC = 'InvalidParameterValue.QueueNameRequiredForHybridElastic'
682
+
662
683
  # 申请资源配额超过分区可用额度
663
684
  INVALIDPARAMETERVALUE_QUOTAEXCEEDED = 'InvalidParameterValue.QuotaExceeded'
664
685
 
@@ -677,12 +698,36 @@ OPERATIONDENIED = 'OperationDenied'
677
698
  # 默认队列不允许删除
678
699
  OPERATIONDENIED_DEFAULTQUEUEDELETEFORBIDDEN = 'OperationDenied.DefaultQueueDeleteForbidden'
679
700
 
701
+ # OperationDenied.HybridBillingNotEnabled
702
+ OPERATIONDENIED_HYBRIDBILLINGNOTENABLED = 'OperationDenied.HybridBillingNotEnabled'
703
+
704
+ # OperationDenied.HybridElasticNotEnabledQueue
705
+ OPERATIONDENIED_HYBRIDELASTICNOTENABLEDQUEUE = 'OperationDenied.HybridElasticNotEnabledQueue'
706
+
707
+ # OperationDenied.HybridElasticQueueDeleteForbidden
708
+ OPERATIONDENIED_HYBRIDELASTICQUEUEDELETEFORBIDDEN = 'OperationDenied.HybridElasticQueueDeleteForbidden'
709
+
710
+ # OperationDenied.HybridElasticQueuePending
711
+ OPERATIONDENIED_HYBRIDELASTICQUEUEPENDING = 'OperationDenied.HybridElasticQueuePending'
712
+
713
+ # OperationDenied.HybridElasticQueueTypeChangeForbidden
714
+ OPERATIONDENIED_HYBRIDELASTICQUEUETYPECHANGEFORBIDDEN = 'OperationDenied.HybridElasticQueueTypeChangeForbidden'
715
+
716
+ # OperationDenied.HybridElasticScaleInFlight
717
+ OPERATIONDENIED_HYBRIDELASTICSCALEINFLIGHT = 'OperationDenied.HybridElasticScaleInFlight'
718
+
680
719
  # 资源分区当前状态不允许该操作
681
720
  OPERATIONDENIED_PARTITIONNOTREADY = 'OperationDenied.PartitionNotReady'
682
721
 
683
722
  # 按量计费 partition 仅允许 default 队列,禁止创建额外队列
684
723
  OPERATIONDENIED_POSTPAYQUEUECREATEFORBIDDEN = 'OperationDenied.PostpayQueueCreateForbidden'
685
724
 
725
+ # OperationDenied.QueueHasRunningJobs
726
+ OPERATIONDENIED_QUEUEHASRUNNINGJOBS = 'OperationDenied.QueueHasRunningJobs'
727
+
728
+ # OperationDenied.QueueUsageUnavailable
729
+ OPERATIONDENIED_QUEUEUSAGEUNAVAILABLE = 'OperationDenied.QueueUsageUnavailable'
730
+
686
731
  # 服务未开通
687
732
  OPERATIONDENIED_SERVICENOTACTIVATED = 'OperationDenied.ServiceNotActivated'
688
733
 
@@ -2762,15 +2762,15 @@ class AssignMangedTablePropertiesRequest(AbstractModel):
2762
2762
 
2763
2763
  def __init__(self):
2764
2764
  r"""
2765
- :param _TableBaseInfo: 表基本信息
2765
+ :param _TableBaseInfo: <p>表基本信息</p>
2766
2766
  :type TableBaseInfo: :class:`tencentcloud.dlc.v20210125.models.TableBaseInfo`
2767
- :param _Columns: 表字段信息
2767
+ :param _Columns: <p>表字段信息</p>
2768
2768
  :type Columns: list of TColumn
2769
- :param _Partitions: 表分区信息
2769
+ :param _Partitions: <p>表分区信息</p>
2770
2770
  :type Partitions: list of TPartition
2771
- :param _Properties: 表属性信息
2771
+ :param _Properties: <p>表属性信息</p>
2772
2772
  :type Properties: list of Property
2773
- :param _UpsertKeys: V2 upsert表 upsert键
2773
+ :param _UpsertKeys: <p>V2 upsert表 upsert键</p>
2774
2774
  :type UpsertKeys: list of str
2775
2775
  """
2776
2776
  self._TableBaseInfo = None
@@ -2781,7 +2781,7 @@ class AssignMangedTablePropertiesRequest(AbstractModel):
2781
2781
 
2782
2782
  @property
2783
2783
  def TableBaseInfo(self):
2784
- r"""表基本信息
2784
+ r"""<p>表基本信息</p>
2785
2785
  :rtype: :class:`tencentcloud.dlc.v20210125.models.TableBaseInfo`
2786
2786
  """
2787
2787
  return self._TableBaseInfo
@@ -2792,7 +2792,7 @@ class AssignMangedTablePropertiesRequest(AbstractModel):
2792
2792
 
2793
2793
  @property
2794
2794
  def Columns(self):
2795
- r"""表字段信息
2795
+ r"""<p>表字段信息</p>
2796
2796
  :rtype: list of TColumn
2797
2797
  """
2798
2798
  return self._Columns
@@ -2803,7 +2803,7 @@ class AssignMangedTablePropertiesRequest(AbstractModel):
2803
2803
 
2804
2804
  @property
2805
2805
  def Partitions(self):
2806
- r"""表分区信息
2806
+ r"""<p>表分区信息</p>
2807
2807
  :rtype: list of TPartition
2808
2808
  """
2809
2809
  return self._Partitions
@@ -2814,7 +2814,7 @@ class AssignMangedTablePropertiesRequest(AbstractModel):
2814
2814
 
2815
2815
  @property
2816
2816
  def Properties(self):
2817
- r"""表属性信息
2817
+ r"""<p>表属性信息</p>
2818
2818
  :rtype: list of Property
2819
2819
  """
2820
2820
  return self._Properties
@@ -2825,7 +2825,7 @@ class AssignMangedTablePropertiesRequest(AbstractModel):
2825
2825
 
2826
2826
  @property
2827
2827
  def UpsertKeys(self):
2828
- r"""V2 upsert表 upsert键
2828
+ r"""<p>V2 upsert表 upsert键</p>
2829
2829
  :rtype: list of str
2830
2830
  """
2831
2831
  return self._UpsertKeys
@@ -2875,7 +2875,7 @@ class AssignMangedTablePropertiesResponse(AbstractModel):
2875
2875
 
2876
2876
  def __init__(self):
2877
2877
  r"""
2878
- :param _Properties: 分配的原生表表属性
2878
+ :param _Properties: <p>分配的原生表表属性</p>
2879
2879
  :type Properties: list of Property
2880
2880
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2881
2881
  :type RequestId: str
@@ -2885,7 +2885,7 @@ class AssignMangedTablePropertiesResponse(AbstractModel):
2885
2885
 
2886
2886
  @property
2887
2887
  def Properties(self):
2888
- r"""分配的原生表表属性
2888
+ r"""<p>分配的原生表表属性</p>
2889
2889
  :rtype: list of Property
2890
2890
  """
2891
2891
  return self._Properties
@@ -14760,6 +14760,10 @@ class CreateJobDefinitionRequest(AbstractModel):
14760
14760
  :type RunMode: str
14761
14761
  :param _WarehouseId: <p>计算仓库 ID。RunMode=WAREHOUSE 时必填(仓库需可启动);RunMode=JOB 时禁止传。</p>
14762
14762
  :type WarehouseId: str
14763
+ :param _JobSource: <p>任务渠道标签:调用方传入则用,否则兜底 UNKNOWN。</p>
14764
+ :type JobSource: str
14765
+ :param _SourceExtra: <p>任务子渠道标签:调用方传入则用,否则为空。</p>
14766
+ :type SourceExtra: str
14763
14767
  """
14764
14768
  self._Name = None
14765
14769
  self._Description = None
@@ -14774,6 +14778,8 @@ class CreateJobDefinitionRequest(AbstractModel):
14774
14778
  self._EnvVars = None
14775
14779
  self._RunMode = None
14776
14780
  self._WarehouseId = None
14781
+ self._JobSource = None
14782
+ self._SourceExtra = None
14777
14783
 
14778
14784
  @property
14779
14785
  def Name(self):
@@ -14918,6 +14924,28 @@ class CreateJobDefinitionRequest(AbstractModel):
14918
14924
  def WarehouseId(self, WarehouseId):
14919
14925
  self._WarehouseId = WarehouseId
14920
14926
 
14927
+ @property
14928
+ def JobSource(self):
14929
+ r"""<p>任务渠道标签:调用方传入则用,否则兜底 UNKNOWN。</p>
14930
+ :rtype: str
14931
+ """
14932
+ return self._JobSource
14933
+
14934
+ @JobSource.setter
14935
+ def JobSource(self, JobSource):
14936
+ self._JobSource = JobSource
14937
+
14938
+ @property
14939
+ def SourceExtra(self):
14940
+ r"""<p>任务子渠道标签:调用方传入则用,否则为空。</p>
14941
+ :rtype: str
14942
+ """
14943
+ return self._SourceExtra
14944
+
14945
+ @SourceExtra.setter
14946
+ def SourceExtra(self, SourceExtra):
14947
+ self._SourceExtra = SourceExtra
14948
+
14921
14949
 
14922
14950
  def _deserialize(self, params):
14923
14951
  self._Name = params.get("Name")
@@ -14938,6 +14966,8 @@ class CreateJobDefinitionRequest(AbstractModel):
14938
14966
  self._EnvVars.append(obj)
14939
14967
  self._RunMode = params.get("RunMode")
14940
14968
  self._WarehouseId = params.get("WarehouseId")
14969
+ self._JobSource = params.get("JobSource")
14970
+ self._SourceExtra = params.get("SourceExtra")
14941
14971
  memeber_set = set(params.keys())
14942
14972
  for name, value in vars(self).items():
14943
14973
  property_name = name[1:]
@@ -15000,8 +15030,14 @@ class CreateJobFromDefinitionRequest(AbstractModel):
15000
15030
  r"""
15001
15031
  :param _JobDefinitionId: <p>作业定义 ID(由 CreateJobDefinition 返回)。必填。</p>
15002
15032
  :type JobDefinitionId: str
15033
+ :param _JobSource: <p>任务渠道标签:非空则覆盖定义上的渠道,否则继承定义值。</p>
15034
+ :type JobSource: str
15035
+ :param _SourceExtra: <p>任务子渠道标签:非空则覆盖定义上的子渠道,否则继承定义值。</p>
15036
+ :type SourceExtra: str
15003
15037
  """
15004
15038
  self._JobDefinitionId = None
15039
+ self._JobSource = None
15040
+ self._SourceExtra = None
15005
15041
 
15006
15042
  @property
15007
15043
  def JobDefinitionId(self):
@@ -15014,9 +15050,33 @@ class CreateJobFromDefinitionRequest(AbstractModel):
15014
15050
  def JobDefinitionId(self, JobDefinitionId):
15015
15051
  self._JobDefinitionId = JobDefinitionId
15016
15052
 
15053
+ @property
15054
+ def JobSource(self):
15055
+ r"""<p>任务渠道标签:非空则覆盖定义上的渠道,否则继承定义值。</p>
15056
+ :rtype: str
15057
+ """
15058
+ return self._JobSource
15059
+
15060
+ @JobSource.setter
15061
+ def JobSource(self, JobSource):
15062
+ self._JobSource = JobSource
15063
+
15064
+ @property
15065
+ def SourceExtra(self):
15066
+ r"""<p>任务子渠道标签:非空则覆盖定义上的子渠道,否则继承定义值。</p>
15067
+ :rtype: str
15068
+ """
15069
+ return self._SourceExtra
15070
+
15071
+ @SourceExtra.setter
15072
+ def SourceExtra(self, SourceExtra):
15073
+ self._SourceExtra = SourceExtra
15074
+
15017
15075
 
15018
15076
  def _deserialize(self, params):
15019
15077
  self._JobDefinitionId = params.get("JobDefinitionId")
15078
+ self._JobSource = params.get("JobSource")
15079
+ self._SourceExtra = params.get("SourceExtra")
15020
15080
  memeber_set = set(params.keys())
15021
15081
  for name, value in vars(self).items():
15022
15082
  property_name = name[1:]
@@ -15089,6 +15149,10 @@ class CreateJobRequest(AbstractModel):
15089
15149
  :type FlowId: str
15090
15150
  :param _ExecutionId: <p>工作流内部执行标识(长度 ≤64),同一 FlowId 下每次提交须唯一(如自增序号/UUID)。用于重复提交防重:同一账号下命中未删除的同 (FlowId, ExecutionId) 作业时返回 FailedOperation.FlowExecutionConflict。FlowId 非空时必填(SPARK_SQL 因 FlowId 必填而必填)。</p>
15091
15151
  :type ExecutionId: str
15152
+ :param _JobSource: <p>任务渠道标签:调用方传入则用,否则兜底 UNKNOWN。</p>
15153
+ :type JobSource: str
15154
+ :param _SourceExtra: <p>任务子渠道标签:调用方传入则用,否则为空。</p>
15155
+ :type SourceExtra: str
15092
15156
  :param _RunMode: <p>运行模式,必填。WAREHOUSE / JOB.</p>
15093
15157
  :type RunMode: str
15094
15158
  :param _WarehouseId: <p>计算仓库 ID。RunMode=WAREHOUSE 时必填(仓库需处于 RUNNING,或 STOPPED 且 AutoStart 开启(提交后冷启动拉起));RunMode=JOB 时必须为空。</p>
@@ -15118,6 +15182,8 @@ class CreateJobRequest(AbstractModel):
15118
15182
  self._MinorType = None
15119
15183
  self._FlowId = None
15120
15184
  self._ExecutionId = None
15185
+ self._JobSource = None
15186
+ self._SourceExtra = None
15121
15187
  self._RunMode = None
15122
15188
  self._WarehouseId = None
15123
15189
  self._RuntimeCode = None
@@ -15196,6 +15262,28 @@ class CreateJobRequest(AbstractModel):
15196
15262
  def ExecutionId(self, ExecutionId):
15197
15263
  self._ExecutionId = ExecutionId
15198
15264
 
15265
+ @property
15266
+ def JobSource(self):
15267
+ r"""<p>任务渠道标签:调用方传入则用,否则兜底 UNKNOWN。</p>
15268
+ :rtype: str
15269
+ """
15270
+ return self._JobSource
15271
+
15272
+ @JobSource.setter
15273
+ def JobSource(self, JobSource):
15274
+ self._JobSource = JobSource
15275
+
15276
+ @property
15277
+ def SourceExtra(self):
15278
+ r"""<p>任务子渠道标签:调用方传入则用,否则为空。</p>
15279
+ :rtype: str
15280
+ """
15281
+ return self._SourceExtra
15282
+
15283
+ @SourceExtra.setter
15284
+ def SourceExtra(self, SourceExtra):
15285
+ self._SourceExtra = SourceExtra
15286
+
15199
15287
  @property
15200
15288
  def RunMode(self):
15201
15289
  r"""<p>运行模式,必填。WAREHOUSE / JOB.</p>
@@ -15325,6 +15413,8 @@ class CreateJobRequest(AbstractModel):
15325
15413
  self._MinorType = params.get("MinorType")
15326
15414
  self._FlowId = params.get("FlowId")
15327
15415
  self._ExecutionId = params.get("ExecutionId")
15416
+ self._JobSource = params.get("JobSource")
15417
+ self._SourceExtra = params.get("SourceExtra")
15328
15418
  self._RunMode = params.get("RunMode")
15329
15419
  self._WarehouseId = params.get("WarehouseId")
15330
15420
  self._RuntimeCode = params.get("RuntimeCode")
@@ -18737,12 +18827,16 @@ class CreatePartitionQueueRequest(AbstractModel):
18737
18827
  :type ResourceUsages: list of ResourceUsage
18738
18828
  :param _QueueType: <p>队列类型:1-独占型,2-共享型</p>
18739
18829
  :type QueueType: int
18740
- :param _QueueName: <p>队列编码(不可变 code):透传时按 RFC1123 校验并作为队列的固定标识;未透传时系统自动生成(格式 dlc-rg-xxxxxxxx)。落库后不可修改</p>
18830
+ :param _QueueName: <p>队列名称</p>
18741
18831
  :type QueueName: str
18742
18832
  :param _Alias: <p>队列别名(显示名):用户可见、可修改;未提供时等于最终 QueueName。可与其它队列重复</p>
18743
18833
  :type Alias: str
18744
18834
  :param _Description: <p>队列描述</p>
18745
18835
  :type Description: str
18836
+ :param _HybridElasticEnabled: <p>创建同时开通混合弹性(可选,仅 true 生效):开通后队列可按需弹性扩容,超出包月配额部分按量计费。仅独占型(QueueType=1)且单一标准 CU 计费项的队列允许开通,共享型携带返回 InvalidParameterValue.HybridQueueNotExclusive</p>
18837
+ :type HybridElasticEnabled: bool
18838
+ :param _MaxElasticCu: <p>混合弹性上限(CU,可选):HybridElasticEnabled=true 时必传;须大于 0、为采购对齐单元的整数倍且不超过全局护栏 hybrid_elastic_max_cu</p>
18839
+ :type MaxElasticCu: int
18746
18840
  """
18747
18841
  self._PartitionCode = None
18748
18842
  self._ResourceUsages = None
@@ -18750,6 +18844,8 @@ class CreatePartitionQueueRequest(AbstractModel):
18750
18844
  self._QueueName = None
18751
18845
  self._Alias = None
18752
18846
  self._Description = None
18847
+ self._HybridElasticEnabled = None
18848
+ self._MaxElasticCu = None
18753
18849
 
18754
18850
  @property
18755
18851
  def PartitionCode(self):
@@ -18786,7 +18882,7 @@ class CreatePartitionQueueRequest(AbstractModel):
18786
18882
 
18787
18883
  @property
18788
18884
  def QueueName(self):
18789
- r"""<p>队列编码(不可变 code):透传时按 RFC1123 校验并作为队列的固定标识;未透传时系统自动生成(格式 dlc-rg-xxxxxxxx)。落库后不可修改</p>
18885
+ r"""<p>队列名称</p>
18790
18886
  :rtype: str
18791
18887
  """
18792
18888
  return self._QueueName
@@ -18817,6 +18913,28 @@ class CreatePartitionQueueRequest(AbstractModel):
18817
18913
  def Description(self, Description):
18818
18914
  self._Description = Description
18819
18915
 
18916
+ @property
18917
+ def HybridElasticEnabled(self):
18918
+ r"""<p>创建同时开通混合弹性(可选,仅 true 生效):开通后队列可按需弹性扩容,超出包月配额部分按量计费。仅独占型(QueueType=1)且单一标准 CU 计费项的队列允许开通,共享型携带返回 InvalidParameterValue.HybridQueueNotExclusive</p>
18919
+ :rtype: bool
18920
+ """
18921
+ return self._HybridElasticEnabled
18922
+
18923
+ @HybridElasticEnabled.setter
18924
+ def HybridElasticEnabled(self, HybridElasticEnabled):
18925
+ self._HybridElasticEnabled = HybridElasticEnabled
18926
+
18927
+ @property
18928
+ def MaxElasticCu(self):
18929
+ r"""<p>混合弹性上限(CU,可选):HybridElasticEnabled=true 时必传;须大于 0、为采购对齐单元的整数倍且不超过全局护栏 hybrid_elastic_max_cu</p>
18930
+ :rtype: int
18931
+ """
18932
+ return self._MaxElasticCu
18933
+
18934
+ @MaxElasticCu.setter
18935
+ def MaxElasticCu(self, MaxElasticCu):
18936
+ self._MaxElasticCu = MaxElasticCu
18937
+
18820
18938
 
18821
18939
  def _deserialize(self, params):
18822
18940
  self._PartitionCode = params.get("PartitionCode")
@@ -18830,6 +18948,8 @@ class CreatePartitionQueueRequest(AbstractModel):
18830
18948
  self._QueueName = params.get("QueueName")
18831
18949
  self._Alias = params.get("Alias")
18832
18950
  self._Description = params.get("Description")
18951
+ self._HybridElasticEnabled = params.get("HybridElasticEnabled")
18952
+ self._MaxElasticCu = params.get("MaxElasticCu")
18833
18953
  memeber_set = set(params.keys())
18834
18954
  for name, value in vars(self).items():
18835
18955
  property_name = name[1:]
@@ -27473,9 +27593,9 @@ class DataGovernPolicy(AbstractModel):
27473
27593
 
27474
27594
  def __init__(self):
27475
27595
  r"""
27476
- :param _RuleType: 治理规则类型,Customize: 自定义;Intelligence: 智能治理
27596
+ :param _RuleType: <p>治理规则类型,Customize: 自定义;Intelligence: 智能治理</p>
27477
27597
  :type RuleType: str
27478
- :param _GovernEngine: 治理引擎
27598
+ :param _GovernEngine: <p>治理引擎</p>
27479
27599
  :type GovernEngine: str
27480
27600
  """
27481
27601
  self._RuleType = None
@@ -27483,7 +27603,7 @@ class DataGovernPolicy(AbstractModel):
27483
27603
 
27484
27604
  @property
27485
27605
  def RuleType(self):
27486
- r"""治理规则类型,Customize: 自定义;Intelligence: 智能治理
27606
+ r"""<p>治理规则类型,Customize: 自定义;Intelligence: 智能治理</p>
27487
27607
  :rtype: str
27488
27608
  """
27489
27609
  return self._RuleType
@@ -27494,7 +27614,7 @@ class DataGovernPolicy(AbstractModel):
27494
27614
 
27495
27615
  @property
27496
27616
  def GovernEngine(self):
27497
- r"""治理引擎
27617
+ r"""<p>治理引擎</p>
27498
27618
  :rtype: str
27499
27619
  """
27500
27620
  return self._GovernEngine
@@ -38264,11 +38384,25 @@ class DescribeForbiddenTableProResponse(AbstractModel):
38264
38384
 
38265
38385
  def __init__(self):
38266
38386
  r"""
38387
+ :param _ForbiddenTableProperties: <p>被禁用的表属性列表,该列表的属性不可进行增删改操作</p>
38388
+ :type ForbiddenTableProperties: list of str
38267
38389
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
38268
38390
  :type RequestId: str
38269
38391
  """
38392
+ self._ForbiddenTableProperties = None
38270
38393
  self._RequestId = None
38271
38394
 
38395
+ @property
38396
+ def ForbiddenTableProperties(self):
38397
+ r"""<p>被禁用的表属性列表,该列表的属性不可进行增删改操作</p>
38398
+ :rtype: list of str
38399
+ """
38400
+ return self._ForbiddenTableProperties
38401
+
38402
+ @ForbiddenTableProperties.setter
38403
+ def ForbiddenTableProperties(self, ForbiddenTableProperties):
38404
+ self._ForbiddenTableProperties = ForbiddenTableProperties
38405
+
38272
38406
  @property
38273
38407
  def RequestId(self):
38274
38408
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -38282,6 +38416,7 @@ class DescribeForbiddenTableProResponse(AbstractModel):
38282
38416
 
38283
38417
 
38284
38418
  def _deserialize(self, params):
38419
+ self._ForbiddenTableProperties = params.get("ForbiddenTableProperties")
38285
38420
  self._RequestId = params.get("RequestId")
38286
38421
 
38287
38422
 
@@ -53348,15 +53483,15 @@ class GenerateCreateMangedTableSqlRequest(AbstractModel):
53348
53483
 
53349
53484
  def __init__(self):
53350
53485
  r"""
53351
- :param _TableBaseInfo: 表基本信息
53486
+ :param _TableBaseInfo: <p>表基本信息</p>
53352
53487
  :type TableBaseInfo: :class:`tencentcloud.dlc.v20210125.models.TableBaseInfo`
53353
- :param _Columns: 表字段信息
53488
+ :param _Columns: <p>表字段信息</p>
53354
53489
  :type Columns: list of TColumn
53355
- :param _Partitions: 表分区信息
53490
+ :param _Partitions: <p>表分区信息</p>
53356
53491
  :type Partitions: list of TPartition
53357
- :param _Properties: 表属性信息
53492
+ :param _Properties: <p>表属性信息</p>
53358
53493
  :type Properties: list of Property
53359
- :param _UpsertKeys: V2 upsert表 upsert键
53494
+ :param _UpsertKeys: <p>V2 upsert表 upsert键</p>
53360
53495
  :type UpsertKeys: list of str
53361
53496
  """
53362
53497
  self._TableBaseInfo = None
@@ -53367,7 +53502,7 @@ class GenerateCreateMangedTableSqlRequest(AbstractModel):
53367
53502
 
53368
53503
  @property
53369
53504
  def TableBaseInfo(self):
53370
- r"""表基本信息
53505
+ r"""<p>表基本信息</p>
53371
53506
  :rtype: :class:`tencentcloud.dlc.v20210125.models.TableBaseInfo`
53372
53507
  """
53373
53508
  return self._TableBaseInfo
@@ -53378,7 +53513,7 @@ class GenerateCreateMangedTableSqlRequest(AbstractModel):
53378
53513
 
53379
53514
  @property
53380
53515
  def Columns(self):
53381
- r"""表字段信息
53516
+ r"""<p>表字段信息</p>
53382
53517
  :rtype: list of TColumn
53383
53518
  """
53384
53519
  return self._Columns
@@ -53389,7 +53524,7 @@ class GenerateCreateMangedTableSqlRequest(AbstractModel):
53389
53524
 
53390
53525
  @property
53391
53526
  def Partitions(self):
53392
- r"""表分区信息
53527
+ r"""<p>表分区信息</p>
53393
53528
  :rtype: list of TPartition
53394
53529
  """
53395
53530
  return self._Partitions
@@ -53400,7 +53535,7 @@ class GenerateCreateMangedTableSqlRequest(AbstractModel):
53400
53535
 
53401
53536
  @property
53402
53537
  def Properties(self):
53403
- r"""表属性信息
53538
+ r"""<p>表属性信息</p>
53404
53539
  :rtype: list of Property
53405
53540
  """
53406
53541
  return self._Properties
@@ -53411,7 +53546,7 @@ class GenerateCreateMangedTableSqlRequest(AbstractModel):
53411
53546
 
53412
53547
  @property
53413
53548
  def UpsertKeys(self):
53414
- r"""V2 upsert表 upsert键
53549
+ r"""<p>V2 upsert表 upsert键</p>
53415
53550
  :rtype: list of str
53416
53551
  """
53417
53552
  return self._UpsertKeys
@@ -53461,7 +53596,7 @@ class GenerateCreateMangedTableSqlResponse(AbstractModel):
53461
53596
 
53462
53597
  def __init__(self):
53463
53598
  r"""
53464
- :param _Execution: 创建托管存储内表sql语句描述
53599
+ :param _Execution: <p>创建托管存储内表sql语句描述</p>
53465
53600
  :type Execution: :class:`tencentcloud.dlc.v20210125.models.Execution`
53466
53601
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
53467
53602
  :type RequestId: str
@@ -53471,7 +53606,7 @@ class GenerateCreateMangedTableSqlResponse(AbstractModel):
53471
53606
 
53472
53607
  @property
53473
53608
  def Execution(self):
53474
- r"""创建托管存储内表sql语句描述
53609
+ r"""<p>创建托管存储内表sql语句描述</p>
53475
53610
  :rtype: :class:`tencentcloud.dlc.v20210125.models.Execution`
53476
53611
  """
53477
53612
  return self._Execution
@@ -53506,15 +53641,15 @@ class GenerateInternalTableRequest(AbstractModel):
53506
53641
 
53507
53642
  def __init__(self):
53508
53643
  r"""
53509
- :param _TableBaseInfo: 表基本信息
53644
+ :param _TableBaseInfo: <p>表基本信息</p>
53510
53645
  :type TableBaseInfo: :class:`tencentcloud.dlc.v20210125.models.TableBaseInfo`
53511
- :param _Columns: 字段信息
53646
+ :param _Columns: <p>字段信息</p>
53512
53647
  :type Columns: list of TColumn
53513
- :param _Partitions: 分区信息
53648
+ :param _Partitions: <p>分区信息</p>
53514
53649
  :type Partitions: list of TPartition
53515
- :param _Properties: 属性
53650
+ :param _Properties: <p>属性</p>
53516
53651
  :type Properties: list of Property
53517
- :param _UpsertKeys: V2 upsert表 upsert键
53652
+ :param _UpsertKeys: <p>V2 upsert表 upsert键</p>
53518
53653
  :type UpsertKeys: list of str
53519
53654
  """
53520
53655
  self._TableBaseInfo = None
@@ -53525,7 +53660,7 @@ class GenerateInternalTableRequest(AbstractModel):
53525
53660
 
53526
53661
  @property
53527
53662
  def TableBaseInfo(self):
53528
- r"""表基本信息
53663
+ r"""<p>表基本信息</p>
53529
53664
  :rtype: :class:`tencentcloud.dlc.v20210125.models.TableBaseInfo`
53530
53665
  """
53531
53666
  return self._TableBaseInfo
@@ -53536,7 +53671,7 @@ class GenerateInternalTableRequest(AbstractModel):
53536
53671
 
53537
53672
  @property
53538
53673
  def Columns(self):
53539
- r"""字段信息
53674
+ r"""<p>字段信息</p>
53540
53675
  :rtype: list of TColumn
53541
53676
  """
53542
53677
  return self._Columns
@@ -53547,7 +53682,7 @@ class GenerateInternalTableRequest(AbstractModel):
53547
53682
 
53548
53683
  @property
53549
53684
  def Partitions(self):
53550
- r"""分区信息
53685
+ r"""<p>分区信息</p>
53551
53686
  :rtype: list of TPartition
53552
53687
  """
53553
53688
  return self._Partitions
@@ -53558,7 +53693,7 @@ class GenerateInternalTableRequest(AbstractModel):
53558
53693
 
53559
53694
  @property
53560
53695
  def Properties(self):
53561
- r"""属性
53696
+ r"""<p>属性</p>
53562
53697
  :rtype: list of Property
53563
53698
  """
53564
53699
  return self._Properties
@@ -53569,7 +53704,7 @@ class GenerateInternalTableRequest(AbstractModel):
53569
53704
 
53570
53705
  @property
53571
53706
  def UpsertKeys(self):
53572
- r"""V2 upsert表 upsert键
53707
+ r"""<p>V2 upsert表 upsert键</p>
53573
53708
  :rtype: list of str
53574
53709
  """
53575
53710
  return self._UpsertKeys
@@ -53619,9 +53754,9 @@ class GenerateInternalTableResponse(AbstractModel):
53619
53754
 
53620
53755
  def __init__(self):
53621
53756
  r"""
53622
- :param _Execution: 返回sql
53757
+ :param _Execution: <p>返回sql</p>
53623
53758
  :type Execution: :class:`tencentcloud.dlc.v20210125.models.Execution`
53624
- :param _IsTIcebergSql: 是否tciceberg
53759
+ :param _IsTIcebergSql: <p>是否tciceberg</p>
53625
53760
  :type IsTIcebergSql: bool
53626
53761
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
53627
53762
  :type RequestId: str
@@ -53632,7 +53767,7 @@ class GenerateInternalTableResponse(AbstractModel):
53632
53767
 
53633
53768
  @property
53634
53769
  def Execution(self):
53635
- r"""返回sql
53770
+ r"""<p>返回sql</p>
53636
53771
  :rtype: :class:`tencentcloud.dlc.v20210125.models.Execution`
53637
53772
  """
53638
53773
  return self._Execution
@@ -53643,7 +53778,7 @@ class GenerateInternalTableResponse(AbstractModel):
53643
53778
 
53644
53779
  @property
53645
53780
  def IsTIcebergSql(self):
53646
- r"""是否tciceberg
53781
+ r"""<p>是否tciceberg</p>
53647
53782
  :rtype: bool
53648
53783
  """
53649
53784
  return self._IsTIcebergSql
@@ -78421,6 +78556,10 @@ class ModifyJobDefinitionRequest(AbstractModel):
78421
78556
  :type RunMode: str
78422
78557
  :param _WarehouseId: <p>计算仓库 ID。仅目标 RunMode=WAREHOUSE 时可传(必填);未传 RunMode 或目标为 JOB 时禁止传。</p>
78423
78558
  :type WarehouseId: str
78559
+ :param _JobSource: <p>任务渠道标签:创建后不可变,仅幂等回显(传不同值报错)。</p>
78560
+ :type JobSource: str
78561
+ :param _SourceExtra: <p>任务子渠道标签:调用方传入则用,否则为空。</p>
78562
+ :type SourceExtra: str
78424
78563
  """
78425
78564
  self._JobDefinitionId = None
78426
78565
  self._Name = None
@@ -78436,6 +78575,8 @@ class ModifyJobDefinitionRequest(AbstractModel):
78436
78575
  self._EnvVars = None
78437
78576
  self._RunMode = None
78438
78577
  self._WarehouseId = None
78578
+ self._JobSource = None
78579
+ self._SourceExtra = None
78439
78580
 
78440
78581
  @property
78441
78582
  def JobDefinitionId(self):
@@ -78591,6 +78732,28 @@ class ModifyJobDefinitionRequest(AbstractModel):
78591
78732
  def WarehouseId(self, WarehouseId):
78592
78733
  self._WarehouseId = WarehouseId
78593
78734
 
78735
+ @property
78736
+ def JobSource(self):
78737
+ r"""<p>任务渠道标签:创建后不可变,仅幂等回显(传不同值报错)。</p>
78738
+ :rtype: str
78739
+ """
78740
+ return self._JobSource
78741
+
78742
+ @JobSource.setter
78743
+ def JobSource(self, JobSource):
78744
+ self._JobSource = JobSource
78745
+
78746
+ @property
78747
+ def SourceExtra(self):
78748
+ r"""<p>任务子渠道标签:调用方传入则用,否则为空。</p>
78749
+ :rtype: str
78750
+ """
78751
+ return self._SourceExtra
78752
+
78753
+ @SourceExtra.setter
78754
+ def SourceExtra(self, SourceExtra):
78755
+ self._SourceExtra = SourceExtra
78756
+
78594
78757
 
78595
78758
  def _deserialize(self, params):
78596
78759
  self._JobDefinitionId = params.get("JobDefinitionId")
@@ -78612,6 +78775,8 @@ class ModifyJobDefinitionRequest(AbstractModel):
78612
78775
  self._EnvVars.append(obj)
78613
78776
  self._RunMode = params.get("RunMode")
78614
78777
  self._WarehouseId = params.get("WarehouseId")
78778
+ self._JobSource = params.get("JobSource")
78779
+ self._SourceExtra = params.get("SourceExtra")
78615
78780
  memeber_set = set(params.keys())
78616
78781
  for name, value in vars(self).items():
78617
78782
  property_name = name[1:]
@@ -79352,20 +79517,24 @@ class ModifyPartitionQueueRequest(AbstractModel):
79352
79517
 
79353
79518
  def __init__(self):
79354
79519
  r"""
79355
- :param _Id: 资源队列ID
79520
+ :param _Id: <p>资源队列ID</p>
79356
79521
  :type Id: int
79357
- :param _PartitionCode: 分区编码
79522
+ :param _PartitionCode: <p>分区编码</p>
79358
79523
  :type PartitionCode: str
79359
- :param _QueueName: 队列编码(不可变 code):与 Id 定位记录的一致性校验键,传入值必须与队列当前 QueueName 一致,不参与更新
79524
+ :param _QueueName: <p>队列编码(不可变 code):可选。传入时作为与 Id 定位记录的一致性校验键,传入值必须与队列当前 QueueName 一致,不参与更新;携带混合弹性参数(HybridElasticEnabled 或 MaxElasticCu)时必传,否则返回 InvalidParameterValue.QueueNameRequiredForHybridElastic</p>
79360
79525
  :type QueueName: str
79361
- :param _Alias: 队列别名(显示名):透传时更新,未透传时保持不变。可与其它队列重复
79526
+ :param _Alias: <p>队列别名(显示名):透传时更新,未透传时保持不变。可与其它队列重复</p>
79362
79527
  :type Alias: str
79363
- :param _Description: 队列描述
79528
+ :param _Description: <p>队列描述</p>
79364
79529
  :type Description: str
79365
- :param _ResourceUsages: 资源规格列表,定义队列的资源类型及大小范围
79530
+ :param _ResourceUsages: <p>资源规格列表,定义队列的资源类型及大小范围。条件必填:修改配额或队列类型时必传;仅修改弹性上限(只传 MaxElasticCu)时可省略</p>
79366
79531
  :type ResourceUsages: list of ResourceUsage
79367
- :param _QueueType: 队列类型:1-独占型,2-共享型
79532
+ :param _QueueType: <p>队列类型:1-独占型,2-共享型。条件必填:修改配额或队列类型时必传;仅修改弹性上限(只传 MaxElasticCu)时可省略</p>
79368
79533
  :type QueueType: int
79534
+ :param _MaxElasticCu: <p>队列混合弹性上限(CU,可选):HybridElasticEnabled=true(开通)时必传;只传本字段(不传开关)时仅已开通混合弹性的队列允许修改。须大于 0、为采购对齐单元的整数倍且不超过全局护栏 hybrid_elastic_max_cu。仅传 MaxElasticCu(不传 QueueType / ResourceUsages / HybridElasticEnabled)时只更新上限,不触发队列配额刷新;已有弹性量高于新上限时不会被立即缩减,由后续缩容决策自然回落</p>
79535
+ :type MaxElasticCu: int
79536
+ :param _HybridElasticEnabled: <p>混合弹性开关(可选):true=开通混合弹性(须同时传 MaxElasticCu;身份已存在直接生效,否则首开下单,ON 状态队列幂等更新上限);false=关闭(停止该队列的扩容信号,已有弹性量与机器由缩容自然回落,计量上报不受影响;待回调状态拒绝)。开关操作必须是纯弹性请求:不得与 QueueType / ResourceUsages / Alias / Description 同传。仅独占型非 default 队列允许携带混合弹性参数</p>
79537
+ :type HybridElasticEnabled: bool
79369
79538
  """
79370
79539
  self._Id = None
79371
79540
  self._PartitionCode = None
@@ -79374,10 +79543,12 @@ class ModifyPartitionQueueRequest(AbstractModel):
79374
79543
  self._Description = None
79375
79544
  self._ResourceUsages = None
79376
79545
  self._QueueType = None
79546
+ self._MaxElasticCu = None
79547
+ self._HybridElasticEnabled = None
79377
79548
 
79378
79549
  @property
79379
79550
  def Id(self):
79380
- r"""资源队列ID
79551
+ r"""<p>资源队列ID</p>
79381
79552
  :rtype: int
79382
79553
  """
79383
79554
  return self._Id
@@ -79388,7 +79559,7 @@ class ModifyPartitionQueueRequest(AbstractModel):
79388
79559
 
79389
79560
  @property
79390
79561
  def PartitionCode(self):
79391
- r"""分区编码
79562
+ r"""<p>分区编码</p>
79392
79563
  :rtype: str
79393
79564
  """
79394
79565
  return self._PartitionCode
@@ -79399,7 +79570,7 @@ class ModifyPartitionQueueRequest(AbstractModel):
79399
79570
 
79400
79571
  @property
79401
79572
  def QueueName(self):
79402
- r"""队列编码(不可变 code):与 Id 定位记录的一致性校验键,传入值必须与队列当前 QueueName 一致,不参与更新
79573
+ r"""<p>队列编码(不可变 code):可选。传入时作为与 Id 定位记录的一致性校验键,传入值必须与队列当前 QueueName 一致,不参与更新;携带混合弹性参数(HybridElasticEnabled 或 MaxElasticCu)时必传,否则返回 InvalidParameterValue.QueueNameRequiredForHybridElastic</p>
79403
79574
  :rtype: str
79404
79575
  """
79405
79576
  return self._QueueName
@@ -79410,7 +79581,7 @@ class ModifyPartitionQueueRequest(AbstractModel):
79410
79581
 
79411
79582
  @property
79412
79583
  def Alias(self):
79413
- r"""队列别名(显示名):透传时更新,未透传时保持不变。可与其它队列重复
79584
+ r"""<p>队列别名(显示名):透传时更新,未透传时保持不变。可与其它队列重复</p>
79414
79585
  :rtype: str
79415
79586
  """
79416
79587
  return self._Alias
@@ -79421,7 +79592,7 @@ class ModifyPartitionQueueRequest(AbstractModel):
79421
79592
 
79422
79593
  @property
79423
79594
  def Description(self):
79424
- r"""队列描述
79595
+ r"""<p>队列描述</p>
79425
79596
  :rtype: str
79426
79597
  """
79427
79598
  return self._Description
@@ -79432,7 +79603,7 @@ class ModifyPartitionQueueRequest(AbstractModel):
79432
79603
 
79433
79604
  @property
79434
79605
  def ResourceUsages(self):
79435
- r"""资源规格列表,定义队列的资源类型及大小范围
79606
+ r"""<p>资源规格列表,定义队列的资源类型及大小范围。条件必填:修改配额或队列类型时必传;仅修改弹性上限(只传 MaxElasticCu)时可省略</p>
79436
79607
  :rtype: list of ResourceUsage
79437
79608
  """
79438
79609
  return self._ResourceUsages
@@ -79443,7 +79614,7 @@ class ModifyPartitionQueueRequest(AbstractModel):
79443
79614
 
79444
79615
  @property
79445
79616
  def QueueType(self):
79446
- r"""队列类型:1-独占型,2-共享型
79617
+ r"""<p>队列类型:1-独占型,2-共享型。条件必填:修改配额或队列类型时必传;仅修改弹性上限(只传 MaxElasticCu)时可省略</p>
79447
79618
  :rtype: int
79448
79619
  """
79449
79620
  return self._QueueType
@@ -79452,6 +79623,28 @@ class ModifyPartitionQueueRequest(AbstractModel):
79452
79623
  def QueueType(self, QueueType):
79453
79624
  self._QueueType = QueueType
79454
79625
 
79626
+ @property
79627
+ def MaxElasticCu(self):
79628
+ r"""<p>队列混合弹性上限(CU,可选):HybridElasticEnabled=true(开通)时必传;只传本字段(不传开关)时仅已开通混合弹性的队列允许修改。须大于 0、为采购对齐单元的整数倍且不超过全局护栏 hybrid_elastic_max_cu。仅传 MaxElasticCu(不传 QueueType / ResourceUsages / HybridElasticEnabled)时只更新上限,不触发队列配额刷新;已有弹性量高于新上限时不会被立即缩减,由后续缩容决策自然回落</p>
79629
+ :rtype: int
79630
+ """
79631
+ return self._MaxElasticCu
79632
+
79633
+ @MaxElasticCu.setter
79634
+ def MaxElasticCu(self, MaxElasticCu):
79635
+ self._MaxElasticCu = MaxElasticCu
79636
+
79637
+ @property
79638
+ def HybridElasticEnabled(self):
79639
+ r"""<p>混合弹性开关(可选):true=开通混合弹性(须同时传 MaxElasticCu;身份已存在直接生效,否则首开下单,ON 状态队列幂等更新上限);false=关闭(停止该队列的扩容信号,已有弹性量与机器由缩容自然回落,计量上报不受影响;待回调状态拒绝)。开关操作必须是纯弹性请求:不得与 QueueType / ResourceUsages / Alias / Description 同传。仅独占型非 default 队列允许携带混合弹性参数</p>
79640
+ :rtype: bool
79641
+ """
79642
+ return self._HybridElasticEnabled
79643
+
79644
+ @HybridElasticEnabled.setter
79645
+ def HybridElasticEnabled(self, HybridElasticEnabled):
79646
+ self._HybridElasticEnabled = HybridElasticEnabled
79647
+
79455
79648
 
79456
79649
  def _deserialize(self, params):
79457
79650
  self._Id = params.get("Id")
@@ -79466,6 +79659,8 @@ class ModifyPartitionQueueRequest(AbstractModel):
79466
79659
  obj._deserialize(item)
79467
79660
  self._ResourceUsages.append(obj)
79468
79661
  self._QueueType = params.get("QueueType")
79662
+ self._MaxElasticCu = params.get("MaxElasticCu")
79663
+ self._HybridElasticEnabled = params.get("HybridElasticEnabled")
79469
79664
  memeber_set = set(params.keys())
79470
79665
  for name, value in vars(self).items():
79471
79666
  property_name = name[1:]
@@ -84224,6 +84419,9 @@ class PartitionInfo(AbstractModel):
84224
84419
  :param _ExpireTime: <p>过期时间</p>
84225
84420
  注意:此字段可能返回 null,表示取不到有效值。
84226
84421
  :type ExpireTime: str
84422
+ :param _IsolatedTime: <p>资源隔离时间,格式:yyyy-MM-dd HH:mm:ss。仅分区处于隔离中时返回该字段,用于展示分区被隔离后多久会被自动删除;未隔离或已恢复的分区不返回该字段</p>
84423
+ 注意:此字段可能返回 null,表示取不到有效值。
84424
+ :type IsolatedTime: str
84227
84425
  :param _ResourcePoolKind: <p>资源池形态:SYSTEM(系统)/ USER(用户)/ EXTERNAL_TKE(纳管外部 TKE 集群)</p>
84228
84426
  注意:此字段可能返回 null,表示取不到有效值。
84229
84427
  :type ResourcePoolKind: str
@@ -84246,6 +84444,7 @@ class PartitionInfo(AbstractModel):
84246
84444
  self._CreateTime = None
84247
84445
  self._UpdateTime = None
84248
84446
  self._ExpireTime = None
84447
+ self._IsolatedTime = None
84249
84448
  self._ResourcePoolKind = None
84250
84449
  self._ExternalClusterId = None
84251
84450
  self._Tags = None
@@ -84389,6 +84588,18 @@ class PartitionInfo(AbstractModel):
84389
84588
  def ExpireTime(self, ExpireTime):
84390
84589
  self._ExpireTime = ExpireTime
84391
84590
 
84591
+ @property
84592
+ def IsolatedTime(self):
84593
+ r"""<p>资源隔离时间,格式:yyyy-MM-dd HH:mm:ss。仅分区处于隔离中时返回该字段,用于展示分区被隔离后多久会被自动删除;未隔离或已恢复的分区不返回该字段</p>
84594
+ 注意:此字段可能返回 null,表示取不到有效值。
84595
+ :rtype: str
84596
+ """
84597
+ return self._IsolatedTime
84598
+
84599
+ @IsolatedTime.setter
84600
+ def IsolatedTime(self, IsolatedTime):
84601
+ self._IsolatedTime = IsolatedTime
84602
+
84392
84603
  @property
84393
84604
  def ResourcePoolKind(self):
84394
84605
  r"""<p>资源池形态:SYSTEM(系统)/ USER(用户)/ EXTERNAL_TKE(纳管外部 TKE 集群)</p>
@@ -84449,6 +84660,7 @@ class PartitionInfo(AbstractModel):
84449
84660
  self._CreateTime = params.get("CreateTime")
84450
84661
  self._UpdateTime = params.get("UpdateTime")
84451
84662
  self._ExpireTime = params.get("ExpireTime")
84663
+ self._IsolatedTime = params.get("IsolatedTime")
84452
84664
  self._ResourcePoolKind = params.get("ResourcePoolKind")
84453
84665
  self._ExternalClusterId = params.get("ExternalClusterId")
84454
84666
  if params.get("Tags") is not None:
@@ -86884,6 +87096,11 @@ class QueueInfo(AbstractModel):
86884
87096
  :type IsDefault: int
86885
87097
  :param _QueueType: <p>队列类型:1-独占型,2-共享型</p>
86886
87098
  :type QueueType: int
87099
+ :param _HybridElasticStatus: <p>队列混合计费弹性状态(由队列开关与分区按量身份状态派生)</p><p>枚举值:</p><ul><li>NONE:未开通</li><li>PENDING:已提交开通,等待分区按量身份创建完成</li><li>ENABLED:已开通,分区按量身份运行中</li><li>FROZEN:已开通,但分区按量身份非运行中(欠费冻结等),弹性量已清零,恢复前不可扩容</li></ul>
87100
+ :type HybridElasticStatus: str
87101
+ :param _MaxElasticCu: <p>队列级混合弹性上限(CU),开通(HybridElasticEnabled=true)/修改(MaxElasticCu)时指定</p><p>仅 PENDING / ENABLED / FROZEN 状态的队列返回;未开通(NONE)或已关闭(自然回落中)时省略</p>
87102
+ 注意:此字段可能返回 null,表示取不到有效值。
87103
+ :type MaxElasticCu: int
86887
87104
  """
86888
87105
  self._Id = None
86889
87106
  self._QueueName = None
@@ -86893,6 +87110,8 @@ class QueueInfo(AbstractModel):
86893
87110
  self._Description = None
86894
87111
  self._IsDefault = None
86895
87112
  self._QueueType = None
87113
+ self._HybridElasticStatus = None
87114
+ self._MaxElasticCu = None
86896
87115
 
86897
87116
  @property
86898
87117
  def Id(self):
@@ -86985,6 +87204,29 @@ class QueueInfo(AbstractModel):
86985
87204
  def QueueType(self, QueueType):
86986
87205
  self._QueueType = QueueType
86987
87206
 
87207
+ @property
87208
+ def HybridElasticStatus(self):
87209
+ r"""<p>队列混合计费弹性状态(由队列开关与分区按量身份状态派生)</p><p>枚举值:</p><ul><li>NONE:未开通</li><li>PENDING:已提交开通,等待分区按量身份创建完成</li><li>ENABLED:已开通,分区按量身份运行中</li><li>FROZEN:已开通,但分区按量身份非运行中(欠费冻结等),弹性量已清零,恢复前不可扩容</li></ul>
87210
+ :rtype: str
87211
+ """
87212
+ return self._HybridElasticStatus
87213
+
87214
+ @HybridElasticStatus.setter
87215
+ def HybridElasticStatus(self, HybridElasticStatus):
87216
+ self._HybridElasticStatus = HybridElasticStatus
87217
+
87218
+ @property
87219
+ def MaxElasticCu(self):
87220
+ r"""<p>队列级混合弹性上限(CU),开通(HybridElasticEnabled=true)/修改(MaxElasticCu)时指定</p><p>仅 PENDING / ENABLED / FROZEN 状态的队列返回;未开通(NONE)或已关闭(自然回落中)时省略</p>
87221
+ 注意:此字段可能返回 null,表示取不到有效值。
87222
+ :rtype: int
87223
+ """
87224
+ return self._MaxElasticCu
87225
+
87226
+ @MaxElasticCu.setter
87227
+ def MaxElasticCu(self, MaxElasticCu):
87228
+ self._MaxElasticCu = MaxElasticCu
87229
+
86988
87230
 
86989
87231
  def _deserialize(self, params):
86990
87232
  self._Id = params.get("Id")
@@ -87005,6 +87247,8 @@ class QueueInfo(AbstractModel):
87005
87247
  self._Description = params.get("Description")
87006
87248
  self._IsDefault = params.get("IsDefault")
87007
87249
  self._QueueType = params.get("QueueType")
87250
+ self._HybridElasticStatus = params.get("HybridElasticStatus")
87251
+ self._MaxElasticCu = params.get("MaxElasticCu")
87008
87252
  memeber_set = set(params.keys())
87009
87253
  for name, value in vars(self).items():
87010
87254
  property_name = name[1:]
@@ -89602,14 +89846,14 @@ class ResourceConf(AbstractModel):
89602
89846
 
89603
89847
  def __init__(self):
89604
89848
  r"""
89605
- :param _Parallelism: 当为TCLake优化资源时,优化任务的并行度
89849
+ :param _Parallelism: <p>当为TCLake优化资源时,优化任务的并行度</p>
89606
89850
  :type Parallelism: int
89607
89851
  """
89608
89852
  self._Parallelism = None
89609
89853
 
89610
89854
  @property
89611
89855
  def Parallelism(self):
89612
- r"""当为TCLake优化资源时,优化任务的并行度
89856
+ r"""<p>当为TCLake优化资源时,优化任务的并行度</p>
89613
89857
  :rtype: int
89614
89858
  """
89615
89859
  return self._Parallelism
@@ -102586,6 +102830,8 @@ class TableBaseInfo(AbstractModel):
102586
102830
 
102587
102831
  @property
102588
102832
  def SmartPolicy(self):
102833
+ warnings.warn("parameter `SmartPolicy` is deprecated", DeprecationWarning)
102834
+
102589
102835
  r"""智能数据治理配置项
102590
102836
  注意:此字段可能返回 null,表示取不到有效值。
102591
102837
  :rtype: :class:`tencentcloud.dlc.v20210125.models.SmartPolicy`
@@ -102594,6 +102840,8 @@ class TableBaseInfo(AbstractModel):
102594
102840
 
102595
102841
  @SmartPolicy.setter
102596
102842
  def SmartPolicy(self, SmartPolicy):
102843
+ warnings.warn("parameter `SmartPolicy` is deprecated", DeprecationWarning)
102844
+
102597
102845
  self._SmartPolicy = SmartPolicy
102598
102846
 
102599
102847
  @property
@@ -102804,34 +103052,34 @@ class TableResponseInfo(AbstractModel):
102804
103052
 
102805
103053
  def __init__(self):
102806
103054
  r"""
102807
- :param _TableBaseInfo: 数据表基本信息。
103055
+ :param _TableBaseInfo: <p>数据表基本信息。</p>
102808
103056
  :type TableBaseInfo: :class:`tencentcloud.dlc.v20210125.models.TableBaseInfo`
102809
- :param _Columns: 数据表列信息。
103057
+ :param _Columns: <p>数据表列信息。</p>
102810
103058
  注意:此字段可能返回 null,表示取不到有效值。
102811
103059
  :type Columns: list of Column
102812
- :param _Partitions: 数据表分块信息。
103060
+ :param _Partitions: <p>数据表分块信息。</p>
102813
103061
  注意:此字段可能返回 null,表示取不到有效值。
102814
103062
  :type Partitions: list of Partition
102815
- :param _Location: 数据存储路径。
103063
+ :param _Location: <p>数据存储路径。</p>
102816
103064
  :type Location: str
102817
- :param _Properties: 数据表属性信息。
103065
+ :param _Properties: <p>数据表属性信息。</p>
102818
103066
  注意:此字段可能返回 null,表示取不到有效值。
102819
103067
  :type Properties: list of Property
102820
- :param _ModifiedTime: 数据表更新时间, 单位: ms。
103068
+ :param _ModifiedTime: <p>数据表更新时间, 单位: ms。</p>
102821
103069
  :type ModifiedTime: str
102822
- :param _CreateTime: 数据表创建时间,单位: ms。
103070
+ :param _CreateTime: <p>数据表创建时间,单位: ms。</p>
102823
103071
  :type CreateTime: str
102824
- :param _InputFormat: 数据格式。
103072
+ :param _InputFormat: <p>数据格式。</p>
102825
103073
  :type InputFormat: str
102826
- :param _StorageSize: 数据表存储大小(单位:Byte)
103074
+ :param _StorageSize: <p>数据表存储大小(单位:Byte)</p>
102827
103075
  :type StorageSize: int
102828
- :param _RecordCount: 数据表行数
103076
+ :param _RecordCount: <p>数据表行数</p>
102829
103077
  :type RecordCount: int
102830
- :param _MapMaterializedViewName: xxxx
103078
+ :param _MapMaterializedViewName: <p>xxxx</p>
102831
103079
  :type MapMaterializedViewName: str
102832
- :param _HeatValue: 访问热点
103080
+ :param _HeatValue: <p>访问热点</p>
102833
103081
  :type HeatValue: int
102834
- :param _InputFormatShort: InputFormat的缩写
103082
+ :param _InputFormatShort: <p>InputFormat的缩写</p>
102835
103083
  :type InputFormatShort: str
102836
103084
  """
102837
103085
  self._TableBaseInfo = None
@@ -102850,7 +103098,7 @@ class TableResponseInfo(AbstractModel):
102850
103098
 
102851
103099
  @property
102852
103100
  def TableBaseInfo(self):
102853
- r"""数据表基本信息。
103101
+ r"""<p>数据表基本信息。</p>
102854
103102
  :rtype: :class:`tencentcloud.dlc.v20210125.models.TableBaseInfo`
102855
103103
  """
102856
103104
  return self._TableBaseInfo
@@ -102861,7 +103109,7 @@ class TableResponseInfo(AbstractModel):
102861
103109
 
102862
103110
  @property
102863
103111
  def Columns(self):
102864
- r"""数据表列信息。
103112
+ r"""<p>数据表列信息。</p>
102865
103113
  注意:此字段可能返回 null,表示取不到有效值。
102866
103114
  :rtype: list of Column
102867
103115
  """
@@ -102873,7 +103121,7 @@ class TableResponseInfo(AbstractModel):
102873
103121
 
102874
103122
  @property
102875
103123
  def Partitions(self):
102876
- r"""数据表分块信息。
103124
+ r"""<p>数据表分块信息。</p>
102877
103125
  注意:此字段可能返回 null,表示取不到有效值。
102878
103126
  :rtype: list of Partition
102879
103127
  """
@@ -102885,7 +103133,7 @@ class TableResponseInfo(AbstractModel):
102885
103133
 
102886
103134
  @property
102887
103135
  def Location(self):
102888
- r"""数据存储路径。
103136
+ r"""<p>数据存储路径。</p>
102889
103137
  :rtype: str
102890
103138
  """
102891
103139
  return self._Location
@@ -102896,7 +103144,7 @@ class TableResponseInfo(AbstractModel):
102896
103144
 
102897
103145
  @property
102898
103146
  def Properties(self):
102899
- r"""数据表属性信息。
103147
+ r"""<p>数据表属性信息。</p>
102900
103148
  注意:此字段可能返回 null,表示取不到有效值。
102901
103149
  :rtype: list of Property
102902
103150
  """
@@ -102908,7 +103156,7 @@ class TableResponseInfo(AbstractModel):
102908
103156
 
102909
103157
  @property
102910
103158
  def ModifiedTime(self):
102911
- r"""数据表更新时间, 单位: ms。
103159
+ r"""<p>数据表更新时间, 单位: ms。</p>
102912
103160
  :rtype: str
102913
103161
  """
102914
103162
  return self._ModifiedTime
@@ -102919,7 +103167,7 @@ class TableResponseInfo(AbstractModel):
102919
103167
 
102920
103168
  @property
102921
103169
  def CreateTime(self):
102922
- r"""数据表创建时间,单位: ms。
103170
+ r"""<p>数据表创建时间,单位: ms。</p>
102923
103171
  :rtype: str
102924
103172
  """
102925
103173
  return self._CreateTime
@@ -102930,7 +103178,7 @@ class TableResponseInfo(AbstractModel):
102930
103178
 
102931
103179
  @property
102932
103180
  def InputFormat(self):
102933
- r"""数据格式。
103181
+ r"""<p>数据格式。</p>
102934
103182
  :rtype: str
102935
103183
  """
102936
103184
  return self._InputFormat
@@ -102941,7 +103189,7 @@ class TableResponseInfo(AbstractModel):
102941
103189
 
102942
103190
  @property
102943
103191
  def StorageSize(self):
102944
- r"""数据表存储大小(单位:Byte)
103192
+ r"""<p>数据表存储大小(单位:Byte)</p>
102945
103193
  :rtype: int
102946
103194
  """
102947
103195
  return self._StorageSize
@@ -102952,7 +103200,7 @@ class TableResponseInfo(AbstractModel):
102952
103200
 
102953
103201
  @property
102954
103202
  def RecordCount(self):
102955
- r"""数据表行数
103203
+ r"""<p>数据表行数</p>
102956
103204
  :rtype: int
102957
103205
  """
102958
103206
  return self._RecordCount
@@ -102963,7 +103211,7 @@ class TableResponseInfo(AbstractModel):
102963
103211
 
102964
103212
  @property
102965
103213
  def MapMaterializedViewName(self):
102966
- r"""xxxx
103214
+ r"""<p>xxxx</p>
102967
103215
  :rtype: str
102968
103216
  """
102969
103217
  return self._MapMaterializedViewName
@@ -102974,7 +103222,7 @@ class TableResponseInfo(AbstractModel):
102974
103222
 
102975
103223
  @property
102976
103224
  def HeatValue(self):
102977
- r"""访问热点
103225
+ r"""<p>访问热点</p>
102978
103226
  :rtype: int
102979
103227
  """
102980
103228
  return self._HeatValue
@@ -102985,7 +103233,7 @@ class TableResponseInfo(AbstractModel):
102985
103233
 
102986
103234
  @property
102987
103235
  def InputFormatShort(self):
102988
- r"""InputFormat的缩写
103236
+ r"""<p>InputFormat的缩写</p>
102989
103237
  :rtype: str
102990
103238
  """
102991
103239
  return self._InputFormatShort
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-dlc
3
- Version: 3.1.220
3
+ Version: 3.1.222
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.220
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.222
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,11 @@
1
+ tencentcloud/__init__.py,sha256=PcrCkULUzFK8IcPAi3WBKUtFKrhvSWjN2-AxwLgsDwE,630
2
+ tencentcloud/dlc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/dlc/v20210125/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/dlc/v20210125/dlc_client.py,sha256=9t6ZdwjZQ7J_ludw9EcH1pjxf6ODKdr_MrZMYTGCvOM,351798
5
+ tencentcloud/dlc/v20210125/dlc_client_async.py,sha256=Q1gVDZzYREfkNcYf34Irrx0xWTfMHsG-vQ8Vqj-uvBo,236998
6
+ tencentcloud/dlc/v20210125/errorcodes.py,sha256=p1goJKBTpXI1X6uSpCjzzqAZ7Hz49D7FOZgIGcq_-_4,44122
7
+ tencentcloud/dlc/v20210125/models.py,sha256=XZ28bsR18xFOW-qgqcJ8vcBc0JeT7pHhXFkfyuhqeRQ,3712205
8
+ tencentcloud_sdk_python_dlc-3.1.222.dist-info/METADATA,sha256=PDnXKrKZpS1KvTxUiANivEo3OAMnXQ_h3qBCN66z0BY,1497
9
+ tencentcloud_sdk_python_dlc-3.1.222.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_dlc-3.1.222.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_dlc-3.1.222.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- tencentcloud/__init__.py,sha256=ULqwezbhSZsaxSMoRSEkc6M3uZuJXVuNoZwvoJldxjk,630
2
- tencentcloud/dlc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/dlc/v20210125/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/dlc/v20210125/dlc_client.py,sha256=lrxjvN4PBF1hcU64frv4ZMydUt2QuZha1sW7nHx4MGs,351351
5
- tencentcloud/dlc/v20210125/dlc_client_async.py,sha256=iZc7L7V9VAybIUGWQQayueoGIhN7eb725v05wqSmy-8,236551
6
- tencentcloud/dlc/v20210125/errorcodes.py,sha256=7naWekvszNkmxFmGcAtwix9a2oaiSH_U_dAbV7AXipU,41957
7
- tencentcloud/dlc/v20210125/models.py,sha256=19xh3OZiMhDR4N0Hi-t29s9fIKxFle0nJ7iWBixucF0,3698213
8
- tencentcloud_sdk_python_dlc-3.1.220.dist-info/METADATA,sha256=G8iIq2q23KB5fjNF9KXcT9E3QSjJ-AwVeovL9Mx7CEc,1497
9
- tencentcloud_sdk_python_dlc-3.1.220.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_dlc-3.1.220.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_dlc-3.1.220.dist-info/RECORD,,