tencentcloud-sdk-python 3.0.1377__py2.py3-none-any.whl → 3.0.1379__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.
Files changed (51) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/models.py +34 -4
  3. tencentcloud/autoscaling/v20180419/models.py +45 -16
  4. tencentcloud/batch/v20170312/batch_client.py +3 -3
  5. tencentcloud/batch/v20170312/models.py +230 -168
  6. tencentcloud/billing/v20180709/billing_client.py +322 -0
  7. tencentcloud/billing/v20180709/errorcodes.py +9 -0
  8. tencentcloud/billing/v20180709/models.py +4894 -2542
  9. tencentcloud/cbs/v20170312/cbs_client.py +1 -1
  10. tencentcloud/cbs/v20170312/models.py +18 -18
  11. tencentcloud/clb/v20180317/clb_client.py +7 -7
  12. tencentcloud/clb/v20180317/models.py +51 -41
  13. tencentcloud/dbbrain/v20210527/dbbrain_client.py +46 -0
  14. tencentcloud/dbbrain/v20210527/models.py +368 -0
  15. tencentcloud/dnspod/v20210323/dnspod_client.py +23 -0
  16. tencentcloud/dnspod/v20210323/models.py +503 -0
  17. tencentcloud/domain/v20180808/errorcodes.py +3 -0
  18. tencentcloud/domain/v20180808/models.py +68 -44
  19. tencentcloud/hunyuan/v20230901/models.py +260 -0
  20. tencentcloud/lighthouse/v20200324/lighthouse_client.py +1 -1
  21. tencentcloud/lighthouse/v20200324/models.py +2 -2
  22. tencentcloud/lke/v20231130/models.py +192 -2
  23. tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
  24. tencentcloud/mps/v20190612/models.py +211 -2
  25. tencentcloud/postgres/v20170312/models.py +12 -4
  26. tencentcloud/tag/v20180813/models.py +8 -8
  27. tencentcloud/tcb/v20180608/models.py +34 -4
  28. tencentcloud/tdmq/v20200217/errorcodes.py +27 -0
  29. tencentcloud/teo/v20220901/models.py +0 -20
  30. tencentcloud/thpc/v20211109/models.py +2 -2
  31. tencentcloud/thpc/v20220401/models.py +4 -4
  32. tencentcloud/thpc/v20230321/errorcodes.py +9 -0
  33. tencentcloud/thpc/v20230321/models.py +85 -8
  34. tencentcloud/thpc/v20230321/thpc_client.py +23 -0
  35. tencentcloud/tione/v20211111/models.py +274 -0
  36. tencentcloud/tke/v20180525/models.py +10 -0
  37. tencentcloud/tmt/v20180321/errorcodes.py +3 -0
  38. tencentcloud/tmt/v20180321/models.py +296 -1
  39. tencentcloud/tmt/v20180321/tmt_client.py +28 -0
  40. tencentcloud/trtc/v20190722/models.py +15 -0
  41. tencentcloud/vod/v20180717/models.py +2 -2
  42. tencentcloud/vpc/v20170312/models.py +24 -18
  43. tencentcloud/waf/v20180125/models.py +15 -0
  44. tencentcloud/wedata/v20210820/errorcodes.py +9 -0
  45. tencentcloud/wedata/v20210820/models.py +1078 -0
  46. tencentcloud/wedata/v20210820/wedata_client.py +46 -0
  47. {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/METADATA +1 -1
  48. {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/RECORD +51 -51
  49. {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/LICENSE +0 -0
  50. {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/WHEEL +0 -0
  51. {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/top_level.txt +0 -0
@@ -822,7 +822,6 @@ class AclConfig(AbstractModel):
822
822
  :param _AclUserRules: 用户自定义规则。
823
823
  :type AclUserRules: list of AclUserRule
824
824
  :param _Customizes: 托管定制规则
825
- 注意:此字段可能返回 null,表示取不到有效值。
826
825
  :type Customizes: list of AclUserRule
827
826
  """
828
827
  self._Switch = None
@@ -856,7 +855,6 @@ class AclConfig(AbstractModel):
856
855
  @property
857
856
  def Customizes(self):
858
857
  """托管定制规则
859
- 注意:此字段可能返回 null,表示取不到有效值。
860
858
  :rtype: list of AclUserRule
861
859
  """
862
860
  return self._Customizes
@@ -1619,7 +1617,6 @@ class AlgDetectRule(AbstractModel):
1619
1617
  :param _AlgConditions: 自定义规则。
1620
1618
  :type AlgConditions: list of AclCondition
1621
1619
  :param _AlgDetectSession: Cookie校验和会话行为分析。
1622
- 注意:此字段可能返回 null,表示取不到有效值。
1623
1620
  :type AlgDetectSession: :class:`tencentcloud.teo.v20220901.models.AlgDetectSession`
1624
1621
  :param _AlgDetectJS: 客户端行为校验。
1625
1622
  :type AlgDetectJS: list of AlgDetectJS
@@ -1681,7 +1678,6 @@ class AlgDetectRule(AbstractModel):
1681
1678
  @property
1682
1679
  def AlgDetectSession(self):
1683
1680
  """Cookie校验和会话行为分析。
1684
- 注意:此字段可能返回 null,表示取不到有效值。
1685
1681
  :rtype: :class:`tencentcloud.teo.v20220901.models.AlgDetectSession`
1686
1682
  """
1687
1683
  return self._AlgDetectSession
@@ -22633,10 +22629,8 @@ class DropPageConfig(AbstractModel):
22633
22629
  <li>off:关闭。</li>
22634
22630
  :type Switch: str
22635
22631
  :param _WafDropPageDetail: Waf(托管规则)模块的拦截页面配置。如果为null,默认使用历史配置。
22636
- 注意:此字段可能返回 null,表示取不到有效值。
22637
22632
  :type WafDropPageDetail: :class:`tencentcloud.teo.v20220901.models.DropPageDetail`
22638
22633
  :param _AclDropPageDetail: 自定义页面的拦截页面配置。如果为null,默认使用历史配置。
22639
- 注意:此字段可能返回 null,表示取不到有效值。
22640
22634
  :type AclDropPageDetail: :class:`tencentcloud.teo.v20220901.models.DropPageDetail`
22641
22635
  """
22642
22636
  self._Switch = None
@@ -22659,7 +22653,6 @@ class DropPageConfig(AbstractModel):
22659
22653
  @property
22660
22654
  def WafDropPageDetail(self):
22661
22655
  """Waf(托管规则)模块的拦截页面配置。如果为null,默认使用历史配置。
22662
- 注意:此字段可能返回 null,表示取不到有效值。
22663
22656
  :rtype: :class:`tencentcloud.teo.v20220901.models.DropPageDetail`
22664
22657
  """
22665
22658
  return self._WafDropPageDetail
@@ -22671,7 +22664,6 @@ class DropPageConfig(AbstractModel):
22671
22664
  @property
22672
22665
  def AclDropPageDetail(self):
22673
22666
  """自定义页面的拦截页面配置。如果为null,默认使用历史配置。
22674
- 注意:此字段可能返回 null,表示取不到有效值。
22675
22667
  :rtype: :class:`tencentcloud.teo.v20220901.models.DropPageDetail`
22676
22668
  """
22677
22669
  return self._AclDropPageDetail
@@ -26512,10 +26504,8 @@ class IntelligenceRule(AbstractModel):
26512
26504
  :param _Switch: 开关,取值有:
26513
26505
  <li>on:开启;</li>
26514
26506
  <li>off:关闭。</li>
26515
- 注意:此字段可能返回 null,表示取不到有效值。
26516
26507
  :type Switch: str
26517
26508
  :param _IntelligenceRuleItems: 规则详情。
26518
- 注意:此字段可能返回 null,表示取不到有效值。
26519
26509
  :type IntelligenceRuleItems: list of IntelligenceRuleItem
26520
26510
  """
26521
26511
  self._Switch = None
@@ -26526,7 +26516,6 @@ class IntelligenceRule(AbstractModel):
26526
26516
  """开关,取值有:
26527
26517
  <li>on:开启;</li>
26528
26518
  <li>off:关闭。</li>
26529
- 注意:此字段可能返回 null,表示取不到有效值。
26530
26519
  :rtype: str
26531
26520
  """
26532
26521
  return self._Switch
@@ -26538,7 +26527,6 @@ class IntelligenceRule(AbstractModel):
26538
26527
  @property
26539
26528
  def IntelligenceRuleItems(self):
26540
26529
  """规则详情。
26541
- 注意:此字段可能返回 null,表示取不到有效值。
26542
26530
  :rtype: list of IntelligenceRuleItem
26543
26531
  """
26544
26532
  return self._IntelligenceRuleItems
@@ -40923,14 +40911,12 @@ class SkipCondition(AbstractModel):
40923
40911
  <li>wildcard:通配符匹配,支持 * 通配。</li>
40924
40912
  :type MatchFromType: str
40925
40913
  :param _MatchFrom: 匹配Key的值。
40926
- 注意:此字段可能返回 null,表示取不到有效值。
40927
40914
  :type MatchFrom: list of str
40928
40915
  :param _MatchContentType: 匹配Content所使用的匹配方式,取值为:
40929
40916
  <li>equal:精准匹配,等于;</li>
40930
40917
  <li>wildcard:通配符匹配,支持 * 通配。</li>
40931
40918
  :type MatchContentType: str
40932
40919
  :param _MatchContent: 匹配Value的值。
40933
- 注意:此字段可能返回 null,表示取不到有效值。
40934
40920
  :type MatchContent: list of str
40935
40921
  """
40936
40922
  self._Type = None
@@ -40991,7 +40977,6 @@ class SkipCondition(AbstractModel):
40991
40977
  @property
40992
40978
  def MatchFrom(self):
40993
40979
  """匹配Key的值。
40994
- 注意:此字段可能返回 null,表示取不到有效值。
40995
40980
  :rtype: list of str
40996
40981
  """
40997
40982
  return self._MatchFrom
@@ -41016,7 +41001,6 @@ class SkipCondition(AbstractModel):
41016
41001
  @property
41017
41002
  def MatchContent(self):
41018
41003
  """匹配Value的值。
41019
- 注意:此字段可能返回 null,表示取不到有效值。
41020
41004
  :rtype: list of str
41021
41005
  """
41022
41006
  return self._MatchContent
@@ -41171,10 +41155,8 @@ class SlowRateConfig(AbstractModel):
41171
41155
  <li>off:关闭。</li>
41172
41156
  :type Switch: str
41173
41157
  :param _Interval: 统计的间隔,单位是秒,即在首段包传输结束后,将数据传输轴按照本参数切分,每个分片独立计算慢速攻击。
41174
- 注意:此字段可能返回 null,表示取不到有效值。
41175
41158
  :type Interval: int
41176
41159
  :param _Threshold: 统计时应用的速率阈值,单位是bps,即如果本分片中的传输速率没达到本参数的值,则判定为慢速攻击,应用慢速攻击的处置方式。
41177
- 注意:此字段可能返回 null,表示取不到有效值。
41178
41160
  :type Threshold: int
41179
41161
  """
41180
41162
  self._Switch = None
@@ -41197,7 +41179,6 @@ class SlowRateConfig(AbstractModel):
41197
41179
  @property
41198
41180
  def Interval(self):
41199
41181
  """统计的间隔,单位是秒,即在首段包传输结束后,将数据传输轴按照本参数切分,每个分片独立计算慢速攻击。
41200
- 注意:此字段可能返回 null,表示取不到有效值。
41201
41182
  :rtype: int
41202
41183
  """
41203
41184
  return self._Interval
@@ -41209,7 +41190,6 @@ class SlowRateConfig(AbstractModel):
41209
41190
  @property
41210
41191
  def Threshold(self):
41211
41192
  """统计时应用的速率阈值,单位是bps,即如果本分片中的传输速率没达到本参数的值,则判定为慢速攻击,应用慢速攻击的处置方式。
41212
- 注意:此字段可能返回 null,表示取不到有效值。
41213
41193
  :rtype: int
41214
41194
  """
41215
41195
  return self._Threshold
@@ -711,7 +711,7 @@ class CreateClusterRequest(AbstractModel):
711
711
  :type ComputeNode: :class:`tencentcloud.thpc.v20211109.models.ComputeNode`
712
712
  :param _ComputeNodeCount: 指定计算节点的数量。默认取值:0。
713
713
  :type ComputeNodeCount: int
714
- :param _SchedulerType: 调度器类型。<br><li>SGE:SGE调度器。</li><br><li>SLURM:SLURM调度器。</li>
714
+ :param _SchedulerType: 调度器类型。<br><li>SLURM:SLURM调度器。</li>
715
715
  :type SchedulerType: str
716
716
  :param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前仅支持公有镜像。
717
717
  :type ImageId: str
@@ -820,7 +820,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
820
820
 
821
821
  @property
822
822
  def SchedulerType(self):
823
- """调度器类型。<br><li>SGE:SGE调度器。</li><br><li>SLURM:SLURM调度器。</li>
823
+ """调度器类型。<br><li>SLURM:SLURM调度器。</li>
824
824
  :rtype: str
825
825
  """
826
826
  return self._SchedulerType
@@ -138,7 +138,7 @@ class AddNodesRequest(AbstractModel):
138
138
  :type SecurityGroupIds: list of str
139
139
  :param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
140
140
  :type ClientToken: str
141
- :param _QueueName: 队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute。</li><li>SGE默认队列为:all.q。</li>
141
+ :param _QueueName: 队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute。</li>
142
142
  :type QueueName: str
143
143
  :param _NodeRole: 添加节点角色。默认值:Compute<br><li>Compute:计算节点。</li><br><li>Login:登录节点。</li>
144
144
  :type NodeRole: str
@@ -340,7 +340,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
340
340
 
341
341
  @property
342
342
  def QueueName(self):
343
- """队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute。</li><li>SGE默认队列为:all.q。</li>
343
+ """队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute。</li>
344
344
  :rtype: str
345
345
  """
346
346
  return self._QueueName
@@ -1532,7 +1532,7 @@ class CreateClusterRequest(AbstractModel):
1532
1532
  :type ComputeNode: :class:`tencentcloud.thpc.v20220401.models.ComputeNode`
1533
1533
  :param _ComputeNodeCount: 指定计算节点的数量。默认取值:0。
1534
1534
  :type ComputeNodeCount: int
1535
- :param _SchedulerType: 调度器类型。默认取值:SLURM。<br><li>SGE:SGE调度器。</li><br><li>SLURM:SLURM调度器。</li>
1535
+ :param _SchedulerType: 调度器类型。默认取值:SLURM。<br><li>SLURM:SLURM调度器。</li>
1536
1536
  :type SchedulerType: str
1537
1537
  :param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前支持部分公有镜像和自定义镜像。
1538
1538
  :type ImageId: str
@@ -1642,7 +1642,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
1642
1642
 
1643
1643
  @property
1644
1644
  def SchedulerType(self):
1645
- """调度器类型。默认取值:SLURM。<br><li>SGE:SGE调度器。</li><br><li>SLURM:SLURM调度器。</li>
1645
+ """调度器类型。默认取值:SLURM。<br><li>SLURM:SLURM调度器。</li>
1646
1646
  :rtype: str
1647
1647
  """
1648
1648
  return self._SchedulerType
@@ -62,6 +62,9 @@ INVALIDPARAMETERVALUE_NOTSUPPORTED = 'InvalidParameterValue.NotSupported'
62
62
  # 字段不支持此值。
63
63
  INVALIDPARAMETERVALUE_PARAMETERSNOTSUPPORTED = 'InvalidParameterValue.ParametersNotSupported'
64
64
 
65
+ # 工作空间实例查找失败
66
+ INVALIDPARAMETERVALUE_SPACEIDNOTFOUND = 'InvalidParameterValue.SpaceIdNotFound'
67
+
65
68
  # 参数值过大。
66
69
  INVALIDPARAMETERVALUE_TOOLARGE = 'InvalidParameterValue.TooLarge'
67
70
 
@@ -149,5 +152,11 @@ UNSUPPORTEDOPERATION_PARAMETERTOOSMALL = 'UnsupportedOperation.ParameterTooSmall
149
152
  # 队列内存在节点,不支持此操作。
150
153
  UNSUPPORTEDOPERATION_QUEUENOTEMPTY = 'UnsupportedOperation.QueueNotEmpty'
151
154
 
155
+ # 实例的付费模式不支持当前操作。
156
+ UNSUPPORTEDOPERATION_SPACECHARGETYPE = 'UnsupportedOperation.SpaceChargeType'
157
+
152
158
  # vpc冲突,不支持当前操作。
153
159
  UNSUPPORTEDOPERATION_VPCIDCONFLICT = 'UnsupportedOperation.VpcIdConflict'
160
+
161
+ # 隔离状态的工作空间实例不支持当前操作。
162
+ UNSUPPORTEDOPERATION_WORKSPACESTATEARREARS = 'UnsupportedOperation.WorkspaceStateArrears'
@@ -138,7 +138,7 @@ class AddNodesRequest(AbstractModel):
138
138
  :type SecurityGroupIds: list of str
139
139
  :param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
140
140
  :type ClientToken: str
141
- :param _QueueName: 队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute。</li><li>SGE默认队列为:all.q。</li>
141
+ :param _QueueName: 队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute。</li>
142
142
 
143
143
  :type QueueName: str
144
144
  :param _NodeRole: 添加节点角色。默认值:Compute<br><li>Compute:计算节点。</li><li>Login:登录节点。</li>
@@ -347,7 +347,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
347
347
 
348
348
  @property
349
349
  def QueueName(self):
350
- """队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute。</li><li>SGE默认队列为:all.q。</li>
350
+ """队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute。</li>
351
351
 
352
352
  :rtype: str
353
353
  """
@@ -586,7 +586,7 @@ class AttachNodesRequest(AbstractModel):
586
586
  :type ResourceSet: list of str
587
587
  :param _QueueName: 队列名称。不指定则为默认队列:
588
588
  SLURM默认队列为:compute。
589
- SGE默认队列为:all.q。
589
+
590
590
  :type QueueName: str
591
591
  :param _ImageId: 指定有效的镜像ID,格式形如img-xxx。目前仅支持公有镜像和特定自定义镜像。如不指定,则该字段是默认镜像。
592
592
  :type ImageId: str
@@ -625,7 +625,7 @@ SGE默认队列为:all.q。
625
625
  def QueueName(self):
626
626
  """队列名称。不指定则为默认队列:
627
627
  SLURM默认队列为:compute。
628
- SGE默认队列为:all.q。
628
+
629
629
  :rtype: str
630
630
  """
631
631
  return self._QueueName
@@ -1606,12 +1606,11 @@ class CreateClusterRequest(AbstractModel):
1606
1606
  :type ComputeNode: :class:`tencentcloud.thpc.v20230321.models.ComputeNode`
1607
1607
  :param _ComputeNodeCount: 指定计算节点的数量。默认取值:0。
1608
1608
  :type ComputeNodeCount: int
1609
- :param _SchedulerType: 调度器类型。默认取值:SLURM。<li>SGE:SGE调度器。</li><li>SLURM:SLURM调度器。</li>
1609
+ :param _SchedulerType: 调度器类型。默认取值:SLURM。<li>SLURM:SLURM调度器。</li>
1610
1610
  :type SchedulerType: str
1611
1611
  :param _SchedulerVersion: 创建调度器的版本号,可填写版本号为“latest” 和 各调度器支持的版本号;如果是"latest", 则代表创建的是平台当前支持的该类型调度器最新版本。如果不填写,默认创建的是“latest”版本调度器
1612
1612
  各调度器支持的集群版本:
1613
1613
  <li>SLURM:21.08.8、23.11.7</li>
1614
- <li>SGE: 8.1.9</li>
1615
1614
  :type SchedulerVersion: str
1616
1615
  :param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前支持部分公有镜像和自定义镜像。公共镜像请参考[镜像限制](https://cloud.tencent.com/document/product/1527/64818#.E9.95.9C.E5.83.8F)
1617
1616
  :type ImageId: str
@@ -1729,7 +1728,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
1729
1728
 
1730
1729
  @property
1731
1730
  def SchedulerType(self):
1732
- """调度器类型。默认取值:SLURM。<li>SGE:SGE调度器。</li><li>SLURM:SLURM调度器。</li>
1731
+ """调度器类型。默认取值:SLURM。<li>SLURM:SLURM调度器。</li>
1733
1732
  :rtype: str
1734
1733
  """
1735
1734
  return self._SchedulerType
@@ -1743,7 +1742,6 @@ false(默认):发送正常请求,通过检查后直接创建实例
1743
1742
  """创建调度器的版本号,可填写版本号为“latest” 和 各调度器支持的版本号;如果是"latest", 则代表创建的是平台当前支持的该类型调度器最新版本。如果不填写,默认创建的是“latest”版本调度器
1744
1743
  各调度器支持的集群版本:
1745
1744
  <li>SLURM:21.08.8、23.11.7</li>
1746
- <li>SGE: 8.1.9</li>
1747
1745
  :rtype: str
1748
1746
  """
1749
1747
  return self._SchedulerVersion
@@ -5333,6 +5331,85 @@ class ModifyWorkspacesAttributeResponse(AbstractModel):
5333
5331
  self._RequestId = params.get("RequestId")
5334
5332
 
5335
5333
 
5334
+ class ModifyWorkspacesRenewFlagRequest(AbstractModel):
5335
+ """ModifyWorkspacesRenewFlag请求参数结构体
5336
+
5337
+ """
5338
+
5339
+ def __init__(self):
5340
+ r"""
5341
+ :param _SpaceIds: 工作空间列表
5342
+ :type SpaceIds: list of str
5343
+ :param _RenewFlag: 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费</li><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费</li><br>若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
5344
+ :type RenewFlag: str
5345
+ """
5346
+ self._SpaceIds = None
5347
+ self._RenewFlag = None
5348
+
5349
+ @property
5350
+ def SpaceIds(self):
5351
+ """工作空间列表
5352
+ :rtype: list of str
5353
+ """
5354
+ return self._SpaceIds
5355
+
5356
+ @SpaceIds.setter
5357
+ def SpaceIds(self, SpaceIds):
5358
+ self._SpaceIds = SpaceIds
5359
+
5360
+ @property
5361
+ def RenewFlag(self):
5362
+ """自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费</li><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费</li><br>若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
5363
+ :rtype: str
5364
+ """
5365
+ return self._RenewFlag
5366
+
5367
+ @RenewFlag.setter
5368
+ def RenewFlag(self, RenewFlag):
5369
+ self._RenewFlag = RenewFlag
5370
+
5371
+
5372
+ def _deserialize(self, params):
5373
+ self._SpaceIds = params.get("SpaceIds")
5374
+ self._RenewFlag = params.get("RenewFlag")
5375
+ memeber_set = set(params.keys())
5376
+ for name, value in vars(self).items():
5377
+ property_name = name[1:]
5378
+ if property_name in memeber_set:
5379
+ memeber_set.remove(property_name)
5380
+ if len(memeber_set) > 0:
5381
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5382
+
5383
+
5384
+
5385
+ class ModifyWorkspacesRenewFlagResponse(AbstractModel):
5386
+ """ModifyWorkspacesRenewFlag返回参数结构体
5387
+
5388
+ """
5389
+
5390
+ def __init__(self):
5391
+ r"""
5392
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5393
+ :type RequestId: str
5394
+ """
5395
+ self._RequestId = None
5396
+
5397
+ @property
5398
+ def RequestId(self):
5399
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5400
+ :rtype: str
5401
+ """
5402
+ return self._RequestId
5403
+
5404
+ @RequestId.setter
5405
+ def RequestId(self, RequestId):
5406
+ self._RequestId = RequestId
5407
+
5408
+
5409
+ def _deserialize(self, params):
5410
+ self._RequestId = params.get("RequestId")
5411
+
5412
+
5336
5413
  class NodeActivity(AbstractModel):
5337
5414
  """节点活动信息。
5338
5415
 
@@ -516,6 +516,29 @@ class ThpcClient(AbstractClient):
516
516
  raise TencentCloudSDKException(type(e).__name__, str(e))
517
517
 
518
518
 
519
+ def ModifyWorkspacesRenewFlag(self, request):
520
+ """本接口 (ModifyWorkspacesAttribute) 用于修改工作空间的属性(目前只支持修改工作空间的名称)。
521
+
522
+ :param request: Request instance for ModifyWorkspacesRenewFlag.
523
+ :type request: :class:`tencentcloud.thpc.v20230321.models.ModifyWorkspacesRenewFlagRequest`
524
+ :rtype: :class:`tencentcloud.thpc.v20230321.models.ModifyWorkspacesRenewFlagResponse`
525
+
526
+ """
527
+ try:
528
+ params = request._serialize()
529
+ headers = request.headers
530
+ body = self.call("ModifyWorkspacesRenewFlag", params, headers=headers)
531
+ response = json.loads(body)
532
+ model = models.ModifyWorkspacesRenewFlagResponse()
533
+ model._deserialize(response["Response"])
534
+ return model
535
+ except Exception as e:
536
+ if isinstance(e, TencentCloudSDKException):
537
+ raise
538
+ else:
539
+ raise TencentCloudSDKException(type(e).__name__, str(e))
540
+
541
+
519
542
  def SetAutoScalingConfiguration(self, request):
520
543
  """本接口(SetAutoScalingConfiguration)用于为集群设置集群弹性伸缩配置信息。
521
544