tencentcloud-sdk-python 3.0.1236__py2.py3-none-any.whl → 3.0.1241__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 (71) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/aiart_client.py +34 -21
  3. tencentcloud/aiart/v20221229/models.py +6 -6
  4. tencentcloud/apigateway/v20180808/apigateway_client.py +23 -0
  5. tencentcloud/apigateway/v20180808/models.py +31 -0
  6. tencentcloud/apm/v20210622/errorcodes.py +3 -3
  7. tencentcloud/ca/__init__.py +0 -0
  8. tencentcloud/ca/v20230228/__init__.py +0 -0
  9. tencentcloud/ca/v20230228/ca_client.py +95 -0
  10. tencentcloud/ca/v20230228/errorcodes.py +30 -0
  11. tencentcloud/ca/v20230228/models.py +398 -0
  12. tencentcloud/ccc/v20200210/ccc_client.py +23 -0
  13. tencentcloud/ccc/v20200210/models.py +331 -0
  14. tencentcloud/cdn/v20180606/models.py +32 -0
  15. tencentcloud/clb/v20180317/models.py +25 -1
  16. tencentcloud/cme/v20191029/models.py +12 -0
  17. tencentcloud/cvm/v20170312/models.py +14 -0
  18. tencentcloud/cwp/v20180228/cwp_client.py +3 -1
  19. tencentcloud/cynosdb/v20190107/cynosdb_client.py +6 -31
  20. tencentcloud/cynosdb/v20190107/models.py +1 -131
  21. tencentcloud/dasb/v20191018/models.py +37 -0
  22. tencentcloud/dts/v20211206/models.py +16 -16
  23. tencentcloud/emr/v20190103/emr_client.py +46 -0
  24. tencentcloud/emr/v20190103/models.py +467 -3
  25. tencentcloud/ess/v20201111/ess_client.py +19 -12
  26. tencentcloud/ess/v20201111/models.py +58 -22
  27. tencentcloud/essbasic/v20210526/essbasic_client.py +11 -9
  28. tencentcloud/essbasic/v20210526/models.py +46 -4
  29. tencentcloud/faceid/v20180301/models.py +28 -0
  30. tencentcloud/hunyuan/v20230901/models.py +1 -0
  31. tencentcloud/iecp/v20210914/iecp_client.py +0 -500
  32. tencentcloud/iecp/v20210914/models.py +2130 -5305
  33. tencentcloud/ims/v20201229/ims_client.py +8 -3
  34. tencentcloud/ims/v20201229/models.py +2 -2
  35. tencentcloud/lcic/v20220817/models.py +1 -1
  36. tencentcloud/lighthouse/v20200324/models.py +2 -2
  37. tencentcloud/monitor/v20180724/models.py +0 -132
  38. tencentcloud/monitor/v20180724/monitor_client.py +0 -50
  39. tencentcloud/ocr/v20181119/models.py +21 -0
  40. tencentcloud/ocr/v20181119/ocr_client.py +1 -1
  41. tencentcloud/omics/v20221128/models.py +245 -29
  42. tencentcloud/organization/v20210331/errorcodes.py +54 -0
  43. tencentcloud/organization/v20210331/models.py +483 -3
  44. tencentcloud/organization/v20210331/organization_client.py +46 -0
  45. tencentcloud/postgres/v20170312/models.py +626 -13
  46. tencentcloud/postgres/v20170312/postgres_client.py +69 -0
  47. tencentcloud/rce/v20201103/models.py +33 -22
  48. tencentcloud/redis/v20180412/errorcodes.py +3 -0
  49. tencentcloud/ses/v20201002/models.py +65 -0
  50. tencentcloud/sms/v20190711/models.py +3 -3
  51. tencentcloud/sms/v20210111/models.py +9 -8
  52. tencentcloud/ssl/v20191205/models.py +75 -0
  53. tencentcloud/tcb/v20180608/models.py +25 -0
  54. tencentcloud/tcss/v20201101/models.py +257 -0
  55. tencentcloud/teo/v20220901/models.py +89 -7
  56. tencentcloud/tke/v20180525/models.py +1 -1
  57. tencentcloud/tke/v20220501/models.py +1 -1
  58. tencentcloud/tse/v20201207/models.py +26 -0
  59. tencentcloud/tsf/v20180326/models.py +0 -58
  60. tencentcloud/tsf/v20180326/tsf_client.py +0 -25
  61. tencentcloud/tts/v20190823/tts_client.py +4 -1
  62. tencentcloud/vod/v20180717/vod_client.py +9 -1
  63. tencentcloud/vpc/v20170312/errorcodes.py +9 -0
  64. tencentcloud/vpc/v20170312/models.py +2107 -176
  65. tencentcloud/vpc/v20170312/vpc_client.py +506 -0
  66. tencentcloud/wedata/v20210820/models.py +18 -0
  67. {tencentcloud_sdk_python-3.0.1236.dist-info → tencentcloud_sdk_python-3.0.1241.dist-info}/METADATA +1 -1
  68. {tencentcloud_sdk_python-3.0.1236.dist-info → tencentcloud_sdk_python-3.0.1241.dist-info}/RECORD +71 -66
  69. {tencentcloud_sdk_python-3.0.1236.dist-info → tencentcloud_sdk_python-3.0.1241.dist-info}/LICENSE +0 -0
  70. {tencentcloud_sdk_python-3.0.1236.dist-info → tencentcloud_sdk_python-3.0.1241.dist-info}/WHEEL +0 -0
  71. {tencentcloud_sdk_python-3.0.1236.dist-info → tencentcloud_sdk_python-3.0.1241.dist-info}/top_level.txt +0 -0
@@ -210,6 +210,29 @@ class PostgresClient(AbstractClient):
210
210
  raise TencentCloudSDKException(type(e).__name__, str(e))
211
211
 
212
212
 
213
+ def CreateDatabase(self, request):
214
+ """此接口用于创建数据库,需指定数据库名及所有者。
215
+
216
+ :param request: Request instance for CreateDatabase.
217
+ :type request: :class:`tencentcloud.postgres.v20170312.models.CreateDatabaseRequest`
218
+ :rtype: :class:`tencentcloud.postgres.v20170312.models.CreateDatabaseResponse`
219
+
220
+ """
221
+ try:
222
+ params = request._serialize()
223
+ headers = request.headers
224
+ body = self.call("CreateDatabase", params, headers=headers)
225
+ response = json.loads(body)
226
+ model = models.CreateDatabaseResponse()
227
+ model._deserialize(response["Response"])
228
+ return model
229
+ except Exception as e:
230
+ if isinstance(e, TencentCloudSDKException):
231
+ raise
232
+ else:
233
+ raise TencentCloudSDKException(type(e).__name__, str(e))
234
+
235
+
213
236
  def CreateInstances(self, request):
214
237
  """本接口 (CreateInstances) 用于创建一个或者多个PostgreSQL实例,通过此接口创建的实例无需进行初始化,可直接使用。
215
238
  <li>实例创建成功后将自动开机启动,实例状态变为“运行中”。</li>
@@ -1065,6 +1088,29 @@ class PostgresClient(AbstractClient):
1065
1088
  raise TencentCloudSDKException(type(e).__name__, str(e))
1066
1089
 
1067
1090
 
1091
+ def DescribeDedicatedClusters(self, request):
1092
+ """查询专属集群
1093
+
1094
+ :param request: Request instance for DescribeDedicatedClusters.
1095
+ :type request: :class:`tencentcloud.postgres.v20170312.models.DescribeDedicatedClustersRequest`
1096
+ :rtype: :class:`tencentcloud.postgres.v20170312.models.DescribeDedicatedClustersResponse`
1097
+
1098
+ """
1099
+ try:
1100
+ params = request._serialize()
1101
+ headers = request.headers
1102
+ body = self.call("DescribeDedicatedClusters", params, headers=headers)
1103
+ response = json.loads(body)
1104
+ model = models.DescribeDedicatedClustersResponse()
1105
+ model._deserialize(response["Response"])
1106
+ return model
1107
+ except Exception as e:
1108
+ if isinstance(e, TencentCloudSDKException):
1109
+ raise
1110
+ else:
1111
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1112
+
1113
+
1068
1114
  def DescribeDefaultParameters(self, request):
1069
1115
  """本接口(DescribeDefaultParameters)主要用于查询某个数据库版本和引擎支持的所有参数。
1070
1116
 
@@ -1895,6 +1941,29 @@ class PostgresClient(AbstractClient):
1895
1941
  raise TencentCloudSDKException(type(e).__name__, str(e))
1896
1942
 
