tencentcloud-sdk-python 3.0.1373__py2.py3-none-any.whl → 3.0.1374__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/aiart/v20221229/models.py +2 -0
- tencentcloud/cbs/v20170312/models.py +27 -2
- tencentcloud/chc/v20230418/models.py +84 -2
- tencentcloud/ckafka/v20190819/models.py +0 -24
- tencentcloud/clb/v20180317/clb_client.py +14 -14
- tencentcloud/clb/v20180317/models.py +289 -164
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/cynosdb/v20190107/models.py +15 -15
- tencentcloud/dlc/v20210125/models.py +30 -0
- tencentcloud/domain/v20180808/domain_client.py +4 -0
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +184 -78
- tencentcloud/es/v20250101/es_client.py +4 -2
- tencentcloud/es/v20250101/models.py +70 -70
- tencentcloud/iss/v20230517/models.py +0 -40
- tencentcloud/lowcode/v20210108/models.py +17 -2
- tencentcloud/tke/v20180525/models.py +72 -72
- tencentcloud/tsf/v20180326/errorcodes.py +3 -0
- tencentcloud/tsf/v20180326/models.py +2 -2
- tencentcloud/vod/v20180717/models.py +15 -0
- tencentcloud/vpc/v20170312/errorcodes.py +12 -0
- tencentcloud/vpc/v20170312/models.py +142 -118
- tencentcloud/vpc/v20170312/vpc_client.py +10 -10
- tencentcloud/wedata/v20210820/models.py +30 -0
- tencentcloud/wedata/v20210820/wedata_client.py +4 -4
- {tencentcloud_sdk_python-3.0.1373.dist-info → tencentcloud_sdk_python-3.0.1374.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1373.dist-info → tencentcloud_sdk_python-3.0.1374.dist-info}/RECORD +31 -31
- {tencentcloud_sdk_python-3.0.1373.dist-info → tencentcloud_sdk_python-3.0.1374.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1373.dist-info → tencentcloud_sdk_python-3.0.1374.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1373.dist-info → tencentcloud_sdk_python-3.0.1374.dist-info}/top_level.txt +0 -0
@@ -2623,7 +2623,7 @@ class CreateKeyPairRequest(AbstractModel):
|
|
2623
2623
|
|
2624
2624
|
def __init__(self):
|
2625
2625
|
r"""
|
2626
|
-
:param _KeyName:
|
2626
|
+
:param _KeyName: 密钥对名称,可由数字、字母和下划线组成,长度不超过25个字符。密钥对名称不能和已经存在的密钥对名称重复。
|
2627
2627
|
:type KeyName: str
|
2628
2628
|
:param _ProjectId: 密钥对创建后所属的项目ID,ProjectId为0表示默认项目。
|
2629
2629
|
可以通过以下方式获取项目ID:
|
@@ -2639,7 +2639,7 @@ class CreateKeyPairRequest(AbstractModel):
|
|
2639
2639
|
|
2640
2640
|
@property
|
2641
2641
|
def KeyName(self):
|
2642
|
-
"""
|
2642
|
+
"""密钥对名称,可由数字、字母和下划线组成,长度不超过25个字符。密钥对名称不能和已经存在的密钥对名称重复。
|
2643
2643
|
:rtype: str
|
2644
2644
|
"""
|
2645
2645
|
return self._KeyName
|
@@ -5656,6 +5656,8 @@ class CreateClustersRequest(AbstractModel):
|
|
5656
5656
|
:param _Memory: 当DbMode为NORMAL或不填时必选
|
5657
5657
|
普通实例内存,单位GB
|
5658
5658
|
:type Memory: int
|
5659
|
+
:param _InstanceCount: 实例数量,数量范围为(0,16],默认值为2(即一个rw实例+一个ro实例),传递的n表示1个rw实例+n-1个ro实例(规格相同),如需要更精确的集群组成搭配,请使用InstanceInitInfos
|
5660
|
+
:type InstanceCount: int
|
5659
5661
|
:param _Storage: 该参数无实际意义,已废弃。
|
5660
5662
|
存储大小,单位GB。
|
5661
5663
|
:type Storage: int
|
@@ -5686,8 +5688,6 @@ timeRollback,时间点回档
|
|
5686
5688
|
:param _StorageLimit: 普通实例存储上限,单位GB
|
5687
5689
|
当DbType为MYSQL,且存储计费模式为预付费时,该参数需不大于cpu与memory对应存储规格上限
|
5688
5690
|
:type StorageLimit: int
|
5689
|
-
:param _InstanceCount: 实例数量,数量范围为(0,16]
|
5690
|
-
:type InstanceCount: int
|
5691
5691
|
:param _TimeSpan: 包年包月购买时长
|
5692
5692
|
:type TimeSpan: int
|
5693
5693
|
:param _TimeUnit: 包年包月购买时长单位,['s','d','m','y']
|
@@ -5749,6 +5749,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
5749
5749
|
self._ProjectId = None
|
5750
5750
|
self._Cpu = None
|
5751
5751
|
self._Memory = None
|
5752
|
+
self._InstanceCount = None
|
5752
5753
|
self._Storage = None
|
5753
5754
|
self._ClusterName = None
|
5754
5755
|
self._AdminPassword = None
|
@@ -5761,7 +5762,6 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
5761
5762
|
self._ExpectTime = None
|
5762
5763
|
self._ExpectTimeThresh = None
|
5763
5764
|
self._StorageLimit = None
|
5764
|
-
self._InstanceCount = None
|
5765
5765
|
self._TimeSpan = None
|
5766
5766
|
self._TimeUnit = None
|
5767
5767
|
self._AutoRenewFlag = None
|
@@ -5875,6 +5875,17 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
5875
5875
|
def Memory(self, Memory):
|
5876
5876
|
self._Memory = Memory
|
5877
5877
|
|
5878
|
+
@property
|
5879
|
+
def InstanceCount(self):
|
5880
|
+
"""实例数量,数量范围为(0,16],默认值为2(即一个rw实例+一个ro实例),传递的n表示1个rw实例+n-1个ro实例(规格相同),如需要更精确的集群组成搭配,请使用InstanceInitInfos
|
5881
|
+
:rtype: int
|
5882
|
+
"""
|
5883
|
+
return self._InstanceCount
|
5884
|
+
|
5885
|
+
@InstanceCount.setter
|
5886
|
+
def InstanceCount(self, InstanceCount):
|
5887
|
+
self._InstanceCount = InstanceCount
|
5888
|
+
|
5878
5889
|
@property
|
5879
5890
|
def Storage(self):
|
5880
5891
|
"""该参数无实际意义,已废弃。
|
@@ -6013,17 +6024,6 @@ timeRollback,时间点回档
|
|
6013
6024
|
def StorageLimit(self, StorageLimit):
|
6014
6025
|
self._StorageLimit = StorageLimit
|
6015
6026
|
|
6016
|
-
@property
|
6017
|
-
def InstanceCount(self):
|
6018
|
-
"""实例数量,数量范围为(0,16]
|
6019
|
-
:rtype: int
|
6020
|
-
"""
|
6021
|
-
return self._InstanceCount
|
6022
|
-
|
6023
|
-
@InstanceCount.setter
|
6024
|
-
def InstanceCount(self, InstanceCount):
|
6025
|
-
self._InstanceCount = InstanceCount
|
6026
|
-
|
6027
6027
|
@property
|
6028
6028
|
def TimeSpan(self):
|
6029
6029
|
"""包年包月购买时长
|
@@ -6266,6 +6266,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
6266
6266
|
self._ProjectId = params.get("ProjectId")
|
6267
6267
|
self._Cpu = params.get("Cpu")
|
6268
6268
|
self._Memory = params.get("Memory")
|
6269
|
+
self._InstanceCount = params.get("InstanceCount")
|
6269
6270
|
self._Storage = params.get("Storage")
|
6270
6271
|
self._ClusterName = params.get("ClusterName")
|
6271
6272
|
self._AdminPassword = params.get("AdminPassword")
|
@@ -6278,7 +6279,6 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
6278
6279
|
self._ExpectTime = params.get("ExpectTime")
|
6279
6280
|
self._ExpectTimeThresh = params.get("ExpectTimeThresh")
|
6280
6281
|
self._StorageLimit = params.get("StorageLimit")
|
6281
|
-
self._InstanceCount = params.get("InstanceCount")
|
6282
6282
|
self._TimeSpan = params.get("TimeSpan")
|
6283
6283
|
self._TimeUnit = params.get("TimeUnit")
|
6284
6284
|
self._AutoRenewFlag = params.get("AutoRenewFlag")
|
@@ -21066,12 +21066,15 @@ class DescribeUserRolesRequest(AbstractModel):
|
|
21066
21066
|
:type SortBy: str
|
21067
21067
|
:param _Sorting: 正序或者倒序,例如:desc
|
21068
21068
|
:type Sorting: str
|
21069
|
+
:param _IsDefault: 是否设置为常驻:1非常驻(默认)、2常驻(仅能设置一个常驻)
|
21070
|
+
:type IsDefault: int
|
21069
21071
|
"""
|
21070
21072
|
self._Limit = None
|
21071
21073
|
self._Offset = None
|
21072
21074
|
self._Fuzzy = None
|
21073
21075
|
self._SortBy = None
|
21074
21076
|
self._Sorting = None
|
21077
|
+
self._IsDefault = None
|
21075
21078
|
|
21076
21079
|
@property
|
21077
21080
|
def Limit(self):
|
@@ -21128,6 +21131,17 @@ class DescribeUserRolesRequest(AbstractModel):
|
|
21128
21131
|
def Sorting(self, Sorting):
|
21129
21132
|
self._Sorting = Sorting
|
21130
21133
|
|
21134
|
+
@property
|
21135
|
+
def IsDefault(self):
|
21136
|
+
"""是否设置为常驻:1非常驻(默认)、2常驻(仅能设置一个常驻)
|
21137
|
+
:rtype: int
|
21138
|
+
"""
|
21139
|
+
return self._IsDefault
|
21140
|
+
|
21141
|
+
@IsDefault.setter
|
21142
|
+
def IsDefault(self, IsDefault):
|
21143
|
+
self._IsDefault = IsDefault
|
21144
|
+
|
21131
21145
|
|
21132
21146
|
def _deserialize(self, params):
|
21133
21147
|
self._Limit = params.get("Limit")
|
@@ -21135,6 +21149,7 @@ class DescribeUserRolesRequest(AbstractModel):
|
|
21135
21149
|
self._Fuzzy = params.get("Fuzzy")
|
21136
21150
|
self._SortBy = params.get("SortBy")
|
21137
21151
|
self._Sorting = params.get("Sorting")
|
21152
|
+
self._IsDefault = params.get("IsDefault")
|
21138
21153
|
memeber_set = set(params.keys())
|
21139
21154
|
for name, value in vars(self).items():
|
21140
21155
|
property_name = name[1:]
|
@@ -35902,6 +35917,8 @@ class UserRole(AbstractModel):
|
|
35902
35917
|
:type CosPermissionList: list of CosPermission
|
35903
35918
|
:param _PermissionJson: cam策略json
|
35904
35919
|
:type PermissionJson: str
|
35920
|
+
:param _IsDefault: 是否设置为常驻:1非常驻(默认)、2常驻(仅能设置一个常驻)
|
35921
|
+
:type IsDefault: int
|
35905
35922
|
"""
|
35906
35923
|
self._RoleId = None
|
35907
35924
|
self._AppId = None
|
@@ -35913,6 +35930,7 @@ class UserRole(AbstractModel):
|
|
35913
35930
|
self._Creator = None
|
35914
35931
|
self._CosPermissionList = None
|
35915
35932
|
self._PermissionJson = None
|
35933
|
+
self._IsDefault = None
|
35916
35934
|
|
35917
35935
|
@property
|
35918
35936
|
def RoleId(self):
|
@@ -36024,6 +36042,17 @@ class UserRole(AbstractModel):
|
|
36024
36042
|
def PermissionJson(self, PermissionJson):
|
36025
36043
|
self._PermissionJson = PermissionJson
|
36026
36044
|
|
36045
|
+
@property
|
36046
|
+
def IsDefault(self):
|
36047
|
+
"""是否设置为常驻:1非常驻(默认)、2常驻(仅能设置一个常驻)
|
36048
|
+
:rtype: int
|
36049
|
+
"""
|
36050
|
+
return self._IsDefault
|
36051
|
+
|
36052
|
+
@IsDefault.setter
|
36053
|
+
def IsDefault(self, IsDefault):
|
36054
|
+
self._IsDefault = IsDefault
|
36055
|
+
|
36027
36056
|
|
36028
36057
|
def _deserialize(self, params):
|
36029
36058
|
self._RoleId = params.get("RoleId")
|
@@ -36041,6 +36070,7 @@ class UserRole(AbstractModel):
|
|
36041
36070
|
obj._deserialize(item)
|
36042
36071
|
self._CosPermissionList.append(obj)
|
36043
36072
|
self._PermissionJson = params.get("PermissionJson")
|
36073
|
+
self._IsDefault = params.get("IsDefault")
|
36044
36074
|
memeber_set = set(params.keys())
|
36045
36075
|
for name, value in vars(self).items():
|
36046
36076
|
property_name = name[1:]
|
@@ -166,6 +166,8 @@ class DomainClient(AbstractClient):
|
|
166
166
|
|
167
167
|
def CreateCustomDnsHost(self, request):
|
168
168
|
"""创建自定义DNS Host
|
169
|
+
域名在“正常状态”下可创建,域名如果“未实名”则无法创建,账户如果未实名则无法创建。
|
170
|
+
默认每个域名 自定义DNS Host 数量不超过10个
|
169
171
|
|
170
172
|
:param request: Request instance for CreateCustomDnsHost.
|
171
173
|
:type request: :class:`tencentcloud.domain.v20180808.models.CreateCustomDnsHostRequest`
|
@@ -304,6 +306,7 @@ class DomainClient(AbstractClient):
|
|
304
306
|
|
305
307
|
def DeleteCustomDnsHost(self, request):
|
306
308
|
"""删除自定义DNS Host
|
309
|
+
仅能删除域名在“正常状态”下,已经创建过的自定义Host,域名如果“未实名”或账户未实名,则无法操作
|
307
310
|
|
308
311
|
:param request: Request instance for DeleteCustomDnsHost.
|
309
312
|
:type request: :class:`tencentcloud.domain.v20180808.models.DeleteCustomDnsHostRequest`
|
@@ -972,6 +975,7 @@ class DomainClient(AbstractClient):
|
|
972
975
|
|
973
976
|
def ModifyCustomDnsHost(self, request):
|
974
977
|
"""修改自定义DNS Host
|
978
|
+
域名在“正常状态”下可修改已经存在的自定义DNS Host,域名如果“未实名”则无法修改,账户如果未实名则无法修改。 默认每个域名 自定义DNS Host 数量不超过10个
|
975
979
|
|
976
980
|
:param request: Request instance for ModifyCustomDnsHost.
|
977
981
|
:type request: :class:`tencentcloud.domain.v20180808.models.ModifyCustomDnsHostRequest`
|
@@ -338,6 +338,9 @@ RESOURCENOTFOUND_BIDPRICECONFIG = 'ResourceNotFound.BidPriceConfig'
|
|
338
338
|
# 域名地址有误,请输入正确的域名地址。
|
339
339
|
RESOURCENOTFOUND_DOMAINNOTFOUND = 'ResourceNotFound.DomainNotFound'
|
340
340
|
|
341
|
+
# 获取数据查找不到。
|
342
|
+
RESOURCENOTFOUND_SEARCHINFO = 'ResourceNotFound.SearchInfo'
|
343
|
+
|
341
344
|
# 模板信息有误,请输入正确的信息。
|
342
345
|
RESOURCENOTFOUND_TEMPLATENOTFOUND = 'ResourceNotFound.TemplateNotFound'
|
343
346
|
|