tencentcloud-sdk-python 3.0.1284__py2.py3-none-any.whl → 3.0.1286__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/apm/v20210622/errorcodes.py +4 -4
- tencentcloud/apm/v20210622/models.py +31 -59
- tencentcloud/batch/v20170312/models.py +84 -6
- tencentcloud/bi/v20220105/models.py +15 -0
- tencentcloud/billing/v20180709/models.py +8 -0
- tencentcloud/ccc/v20200210/models.py +60 -0
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +79 -0
- tencentcloud/cfg/v20210820/models.py +108 -0
- tencentcloud/cloudapp/v20220530/models.py +15 -0
- tencentcloud/cloudaudit/v20190319/models.py +14 -0
- tencentcloud/cvm/v20170312/models.py +6 -6
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/models.py +186 -0
- tencentcloud/domain/v20180808/domain_client.py +1 -1
- tencentcloud/domain/v20180808/errorcodes.py +6 -0
- tencentcloud/domain/v20180808/models.py +2 -2
- tencentcloud/dts/v20211206/models.py +17 -0
- tencentcloud/ess/v20201111/ess_client.py +51 -0
- tencentcloud/ess/v20201111/models.py +522 -5
- tencentcloud/essbasic/v20210526/essbasic_client.py +28 -0
- tencentcloud/essbasic/v20210526/models.py +437 -15
- tencentcloud/gwlb/v20240906/models.py +48 -24
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/iss/v20230517/models.py +2 -2
- tencentcloud/lcic/v20220817/models.py +6 -4
- tencentcloud/live/v20180801/models.py +8 -8
- tencentcloud/mariadb/v20170312/models.py +12 -8
- tencentcloud/mongodb/v20180408/errorcodes.py +15 -0
- tencentcloud/mongodb/v20180408/models.py +27 -12
- tencentcloud/mongodb/v20180408/mongodb_client.py +0 -1
- tencentcloud/mongodb/v20190725/models.py +81 -58
- tencentcloud/mongodb/v20190725/mongodb_client.py +2 -2
- tencentcloud/mps/v20190612/models.py +68 -54
- tencentcloud/organization/v20210331/models.py +71 -26
- tencentcloud/tdmq/v20200217/models.py +64 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/vod/v20180717/errorcodes.py +1 -1
- tencentcloud/vpc/v20170312/models.py +30 -0
- tencentcloud/vrs/v20200824/models.py +2 -2
- tencentcloud/vrs/v20200824/vrs_client.py +2 -2
- tencentcloud/wedata/v20210820/models.py +813 -2
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/RECORD +48 -48
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/top_level.txt +0 -0
@@ -145,7 +145,7 @@ class CreateGatewayLoadBalancerRequest(AbstractModel):
|
|
145
145
|
|
146
146
|
def __init__(self):
|
147
147
|
r"""
|
148
|
-
:param _VpcId: 网关负载均衡后端目标设备所属的私有网络 ID,如vpc-
|
148
|
+
:param _VpcId: 网关负载均衡后端目标设备所属的私有网络 ID,如vpc-azd4dt1c,可以通过 [DescribeVpcs](https://cloud.tencent.com/document/product/215/15778) 接口获取。
|
149
149
|
:type VpcId: str
|
150
150
|
:param _SubnetId: 网关负载均衡后端目标设备所属的私有网络的子网ID。
|
151
151
|
:type SubnetId: str
|
@@ -167,7 +167,7 @@ class CreateGatewayLoadBalancerRequest(AbstractModel):
|
|
167
167
|
|
168
168
|
@property
|
169
169
|
def VpcId(self):
|
170
|
-
"""网关负载均衡后端目标设备所属的私有网络 ID,如vpc-
|
170
|
+
"""网关负载均衡后端目标设备所属的私有网络 ID,如vpc-azd4dt1c,可以通过 [DescribeVpcs](https://cloud.tencent.com/document/product/215/15778) 接口获取。
|
171
171
|
:rtype: str
|
172
172
|
"""
|
173
173
|
return self._VpcId
|
@@ -329,13 +329,13 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
329
329
|
:type TargetGroupName: str
|
330
330
|
:param _VpcId: 目标组的vpcid属性,不填则使用默认vpc
|
331
331
|
:type VpcId: str
|
332
|
-
:param _Port: 目标组的默认端口, 后续添加服务器时可使用该默认端口。Port和TargetGroupInstances.N中的port
|
332
|
+
:param _Port: 目标组的默认端口, 后续添加服务器时可使用该默认端口。Port和TargetGroupInstances.N中的port二者必填其一。仅支持6081。
|
333
333
|
:type Port: int
|
334
334
|
:param _TargetGroupInstances: 目标组绑定的后端服务器
|
335
335
|
:type TargetGroupInstances: list of TargetGroupInstance
|
336
336
|
:param _Protocol: 网关负载均衡目标组协议。
|
337
337
|
- TENCENT_GENEVE :GENEVE 标准协议
|
338
|
-
- AWS_GENEVE:GENEVE
|
338
|
+
- AWS_GENEVE:GENEVE 兼容协议
|
339
339
|
:type Protocol: str
|
340
340
|
:param _HealthCheck: 健康检查设置。
|
341
341
|
:type HealthCheck: :class:`tencentcloud.gwlb.v20240906.models.TargetGroupHealthCheck`
|
@@ -378,7 +378,7 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
378
378
|
|
379
379
|
@property
|
380
380
|
def Port(self):
|
381
|
-
"""目标组的默认端口, 后续添加服务器时可使用该默认端口。Port和TargetGroupInstances.N中的port
|
381
|
+
"""目标组的默认端口, 后续添加服务器时可使用该默认端口。Port和TargetGroupInstances.N中的port二者必填其一。仅支持6081。
|
382
382
|
:rtype: int
|
383
383
|
"""
|
384
384
|
return self._Port
|
@@ -402,7 +402,7 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
402
402
|
def Protocol(self):
|
403
403
|
"""网关负载均衡目标组协议。
|
404
404
|
- TENCENT_GENEVE :GENEVE 标准协议
|
405
|
-
- AWS_GENEVE:GENEVE
|
405
|
+
- AWS_GENEVE:GENEVE 兼容协议
|
406
406
|
:rtype: str
|
407
407
|
"""
|
408
408
|
return self._Protocol
|
@@ -1006,6 +1006,10 @@ class DescribeTargetGroupInstancesRequest(AbstractModel):
|
|
1006
1006
|
def __init__(self):
|
1007
1007
|
r"""
|
1008
1008
|
:param _Filters: 过滤条件,当前仅支持TargetGroupId,BindIP,InstanceId过滤。
|
1009
|
+
|
1010
|
+
- TargetGroupId - String - 是否必填:否 - (过滤条件)目标组ID,如“lbtg-5xunivs0”。
|
1011
|
+
- BindIP - String - 是否必填:否 - (过滤条件)目标组绑定实例的IP地址,如“10.1.1.1”
|
1012
|
+
- InstanceId - String - 是否必填:否 - (过滤条件)目标组绑定实例的名称,如“ins_name”
|
1009
1013
|
:type Filters: list of Filter
|
1010
1014
|
:param _Limit: 显示数量限制,默认20。
|
1011
1015
|
:type Limit: int
|
@@ -1019,6 +1023,10 @@ class DescribeTargetGroupInstancesRequest(AbstractModel):
|
|
1019
1023
|
@property
|
1020
1024
|
def Filters(self):
|
1021
1025
|
"""过滤条件,当前仅支持TargetGroupId,BindIP,InstanceId过滤。
|
1026
|
+
|
1027
|
+
- TargetGroupId - String - 是否必填:否 - (过滤条件)目标组ID,如“lbtg-5xunivs0”。
|
1028
|
+
- BindIP - String - 是否必填:否 - (过滤条件)目标组绑定实例的IP地址,如“10.1.1.1”
|
1029
|
+
- InstanceId - String - 是否必填:否 - (过滤条件)目标组绑定实例的名称,如“ins_name”
|
1022
1030
|
:rtype: list of Filter
|
1023
1031
|
"""
|
1024
1032
|
return self._Filters
|
@@ -1156,7 +1164,10 @@ class DescribeTargetGroupListRequest(AbstractModel):
|
|
1156
1164
|
r"""
|
1157
1165
|
:param _TargetGroupIds: 目标组ID数组。
|
1158
1166
|
:type TargetGroupIds: list of str
|
1159
|
-
:param _Filters:
|
1167
|
+
:param _Filters: 过滤条件数组。
|
1168
|
+
|
1169
|
+
- TargetGroupVpcId - String - 是否必填:否 - (过滤条件)按照目标组所属的私有网络过滤,如“vpc-bhqk****”。
|
1170
|
+
- TargetGroupName - String - 是否必填:否 - (过滤条件)按照目标组的名称过滤,如“tg_name”
|
1160
1171
|
:type Filters: list of Filter
|
1161
1172
|
:param _Offset: 显示的偏移起始量。
|
1162
1173
|
:type Offset: int
|
@@ -1181,7 +1192,10 @@ class DescribeTargetGroupListRequest(AbstractModel):
|
|
1181
1192
|
|
1182
1193
|
@property
|
1183
1194
|
def Filters(self):
|
1184
|
-
"""
|
1195
|
+
"""过滤条件数组。
|
1196
|
+
|
1197
|
+
- TargetGroupVpcId - String - 是否必填:否 - (过滤条件)按照目标组所属的私有网络过滤,如“vpc-bhqk****”。
|
1198
|
+
- TargetGroupName - String - 是否必填:否 - (过滤条件)按照目标组的名称过滤,如“tg_name”
|
1185
1199
|
:rtype: list of Filter
|
1186
1200
|
"""
|
1187
1201
|
return self._Filters
|
@@ -1309,7 +1323,10 @@ class DescribeTargetGroupsRequest(AbstractModel):
|
|
1309
1323
|
:type Limit: int
|
1310
1324
|
:param _Offset: 显示的偏移起始量。
|
1311
1325
|
:type Offset: int
|
1312
|
-
:param _Filters:
|
1326
|
+
:param _Filters: 过滤条件数组。
|
1327
|
+
|
1328
|
+
- TargetGroupVpcId - String - 是否必填:否 - (过滤条件)按照目标组所属的私有网络过滤,如“vpc-bhqk****”。
|
1329
|
+
- TargetGroupName - String - 是否必填:否 - (过滤条件)按照目标组的名称过滤,如“tg_name”
|
1313
1330
|
:type Filters: list of Filter
|
1314
1331
|
"""
|
1315
1332
|
self._TargetGroupIds = None
|
@@ -1352,7 +1369,10 @@ class DescribeTargetGroupsRequest(AbstractModel):
|
|
1352
1369
|
|
1353
1370
|
@property
|
1354
1371
|
def Filters(self):
|
1355
|
-
"""
|
1372
|
+
"""过滤条件数组。
|
1373
|
+
|
1374
|
+
- TargetGroupVpcId - String - 是否必填:否 - (过滤条件)按照目标组所属的私有网络过滤,如“vpc-bhqk****”。
|
1375
|
+
- TargetGroupName - String - 是否必填:否 - (过滤条件)按照目标组的名称过滤,如“tg_name”
|
1356
1376
|
:rtype: list of Filter
|
1357
1377
|
"""
|
1358
1378
|
return self._Filters
|
@@ -2653,7 +2673,7 @@ class TargetGroupBackend(AbstractModel):
|
|
2653
2673
|
:type InstanceId: str
|
2654
2674
|
:param _Port: 后端服务的监听端口
|
2655
2675
|
:type Port: int
|
2656
|
-
:param _Weight:
|
2676
|
+
:param _Weight: 后端服务的转发权重,取值为0或16
|
2657
2677
|
:type Weight: int
|
2658
2678
|
:param _PublicIpAddresses: 后端服务的外网 IP
|
2659
2679
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2732,7 +2752,7 @@ class TargetGroupBackend(AbstractModel):
|
|
2732
2752
|
|
2733
2753
|
@property
|
2734
2754
|
def Weight(self):
|
2735
|
-
"""
|
2755
|
+
"""后端服务的转发权重,取值为0或16
|
2736
2756
|
:rtype: int
|
2737
2757
|
"""
|
2738
2758
|
return self._Weight
|
@@ -2845,10 +2865,10 @@ class TargetGroupHealthCheck(AbstractModel):
|
|
2845
2865
|
r"""
|
2846
2866
|
:param _HealthSwitch: 是否开启健康检查。
|
2847
2867
|
:type HealthSwitch: bool
|
2848
|
-
:param _Protocol: 健康检查使用的协议。支持
|
2868
|
+
:param _Protocol: 健康检查使用的协议。支持PING和TCP两种方式,默认为PING。
|
2849
2869
|
|
2850
|
-
-
|
2851
|
-
-
|
2870
|
+
- icmp: 使用PING的方式进行健康检查
|
2871
|
+
- tcp: 使用TCP连接的方式进行健康检查
|
2852
2872
|
:type Protocol: str
|
2853
2873
|
:param _Port: 健康检查端口,探测协议为tcp时,该参数必填。
|
2854
2874
|
|
@@ -2883,10 +2903,10 @@ class TargetGroupHealthCheck(AbstractModel):
|
|
2883
2903
|
|
2884
2904
|
@property
|
2885
2905
|
def Protocol(self):
|
2886
|
-
"""健康检查使用的协议。支持
|
2906
|
+
"""健康检查使用的协议。支持PING和TCP两种方式,默认为PING。
|
2887
2907
|
|
2888
|
-
-
|
2889
|
-
-
|
2908
|
+
- icmp: 使用PING的方式进行健康检查
|
2909
|
+
- tcp: 使用TCP连接的方式进行健康检查
|
2890
2910
|
:rtype: str
|
2891
2911
|
"""
|
2892
2912
|
return self._Protocol
|
@@ -2993,11 +3013,13 @@ class TargetGroupInfo(AbstractModel):
|
|
2993
3013
|
:param _AssociatedRule: 关联到的规则数组。在DescribeTargetGroupList接口调用时无法获取到该参数。
|
2994
3014
|
注意:此字段可能返回 null,表示取不到有效值。
|
2995
3015
|
:type AssociatedRule: list of AssociationItem
|
2996
|
-
:param _Protocol:
|
3016
|
+
:param _Protocol: 网关负载均衡目标组协议。
|
3017
|
+
- tencent_geneve :GENEVE 标准协议
|
3018
|
+
- aws_geneve:GENEVE 兼容协议
|
2997
3019
|
注意:此字段可能返回 null,表示取不到有效值。
|
2998
3020
|
:type Protocol: str
|
2999
|
-
:param _ScheduleAlgorithm:
|
3000
|
-
|
3021
|
+
:param _ScheduleAlgorithm: 均衡算法。
|
3022
|
+
- ip_hash_3_elastic:弹性哈希
|
3001
3023
|
注意:此字段可能返回 null,表示取不到有效值。
|
3002
3024
|
:type ScheduleAlgorithm: str
|
3003
3025
|
:param _HealthCheck: 健康检查详情。
|
@@ -3108,7 +3130,9 @@ ip_hash_3:弹性哈希
|
|
3108
3130
|
|
3109
3131
|
@property
|
3110
3132
|
def Protocol(self):
|
3111
|
-
"""
|
3133
|
+
"""网关负载均衡目标组协议。
|
3134
|
+
- tencent_geneve :GENEVE 标准协议
|
3135
|
+
- aws_geneve:GENEVE 兼容协议
|
3112
3136
|
注意:此字段可能返回 null,表示取不到有效值。
|
3113
3137
|
:rtype: str
|
3114
3138
|
"""
|
@@ -3120,8 +3144,8 @@ ip_hash_3:弹性哈希
|
|
3120
3144
|
|
3121
3145
|
@property
|
3122
3146
|
def ScheduleAlgorithm(self):
|
3123
|
-
"""
|
3124
|
-
|
3147
|
+
"""均衡算法。
|
3148
|
+
- ip_hash_3_elastic:弹性哈希
|
3125
3149
|
注意:此字段可能返回 null,表示取不到有效值。
|
3126
3150
|
:rtype: str
|
3127
3151
|
"""
|
@@ -4152,7 +4152,7 @@ class RunThreadRequest(AbstractModel):
|
|
4152
4152
|
r"""
|
4153
4153
|
:param _ThreadID: 会话 ID
|
4154
4154
|
:type ThreadID: str
|
4155
|
-
:param _AssistantID: 助手 ID
|
4155
|
+
:param _AssistantID: 助手 ID(目前未使用,留空)
|
4156
4156
|
:type AssistantID: str
|
4157
4157
|
:param _Model: 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo。各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。注意:不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。
|
4158
4158
|
:type Model: str
|
@@ -4198,7 +4198,7 @@ class RunThreadRequest(AbstractModel):
|
|
4198
4198
|
|
4199
4199
|
@property
|
4200
4200
|
def AssistantID(self):
|
4201
|
-
"""助手 ID
|
4201
|
+
"""助手 ID(目前未使用,留空)
|
4202
4202
|
:rtype: str
|
4203
4203
|
"""
|
4204
4204
|
return self._AssistantID
|
@@ -2904,7 +2904,7 @@ class AddUserDeviceRequest(AbstractModel):
|
|
2904
2904
|
r"""
|
2905
2905
|
:param _Name: 设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)
|
2906
2906
|
:type Name: str
|
2907
|
-
:param _AccessProtocol: 设备接入协议(1:RTMP,2:GB,3:GW,
|
2907
|
+
:param _AccessProtocol: 设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)
|
2908
2908
|
:type AccessProtocol: int
|
2909
2909
|
:param _Type: 设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,IVCP,则设备类型只能选择IPC)
|
2910
2910
|
:type Type: int
|
@@ -2965,7 +2965,7 @@ class AddUserDeviceRequest(AbstractModel):
|
|
2965
2965
|
|
2966
2966
|
@property
|
2967
2967
|
def AccessProtocol(self):
|
2968
|
-
"""设备接入协议(1:RTMP,2:GB,3:GW,
|
2968
|
+
"""设备接入协议(1:RTMP,2:GB,3:GW,6:ISUP)
|
2969
2969
|
:rtype: int
|
2970
2970
|
"""
|
2971
2971
|
return self._AccessProtocol
|
@@ -2201,7 +2201,7 @@ video 纯视频
|
|
2201
2201
|
:type RTCAudienceNumber: int
|
2202
2202
|
:param _AudienceType: 观看类型。互动观看 (默认)
|
2203
2203
|
:type AudienceType: int
|
2204
|
-
:param _RecordLayout:
|
2204
|
+
:param _RecordLayout: 录制模板。未配置时默认取值0。录制模板枚举值参考:https://cloud.tencent.com/document/product/1639/89744
|
2205
2205
|
:type RecordLayout: int
|
2206
2206
|
:param _GroupId: 房间绑定的群组ID,非空时限制组成员进入
|
2207
2207
|
:type GroupId: str
|
@@ -2230,7 +2230,8 @@ video 纯视频
|
|
2230
2230
|
:type EnableAutoStart: int
|
2231
2231
|
:param _RecordBackground: 录制文件背景图片,支持png、jpg、jpeg、bmp格式,暂不支持透明通道
|
2232
2232
|
:type RecordBackground: str
|
2233
|
-
:param _RecordScene:
|
2233
|
+
:param _RecordScene: 录制自定义场景。注意:仅recordlayout=9的时候此参数有效。需注意各类参数配置正确能够生效。不然会造成录制失败,失败后无法补救。
|
2234
|
+
数据内容为用户自定义场景参数,数据格式为json键值对方式,其中键值对的value为string类型。
|
2234
2235
|
:type RecordScene: str
|
2235
2236
|
:param _RecordLang: 录制自定义语言,仅recordlayout=9的时候此参数有效
|
2236
2237
|
:type RecordLang: str
|
@@ -2450,7 +2451,7 @@ video 纯视频
|
|
2450
2451
|
|
2451
2452
|
@property
|
2452
2453
|
def RecordLayout(self):
|
2453
|
-
"""
|
2454
|
+
"""录制模板。未配置时默认取值0。录制模板枚举值参考:https://cloud.tencent.com/document/product/1639/89744
|
2454
2455
|
:rtype: int
|
2455
2456
|
"""
|
2456
2457
|
return self._RecordLayout
|
@@ -2587,7 +2588,8 @@ video 纯视频
|
|
2587
2588
|
|
2588
2589
|
@property
|
2589
2590
|
def RecordScene(self):
|
2590
|
-
"""
|
2591
|
+
"""录制自定义场景。注意:仅recordlayout=9的时候此参数有效。需注意各类参数配置正确能够生效。不然会造成录制失败,失败后无法补救。
|
2592
|
+
数据内容为用户自定义场景参数,数据格式为json键值对方式,其中键值对的value为string类型。
|
2591
2593
|
:rtype: str
|
2592
2594
|
"""
|
2593
2595
|
return self._RecordScene
|
@@ -2834,7 +2834,7 @@ class CasterInputInfo(AbstractModel):
|
|
2834
2834
|
def __init__(self):
|
2835
2835
|
r"""
|
2836
2836
|
:param _InputIndex: 输入源Index。
|
2837
|
-
范围[1,
|
2837
|
+
范围[1, 24]
|
2838
2838
|
:type InputIndex: int
|
2839
2839
|
:param _InputType: 输入源类型。
|
2840
2840
|
范围[0,1,2,3,4]。
|
@@ -2894,7 +2894,7 @@ class CasterInputInfo(AbstractModel):
|
|
2894
2894
|
@property
|
2895
2895
|
def InputIndex(self):
|
2896
2896
|
"""输入源Index。
|
2897
|
-
范围[1,
|
2897
|
+
范围[1, 24]
|
2898
2898
|
:rtype: int
|
2899
2899
|
"""
|
2900
2900
|
return self._InputIndex
|
@@ -5110,7 +5110,7 @@ class CreateCasterInputPushUrlRequest(AbstractModel):
|
|
5110
5110
|
:param _CasterId: 导播台ID
|
5111
5111
|
:type CasterId: int
|
5112
5112
|
:param _InputIndex: 请求生成推流地址的输入Index。
|
5113
|
-
允许范围[1,
|
5113
|
+
允许范围[1,24]。
|
5114
5114
|
:type InputIndex: int
|
5115
5115
|
:param _Protocol: 生成推流地址协议。
|
5116
5116
|
范围[rtmp,webrtc]。
|
@@ -5135,7 +5135,7 @@ class CreateCasterInputPushUrlRequest(AbstractModel):
|
|
5135
5135
|
@property
|
5136
5136
|
def InputIndex(self):
|
5137
5137
|
"""请求生成推流地址的输入Index。
|
5138
|
-
允许范围[1,
|
5138
|
+
允许范围[1,24]。
|
5139
5139
|
:rtype: int
|
5140
5140
|
"""
|
5141
5141
|
return self._InputIndex
|
@@ -22334,12 +22334,12 @@ class DescribePushBandwidthAndFluxListRequest(AbstractModel):
|
|
22334
22334
|
def __init__(self):
|
22335
22335
|
r"""
|
22336
22336
|
:param _StartTime: 查询开始时间点,精确到分钟粒度,接口查询支持两种时间格式:
|
22337
|
-
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543
|
22337
|
+
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543#52)。
|
22338
22338
|
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
|
22339
22339
|
支持最近两个月的查询,查询开始和结束时间跨度不支持超过31天。
|
22340
22340
|
:type StartTime: str
|
22341
22341
|
:param _EndTime: 查询结束时间点,精确到分钟粒度,接口查询支持两种时间格式:
|
22342
|
-
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543
|
22342
|
+
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543#52)。
|
22343
22343
|
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
|
22344
22344
|
支持最近两个月的查询,查询开始和结束时间跨度不支持超过31天。
|
22345
22345
|
:type EndTime: str
|
@@ -22382,7 +22382,7 @@ https://cloud.tencent.com/document/product/267/34019。
|
|
22382
22382
|
@property
|
22383
22383
|
def StartTime(self):
|
22384
22384
|
"""查询开始时间点,精确到分钟粒度,接口查询支持两种时间格式:
|
22385
|
-
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543
|
22385
|
+
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543#52)。
|
22386
22386
|
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
|
22387
22387
|
支持最近两个月的查询,查询开始和结束时间跨度不支持超过31天。
|
22388
22388
|
:rtype: str
|
@@ -22396,7 +22396,7 @@ https://cloud.tencent.com/document/product/267/34019。
|
|
22396
22396
|
@property
|
22397
22397
|
def EndTime(self):
|
22398
22398
|
"""查询结束时间点,精确到分钟粒度,接口查询支持两种时间格式:
|
22399
|
-
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543
|
22399
|
+
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543#52)。
|
22400
22400
|
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
|
22401
22401
|
支持最近两个月的查询,查询开始和结束时间跨度不支持超过31天。
|
22402
22402
|
:rtype: str
|
@@ -810,8 +810,10 @@ class ConstraintRange(AbstractModel):
|
|
810
810
|
def __init__(self):
|
811
811
|
r"""
|
812
812
|
:param _Min: 约束类型为section时的最小值
|
813
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
813
814
|
:type Min: str
|
814
815
|
:param _Max: 约束类型为section时的最大值
|
816
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
815
817
|
:type Max: str
|
816
818
|
"""
|
817
819
|
self._Min = None
|
@@ -820,6 +822,7 @@ class ConstraintRange(AbstractModel):
|
|
820
822
|
@property
|
821
823
|
def Min(self):
|
822
824
|
"""约束类型为section时的最小值
|
825
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
823
826
|
:rtype: str
|
824
827
|
"""
|
825
828
|
return self._Min
|
@@ -831,6 +834,7 @@ class ConstraintRange(AbstractModel):
|
|
831
834
|
@property
|
832
835
|
def Max(self):
|
833
836
|
"""约束类型为section时的最大值
|
837
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
834
838
|
:rtype: str
|
835
839
|
"""
|
836
840
|
return self._Max
|
@@ -1707,7 +1711,7 @@ class CreateDedicatedClusterDBInstanceRequest(AbstractModel):
|
|
1707
1711
|
:type VpcId: str
|
1708
1712
|
:param _SubnetId: 子网Id
|
1709
1713
|
:type SubnetId: str
|
1710
|
-
:param _DbVersionId: db类型,不传默认0
|
1714
|
+
:param _DbVersionId: db类型,不传默认8.0
|
1711
1715
|
:type DbVersionId: str
|
1712
1716
|
:param _Manual: (废弃)是否手动指定一组服务器分配, 运维使用
|
1713
1717
|
:type Manual: int
|
@@ -1879,7 +1883,7 @@ class CreateDedicatedClusterDBInstanceRequest(AbstractModel):
|
|
1879
1883
|
|
1880
1884
|
@property
|
1881
1885
|
def DbVersionId(self):
|
1882
|
-
"""db类型,不传默认0
|
1886
|
+
"""db类型,不传默认8.0
|
1883
1887
|
:rtype: str
|
1884
1888
|
"""
|
1885
1889
|
return self._DbVersionId
|
@@ -6937,9 +6941,9 @@ class DescribeDBInstancesRequest(AbstractModel):
|
|
6937
6941
|
:type Tags: list of Tag
|
6938
6942
|
:param _FilterInstanceType: 实例类型过滤,1-独享实例,2-主实例,3-灾备实例,多个按逗号分隔
|
6939
6943
|
:type FilterInstanceType: str
|
6940
|
-
:param _Status:
|
6944
|
+
:param _Status: 按照实例状态进行筛选。状态值 -2:已删除; -1:已隔离;0:创建中;1:流程处理中;2:运行中
|
6941
6945
|
:type Status: list of int
|
6942
|
-
:param _ExcludeStatus:
|
6946
|
+
:param _ExcludeStatus: 排除实例状态。状态值 -2:已删除; -1:已隔离;0:创建中;1:流程处理中;2:运行中
|
6943
6947
|
:type ExcludeStatus: list of int
|
6944
6948
|
"""
|
6945
6949
|
self._InstanceIds = None
|
@@ -7163,7 +7167,7 @@ class DescribeDBInstancesRequest(AbstractModel):
|
|
7163
7167
|
|
7164
7168
|
@property
|
7165
7169
|
def Status(self):
|
7166
|
-
"""
|
7170
|
+
"""按照实例状态进行筛选。状态值 -2:已删除; -1:已隔离;0:创建中;1:流程处理中;2:运行中
|
7167
7171
|
:rtype: list of int
|
7168
7172
|
"""
|
7169
7173
|
return self._Status
|
@@ -7174,7 +7178,7 @@ class DescribeDBInstancesRequest(AbstractModel):
|
|
7174
7178
|
|
7175
7179
|
@property
|
7176
7180
|
def ExcludeStatus(self):
|
7177
|
-
"""
|
7181
|
+
"""排除实例状态。状态值 -2:已删除; -1:已隔离;0:创建中;1:流程处理中;2:运行中
|
7178
7182
|
:rtype: list of int
|
7179
7183
|
"""
|
7180
7184
|
return self._ExcludeStatus
|
@@ -8501,14 +8505,14 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
8501
8505
|
|
8502
8506
|
def __init__(self):
|
8503
8507
|
r"""
|
8504
|
-
:param _InstanceId: 实例 ID,形如:
|
8508
|
+
:param _InstanceId: 实例 ID,形如:tdsql-e9tklsgz。
|
8505
8509
|
:type InstanceId: str
|
8506
8510
|
"""
|
8507
8511
|
self._InstanceId = None
|
8508
8512
|
|
8509
8513
|
@property
|
8510
8514
|
def InstanceId(self):
|
8511
|
-
"""实例 ID,形如:
|
8515
|
+
"""实例 ID,形如:tdsql-e9tklsgz。
|
8512
8516
|
:rtype: str
|
8513
8517
|
"""
|
8514
8518
|
return self._InstanceId
|
@@ -26,6 +26,9 @@ INVALIDPARAMETER = 'InvalidParameter'
|
|
26
26
|
# 当前子账号无权执行该操作。
|
27
27
|
INVALIDPARAMETER_PERMISSIONDENIED = 'InvalidParameter.PermissionDenied'
|
28
28
|
|
29
|
+
# 可用区已关闭售卖。
|
30
|
+
INVALIDPARAMETER_ZONECLOSED = 'InvalidParameter.ZoneClosed'
|
31
|
+
|
29
32
|
# 非法的实例名。
|
30
33
|
INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = 'InvalidParameterValue.IllegalInstanceName'
|
31
34
|
|
@@ -44,6 +47,12 @@ INVALIDPARAMETERVALUE_LIMITPARAOUTOFRANGE = 'InvalidParameterValue.LimitParaOutO
|
|
44
47
|
# 实例锁定失败。
|
45
48
|
INVALIDPARAMETERVALUE_LOCKFAILED = 'InvalidParameterValue.LockFailed'
|
46
49
|
|
50
|
+
# 错误的机型。
|
51
|
+
INVALIDPARAMETERVALUE_MACHINETYPEERROR = 'InvalidParameterValue.MachineTypeError'
|
52
|
+
|
53
|
+
# 实例版本错误。
|
54
|
+
INVALIDPARAMETERVALUE_MONGOVERSIONERROR = 'InvalidParameterValue.MongoVersionError'
|
55
|
+
|
47
56
|
# 实例版本不支持查询客户端信息。
|
48
57
|
INVALIDPARAMETERVALUE_MONGOVERSIONNOTSUPPORTQUERYCLIENT = 'InvalidParameterValue.MongoVersionNotSupportQueryClient'
|
49
58
|
|
@@ -77,9 +86,15 @@ INVALIDPARAMETERVALUE_REGIONERROR = 'InvalidParameterValue.RegionError'
|
|
77
86
|
# 地域尚不支持查询客户端信息。
|
78
87
|
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTQUERYCLIENT = 'InvalidParameterValue.RegionNotSupportQueryClient'
|
79
88
|
|
89
|
+
# 从节点数错误。
|
90
|
+
INVALIDPARAMETERVALUE_SECONDARYNUMERROR = 'InvalidParameterValue.SecondaryNumError'
|
91
|
+
|
80
92
|
# slowMS参数取值范围[100,65536]。
|
81
93
|
INVALIDPARAMETERVALUE_SLOWMSBELOWLIMIT = 'InvalidParameterValue.SlowMSBelowLimit'
|
82
94
|
|
95
|
+
# 购买规格错误。
|
96
|
+
INVALIDPARAMETERVALUE_SPECNOTONSALE = 'InvalidParameterValue.SpecNotOnSale'
|
97
|
+
|
83
98
|
# 起始时间晚于结束时间。
|
84
99
|
INVALIDPARAMETERVALUE_STARTTIMENOTBEFORETHANENDTIME = 'InvalidParameterValue.StartTimeNotBeforeThanEndTime'
|
85
100
|
|
@@ -480,9 +480,9 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
480
480
|
:type Memory: int
|
481
481
|
:param _Volume: 实例硬盘大小,单位:GB
|
482
482
|
:type Volume: int
|
483
|
-
:param _MongoVersion:
|
483
|
+
:param _MongoVersion: 指版本信息。具体支持的版本信息 ,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。 - MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。 - MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。 - MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。 - MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。 - MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。 - MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
|
484
484
|
:type MongoVersion: str
|
485
|
-
:param _MachineCode: 机器类型,
|
485
|
+
:param _MachineCode: 机器类型,HIO10G:高IO万兆。
|
486
486
|
:type MachineCode: str
|
487
487
|
:param _GoodsNum: 实例数量,默认值为1, 最小值1,最大值为10
|
488
488
|
:type GoodsNum: int
|
@@ -500,6 +500,8 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
500
500
|
:type UniqVpcId: str
|
501
501
|
:param _UniqSubnetId: 私有网络下的子网ID,如果设置了 VpcId,则 SubnetId必填
|
502
502
|
:type UniqSubnetId: str
|
503
|
+
:param _InstanceType: 实例类型,REPLSET-副本集,SHARD-分片集群,默认为REPLSET
|
504
|
+
:type InstanceType: str
|
503
505
|
"""
|
504
506
|
self._SecondaryNum = None
|
505
507
|
self._Memory = None
|
@@ -514,6 +516,7 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
514
516
|
self._SecurityGroup = None
|
515
517
|
self._UniqVpcId = None
|
516
518
|
self._UniqSubnetId = None
|
519
|
+
self._InstanceType = None
|
517
520
|
|
518
521
|
@property
|
519
522
|
def SecondaryNum(self):
|
@@ -550,7 +553,7 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
550
553
|
|
551
554
|
@property
|
552
555
|
def MongoVersion(self):
|
553
|
-
"""
|
556
|
+
"""指版本信息。具体支持的版本信息 ,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。 - MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。 - MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。 - MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。 - MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。 - MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。 - MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
|
554
557
|
:rtype: str
|
555
558
|
"""
|
556
559
|
return self._MongoVersion
|
@@ -561,7 +564,7 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
561
564
|
|
562
565
|
@property
|
563
566
|
def MachineCode(self):
|
564
|
-
"""机器类型,
|
567
|
+
"""机器类型,HIO10G:高IO万兆。
|
565
568
|
:rtype: str
|
566
569
|
"""
|
567
570
|
return self._MachineCode
|
@@ -658,6 +661,17 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
658
661
|
def UniqSubnetId(self, UniqSubnetId):
|
659
662
|
self._UniqSubnetId = UniqSubnetId
|
660
663
|
|
664
|
+
@property
|
665
|
+
def InstanceType(self):
|
666
|
+
"""实例类型,REPLSET-副本集,SHARD-分片集群,默认为REPLSET
|
667
|
+
:rtype: str
|
668
|
+
"""
|
669
|
+
return self._InstanceType
|
670
|
+
|
671
|
+
@InstanceType.setter
|
672
|
+
def InstanceType(self, InstanceType):
|
673
|
+
self._InstanceType = InstanceType
|
674
|
+
|
661
675
|
|
662
676
|
def _deserialize(self, params):
|
663
677
|
self._SecondaryNum = params.get("SecondaryNum")
|
@@ -673,6 +687,7 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
673
687
|
self._SecurityGroup = params.get("SecurityGroup")
|
674
688
|
self._UniqVpcId = params.get("UniqVpcId")
|
675
689
|
self._UniqSubnetId = params.get("UniqSubnetId")
|
690
|
+
self._InstanceType = params.get("InstanceType")
|
676
691
|
memeber_set = set(params.keys())
|
677
692
|
for name, value in vars(self).items():
|
678
693
|
property_name = name[1:]
|
@@ -851,7 +866,7 @@ class DescribeDBInstancesRequest(AbstractModel):
|
|
851
866
|
|
852
867
|
def __init__(self):
|
853
868
|
r"""
|
854
|
-
:param _InstanceIds: 实例ID列表,格式如:cmgo-
|
869
|
+
:param _InstanceIds: 实例ID列表,格式如:cmgo-p8vn****。与云数据库控制台页面中显示的实例ID相同。
|
855
870
|
:type InstanceIds: list of str
|
856
871
|
:param _InstanceType: 实例类型,取值范围:
|
857
872
|
<ul><li>0: 所有实例</li><li>1: 正式实例</li><li>2: 临时实例</li><li>3: 只读实例</li><li>-1: 正式实例+只读+灾备实例</li></ul>
|
@@ -894,7 +909,7 @@ class DescribeDBInstancesRequest(AbstractModel):
|
|
894
909
|
|
895
910
|
@property
|
896
911
|
def InstanceIds(self):
|
897
|
-
"""实例ID列表,格式如:cmgo-
|
912
|
+
"""实例ID列表,格式如:cmgo-p8vn****。与云数据库控制台页面中显示的实例ID相同。
|
898
913
|
:rtype: list of str
|
899
914
|
"""
|
900
915
|
return self._InstanceIds
|
@@ -2349,11 +2364,11 @@ class SetPasswordRequest(AbstractModel):
|
|
2349
2364
|
|
2350
2365
|
def __init__(self):
|
2351
2366
|
r"""
|
2352
|
-
:param _InstanceId: 实例ID,格式如:cmgo-
|
2367
|
+
:param _InstanceId: 实例ID,格式如:cmgo-p8vn****。与云数据库控制台页面中显示的实例ID相同
|
2353
2368
|
:type InstanceId: str
|
2354
2369
|
:param _UserName: 实例账户名。初始化实例密码,本参数传mongouser。
|
2355
2370
|
:type UserName: str
|
2356
|
-
:param _Password:
|
2371
|
+
:param _Password: 指定账户的新密码, 密码格式为8-32个字符长度,至少包含字母、数字和字符(!@#%^*()_)中的两种
|
2357
2372
|
:type Password: str
|
2358
2373
|
"""
|
2359
2374
|
self._InstanceId = None
|
@@ -2362,7 +2377,7 @@ class SetPasswordRequest(AbstractModel):
|
|
2362
2377
|
|
2363
2378
|
@property
|
2364
2379
|
def InstanceId(self):
|
2365
|
-
"""实例ID,格式如:cmgo-
|
2380
|
+
"""实例ID,格式如:cmgo-p8vn****。与云数据库控制台页面中显示的实例ID相同
|
2366
2381
|
:rtype: str
|
2367
2382
|
"""
|
2368
2383
|
return self._InstanceId
|
@@ -2384,7 +2399,7 @@ class SetPasswordRequest(AbstractModel):
|
|
2384
2399
|
|
2385
2400
|
@property
|
2386
2401
|
def Password(self):
|
2387
|
-
"""
|
2402
|
+
"""指定账户的新密码, 密码格式为8-32个字符长度,至少包含字母、数字和字符(!@#%^*()_)中的两种
|
2388
2403
|
:rtype: str
|
2389
2404
|
"""
|
2390
2405
|
return self._Password
|
@@ -3119,7 +3134,7 @@ class UpgradeDBInstanceRequest(AbstractModel):
|
|
3119
3134
|
|
3120
3135
|
def __init__(self):
|
3121
3136
|
r"""
|
3122
|
-
:param _InstanceId: 实例ID,格式如:cmgo-
|
3137
|
+
:param _InstanceId: 实例ID,格式如:cmgo-iga0****。与云数据库控制台页面中显示的实例ID相同
|
3123
3138
|
:type InstanceId: str
|
3124
3139
|
:param _Memory: 升级后的内存大小,单位:GB
|
3125
3140
|
:type Memory: int
|
@@ -3135,7 +3150,7 @@ class UpgradeDBInstanceRequest(AbstractModel):
|
|
3135
3150
|
|
3136
3151
|
@property
|
3137
3152
|
def InstanceId(self):
|
3138
|
-
"""实例ID,格式如:cmgo-
|
3153
|
+
"""实例ID,格式如:cmgo-iga0****。与云数据库控制台页面中显示的实例ID相同
|
3139
3154
|
:rtype: str
|
3140
3155
|
"""
|
3141
3156
|
return self._InstanceId
|
@@ -236,7 +236,6 @@ class MongodbClient(AbstractClient):
|
|
236
236
|
def SetPassword(self, request):
|
237
237
|
"""本接口(SetPassword)用于设置(初始化)MongoDB云数据库实例账户密码。
|
238
238
|
|
239
|
-
|
240
239
|
:param request: Request instance for SetPassword.
|
241
240
|
:type request: :class:`tencentcloud.mongodb.v20180408.models.SetPasswordRequest`
|
242
241
|
:rtype: :class:`tencentcloud.mongodb.v20180408.models.SetPasswordResponse`
|