1897
1943
 
1944
+ def ModifyDatabaseOwner(self, request):
1945
+ """修改数据库所有者
1946
+
1947
+ :param request: Request instance for ModifyDatabaseOwner.
1948
+ :type request: :class:`tencentcloud.postgres.v20170312.models.ModifyDatabaseOwnerRequest`
1949
+ :rtype: :class:`tencentcloud.postgres.v20170312.models.ModifyDatabaseOwnerResponse`
1950
+
1951
+ """
1952
+ try:
1953
+ params = request._serialize()
1954
+ headers = request.headers
1955
+ body = self.call("ModifyDatabaseOwner", params, headers=headers)
1956
+ response = json.loads(body)
1957
+ model = models.ModifyDatabaseOwnerResponse()
1958
+ model._deserialize(response["Response"])
1959
+ return model
1960
+ except Exception as e:
1961
+ if isinstance(e, TencentCloudSDKException):
1962
+ raise
1963
+ else:
1964
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1965
+
1966
+
1898
1967
  def ModifyParameterTemplate(self, request):
1899
1968
  """本接口(ModifyParameterTemplate)主要用于修改参数模板名称,描述等配置,也可用于管理参数模板中的参数列表。
1900
1969
 
@@ -178,17 +178,17 @@ class DataAuthorizationInfo(AbstractModel):
178
178
 
179
179
  def __init__(self):
180
180
  r"""
181
- :param _DataProviderName: 客户主体名称。
181
+ :param _DataProviderName: 数据委托方、需求方:客户主体名称。
182
182
 
183
183
  示例值:某某有限公司。
184
184
  :type DataProviderName: str
185
- :param _DataRecipientName: 接收方主体名称。
185
+ :param _DataRecipientName: 数据受托方、提供方:腾讯云主体名称。
186
186
 
187
187
  固定填:腾讯云计算(北京)有限责任公司
188
188
 
189
189
  示例值:腾讯云计算(北京)有限责任公司
190
190
  :type DataRecipientName: str
191
- :param _UserDataType: 客户请求RCE所涉及的用户敏感数据类型,支持多选。实际以接口请求传参为准。
191
+ :param _UserDataType: 客户请求RCE所提供的用户数据类型,支持多选。实际以接口请求传参为准。
192
192
 
193
193
  1-手机号;
194
194
 
@@ -198,42 +198,44 @@ class DataAuthorizationInfo(AbstractModel):
198
198
 
199
199
  4-IP地址;
200
200
 
201
- 5-设备指纹;
202
-
203
201
  999-其它;
204
202
 
205
203
  示例值:[1, 4]
206
204
  :type UserDataType: list of int non-negative
207
- :param _IsAuthorize: 客户是否已经获取用户授权。
208
-
205
+ :param _IsAuthorize: 客户是否已按[合规指南](https://rule.tencent.com/rule/202409130001)要求获取用户授权,同意客户委托腾讯云处理入参信息
209
206
  1-已授权;其它值为未授权。
210
-
211
207
  示例值:1
212
208
  :type IsAuthorize: int
213
- :param _IsPersonalData: 是否是用户个人敏感数据。
214
-
215
- 固定填:1。
216
-
209
+ :param _IsOrderHandling: 客户是否已按[合规指南](https://rule.tencent.com/rule/202409130001)要求获取用户授权,同意腾讯云结合客户提供的信息,对已合法收集的用户数据进行必要处理得出服务结果,并返回给客户。
210
+ 1-已授权;其它值为未授权。
217
211
  示例值:1
218
- :type IsPersonalData: int
212
+ :type IsOrderHandling: int
219
213
  :param _AuthorizationTerm: 客户获得的用户授权期限时间戳(单位秒)。
220
214
 
221
215
  不填默认无固定期限。
222
216
 
223
217
  示例值:1719805604
224
218
  :type AuthorizationTerm: int
225
- :param _PrivacyPolicyLink: 客户获得用户授权所依赖的协议地址。
219
+ :param _PrivacyPolicyLink:
220
+ 客户获得用户授权所依赖的协议地址。
226
221
 
227
- 示例值:https://www.*****.com/*****
222
+ 示例值:https://www.*****.com/*
228
223
  :type PrivacyPolicyLink: str
224
+ :param _IsPersonalData: 是否是用户个人敏感数据。
225
+
226
+ 固定填:1。
227
+
228
+ 示例值:1
229
+ :type IsPersonalData: int
229
230
  """
230
231
  self._DataProviderName = None
231
232
  self._DataRecipientName = None
232
233
  self._UserDataType = None
233
234
  self._IsAuthorize = None
234
- self._IsPersonalData = None
235
+ self._IsOrderHandling = None
235
236
  self._AuthorizationTerm = None
236
237
  self._PrivacyPolicyLink = None
238
+ self._IsPersonalData = None
237
239
 
238
240
  @property
239
241
  def DataProviderName(self):
@@ -268,12 +270,12 @@ class DataAuthorizationInfo(AbstractModel):
268
270
  self._IsAuthorize = IsAuthorize
269
271
 
270
272
  @property
271
- def IsPersonalData(self):
272
- return self._IsPersonalData
273
+ def IsOrderHandling(self):
274
+ return self._IsOrderHandling
273
275
 
274
- @IsPersonalData.setter
275
- def IsPersonalData(self, IsPersonalData):
276
- self._IsPersonalData = IsPersonalData
276
+ @IsOrderHandling.setter
277
+ def IsOrderHandling(self, IsOrderHandling):
278
+ self._IsOrderHandling = IsOrderHandling
277
279
 
278
280
  @property
279
281
  def AuthorizationTerm(self):
@@ -291,15 +293,24 @@ class DataAuthorizationInfo(AbstractModel):
291
293
  def PrivacyPolicyLink(self, PrivacyPolicyLink):
292
294
  self._PrivacyPolicyLink = PrivacyPolicyLink
293
295
 
296
+ @property
297
+ def IsPersonalData(self):
298
+ return self._IsPersonalData
299
+
300
+ @IsPersonalData.setter
301
+ def IsPersonalData(self, IsPersonalData):
302
+ self._IsPersonalData = IsPersonalData
303
+
294
304
 
295
305
  def _deserialize(self, params):
296
306
  self._DataProviderName = params.get("DataProviderName")
297
307
  self._DataRecipientName = params.get("DataRecipientName")
298
308
  self._UserDataType = params.get("UserDataType")
299
309
  self._IsAuthorize = params.get("IsAuthorize")
300
- self._IsPersonalData = params.get("IsPersonalData")
310
+ self._IsOrderHandling = params.get("IsOrderHandling")
301
311
  self._AuthorizationTerm = params.get("AuthorizationTerm")
302
312
  self._PrivacyPolicyLink = params.get("PrivacyPolicyLink")
313
+ self._IsPersonalData = params.get("IsPersonalData")
303
314
  memeber_set = set(params.keys())
304
315
  for name, value in vars(self).items():
305
316
  property_name = name[1:]
@@ -329,5 +329,8 @@ UNSUPPORTEDOPERATION_ISAUTORENEWERROR = 'UnsupportedOperation.IsAutoRenewError'
329
329
  # 实例版本过低。
330
330
  UNSUPPORTEDOPERATION_LIMITPROXYVERSION = 'UnsupportedOperation.LimitProxyVersion'
331
331
 
332
+ # 实例版本过低
333
+ UNSUPPORTEDOPERATION_LOWVERSION = 'UnsupportedOperation.LowVersion'
334
+
332
335
  # 只有集群版实例支持导出备份。
333
336
  UNSUPPORTEDOPERATION_ONLYCLUSTERINSTANCECANEXPORTBACKUP = 'UnsupportedOperation.OnlyClusterInstanceCanExportBackup'
@@ -478,11 +478,71 @@ class CreateCustomBlacklistResponse(AbstractModel):
478
478
 
479
479
  def __init__(self):
480
480
  r"""
481
+ :param _TotalCount: 收件人总数
482
+ 注意:此字段可能返回 null,表示取不到有效值。
483
+ :type TotalCount: int
484
+ :param _ValidCount: 实际上传数量
485
+ 注意:此字段可能返回 null,表示取不到有效值。
486
+ :type ValidCount: int
487
+ :param _TooLongCount: 数据过长数量
488
+ 注意:此字段可能返回 null,表示取不到有效值。
489
+ :type TooLongCount: int
490
+ :param _RepeatCount: 重复数量
491
+ 注意:此字段可能返回 null,表示取不到有效值。
492
+ :type RepeatCount: int
493
+ :param _InvalidCount: 格式不正确数量
494
+ 注意:此字段可能返回 null,表示取不到有效值。
495
+ :type InvalidCount: int
481
496
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
482
497
  :type RequestId: str
483
498
  """
499
+ self._TotalCount = None
500
+ self._ValidCount = None
501
+ self._TooLongCount = None
502
+ self._RepeatCount = None
503
+ self._InvalidCount = None
484
504
  self._RequestId = None
485
505
 
506
+ @property
507
+ def TotalCount(self):
508
+ return self._TotalCount
509
+
510
+ @TotalCount.setter
511
+ def TotalCount(self, TotalCount):
512
+ self._TotalCount = TotalCount
513
+
514
+ @property
515
+ def ValidCount(self):
516
+ return self._ValidCount
517
+
518
+ @ValidCount.setter
519
+ def ValidCount(self, ValidCount):
520
+ self._ValidCount = ValidCount
521
+
522
+ @property
523
+ def TooLongCount(self):
524
+ return self._TooLongCount
525
+
526
+ @TooLongCount.setter
527
+ def TooLongCount(self, TooLongCount):
528
+ self._TooLongCount = TooLongCount
529
+
530
+ @property
531
+ def RepeatCount(self):
532
+ return self._RepeatCount
533
+
534
+ @RepeatCount.setter
535
+ def RepeatCount(self, RepeatCount):
536
+ self._RepeatCount = RepeatCount
537
+
538
+ @property
539
+ def InvalidCount(self):
540
+ return self._InvalidCount
541
+
542
+ @InvalidCount.setter
543
+ def InvalidCount(self, InvalidCount):
544
+ self._InvalidCount = InvalidCount
545
+
486
546
  @property
487
547
  def RequestId(self):
488
548
  return self._RequestId
@@ -493,6 +553,11 @@ class CreateCustomBlacklistResponse(AbstractModel):
493
553
 
494
554
 
495
555
  def _deserialize(self, params):
556
+ self._TotalCount = params.get("TotalCount")
557
+ self._ValidCount = params.get("ValidCount")
558
+ self._TooLongCount = params.get("TooLongCount")
559
+ self._RepeatCount = params.get("RepeatCount")
560
+ self._InvalidCount = params.get("InvalidCount")
496
561
  self._RequestId = params.get("RequestId")
497
562
 
498
563
 
@@ -538,7 +538,7 @@ class CallbackStatusStatisticsRequest(AbstractModel):
538
538
  :param _StartDateTime: 开始时间,yyyymmddhh 需要拉取的起始时间,精确到小时。
539
539
  :type StartDateTime: int
540
540
  :param _EndDataTime: 结束时间,yyyymmddhh 需要拉取的截止时间,精确到小时。
541
- 注:EndDataTime 必须大于 StartDateTime。
541
+ 注:EndDataTime 必须大于等于 StartDateTime。
542
542
  :type EndDataTime: int
543
543
  :param _SmsSdkAppid: 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
544
544
  :type SmsSdkAppid: str
@@ -2662,7 +2662,7 @@ class SendStatusStatisticsRequest(AbstractModel):
2662
2662
  :param _StartDateTime: 拉取起始时间,yyyymmddhh 需要拉取的起始时间,精确到小时。
2663
2663
  :type StartDateTime: int
2664
2664
  :param _EndDataTime: 结束时间,yyyymmddhh 需要拉取的截止时间,精确到小时
2665
- 注:EndDataTime 必须大于 StartDateTime。
2665
+ 注:EndDataTime 必须大于等于 StartDateTime。
2666
2666
  :type EndDataTime: int
2667
2667
  :param _SmsSdkAppid: 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
2668
2668
  :type SmsSdkAppid: str
@@ -2926,9 +2926,9 @@ class SmsPackagesStatisticsRequest(AbstractModel):
2926
2926
  :param _SmsSdkAppid: 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
2927
2927
  :type SmsSdkAppid: str
2928
2928
  :param _Limit: 最大上限(需要拉取的套餐包个数)。
2929
+ 注:Limit默认最大值为500,可结合Offset实现分页查询。
2929
2930
  :type Limit: int
2930
2931
  :param _Offset: 偏移量。
2931
- 注:目前固定设置为0。
2932
2932
  :type Offset: int
2933
2933
  """
2934
2934
  self._SmsSdkAppid = None
@@ -523,10 +523,10 @@ class CallbackStatusStatisticsRequest(AbstractModel):
523
523
 
524
524
  def __init__(self):
525
525
  r"""
526
- :param _BeginTime: 起始时间,格式为yyyymmddhh,精确到小时,例如2021050113,表示2021年5月1号13时。
526
+ :param _BeginTime: 起始时间,格式为yyyymmddhh,精确到小时,例如2024050113,表示2024年5月1号13时。
527
527
  :type BeginTime: str
528
- :param _EndTime: 结束时间,格式为yyyymmddhh,精确到小时,例如2021050118,表示2021年5月1号18时。
529
- 注:EndTime 必须大于 BeginTime,且相差不超过32天。
528
+ :param _EndTime: 结束时间,格式为yyyymmddhh,精确到小时,例如2024050118,表示2024年5月1号18时。
529
+ 注:EndTime 必须大于等于 BeginTime,且相差不超过32天。
530
530
  :type EndTime: str
531
531
  :param _SmsSdkAppId: 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
532
532
  :type SmsSdkAppId: str
@@ -3000,10 +3000,10 @@ class SendStatusStatisticsRequest(AbstractModel):
3000
3000
 
3001
3001
  def __init__(self):
3002
3002
  r"""
3003
- :param _BeginTime: 起始时间,格式为yyyymmddhh,精确到小时,例如2021050113,表示2021年5月1号13时。
3003
+ :param _BeginTime: 起始时间,格式为yyyymmddhh,精确到小时,例如2024050113,表示2024年5月1号13时。
3004
3004
  :type BeginTime: str
3005
- :param _EndTime: 结束时间,格式为yyyymmddhh,精确到小时,例如2021050118,表示2021年5月1号18时。
3006
- 注:EndTime 必须大于 BeginTime。
3005
+ :param _EndTime: 结束时间,格式为yyyymmddhh,精确到小时,例如2024050118,表示2024年5月1号18时。
3006
+ 注:EndTime 必须大于等于 BeginTime。
3007
3007
  :type EndTime: str
3008
3008
  :param _SmsSdkAppId: 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
3009
3009
  :type SmsSdkAppId: str
@@ -3231,13 +3231,14 @@ class SmsPackagesStatisticsRequest(AbstractModel):
3231
3231
  :param _SmsSdkAppId: 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
3232
3232
  :type SmsSdkAppId: str
3233
3233
  :param _Limit: 最大上限(需要拉取的套餐包个数)。
3234
+ 注:Limit默认最大值为500,可结合Offset实现分页查询。
3234
3235
  :type Limit: int
3235
3236
  :param _Offset: 偏移量。
3236
3237
  :type Offset: int
3237
- :param _BeginTime: 起始时间,格式为yyyymmddhh,精确到小时,例如2021050113,表示2021年5月1号13时。
3238
+ :param _BeginTime: 起始时间,格式为yyyymmddhh,精确到小时,例如2024050113,表示2024年5月1号13时。
3238
3239
  注:接口会返回 BeginTime 到 EndTime 之间创建的套餐包的统计信息。
3239
3240
  :type BeginTime: str
3240
- :param _EndTime: 结束时间,格式为yyyymmddhh,精确到小时,例如2021050118,表示2021年5月1号18时。
3241
+ :param _EndTime: 结束时间,格式为yyyymmddhh,精确到小时,例如2024050118,表示2024年5月1号18时。
3241
3242
  注:EndTime 必须大于 BeginTime 且小于当前时间。
3242
3243
  :type EndTime: str
3243
3244
  """
@@ -1319,6 +1319,12 @@ class Certificates(AbstractModel):
1319
1319
  :param _CertRevokedTime: 证书吊销完成时间
1320
1320
  注意:此字段可能返回 null,表示取不到有效值。
1321
1321
  :type CertRevokedTime: str
1322
+ :param _HostingResourceTypes: 托管资源类型列表
1323
+ 注意:此字段可能返回 null,表示取不到有效值。
1324
+ :type HostingResourceTypes: list of str
1325
+ :param _HostingConfig: 托管配置信息
1326
+ 注意:此字段可能返回 null,表示取不到有效值。
1327
+ :type HostingConfig: :class:`tencentcloud.ssl.v20191205.models.HostingConfig`
1322
1328
  """
1323
1329
  self._OwnerUin = None
1324
1330
  self._ProjectId = None
@@ -1374,6 +1380,8 @@ class Certificates(AbstractModel):
1374
1380
  self._KeyPasswordCustomFlag = None
1375
1381
  self._SupportDownloadType = None
1376
1382
  self._CertRevokedTime = None
1383
+ self._HostingResourceTypes = None
1384
+ self._HostingConfig = None
1377
1385
 
1378
1386
  @property
1379
1387
  def OwnerUin(self):
@@ -1807,6 +1815,22 @@ class Certificates(AbstractModel):
1807
1815
  def CertRevokedTime(self, CertRevokedTime):
1808
1816
  self._CertRevokedTime = CertRevokedTime
1809
1817
 
1818
+ @property
1819
+ def HostingResourceTypes(self):
1820
+ return self._HostingResourceTypes
1821
+
1822
+ @HostingResourceTypes.setter
1823
+ def HostingResourceTypes(self, HostingResourceTypes):
1824
+ self._HostingResourceTypes = HostingResourceTypes
1825
+
1826
+ @property
1827
+ def HostingConfig(self):
1828
+ return self._HostingConfig
1829
+
1830
+ @HostingConfig.setter
1831
+ def HostingConfig(self, HostingConfig):
1832
+ self._HostingConfig = HostingConfig
1833
+
1810
1834
 
1811
1835
  def _deserialize(self, params):
1812
1836
  self._OwnerUin = params.get("OwnerUin")
@@ -1876,6 +1900,10 @@ class Certificates(AbstractModel):
1876
1900
  self._SupportDownloadType = SupportDownloadType()
1877
1901
  self._SupportDownloadType._deserialize(params.get("SupportDownloadType"))
1878
1902
  self._CertRevokedTime = params.get("CertRevokedTime")
1903
+ self._HostingResourceTypes = params.get("HostingResourceTypes")
1904
+ if params.get("HostingConfig") is not None:
1905
+ self._HostingConfig = HostingConfig()
1906
+ self._HostingConfig._deserialize(params.get("HostingConfig"))
1879
1907
  memeber_set = set(params.keys())
1880
1908
  for name, value in vars(self).items():
1881
1909
  property_name = name[1:]
@@ -10497,6 +10525,53 @@ class GatewayCertificate(AbstractModel):
10497
10525
 
10498
10526
 
10499
10527
 
10528
+ class HostingConfig(AbstractModel):
10529
+ """托管配置
10530
+
10531
+ """
10532
+
10533
+ def __init__(self):
10534
+ r"""
10535
+ :param _ReplaceTime: 托管资源替换时间, 默认为证书过期前30天存在续费证书则替换
10536
+ 注意:此字段可能返回 null,表示取不到有效值。
10537
+ :type ReplaceTime: int
10538
+ :param _MessageTypes: 托管发送消息类型:0,托管开始前消息提醒(没有续费证书也会收到该提示消息); 1, 托管开始消息提醒(存在续费证书才会收到消息提醒); 2, 托管资源替换失败消息提醒; 3 托管资源替换成功消息提醒
10539
+ 注意:此字段可能返回 null,表示取不到有效值。
10540
+ :type MessageTypes: list of int
10541
+ """
10542
+ self._ReplaceTime = None
10543
+ self._MessageTypes = None
10544
+
10545
+ @property
10546
+ def ReplaceTime(self):
10547
+ return self._ReplaceTime
10548
+
10549
+ @ReplaceTime.setter
10550
+ def ReplaceTime(self, ReplaceTime):
10551
+ self._ReplaceTime = ReplaceTime
10552
+
10553
+ @property
10554
+ def MessageTypes(self):
10555
+ return self._MessageTypes
10556
+
10557
+ @MessageTypes.setter
10558
+ def MessageTypes(self, MessageTypes):
10559
+ self._MessageTypes = MessageTypes
10560
+
10561
+
10562
+ def _deserialize(self, params):
10563
+ self._ReplaceTime = params.get("ReplaceTime")
10564
+ self._MessageTypes = params.get("MessageTypes")
10565
+ memeber_set = set(params.keys())
10566
+ for name, value in vars(self).items():
10567
+ property_name = name[1:]
10568
+ if property_name in memeber_set:
10569
+ memeber_set.remove(property_name)
10570
+ if len(memeber_set) > 0:
10571
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10572
+
10573
+
10574
+
10500
10575
  class LighthouseInstanceDetail(AbstractModel):
10501
10576
  """Lighthouse实例
10502
10577
 
@@ -2580,11 +2580,15 @@ class CloudBaseRunVolumeMount(AbstractModel):
2580
2580
  :param _NfsVolumes: Nfs挂载信息
2581
2581
  注意:此字段可能返回 null,表示取不到有效值。
2582
2582
  :type NfsVolumes: list of CloudBaseRunNfsVolumeSource
2583
+ :param _MountPropagation: 挂载配置
2584
+ 注意:此字段可能返回 null,表示取不到有效值。
2585
+ :type MountPropagation: str
2583
2586
  """
2584
2587
  self._Name = None
2585
2588
  self._MountPath = None
2586
2589
  self._ReadOnly = None
2587
2590
  self._NfsVolumes = None
2591
+ self._MountPropagation = None
2588
2592
 
2589
2593
  @property
2590
2594
  def Name(self):
@@ -2618,6 +2622,14 @@ class CloudBaseRunVolumeMount(AbstractModel):
2618
2622
  def NfsVolumes(self, NfsVolumes):
2619
2623
  self._NfsVolumes = NfsVolumes
2620
2624
 
2625
+ @property
2626
+ def MountPropagation(self):
2627
+ return self._MountPropagation
2628
+
2629
+ @MountPropagation.setter
2630
+ def MountPropagation(self, MountPropagation):
2631
+ self._MountPropagation = MountPropagation
2632
+
2621
2633
 
2622
2634
  def _deserialize(self, params):
2623
2635
  self._Name = params.get("Name")
@@ -2629,6 +2641,7 @@ class CloudBaseRunVolumeMount(AbstractModel):
2629
2641
  obj = CloudBaseRunNfsVolumeSource()
2630
2642
  obj._deserialize(item)
2631
2643
  self._NfsVolumes.append(obj)
2644
+ self._MountPropagation = params.get("MountPropagation")
2632
2645
  memeber_set = set(params.keys())
2633
2646
  for name, value in vars(self).items():
2634
2647
  property_name = name[1:]
@@ -5868,6 +5881,8 @@ class DeleteCloudBaseRunServerVersionRequest(AbstractModel):
5868
5881
  :type IsDeleteImage: bool
5869
5882
  :param _OperatorRemark: 操作备注
5870
5883
  :type OperatorRemark: str
5884
+ :param _DelayedDeletionTime: 延迟删除版本时间
5885
+ :type DelayedDeletionTime: int
5871
5886
  """
5872
5887
  self._EnvId = None
5873
5888
  self._ServerName = None
@@ -5875,6 +5890,7 @@ class DeleteCloudBaseRunServerVersionRequest(AbstractModel):
5875
5890
  self._IsDeleteServer = None
5876
5891
  self._IsDeleteImage = None
5877
5892
  self._OperatorRemark = None
5893
+ self._DelayedDeletionTime = None
5878
5894
 
5879
5895
  @property
5880
5896
  def EnvId(self):
@@ -5924,6 +5940,14 @@ class DeleteCloudBaseRunServerVersionRequest(AbstractModel):
5924
5940
  def OperatorRemark(self, OperatorRemark):
5925
5941
  self._OperatorRemark = OperatorRemark
5926
5942
 
5943
+ @property
5944
+ def DelayedDeletionTime(self):
5945
+ return self._DelayedDeletionTime
5946
+
5947
+ @DelayedDeletionTime.setter
5948
+ def DelayedDeletionTime(self, DelayedDeletionTime):
5949
+ self._DelayedDeletionTime = DelayedDeletionTime
5950
+
5927
5951
 
5928
5952
  def _deserialize(self, params):
5929
5953
  self._EnvId = params.get("EnvId")
@@ -5932,6 +5956,7 @@ class DeleteCloudBaseRunServerVersionRequest(AbstractModel):
5932
5956
  self._IsDeleteServer = params.get("IsDeleteServer")
5933
5957
  self._IsDeleteImage = params.get("IsDeleteImage")
5934
5958
  self._OperatorRemark = params.get("OperatorRemark")
5959
+ self._DelayedDeletionTime = params.get("DelayedDeletionTime")
5935
5960
  memeber_set = set(params.keys())
5936
5961
  for name, value in vars(self).items():
5937
5962
  property_name = name[1:]