tencentcloud-sdk-python 3.0.1418__py2.py3-none-any.whl → 3.0.1420__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/ai3d/v20250513/models.py +2 -2
- tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
- tencentcloud/batch/v20170312/models.py +120 -0
- tencentcloud/cdb/v20170320/models.py +2 -2
- tencentcloud/cdn/v20180606/cdn_client.py +1 -1
- tencentcloud/cdn/v20180606/models.py +4 -4
- tencentcloud/cfs/v20190719/models.py +20 -20
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +472 -0
- tencentcloud/csip/v20221121/csip_client.py +299 -0
- tencentcloud/csip/v20221121/models.py +3240 -47
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/cwp/v20180228/models.py +15 -0
- tencentcloud/emr/v20190103/models.py +355 -4
- tencentcloud/es/v20250101/models.py +30 -0
- tencentcloud/ess/v20201111/models.py +27 -2
- tencentcloud/essbasic/v20210526/models.py +14 -5
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +1 -1
- tencentcloud/lcic/v20220817/lcic_client.py +23 -0
- tencentcloud/lcic/v20220817/models.py +99 -0
- tencentcloud/live/v20180801/models.py +384 -2
- tencentcloud/lke/v20231130/models.py +395 -2
- tencentcloud/mrs/v20200910/models.py +15 -0
- tencentcloud/nlp/v20190408/errorcodes.py +0 -21
- tencentcloud/nlp/v20190408/models.py +99 -1004
- tencentcloud/nlp/v20190408/nlp_client.py +0 -138
- tencentcloud/ocr/v20181119/models.py +103 -0
- tencentcloud/redis/v20180412/models.py +20 -12
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ses/v20201002/models.py +19 -0
- tencentcloud/ssl/v20191205/errorcodes.py +6 -0
- tencentcloud/tdmq/v20200217/models.py +15 -0
- tencentcloud/teo/v20220901/models.py +439 -8
- tencentcloud/teo/v20220901/teo_client.py +1 -1
- tencentcloud/tione/v20211111/models.py +23 -0
- tencentcloud/tke/v20180525/models.py +46 -46
- tencentcloud/tke/v20220501/models.py +94 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/tmt/v20180321/errorcodes.py +1 -1
- tencentcloud/tmt/v20180321/models.py +8 -8
- tencentcloud/tsf/v20180326/errorcodes.py +6 -0
- tencentcloud/tsf/v20180326/models.py +16 -0
- tencentcloud/vclm/v20240523/models.py +2 -28
- tencentcloud/vod/v20180717/models.py +8 -4
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- {tencentcloud_sdk_python-3.0.1418.dist-info → tencentcloud_sdk_python-3.0.1420.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1418.dist-info → tencentcloud_sdk_python-3.0.1420.dist-info}/RECORD +51 -51
- {tencentcloud_sdk_python-3.0.1418.dist-info → tencentcloud_sdk_python-3.0.1420.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1418.dist-info → tencentcloud_sdk_python-3.0.1420.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1418.dist-info → tencentcloud_sdk_python-3.0.1420.dist-info}/top_level.txt +0 -0
@@ -9606,7 +9606,7 @@ class CreateReservedInstancesRequest(AbstractModel):
|
|
9606
9606
|
:type InstanceCount: int
|
9607
9607
|
:param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。
|
9608
9608
|
:type InstanceChargePrepaid: :class:`tencentcloud.tke.v20180525.models.InstanceChargePrepaid`
|
9609
|
-
:param _InstanceName:
|
9609
|
+
:param _InstanceName: 预留券名称,名称不得超过60个字符。
|
9610
9610
|
:type InstanceName: str
|
9611
9611
|
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
9612
9612
|
:type ClientToken: str
|
@@ -9652,7 +9652,7 @@ class CreateReservedInstancesRequest(AbstractModel):
|
|
9652
9652
|
|
9653
9653
|
@property
|
9654
9654
|
def InstanceName(self):
|
9655
|
-
"""
|
9655
|
+
"""预留券名称,名称不得超过60个字符。
|
9656
9656
|
:rtype: str
|
9657
9657
|
"""
|
9658
9658
|
return self._InstanceName
|
@@ -12744,14 +12744,14 @@ class DeleteReservedInstancesRequest(AbstractModel):
|
|
12744
12744
|
|
12745
12745
|
def __init__(self):
|
12746
12746
|
r"""
|
12747
|
-
:param _ReservedInstanceIds: 预留券实例ID
|
12747
|
+
:param _ReservedInstanceIds: 预留券实例ID。可通过 [DescribeReservedInstances](https://cloud.tencent.com/document/product/457/99162) 接口返回值中的ReservedInstanceId获取。
|
12748
12748
|
:type ReservedInstanceIds: list of str
|
12749
12749
|
"""
|
12750
12750
|
self._ReservedInstanceIds = None
|
12751
12751
|
|
12752
12752
|
@property
|
12753
12753
|
def ReservedInstanceIds(self):
|
12754
|
-
"""预留券实例ID
|
12754
|
+
"""预留券实例ID。可通过 [DescribeReservedInstances](https://cloud.tencent.com/document/product/457/99162) 接口返回值中的ReservedInstanceId获取。
|
12755
12755
|
:rtype: list of str
|
12756
12756
|
"""
|
12757
12757
|
return self._ReservedInstanceIds
|
@@ -20347,13 +20347,13 @@ class DescribePodChargeInfoRequest(AbstractModel):
|
|
20347
20347
|
|
20348
20348
|
def __init__(self):
|
20349
20349
|
r"""
|
20350
|
-
:param _ClusterId: 集群ID
|
20350
|
+
:param _ClusterId: 集群 ID。TKE 集群可通过 [DescribeClusters](https://cloud.tencent.com/document/api/457/31862) 接口返回值中的ClusterId获取。
|
20351
20351
|
:type ClusterId: str
|
20352
20352
|
:param _Namespace: 命名空间
|
20353
20353
|
:type Namespace: str
|
20354
20354
|
:param _Name: Pod名称
|
20355
20355
|
:type Name: str
|
20356
|
-
:param _Uids: Pod的Uid
|
20356
|
+
:param _Uids: Pod的Uid,可以通过Uids 来批量查询,也可以通过 Namespace 和 Name 来查询某个 Pod 的计费信息。Uids 不传时,Namespace 和 Name 必须同时传。
|
20357
20357
|
:type Uids: list of str
|
20358
20358
|
"""
|
20359
20359
|
self._ClusterId = None
|
@@ -20363,7 +20363,7 @@ class DescribePodChargeInfoRequest(AbstractModel):
|
|
20363
20363
|
|
20364
20364
|
@property
|
20365
20365
|
def ClusterId(self):
|
20366
|
-
"""集群ID
|
20366
|
+
"""集群 ID。TKE 集群可通过 [DescribeClusters](https://cloud.tencent.com/document/api/457/31862) 接口返回值中的ClusterId获取。
|
20367
20367
|
:rtype: str
|
20368
20368
|
"""
|
20369
20369
|
return self._ClusterId
|
@@ -20396,7 +20396,7 @@ class DescribePodChargeInfoRequest(AbstractModel):
|
|
20396
20396
|
|
20397
20397
|
@property
|
20398
20398
|
def Uids(self):
|
20399
|
-
"""Pod的Uid
|
20399
|
+
"""Pod的Uid,可以通过Uids 来批量查询,也可以通过 Namespace 和 Name 来查询某个 Pod 的计费信息。Uids 不传时,Namespace 和 Name 必须同时传。
|
20400
20400
|
:rtype: list of str
|
20401
20401
|
"""
|
20402
20402
|
return self._Uids
|
@@ -20480,7 +20480,7 @@ class DescribePodDeductionRateRequest(AbstractModel):
|
|
20480
20480
|
:type Zone: str
|
20481
20481
|
:param _ClusterId: 集群 ID
|
20482
20482
|
:type ClusterId: str
|
20483
|
-
:param _NodeName:
|
20483
|
+
:param _NodeName: 节点 ID
|
20484
20484
|
:type NodeName: str
|
20485
20485
|
"""
|
20486
20486
|
self._Zone = None
|
@@ -20511,7 +20511,7 @@ class DescribePodDeductionRateRequest(AbstractModel):
|
|
20511
20511
|
|
20512
20512
|
@property
|
20513
20513
|
def NodeName(self):
|
20514
|
-
"""
|
20514
|
+
"""节点 ID
|
20515
20515
|
:rtype: str
|
20516
20516
|
"""
|
20517
20517
|
return self._NodeName
|
@@ -20592,15 +20592,15 @@ class DescribePodsBySpecRequest(AbstractModel):
|
|
20592
20592
|
r"""
|
20593
20593
|
:param _Cpu: 核数
|
20594
20594
|
:type Cpu: float
|
20595
|
-
:param _Memory:
|
20595
|
+
:param _Memory: 内存,单位:GiB
|
20596
20596
|
:type Memory: float
|
20597
|
-
:param _GpuNum: 卡数,有0.25、0.5、1、2、4
|
20597
|
+
:param _GpuNum: 卡数,有0.25、0.5、1、2、4和8
|
20598
20598
|
:type GpuNum: str
|
20599
20599
|
:param _Zone: 可用区
|
20600
20600
|
:type Zone: str
|
20601
20601
|
:param _ClusterId: 集群 ID
|
20602
20602
|
:type ClusterId: str
|
20603
|
-
:param _NodeName:
|
20603
|
+
:param _NodeName: 节点 ID
|
20604
20604
|
:type NodeName: str
|
20605
20605
|
:param _Offset: 偏移量,默认0。
|
20606
20606
|
:type Offset: int
|
@@ -20643,7 +20643,7 @@ pod-not-deduct
|
|
20643
20643
|
|
20644
20644
|
@property
|
20645
20645
|
def Memory(self):
|
20646
|
-
"""
|
20646
|
+
"""内存,单位:GiB
|
20647
20647
|
:rtype: float
|
20648
20648
|
"""
|
20649
20649
|
return self._Memory
|
@@ -20654,7 +20654,7 @@ pod-not-deduct
|
|
20654
20654
|
|
20655
20655
|
@property
|
20656
20656
|
def GpuNum(self):
|
20657
|
-
"""卡数,有0.25、0.5、1、2、4
|
20657
|
+
"""卡数,有0.25、0.5、1、2、4和8
|
20658
20658
|
:rtype: str
|
20659
20659
|
"""
|
20660
20660
|
return self._GpuNum
|
@@ -20687,7 +20687,7 @@ pod-not-deduct
|
|
20687
20687
|
|
20688
20688
|
@property
|
20689
20689
|
def NodeName(self):
|
20690
|
-
"""
|
20690
|
+
"""节点 ID
|
20691
20691
|
:rtype: str
|
20692
20692
|
"""
|
20693
20693
|
return self._NodeName
|
@@ -23791,7 +23791,7 @@ class DescribeReservedInstanceUtilizationRateRequest(AbstractModel):
|
|
23791
23791
|
:type Zone: str
|
23792
23792
|
:param _ClusterId: 集群 ID
|
23793
23793
|
:type ClusterId: str
|
23794
|
-
:param _NodeName:
|
23794
|
+
:param _NodeName: 节点 ID
|
23795
23795
|
:type NodeName: str
|
23796
23796
|
"""
|
23797
23797
|
self._Zone = None
|
@@ -23822,7 +23822,7 @@ class DescribeReservedInstanceUtilizationRateRequest(AbstractModel):
|
|
23822
23822
|
|
23823
23823
|
@property
|
23824
23824
|
def NodeName(self):
|
23825
|
-
"""
|
23825
|
+
"""节点 ID
|
23826
23826
|
:rtype: str
|
23827
23827
|
"""
|
23828
23828
|
return self._NodeName
|
@@ -23936,7 +23936,7 @@ class DescribeReservedInstancesRequest(AbstractModel):
|
|
23936
23936
|
:param _Limit: 返回数量,默认为20,最大值为100。
|
23937
23937
|
:type Limit: int
|
23938
23938
|
:param _Filters: status
|
23939
|
-
按照**【状态**】进行过滤。状态:Creating
|
23939
|
+
按照**【状态**】进行过滤。状态:Creating:创建中、Active:生效中、Expired:已过期、Refunded:已退还。
|
23940
23940
|
类型:String
|
23941
23941
|
必选:否
|
23942
23942
|
|
@@ -24029,7 +24029,7 @@ reserved-instance-not-deduct
|
|
24029
24029
|
@property
|
24030
24030
|
def Filters(self):
|
24031
24031
|
"""status
|
24032
|
-
按照**【状态**】进行过滤。状态:Creating
|
24032
|
+
按照**【状态**】进行过滤。状态:Creating:创建中、Active:生效中、Expired:已过期、Refunded:已退还。
|
24033
24033
|
类型:String
|
24034
24034
|
必选:否
|
24035
24035
|
|
@@ -31265,7 +31265,7 @@ class InstanceChargePrepaid(AbstractModel):
|
|
31265
31265
|
|
31266
31266
|
def __init__(self):
|
31267
31267
|
r"""
|
31268
|
-
:param _Period: 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36
|
31268
|
+
:param _Period: 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36。
|
31269
31269
|
:type Period: int
|
31270
31270
|
:param _RenewFlag: 自动续费标识。取值范围:
|
31271
31271
|
NOTIFY_AND_AUTO_RENEW:通知过期且自动续费
|
@@ -31280,7 +31280,7 @@ DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费
|
|
31280
31280
|
|
31281
31281
|
@property
|
31282
31282
|
def Period(self):
|
31283
|
-
"""购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36
|
31283
|
+
"""购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36。
|
31284
31284
|
:rtype: int
|
31285
31285
|
"""
|
31286
31286
|
return self._Period
|
@@ -35814,7 +35814,7 @@ class ModifyReservedInstanceScopeRequest(AbstractModel):
|
|
35814
35814
|
|
35815
35815
|
def __init__(self):
|
35816
35816
|
r"""
|
35817
|
-
:param _ReservedInstanceIds:
|
35817
|
+
:param _ReservedInstanceIds: 预留券实例ID。可通过 [DescribeReservedInstances](https://cloud.tencent.com/document/product/457/99162) 接口返回值中的ReservedInstanceId获取。
|
35818
35818
|
:type ReservedInstanceIds: list of str
|
35819
35819
|
:param _ReservedInstanceScope: 预留券抵扣范围信息
|
35820
35820
|
:type ReservedInstanceScope: :class:`tencentcloud.tke.v20180525.models.ReservedInstanceScope`
|
@@ -35824,7 +35824,7 @@ class ModifyReservedInstanceScopeRequest(AbstractModel):
|
|
35824
35824
|
|
35825
35825
|
@property
|
35826
35826
|
def ReservedInstanceIds(self):
|
35827
|
-
"""
|
35827
|
+
"""预留券实例ID。可通过 [DescribeReservedInstances](https://cloud.tencent.com/document/product/457/99162) 接口返回值中的ReservedInstanceId获取。
|
35828
35828
|
:rtype: list of str
|
35829
35829
|
"""
|
35830
35830
|
return self._ReservedInstanceIds
|
@@ -37550,9 +37550,9 @@ class PodDeductionRate(AbstractModel):
|
|
37550
37550
|
r"""
|
37551
37551
|
:param _Cpu: Pod的 CPU
|
37552
37552
|
:type Cpu: float
|
37553
|
-
:param _Memory: Pod
|
37553
|
+
:param _Memory: Pod 的内存,单位:GiB
|
37554
37554
|
:type Memory: float
|
37555
|
-
:param _Type: Pod
|
37555
|
+
:param _Type: Pod 的类型, intel,amd,windows-common,windows-amd,sa4,sa5,s7,s8,t4,v100,l20,l40,a10\*gnv4,a10\*gnv4v,a10\*pnv4
|
37556
37556
|
:type Type: str
|
37557
37557
|
:param _GpuNum: Pod 的 GPU 卡数,Pod 类型为 GPU 时有效。
|
37558
37558
|
:type GpuNum: str
|
@@ -37581,7 +37581,7 @@ class PodDeductionRate(AbstractModel):
|
|
37581
37581
|
|
37582
37582
|
@property
|
37583
37583
|
def Memory(self):
|
37584
|
-
"""Pod
|
37584
|
+
"""Pod 的内存,单位:GiB
|
37585
37585
|
:rtype: float
|
37586
37586
|
"""
|
37587
37587
|
return self._Memory
|
@@ -37592,7 +37592,7 @@ class PodDeductionRate(AbstractModel):
|
|
37592
37592
|
|
37593
37593
|
@property
|
37594
37594
|
def Type(self):
|
37595
|
-
""" Pod
|
37595
|
+
""" Pod 的类型, intel,amd,windows-common,windows-amd,sa4,sa5,s7,s8,t4,v100,l20,l40,a10\*gnv4,a10\*gnv4v,a10\*pnv4
|
37596
37596
|
:rtype: str
|
37597
37597
|
"""
|
37598
37598
|
return self._Type
|
@@ -37825,7 +37825,7 @@ class PodNodeInfo(AbstractModel):
|
|
37825
37825
|
r"""
|
37826
37826
|
:param _ClusterId: 集群 ID
|
37827
37827
|
:type ClusterId: str
|
37828
|
-
:param _NodeName:
|
37828
|
+
:param _NodeName: 节点 ID
|
37829
37829
|
:type NodeName: str
|
37830
37830
|
:param _Zone: 可用区
|
37831
37831
|
:type Zone: str
|
@@ -37853,7 +37853,7 @@ class PodNodeInfo(AbstractModel):
|
|
37853
37853
|
|
37854
37854
|
@property
|
37855
37855
|
def NodeName(self):
|
37856
|
-
"""
|
37856
|
+
"""节点 ID
|
37857
37857
|
:rtype: str
|
37858
37858
|
"""
|
37859
37859
|
return self._NodeName
|
@@ -41642,7 +41642,7 @@ class RIUtilizationDetail(AbstractModel):
|
|
41642
41642
|
:type Name: str
|
41643
41643
|
:param _Namespace: Pod的命名空间
|
41644
41644
|
:type Namespace: str
|
41645
|
-
:param _Kind:
|
41645
|
+
:param _Kind: 工作负载类型,如 deployment、statefulset和pod等。
|
41646
41646
|
:type Kind: str
|
41647
41647
|
:param _KindName: 工作负载名称
|
41648
41648
|
:type KindName: str
|
@@ -41724,7 +41724,7 @@ class RIUtilizationDetail(AbstractModel):
|
|
41724
41724
|
|
41725
41725
|
@property
|
41726
41726
|
def Kind(self):
|
41727
|
-
"""
|
41727
|
+
"""工作负载类型,如 deployment、statefulset和pod等。
|
41728
41728
|
:rtype: str
|
41729
41729
|
"""
|
41730
41730
|
return self._Kind
|
@@ -42662,7 +42662,7 @@ class RenewReservedInstancesRequest(AbstractModel):
|
|
42662
42662
|
|
42663
42663
|
def __init__(self):
|
42664
42664
|
r"""
|
42665
|
-
:param _ReservedInstanceIds: 预留券实例ID
|
42665
|
+
:param _ReservedInstanceIds: 预留券实例ID。可通过 [DescribeReservedInstances](https://cloud.tencent.com/document/product/457/99162) 接口返回值中的ReservedInstanceId获取,每次请求实例的上限为100。
|
42666
42666
|
:type ReservedInstanceIds: list of str
|
42667
42667
|
:param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的续费时长、是否设置自动续费等属性。
|
42668
42668
|
:type InstanceChargePrepaid: :class:`tencentcloud.tke.v20180525.models.InstanceChargePrepaid`
|
@@ -42675,7 +42675,7 @@ class RenewReservedInstancesRequest(AbstractModel):
|
|
42675
42675
|
|
42676
42676
|
@property
|
42677
42677
|
def ReservedInstanceIds(self):
|
42678
|
-
"""预留券实例ID
|
42678
|
+
"""预留券实例ID。可通过 [DescribeReservedInstances](https://cloud.tencent.com/document/product/457/99162) 接口返回值中的ReservedInstanceId获取,每次请求实例的上限为100。
|
42679
42679
|
:rtype: list of str
|
42680
42680
|
"""
|
42681
42681
|
return self._ReservedInstanceIds
|
@@ -42788,7 +42788,7 @@ class ReservedInstance(AbstractModel):
|
|
42788
42788
|
:type ClusterId: str
|
42789
42789
|
:param _NodeName: 节点名称
|
42790
42790
|
:type NodeName: str
|
42791
|
-
:param _DeductStatus: 上个周期预留券的抵扣状态,Deduct
|
42791
|
+
:param _DeductStatus: 上个周期预留券的抵扣状态,Deduct:已抵扣、NotDeduct:未抵扣
|
42792
42792
|
:type DeductStatus: str
|
42793
42793
|
"""
|
42794
42794
|
self._ReservedInstanceId = None
|
@@ -42975,7 +42975,7 @@ class ReservedInstance(AbstractModel):
|
|
42975
42975
|
|
42976
42976
|
@property
|
42977
42977
|
def DeductStatus(self):
|
42978
|
-
""" 上个周期预留券的抵扣状态,Deduct
|
42978
|
+
""" 上个周期预留券的抵扣状态,Deduct:已抵扣、NotDeduct:未抵扣
|
42979
42979
|
:rtype: str
|
42980
42980
|
"""
|
42981
42981
|
return self._DeductStatus
|
@@ -43025,7 +43025,7 @@ class ReservedInstanceScope(AbstractModel):
|
|
43025
43025
|
:type Zone: str
|
43026
43026
|
:param _ClusterId: 集群 ID
|
43027
43027
|
:type ClusterId: str
|
43028
|
-
:param _NodeName:
|
43028
|
+
:param _NodeName: 节点 ID
|
43029
43029
|
:type NodeName: str
|
43030
43030
|
"""
|
43031
43031
|
self._Scope = None
|
@@ -43068,7 +43068,7 @@ class ReservedInstanceScope(AbstractModel):
|
|
43068
43068
|
|
43069
43069
|
@property
|
43070
43070
|
def NodeName(self):
|
43071
|
-
"""
|
43071
|
+
"""节点 ID
|
43072
43072
|
:rtype: str
|
43073
43073
|
"""
|
43074
43074
|
return self._NodeName
|
@@ -43104,7 +43104,7 @@ class ReservedInstanceSpec(AbstractModel):
|
|
43104
43104
|
:type Type: str
|
43105
43105
|
:param _Cpu: 核数
|
43106
43106
|
:type Cpu: float
|
43107
|
-
:param _Memory:
|
43107
|
+
:param _Memory: 内存,单位:GiB
|
43108
43108
|
:type Memory: float
|
43109
43109
|
:param _Gpu: GPU卡数,当Type为GPU类型时设置。
|
43110
43110
|
:type Gpu: float
|
@@ -43138,7 +43138,7 @@ class ReservedInstanceSpec(AbstractModel):
|
|
43138
43138
|
|
43139
43139
|
@property
|
43140
43140
|
def Memory(self):
|
43141
|
-
"""
|
43141
|
+
"""内存,单位:GiB
|
43142
43142
|
:rtype: float
|
43143
43143
|
"""
|
43144
43144
|
return self._Memory
|
@@ -43187,9 +43187,9 @@ class ReservedInstanceUtilizationRate(AbstractModel):
|
|
43187
43187
|
:type Num: int
|
43188
43188
|
:param _CPU: 核数
|
43189
43189
|
:type CPU: float
|
43190
|
-
:param _Memory:
|
43190
|
+
:param _Memory: 内存,单位:GiB
|
43191
43191
|
:type Memory: float
|
43192
|
-
:param _Type:
|
43192
|
+
:param _Type: 预留券类型, common:CPU通用,amd:AMD专用,windows-common: Windows容器 CPU通用,windows-amd:Windows容器 AMD专用,sa4,sa5,s7,s8,t4,v100,l20,l40,a10\*gnv4,a10\*gnv4v,a10\*pnv4
|
43193
43193
|
:type Type: str
|
43194
43194
|
:param _GpuNum: GPU 卡数
|
43195
43195
|
:type GpuNum: str
|
@@ -43197,7 +43197,7 @@ class ReservedInstanceUtilizationRate(AbstractModel):
|
|
43197
43197
|
:type Zone: str
|
43198
43198
|
:param _ClusterId: 集群 ID
|
43199
43199
|
:type ClusterId: str
|
43200
|
-
:param _NodeName:
|
43200
|
+
:param _NodeName: 节点 ID
|
43201
43201
|
:type NodeName: str
|
43202
43202
|
:param _PodNum: Pod 数量
|
43203
43203
|
:type PodNum: int
|
@@ -43248,7 +43248,7 @@ class ReservedInstanceUtilizationRate(AbstractModel):
|
|
43248
43248
|
|
43249
43249
|
@property
|
43250
43250
|
def Memory(self):
|
43251
|
-
"""
|
43251
|
+
"""内存,单位:GiB
|
43252
43252
|
:rtype: float
|
43253
43253
|
"""
|
43254
43254
|
return self._Memory
|
@@ -43259,7 +43259,7 @@ class ReservedInstanceUtilizationRate(AbstractModel):
|
|
43259
43259
|
|
43260
43260
|
@property
|
43261
43261
|
def Type(self):
|
43262
|
-
"""
|
43262
|
+
""" 预留券类型, common:CPU通用,amd:AMD专用,windows-common: Windows容器 CPU通用,windows-amd:Windows容器 AMD专用,sa4,sa5,s7,s8,t4,v100,l20,l40,a10\*gnv4,a10\*gnv4v,a10\*pnv4
|
43263
43263
|
:rtype: str
|
43264
43264
|
"""
|
43265
43265
|
return self._Type
|
@@ -43303,7 +43303,7 @@ class ReservedInstanceUtilizationRate(AbstractModel):
|
|
43303
43303
|
|
43304
43304
|
@property
|
43305
43305
|
def NodeName(self):
|
43306
|
-
"""
|
43306
|
+
"""节点 ID
|
43307
43307
|
:rtype: str
|
43308
43308
|
"""
|
43309
43309
|
return self._NodeName
|
@@ -5908,6 +5908,100 @@ class RuntimeConfig(AbstractModel):
|
|
5908
5908
|
|
5909
5909
|
|
5910
5910
|
|
5911
|
+
class SetMachineLoginRequest(AbstractModel):
|
5912
|
+
"""SetMachineLogin请求参数结构体
|
5913
|
+
|
5914
|
+
"""
|
5915
|
+
|
5916
|
+
def __init__(self):
|
5917
|
+
r"""
|
5918
|
+
:param _ClusterId: 集群 ID
|
5919
|
+
:type ClusterId: str
|
5920
|
+
:param _MachineName: 节点名称
|
5921
|
+
:type MachineName: str
|
5922
|
+
:param _KeyIds: 密钥 ID 列表
|
5923
|
+
:type KeyIds: list of str
|
5924
|
+
"""
|
5925
|
+
self._ClusterId = None
|
5926
|
+
self._MachineName = None
|
5927
|
+
self._KeyIds = None
|
5928
|
+
|
5929
|
+
@property
|
5930
|
+
def ClusterId(self):
|
5931
|
+
"""集群 ID
|
5932
|
+
:rtype: str
|
5933
|
+
"""
|
5934
|
+
return self._ClusterId
|
5935
|
+
|
5936
|
+
@ClusterId.setter
|
5937
|
+
def ClusterId(self, ClusterId):
|
5938
|
+
self._ClusterId = ClusterId
|
5939
|
+
|
5940
|
+
@property
|
5941
|
+
def MachineName(self):
|
5942
|
+
"""节点名称
|
5943
|
+
:rtype: str
|
5944
|
+
"""
|
5945
|
+
return self._MachineName
|
5946
|
+
|
5947
|
+
@MachineName.setter
|
5948
|
+
def MachineName(self, MachineName):
|
5949
|
+
self._MachineName = MachineName
|
5950
|
+
|
5951
|
+
@property
|
5952
|
+
def KeyIds(self):
|
5953
|
+
"""密钥 ID 列表
|
5954
|
+
:rtype: list of str
|
5955
|
+
"""
|
5956
|
+
return self._KeyIds
|
5957
|
+
|
5958
|
+
@KeyIds.setter
|
5959
|
+
def KeyIds(self, KeyIds):
|
5960
|
+
self._KeyIds = KeyIds
|
5961
|
+
|
5962
|
+
|
5963
|
+
def _deserialize(self, params):
|
5964
|
+
self._ClusterId = params.get("ClusterId")
|
5965
|
+
self._MachineName = params.get("MachineName")
|
5966
|
+
self._KeyIds = params.get("KeyIds")
|
5967
|
+
memeber_set = set(params.keys())
|
5968
|
+
for name, value in vars(self).items():
|
5969
|
+
property_name = name[1:]
|
5970
|
+
if property_name in memeber_set:
|
5971
|
+
memeber_set.remove(property_name)
|
5972
|
+
if len(memeber_set) > 0:
|
5973
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5974
|
+
|
5975
|
+
|
5976
|
+
|
5977
|
+
class SetMachineLoginResponse(AbstractModel):
|
5978
|
+
"""SetMachineLogin返回参数结构体
|
5979
|
+
|
5980
|
+
"""
|
5981
|
+
|
5982
|
+
def __init__(self):
|
5983
|
+
r"""
|
5984
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5985
|
+
:type RequestId: str
|
5986
|
+
"""
|
5987
|
+
self._RequestId = None
|
5988
|
+
|
5989
|
+
@property
|
5990
|
+
def RequestId(self):
|
5991
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5992
|
+
:rtype: str
|
5993
|
+
"""
|
5994
|
+
return self._RequestId
|
5995
|
+
|
5996
|
+
@RequestId.setter
|
5997
|
+
def RequestId(self, RequestId):
|
5998
|
+
self._RequestId = RequestId
|
5999
|
+
|
6000
|
+
|
6001
|
+
def _deserialize(self, params):
|
6002
|
+
self._RequestId = params.get("RequestId")
|
6003
|
+
|
6004
|
+
|
5911
6005
|
class SortBy(AbstractModel):
|
5912
6006
|
"""排序信息
|
5913
6007
|
|
@@ -325,6 +325,29 @@ class TkeClient(AbstractClient):
|
|
325
325
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
326
326
|
|
327
327
|
|
328
|
+
def SetMachineLogin(self, request):
|
329
|
+
"""设置是否开启节点登录
|
330
|
+
|
331
|
+
:param request: Request instance for SetMachineLogin.
|
332
|
+
:type request: :class:`tencentcloud.tke.v20220501.models.SetMachineLoginRequest`
|
333
|
+
:rtype: :class:`tencentcloud.tke.v20220501.models.SetMachineLoginResponse`
|
334
|
+
|
335
|
+
"""
|
336
|
+
try:
|
337
|
+
params = request._serialize()
|
338
|
+
headers = request.headers
|
339
|
+
body = self.call("SetMachineLogin", params, headers=headers)
|
340
|
+
response = json.loads(body)
|
341
|
+
model = models.SetMachineLoginResponse()
|
342
|
+
model._deserialize(response["Response"])
|
343
|
+
return model
|
344
|
+
except Exception as e:
|
345
|
+
if isinstance(e, TencentCloudSDKException):
|
346
|
+
raise
|
347
|
+
else:
|
348
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
349
|
+
|
350
|
+
|
328
351
|
def StartMachines(self, request):
|
329
352
|
"""本接口 (StartMachines) 用于启动一个或多个原生节点实例。
|
330
353
|
|
@@ -32,7 +32,7 @@ FAILEDOPERATION_LANGUAGERECOGNITIONERR = 'FailedOperation.LanguageRecognitionErr
|
|
32
32
|
# 本月免费额度已用完,如需继续使用您可以在机器翻译控制台升级为付费使用。
|
33
33
|
FAILEDOPERATION_NOFREEAMOUNT = 'FailedOperation.NoFreeAmount'
|
34
34
|
|
35
|
-
#
|
35
|
+
# 内部请求错误,请稍后重试。
|
36
36
|
FAILEDOPERATION_REQUESTAILABERR = 'FailedOperation.RequestAiLabErr'
|
37
37
|
|
38
38
|
# 账号因为欠费停止服务,请在腾讯云账户充值。
|
@@ -1700,9 +1700,9 @@ hi:印地语
|
|
1700
1700
|
:type ProjectId: int
|
1701
1701
|
:param _SourceTextList: 待翻译的文本列表,批量接口可以以数组方式在一次请求中填写多个待翻译文本。文本统一使用utf-8格式编码,非utf-8格式编码字符会翻译失败,请传入有效文本,html标记等非常规翻译文本可能会翻译失败。单次请求的文本长度总和需要低于6000字符。
|
1702
1702
|
:type SourceTextList: list of str
|
1703
|
-
:param _TermRepoIDList:
|
1703
|
+
:param _TermRepoIDList: 需要使用的术语库列表,通过 [术语库操作指南](https://cloud.tencent.com/document/product/551/107926) 自行创建术语库获取。
|
1704
1704
|
:type TermRepoIDList: list of str
|
1705
|
-
:param _SentRepoIDList:
|
1705
|
+
:param _SentRepoIDList: 需要使用的例句库列表,通过 [例句库操作指南](https://cloud.tencent.com/document/product/551/107927) 自行创建例句库获取。
|
1706
1706
|
:type SentRepoIDList: list of str
|
1707
1707
|
"""
|
1708
1708
|
self._Source = None
|
@@ -1796,7 +1796,7 @@ hi:印地语
|
|
1796
1796
|
|
1797
1797
|
@property
|
1798
1798
|
def TermRepoIDList(self):
|
1799
|
-
"""
|
1799
|
+
"""需要使用的术语库列表,通过 [术语库操作指南](https://cloud.tencent.com/document/product/551/107926) 自行创建术语库获取。
|
1800
1800
|
:rtype: list of str
|
1801
1801
|
"""
|
1802
1802
|
return self._TermRepoIDList
|
@@ -1807,7 +1807,7 @@ hi:印地语
|
|
1807
1807
|
|
1808
1808
|
@property
|
1809
1809
|
def SentRepoIDList(self):
|
1810
|
-
"""
|
1810
|
+
"""需要使用的例句库列表,通过 [例句库操作指南](https://cloud.tencent.com/document/product/551/107927) 自行创建例句库获取。
|
1811
1811
|
:rtype: list of str
|
1812
1812
|
"""
|
1813
1813
|
return self._SentRepoIDList
|
@@ -1977,9 +1977,9 @@ hi:印地语
|
|
1977
1977
|
:type ProjectId: int
|
1978
1978
|
:param _UntranslatedText: 用来标记不希望被翻译的文本内容,如句子中的特殊符号、人名、地名等;每次请求只支持配置一个不被翻译的单词;仅支持配置人名、地名等名词,不要配置动词或短语,否则会影响翻译结果。
|
1979
1979
|
:type UntranslatedText: str
|
1980
|
-
:param _TermRepoIDList:
|
1980
|
+
:param _TermRepoIDList: 需要使用的术语库列表,通过 [术语库操作指南](https://cloud.tencent.com/document/product/551/107926) 自行创建术语库获取。
|
1981
1981
|
:type TermRepoIDList: list of str
|
1982
|
-
:param _SentRepoIDList:
|
1982
|
+
:param _SentRepoIDList: 需要使用的例句库列表,通过 [例句库操作指南](https://cloud.tencent.com/document/product/551/107927) 自行创建例句库获取。
|
1983
1983
|
:type SentRepoIDList: list of str
|
1984
1984
|
"""
|
1985
1985
|
self._SourceText = None
|
@@ -2085,7 +2085,7 @@ hi:印地语
|
|
2085
2085
|
|
2086
2086
|
@property
|
2087
2087
|
def TermRepoIDList(self):
|
2088
|
-
"""
|
2088
|
+
"""需要使用的术语库列表,通过 [术语库操作指南](https://cloud.tencent.com/document/product/551/107926) 自行创建术语库获取。
|
2089
2089
|
:rtype: list of str
|
2090
2090
|
"""
|
2091
2091
|
return self._TermRepoIDList
|
@@ -2096,7 +2096,7 @@ hi:印地语
|
|
2096
2096
|
|
2097
2097
|
@property
|
2098
2098
|
def SentRepoIDList(self):
|
2099
|
-
"""
|
2099
|
+
"""需要使用的例句库列表,通过 [例句库操作指南](https://cloud.tencent.com/document/product/551/107927) 自行创建例句库获取。
|
2100
2100
|
:rtype: list of str
|
2101
2101
|
"""
|
2102
2102
|
return self._SentRepoIDList
|
@@ -41,6 +41,9 @@ FAILEDOPERATION_CLOUDAPIPROXYERROR = 'FailedOperation.CloudApiProxyError'
|
|
41
41
|
# 创建集群,开通VPC网络权限失败。
|
42
42
|
FAILEDOPERATION_CLUSTERCREATEVPCFAIL = 'FailedOperation.ClusterCreateVpcFail'
|
43
43
|
|
44
|
+
# 本环境仅允许操作名称 %s 的集群
|
45
|
+
FAILEDOPERATION_CLUSTEROPERATEENVILLEGALERROR = 'FailedOperation.ClusterOperateEnvIllegalError'
|
46
|
+
|
44
47
|
# 查询集群失败。
|
45
48
|
FAILEDOPERATION_CLUSTERQUERYFAILED = 'FailedOperation.ClusterQueryFailed'
|
46
49
|
|
@@ -632,6 +635,9 @@ INVALIDPARAMETERVALUE_CLUSTERCIDRCONFLICT = 'InvalidParameterValue.ClusterCidrCo
|
|
632
635
|
# 集群命名已存在,请更换其他名称。
|
633
636
|
INVALIDPARAMETERVALUE_CLUSTERNAMEEXIST = 'InvalidParameterValue.ClusterNameExist'
|
634
637
|
|
638
|
+
# 本环境集群名称禁止以 %s 开头
|
639
|
+
INVALIDPARAMETERVALUE_CLUSTERNAMEPREFIXILLEGALERROR = 'InvalidParameterValue.ClusterNamePrefixIllegalError'
|
640
|
+
|
635
641
|
# 集群命名不能为空。
|
636
642
|
INVALIDPARAMETERVALUE_CLUSTERNAMEREQUIRED = 'InvalidParameterValue.ClusterNameRequired'
|
637
643
|
|
@@ -19283,6 +19283,8 @@ class DeployContainerGroupRequest(AbstractModel):
|
|
19283
19283
|
|
19284
19284
|
@property
|
19285
19285
|
def VolumeInfos(self):
|
19286
|
+
warnings.warn("parameter `VolumeInfos` is deprecated", DeprecationWarning)
|
19287
|
+
|
19286
19288
|
"""数据卷信息-废弃,请用VolumeInfoList参数
|
19287
19289
|
:rtype: :class:`tencentcloud.tsf.v20180326.models.VolumeInfo`
|
19288
19290
|
"""
|
@@ -19290,10 +19292,14 @@ class DeployContainerGroupRequest(AbstractModel):
|
|
19290
19292
|
|
19291
19293
|
@VolumeInfos.setter
|
19292
19294
|
def VolumeInfos(self, VolumeInfos):
|
19295
|
+
warnings.warn("parameter `VolumeInfos` is deprecated", DeprecationWarning)
|
19296
|
+
|
19293
19297
|
self._VolumeInfos = VolumeInfos
|
19294
19298
|
|
19295
19299
|
@property
|
19296
19300
|
def VolumeMountInfos(self):
|
19301
|
+
warnings.warn("parameter `VolumeMountInfos` is deprecated", DeprecationWarning)
|
19302
|
+
|
19297
19303
|
"""数据卷挂载点信息-废弃,请用VolumeMountInfoList参数
|
19298
19304
|
:rtype: :class:`tencentcloud.tsf.v20180326.models.VolumeMountInfo`
|
19299
19305
|
"""
|
@@ -19301,6 +19307,8 @@ class DeployContainerGroupRequest(AbstractModel):
|
|
19301
19307
|
|
19302
19308
|
@VolumeMountInfos.setter
|
19303
19309
|
def VolumeMountInfos(self, VolumeMountInfos):
|
19310
|
+
warnings.warn("parameter `VolumeMountInfos` is deprecated", DeprecationWarning)
|
19311
|
+
|
19304
19312
|
self._VolumeMountInfos = VolumeMountInfos
|
19305
19313
|
|
19306
19314
|
@property
|
@@ -37639,6 +37647,8 @@ class ImageRepository(AbstractModel):
|
|
37639
37647
|
|
37640
37648
|
@property
|
37641
37649
|
def ApplicationName(self):
|
37650
|
+
warnings.warn("parameter `ApplicationName` is deprecated", DeprecationWarning)
|
37651
|
+
|
37642
37652
|
"""ApplicationName值(废弃)
|
37643
37653
|
:rtype: :class:`tencentcloud.tsf.v20180326.models.ScalableRule`
|
37644
37654
|
"""
|
@@ -37646,6 +37656,8 @@ class ImageRepository(AbstractModel):
|
|
37646
37656
|
|
37647
37657
|
@ApplicationName.setter
|
37648
37658
|
def ApplicationName(self, ApplicationName):
|
37659
|
+
warnings.warn("parameter `ApplicationName` is deprecated", DeprecationWarning)
|
37660
|
+
|
37649
37661
|
self._ApplicationName = ApplicationName
|
37650
37662
|
|
37651
37663
|
@property
|
@@ -52586,6 +52598,8 @@ class ThreadPicture(AbstractModel):
|
|
52586
52598
|
|
52587
52599
|
@property
|
52588
52600
|
def DeamonThreadCount(self):
|
52601
|
+
warnings.warn("parameter `DeamonThreadCount` is deprecated", DeprecationWarning)
|
52602
|
+
|
52589
52603
|
"""守护线程数 拼写错误,废弃
|
52590
52604
|
:rtype: list of CurvePoint
|
52591
52605
|
"""
|
@@ -52593,6 +52607,8 @@ class ThreadPicture(AbstractModel):
|
|
52593
52607
|
|
52594
52608
|
@DeamonThreadCount.setter
|
52595
52609
|
def DeamonThreadCount(self, DeamonThreadCount):
|
52610
|
+
warnings.warn("parameter `DeamonThreadCount` is deprecated", DeprecationWarning)
|
52611
|
+
|
52596
52612
|
self._DeamonThreadCount = DeamonThreadCount
|
52597
52613
|
|
52598
52614
|
@property
|