tencentcloud-sdk-python 3.0.1187__py2.py3-none-any.whl → 3.0.1188__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.
Files changed (25) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/cam/v20190116/errorcodes.py +6 -0
  3. tencentcloud/ccc/v20200210/errorcodes.py +18 -0
  4. tencentcloud/cwp/v20180228/models.py +61 -0
  5. tencentcloud/ess/v20201111/ess_client.py +26 -0
  6. tencentcloud/ess/v20201111/models.py +107 -8
  7. tencentcloud/essbasic/v20210526/essbasic_client.py +26 -0
  8. tencentcloud/essbasic/v20210526/models.py +88 -11
  9. tencentcloud/gaap/v20180529/gaap_client.py +23 -0
  10. tencentcloud/gaap/v20180529/models.py +31 -0
  11. tencentcloud/mariadb/v20170312/mariadb_client.py +23 -0
  12. tencentcloud/mariadb/v20170312/models.py +130 -0
  13. tencentcloud/mongodb/v20190725/models.py +58 -51
  14. tencentcloud/monitor/v20180724/models.py +1 -1
  15. tencentcloud/oceanus/v20190422/models.py +31 -0
  16. tencentcloud/organization/v20210331/organization_client.py +1 -1
  17. tencentcloud/rum/v20210622/models.py +12 -0
  18. tencentcloud/thpc/v20230321/models.py +13 -1
  19. tencentcloud/trtc/v20190722/models.py +14 -2
  20. tencentcloud/trtc/v20190722/trtc_client.py +1 -1
  21. {tencentcloud_sdk_python-3.0.1187.dist-info → tencentcloud_sdk_python-3.0.1188.dist-info}/METADATA +1 -1
  22. {tencentcloud_sdk_python-3.0.1187.dist-info → tencentcloud_sdk_python-3.0.1188.dist-info}/RECORD +25 -25
  23. {tencentcloud_sdk_python-3.0.1187.dist-info → tencentcloud_sdk_python-3.0.1188.dist-info}/LICENSE +0 -0
  24. {tencentcloud_sdk_python-3.0.1187.dist-info → tencentcloud_sdk_python-3.0.1188.dist-info}/WHEEL +0 -0
  25. {tencentcloud_sdk_python-3.0.1187.dist-info → tencentcloud_sdk_python-3.0.1188.dist-info}/top_level.txt +0 -0
@@ -12661,6 +12661,136 @@ class UpgradeDedicatedDBInstanceResponse(AbstractModel):
12661
12661
  self._RequestId = params.get("RequestId")
12662
12662
 
12663
12663
 
