tencentcloud-sdk-python 3.0.1443__py2.py3-none-any.whl → 3.0.1445__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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (46) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/batch/v20170312/models.py +2 -2
  3. tencentcloud/clb/v20180317/models.py +422 -26
  4. tencentcloud/cls/v20201016/cls_client.py +1 -1
  5. tencentcloud/cls/v20201016/models.py +539 -172
  6. tencentcloud/emr/v20190103/errorcodes.py +3 -0
  7. tencentcloud/ess/v20201111/models.py +105 -0
  8. tencentcloud/essbasic/v20210526/models.py +60 -0
  9. tencentcloud/keewidb/v20220308/errorcodes.py +3 -0
  10. tencentcloud/keewidb/v20220308/models.py +2 -2
  11. tencentcloud/lcic/v20220817/errorcodes.py +15 -0
  12. tencentcloud/lcic/v20220817/models.py +67 -16
  13. tencentcloud/lke/v20231130/lke_client.py +1 -1
  14. tencentcloud/lke/v20231130/models.py +1998 -50
  15. tencentcloud/lkeap/v20240522/errorcodes.py +1 -1
  16. tencentcloud/mongodb/v20190725/models.py +4 -4
  17. tencentcloud/mps/v20190612/models.py +64 -0
  18. tencentcloud/ocr/v20181119/models.py +46 -16
  19. tencentcloud/partners/v20180321/models.py +4 -4
  20. tencentcloud/postgres/v20170312/errorcodes.py +0 -12
  21. tencentcloud/postgres/v20170312/models.py +191 -1527
  22. tencentcloud/postgres/v20170312/postgres_client.py +0 -75
  23. tencentcloud/sqlserver/v20180328/models.py +6 -6
  24. tencentcloud/sts/v20180813/sts_client.py +21 -7
  25. tencentcloud/tcbr/v20220217/models.py +151 -0
  26. tencentcloud/tcss/v20201101/models.py +45 -0
  27. tencentcloud/tke/v20180525/models.py +17 -2
  28. tencentcloud/trabbit/v20230418/models.py +75 -0
  29. tencentcloud/trocket/v20230308/models.py +319 -0
  30. tencentcloud/trocket/v20230308/trocket_client.py +25 -0
  31. tencentcloud/trtc/v20190722/errorcodes.py +3 -0
  32. tencentcloud/trtc/v20190722/models.py +6 -4
  33. tencentcloud/tsf/v20180326/errorcodes.py +15 -0
  34. tencentcloud/tsf/v20180326/models.py +989 -589
  35. tencentcloud/tsf/v20180326/tsf_client.py +1 -1
  36. tencentcloud/vod/v20180717/models.py +570 -10
  37. tencentcloud/vod/v20180717/vod_client.py +102 -0
  38. tencentcloud/waf/v20180125/errorcodes.py +6 -0
  39. tencentcloud/waf/v20180125/models.py +1926 -744
  40. tencentcloud/waf/v20180125/waf_client.py +161 -0
  41. tencentcloud/wedata/v20210820/models.py +204 -0
  42. {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/METADATA +1 -1
  43. {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/RECORD +46 -46
  44. {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/LICENSE +0 -0
  45. {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/WHEEL +0 -0
  46. {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/top_level.txt +0 -0
@@ -327,31 +327,6 @@ class PostgresClient(AbstractClient):
327
327
  raise TencentCloudSDKException(type(e).__name__, str(e))
328
328
 
329
329
 
330
- def CreateServerlessDBInstance(self, request):
331
- """该产品形态需要下线,已完成客户实例全部下线、后端服务下线等
332
-
333
- 【接口下线中,请勿使用】本接口 (CreateServerlessDBInstance) 用于创建一个ServerlessDB实例,创建成功返回实例ID。
334
-
335
- :param request: Request instance for CreateServerlessDBInstance.
336
- :type request: :class:`tencentcloud.postgres.v20170312.models.CreateServerlessDBInstanceRequest`
337
- :rtype: :class:`tencentcloud.postgres.v20170312.models.CreateServerlessDBInstanceResponse`
338
-
339
- """
340
- try:
341
- params = request._serialize()
342
- headers = request.headers
343
- body = self.call("CreateServerlessDBInstance", params, headers=headers)
344
- response = json.loads(body)
345
- model = models.CreateServerlessDBInstanceResponse()
346
- model._deserialize(response["Response"])
347
- return model
348
- except Exception as e:
349
- if isinstance(e, TencentCloudSDKException):
350
- raise
351
- else:
352
- raise TencentCloudSDKException(type(e).__name__, str(e))
353
-
354
-
355
330
  def DeleteAccount(self, request):
356
331
  """此接口用于删除数据库账号,需要同时输入Oid与UserName,避免误删。注:该接口可重入,如果账号已经不存在,调用此接口进行删除时不会报错。
357
332
 
@@ -975,31 +950,6 @@ class PostgresClient(AbstractClient):
975
950
  raise TencentCloudSDKException(type(e).__name__, str(e))
976
951
 
977
952
 
978
- def DescribeDBSlowlogs(self, request):
979
- """早期接口不规范,已提供新接口 DescribeSlowQueryList 替换
980
-
981
- 本接口(DescribeDBSlowlogs)用于获取慢查询日志。本接口已于2021.09.01日废弃,后续此接口将不再返回任何数据,推荐使用接口[DescribeSlowQueryList](https://cloud.tencent.com/document/api/409/60540)替代。
982
-
983
- :param request: Request instance for DescribeDBSlowlogs.
984
- :type request: :class:`tencentcloud.postgres.v20170312.models.DescribeDBSlowlogsRequest`
985
- :rtype: :class:`tencentcloud.postgres.v20170312.models.DescribeDBSlowlogsResponse`
986
-
987
- """
988
- try:
989
- params = request._serialize()
990
- headers = request.headers
991
- body = self.call("DescribeDBSlowlogs", params, headers=headers)
992
- response = json.loads(body)
993
- model = models.DescribeDBSlowlogsResponse()
994
- model._deserialize(response["Response"])
995
- return model
996
- except Exception as e:
997
- if isinstance(e, TencentCloudSDKException):
998
- raise
999
- else:
1000
- raise TencentCloudSDKException(type(e).__name__, str(e))
1001
-
1002
-
1003
953
  def DescribeDBVersions(self, request):
1004
954
  """本接口(DescribeDBVersions)用于查询支持的数据库版本。
1005
955
 
@@ -1368,31 +1318,6 @@ class PostgresClient(AbstractClient):
1368
1318
  raise TencentCloudSDKException(type(e).__name__, str(e))
1369
1319
 
1370
1320
 
1371
- def DescribeServerlessDBInstances(self, request):
1372
- """该产品形态需要下线,已完成客户实例全部下线、后端服务下线等
1373
-
1374
- 【接口下线中,请勿使用】用于查询一个或多个serverlessDB实例的详细信息
1375
-
1376
- :param request: Request instance for DescribeServerlessDBInstances.
1377
- :type request: :class:`tencentcloud.postgres.v20170312.models.DescribeServerlessDBInstancesRequest`
1378
- :rtype: :class:`tencentcloud.postgres.v20170312.models.DescribeServerlessDBInstancesResponse`
1379
-
1380
- """
1381
- try:
1382
- params = request._serialize()
1383
- headers = request.headers
1384
- body = self.call("DescribeServerlessDBInstances", params, headers=headers)
1385
- response = json.loads(body)
1386
- model = models.DescribeServerlessDBInstancesResponse()
1387
- model._deserialize(response["Response"])
1388
- return model
1389
- except Exception as e:
1390
- if isinstance(e, TencentCloudSDKException):
1391
- raise
1392
- else:
1393
- raise TencentCloudSDKException(type(e).__name__, str(e))
1394
-
1395
-
1396
1321
  def DescribeSlowQueryAnalysis(self, request):
1397
1322
  """此接口(DescribeSlowQueryAnalysis)用于统计指定时间范围内的所有慢查询,根据SQL语句抽象参数后,进行聚合分析,并返回同类SQL列表。
1398
1323
 
@@ -2263,7 +2263,7 @@ class CreateBackupRequest(AbstractModel):
2263
2263
  :type Strategy: int
2264
2264
  :param _DBNames: 需要备份库名的列表(多库备份才填写)
2265
2265
  :type DBNames: list of str
2266
- :param _InstanceId: 实例ID(必填),形如mssql-i1z41iwd
2266
+ :param _InstanceId: 实例ID,形如mssql-i1z41iwd
2267
2267
  :type InstanceId: str
2268
2268
  :param _BackupName: 备份名称,若不填则自动生成“实例ID_备份开始时间戳”
2269
2269
  :type BackupName: str
@@ -2300,7 +2300,7 @@ class CreateBackupRequest(AbstractModel):
2300
2300
 
2301
2301
  @property
2302
2302
  def InstanceId(self):
2303
- """实例ID(必填),形如mssql-i1z41iwd
2303
+ """实例ID,形如mssql-i1z41iwd
2304
2304
  :rtype: str
2305
2305
  """
2306
2306
  return self._InstanceId
@@ -11425,7 +11425,7 @@ class DescribeCrossBackupStatisticalRequest(AbstractModel):
11425
11425
  :type CrossBackupStatus: str
11426
11426
  :param _CrossRegion: 跨地域备份目标地域
11427
11427
  :type CrossRegion: str
11428
- :param _OrderBy: 排序字段,默认default-按照备份空间降序排序,data-按照数据备份排序,log-按照日志备份培训
11428
+ :param _OrderBy: 排序字段,默认default-按照备份空间降序排序,data-按照数据备份排序,log-按照日志备份
11429
11429
  :type OrderBy: str
11430
11430
  :param _OrderByType: 排序规则(desc-降序,asc-升序),默认desc
11431
11431
  :type OrderByType: str
@@ -11507,7 +11507,7 @@ class DescribeCrossBackupStatisticalRequest(AbstractModel):
11507
11507
 
11508
11508
  @property
11509
11509
  def OrderBy(self):
11510
- """排序字段,默认default-按照备份空间降序排序,data-按照数据备份排序,log-按照日志备份培训
11510
+ """排序字段,默认default-按照备份空间降序排序,data-按照数据备份排序,log-按照日志备份
11511
11511
  :rtype: str
11512
11512
  """
11513
11513
  return self._OrderBy
@@ -22685,7 +22685,7 @@ class ModifyBackupStrategyRequest(AbstractModel):
22685
22685
  :type BackupTime: int
22686
22686
  :param _BackupDay: BackupType取值为daily时,表示备份间隔天数。当前取值只能为1
22687
22687
  :type BackupDay: int
22688
- :param _BackupModel: 备份模式(必填),master_pkg-主节点上打包备份文件;master_no_pkg-主节点单库备份文件;slave_pkg-从节点上打包备份文件;slave_no_pkg-从节点上单库备份文件,从节点上备份只有在always on容灾模式下支持。
22688
+ :param _BackupModel: 备份模式,master_pkg-主节点上打包备份文件;master_no_pkg-主节点单库备份文件;slave_pkg-从节点上打包备份文件;slave_no_pkg-从节点上单库备份文件,从节点上备份只有在always on容灾模式下支持。
22689
22689
  :type BackupModel: str
22690
22690
  :param _BackupCycle: BackupType取值为weekly时,表示每周的星期N做备份。(如果数据备份保留时间<7天,则取值[1,2,3,4,5,6,7]。如果数据备份保留时间>=7天,则备份周期取值至少是一周的任意2天)
22691
22691
  :type BackupCycle: list of int non-negative
@@ -22761,7 +22761,7 @@ class ModifyBackupStrategyRequest(AbstractModel):
22761
22761
 
22762
22762
  @property
22763
22763
  def BackupModel(self):
22764
- """备份模式(必填),master_pkg-主节点上打包备份文件;master_no_pkg-主节点单库备份文件;slave_pkg-从节点上打包备份文件;slave_no_pkg-从节点上单库备份文件,从节点上备份只有在always on容灾模式下支持。
22764
+ """备份模式,master_pkg-主节点上打包备份文件;master_no_pkg-主节点单库备份文件;slave_pkg-从节点上打包备份文件;slave_no_pkg-从节点上单库备份文件,从节点上备份只有在always on容灾模式下支持。
22765
22765
  :rtype: str
22766
22766
  """
22767
22767
  return self._BackupModel
@@ -27,20 +27,34 @@ class StsClient(AbstractClient):
27
27
 
28
28
 
29
29
  def AssumeRole(self, request):
30
- """申请扮演角色临时访问凭证。
30
+ """**使用说明**
31
+
32
+ 1. 申请扮演某个角色的临时访问凭证,返回临时身份的token和能够扮演该角色的临时密钥;
33
+ 2. 角色策略组成
34
+ (1)角色载体:指定谁可以扮演该角色;
35
+ (2)角色权限:指定扮演角色后可以执行哪些操作,操作哪些资源。
36
+
37
+ 3. 角色可被扮演的条件
38
+ (1)给该用户绑定包含AssumeRole的策略;
39
+ (2)将该用户配置为角色载体的主体。
31
40
 
32
- 1、角色策略组成
41
+ 4. 此接口可以支持永久密钥或临时密钥调用。
33
42
 
34
- (1)角色信任策略:指定谁可以扮演该角色;
35
43
 
36
- (2)角色权限策略:指定扮演角色后可以执行哪些操作。
44
+ **典型场景**
45
+
46
+ 1. 跨账号授权:主账号A需要操作主账号B的资源。
47
+ 例如:A账号下有子用户a,B账号下有角色role b,a可以通过AssumeRole接口扮演b,以角色b身份登录账号B的控制台,并操作资源。
37
48
 
49
+ 2. 跨服务调用:云上的A服务需要访问或操作B服务的资源。
50
+ 例如:为A服务接入一个服务相关角色,用户授权创建角色和策略后,A服务即可调用AssumeRole获取用户的服务相关角色临时密钥,调用B服务接口并访问资源。
38
51
 
39
- 2、角色可扮演条件
40
52
 
41
- (1)给用户绑定允许调用AssumeRole的策略 ;
42
53
 
43
- (2)将用户添加为角色信任策略中的主体。
54
+ **最佳实践**
55
+ 1. 临时访问凭证在有效期内(Expiration)都可以使用,建议在有效期内重复使用,避免业务请求该接口频率达到上限被限频;
56
+ 2. 授予临时访问凭证权限的CAM策略,建议严格遵循最小权限原则;
57
+ 3. 建议不要使用主账号永久密钥,对该接口进行调用。
44
58
 
45
59
  :param request: Request instance for AssumeRole.
46
60
  :type request: :class:`tencentcloud.sts.v20180813.models.AssumeRoleRequest`
@@ -1498,6 +1498,8 @@ AccessTypes,EntryPoint,Cmd
1498
1498
  :type TimerScale: list of TimerScale
1499
1499
  :param _VpcConf: 配置内网访问时网络信息
1500
1500
  :type VpcConf: :class:`tencentcloud.tcbr.v20220217.models.VpcConf`
1501
+ :param _VolumesConf: 存储配置信息
1502
+ :type VolumesConf: list of VolumeConf
1501
1503
  """
1502
1504
  self._Key = None
1503
1505
  self._Value = None
@@ -1508,6 +1510,7 @@ AccessTypes,EntryPoint,Cmd
1508
1510
  self._PolicyDetails = None
1509
1511
  self._TimerScale = None
1510
1512
  self._VpcConf = None
1513
+ self._VolumesConf = None
1511
1514
 
1512
1515
  @property
1513
1516
  def Key(self):
@@ -1635,6 +1638,17 @@ AccessTypes,EntryPoint,Cmd
1635
1638
  def VpcConf(self, VpcConf):
1636
1639
  self._VpcConf = VpcConf
1637
1640
 
1641
+ @property
1642
+ def VolumesConf(self):
1643
+ """存储配置信息
1644
+ :rtype: list of VolumeConf
1645
+ """
1646
+ return self._VolumesConf
1647
+
1648
+ @VolumesConf.setter
1649
+ def VolumesConf(self, VolumesConf):
1650
+ self._VolumesConf = VolumesConf
1651
+
1638
1652
 
1639
1653
  def _deserialize(self, params):
1640
1654
  self._Key = params.get("Key")
@@ -1658,6 +1672,12 @@ AccessTypes,EntryPoint,Cmd
1658
1672
  if params.get("VpcConf") is not None:
1659
1673
  self._VpcConf = VpcConf()
1660
1674
  self._VpcConf._deserialize(params.get("VpcConf"))
1675
+ if params.get("VolumesConf") is not None:
1676
+ self._VolumesConf = []
1677
+ for item in params.get("VolumesConf"):
1678
+ obj = VolumeConf()
1679
+ obj._deserialize(item)
1680
+ self._VolumesConf.append(obj)
1661
1681
  memeber_set = set(params.keys())
1662
1682
  for name, value in vars(self).items():
1663
1683
  property_name = name[1:]
@@ -2939,6 +2959,8 @@ class ServerBaseConfig(AbstractModel):
2939
2959
  :type SessionAffinity: str
2940
2960
  :param _VpcConf: Vpc 配置参数
2941
2961
  :type VpcConf: :class:`tencentcloud.tcbr.v20220217.models.VpcConf`
2962
+ :param _VolumesConf: 存储配置信息
2963
+ :type VolumesConf: list of VolumeConf
2942
2964
  """
2943
2965
  self._EnvId = None
2944
2966
  self._ServerName = None
@@ -2969,6 +2991,7 @@ class ServerBaseConfig(AbstractModel):
2969
2991
  self._Cmd = None
2970
2992
  self._SessionAffinity = None
2971
2993
  self._VpcConf = None
2994
+ self._VolumesConf = None
2972
2995
 
2973
2996
  @property
2974
2997
  def EnvId(self):
@@ -3290,6 +3313,17 @@ class ServerBaseConfig(AbstractModel):
3290
3313
  def VpcConf(self, VpcConf):
3291
3314
  self._VpcConf = VpcConf
3292
3315
 
3316
+ @property
3317
+ def VolumesConf(self):
3318
+ """存储配置信息
3319
+ :rtype: list of VolumeConf
3320
+ """
3321
+ return self._VolumesConf
3322
+
3323
+ @VolumesConf.setter
3324
+ def VolumesConf(self, VolumesConf):
3325
+ self._VolumesConf = VolumesConf
3326
+
3293
3327
 
3294
3328
  def _deserialize(self, params):
3295
3329
  self._EnvId = params.get("EnvId")
@@ -3333,6 +3367,12 @@ class ServerBaseConfig(AbstractModel):
3333
3367
  if params.get("VpcConf") is not None:
3334
3368
  self._VpcConf = VpcConf()
3335
3369
  self._VpcConf._deserialize(params.get("VpcConf"))
3370
+ if params.get("VolumesConf") is not None:
3371
+ self._VolumesConf = []
3372
+ for item in params.get("VolumesConf"):
3373
+ obj = VolumeConf()
3374
+ obj._deserialize(item)
3375
+ self._VolumesConf.append(obj)
3336
3376
  memeber_set = set(params.keys())
3337
3377
  for name, value in vars(self).items():
3338
3378
  property_name = name[1:]
@@ -4514,6 +4554,117 @@ class VersionFlowInfo(AbstractModel):
4514
4554
 
4515
4555
 
4516
4556
 
4557
+ class VolumeConf(AbstractModel):
4558
+ """存储配置
4559
+
4560
+ """
4561
+
4562
+ def __init__(self):
4563
+ r"""
4564
+ :param _Type: 存储类型
4565
+ :type Type: str
4566
+ :param _BucketName: 对象存储桶名称
4567
+ :type BucketName: str
4568
+ :param _Endpoint: 存储连接地址
4569
+ :type Endpoint: str
4570
+ :param _KeyID: 存储连接用户密码
4571
+ :type KeyID: str
4572
+ :param _DstPath: 存储挂载目的目录
4573
+ :type DstPath: str
4574
+ :param _SrcPath: 存储挂载源目录
4575
+ :type SrcPath: str
4576
+ """
4577
+ self._Type = None
4578
+ self._BucketName = None
4579
+ self._Endpoint = None
4580
+ self._KeyID = None
4581
+ self._DstPath = None
4582
+ self._SrcPath = None
4583
+
4584
+ @property
4585
+ def Type(self):
4586
+ """存储类型
4587
+ :rtype: str
4588
+ """
4589
+ return self._Type
4590
+
4591
+ @Type.setter
4592
+ def Type(self, Type):
4593
+ self._Type = Type
4594
+
4595
+ @property
4596
+ def BucketName(self):
4597
+ """对象存储桶名称
4598
+ :rtype: str
4599
+ """
4600
+ return self._BucketName
4601
+
4602
+ @BucketName.setter
4603
+ def BucketName(self, BucketName):
4604
+ self._BucketName = BucketName
4605
+
4606
+ @property
4607
+ def Endpoint(self):
4608
+ """存储连接地址
4609
+ :rtype: str
4610
+ """
4611
+ return self._Endpoint
4612
+
4613
+ @Endpoint.setter
4614
+ def Endpoint(self, Endpoint):
4615
+ self._Endpoint = Endpoint
4616
+
4617
+ @property
4618
+ def KeyID(self):
4619
+ """存储连接用户密码
4620
+ :rtype: str
4621
+ """
4622
+ return self._KeyID
4623
+
4624
+ @KeyID.setter
4625
+ def KeyID(self, KeyID):
4626
+ self._KeyID = KeyID
4627
+
4628
+ @property
4629
+ def DstPath(self):
4630
+ """存储挂载目的目录
4631
+ :rtype: str
4632
+ """
4633
+ return self._DstPath
4634
+
4635
+ @DstPath.setter
4636
+ def DstPath(self, DstPath):
4637
+ self._DstPath = DstPath
4638
+
4639
+ @property
4640
+ def SrcPath(self):
4641
+ """存储挂载源目录
4642
+ :rtype: str
4643
+ """
4644
+ return self._SrcPath
4645
+
4646
+ @SrcPath.setter
4647
+ def SrcPath(self, SrcPath):
4648
+ self._SrcPath = SrcPath
4649
+
4650
+
4651
+ def _deserialize(self, params):
4652
+ self._Type = params.get("Type")
4653
+ self._BucketName = params.get("BucketName")
4654
+ self._Endpoint = params.get("Endpoint")
4655
+ self._KeyID = params.get("KeyID")
4656
+ self._DstPath = params.get("DstPath")
4657
+ self._SrcPath = params.get("SrcPath")
4658
+ memeber_set = set(params.keys())
4659
+ for name, value in vars(self).items():
4660
+ property_name = name[1:]
4661
+ if property_name in memeber_set:
4662
+ memeber_set.remove(property_name)
4663
+ if len(memeber_set) > 0:
4664
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4665
+
4666
+
4667
+
4517
4668
  class VpcConf(AbstractModel):
4518
4669
  """云托管服务 Vpc 配置
4519
4670
 
@@ -6506,6 +6506,8 @@ class ClusterInfoItem(AbstractModel):
6506
6506
  :type AccessedStatus: str
6507
6507
  :param _AccessedSubStatus: 接入失败原因
6508
6508
  :type AccessedSubStatus: str
6509
+ :param _AccessedErrorReason: 接入/卸载失败原因
6510
+ :type AccessedErrorReason: str
6509
6511
  :param _NodeCount: 节点总数
6510
6512
  :type NodeCount: int
6511
6513
  :param _OffLineNodeCount: 离线节点数
@@ -6549,6 +6551,7 @@ class ClusterInfoItem(AbstractModel):
6549
6551
  self._TaskCreateTime = None
6550
6552
  self._AccessedStatus = None
6551
6553
  self._AccessedSubStatus = None
6554
+ self._AccessedErrorReason = None
6552
6555
  self._NodeCount = None
6553
6556
  self._OffLineNodeCount = None
6554
6557
  self._UnInstallAgentNodeCount = None
@@ -6823,6 +6826,17 @@ class ClusterInfoItem(AbstractModel):
6823
6826
  def AccessedSubStatus(self, AccessedSubStatus):
6824
6827
  self._AccessedSubStatus = AccessedSubStatus
6825
6828
 
6829
+ @property
6830
+ def AccessedErrorReason(self):
6831
+ """接入/卸载失败原因
6832
+ :rtype: str
6833
+ """
6834
+ return self._AccessedErrorReason
6835
+
6836
+ @AccessedErrorReason.setter
6837
+ def AccessedErrorReason(self, AccessedErrorReason):
6838
+ self._AccessedErrorReason = AccessedErrorReason
6839
+
6826
6840
  @property
6827
6841
  def NodeCount(self):
6828
6842
  """节点总数
@@ -6948,6 +6962,7 @@ class ClusterInfoItem(AbstractModel):
6948
6962
  self._TaskCreateTime = params.get("TaskCreateTime")
6949
6963
  self._AccessedStatus = params.get("AccessedStatus")
6950
6964
  self._AccessedSubStatus = params.get("AccessedSubStatus")
6965
+ self._AccessedErrorReason = params.get("AccessedErrorReason")
6951
6966
  self._NodeCount = params.get("NodeCount")
6952
6967
  self._OffLineNodeCount = params.get("OffLineNodeCount")
6953
6968
  self._UnInstallAgentNodeCount = params.get("UnInstallAgentNodeCount")
@@ -22779,6 +22794,8 @@ class DescribeAssetHostDetailResponse(AbstractModel):
22779
22794
  :type ClusterName: str
22780
22795
  :param _ClusterAccessedStatus: 集群接入状态
22781
22796
  :type ClusterAccessedStatus: str
22797
+ :param _AssetSyncTime: 资产同步时间
22798
+ :type AssetSyncTime: str
22782
22799
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
22783
22800
  :type RequestId: str
22784
22801
  """
@@ -22811,6 +22828,7 @@ class DescribeAssetHostDetailResponse(AbstractModel):
22811
22828
  self._ClusterID = None
22812
22829
  self._ClusterName = None
22813
22830
  self._ClusterAccessedStatus = None
22831
+ self._AssetSyncTime = None
22814
22832
  self._RequestId = None
22815
22833
 
22816
22834
  @property
@@ -23132,6 +23150,17 @@ class DescribeAssetHostDetailResponse(AbstractModel):
23132
23150
  def ClusterAccessedStatus(self, ClusterAccessedStatus):
23133
23151
  self._ClusterAccessedStatus = ClusterAccessedStatus
23134
23152
 
23153
+ @property
23154
+ def AssetSyncTime(self):
23155
+ """资产同步时间
23156
+ :rtype: str
23157
+ """
23158
+ return self._AssetSyncTime
23159
+
23160
+ @AssetSyncTime.setter
23161
+ def AssetSyncTime(self, AssetSyncTime):
23162
+ self._AssetSyncTime = AssetSyncTime
23163
+
23135
23164
  @property
23136
23165
  def RequestId(self):
23137
23166
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -23181,6 +23210,7 @@ class DescribeAssetHostDetailResponse(AbstractModel):
23181
23210
  self._ClusterID = params.get("ClusterID")
23182
23211
  self._ClusterName = params.get("ClusterName")
23183
23212
  self._ClusterAccessedStatus = params.get("ClusterAccessedStatus")
23213
+ self._AssetSyncTime = params.get("AssetSyncTime")
23184
23214
  self._RequestId = params.get("RequestId")
23185
23215
 
23186
23216
 
@@ -30448,6 +30478,8 @@ class DescribeClusterDetailResponse(AbstractModel):
30448
30478
  :type MasterIps: str
30449
30479
  :param _OwnerName: 所有者名称
30450
30480
  :type OwnerName: str
30481
+ :param _CheckFailReason: 检查失败原因
30482
+ :type CheckFailReason: str
30451
30483
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
30452
30484
  :type RequestId: str
30453
30485
  """
@@ -30478,6 +30510,7 @@ class DescribeClusterDetailResponse(AbstractModel):
30478
30510
  self._IngressCount = None
30479
30511
  self._MasterIps = None
30480
30512
  self._OwnerName = None
30513
+ self._CheckFailReason = None
30481
30514
  self._RequestId = None
30482
30515
 
30483
30516
  @property
@@ -30777,6 +30810,17 @@ class DescribeClusterDetailResponse(AbstractModel):
30777
30810
  def OwnerName(self, OwnerName):
30778
30811
  self._OwnerName = OwnerName
30779
30812
 
30813
+ @property
30814
+ def CheckFailReason(self):
30815
+ """检查失败原因
30816
+ :rtype: str
30817
+ """
30818
+ return self._CheckFailReason
30819
+
30820
+ @CheckFailReason.setter
30821
+ def CheckFailReason(self, CheckFailReason):
30822
+ self._CheckFailReason = CheckFailReason
30823
+
30780
30824
  @property
30781
30825
  def RequestId(self):
30782
30826
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -30817,6 +30861,7 @@ class DescribeClusterDetailResponse(AbstractModel):
30817
30861
  self._IngressCount = params.get("IngressCount")
30818
30862
  self._MasterIps = params.get("MasterIps")
30819
30863
  self._OwnerName = params.get("OwnerName")
30864
+ self._CheckFailReason = params.get("CheckFailReason")
30820
30865
  self._RequestId = params.get("RequestId")
30821
30866
 
30822
30867
 
@@ -2300,6 +2300,8 @@ class ClusterAdvancedSettings(AbstractModel):
2300
2300
  :type CiliumMode: str
2301
2301
  :param _ContainerRuntime: 集群使用的runtime类型,包括"docker"和"containerd"两种类型,默认为"docker"
2302
2302
  :type ContainerRuntime: str
2303
+ :param _DataPlaneV2: 是否启用 DataPlaneV2(cilium替代kube-proxy)
2304
+ :type DataPlaneV2: bool
2303
2305
  :param _DeletionProtection: 是否启用集群删除保护
2304
2306
  :type DeletionProtection: bool
2305
2307
  :param _EnableCustomizedPodCIDR: 是否开节点podCIDR大小的自定义模式
@@ -2322,7 +2324,7 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
2322
2324
  1. 集群版本必须为1.14及以上;
2323
2325
  2. 系统镜像必须是: Tencent Linux 2.4;
2324
2326
  :type KubeProxyMode: str
2325
- :param _NetworkType: 集群网络类型(包括GR(全局路由)和VPC-CNI两种模式,默认为GR。
2327
+ :param _NetworkType: 集群网络类型。包括GR(全局路由)和VPC-CNI两种模式,默认为GR。
2326
2328
  :type NetworkType: str
2327
2329
  :param _NodeNameType: 集群中节点NodeName类型(包括 hostname,lan-ip两种形式,默认为lan-ip。如果开启了hostname模式,创建节点时需要设置HostName参数,并且InstanceName需要和HostName一致)
2328
2330
  :type NodeNameType: str
@@ -2340,6 +2342,7 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
2340
2342
  self._BasePodNumber = None
2341
2343
  self._CiliumMode = None
2342
2344
  self._ContainerRuntime = None
2345
+ self._DataPlaneV2 = None
2343
2346
  self._DeletionProtection = None
2344
2347
  self._EnableCustomizedPodCIDR = None
2345
2348
  self._EtcdOverrideConfigs = None
@@ -2431,6 +2434,17 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
2431
2434
  def ContainerRuntime(self, ContainerRuntime):
2432
2435
  self._ContainerRuntime = ContainerRuntime
2433
2436
 
2437
+ @property
2438
+ def DataPlaneV2(self):
2439
+ """是否启用 DataPlaneV2(cilium替代kube-proxy)
2440
+ :rtype: bool
2441
+ """
2442
+ return self._DataPlaneV2
2443
+
2444
+ @DataPlaneV2.setter
2445
+ def DataPlaneV2(self, DataPlaneV2):
2446
+ self._DataPlaneV2 = DataPlaneV2
2447
+
2434
2448
  @property
2435
2449
  def DeletionProtection(self):
2436
2450
  """是否启用集群删除保护
@@ -2527,7 +2541,7 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
2527
2541
 
2528
2542
  @property
2529
2543
  def NetworkType(self):
2530
- """集群网络类型(包括GR(全局路由)和VPC-CNI两种模式,默认为GR。
2544
+ """集群网络类型。包括GR(全局路由)和VPC-CNI两种模式,默认为GR。
2531
2545
  :rtype: str
2532
2546
  """
2533
2547
  return self._NetworkType
@@ -2589,6 +2603,7 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
2589
2603
  self._BasePodNumber = params.get("BasePodNumber")
2590
2604
  self._CiliumMode = params.get("CiliumMode")
2591
2605
  self._ContainerRuntime = params.get("ContainerRuntime")
2606
+ self._DataPlaneV2 = params.get("DataPlaneV2")
2592
2607
  self._DeletionProtection = params.get("DeletionProtection")
2593
2608
  self._EnableCustomizedPodCIDR = params.get("EnableCustomizedPodCIDR")
2594
2609
  if params.get("EtcdOverrideConfigs") is not None: