tencentcloud-sdk-python 3.0.1346__py2.py3-none-any.whl → 3.0.1348__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 +1 -1
- tencentcloud/advisor/v20200721/models.py +0 -26
- tencentcloud/batch/v20170312/models.py +8 -8
- tencentcloud/bh/v20230418/models.py +61 -23
- tencentcloud/cam/v20190116/models.py +2 -2
- tencentcloud/cdwdoris/v20211228/models.py +300 -0
- tencentcloud/cdwpg/v20201230/models.py +180 -168
- tencentcloud/chc/__init__.py +0 -0
- tencentcloud/chc/v20230418/__init__.py +0 -0
- tencentcloud/chc/v20230418/chc_client.py +854 -0
- tencentcloud/chc/v20230418/errorcodes.py +15 -0
- tencentcloud/chc/v20230418/models.py +9933 -0
- tencentcloud/ckafka/v20190819/models.py +8 -24
- tencentcloud/clb/v20180317/models.py +46 -16
- tencentcloud/cls/v20201016/models.py +0 -198
- tencentcloud/dbbrain/v20191016/models.py +0 -4
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +92 -0
- tencentcloud/dbbrain/v20210527/models.py +1027 -210
- tencentcloud/dcdb/v20180411/errorcodes.py +3 -0
- tencentcloud/dcdb/v20180411/models.py +0 -64
- tencentcloud/domain/v20180808/models.py +0 -2
- tencentcloud/ecdn/v20191012/ecdn_client.py +0 -217
- tencentcloud/ecdn/v20191012/errorcodes.py +0 -63
- tencentcloud/ecdn/v20191012/models.py +4 -1047
- tencentcloud/emr/v20190103/models.py +15 -54
- tencentcloud/ess/v20201111/models.py +27 -6
- tencentcloud/essbasic/v20210526/models.py +21 -0
- tencentcloud/gs/v20191118/errorcodes.py +9 -0
- tencentcloud/gs/v20191118/gs_client.py +775 -12
- tencentcloud/gs/v20191118/models.py +4914 -477
- tencentcloud/hai/v20230812/models.py +0 -66
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +1 -1
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +1 -1
- tencentcloud/iotvideoindustry/v20201201/models.py +0 -30
- tencentcloud/lcic/v20220817/lcic_client.py +1 -1
- tencentcloud/lcic/v20220817/models.py +56 -68
- tencentcloud/lke/v20231130/lke_client.py +2 -2
- tencentcloud/lke/v20231130/models.py +4 -8
- tencentcloud/lkeap/v20240522/lkeap_client.py +5 -0
- tencentcloud/mariadb/v20170312/models.py +2 -70
- tencentcloud/mmps/v20200710/models.py +0 -6
- tencentcloud/mqtt/v20240516/models.py +318 -208
- tencentcloud/organization/v20210331/models.py +30 -0
- tencentcloud/tbaas/v20180416/models.py +0 -46
- tencentcloud/tcb/v20180608/errorcodes.py +3 -0
- tencentcloud/tchd/v20230306/models.py +0 -2
- tencentcloud/tcr/v20190924/models.py +4 -148
- tencentcloud/tdmq/v20200217/models.py +0 -14
- tencentcloud/thpc/v20220401/models.py +0 -2
- tencentcloud/thpc/v20230321/models.py +49 -32
- tencentcloud/tione/v20211111/models.py +68 -0
- tencentcloud/tke/v20180525/models.py +0 -94
- tencentcloud/trocket/v20230308/models.py +0 -24
- tencentcloud/tsf/v20180326/models.py +196 -182
- tencentcloud/vcube/v20220410/models.py +51 -158
- tencentcloud/vcube/v20220410/vcube_client.py +2 -2
- tencentcloud/vod/v20180717/models.py +8 -46
- tencentcloud/wedata/v20210820/models.py +126 -0
- {tencentcloud_sdk_python-3.0.1346.dist-info → tencentcloud_sdk_python-3.0.1348.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1346.dist-info → tencentcloud_sdk_python-3.0.1348.dist-info}/RECORD +63 -58
- {tencentcloud_sdk_python-3.0.1346.dist-info → tencentcloud_sdk_python-3.0.1348.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1346.dist-info → tencentcloud_sdk_python-3.0.1348.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1346.dist-info → tencentcloud_sdk_python-3.0.1348.dist-info}/top_level.txt +0 -0
@@ -24710,7 +24710,6 @@ class ModifyRocketMQInstanceSpecResponse(AbstractModel):
|
|
24710
24710
|
def __init__(self):
|
24711
24711
|
r"""
|
24712
24712
|
:param _OrderId: 订单号
|
24713
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
24714
24713
|
:type OrderId: str
|
24715
24714
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
24716
24715
|
:type RequestId: str
|
@@ -24721,7 +24720,6 @@ class ModifyRocketMQInstanceSpecResponse(AbstractModel):
|
|
24721
24720
|
@property
|
24722
24721
|
def OrderId(self):
|
24723
24722
|
"""订单号
|
24724
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
24725
24723
|
:rtype: str
|
24726
24724
|
"""
|
24727
24725
|
return self._OrderId
|
@@ -34060,7 +34058,6 @@ class RocketMQVipInstance(AbstractModel):
|
|
34060
34058
|
:param _InstanceName: 实例名称
|
34061
34059
|
:type InstanceName: str
|
34062
34060
|
:param _InstanceVersion: 实例版本
|
34063
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
34064
34061
|
:type InstanceVersion: str
|
34065
34062
|
:param _Status: 实例状态,0表示创建中,1表示正常,2表示隔离中,3表示已销毁,4 - 异常, 5 - 发货失败,6 - 变配中,7 - 变配失败
|
34066
34063
|
:type Status: int
|
@@ -34086,19 +34083,14 @@ class RocketMQVipInstance(AbstractModel):
|
|
34086
34083
|
:param _SpecName: 实例配置ID
|
34087
34084
|
:type SpecName: str
|
34088
34085
|
:param _MaxRetention: 最大可设置消息保留时间,小时为单位
|
34089
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
34090
34086
|
:type MaxRetention: int
|
34091
34087
|
:param _MinRetention: 最小可设置消息保留时间,小时为单位
|
34092
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
34093
34088
|
:type MinRetention: int
|
34094
34089
|
:param _Retention: 实例消息保留时间,小时为单位
|
34095
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
34096
34090
|
:type Retention: int
|
34097
34091
|
:param _AclEnabled: 是否开启ACL鉴权
|
34098
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
34099
34092
|
:type AclEnabled: bool
|
34100
34093
|
:param _DestroyTime: 销毁时间
|
34101
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
34102
34094
|
:type DestroyTime: int
|
34103
34095
|
"""
|
34104
34096
|
self._InstanceId = None
|
@@ -34146,7 +34138,6 @@ class RocketMQVipInstance(AbstractModel):
|
|
34146
34138
|
@property
|
34147
34139
|
def InstanceVersion(self):
|
34148
34140
|
"""实例版本
|
34149
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
34150
34141
|
:rtype: str
|
34151
34142
|
"""
|
34152
34143
|
return self._InstanceVersion
|
@@ -34280,7 +34271,6 @@ class RocketMQVipInstance(AbstractModel):
|
|
34280
34271
|
@property
|
34281
34272
|
def MaxRetention(self):
|
34282
34273
|
"""最大可设置消息保留时间,小时为单位
|
34283
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
34284
34274
|
:rtype: int
|
34285
34275
|
"""
|
34286
34276
|
return self._MaxRetention
|
@@ -34292,7 +34282,6 @@ class RocketMQVipInstance(AbstractModel):
|
|
34292
34282
|
@property
|
34293
34283
|
def MinRetention(self):
|
34294
34284
|
"""最小可设置消息保留时间,小时为单位
|
34295
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
34296
34285
|
:rtype: int
|
34297
34286
|
"""
|
34298
34287
|
return self._MinRetention
|
@@ -34304,7 +34293,6 @@ class RocketMQVipInstance(AbstractModel):
|
|
34304
34293
|
@property
|
34305
34294
|
def Retention(self):
|
34306
34295
|
"""实例消息保留时间,小时为单位
|
34307
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
34308
34296
|
:rtype: int
|
34309
34297
|
"""
|
34310
34298
|
return self._Retention
|
@@ -34316,7 +34304,6 @@ class RocketMQVipInstance(AbstractModel):
|
|
34316
34304
|
@property
|
34317
34305
|
def AclEnabled(self):
|
34318
34306
|
"""是否开启ACL鉴权
|
34319
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
34320
34307
|
:rtype: bool
|
34321
34308
|
"""
|
34322
34309
|
return self._AclEnabled
|
@@ -34328,7 +34315,6 @@ class RocketMQVipInstance(AbstractModel):
|
|
34328
34315
|
@property
|
34329
34316
|
def DestroyTime(self):
|
34330
34317
|
"""销毁时间
|
34331
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
34332
34318
|
:rtype: int
|
34333
34319
|
"""
|
34334
34320
|
return self._DestroyTime
|
@@ -4547,7 +4547,6 @@ class QueueOverview(AbstractModel):
|
|
4547
4547
|
def __init__(self):
|
4548
4548
|
r"""
|
4549
4549
|
:param _QueueName: 队列名称。
|
4550
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4551
4550
|
:type QueueName: str
|
4552
4551
|
"""
|
4553
4552
|
self._QueueName = None
|
@@ -4555,7 +4554,6 @@ class QueueOverview(AbstractModel):
|
|
4555
4554
|
@property
|
4556
4555
|
def QueueName(self):
|
4557
4556
|
"""队列名称。
|
4558
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4559
4557
|
:rtype: str
|
4560
4558
|
"""
|
4561
4559
|
return self._QueueName
|
@@ -3134,10 +3134,20 @@ class DescribeClustersRequest(AbstractModel):
|
|
3134
3134
|
:type Offset: int
|
3135
3135
|
:param _Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
3136
3136
|
:type Limit: int
|
3137
|
+
:param _Filters: <ul>
|
3138
|
+
<li><strong>cluster-type</strong>
|
3139
|
+
<p style="padding-left: 30px;">按照【<strong>集群类型</strong>】进行过滤</p>
|
3140
|
+
<p style="padding-left: 30px;">类型:String</p>
|
3141
|
+
<p style="padding-left: 30px;">必选:否</p>
|
3142
|
+
</li>
|
3143
|
+
</ul>
|
3144
|
+
<p style="padding-left: 30px;">每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。</p>
|
3145
|
+
:type Filters: list of Filter
|
3137
3146
|
"""
|
3138
3147
|
self._ClusterIds = None
|
3139
3148
|
self._Offset = None
|
3140
3149
|
self._Limit = None
|
3150
|
+
self._Filters = None
|
3141
3151
|
|
3142
3152
|
@property
|
3143
3153
|
def ClusterIds(self):
|
@@ -3172,11 +3182,35 @@ class DescribeClustersRequest(AbstractModel):
|
|
3172
3182
|
def Limit(self, Limit):
|
3173
3183
|
self._Limit = Limit
|
3174
3184
|
|
3185
|
+
@property
|
3186
|
+
def Filters(self):
|
3187
|
+
"""<ul>
|
3188
|
+
<li><strong>cluster-type</strong>
|
3189
|
+
<p style="padding-left: 30px;">按照【<strong>集群类型</strong>】进行过滤</p>
|
3190
|
+
<p style="padding-left: 30px;">类型:String</p>
|
3191
|
+
<p style="padding-left: 30px;">必选:否</p>
|
3192
|
+
</li>
|
3193
|
+
</ul>
|
3194
|
+
<p style="padding-left: 30px;">每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。</p>
|
3195
|
+
:rtype: list of Filter
|
3196
|
+
"""
|
3197
|
+
return self._Filters
|
3198
|
+
|
3199
|
+
@Filters.setter
|
3200
|
+
def Filters(self, Filters):
|
3201
|
+
self._Filters = Filters
|
3202
|
+
|
3175
3203
|
|
3176
3204
|
def _deserialize(self, params):
|
3177
3205
|
self._ClusterIds = params.get("ClusterIds")
|
3178
3206
|
self._Offset = params.get("Offset")
|
3179
3207
|
self._Limit = params.get("Limit")
|
3208
|
+
if params.get("Filters") is not None:
|
3209
|
+
self._Filters = []
|
3210
|
+
for item in params.get("Filters"):
|
3211
|
+
obj = Filter()
|
3212
|
+
obj._deserialize(item)
|
3213
|
+
self._Filters.append(obj)
|
3180
3214
|
memeber_set = set(params.keys())
|
3181
3215
|
for name, value in vars(self).items():
|
3182
3216
|
property_name = name[1:]
|
@@ -3882,13 +3916,10 @@ class EnhancedService(AbstractModel):
|
|
3882
3916
|
def __init__(self):
|
3883
3917
|
r"""
|
3884
3918
|
:param _SecurityService: 开启云安全服务。若不指定该参数,则默认开启云安全服务。
|
3885
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3886
3919
|
:type SecurityService: :class:`tencentcloud.thpc.v20230321.models.RunSecurityServiceEnabled`
|
3887
3920
|
:param _MonitorService: 开启腾讯云可观测平台服务。若不指定该参数,则默认开启腾讯云可观测平台服务。
|
3888
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3889
3921
|
:type MonitorService: :class:`tencentcloud.thpc.v20230321.models.RunMonitorServiceEnabled`
|
3890
3922
|
:param _AutomationService: 开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,默认开启云自动化助手服务。
|
3891
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3892
3923
|
:type AutomationService: :class:`tencentcloud.thpc.v20230321.models.RunAutomationServiceEnabled`
|
3893
3924
|
"""
|
3894
3925
|
self._SecurityService = None
|
@@ -3898,7 +3929,6 @@ class EnhancedService(AbstractModel):
|
|
3898
3929
|
@property
|
3899
3930
|
def SecurityService(self):
|
3900
3931
|
"""开启云安全服务。若不指定该参数,则默认开启云安全服务。
|
3901
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3902
3932
|
:rtype: :class:`tencentcloud.thpc.v20230321.models.RunSecurityServiceEnabled`
|
3903
3933
|
"""
|
3904
3934
|
return self._SecurityService
|
@@ -3910,7 +3940,6 @@ class EnhancedService(AbstractModel):
|
|
3910
3940
|
@property
|
3911
3941
|
def MonitorService(self):
|
3912
3942
|
"""开启腾讯云可观测平台服务。若不指定该参数,则默认开启腾讯云可观测平台服务。
|
3913
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3914
3943
|
:rtype: :class:`tencentcloud.thpc.v20230321.models.RunMonitorServiceEnabled`
|
3915
3944
|
"""
|
3916
3945
|
return self._MonitorService
|
@@ -3922,7 +3951,6 @@ class EnhancedService(AbstractModel):
|
|
3922
3951
|
@property
|
3923
3952
|
def AutomationService(self):
|
3924
3953
|
"""开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,默认开启云自动化助手服务。
|
3925
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3926
3954
|
:rtype: :class:`tencentcloud.thpc.v20230321.models.RunAutomationServiceEnabled`
|
3927
3955
|
"""
|
3928
3956
|
return self._AutomationService
|
@@ -5408,6 +5436,8 @@ class NodeOverview(AbstractModel):
|
|
5408
5436
|
:param _NodeId: thpc集群节点id
|
5409
5437
|
注意:此字段可能返回 null,表示取不到有效值。
|
5410
5438
|
:type NodeId: str
|
5439
|
+
:param _NodeAllocateState: 节点的工作状态
|
5440
|
+
:type NodeAllocateState: str
|
5411
5441
|
"""
|
5412
5442
|
self._InstanceId = None
|
5413
5443
|
self._Zone = None
|
@@ -5417,6 +5447,7 @@ class NodeOverview(AbstractModel):
|
|
5417
5447
|
self._NodeRole = None
|
5418
5448
|
self._NodeType = None
|
5419
5449
|
self._NodeId = None
|
5450
|
+
self._NodeAllocateState = None
|
5420
5451
|
|
5421
5452
|
@property
|
5422
5453
|
def InstanceId(self):
|
@@ -5514,6 +5545,17 @@ class NodeOverview(AbstractModel):
|
|
5514
5545
|
def NodeId(self, NodeId):
|
5515
5546
|
self._NodeId = NodeId
|
5516
5547
|
|
5548
|
+
@property
|
5549
|
+
def NodeAllocateState(self):
|
5550
|
+
"""节点的工作状态
|
5551
|
+
:rtype: str
|
5552
|
+
"""
|
5553
|
+
return self._NodeAllocateState
|
5554
|
+
|
5555
|
+
@NodeAllocateState.setter
|
5556
|
+
def NodeAllocateState(self, NodeAllocateState):
|
5557
|
+
self._NodeAllocateState = NodeAllocateState
|
5558
|
+
|
5517
5559
|
|
5518
5560
|
def _deserialize(self, params):
|
5519
5561
|
self._InstanceId = params.get("InstanceId")
|
@@ -5524,6 +5566,7 @@ class NodeOverview(AbstractModel):
|
|
5524
5566
|
self._NodeRole = params.get("NodeRole")
|
5525
5567
|
self._NodeType = params.get("NodeType")
|
5526
5568
|
self._NodeId = params.get("NodeId")
|
5569
|
+
self._NodeAllocateState = params.get("NodeAllocateState")
|
5527
5570
|
memeber_set = set(params.keys())
|
5528
5571
|
for name, value in vars(self).items():
|
5529
5572
|
property_name = name[1:]
|
@@ -5543,10 +5586,8 @@ class NodeScript(AbstractModel):
|
|
5543
5586
|
r"""
|
5544
5587
|
:param _ScriptPath: 节点执行脚本获取地址。
|
5545
5588
|
目前仅支持cos地址。地址最大长度:255。
|
5546
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5547
5589
|
:type ScriptPath: str
|
5548
5590
|
:param _Timeout: 脚本执行超时时间(包含拉取脚本的时间)。单位秒,默认值:30。取值范围:10~1200。
|
5549
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5550
5591
|
:type Timeout: int
|
5551
5592
|
"""
|
5552
5593
|
self._ScriptPath = None
|
@@ -5556,7 +5597,6 @@ class NodeScript(AbstractModel):
|
|
5556
5597
|
def ScriptPath(self):
|
5557
5598
|
"""节点执行脚本获取地址。
|
5558
5599
|
目前仅支持cos地址。地址最大长度:255。
|
5559
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5560
5600
|
:rtype: str
|
5561
5601
|
"""
|
5562
5602
|
return self._ScriptPath
|
@@ -5568,7 +5608,6 @@ class NodeScript(AbstractModel):
|
|
5568
5608
|
@property
|
5569
5609
|
def Timeout(self):
|
5570
5610
|
"""脚本执行超时时间(包含拉取脚本的时间)。单位秒,默认值:30。取值范围:10~1200。
|
5571
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5572
5611
|
:rtype: int
|
5573
5612
|
"""
|
5574
5613
|
return self._Timeout
|
@@ -5955,28 +5994,23 @@ class QueueConfigOverview(AbstractModel):
|
|
5955
5994
|
:param _ExpansionNodeConfigs: 扩容节点配置信息。
|
5956
5995
|
:type ExpansionNodeConfigs: list of ExpansionNodeConfigOverview
|
5957
5996
|
:param _DesiredIdleNodeCapacity: 队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。
|
5958
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5959
5997
|
:type DesiredIdleNodeCapacity: int
|
5960
5998
|
:param _DesiredNodeCount: 队列中期望的总节点数。
|
5961
5999
|
:type DesiredNodeCount: int
|
5962
6000
|
:param _ScaleOutRatio: 扩容比例。默认值:100。取值范围:1~100。
|
5963
6001
|
如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
|
5964
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5965
6002
|
:type ScaleOutRatio: int
|
5966
6003
|
:param _ScaleOutNodeThreshold: 比例扩容阈值。默认值:0。取值范围:0~200。
|
5967
6004
|
当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。
|
5968
6005
|
此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。
|
5969
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5970
6006
|
:type ScaleOutNodeThreshold: int
|
5971
6007
|
:param _MaxNodesPerCycle: 每轮扩容最大节点个数。
|
5972
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5973
6008
|
:type MaxNodesPerCycle: int
|
5974
6009
|
:param _ScaleUpMemRatio: 扩容过程中,作业的内存在匹配实例机型时增大比例(不会影响作业提交的内存大小,只影响匹配计算过程)。<br/>
|
5975
6010
|
针对场景:由于实例机型的总内存会大于实例内部的可用内存,16GB内存规格的实例,实例操作系统内的可用内存只有约14.9GB内存。假设此时提交一个需要15GB内存的作业,
|
5976
6011
|
|
5977
6012
|
- 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
|
5978
6013
|
- 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
|
5979
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5980
6014
|
:type ScaleUpMemRatio: int
|
5981
6015
|
"""
|
5982
6016
|
self._QueueName = None
|
@@ -6061,7 +6095,6 @@ class QueueConfigOverview(AbstractModel):
|
|
6061
6095
|
@property
|
6062
6096
|
def DesiredIdleNodeCapacity(self):
|
6063
6097
|
"""队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。
|
6064
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6065
6098
|
:rtype: int
|
6066
6099
|
"""
|
6067
6100
|
return self._DesiredIdleNodeCapacity
|
@@ -6085,7 +6118,6 @@ class QueueConfigOverview(AbstractModel):
|
|
6085
6118
|
def ScaleOutRatio(self):
|
6086
6119
|
"""扩容比例。默认值:100。取值范围:1~100。
|
6087
6120
|
如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
|
6088
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6089
6121
|
:rtype: int
|
6090
6122
|
"""
|
6091
6123
|
return self._ScaleOutRatio
|
@@ -6099,7 +6131,6 @@ class QueueConfigOverview(AbstractModel):
|
|
6099
6131
|
"""比例扩容阈值。默认值:0。取值范围:0~200。
|
6100
6132
|
当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。
|
6101
6133
|
此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。
|
6102
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6103
6134
|
:rtype: int
|
6104
6135
|
"""
|
6105
6136
|
return self._ScaleOutNodeThreshold
|
@@ -6111,7 +6142,6 @@ class QueueConfigOverview(AbstractModel):
|
|
6111
6142
|
@property
|
6112
6143
|
def MaxNodesPerCycle(self):
|
6113
6144
|
"""每轮扩容最大节点个数。
|
6114
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6115
6145
|
:rtype: int
|
6116
6146
|
"""
|
6117
6147
|
return self._MaxNodesPerCycle
|
@@ -6127,7 +6157,6 @@ class QueueConfigOverview(AbstractModel):
|
|
6127
6157
|
|
6128
6158
|
- 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
|
6129
6159
|
- 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
|
6130
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6131
6160
|
:rtype: int
|
6132
6161
|
"""
|
6133
6162
|
return self._ScaleUpMemRatio
|
@@ -6173,7 +6202,6 @@ class QueueOverview(AbstractModel):
|
|
6173
6202
|
def __init__(self):
|
6174
6203
|
r"""
|
6175
6204
|
:param _QueueName: 队列名称。
|
6176
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6177
6205
|
:type QueueName: str
|
6178
6206
|
"""
|
6179
6207
|
self._QueueName = None
|
@@ -6181,7 +6209,6 @@ class QueueOverview(AbstractModel):
|
|
6181
6209
|
@property
|
6182
6210
|
def QueueName(self):
|
6183
6211
|
"""队列名称。
|
6184
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6185
6212
|
:rtype: str
|
6186
6213
|
"""
|
6187
6214
|
return self._QueueName
|
@@ -6247,7 +6274,6 @@ class RunMonitorServiceEnabled(AbstractModel):
|
|
6247
6274
|
def __init__(self):
|
6248
6275
|
r"""
|
6249
6276
|
:param _Enabled: 是否开启[腾讯云可观测平台](/document/product/248)服务。取值范围:<br><li>TRUE:表示开启腾讯云可观测平台服务</li><br><li>FALSE:表示不开启腾讯云可观测平台服务</li><br><br>默认取值:TRUE。
|
6250
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6251
6277
|
:type Enabled: bool
|
6252
6278
|
"""
|
6253
6279
|
self._Enabled = None
|
@@ -6255,7 +6281,6 @@ class RunMonitorServiceEnabled(AbstractModel):
|
|
6255
6281
|
@property
|
6256
6282
|
def Enabled(self):
|
6257
6283
|
"""是否开启[腾讯云可观测平台](/document/product/248)服务。取值范围:<br><li>TRUE:表示开启腾讯云可观测平台服务</li><br><li>FALSE:表示不开启腾讯云可观测平台服务</li><br><br>默认取值:TRUE。
|
6258
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6259
6284
|
:rtype: bool
|
6260
6285
|
"""
|
6261
6286
|
return self._Enabled
|
@@ -7124,10 +7149,8 @@ class SpacePlacement(AbstractModel):
|
|
7124
7149
|
def __init__(self):
|
7125
7150
|
r"""
|
7126
7151
|
:param _Zone: 可用区
|
7127
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7128
7152
|
:type Zone: str
|
7129
7153
|
:param _ProjectId: 项目,默认是0
|
7130
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7131
7154
|
:type ProjectId: int
|
7132
7155
|
"""
|
7133
7156
|
self._Zone = None
|
@@ -7136,7 +7159,6 @@ class SpacePlacement(AbstractModel):
|
|
7136
7159
|
@property
|
7137
7160
|
def Zone(self):
|
7138
7161
|
"""可用区
|
7139
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7140
7162
|
:rtype: str
|
7141
7163
|
"""
|
7142
7164
|
return self._Zone
|
@@ -7148,7 +7170,6 @@ class SpacePlacement(AbstractModel):
|
|
7148
7170
|
@property
|
7149
7171
|
def ProjectId(self):
|
7150
7172
|
"""项目,默认是0
|
7151
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7152
7173
|
:rtype: int
|
7153
7174
|
"""
|
7154
7175
|
return self._ProjectId
|
@@ -7608,10 +7629,8 @@ class TagSpecification(AbstractModel):
|
|
7608
7629
|
def __init__(self):
|
7609
7630
|
r"""
|
7610
7631
|
:param _ResourceType: 标签绑定的资源类型
|
7611
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7612
7632
|
:type ResourceType: str
|
7613
7633
|
:param _Tags: 标签对列表
|
7614
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7615
7634
|
:type Tags: list of Tag
|
7616
7635
|
"""
|
7617
7636
|
self._ResourceType = None
|
@@ -7620,7 +7639,6 @@ class TagSpecification(AbstractModel):
|
|
7620
7639
|
@property
|
7621
7640
|
def ResourceType(self):
|
7622
7641
|
"""标签绑定的资源类型
|
7623
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7624
7642
|
:rtype: str
|
7625
7643
|
"""
|
7626
7644
|
return self._ResourceType
|
@@ -7632,7 +7650,6 @@ class TagSpecification(AbstractModel):
|
|
7632
7650
|
@property
|
7633
7651
|
def Tags(self):
|
7634
7652
|
"""标签对列表
|
7635
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7636
7653
|
:rtype: list of Tag
|
7637
7654
|
"""
|
7638
7655
|
return self._Tags
|
@@ -8339,6 +8339,57 @@ class GooseFS(AbstractModel):
|
|
8339
8339
|
|
8340
8340
|
|
8341
8341
|
|
8342
|
+
class GooseFSx(AbstractModel):
|
8343
|
+
"""GosseFSx的配置
|
8344
|
+
|
8345
|
+
"""
|
8346
|
+
|
8347
|
+
def __init__(self):
|
8348
|
+
r"""
|
8349
|
+
:param _Id: goosefsx实例id
|
8350
|
+
:type Id: str
|
8351
|
+
:param _Path: GooseFSx实例需要挂载的路径
|
8352
|
+
:type Path: str
|
8353
|
+
"""
|
8354
|
+
self._Id = None
|
8355
|
+
self._Path = None
|
8356
|
+
|
8357
|
+
@property
|
8358
|
+
def Id(self):
|
8359
|
+
"""goosefsx实例id
|
8360
|
+
:rtype: str
|
8361
|
+
"""
|
8362
|
+
return self._Id
|
8363
|
+
|
8364
|
+
@Id.setter
|
8365
|
+
def Id(self, Id):
|
8366
|
+
self._Id = Id
|
8367
|
+
|
8368
|
+
@property
|
8369
|
+
def Path(self):
|
8370
|
+
"""GooseFSx实例需要挂载的路径
|
8371
|
+
:rtype: str
|
8372
|
+
"""
|
8373
|
+
return self._Path
|
8374
|
+
|
8375
|
+
@Path.setter
|
8376
|
+
def Path(self, Path):
|
8377
|
+
self._Path = Path
|
8378
|
+
|
8379
|
+
|
8380
|
+
def _deserialize(self, params):
|
8381
|
+
self._Id = params.get("Id")
|
8382
|
+
self._Path = params.get("Path")
|
8383
|
+
memeber_set = set(params.keys())
|
8384
|
+
for name, value in vars(self).items():
|
8385
|
+
property_name = name[1:]
|
8386
|
+
if property_name in memeber_set:
|
8387
|
+
memeber_set.remove(property_name)
|
8388
|
+
if len(memeber_set) > 0:
|
8389
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8390
|
+
|
8391
|
+
|
8392
|
+
|
8342
8393
|
class GpuDetail(AbstractModel):
|
8343
8394
|
"""gpu 详情
|
8344
8395
|
|
@@ -11043,6 +11094,8 @@ class ModelInfo(AbstractModel):
|
|
11043
11094
|
:type ModelSource: str
|
11044
11095
|
:param _CosPathInfo: cos路径信息
|
11045
11096
|
:type CosPathInfo: :class:`tencentcloud.tione.v20211111.models.CosPathInfo`
|
11097
|
+
:param _GooseFSx: GooseFSx的配置,ModelSource为GooseFSx时有效
|
11098
|
+
:type GooseFSx: :class:`tencentcloud.tione.v20211111.models.GooseFSx`
|
11046
11099
|
:param _AlgorithmFramework: 模型对应的算法框架,预留
|
11047
11100
|
注意:此字段可能返回 null,表示取不到有效值。
|
11048
11101
|
:type AlgorithmFramework: str
|
@@ -11064,6 +11117,7 @@ class ModelInfo(AbstractModel):
|
|
11064
11117
|
self._ModelVersion = None
|
11065
11118
|
self._ModelSource = None
|
11066
11119
|
self._CosPathInfo = None
|
11120
|
+
self._GooseFSx = None
|
11067
11121
|
self._AlgorithmFramework = None
|
11068
11122
|
self._ModelType = None
|
11069
11123
|
self._ModelFormat = None
|
@@ -11137,6 +11191,17 @@ class ModelInfo(AbstractModel):
|
|
11137
11191
|
def CosPathInfo(self, CosPathInfo):
|
11138
11192
|
self._CosPathInfo = CosPathInfo
|
11139
11193
|
|
11194
|
+
@property
|
11195
|
+
def GooseFSx(self):
|
11196
|
+
"""GooseFSx的配置,ModelSource为GooseFSx时有效
|
11197
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.GooseFSx`
|
11198
|
+
"""
|
11199
|
+
return self._GooseFSx
|
11200
|
+
|
11201
|
+
@GooseFSx.setter
|
11202
|
+
def GooseFSx(self, GooseFSx):
|
11203
|
+
self._GooseFSx = GooseFSx
|
11204
|
+
|
11140
11205
|
@property
|
11141
11206
|
def AlgorithmFramework(self):
|
11142
11207
|
"""模型对应的算法框架,预留
|
@@ -11206,6 +11271,9 @@ class ModelInfo(AbstractModel):
|
|
11206
11271
|
if params.get("CosPathInfo") is not None:
|
11207
11272
|
self._CosPathInfo = CosPathInfo()
|
11208
11273
|
self._CosPathInfo._deserialize(params.get("CosPathInfo"))
|
11274
|
+
if params.get("GooseFSx") is not None:
|
11275
|
+
self._GooseFSx = GooseFSx()
|
11276
|
+
self._GooseFSx._deserialize(params.get("GooseFSx"))
|
11209
11277
|
self._AlgorithmFramework = params.get("AlgorithmFramework")
|
11210
11278
|
self._ModelType = params.get("ModelType")
|
11211
11279
|
self._ModelFormat = params.get("ModelFormat")
|