12664
+ class UpgradeHourDBInstanceRequest(AbstractModel):
12665
+ """UpgradeHourDBInstance请求参数结构体
12666
+
12667
+ """
12668
+
12669
+ def __init__(self):
12670
+ r"""
12671
+ :param _InstanceId: 实例ID
12672
+ :type InstanceId: str
12673
+ :param _Memory: 内存大小,单位:GB
12674
+ :type Memory: int
12675
+ :param _Storage: 存储大小,单位:GB
12676
+ :type Storage: int
12677
+ :param _SwitchStartTime: 切换开始时间,格式如: "2019-12-12 07:00:00"。开始时间必须在当前时间一个小时以后,3天以内。
12678
+ :type SwitchStartTime: str
12679
+ :param _SwitchEndTime: 切换结束时间, 格式如: "2019-12-12 07:15:00",结束时间必须大于开始时间。
12680
+ :type SwitchEndTime: str
12681
+ :param _SwitchAutoRetry: 是否自动重试。 0:不自动重试 1:自动重试
12682
+ :type SwitchAutoRetry: int
12683
+ :param _Zones: 变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区
12684
+ :type Zones: list of str
12685
+ """
12686
+ self._InstanceId = None
12687
+ self._Memory = None
12688
+ self._Storage = None
12689
+ self._SwitchStartTime = None
12690
+ self._SwitchEndTime = None
12691
+ self._SwitchAutoRetry = None
12692
+ self._Zones = None
12693
+
12694
+ @property
12695
+ def InstanceId(self):
12696
+ return self._InstanceId
12697
+
12698
+ @InstanceId.setter
12699
+ def InstanceId(self, InstanceId):
12700
+ self._InstanceId = InstanceId
12701
+
12702
+ @property
12703
+ def Memory(self):
12704
+ return self._Memory
12705
+
12706
+ @Memory.setter
12707
+ def Memory(self, Memory):
12708
+ self._Memory = Memory
12709
+
12710
+ @property
12711
+ def Storage(self):
12712
+ return self._Storage
12713
+
12714
+ @Storage.setter
12715
+ def Storage(self, Storage):
12716
+ self._Storage = Storage
12717
+
12718
+ @property
12719
+ def SwitchStartTime(self):
12720
+ return self._SwitchStartTime
12721
+
12722
+ @SwitchStartTime.setter
12723
+ def SwitchStartTime(self, SwitchStartTime):
12724
+ self._SwitchStartTime = SwitchStartTime
12725
+
12726
+ @property
12727
+ def SwitchEndTime(self):
12728
+ return self._SwitchEndTime
12729
+
12730
+ @SwitchEndTime.setter
12731
+ def SwitchEndTime(self, SwitchEndTime):
12732
+ self._SwitchEndTime = SwitchEndTime
12733
+
12734
+ @property
12735
+ def SwitchAutoRetry(self):
12736
+ return self._SwitchAutoRetry
12737
+
12738
+ @SwitchAutoRetry.setter
12739
+ def SwitchAutoRetry(self, SwitchAutoRetry):
12740
+ self._SwitchAutoRetry = SwitchAutoRetry
12741
+
12742
+ @property
12743
+ def Zones(self):
12744
+ return self._Zones
12745
+
12746
+ @Zones.setter
12747
+ def Zones(self, Zones):
12748
+ self._Zones = Zones
12749
+
12750
+
12751
+ def _deserialize(self, params):
12752
+ self._InstanceId = params.get("InstanceId")
12753
+ self._Memory = params.get("Memory")
12754
+ self._Storage = params.get("Storage")
12755
+ self._SwitchStartTime = params.get("SwitchStartTime")
12756
+ self._SwitchEndTime = params.get("SwitchEndTime")
12757
+ self._SwitchAutoRetry = params.get("SwitchAutoRetry")
12758
+ self._Zones = params.get("Zones")
12759
+ memeber_set = set(params.keys())
12760
+ for name, value in vars(self).items():
12761
+ property_name = name[1:]
12762
+ if property_name in memeber_set:
12763
+ memeber_set.remove(property_name)
12764
+ if len(memeber_set) > 0:
12765
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12766
+
12767
+
12768
+
12769
+ class UpgradeHourDBInstanceResponse(AbstractModel):
12770
+ """UpgradeHourDBInstance返回参数结构体
12771
+
12772
+ """
12773
+
12774
+ def __init__(self):
12775
+ r"""
12776
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12777
+ :type RequestId: str
12778
+ """
12779
+ self._RequestId = None
12780
+
12781
+ @property
12782
+ def RequestId(self):
12783
+ return self._RequestId
12784
+
12785
+ @RequestId.setter
12786
+ def RequestId(self, RequestId):
12787
+ self._RequestId = RequestId
12788
+
12789
+
12790
+ def _deserialize(self, params):
12791
+ self._RequestId = params.get("RequestId")
12792
+
12793
+
12664
12794
  class ViewPrivileges(AbstractModel):
12665
12795
  """视图权限信息
12666
12796
 
@@ -954,25 +954,27 @@ class CreateDBInstanceHourRequest(AbstractModel):
954
954
 
955
955
  def __init__(self):
956
956
  r"""
957
- :param _Memory: 实例内存大小,单位:GB
957
+ :param _Memory: 实例内存大小,单位:GB。具体售卖的内存规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
958
958
  :type Memory: int
959
- :param _Volume: 实例硬盘大小,单位:GB
959
+ :param _Volume: 实例硬盘大小,单位:GB。每一个 CPU 规格对应的最大磁盘与最小磁盘范围,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
960
960
  :type Volume: int
961
- :param _ReplicateSetNum: 指副本集数量。
962
- - 创建副本集实例,该参数只能为1。
963
- - 创建分片实例,指分片的数量。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
961
+ :param _ReplicateSetNum: - 创建副本集实例,指副本集数量,该参数只能为1。
962
+ - 创建分片集群实例,指分片的数量。请通过接口[DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)查询分片数量的取值范围,其返回的数据结构SpecItems中的参数MinReplicateSetNum与MaxReplicateSetNum分别对应其最小值与最大值。
964
963
  :type ReplicateSetNum: int
965
- :param _NodeNum: 指每个副本集内节点个数。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
964
+ :param _NodeNum: - 创建副本集实例,指每个副本集内主从节点数量。每个副本集所支持的的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
965
+ - 创建分片集群实例,指每个分片的主从节点数量。每个分片所支持的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
966
966
  :type NodeNum: int
967
- :param _MongoVersion: 指版本信息。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
967
+ :param _MongoVersion: 指版本信息。具体支持的版本信息 ,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
968
968
  - MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。
969
969
  - MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。
970
970
  - MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。
971
971
  - MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。
972
+ - MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
973
+ - MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
972
974
  :type MongoVersion: str
973
- :param _MachineCode: 机器类型。
974
- - HIO:高IO型。
975
- - HIO10G:高IO万兆。
975
+ :param _MachineCode: 产品规格类型。
976
+ - HIO10G:通用高HIO万兆型。
977
+ - HCD:云盘版类型。
976
978
  :type MachineCode: str
977
979
  :param _GoodsNum: 实例数量,最小值1,最大值为10。
978
980
  :type GoodsNum: int
@@ -990,18 +992,17 @@ class CreateDBInstanceHourRequest(AbstractModel):
990
992
  :type SubnetId: str
991
993
  :param _Password: 实例密码。自定义密码长度为8-32个字符,至少包含字母、数字和字符(!@#%^*()_)中的两种。
992
994
  :type Password: str
993
- :param _ProjectId: 项目ID。若不设置该参数,则为默认项目。
995
+ :param _ProjectId: 项目ID
996
+ - 若不设置该参数,则为默认项目。
997
+ - 在 [MongoDB 控制台项目管理](https://console.cloud.tencent.com/project)页面,可获取项目ID。
994
998
  :type ProjectId: int
995
999
  :param _Tags: 实例标签信息。
996
1000
  :type Tags: list of TagInfo
997
- :param _Clone: 实例类型。
998
- - 1:正式实例。
999
- - 3:只读实例。
1000
- - 4:灾备实例。
1001
+ :param _Clone: 实例类型。- 1:正式实例。- 3:只读实例。- 4:灾备实例。-5:克隆实例,注意:克隆实例RestoreTime为必填项。
1001
1002
  :type Clone: int
1002
1003
  :param _Father: 父实例 ID。当参数**Clone**为3或者4时,即实例为只读或灾备实例时,该参数必须配置。
1003
1004
  :type Father: str
1004
- :param _SecurityGroup: 安全组。
1005
+ :param _SecurityGroup: 安全组 ID。
1005
1006
  :type SecurityGroup: list of str
1006
1007
  :param _RestoreTime: 克隆实例回档时间。
1007
1008
  - 若为克隆实例,则必须配置该参数。输入格式示例:2021-08-13 16:30:00。
@@ -1009,26 +1010,28 @@ class CreateDBInstanceHourRequest(AbstractModel):
1009
1010
  :type RestoreTime: str
1010
1011
  :param _InstanceName: 实例名称。仅支持长度为60个字符的中文、英文、数字、下划线_、分隔符- 。
1011
1012
  :type InstanceName: str
1012
- :param _AvailabilityZoneList: 多可用区部署的节点列表。具体信息,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)获取。
1013
+ :param _AvailabilityZoneList: 若多可用区部署云数据库实例,指定多可用区列表。
1014
+ - 多可用区部署实例,参数 **Zone** 指定实例主可用区信息;**AvailabilityZoneList** 指定所有可用区信息,包含主可用区。输入格式如:[ap-guangzhou-2,ap-guangzhou-3,ap-guangzhou-4]。
1015
+ - 通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 可获取云数据库不同地域规划的可用区信息,以便指定有效的可用区。
1013
1016
  - 多可用区部署节点只能部署在3个不同可用区。不支持将集群的大多数节点部署在同一个可用区。例如:3节点集群不支持2个节点部署在同一个区。
1014
- - 不支持4.2及以上版本。
1015
- - 不支持只读灾备实例。
1016
- - 不能选择基础网络。
1017
+
1017
1018
  :type AvailabilityZoneList: list of str
1018
- :param _MongosCpu: Mongos CPU 核数。购买分片集群时,必须填写。
1019
+ :param _MongosCpu: Mongos CPU 核数,支持1、2、4、8、16。购买分片集群时,必须填写。
1019
1020
 
1020
1021
  :type MongosCpu: int
1021
- :param _MongosMemory: Mongos 内存大小。购买分片集群时,必须填写。
1022
+ :param _MongosMemory: Mongos 内存大小。
1023
+ - 购买分片集群时,必须填写。
1024
+ - 单位:GB,支持1核2GB、2核4GB、4核8GB、8核16GB、16核32GB。
1022
1025
 
1023
1026
 
1024
1027
  :type MongosMemory: int
1025
1028
  :param _MongosNodeNum: Mongos 数量。购买分片集群时,必须填写。
1026
-
1027
-
1029
+ - 单可用区部署实例,其数量范围为[3,32]。
1030
+ - 多可用区部署实例,其数量范围为[6,32]。
1028
1031
  :type MongosNodeNum: int
1029
- :param _ReadonlyNodeNum: 只读节点数量,最大不超过7个。
1032
+ :param _ReadonlyNodeNum: 只读节点数量,取值范围[0,5]。
1030
1033
  :type ReadonlyNodeNum: int
1031
- :param _ReadonlyNodeAvailabilityZoneList: 指只读节点所属可用区。跨可用区部署实例,参数**ReadonlyNodeNum**不为**0**时,必须配置该参数。
1034
+ :param _ReadonlyNodeAvailabilityZoneList: 指只读节点所属可用区数组。跨可用区部署实例,参数**ReadonlyNodeNum**不为**0**时,必须配置该参数。
1032
1035
  :type ReadonlyNodeAvailabilityZoneList: list of str
1033
1036
  :param _HiddenZone: Hidden节点所属可用区。跨可用区部署实例,必须配置该参数。
1034
1037
  :type HiddenZone: str
@@ -1367,17 +1370,20 @@ class CreateDBInstanceRequest(AbstractModel):
1367
1370
 
1368
1371
  def __init__(self):
1369
1372
  r"""
1370
- :param _NodeNum: 指每个副本集内节点个数。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
1373
+ :param _NodeNum: - 创建副本集实例,指每个副本集内主从节点数量。每个副本集所支持的的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
1374
+ - 创建分片集群实例,指每个分片的主从节点数量。每个分片所支持的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
1371
1375
  :type NodeNum: int
1372
- :param _Memory: 实例内存大小,单位:GB
1376
+ :param _Memory: 实例内存大小,单位:GB。具体售卖的内存规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
1373
1377
  :type Memory: int
1374
- :param _Volume: 实例硬盘大小,单位:GB
1378
+ :param _Volume: 实例硬盘大小,单位:GB。每一个 CPU 规格对应的最大磁盘与最小磁盘范围,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
1375
1379
  :type Volume: int
1376
- :param _MongoVersion: 指版本信息。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
1380
+ :param _MongoVersion: 指版本信息。具体支持的版本信息 ,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
1377
1381
  - MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。
1378
1382
  - MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。
1379
1383
  - MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。
1380
1384
  - MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。
1385
+ - MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
1386
+ - MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
1381
1387
  :type MongoVersion: str
1382
1388
  :param _GoodsNum: 实例数量, 最小值1,最大值为10。
1383
1389
  :type GoodsNum: int
@@ -1385,21 +1391,23 @@ class CreateDBInstanceRequest(AbstractModel):
1385
1391
  - 具体信息,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
1386
1392
  - 该参数为主可用区,如果多可用区部署,Zone必须是AvailabilityZoneList中的一个。
1387
1393
  :type Zone: str
1388
- :param _Period: 实例时长,单位:月,可选值包括 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]
1394
+ :param _Period: 指定购买实例的购买时长。取值可选:[1,2,3,4,5,6,7,8,9,10,11,12,24,36];单位:月。
1395
+
1389
1396
  :type Period: int
1390
- :param _MachineCode: 机器类型。
1391
- - HIO:高IO型。
1392
- - HIO10G:高IO万兆。
1397
+ :param _MachineCode: 产品规格类型。
1398
+ - HIO10G:通用高HIO万兆型。
1399
+ - HCD:云盘版类型。
1393
1400
  :type MachineCode: str
1394
1401
  :param _ClusterType: 实例架构类型。
1395
1402
  - REPLSET:副本集。
1396
1403
  - SHARD:分片集群。
1397
1404
  :type ClusterType: str
1398
- :param _ReplicateSetNum: 指副本集数量。
1399
- - 创建副本集实例,该参数只能为1。
1400
- - 创建分片实例,指分片的数量。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
1405
+ :param _ReplicateSetNum: - 创建副本集实例,指副本集数量,该参数只能为1。
1406
+ - 创建分片集群实例,指分片的数量。请通过接口[DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)查询分片数量的取值范围,其返回的数据结构SpecItems中的参数MinReplicateSetNum与MaxReplicateSetNum分别对应其最小值与最大值。
1401
1407
  :type ReplicateSetNum: int
1402
- :param _ProjectId: 项目ID。若不设置该参数,则为默认项目。
1408
+ :param _ProjectId: 项目ID
1409
+ - 若不设置该参数,则为默认项目。
1410
+ - 在 [MongoDB 控制台项目管理](https://console.cloud.tencent.com/project)页面,可获取项目ID。
1403
1411
  :type ProjectId: int
1404
1412
  :param _VpcId: 私有网络ID。如果不设置该参数,则默认选择基础网络。
1405
1413
  :type VpcId: str
@@ -1410,25 +1418,20 @@ class CreateDBInstanceRequest(AbstractModel):
1410
1418
  :param _Tags: 实例标签信息。
1411
1419
  :type Tags: list of TagInfo
1412
1420
  :param _AutoRenewFlag: 自动续费标记。
1413
- - 0:不自动续费。默认为不自动续费。
1421
+ - 0:不自动续费。
1414
1422
  - 1:自动续费。
1415
1423
  :type AutoRenewFlag: int
1416
1424
  :param _AutoVoucher: 是否自动选择代金券。
1417
1425
  - 1:是。
1418
1426
  - 0:否。默认为0。
1419
1427
  :type AutoVoucher: int
1420
- :param _Clone: 实例类型。
1421
- - 1:正式实例。
1422
- - 3:只读实例。
1423
- - 4:灾备实例。
1428
+ :param _Clone: 实例类型。- 1:正式实例。- 3:只读实例。- 4:灾备实例。-5:整实例克隆,注意:克隆实例时,RestoreTime为必填项。
1424
1429
  :type Clone: int
1425
1430
  :param _Father: 父实例 ID。当参数**Clone**为3或者4时,即实例为只读或灾备实例时,该参数必须配置。
1426
1431
  :type Father: str
1427
- :param _SecurityGroup: 安全组。
1432
+ :param _SecurityGroup: 安全组 ID。
1428
1433
  :type SecurityGroup: list of str
1429
- :param _RestoreTime: 克隆实例回档时间。
1430
- - 若为克隆实例,则必须配置该参数。输入格式示例:2021-08-13 16:30:00。
1431
- - 回档时间范围:仅能回档7天内时间点的数据。
1434
+ :param _RestoreTime: 克隆实例回档时间,当Clone取值为5或6时为必填。- 若为克隆实例,则必须配置该参数。输入格式示例:2021-08-13 16:30:00。- 回档时间范围:仅能回档7天内时间点的数据。
1432
1435
  :type RestoreTime: str
1433
1436
  :param _InstanceName: 实例名称。仅支持长度为60个字符的中文、英文、数字、下划线_、分隔符- 。
1434
1437
  :type InstanceName: str
@@ -1438,15 +1441,19 @@ class CreateDBInstanceRequest(AbstractModel):
1438
1441
  - 不支持只读灾备实例。
1439
1442
  - 不能选择基础网络。
1440
1443
  :type AvailabilityZoneList: list of str
1441
- :param _MongosCpu: Mongos CPU 核数,购买MongoDB 4.2 及以上WiredTiger存储引擎版本的分片集群时,必须填写。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
1444
+ :param _MongosCpu: Mongos CPU 核数,支持1、2、4、8、16。购买分片集群时,必须填写。
1442
1445
  :type MongosCpu: int
1443
- :param _MongosMemory: Mongos 内存大小。购买MongoDB 4.2 及以上WiredTiger存储引擎版本的分片集群时,必须填写。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
1446
+ :param _MongosMemory: Mongos 内存大小。
1447
+ - 购买分片集群时,必须填写。
1448
+ - 单位:GB,支持1核2GB、2核4GB、4核8GB、8核16GB、16核32GB。
1444
1449
  :type MongosMemory: int
1445
- :param _MongosNodeNum: Mongos 数量。购买MongoDB 4.2 及以上WiredTiger存储引擎版本的分片集群时,必须填写。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。为了保障高可用,取值范围为[3,32]。
1450
+ :param _MongosNodeNum: Mongos 数量。购买分片集群时,必须填写。
1451
+ - 单可用区部署实例,其数量范围为[3,32]。
1452
+ - 多可用区部署实例,其数量范围为[6,32]。
1446
1453
  :type MongosNodeNum: int
1447
1454
  :param _ReadonlyNodeNum: 只读节点数量,取值范围[0,5]。
1448
1455
  :type ReadonlyNodeNum: int
1449
- :param _ReadonlyNodeAvailabilityZoneList: 指只读节点所属可用区。跨可用区部署实例,参数**ReadonlyNodeNum**不为**0**时,必须配置该参数。
1456
+ :param _ReadonlyNodeAvailabilityZoneList: 指只读节点所属可用区数组。跨可用区部署实例,参数**ReadonlyNodeNum**不为**0**时,必须配置该参数。
1450
1457
  :type ReadonlyNodeAvailabilityZoneList: list of str
1451
1458
  :param _HiddenZone: Hidden节点所属可用区。跨可用区部署实例,必须配置该参数。
1452
1459
  :type HiddenZone: str
@@ -5321,7 +5321,7 @@ class CreatePrometheusMultiTenantInstancePostPayModeRequest(AbstractModel):
5321
5321
  :type VpcId: str
5322
5322
  :param _SubnetId: 子网 ID(可通过 vpc:DescribeSubnets 接口获取)
5323
5323
  :type SubnetId: str
5324
- :param _DataRetentionTime: 数据存储时间(单位天),限制值为153045之一
5324
+ :param _DataRetentionTime: 数据存储时间(单位天),限制值为15, 30, 45, 90, 180, 365, 730之一
5325
5325
  :type DataRetentionTime: int
5326
5326
  :param _Zone: 可用区(与子网同可用区)
5327
5327
  :type Zone: str
@@ -6495,6 +6495,9 @@ class JobConfig(AbstractModel):
6495
6495
  :param _WorkspaceName: es空间中文
6496
6496
  注意:此字段可能返回 null,表示取不到有效值。
6497
6497
  :type WorkspaceName: str
6498
+ :param _FlinkVersion: flink 版本
6499
+ 注意:此字段可能返回 null,表示取不到有效值。
6500
+ :type FlinkVersion: str
6498
6501
  """
6499
6502
  self._JobId = None
6500
6503
  self._EntrypointClass = None
@@ -6528,6 +6531,7 @@ class JobConfig(AbstractModel):
6528
6531
  self._EsServerlessSpace = None
6529
6532
  self._IndexName = None
6530
6533
  self._WorkspaceName = None
6534
+ self._FlinkVersion = None
6531
6535
 
6532
6536
  @property
6533
6537
  def JobId(self):
@@ -6785,6 +6789,14 @@ class JobConfig(AbstractModel):
6785
6789
  def WorkspaceName(self, WorkspaceName):
6786
6790
  self._WorkspaceName = WorkspaceName
6787
6791
 
6792
+ @property
6793
+ def FlinkVersion(self):
6794
+ return self._FlinkVersion
6795
+
6796
+ @FlinkVersion.setter
6797
+ def FlinkVersion(self, FlinkVersion):
6798
+ self._FlinkVersion = FlinkVersion
6799
+
6788
6800
 
6789
6801
  def _deserialize(self, params):
6790
6802
  self._JobId = params.get("JobId")
@@ -6840,6 +6852,7 @@ class JobConfig(AbstractModel):
6840
6852
  self._EsServerlessSpace = params.get("EsServerlessSpace")
6841
6853
  self._IndexName = params.get("IndexName")
6842
6854
  self._WorkspaceName = params.get("WorkspaceName")
6855
+ self._FlinkVersion = params.get("FlinkVersion")
6843
6856
  memeber_set = set(params.keys())
6844
6857
  for name, value in vars(self).items():
6845
6858
  property_name = name[1:]
@@ -9963,10 +9976,14 @@ class SlotSharingGroup(AbstractModel):
9963
9976
  :param _Description: SlotSharingGroup的描述
9964
9977
  注意:此字段可能返回 null,表示取不到有效值。
9965
9978
  :type Description: str
9979
+ :param _Configuration: SlotSharingGroup的配置
9980
+ 注意:此字段可能返回 null,表示取不到有效值。
9981
+ :type Configuration: list of Property
9966
9982
  """
9967
9983
  self._Name = None
9968
9984
  self._Spec = None
9969
9985
  self._Description = None
9986
+ self._Configuration = None
9970
9987
 
9971
9988
  @property
9972
9989
  def Name(self):
@@ -9992,6 +10009,14 @@ class SlotSharingGroup(AbstractModel):
9992
10009
  def Description(self, Description):
9993
10010
  self._Description = Description
9994
10011
 
10012
+ @property
10013
+ def Configuration(self):
10014
+ return self._Configuration
10015
+
10016
+ @Configuration.setter
10017
+ def Configuration(self, Configuration):
10018
+ self._Configuration = Configuration
10019
+
9995
10020
 
9996
10021
  def _deserialize(self, params):
9997
10022
  self._Name = params.get("Name")
@@ -9999,6 +10024,12 @@ class SlotSharingGroup(AbstractModel):
9999
10024
  self._Spec = SlotSharingGroupSpec()
10000
10025
  self._Spec._deserialize(params.get("Spec"))
10001
10026
  self._Description = params.get("Description")
10027
+ if params.get("Configuration") is not None:
10028
+ self._Configuration = []
10029
+ for item in params.get("Configuration"):
10030
+ obj = Property()
10031
+ obj._deserialize(item)
10032
+ self._Configuration.append(obj)
10002
10033
  memeber_set = set(params.keys())
10003
10034
  for name, value in vars(self).items():
10004
10035
  property_name = name[1:]
@@ -96,7 +96,7 @@ class OrganizationClient(AbstractClient):
96
96
 
97
97
 
98
98
  def AddShareUnit(self, request):
99
- """创建共享单元,只有企业组织管理员可创建。
99
+ """创建共享单元。
100
100
 
101
101
  :param request: Request instance for AddShareUnit.
102
102
  :type request: :class:`tencentcloud.organization.v20210331.models.AddShareUnitRequest`
@@ -7276,9 +7276,12 @@ class DescribeReleaseFilesRequest(AbstractModel):
7276
7276
  :type ProjectID: int
7277
7277
  :param _FileVersion: 文件版本
7278
7278
  :type FileVersion: str
7279
+ :param _FileName: 查询过滤条件(根据sourcemap的文件名模糊匹配)
7280
+ :type FileName: str
7279
7281
  """
7280
7282
  self._ProjectID = None
7281
7283
  self._FileVersion = None
7284
+ self._FileName = None
7282
7285
 
7283
7286
  @property
7284
7287
  def ProjectID(self):
@@ -7296,10 +7299,19 @@ class DescribeReleaseFilesRequest(AbstractModel):
7296
7299
  def FileVersion(self, FileVersion):
7297
7300
  self._FileVersion = FileVersion
7298
7301
 
7302
+ @property
7303
+ def FileName(self):
7304
+ return self._FileName
7305
+
7306
+ @FileName.setter
7307
+ def FileName(self, FileName):
7308
+ self._FileName = FileName
7309
+
7299
7310
 
7300
7311
  def _deserialize(self, params):
7301
7312
  self._ProjectID = params.get("ProjectID")
7302
7313
  self._FileVersion = params.get("FileVersion")
7314
+ self._FileName = params.get("FileName")
7303
7315
  memeber_set = set(params.keys())
7304
7316
  for name, value in vars(self).items():
7305
7317
  property_name = name[1:]
@@ -3426,10 +3426,13 @@ class LoginSettings(AbstractModel):
3426
3426
 
3427
3427
  def __init__(self):
3428
3428
  r"""
3429
- :param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。<br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。<br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
3429
+ :param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li><br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
3430
3430
  :type Password: str
3431
+ :param _KeyIds: 实例登录密钥
3432
+ :type KeyIds: list of str
3431
3433
  """
3432
3434
  self._Password = None
3435
+ self._KeyIds = None
3433
3436
 
3434
3437
  @property
3435
3438
  def Password(self):
@@ -3439,9 +3442,18 @@ class LoginSettings(AbstractModel):
3439
3442
  def Password(self, Password):
3440
3443
  self._Password = Password
3441
3444
 
3445
+ @property
3446
+ def KeyIds(self):
3447
+ return self._KeyIds
3448
+
3449
+ @KeyIds.setter
3450
+ def KeyIds(self, KeyIds):
3451
+ self._KeyIds = KeyIds
3452
+
3442
3453
 
3443
3454
  def _deserialize(self, params):
3444
3455
  self._Password = params.get("Password")
3456
+ self._KeyIds = params.get("KeyIds")
3445
3457
  memeber_set = set(params.keys())
3446
3458
  for name, value in vars(self).items():
3447
3459
  property_name = name[1:]
@@ -3773,7 +3773,7 @@ class DescribeTrtcUsageResponse(AbstractModel):
3773
3773
  r"""
3774
3774
  :param _UsageKey: 用量类型,与UsageValue中各个位置的值对应。
3775
3775
  :type UsageKey: list of str
3776
- :param _UsageList: 各个时间点用量明细。
3776
+ :param _UsageList: 各个时间点用量明细,单位:分钟
3777
3777
  :type UsageList: list of TrtcUsage
3778
3778
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3779
3779
  :type RequestId: str
@@ -10833,10 +10833,13 @@ class TrtcUsage(AbstractModel):
10833
10833
  r"""
10834
10834
  :param _TimeKey: 时间点,格式为YYYY-MM-DD HH:mm:ss。多天查询时,HH:mm:ss为00:00:00。
10835
10835
  :type TimeKey: str
10836
- :param _UsageValue: 用量数组。每个数值含义与UsageKey对应。单位:分钟。
10836
+ :param _TimeStampKey: 时间点时间戳
10837
+ :type TimeStampKey: int
10838
+ :param _UsageValue: 用量数组。每个数值含义与UsageKey对应。单位:分钟。
10837
10839
  :type UsageValue: list of float
10838
10840
  """
10839
10841
  self._TimeKey = None
10842
+ self._TimeStampKey = None
10840
10843
  self._UsageValue = None
10841
10844
 
10842
10845
  @property
@@ -10847,6 +10850,14 @@ class TrtcUsage(AbstractModel):
10847
10850
  def TimeKey(self, TimeKey):
10848
10851
  self._TimeKey = TimeKey
10849
10852
 
10853
+ @property
10854
+ def TimeStampKey(self):
10855
+ return self._TimeStampKey
10856
+
10857
+ @TimeStampKey.setter
10858
+ def TimeStampKey(self, TimeStampKey):
10859
+ self._TimeStampKey = TimeStampKey
10860
+
10850
10861
  @property
10851
10862
  def UsageValue(self):
10852
10863
  return self._UsageValue
@@ -10858,6 +10869,7 @@ class TrtcUsage(AbstractModel):
10858
10869
 
10859
10870
  def _deserialize(self, params):
10860
10871
  self._TimeKey = params.get("TimeKey")
10872
+ self._TimeStampKey = params.get("TimeStampKey")
10861
10873
  self._UsageValue = params.get("UsageValue")
10862
10874
  memeber_set = set(params.keys())
10863
10875
  for name, value in vars(self).items():
@@ -728,7 +728,7 @@ class TrtcClient(AbstractClient):
728
728
 
729
729
 
730
730
  def DescribeTrtcUsage(self, request):
731
- """获取TRTC音视频互动的用量明细。
731
+ """获取TRTC音视频互动的用量明细,单位:分钟。
732
732
  - 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
733
733
  - 单次查询统计区间最多不能超过31天。
734
734
  - 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python
3
- Version: 3.0.1187
3
+ Version: 3.0.1188
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud