tencentcloud-sdk-python-tke 3.0.1419__tar.gz → 3.0.1423__tar.gz
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-sdk-python-tke-3.0.1419 → tencentcloud-sdk-python-tke-3.0.1423}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tke-3.0.1419 → tencentcloud-sdk-python-tke-3.0.1423}/setup.py +1 -1
- {tencentcloud-sdk-python-tke-3.0.1419 → tencentcloud-sdk-python-tke-3.0.1423}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tke-3.0.1419 → tencentcloud-sdk-python-tke-3.0.1423}/tencentcloud/tke/v20180525/models.py +50 -50
- {tencentcloud-sdk-python-tke-3.0.1419 → tencentcloud-sdk-python-tke-3.0.1423}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tke-3.0.1423/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tke-3.0.1419/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tke-3.0.1419 → tencentcloud-sdk-python-tke-3.0.1423}/README.rst +0 -0
- {tencentcloud-sdk-python-tke-3.0.1419 → tencentcloud-sdk-python-tke-3.0.1423}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tke-3.0.1419 → tencentcloud-sdk-python-tke-3.0.1423}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1419 → tencentcloud-sdk-python-tke-3.0.1423}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1419 → tencentcloud-sdk-python-tke-3.0.1423}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1419 → tencentcloud-sdk-python-tke-3.0.1423}/tencentcloud/tke/v20180525/tke_client.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1419 → tencentcloud-sdk-python-tke-3.0.1423}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1419 → tencentcloud-sdk-python-tke-3.0.1423}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1419 → tencentcloud-sdk-python-tke-3.0.1423}/tencentcloud/tke/v20220501/models.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1419 → tencentcloud-sdk-python-tke-3.0.1423}/tencentcloud/tke/v20220501/tke_client.py +0 -0
- {tencentcloud-sdk-python-tke-3.0.1419 → tencentcloud-sdk-python-tke-3.0.1423}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tke-3.0.1419 → tencentcloud-sdk-python-tke-3.0.1423}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tke-3.0.1419 → tencentcloud-sdk-python-tke-3.0.1423}/tencentcloud_sdk_python_tke.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-tke',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1423,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tke SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -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
|
|
|
@@ -31053,10 +31053,10 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
|
31053
31053
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
31054
31054
|
:type Taints: list of Taint
|
|
31055
31055
|
:param _MountTarget: 数据盘挂载点, 默认不挂载数据盘. 已格式化的 ext3,ext4,xfs 文件系统的数据盘将直接挂载,其他文件系统或未格式化的数据盘将自动格式化为ext4 (tlinux系统格式化成xfs)并挂载,请注意备份数据! 无数据盘或有多块数据盘的云主机此设置不生效。
|
|
31056
|
-
|
|
31056
|
+
注意:多盘场景请使用下方的DataDisks数据结构,设置对应的云盘类型、云盘大小、挂载路径、是否格式化等信息。
|
|
31057
31057
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
31058
31058
|
:type MountTarget: str
|
|
31059
|
-
:param _DockerGraphPath: dockerd --graph
|
|
31059
|
+
:param _DockerGraphPath: dockerd --graph 指定值。若未指定此参数,将使用内置默认路径 /var/lib/docker 作为存储根目录。
|
|
31060
31060
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
31061
31061
|
:type DockerGraphPath: str
|
|
31062
31062
|
:param _UserScript: base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/ 路径查看, 如果要求节点需要在进行初始化完成后才可加入调度, 可配合 unschedulable 参数使用, 在 userScript 最后初始化完成后, 添加 kubectl uncordon nodename --kubeconfig=/root/.kube/config 命令使节点加入调度
|
|
@@ -31136,7 +31136,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
|
31136
31136
|
@property
|
|
31137
31137
|
def MountTarget(self):
|
|
31138
31138
|
"""数据盘挂载点, 默认不挂载数据盘. 已格式化的 ext3,ext4,xfs 文件系统的数据盘将直接挂载,其他文件系统或未格式化的数据盘将自动格式化为ext4 (tlinux系统格式化成xfs)并挂载,请注意备份数据! 无数据盘或有多块数据盘的云主机此设置不生效。
|
|
31139
|
-
|
|
31139
|
+
注意:多盘场景请使用下方的DataDisks数据结构,设置对应的云盘类型、云盘大小、挂载路径、是否格式化等信息。
|
|
31140
31140
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
31141
31141
|
:rtype: str
|
|
31142
31142
|
"""
|
|
@@ -31148,7 +31148,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
|
31148
31148
|
|
|
31149
31149
|
@property
|
|
31150
31150
|
def DockerGraphPath(self):
|
|
31151
|
-
"""dockerd --graph
|
|
31151
|
+
"""dockerd --graph 指定值。若未指定此参数,将使用内置默认路径 /var/lib/docker 作为存储根目录。
|
|
31152
31152
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
31153
31153
|
:rtype: str
|
|
31154
31154
|
"""
|
|
@@ -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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1423
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1419
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|