tencentcloud-sdk-python 3.0.1175__py2.py3-none-any.whl → 3.0.1177__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/asr/v20190614/models.py +30 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +4 -4
- tencentcloud/ckafka/v20190819/models.py +2 -2
- tencentcloud/cls/v20201016/models.py +190 -3
- tencentcloud/cwp/v20180228/cwp_client.py +0 -25
- tencentcloud/cwp/v20180228/models.py +0 -70
- tencentcloud/cynosdb/v20190107/models.py +13 -0
- tencentcloud/dlc/v20210125/models.py +1 -1
- tencentcloud/domain/v20180808/models.py +64 -0
- tencentcloud/dts/v20211206/models.py +3 -3
- tencentcloud/ess/v20201111/ess_client.py +5 -5
- tencentcloud/ess/v20201111/models.py +1 -1
- tencentcloud/essbasic/v20210526/essbasic_client.py +5 -5
- tencentcloud/essbasic/v20210526/models.py +6 -4
- tencentcloud/faceid/v20180301/models.py +1 -16
- tencentcloud/ioa/v20220601/ioa_client.py +69 -0
- tencentcloud/ioa/v20220601/models.py +1239 -63
- tencentcloud/iotexplorer/v20190423/errorcodes.py +3 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +69 -0
- tencentcloud/iotexplorer/v20190423/models.py +325 -0
- tencentcloud/live/v20180801/models.py +13 -0
- tencentcloud/ocr/v20181119/ocr_client.py +3 -1
- tencentcloud/partners/v20180321/models.py +13 -0
- tencentcloud/redis/v20180412/models.py +12 -10
- tencentcloud/ssl/v20191205/models.py +239 -0
- tencentcloud/tcr/v20190924/models.py +13 -0
- tencentcloud/tcss/v20201101/models.py +150 -27
- tencentcloud/thpc/v20230321/models.py +33 -5
- tencentcloud/tke/v20180525/models.py +87 -0
- tencentcloud/tke/v20180525/tke_client.py +7 -7
- tencentcloud/trtc/v20190722/errorcodes.py +0 -3
- tencentcloud/trtc/v20190722/models.py +1 -1
- tencentcloud/tts/v20190823/models.py +2 -2
- tencentcloud/wedata/v20210820/models.py +539 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1175.dist-info → tencentcloud_sdk_python-3.0.1177.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1175.dist-info → tencentcloud_sdk_python-3.0.1177.dist-info}/RECORD +41 -41
- {tencentcloud_sdk_python-3.0.1175.dist-info → tencentcloud_sdk_python-3.0.1177.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1175.dist-info → tencentcloud_sdk_python-3.0.1177.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1175.dist-info → tencentcloud_sdk_python-3.0.1177.dist-info}/top_level.txt +0 -0
@@ -5354,7 +5354,7 @@ class ClusterInfoItem(AbstractModel):
|
|
5354
5354
|
:type ClusterNodeNum: int
|
5355
5355
|
:param _Region: 集群区域
|
5356
5356
|
:type Region: str
|
5357
|
-
:param _DefenderStatus:
|
5357
|
+
:param _DefenderStatus: 防护状态: 已防护: Defended 未防护: UnDefended
|
5358
5358
|
:type DefenderStatus: str
|
5359
5359
|
:param _ClusterStatus: 集群状态
|
5360
5360
|
:type ClusterStatus: str
|
@@ -5403,9 +5403,13 @@ class ClusterInfoItem(AbstractModel):
|
|
5403
5403
|
:param _UnInstallAgentNodeCount: 未安装agent节点数
|
5404
5404
|
注意:此字段可能返回 null,表示取不到有效值。
|
5405
5405
|
:type UnInstallAgentNodeCount: int
|
5406
|
-
:param _ChargeCoresCnt: 计费核数
|
5406
|
+
:param _ChargeCoresCnt: 计费核数(弹性计费核数+普通计费核数)
|
5407
5407
|
注意:此字段可能返回 null,表示取不到有效值。
|
5408
5408
|
:type ChargeCoresCnt: int
|
5409
|
+
:param _MasterAddresses: master 地址列表
|
5410
|
+
:type MasterAddresses: list of str
|
5411
|
+
:param _CoresCnt: 核数
|
5412
|
+
:type CoresCnt: int
|
5409
5413
|
"""
|
5410
5414
|
self._ClusterId = None
|
5411
5415
|
self._ClusterName = None
|
@@ -5433,6 +5437,8 @@ class ClusterInfoItem(AbstractModel):
|
|
5433
5437
|
self._OffLineNodeCount = None
|
5434
5438
|
self._UnInstallAgentNodeCount = None
|
5435
5439
|
self._ChargeCoresCnt = None
|
5440
|
+
self._MasterAddresses = None
|
5441
|
+
self._CoresCnt = None
|
5436
5442
|
|
5437
5443
|
@property
|
5438
5444
|
def ClusterId(self):
|
@@ -5642,6 +5648,22 @@ class ClusterInfoItem(AbstractModel):
|
|
5642
5648
|
def ChargeCoresCnt(self, ChargeCoresCnt):
|
5643
5649
|
self._ChargeCoresCnt = ChargeCoresCnt
|
5644
5650
|
|
5651
|
+
@property
|
5652
|
+
def MasterAddresses(self):
|
5653
|
+
return self._MasterAddresses
|
5654
|
+
|
5655
|
+
@MasterAddresses.setter
|
5656
|
+
def MasterAddresses(self, MasterAddresses):
|
5657
|
+
self._MasterAddresses = MasterAddresses
|
5658
|
+
|
5659
|
+
@property
|
5660
|
+
def CoresCnt(self):
|
5661
|
+
return self._CoresCnt
|
5662
|
+
|
5663
|
+
@CoresCnt.setter
|
5664
|
+
def CoresCnt(self, CoresCnt):
|
5665
|
+
self._CoresCnt = CoresCnt
|
5666
|
+
|
5645
5667
|
|
5646
5668
|
def _deserialize(self, params):
|
5647
5669
|
self._ClusterId = params.get("ClusterId")
|
@@ -5670,6 +5692,8 @@ class ClusterInfoItem(AbstractModel):
|
|
5670
5692
|
self._OffLineNodeCount = params.get("OffLineNodeCount")
|
5671
5693
|
self._UnInstallAgentNodeCount = params.get("UnInstallAgentNodeCount")
|
5672
5694
|
self._ChargeCoresCnt = params.get("ChargeCoresCnt")
|
5695
|
+
self._MasterAddresses = params.get("MasterAddresses")
|
5696
|
+
self._CoresCnt = params.get("CoresCnt")
|
5673
5697
|
memeber_set = set(params.keys())
|
5674
5698
|
for name, value in vars(self).items():
|
5675
5699
|
property_name = name[1:]
|
@@ -19400,17 +19424,7 @@ class DescribeAssetHostListRequest(AbstractModel):
|
|
19400
19424
|
:type Limit: int
|
19401
19425
|
:param _Offset: 偏移量,默认为0。
|
19402
19426
|
:type Offset: int
|
19403
|
-
:param _Filters: 过滤条件。
|
19404
|
-
<li>Status - String - 是否必填:否 - agent状态筛选,"ALL":"全部"(或不传该字段),"UNINSTALL":"未安装","OFFLINE":"离线", "ONLINE":"防护中"</li>
|
19405
|
-
<li>HostName - String - 是否必填:否 - 主机名筛选</li>
|
19406
|
-
<li>Group- String - 是否必填:否 - 主机群组搜索</li>
|
19407
|
-
<li>HostIP- string - 是否必填:否 - 主机ip搜索</li>
|
19408
|
-
<li>HostID- string - 是否必填:否 - 主机id搜索</li>
|
19409
|
-
<li>DockerVersion- string - 是否必填:否 - docker版本搜索</li>
|
19410
|
-
<li>MachineType- string - 是否必填:否 - 主机来源MachineType搜索,"ALL":"全部"(或不传该字段),主机来源:["CVM", "ECM", "LH", "BM"] 中的之一为腾讯云服务器;["Other"]之一非腾讯云服务器;</li>
|
19411
|
-
<li>DockerStatus- string - 是否必填:否 - docker安装状态,"ALL":"全部"(或不传该字段),"INSTALL":"已安装","UNINSTALL":"未安装"</li>
|
19412
|
-
<li>ProjectID- string - 是否必填:否 - 所属项目id搜索</li>
|
19413
|
-
<li>Tag:xxx(tag:key)- string- 是否必填:否 - 标签键值搜索 示例Filters":[{"Name":"tag:tke-kind","Values":["service"]}]</li>
|
19427
|
+
:param _Filters: 过滤条件。 <li>Status - String - 是否必填:否 - agent状态筛选,"ALL":"全部"(或不传该字段),"UNINSTALL":"未安装","OFFLINE":"离线", "ONLINE":"防护中"</li> <li>HostName - String - 是否必填:否 - 主机名筛选</li> <li>Group- String - 是否必填:否 - 主机群组搜索</li> <li>HostIP- string - 是否必填:否 - 主机ip搜索</li> <li>HostID- string - 是否必填:否 - 主机id搜索</li> <li>DockerVersion- string - 是否必填:否 - docker版本搜索</li> <li>MachineType- string - 是否必填:否 - 主机来源MachineType搜索,"ALL":"全部"(或不传该字段),主机来源:["CVM", "ECM", "LH", "BM"] 中的之一为腾讯云服务器;["Other"]之一非腾讯云服务器;</li> <li>DockerStatus- string - 是否必填:否 - docker安装状态,"ALL":"全部"(或不传该字段),"INSTALL":"已安装","UNINSTALL":"未安装"</li> <li>ProjectID- string - 是否必填:否 - 所属项目id搜索</li> <li>Tag:xxx(tag:key)- string- 是否必填:否 - 标签键值搜索 示例Filters":[{"Name":"tag:tke-kind","Values":["service"]}]</li> <li>NonClusterNode: 是否查询非集群节点(true: 是,false: 否)</li>
|
19414
19428
|
:type Filters: list of AssetFilters
|
19415
19429
|
:param _By: 排序字段
|
19416
19430
|
:type By: str
|
@@ -33357,24 +33371,33 @@ class DescribePurchaseStateInfoResponse(AbstractModel):
|
|
33357
33371
|
r"""
|
33358
33372
|
:param _State: 0:可申请试用可购买;1:只可购买(含试用审核不通过和试用过期);2:试用生效中;3:专业版生效中;4:专业版过期
|
33359
33373
|
:type State: int
|
33360
|
-
:param
|
33374
|
+
:param _AllCoresCnt: 总资源核数 = 总防护核数 + 未防护核数
|
33375
|
+
:type AllCoresCnt: int
|
33376
|
+
:param _CoresCnt: 总防护核数 =已购核数+ 试用赠送核数 +弹性计费核数
|
33361
33377
|
注意:此字段可能返回 null,表示取不到有效值。
|
33362
33378
|
:type CoresCnt: int
|
33379
|
+
:param _UndefendCoresCnt: 未防护核数(未开启防护资源核数)
|
33380
|
+
:type UndefendCoresCnt: int
|
33363
33381
|
:param _AuthorizedCoresCnt: 已购买核数
|
33364
33382
|
注意:此字段可能返回 null,表示取不到有效值。
|
33365
33383
|
:type AuthorizedCoresCnt: int
|
33384
|
+
:param _GivenAuthorizedCoresCnt: 试用赠送专业版核心数
|
33385
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
33386
|
+
:type GivenAuthorizedCoresCnt: int
|
33387
|
+
:param _CurrentFlexibleCoresCnt: 当前弹性计费核数数量
|
33388
|
+
:type CurrentFlexibleCoresCnt: int
|
33366
33389
|
:param _ImageCnt: 镜像数
|
33367
33390
|
注意:此字段可能返回 null,表示取不到有效值。
|
33368
33391
|
:type ImageCnt: int
|
33369
33392
|
:param _AuthorizedImageCnt: 已授权镜像数
|
33370
33393
|
注意:此字段可能返回 null,表示取不到有效值。
|
33371
33394
|
:type AuthorizedImageCnt: int
|
33372
|
-
:param _PurchasedAuthorizedCnt: 已购买镜像授权数
|
33373
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
33374
|
-
:type PurchasedAuthorizedCnt: int
|
33375
33395
|
:param _ExpirationTime: 过期时间
|
33376
33396
|
注意:此字段可能返回 null,表示取不到有效值。
|
33377
33397
|
:type ExpirationTime: str
|
33398
|
+
:param _PurchasedAuthorizedCnt: 已购买镜像授权数
|
33399
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
33400
|
+
:type PurchasedAuthorizedCnt: int
|
33378
33401
|
:param _AutomaticRenewal: 0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费(用户设置)
|
33379
33402
|
注意:此字段可能返回 null,表示取不到有效值。
|
33380
33403
|
:type AutomaticRenewal: int
|
@@ -33391,21 +33414,37 @@ State为4时,有效值为: ISOLATE(隔离) DESTROED(已销毁)
|
|
33391
33414
|
:param _InquireKey: 计费key
|
33392
33415
|
注意:此字段可能返回 null,表示取不到有效值。
|
33393
33416
|
:type InquireKey: str
|
33417
|
+
:param _DefendPolicy: 防护策略
|
33418
|
+
:type DefendPolicy: str
|
33419
|
+
:param _FlexibleCoresLimit: 弹性计费核数上限
|
33420
|
+
:type FlexibleCoresLimit: int
|
33421
|
+
:param _DefendClusterCoresCnt: 已防护集群核数
|
33422
|
+
:type DefendClusterCoresCnt: int
|
33423
|
+
:param _DefendHostCoresCnt: 已防护主机核数
|
33424
|
+
:type DefendHostCoresCnt: int
|
33394
33425
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
33395
33426
|
:type RequestId: str
|
33396
33427
|
"""
|
33397
33428
|
self._State = None
|
33429
|
+
self._AllCoresCnt = None
|
33398
33430
|
self._CoresCnt = None
|
33431
|
+
self._UndefendCoresCnt = None
|
33399
33432
|
self._AuthorizedCoresCnt = None
|
33433
|
+
self._GivenAuthorizedCoresCnt = None
|
33434
|
+
self._CurrentFlexibleCoresCnt = None
|
33400
33435
|
self._ImageCnt = None
|
33401
33436
|
self._AuthorizedImageCnt = None
|
33402
|
-
self._PurchasedAuthorizedCnt = None
|
33403
33437
|
self._ExpirationTime = None
|
33438
|
+
self._PurchasedAuthorizedCnt = None
|
33404
33439
|
self._AutomaticRenewal = None
|
33405
33440
|
self._GivenAuthorizedCnt = None
|
33406
33441
|
self._BeginTime = None
|
33407
33442
|
self._SubState = None
|
33408
33443
|
self._InquireKey = None
|
33444
|
+
self._DefendPolicy = None
|
33445
|
+
self._FlexibleCoresLimit = None
|
33446
|
+
self._DefendClusterCoresCnt = None
|
33447
|
+
self._DefendHostCoresCnt = None
|
33409
33448
|
self._RequestId = None
|
33410
33449
|
|
33411
33450
|
@property
|
@@ -33416,6 +33455,14 @@ State为4时,有效值为: ISOLATE(隔离) DESTROED(已销毁)
|
|
33416
33455
|
def State(self, State):
|
33417
33456
|
self._State = State
|
33418
33457
|
|
33458
|
+
@property
|
33459
|
+
def AllCoresCnt(self):
|
33460
|
+
return self._AllCoresCnt
|
33461
|
+
|
33462
|
+
@AllCoresCnt.setter
|
33463
|
+
def AllCoresCnt(self, AllCoresCnt):
|
33464
|
+
self._AllCoresCnt = AllCoresCnt
|
33465
|
+
|
33419
33466
|
@property
|
33420
33467
|
def CoresCnt(self):
|
33421
33468
|
return self._CoresCnt
|
@@ -33424,6 +33471,14 @@ State为4时,有效值为: ISOLATE(隔离) DESTROED(已销毁)
|
|
33424
33471
|
def CoresCnt(self, CoresCnt):
|
33425
33472
|
self._CoresCnt = CoresCnt
|
33426
33473
|
|
33474
|
+
@property
|
33475
|
+
def UndefendCoresCnt(self):
|
33476
|
+
return self._UndefendCoresCnt
|
33477
|
+
|
33478
|
+
@UndefendCoresCnt.setter
|
33479
|
+
def UndefendCoresCnt(self, UndefendCoresCnt):
|
33480
|
+
self._UndefendCoresCnt = UndefendCoresCnt
|
33481
|
+
|
33427
33482
|
@property
|
33428
33483
|
def AuthorizedCoresCnt(self):
|
33429
33484
|
return self._AuthorizedCoresCnt
|
@@ -33432,6 +33487,22 @@ State为4时,有效值为: ISOLATE(隔离) DESTROED(已销毁)
|
|
33432
33487
|
def AuthorizedCoresCnt(self, AuthorizedCoresCnt):
|
33433
33488
|
self._AuthorizedCoresCnt = AuthorizedCoresCnt
|
33434
33489
|
|
33490
|
+
@property
|
33491
|
+
def GivenAuthorizedCoresCnt(self):
|
33492
|
+
return self._GivenAuthorizedCoresCnt
|
33493
|
+
|
33494
|
+
@GivenAuthorizedCoresCnt.setter
|
33495
|
+
def GivenAuthorizedCoresCnt(self, GivenAuthorizedCoresCnt):
|
33496
|
+
self._GivenAuthorizedCoresCnt = GivenAuthorizedCoresCnt
|
33497
|
+
|
33498
|
+
@property
|
33499
|
+
def CurrentFlexibleCoresCnt(self):
|
33500
|
+
return self._CurrentFlexibleCoresCnt
|
33501
|
+
|
33502
|
+
@CurrentFlexibleCoresCnt.setter
|
33503
|
+
def CurrentFlexibleCoresCnt(self, CurrentFlexibleCoresCnt):
|
33504
|
+
self._CurrentFlexibleCoresCnt = CurrentFlexibleCoresCnt
|
33505
|
+
|
33435
33506
|
@property
|
33436
33507
|
def ImageCnt(self):
|
33437
33508
|
return self._ImageCnt
|
@@ -33448,14 +33519,6 @@ State为4时,有效值为: ISOLATE(隔离) DESTROED(已销毁)
|
|
33448
33519
|
def AuthorizedImageCnt(self, AuthorizedImageCnt):
|
33449
33520
|
self._AuthorizedImageCnt = AuthorizedImageCnt
|
33450
33521
|
|
33451
|
-
@property
|
33452
|
-
def PurchasedAuthorizedCnt(self):
|
33453
|
-
return self._PurchasedAuthorizedCnt
|
33454
|
-
|
33455
|
-
@PurchasedAuthorizedCnt.setter
|
33456
|
-
def PurchasedAuthorizedCnt(self, PurchasedAuthorizedCnt):
|
33457
|
-
self._PurchasedAuthorizedCnt = PurchasedAuthorizedCnt
|
33458
|
-
|
33459
33522
|
@property
|
33460
33523
|
def ExpirationTime(self):
|
33461
33524
|
return self._ExpirationTime
|
@@ -33464,6 +33527,14 @@ State为4时,有效值为: ISOLATE(隔离) DESTROED(已销毁)
|
|
33464
33527
|
def ExpirationTime(self, ExpirationTime):
|
33465
33528
|
self._ExpirationTime = ExpirationTime
|
33466
33529
|
|
33530
|
+
@property
|
33531
|
+
def PurchasedAuthorizedCnt(self):
|
33532
|
+
return self._PurchasedAuthorizedCnt
|
33533
|
+
|
33534
|
+
@PurchasedAuthorizedCnt.setter
|
33535
|
+
def PurchasedAuthorizedCnt(self, PurchasedAuthorizedCnt):
|
33536
|
+
self._PurchasedAuthorizedCnt = PurchasedAuthorizedCnt
|
33537
|
+
|
33467
33538
|
@property
|
33468
33539
|
def AutomaticRenewal(self):
|
33469
33540
|
return self._AutomaticRenewal
|
@@ -33504,6 +33575,38 @@ State为4时,有效值为: ISOLATE(隔离) DESTROED(已销毁)
|
|
33504
33575
|
def InquireKey(self, InquireKey):
|
33505
33576
|
self._InquireKey = InquireKey
|
33506
33577
|
|
33578
|
+
@property
|
33579
|
+
def DefendPolicy(self):
|
33580
|
+
return self._DefendPolicy
|
33581
|
+
|
33582
|
+
@DefendPolicy.setter
|
33583
|
+
def DefendPolicy(self, DefendPolicy):
|
33584
|
+
self._DefendPolicy = DefendPolicy
|
33585
|
+
|
33586
|
+
@property
|
33587
|
+
def FlexibleCoresLimit(self):
|
33588
|
+
return self._FlexibleCoresLimit
|
33589
|
+
|
33590
|
+
@FlexibleCoresLimit.setter
|
33591
|
+
def FlexibleCoresLimit(self, FlexibleCoresLimit):
|
33592
|
+
self._FlexibleCoresLimit = FlexibleCoresLimit
|
33593
|
+
|
33594
|
+
@property
|
33595
|
+
def DefendClusterCoresCnt(self):
|
33596
|
+
return self._DefendClusterCoresCnt
|
33597
|
+
|
33598
|
+
@DefendClusterCoresCnt.setter
|
33599
|
+
def DefendClusterCoresCnt(self, DefendClusterCoresCnt):
|
33600
|
+
self._DefendClusterCoresCnt = DefendClusterCoresCnt
|
33601
|
+
|
33602
|
+
@property
|
33603
|
+
def DefendHostCoresCnt(self):
|
33604
|
+
return self._DefendHostCoresCnt
|
33605
|
+
|
33606
|
+
@DefendHostCoresCnt.setter
|
33607
|
+
def DefendHostCoresCnt(self, DefendHostCoresCnt):
|
33608
|
+
self._DefendHostCoresCnt = DefendHostCoresCnt
|
33609
|
+
|
33507
33610
|
@property
|
33508
33611
|
def RequestId(self):
|
33509
33612
|
return self._RequestId
|
@@ -33515,17 +33618,25 @@ State为4时,有效值为: ISOLATE(隔离) DESTROED(已销毁)
|
|
33515
33618
|
|
33516
33619
|
def _deserialize(self, params):
|
33517
33620
|
self._State = params.get("State")
|
33621
|
+
self._AllCoresCnt = params.get("AllCoresCnt")
|
33518
33622
|
self._CoresCnt = params.get("CoresCnt")
|
33623
|
+
self._UndefendCoresCnt = params.get("UndefendCoresCnt")
|
33519
33624
|
self._AuthorizedCoresCnt = params.get("AuthorizedCoresCnt")
|
33625
|
+
self._GivenAuthorizedCoresCnt = params.get("GivenAuthorizedCoresCnt")
|
33626
|
+
self._CurrentFlexibleCoresCnt = params.get("CurrentFlexibleCoresCnt")
|
33520
33627
|
self._ImageCnt = params.get("ImageCnt")
|
33521
33628
|
self._AuthorizedImageCnt = params.get("AuthorizedImageCnt")
|
33522
|
-
self._PurchasedAuthorizedCnt = params.get("PurchasedAuthorizedCnt")
|
33523
33629
|
self._ExpirationTime = params.get("ExpirationTime")
|
33630
|
+
self._PurchasedAuthorizedCnt = params.get("PurchasedAuthorizedCnt")
|
33524
33631
|
self._AutomaticRenewal = params.get("AutomaticRenewal")
|
33525
33632
|
self._GivenAuthorizedCnt = params.get("GivenAuthorizedCnt")
|
33526
33633
|
self._BeginTime = params.get("BeginTime")
|
33527
33634
|
self._SubState = params.get("SubState")
|
33528
33635
|
self._InquireKey = params.get("InquireKey")
|
33636
|
+
self._DefendPolicy = params.get("DefendPolicy")
|
33637
|
+
self._FlexibleCoresLimit = params.get("FlexibleCoresLimit")
|
33638
|
+
self._DefendClusterCoresCnt = params.get("DefendClusterCoresCnt")
|
33639
|
+
self._DefendHostCoresCnt = params.get("DefendHostCoresCnt")
|
33529
33640
|
self._RequestId = params.get("RequestId")
|
33530
33641
|
|
33531
33642
|
|
@@ -45738,6 +45849,8 @@ class HostInfo(AbstractModel):
|
|
45738
45849
|
已防护: Defended
|
45739
45850
|
未防护: UnDefended
|
45740
45851
|
:type DefendStatus: str
|
45852
|
+
:param _CoresCnt: 核数
|
45853
|
+
:type CoresCnt: int
|
45741
45854
|
"""
|
45742
45855
|
self._HostID = None
|
45743
45856
|
self._HostIP = None
|
@@ -45761,6 +45874,7 @@ class HostInfo(AbstractModel):
|
|
45761
45874
|
self._ClusterAccessedStatus = None
|
45762
45875
|
self._ChargeCoresCnt = None
|
45763
45876
|
self._DefendStatus = None
|
45877
|
+
self._CoresCnt = None
|
45764
45878
|
|
45765
45879
|
@property
|
45766
45880
|
def HostID(self):
|
@@ -45938,6 +46052,14 @@ class HostInfo(AbstractModel):
|
|
45938
46052
|
def DefendStatus(self, DefendStatus):
|
45939
46053
|
self._DefendStatus = DefendStatus
|
45940
46054
|
|
46055
|
+
@property
|
46056
|
+
def CoresCnt(self):
|
46057
|
+
return self._CoresCnt
|
46058
|
+
|
46059
|
+
@CoresCnt.setter
|
46060
|
+
def CoresCnt(self, CoresCnt):
|
46061
|
+
self._CoresCnt = CoresCnt
|
46062
|
+
|
45941
46063
|
|
45942
46064
|
def _deserialize(self, params):
|
45943
46065
|
self._HostID = params.get("HostID")
|
@@ -45969,6 +46091,7 @@ class HostInfo(AbstractModel):
|
|
45969
46091
|
self._ClusterAccessedStatus = params.get("ClusterAccessedStatus")
|
45970
46092
|
self._ChargeCoresCnt = params.get("ChargeCoresCnt")
|
45971
46093
|
self._DefendStatus = params.get("DefendStatus")
|
46094
|
+
self._CoresCnt = params.get("CoresCnt")
|
45972
46095
|
memeber_set = set(params.keys())
|
45973
46096
|
for name, value in vars(self).items():
|
45974
46097
|
property_name = name[1:]
|
@@ -814,7 +814,7 @@ class ClusterOverview(AbstractModel):
|
|
814
814
|
r"""
|
815
815
|
:param _ClusterId: 集群ID。
|
816
816
|
:type ClusterId: str
|
817
|
-
:param _ClusterStatus: 集群状态。取值范围:<
|
817
|
+
:param _ClusterStatus: 集群状态。取值范围:<li>PENDING:创建中</li><li>INITING:初始化中</li><li>INIT_FAILED:初始化失败</li><li>RUNNING:运行中</li><li>TERMINATING:销毁中</li>
|
818
818
|
:type ClusterStatus: str
|
819
819
|
:param _ClusterName: 集群名称。
|
820
820
|
:type ClusterName: str
|
@@ -824,6 +824,9 @@ class ClusterOverview(AbstractModel):
|
|
824
824
|
:type CreateTime: str
|
825
825
|
:param _SchedulerType: 集群调度器。
|
826
826
|
:type SchedulerType: str
|
827
|
+
:param _SchedulerVersion: 集群调度器版本。
|
828
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
829
|
+
:type SchedulerVersion: str
|
827
830
|
:param _ComputeNodeCount: 计算节点数量。
|
828
831
|
:type ComputeNodeCount: int
|
829
832
|
:param _ComputeNodeSet: 计算节点概览。
|
@@ -836,7 +839,7 @@ class ClusterOverview(AbstractModel):
|
|
836
839
|
:type LoginNodeSet: list of LoginNodeOverview
|
837
840
|
:param _LoginNodeCount: 登录节点数量。
|
838
841
|
:type LoginNodeCount: int
|
839
|
-
:param _AutoScalingType:
|
842
|
+
:param _AutoScalingType: 弹性伸缩类型。取值范围:<li>THPC_AS:集群自动扩缩容由THPC产品内部实现。</li><li>AS:集群自动扩缩容由[弹性伸缩](https://cloud.tencent.com/document/product/377/3154)产品实现。</li>
|
840
843
|
:type AutoScalingType: str
|
841
844
|
:param _VpcId: 集群所属私有网络ID。
|
842
845
|
:type VpcId: str
|
@@ -847,6 +850,7 @@ class ClusterOverview(AbstractModel):
|
|
847
850
|
self._Placement = None
|
848
851
|
self._CreateTime = None
|
849
852
|
self._SchedulerType = None
|
853
|
+
self._SchedulerVersion = None
|
850
854
|
self._ComputeNodeCount = None
|
851
855
|
self._ComputeNodeSet = None
|
852
856
|
self._ManagerNodeCount = None
|
@@ -904,6 +908,14 @@ class ClusterOverview(AbstractModel):
|
|
904
908
|
def SchedulerType(self, SchedulerType):
|
905
909
|
self._SchedulerType = SchedulerType
|
906
910
|
|
911
|
+
@property
|
912
|
+
def SchedulerVersion(self):
|
913
|
+
return self._SchedulerVersion
|
914
|
+
|
915
|
+
@SchedulerVersion.setter
|
916
|
+
def SchedulerVersion(self, SchedulerVersion):
|
917
|
+
self._SchedulerVersion = SchedulerVersion
|
918
|
+
|
907
919
|
@property
|
908
920
|
def ComputeNodeCount(self):
|
909
921
|
return self._ComputeNodeCount
|
@@ -978,6 +990,7 @@ class ClusterOverview(AbstractModel):
|
|
978
990
|
self._Placement._deserialize(params.get("Placement"))
|
979
991
|
self._CreateTime = params.get("CreateTime")
|
980
992
|
self._SchedulerType = params.get("SchedulerType")
|
993
|
+
self._SchedulerVersion = params.get("SchedulerVersion")
|
981
994
|
self._ComputeNodeCount = params.get("ComputeNodeCount")
|
982
995
|
if params.get("ComputeNodeSet") is not None:
|
983
996
|
self._ComputeNodeSet = []
|
@@ -1193,8 +1206,13 @@ class CreateClusterRequest(AbstractModel):
|
|
1193
1206
|
:type ComputeNode: :class:`tencentcloud.thpc.v20230321.models.ComputeNode`
|
1194
1207
|
:param _ComputeNodeCount: 指定计算节点的数量。默认取值:0。
|
1195
1208
|
:type ComputeNodeCount: int
|
1196
|
-
:param _SchedulerType: 调度器类型。默认取值:SLURM。<
|
1209
|
+
:param _SchedulerType: 调度器类型。默认取值:SLURM。<li>SGE:SGE调度器。</li><li>SLURM:SLURM调度器。</li>
|
1197
1210
|
:type SchedulerType: str
|
1211
|
+
:param _SchedulerVersion: 创建调度器的版本号,可填写版本号为“latest” 和 各调度器支持的版本号;如果是"latest", 则代表创建的是平台当前支持的该类型调度器最新版本。如果不填写,默认创建的是“latest”版本调度器
|
1212
|
+
各调度器支持的集群版本:
|
1213
|
+
<li>SLURM:21.08.8、23.11.7</li>
|
1214
|
+
<li>SGE: 8.1.9</li>
|
1215
|
+
:type SchedulerVersion: str
|
1198
1216
|
:param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前支持部分公有镜像和自定义镜像。
|
1199
1217
|
:type ImageId: str
|
1200
1218
|
:param _VirtualPrivateCloud: 私有网络相关信息配置。
|
@@ -1212,7 +1230,7 @@ true:发送检查请求,不会创建实例。检查项包括是否填写了
|
|
1212
1230
|
false(默认):发送正常请求,通过检查后直接创建实例
|
1213
1231
|
:type DryRun: bool
|
1214
1232
|
:param _AccountType: 域名字服务类型。默认取值:NIS。
|
1215
|
-
<li>NIS:NIS
|
1233
|
+
<li>NIS:NIS域名字服务。</li>
|
1216
1234
|
:type AccountType: str
|
1217
1235
|
:param _ClusterName: 集群显示名称。
|
1218
1236
|
:type ClusterName: str
|
@@ -1224,7 +1242,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
1224
1242
|
:type LoginNodeCount: int
|
1225
1243
|
:param _Tags: 创建集群时同时绑定的标签对说明。
|
1226
1244
|
:type Tags: list of Tag
|
1227
|
-
:param _AutoScalingType: 弹性伸缩类型。默认值:THPC_AS<
|
1245
|
+
:param _AutoScalingType: 弹性伸缩类型。默认值:THPC_AS<li>THPC_AS:集群自动扩缩容由THPC产品内部实现。</li><li>AS:集群自动扩缩容由[弹性伸缩](https://cloud.tencent.com/document/product/377/3154)产品实现。</li>
|
1228
1246
|
:type AutoScalingType: str
|
1229
1247
|
:param _InitNodeScripts: 节点初始化脚本信息列表。
|
1230
1248
|
:type InitNodeScripts: list of NodeScript
|
@@ -1237,6 +1255,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
1237
1255
|
self._ComputeNode = None
|
1238
1256
|
self._ComputeNodeCount = None
|
1239
1257
|
self._SchedulerType = None
|
1258
|
+
self._SchedulerVersion = None
|
1240
1259
|
self._ImageId = None
|
1241
1260
|
self._VirtualPrivateCloud = None
|
1242
1261
|
self._LoginSettings = None
|
@@ -1301,6 +1320,14 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
1301
1320
|
def SchedulerType(self, SchedulerType):
|
1302
1321
|
self._SchedulerType = SchedulerType
|
1303
1322
|
|
1323
|
+
@property
|
1324
|
+
def SchedulerVersion(self):
|
1325
|
+
return self._SchedulerVersion
|
1326
|
+
|
1327
|
+
@SchedulerVersion.setter
|
1328
|
+
def SchedulerVersion(self, SchedulerVersion):
|
1329
|
+
self._SchedulerVersion = SchedulerVersion
|
1330
|
+
|
1304
1331
|
@property
|
1305
1332
|
def ImageId(self):
|
1306
1333
|
return self._ImageId
|
@@ -1435,6 +1462,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
1435
1462
|
self._ComputeNode._deserialize(params.get("ComputeNode"))
|
1436
1463
|
self._ComputeNodeCount = params.get("ComputeNodeCount")
|
1437
1464
|
self._SchedulerType = params.get("SchedulerType")
|
1465
|
+
self._SchedulerVersion = params.get("SchedulerVersion")
|
1438
1466
|
self._ImageId = params.get("ImageId")
|
1439
1467
|
if params.get("VirtualPrivateCloud") is not None:
|
1440
1468
|
self._VirtualPrivateCloud = VirtualPrivateCloud()
|