tencentcloud-sdk-python 3.0.1259__py2.py3-none-any.whl → 3.0.1261__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 +3 -0
- tencentcloud/apm/v20210622/models.py +24 -0
- tencentcloud/ca/v20230228/models.py +103 -0
- tencentcloud/cbs/v20170312/models.py +1 -1
- tencentcloud/cdb/v20170320/cdb_client.py +0 -25
- tencentcloud/cdb/v20170320/errorcodes.py +1 -1
- tencentcloud/cdb/v20170320/models.py +0 -111
- tencentcloud/cdwdoris/v20211228/models.py +39 -0
- tencentcloud/cfs/v20190719/models.py +111 -1
- tencentcloud/cfw/v20190904/cfw_client.py +3 -1
- tencentcloud/cls/v20201016/models.py +14 -14
- tencentcloud/csip/v20221121/csip_client.py +1 -1
- tencentcloud/csip/v20221121/models.py +5 -584
- tencentcloud/dlc/v20210125/models.py +18 -3
- tencentcloud/dnspod/v20210323/dnspod_client.py +164 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +48 -0
- tencentcloud/dnspod/v20210323/models.py +1221 -143
- tencentcloud/ecm/v20190719/models.py +1 -1
- tencentcloud/es/v20180416/models.py +13 -0
- tencentcloud/ess/v20201111/ess_client.py +6 -1
- tencentcloud/ess/v20201111/models.py +10 -6
- tencentcloud/essbasic/v20210526/essbasic_client.py +6 -3
- tencentcloud/essbasic/v20210526/models.py +20 -12
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +170 -0
- tencentcloud/hunyuan/v20230901/models.py +2037 -118
- tencentcloud/ioa/v20220601/models.py +8 -125
- tencentcloud/kms/v20190118/models.py +24 -25
- tencentcloud/lke/v20231130/lke_client.py +3 -1
- tencentcloud/mongodb/v20190725/models.py +4 -4
- tencentcloud/mps/v20190612/models.py +30 -1
- tencentcloud/ms/v20180408/models.py +0 -24
- tencentcloud/oceanus/v20190422/models.py +179 -0
- tencentcloud/ocr/v20181119/models.py +165 -1
- tencentcloud/ocr/v20181119/ocr_client.py +25 -0
- tencentcloud/redis/v20180412/models.py +4 -4
- tencentcloud/scf/v20180416/models.py +1 -1
- tencentcloud/sms/v20190711/errorcodes.py +1 -1
- tencentcloud/sms/v20210111/errorcodes.py +1 -1
- tencentcloud/ssm/v20190923/models.py +6 -36
- tencentcloud/tdmq/v20200217/models.py +4 -5
- tencentcloud/tem/v20210701/models.py +1 -1
- tencentcloud/teo/v20220901/errorcodes.py +45 -0
- tencentcloud/teo/v20220901/models.py +53 -6
- tencentcloud/thpc/v20230321/models.py +3 -3
- tencentcloud/tke/v20180525/models.py +2 -2
- tencentcloud/trtc/v20190722/models.py +0 -31
- tencentcloud/trtc/v20190722/trtc_client.py +0 -25
- tencentcloud/vod/v20180717/models.py +343 -18
- tencentcloud/waf/v20180125/models.py +309 -514
- tencentcloud/waf/v20180125/waf_client.py +23 -50
- {tencentcloud_sdk_python-3.0.1259.dist-info → tencentcloud_sdk_python-3.0.1261.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1259.dist-info → tencentcloud_sdk_python-3.0.1261.dist-info}/RECORD +56 -56
- {tencentcloud_sdk_python-3.0.1259.dist-info → tencentcloud_sdk_python-3.0.1261.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1259.dist-info → tencentcloud_sdk_python-3.0.1261.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1259.dist-info → tencentcloud_sdk_python-3.0.1261.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -62,6 +62,9 @@ FAILEDOPERATION_INSTANCENOTFOUND = 'FailedOperation.InstanceNotFound'
|
|
62
62
|
# 非法实例id。
|
63
63
|
FAILEDOPERATION_INVALIDINSTANCEID = 'FailedOperation.InvalidInstanceID'
|
64
64
|
|
65
|
+
# 不合法入参
|
66
|
+
FAILEDOPERATION_INVALIDPARAM = 'FailedOperation.InvalidParam'
|
67
|
+
|
65
68
|
# 非法的正则表达式。
|
66
69
|
FAILEDOPERATION_INVALIDREGEX = 'FailedOperation.InvalidRegex'
|
67
70
|
|
@@ -2857,6 +2857,10 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
2857
2857
|
:type PayMode: int
|
2858
2858
|
:param _ResponseDurationWarningThreshold: 响应时间满意阈值
|
2859
2859
|
:type ResponseDurationWarningThreshold: int
|
2860
|
+
:param _IsRelatedDashboard: 是否关联dashboard: 0 关 1 开
|
2861
|
+
:type IsRelatedDashboard: int
|
2862
|
+
:param _DashboardTopicID: dashboard ID
|
2863
|
+
:type DashboardTopicID: str
|
2860
2864
|
"""
|
2861
2865
|
self._InstanceId = None
|
2862
2866
|
self._Name = None
|
@@ -2877,6 +2881,8 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
2877
2881
|
self._CustomShowTags = None
|
2878
2882
|
self._PayMode = None
|
2879
2883
|
self._ResponseDurationWarningThreshold = None
|
2884
|
+
self._IsRelatedDashboard = None
|
2885
|
+
self._DashboardTopicID = None
|
2880
2886
|
|
2881
2887
|
@property
|
2882
2888
|
def InstanceId(self):
|
@@ -3030,6 +3036,22 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
3030
3036
|
def ResponseDurationWarningThreshold(self, ResponseDurationWarningThreshold):
|
3031
3037
|
self._ResponseDurationWarningThreshold = ResponseDurationWarningThreshold
|
3032
3038
|
|
3039
|
+
@property
|
3040
|
+
def IsRelatedDashboard(self):
|
3041
|
+
return self._IsRelatedDashboard
|
3042
|
+
|
3043
|
+
@IsRelatedDashboard.setter
|
3044
|
+
def IsRelatedDashboard(self, IsRelatedDashboard):
|
3045
|
+
self._IsRelatedDashboard = IsRelatedDashboard
|
3046
|
+
|
3047
|
+
@property
|
3048
|
+
def DashboardTopicID(self):
|
3049
|
+
return self._DashboardTopicID
|
3050
|
+
|
3051
|
+
@DashboardTopicID.setter
|
3052
|
+
def DashboardTopicID(self, DashboardTopicID):
|
3053
|
+
self._DashboardTopicID = DashboardTopicID
|
3054
|
+
|
3033
3055
|
|
3034
3056
|
def _deserialize(self, params):
|
3035
3057
|
self._InstanceId = params.get("InstanceId")
|
@@ -3056,6 +3078,8 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
3056
3078
|
self._CustomShowTags = params.get("CustomShowTags")
|
3057
3079
|
self._PayMode = params.get("PayMode")
|
3058
3080
|
self._ResponseDurationWarningThreshold = params.get("ResponseDurationWarningThreshold")
|
3081
|
+
self._IsRelatedDashboard = params.get("IsRelatedDashboard")
|
3082
|
+
self._DashboardTopicID = params.get("DashboardTopicID")
|
3059
3083
|
memeber_set = set(params.keys())
|
3060
3084
|
for name, value in vars(self).items():
|
3061
3085
|
property_name = name[1:]
|
@@ -18,6 +18,92 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class CertificateIdentityUser(AbstractModel):
|
22
|
+
"""证书用户信息和身份鉴别信息。则该字段无需传入,默认为空。对电子签名者身份鉴别类型及措施有特殊展示要求的可使用该字段。
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _Name: 姓名
|
29
|
+
:type Name: str
|
30
|
+
:param _IdentityUniqueId: 唯一身份id
|
31
|
+
:type IdentityUniqueId: str
|
32
|
+
:param _IdCardNumber: 身份证号
|
33
|
+
:type IdCardNumber: str
|
34
|
+
:param _IdentificationType: 身份鉴别类型
|
35
|
+
1:授权金融机构身份鉴别
|
36
|
+
:type IdentificationType: str
|
37
|
+
:param _IdentificationMeasures: 身份鉴别措施
|
38
|
+
1、身份证鉴别
|
39
|
+
2、银行卡鉴别
|
40
|
+
3、支付账户密码验证
|
41
|
+
4、人脸识别验证
|
42
|
+
:type IdentificationMeasures: list of str
|
43
|
+
"""
|
44
|
+
self._Name = None
|
45
|
+
self._IdentityUniqueId = None
|
46
|
+
self._IdCardNumber = None
|
47
|
+
self._IdentificationType = None
|
48
|
+
self._IdentificationMeasures = None
|
49
|
+
|
50
|
+
@property
|
51
|
+
def Name(self):
|
52
|
+
return self._Name
|
53
|
+
|
54
|
+
@Name.setter
|
55
|
+
def Name(self, Name):
|
56
|
+
self._Name = Name
|
57
|
+
|
58
|
+
@property
|
59
|
+
def IdentityUniqueId(self):
|
60
|
+
return self._IdentityUniqueId
|
61
|
+
|
62
|
+
@IdentityUniqueId.setter
|
63
|
+
def IdentityUniqueId(self, IdentityUniqueId):
|
64
|
+
self._IdentityUniqueId = IdentityUniqueId
|
65
|
+
|
66
|
+
@property
|
67
|
+
def IdCardNumber(self):
|
68
|
+
return self._IdCardNumber
|
69
|
+
|
70
|
+
@IdCardNumber.setter
|
71
|
+
def IdCardNumber(self, IdCardNumber):
|
72
|
+
self._IdCardNumber = IdCardNumber
|
73
|
+
|
74
|
+
@property
|
75
|
+
def IdentificationType(self):
|
76
|
+
return self._IdentificationType
|
77
|
+
|
78
|
+
@IdentificationType.setter
|
79
|
+
def IdentificationType(self, IdentificationType):
|
80
|
+
self._IdentificationType = IdentificationType
|
81
|
+
|
82
|
+
@property
|
83
|
+
def IdentificationMeasures(self):
|
84
|
+
return self._IdentificationMeasures
|
85
|
+
|
86
|
+
@IdentificationMeasures.setter
|
87
|
+
def IdentificationMeasures(self, IdentificationMeasures):
|
88
|
+
self._IdentificationMeasures = IdentificationMeasures
|
89
|
+
|
90
|
+
|
91
|
+
def _deserialize(self, params):
|
92
|
+
self._Name = params.get("Name")
|
93
|
+
self._IdentityUniqueId = params.get("IdentityUniqueId")
|
94
|
+
self._IdCardNumber = params.get("IdCardNumber")
|
95
|
+
self._IdentificationType = params.get("IdentificationType")
|
96
|
+
self._IdentificationMeasures = params.get("IdentificationMeasures")
|
97
|
+
memeber_set = set(params.keys())
|
98
|
+
for name, value in vars(self).items():
|
99
|
+
property_name = name[1:]
|
100
|
+
if property_name in memeber_set:
|
101
|
+
memeber_set.remove(property_name)
|
102
|
+
if len(memeber_set) > 0:
|
103
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
104
|
+
|
105
|
+
|
106
|
+
|
21
107
|
class CreateVerifyReportRequest(AbstractModel):
|
22
108
|
"""CreateVerifyReport请求参数结构体
|
23
109
|
|
@@ -37,6 +123,8 @@ class CreateVerifyReportRequest(AbstractModel):
|
|
37
123
|
:type FileId: str
|
38
124
|
:param _ApplyEmail: 验签申请经办人邮箱
|
39
125
|
:type ApplyEmail: str
|
126
|
+
:param _CertificateIdentityUsers: 证书用户身份及身份鉴别信息
|
127
|
+
:type CertificateIdentityUsers: list of CertificateIdentityUser
|
40
128
|
"""
|
41
129
|
self._ApplyCustomerType = None
|
42
130
|
self._ApplyCustomerName = None
|
@@ -44,6 +132,7 @@ class CreateVerifyReportRequest(AbstractModel):
|
|
44
132
|
self._ApplyMobile = None
|
45
133
|
self._FileId = None
|
46
134
|
self._ApplyEmail = None
|
135
|
+
self._CertificateIdentityUsers = None
|
47
136
|
|
48
137
|
@property
|
49
138
|
def ApplyCustomerType(self):
|
@@ -93,6 +182,14 @@ class CreateVerifyReportRequest(AbstractModel):
|
|
93
182
|
def ApplyEmail(self, ApplyEmail):
|
94
183
|
self._ApplyEmail = ApplyEmail
|
95
184
|
|
185
|
+
@property
|
186
|
+
def CertificateIdentityUsers(self):
|
187
|
+
return self._CertificateIdentityUsers
|
188
|
+
|
189
|
+
@CertificateIdentityUsers.setter
|
190
|
+
def CertificateIdentityUsers(self, CertificateIdentityUsers):
|
191
|
+
self._CertificateIdentityUsers = CertificateIdentityUsers
|
192
|
+
|
96
193
|
|
97
194
|
def _deserialize(self, params):
|
98
195
|
self._ApplyCustomerType = params.get("ApplyCustomerType")
|
@@ -101,6 +198,12 @@ class CreateVerifyReportRequest(AbstractModel):
|
|
101
198
|
self._ApplyMobile = params.get("ApplyMobile")
|
102
199
|
self._FileId = params.get("FileId")
|
103
200
|
self._ApplyEmail = params.get("ApplyEmail")
|
201
|
+
if params.get("CertificateIdentityUsers") is not None:
|
202
|
+
self._CertificateIdentityUsers = []
|
203
|
+
for item in params.get("CertificateIdentityUsers"):
|
204
|
+
obj = CertificateIdentityUser()
|
205
|
+
obj._deserialize(item)
|
206
|
+
self._CertificateIdentityUsers.append(obj)
|
104
207
|
memeber_set = set(params.keys())
|
105
208
|
for name, value in vars(self).items():
|
106
209
|
property_name = name[1:]
|
@@ -5798,7 +5798,7 @@ class Placement(AbstractModel):
|
|
5798
5798
|
:param _CageId: 围笼Id。作为入参时,表示对指定的CageId的资源进行操作,可为空。 作为出参时,表示资源所属围笼ID,可为空。
|
5799
5799
|
注意:此字段可能返回 null,表示取不到有效值。
|
5800
5800
|
:type CageId: str
|
5801
|
-
:param _ProjectId: 实例所属项目ID
|
5801
|
+
:param _ProjectId: 实例所属项目ID。不填为默认项目。
|
5802
5802
|
:type ProjectId: int
|
5803
5803
|
:param _ProjectName: 实例所属项目名称。
|
5804
5804
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2556,31 +2556,6 @@ class CdbClient(AbstractClient):
|
|
2556
2556
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2557
2557
|
|
2558
2558
|
|
2559
|
-
def InitDBInstances(self, request):
|
2560
|
-
"""该接口不再维护,参考CreateDBInstance+API文档,在发货时即可完成初始化。
|
2561
|
-
|
2562
|
-
本接口(InitDBInstances)用于初始化云数据库实例,包括初始化密码、默认字符集、实例端口号等。该接口已经废弃,在发货接口CreateDBInstance、CreateDBInstanceHour可以直接使用参数Password设置密码,使用参数ParamList设置字符集,使用参数Port设置端口号。
|
2563
|
-
|
2564
|
-
:param request: Request instance for InitDBInstances.
|
2565
|
-
:type request: :class:`tencentcloud.cdb.v20170320.models.InitDBInstancesRequest`
|
2566
|
-
:rtype: :class:`tencentcloud.cdb.v20170320.models.InitDBInstancesResponse`
|
2567
|
-
|
2568
|
-
"""
|
2569
|
-
try:
|
2570
|
-
params = request._serialize()
|
2571
|
-
headers = request.headers
|
2572
|
-
body = self.call("InitDBInstances", params, headers=headers)
|
2573
|
-
response = json.loads(body)
|
2574
|
-
model = models.InitDBInstancesResponse()
|
2575
|
-
model._deserialize(response["Response"])
|
2576
|
-
return model
|
2577
|
-
except Exception as e:
|
2578
|
-
if isinstance(e, TencentCloudSDKException):
|
2579
|
-
raise
|
2580
|
-
else:
|
2581
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2582
|
-
|
2583
|
-
|
2584
2559
|
def InquiryPriceUpgradeInstances(self, request):
|
2585
2560
|
"""本接口(InquiryPriceUpgradeInstances)用于查询云数据库实例升级的价格,支持查询按量计费或者包年包月实例的升级价格,实例类型支持主实例、灾备实例和只读实例。
|
2586
2561
|
|
@@ -197,7 +197,7 @@ INTERNALERROR_DBERROR = 'InternalError.DBError'
|
|
197
197
|
# 数据库操作失败。
|
198
198
|
INTERNALERROR_DBOPERATIONERROR = 'InternalError.DBOperationError'
|
199
199
|
|
200
|
-
#
|
200
|
+
# 数据库实例不存在。
|
201
201
|
INTERNALERROR_DBRECORDNOTEXISTERROR = 'InternalError.DBRecordNotExistError'
|
202
202
|
|
203
203
|
# 数据库内部错误。
|
@@ -19298,117 +19298,6 @@ class Inbound(AbstractModel):
|
|
19298
19298
|
|
19299
19299
|
|
19300
19300
|
|
19301
|
-
class InitDBInstancesRequest(AbstractModel):
|
19302
|
-
"""InitDBInstances请求参数结构体
|
19303
|
-
|
19304
|
-
"""
|
19305
|
-
|
19306
|
-
def __init__(self):
|
19307
|
-
r"""
|
19308
|
-
:param _InstanceIds: 实例ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同,可使用[查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
19309
|
-
:type InstanceIds: list of str
|
19310
|
-
:param _NewPassword: 实例新的密码,密码规则:8-64个字符,至少包含字母、数字、字符(支持的字符:!@#$%^*())中的两种。
|
19311
|
-
:type NewPassword: str
|
19312
|
-
:param _Parameters: 实例的参数列表,目前支持设置“character_set_server”、“lower_case_table_names”参数。其中,“character_set_server”参数可选值为["utf8","latin1","gbk","utf8mb4"];“lower_case_table_names”可选值为[“0”,“1”]。
|
19313
|
-
:type Parameters: list of ParamInfo
|
19314
|
-
:param _Vport: 实例的端口,取值范围为[1024, 65535]
|
19315
|
-
:type Vport: int
|
19316
|
-
"""
|
19317
|
-
self._InstanceIds = None
|
19318
|
-
self._NewPassword = None
|
19319
|
-
self._Parameters = None
|
19320
|
-
self._Vport = None
|
19321
|
-
|
19322
|
-
@property
|
19323
|
-
def InstanceIds(self):
|
19324
|
-
return self._InstanceIds
|
19325
|
-
|
19326
|
-
@InstanceIds.setter
|
19327
|
-
def InstanceIds(self, InstanceIds):
|
19328
|
-
self._InstanceIds = InstanceIds
|
19329
|
-
|
19330
|
-
@property
|
19331
|
-
def NewPassword(self):
|
19332
|
-
return self._NewPassword
|
19333
|
-
|
19334
|
-
@NewPassword.setter
|
19335
|
-
def NewPassword(self, NewPassword):
|
19336
|
-
self._NewPassword = NewPassword
|
19337
|
-
|
19338
|
-
@property
|
19339
|
-
def Parameters(self):
|
19340
|
-
return self._Parameters
|
19341
|
-
|
19342
|
-
@Parameters.setter
|
19343
|
-
def Parameters(self, Parameters):
|
19344
|
-
self._Parameters = Parameters
|
19345
|
-
|
19346
|
-
@property
|
19347
|
-
def Vport(self):
|
19348
|
-
return self._Vport
|
19349
|
-
|
19350
|
-
@Vport.setter
|
19351
|
-
def Vport(self, Vport):
|
19352
|
-
self._Vport = Vport
|
19353
|
-
|
19354
|
-
|
19355
|
-
def _deserialize(self, params):
|
19356
|
-
self._InstanceIds = params.get("InstanceIds")
|
19357
|
-
self._NewPassword = params.get("NewPassword")
|
19358
|
-
if params.get("Parameters") is not None:
|
19359
|
-
self._Parameters = []
|
19360
|
-
for item in params.get("Parameters"):
|
19361
|
-
obj = ParamInfo()
|
19362
|
-
obj._deserialize(item)
|
19363
|
-
self._Parameters.append(obj)
|
19364
|
-
self._Vport = params.get("Vport")
|
19365
|
-
memeber_set = set(params.keys())
|
19366
|
-
for name, value in vars(self).items():
|
19367
|
-
property_name = name[1:]
|
19368
|
-
if property_name in memeber_set:
|
19369
|
-
memeber_set.remove(property_name)
|
19370
|
-
if len(memeber_set) > 0:
|
19371
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
19372
|
-
|
19373
|
-
|
19374
|
-
|
19375
|
-
class InitDBInstancesResponse(AbstractModel):
|
19376
|
-
"""InitDBInstances返回参数结构体
|
19377
|
-
|
19378
|
-
"""
|
19379
|
-
|
19380
|
-
def __init__(self):
|
19381
|
-
r"""
|
19382
|
-
:param _AsyncRequestIds: 异步任务的请求ID数组,可使用此ID查询异步任务的执行结果
|
19383
|
-
:type AsyncRequestIds: list of str
|
19384
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
19385
|
-
:type RequestId: str
|
19386
|
-
"""
|
19387
|
-
self._AsyncRequestIds = None
|
19388
|
-
self._RequestId = None
|
19389
|
-
|
19390
|
-
@property
|
19391
|
-
def AsyncRequestIds(self):
|
19392
|
-
return self._AsyncRequestIds
|
19393
|
-
|
19394
|
-
@AsyncRequestIds.setter
|
19395
|
-
def AsyncRequestIds(self, AsyncRequestIds):
|
19396
|
-
self._AsyncRequestIds = AsyncRequestIds
|
19397
|
-
|
19398
|
-
@property
|
19399
|
-
def RequestId(self):
|
19400
|
-
return self._RequestId
|
19401
|
-
|
19402
|
-
@RequestId.setter
|
19403
|
-
def RequestId(self, RequestId):
|
19404
|
-
self._RequestId = RequestId
|
19405
|
-
|
19406
|
-
|
19407
|
-
def _deserialize(self, params):
|
19408
|
-
self._AsyncRequestIds = params.get("AsyncRequestIds")
|
19409
|
-
self._RequestId = params.get("RequestId")
|
19410
|
-
|
19411
|
-
|
19412
19301
|
class InquiryPriceUpgradeInstancesRequest(AbstractModel):
|
19413
19302
|
"""InquiryPriceUpgradeInstances请求参数结构体
|
19414
19303
|
|
@@ -2503,6 +2503,9 @@ class DataBaseAuditRecord(AbstractModel):
|
|
2503
2503
|
:param _Catalog: catalog名称
|
2504
2504
|
注意:此字段可能返回 null,表示取不到有效值。
|
2505
2505
|
:type Catalog: str
|
2506
|
+
:param _State: 状态
|
2507
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2508
|
+
:type State: str
|
2506
2509
|
"""
|
2507
2510
|
self._OsUser = None
|
2508
2511
|
self._InitialQueryId = None
|
@@ -2517,6 +2520,7 @@ class DataBaseAuditRecord(AbstractModel):
|
|
2517
2520
|
self._DbName = None
|
2518
2521
|
self._SqlType = None
|
2519
2522
|
self._Catalog = None
|
2523
|
+
self._State = None
|
2520
2524
|
|
2521
2525
|
@property
|
2522
2526
|
def OsUser(self):
|
@@ -2622,6 +2626,14 @@ class DataBaseAuditRecord(AbstractModel):
|
|
2622
2626
|
def Catalog(self, Catalog):
|
2623
2627
|
self._Catalog = Catalog
|
2624
2628
|
|
2629
|
+
@property
|
2630
|
+
def State(self):
|
2631
|
+
return self._State
|
2632
|
+
|
2633
|
+
@State.setter
|
2634
|
+
def State(self, State):
|
2635
|
+
self._State = State
|
2636
|
+
|
2625
2637
|
|
2626
2638
|
def _deserialize(self, params):
|
2627
2639
|
self._OsUser = params.get("OsUser")
|
@@ -2637,6 +2649,7 @@ class DataBaseAuditRecord(AbstractModel):
|
|
2637
2649
|
self._DbName = params.get("DbName")
|
2638
2650
|
self._SqlType = params.get("SqlType")
|
2639
2651
|
self._Catalog = params.get("Catalog")
|
2652
|
+
self._State = params.get("State")
|
2640
2653
|
memeber_set = set(params.keys())
|
2641
2654
|
for name, value in vars(self).items():
|
2642
2655
|
property_name = name[1:]
|
@@ -3123,10 +3136,18 @@ class DescribeBackUpJobResponse(AbstractModel):
|
|
3123
3136
|
:param _BackUpJobs: 任务列表
|
3124
3137
|
注意:此字段可能返回 null,表示取不到有效值。
|
3125
3138
|
:type BackUpJobs: list of BackUpJobDisplay
|
3139
|
+
:param _ErrorMsg: 错误信息
|
3140
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3141
|
+
:type ErrorMsg: str
|
3142
|
+
:param _TotalCount: 总数
|
3143
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3144
|
+
:type TotalCount: int
|
3126
3145
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3127
3146
|
:type RequestId: str
|
3128
3147
|
"""
|
3129
3148
|
self._BackUpJobs = None
|
3149
|
+
self._ErrorMsg = None
|
3150
|
+
self._TotalCount = None
|
3130
3151
|
self._RequestId = None
|
3131
3152
|
|
3132
3153
|
@property
|
@@ -3137,6 +3158,22 @@ class DescribeBackUpJobResponse(AbstractModel):
|
|
3137
3158
|
def BackUpJobs(self, BackUpJobs):
|
3138
3159
|
self._BackUpJobs = BackUpJobs
|
3139
3160
|
|
3161
|
+
@property
|
3162
|
+
def ErrorMsg(self):
|
3163
|
+
return self._ErrorMsg
|
3164
|
+
|
3165
|
+
@ErrorMsg.setter
|
3166
|
+
def ErrorMsg(self, ErrorMsg):
|
3167
|
+
self._ErrorMsg = ErrorMsg
|
3168
|
+
|
3169
|
+
@property
|
3170
|
+
def TotalCount(self):
|
3171
|
+
return self._TotalCount
|
3172
|
+
|
3173
|
+
@TotalCount.setter
|
3174
|
+
def TotalCount(self, TotalCount):
|
3175
|
+
self._TotalCount = TotalCount
|
3176
|
+
|
3140
3177
|
@property
|
3141
3178
|
def RequestId(self):
|
3142
3179
|
return self._RequestId
|
@@ -3153,6 +3190,8 @@ class DescribeBackUpJobResponse(AbstractModel):
|
|
3153
3190
|
obj = BackUpJobDisplay()
|
3154
3191
|
obj._deserialize(item)
|
3155
3192
|
self._BackUpJobs.append(obj)
|
3193
|
+
self._ErrorMsg = params.get("ErrorMsg")
|
3194
|
+
self._TotalCount = params.get("TotalCount")
|
3156
3195
|
self._RequestId = params.get("RequestId")
|
3157
3196
|
|
3158
3197
|
|
@@ -18,6 +18,63 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class AutoScaleUpRule(AbstractModel):
|
22
|
+
"""自动扩容规则
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _Status: 自动扩容策略开启,关闭
|
29
|
+
:type Status: str
|
30
|
+
:param _ScaleThreshold: 集群用量占比,到达这个值后开始扩容,范围[10-90]
|
31
|
+
:type ScaleThreshold: int
|
32
|
+
:param _TargetThreshold: 扩容后使用量跟集群总量比例,范围[1-90]
|
33
|
+
:type TargetThreshold: int
|
34
|
+
"""
|
35
|
+
self._Status = None
|
36
|
+
self._ScaleThreshold = None
|
37
|
+
self._TargetThreshold = None
|
38
|
+
|
39
|
+
@property
|
40
|
+
def Status(self):
|
41
|
+
return self._Status
|
42
|
+
|
43
|
+
@Status.setter
|
44
|
+
def Status(self, Status):
|
45
|
+
self._Status = Status
|
46
|
+
|
47
|
+
@property
|
48
|
+
def ScaleThreshold(self):
|
49
|
+
return self._ScaleThreshold
|
50
|
+
|
51
|
+
@ScaleThreshold.setter
|
52
|
+
def ScaleThreshold(self, ScaleThreshold):
|
53
|
+
self._ScaleThreshold = ScaleThreshold
|
54
|
+
|
55
|
+
@property
|
56
|
+
def TargetThreshold(self):
|
57
|
+
return self._TargetThreshold
|
58
|
+
|
59
|
+
@TargetThreshold.setter
|
60
|
+
def TargetThreshold(self, TargetThreshold):
|
61
|
+
self._TargetThreshold = TargetThreshold
|
62
|
+
|
63
|
+
|
64
|
+
def _deserialize(self, params):
|
65
|
+
self._Status = params.get("Status")
|
66
|
+
self._ScaleThreshold = params.get("ScaleThreshold")
|
67
|
+
self._TargetThreshold = params.get("TargetThreshold")
|
68
|
+
memeber_set = set(params.keys())
|
69
|
+
for name, value in vars(self).items():
|
70
|
+
property_name = name[1:]
|
71
|
+
if property_name in memeber_set:
|
72
|
+
memeber_set.remove(property_name)
|
73
|
+
if len(memeber_set) > 0:
|
74
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
75
|
+
|
76
|
+
|
77
|
+
|
21
78
|
class AutoSnapshotPolicyInfo(AbstractModel):
|
22
79
|
"""快照策略信息
|
23
80
|
|
@@ -3188,7 +3245,8 @@ class DescribeCfsSnapshotsRequest(AbstractModel):
|
|
3188
3245
|
<br>SnapshotName - Array of String - 是否必填:否 -(过滤条件)按照快照名称过滤。
|
3189
3246
|
<br>FileSystemId - Array of String - 是否必填:否 -(过滤条件)按文件系统ID过滤。
|
3190
3247
|
<br>FsName - Array of String - 是否必填:否 -(过滤条件)按文件系统名过滤。
|
3191
|
-
<br>Status - Array of String - 是否必填:否
|
3248
|
+
<br>Status - Array of String - 是否必填:否 -(过滤条件)按照快照状态过滤
|
3249
|
+
(creating:表示创建中 | available:表示可用。| rollbacking:表示回滚。| rollbacking_new:表示由快照创建新文件系统中)
|
3192
3250
|
<br>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
|
3193
3251
|
<br>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
|
3194
3252
|
:type Filters: list of Filter
|
@@ -4056,6 +4114,10 @@ class FileSystemInfo(AbstractModel):
|
|
4056
4114
|
:type AppId: int
|
4057
4115
|
:param _BandwidthLimit: 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定. 单位MiB/s
|
4058
4116
|
:type BandwidthLimit: float
|
4117
|
+
:param _AutoSnapshotPolicyId: 文件系统关联的快照策略
|
4118
|
+
:type AutoSnapshotPolicyId: str
|
4119
|
+
:param _SnapStatus: 文件系统处理快照状态
|
4120
|
+
:type SnapStatus: str
|
4059
4121
|
:param _Capacity: 文件系统容量规格上限
|
4060
4122
|
单位:GiB
|
4061
4123
|
:type Capacity: int
|
@@ -4068,6 +4130,12 @@ Available:可用
|
|
4068
4130
|
:param _TieringDetail: 分层存储详情
|
4069
4131
|
注意:此字段可能返回 null,表示取不到有效值。
|
4070
4132
|
:type TieringDetail: :class:`tencentcloud.cfs.v20190719.models.TieringDetailInfo`
|
4133
|
+
:param _AutoScaleUpRule: 文件系统自动扩容策略
|
4134
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4135
|
+
:type AutoScaleUpRule: :class:`tencentcloud.cfs.v20190719.models.AutoScaleUpRule`
|
4136
|
+
:param _Version: 文件系统版本
|
4137
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4138
|
+
:type Version: str
|
4071
4139
|
"""
|
4072
4140
|
self._CreationTime = None
|
4073
4141
|
self._CreationToken = None
|
@@ -4087,10 +4155,14 @@ Available:可用
|
|
4087
4155
|
self._KmsKeyId = None
|
4088
4156
|
self._AppId = None
|
4089
4157
|
self._BandwidthLimit = None
|
4158
|
+
self._AutoSnapshotPolicyId = None
|
4159
|
+
self._SnapStatus = None
|
4090
4160
|
self._Capacity = None
|
4091
4161
|
self._Tags = None
|
4092
4162
|
self._TieringState = None
|
4093
4163
|
self._TieringDetail = None
|
4164
|
+
self._AutoScaleUpRule = None
|
4165
|
+
self._Version = None
|
4094
4166
|
|
4095
4167
|
@property
|
4096
4168
|
def CreationTime(self):
|
@@ -4236,6 +4308,22 @@ Available:可用
|
|
4236
4308
|
def BandwidthLimit(self, BandwidthLimit):
|
4237
4309
|
self._BandwidthLimit = BandwidthLimit
|
4238
4310
|
|
4311
|
+
@property
|
4312
|
+
def AutoSnapshotPolicyId(self):
|
4313
|
+
return self._AutoSnapshotPolicyId
|
4314
|
+
|
4315
|
+
@AutoSnapshotPolicyId.setter
|
4316
|
+
def AutoSnapshotPolicyId(self, AutoSnapshotPolicyId):
|
4317
|
+
self._AutoSnapshotPolicyId = AutoSnapshotPolicyId
|
4318
|
+
|
4319
|
+
@property
|
4320
|
+
def SnapStatus(self):
|
4321
|
+
return self._SnapStatus
|
4322
|
+
|
4323
|
+
@SnapStatus.setter
|
4324
|
+
def SnapStatus(self, SnapStatus):
|
4325
|
+
self._SnapStatus = SnapStatus
|
4326
|
+
|
4239
4327
|
@property
|
4240
4328
|
def Capacity(self):
|
4241
4329
|
return self._Capacity
|
@@ -4268,6 +4356,22 @@ Available:可用
|
|
4268
4356
|
def TieringDetail(self, TieringDetail):
|
4269
4357
|
self._TieringDetail = TieringDetail
|
4270
4358
|
|
4359
|
+
@property
|
4360
|
+
def AutoScaleUpRule(self):
|
4361
|
+
return self._AutoScaleUpRule
|
4362
|
+
|
4363
|
+
@AutoScaleUpRule.setter
|
4364
|
+
def AutoScaleUpRule(self, AutoScaleUpRule):
|
4365
|
+
self._AutoScaleUpRule = AutoScaleUpRule
|
4366
|
+
|
4367
|
+
@property
|
4368
|
+
def Version(self):
|
4369
|
+
return self._Version
|
4370
|
+
|
4371
|
+
@Version.setter
|
4372
|
+
def Version(self, Version):
|
4373
|
+
self._Version = Version
|
4374
|
+
|
4271
4375
|
|
4272
4376
|
def _deserialize(self, params):
|
4273
4377
|
self._CreationTime = params.get("CreationTime")
|
@@ -4290,6 +4394,8 @@ Available:可用
|
|
4290
4394
|
self._KmsKeyId = params.get("KmsKeyId")
|
4291
4395
|
self._AppId = params.get("AppId")
|
4292
4396
|
self._BandwidthLimit = params.get("BandwidthLimit")
|
4397
|
+
self._AutoSnapshotPolicyId = params.get("AutoSnapshotPolicyId")
|
4398
|
+
self._SnapStatus = params.get("SnapStatus")
|
4293
4399
|
self._Capacity = params.get("Capacity")
|
4294
4400
|
if params.get("Tags") is not None:
|
4295
4401
|
self._Tags = []
|
@@ -4301,6 +4407,10 @@ Available:可用
|
|
4301
4407
|
if params.get("TieringDetail") is not None:
|
4302
4408
|
self._TieringDetail = TieringDetailInfo()
|
4303
4409
|
self._TieringDetail._deserialize(params.get("TieringDetail"))
|
4410
|
+
if params.get("AutoScaleUpRule") is not None:
|
4411
|
+
self._AutoScaleUpRule = AutoScaleUpRule()
|
4412
|
+
self._AutoScaleUpRule._deserialize(params.get("AutoScaleUpRule"))
|
4413
|
+
self._Version = params.get("Version")
|
4304
4414
|
memeber_set = set(params.keys())
|
4305
4415
|
for name, value in vars(self).items():
|
4306
4416
|
property_name = name[1:]
|
@@ -27,7 +27,9 @@ class CfwClient(AbstractClient):
|
|
27
27
|
|
28
28
|
|
29
29
|
def AddAcRule(self, request):
|
30
|
-
"""
|
30
|
+
"""接口不再使用,已有新接口AddAclRule
|
31
|
+
|
32
|
+
添加互联网边界规则
|
31
33
|
|
32
34
|
:param request: Request instance for AddAcRule.
|
33
35
|
:type request: :class:`tencentcloud.cfw.v20190904.models.AddAcRuleRequest`
|