tencentcloud-sdk-python 3.0.1443__py2.py3-none-any.whl → 3.0.1444__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/batch/v20170312/models.py +2 -2
- tencentcloud/clb/v20180317/models.py +422 -26
- tencentcloud/cls/v20201016/cls_client.py +1 -1
- tencentcloud/cls/v20201016/models.py +148 -112
- tencentcloud/keewidb/v20220308/errorcodes.py +3 -0
- tencentcloud/keewidb/v20220308/models.py +2 -2
- tencentcloud/lcic/v20220817/errorcodes.py +15 -0
- tencentcloud/lcic/v20220817/models.py +67 -16
- tencentcloud/lkeap/v20240522/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/models.py +4 -4
- tencentcloud/mps/v20190612/models.py +64 -0
- tencentcloud/ocr/v20181119/models.py +31 -16
- tencentcloud/postgres/v20170312/errorcodes.py +0 -12
- tencentcloud/postgres/v20170312/models.py +191 -1527
- tencentcloud/postgres/v20170312/postgres_client.py +0 -75
- tencentcloud/sts/v20180813/sts_client.py +21 -7
- tencentcloud/tcbr/v20220217/models.py +151 -0
- tencentcloud/tcss/v20201101/models.py +45 -0
- tencentcloud/tke/v20180525/models.py +17 -2
- tencentcloud/trabbit/v20230418/models.py +60 -0
- tencentcloud/trocket/v20230308/models.py +319 -0
- tencentcloud/trocket/v20230308/trocket_client.py +25 -0
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +6 -4
- tencentcloud/tsf/v20180326/errorcodes.py +9 -0
- tencentcloud/tsf/v20180326/models.py +761 -517
- tencentcloud/vod/v20180717/models.py +63 -10
- tencentcloud/vod/v20180717/vod_client.py +1 -0
- tencentcloud/waf/v20180125/errorcodes.py +6 -0
- tencentcloud/waf/v20180125/models.py +1926 -744
- tencentcloud/waf/v20180125/waf_client.py +161 -0
- tencentcloud/wedata/v20210820/models.py +204 -0
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/RECORD +38 -38
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/top_level.txt +0 -0
|
@@ -3992,195 +3992,6 @@ class CreateReadOnlyGroupResponse(AbstractModel):
|
|
|
3992
3992
|
self._RequestId = params.get("RequestId")
|
|
3993
3993
|
|
|
3994
3994
|
|
|
3995
|
-
class CreateServerlessDBInstanceRequest(AbstractModel):
|
|
3996
|
-
"""CreateServerlessDBInstance请求参数结构体
|
|
3997
|
-
|
|
3998
|
-
"""
|
|
3999
|
-
|
|
4000
|
-
def __init__(self):
|
|
4001
|
-
r"""
|
|
4002
|
-
:param _Zone: 可用区ID。公测阶段仅支持ap-shanghai-2、ap-beijing-1,ap-guangzhou-2.
|
|
4003
|
-
:type Zone: str
|
|
4004
|
-
:param _DBInstanceName: DB实例名称,同一个账号下该值必须唯一。
|
|
4005
|
-
:type DBInstanceName: str
|
|
4006
|
-
:param _DBVersion: PostgreSQL内核版本,目前只支持:10.4。
|
|
4007
|
-
:type DBVersion: str
|
|
4008
|
-
:param _DBCharset: PostgreSQL数据库字符集,目前支持UTF8。
|
|
4009
|
-
:type DBCharset: str
|
|
4010
|
-
:param _ProjectId: 项目ID。
|
|
4011
|
-
:type ProjectId: int
|
|
4012
|
-
:param _VpcId: 私有网络ID。
|
|
4013
|
-
:type VpcId: str
|
|
4014
|
-
:param _SubnetId: 私有网络子网ID。
|
|
4015
|
-
:type SubnetId: str
|
|
4016
|
-
:param _TagList: 实例需要绑定的标签数组信息
|
|
4017
|
-
:type TagList: list of Tag
|
|
4018
|
-
"""
|
|
4019
|
-
self._Zone = None
|
|
4020
|
-
self._DBInstanceName = None
|
|
4021
|
-
self._DBVersion = None
|
|
4022
|
-
self._DBCharset = None
|
|
4023
|
-
self._ProjectId = None
|
|
4024
|
-
self._VpcId = None
|
|
4025
|
-
self._SubnetId = None
|
|
4026
|
-
self._TagList = None
|
|
4027
|
-
|
|
4028
|
-
@property
|
|
4029
|
-
def Zone(self):
|
|
4030
|
-
"""可用区ID。公测阶段仅支持ap-shanghai-2、ap-beijing-1,ap-guangzhou-2.
|
|
4031
|
-
:rtype: str
|
|
4032
|
-
"""
|
|
4033
|
-
return self._Zone
|
|
4034
|
-
|
|
4035
|
-
@Zone.setter
|
|
4036
|
-
def Zone(self, Zone):
|
|
4037
|
-
self._Zone = Zone
|
|
4038
|
-
|
|
4039
|
-
@property
|
|
4040
|
-
def DBInstanceName(self):
|
|
4041
|
-
"""DB实例名称,同一个账号下该值必须唯一。
|
|
4042
|
-
:rtype: str
|
|
4043
|
-
"""
|
|
4044
|
-
return self._DBInstanceName
|
|
4045
|
-
|
|
4046
|
-
@DBInstanceName.setter
|
|
4047
|
-
def DBInstanceName(self, DBInstanceName):
|
|
4048
|
-
self._DBInstanceName = DBInstanceName
|
|
4049
|
-
|
|
4050
|
-
@property
|
|
4051
|
-
def DBVersion(self):
|
|
4052
|
-
"""PostgreSQL内核版本,目前只支持:10.4。
|
|
4053
|
-
:rtype: str
|
|
4054
|
-
"""
|
|
4055
|
-
return self._DBVersion
|
|
4056
|
-
|
|
4057
|
-
@DBVersion.setter
|
|
4058
|
-
def DBVersion(self, DBVersion):
|
|
4059
|
-
self._DBVersion = DBVersion
|
|
4060
|
-
|
|
4061
|
-
@property
|
|
4062
|
-
def DBCharset(self):
|
|
4063
|
-
"""PostgreSQL数据库字符集,目前支持UTF8。
|
|
4064
|
-
:rtype: str
|
|
4065
|
-
"""
|
|
4066
|
-
return self._DBCharset
|
|
4067
|
-
|
|
4068
|
-
@DBCharset.setter
|
|
4069
|
-
def DBCharset(self, DBCharset):
|
|
4070
|
-
self._DBCharset = DBCharset
|
|
4071
|
-
|
|
4072
|
-
@property
|
|
4073
|
-
def ProjectId(self):
|
|
4074
|
-
"""项目ID。
|
|
4075
|
-
:rtype: int
|
|
4076
|
-
"""
|
|
4077
|
-
return self._ProjectId
|
|
4078
|
-
|
|
4079
|
-
@ProjectId.setter
|
|
4080
|
-
def ProjectId(self, ProjectId):
|
|
4081
|
-
self._ProjectId = ProjectId
|
|
4082
|
-
|
|
4083
|
-
@property
|
|
4084
|
-
def VpcId(self):
|
|
4085
|
-
"""私有网络ID。
|
|
4086
|
-
:rtype: str
|
|
4087
|
-
"""
|
|
4088
|
-
return self._VpcId
|
|
4089
|
-
|
|
4090
|
-
@VpcId.setter
|
|
4091
|
-
def VpcId(self, VpcId):
|
|
4092
|
-
self._VpcId = VpcId
|
|
4093
|
-
|
|
4094
|
-
@property
|
|
4095
|
-
def SubnetId(self):
|
|
4096
|
-
"""私有网络子网ID。
|
|
4097
|
-
:rtype: str
|
|
4098
|
-
"""
|
|
4099
|
-
return self._SubnetId
|
|
4100
|
-
|
|
4101
|
-
@SubnetId.setter
|
|
4102
|
-
def SubnetId(self, SubnetId):
|
|
4103
|
-
self._SubnetId = SubnetId
|
|
4104
|
-
|
|
4105
|
-
@property
|
|
4106
|
-
def TagList(self):
|
|
4107
|
-
"""实例需要绑定的标签数组信息
|
|
4108
|
-
:rtype: list of Tag
|
|
4109
|
-
"""
|
|
4110
|
-
return self._TagList
|
|
4111
|
-
|
|
4112
|
-
@TagList.setter
|
|
4113
|
-
def TagList(self, TagList):
|
|
4114
|
-
self._TagList = TagList
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
def _deserialize(self, params):
|
|
4118
|
-
self._Zone = params.get("Zone")
|
|
4119
|
-
self._DBInstanceName = params.get("DBInstanceName")
|
|
4120
|
-
self._DBVersion = params.get("DBVersion")
|
|
4121
|
-
self._DBCharset = params.get("DBCharset")
|
|
4122
|
-
self._ProjectId = params.get("ProjectId")
|
|
4123
|
-
self._VpcId = params.get("VpcId")
|
|
4124
|
-
self._SubnetId = params.get("SubnetId")
|
|
4125
|
-
if params.get("TagList") is not None:
|
|
4126
|
-
self._TagList = []
|
|
4127
|
-
for item in params.get("TagList"):
|
|
4128
|
-
obj = Tag()
|
|
4129
|
-
obj._deserialize(item)
|
|
4130
|
-
self._TagList.append(obj)
|
|
4131
|
-
memeber_set = set(params.keys())
|
|
4132
|
-
for name, value in vars(self).items():
|
|
4133
|
-
property_name = name[1:]
|
|
4134
|
-
if property_name in memeber_set:
|
|
4135
|
-
memeber_set.remove(property_name)
|
|
4136
|
-
if len(memeber_set) > 0:
|
|
4137
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
class CreateServerlessDBInstanceResponse(AbstractModel):
|
|
4142
|
-
"""CreateServerlessDBInstance返回参数结构体
|
|
4143
|
-
|
|
4144
|
-
"""
|
|
4145
|
-
|
|
4146
|
-
def __init__(self):
|
|
4147
|
-
r"""
|
|
4148
|
-
:param _DBInstanceId: 实例ID,该ID全局唯一,如:postgres-xxxxx
|
|
4149
|
-
:type DBInstanceId: str
|
|
4150
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4151
|
-
:type RequestId: str
|
|
4152
|
-
"""
|
|
4153
|
-
self._DBInstanceId = None
|
|
4154
|
-
self._RequestId = None
|
|
4155
|
-
|
|
4156
|
-
@property
|
|
4157
|
-
def DBInstanceId(self):
|
|
4158
|
-
"""实例ID,该ID全局唯一,如:postgres-xxxxx
|
|
4159
|
-
:rtype: str
|
|
4160
|
-
"""
|
|
4161
|
-
return self._DBInstanceId
|
|
4162
|
-
|
|
4163
|
-
@DBInstanceId.setter
|
|
4164
|
-
def DBInstanceId(self, DBInstanceId):
|
|
4165
|
-
self._DBInstanceId = DBInstanceId
|
|
4166
|
-
|
|
4167
|
-
@property
|
|
4168
|
-
def RequestId(self):
|
|
4169
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4170
|
-
:rtype: str
|
|
4171
|
-
"""
|
|
4172
|
-
return self._RequestId
|
|
4173
|
-
|
|
4174
|
-
@RequestId.setter
|
|
4175
|
-
def RequestId(self, RequestId):
|
|
4176
|
-
self._RequestId = RequestId
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
def _deserialize(self, params):
|
|
4180
|
-
self._DBInstanceId = params.get("DBInstanceId")
|
|
4181
|
-
self._RequestId = params.get("RequestId")
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
3995
|
class DBBackup(AbstractModel):
|
|
4185
3996
|
"""数据库备份信息
|
|
4186
3997
|
|
|
@@ -7354,12 +7165,12 @@ class DescribeBackupSummariesRequest(AbstractModel):
|
|
|
7354
7165
|
:type Offset: int
|
|
7355
7166
|
:param _Filters: 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:
|
|
7356
7167
|
db-instance-id:按照实例ID过滤,类型为string。
|
|
7357
|
-
db-instance-name
|
|
7168
|
+
db-instance-name:按照实例名过滤,支持模糊匹配,类型为string。
|
|
7358
7169
|
db-instance-ip:按照实例私有网络IP地址过滤,类型为string。
|
|
7359
7170
|
:type Filters: list of Filter
|
|
7360
|
-
:param _OrderBy: 排序字段,支持TotalBackupSize
|
|
7171
|
+
:param _OrderBy: 排序字段,支持TotalBackupSize - 备份总大小、LogBackupSize - 备份日志的大小、ManualBaseBackupSize - 手动备份数据大小、AutoBaseBackupSize - 自动备份数据大小。当不传入该参数时,默认不进行排序。
|
|
7361
7172
|
:type OrderBy: str
|
|
7362
|
-
:param _OrderByType: 排序方式,包括升序:asc,降序:desc。
|
|
7173
|
+
:param _OrderByType: 排序方式,包括升序:asc,降序:desc。默认值:asc。
|
|
7363
7174
|
:type OrderByType: str
|
|
7364
7175
|
"""
|
|
7365
7176
|
self._Limit = None
|
|
@@ -7394,7 +7205,7 @@ db-instance-ip:按照实例私有网络IP地址过滤,类型为string。
|
|
|
7394
7205
|
def Filters(self):
|
|
7395
7206
|
"""按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:
|
|
7396
7207
|
db-instance-id:按照实例ID过滤,类型为string。
|
|
7397
|
-
db-instance-name
|
|
7208
|
+
db-instance-name:按照实例名过滤,支持模糊匹配,类型为string。
|
|
7398
7209
|
db-instance-ip:按照实例私有网络IP地址过滤,类型为string。
|
|
7399
7210
|
:rtype: list of Filter
|
|
7400
7211
|
"""
|
|
@@ -7406,7 +7217,7 @@ db-instance-ip:按照实例私有网络IP地址过滤,类型为string。
|
|
|
7406
7217
|
|
|
7407
7218
|
@property
|
|
7408
7219
|
def OrderBy(self):
|
|
7409
|
-
"""排序字段,支持TotalBackupSize
|
|
7220
|
+
"""排序字段,支持TotalBackupSize - 备份总大小、LogBackupSize - 备份日志的大小、ManualBaseBackupSize - 手动备份数据大小、AutoBaseBackupSize - 自动备份数据大小。当不传入该参数时,默认不进行排序。
|
|
7410
7221
|
:rtype: str
|
|
7411
7222
|
"""
|
|
7412
7223
|
return self._OrderBy
|
|
@@ -7417,7 +7228,7 @@ db-instance-ip:按照实例私有网络IP地址过滤,类型为string。
|
|
|
7417
7228
|
|
|
7418
7229
|
@property
|
|
7419
7230
|
def OrderByType(self):
|
|
7420
|
-
"""排序方式,包括升序:asc,降序:desc。
|
|
7231
|
+
"""排序方式,包括升序:asc,降序:desc。默认值:asc。
|
|
7421
7232
|
:rtype: str
|
|
7422
7233
|
"""
|
|
7423
7234
|
return self._OrderByType
|
|
@@ -9070,42 +8881,87 @@ class DescribeDBInstancesResponse(AbstractModel):
|
|
|
9070
8881
|
self._RequestId = params.get("RequestId")
|
|
9071
8882
|
|
|
9072
8883
|
|
|
9073
|
-
class
|
|
9074
|
-
"""
|
|
8884
|
+
class DescribeDBVersionsRequest(AbstractModel):
|
|
8885
|
+
"""DescribeDBVersions请求参数结构体
|
|
8886
|
+
|
|
8887
|
+
"""
|
|
8888
|
+
|
|
8889
|
+
|
|
8890
|
+
class DescribeDBVersionsResponse(AbstractModel):
|
|
8891
|
+
"""DescribeDBVersions返回参数结构体
|
|
9075
8892
|
|
|
9076
8893
|
"""
|
|
9077
8894
|
|
|
9078
8895
|
def __init__(self):
|
|
9079
8896
|
r"""
|
|
9080
|
-
:param
|
|
8897
|
+
:param _VersionSet: 数据库版本号信息列表
|
|
8898
|
+
:type VersionSet: list of Version
|
|
8899
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8900
|
+
:type RequestId: str
|
|
8901
|
+
"""
|
|
8902
|
+
self._VersionSet = None
|
|
8903
|
+
self._RequestId = None
|
|
8904
|
+
|
|
8905
|
+
@property
|
|
8906
|
+
def VersionSet(self):
|
|
8907
|
+
"""数据库版本号信息列表
|
|
8908
|
+
:rtype: list of Version
|
|
8909
|
+
"""
|
|
8910
|
+
return self._VersionSet
|
|
8911
|
+
|
|
8912
|
+
@VersionSet.setter
|
|
8913
|
+
def VersionSet(self, VersionSet):
|
|
8914
|
+
self._VersionSet = VersionSet
|
|
8915
|
+
|
|
8916
|
+
@property
|
|
8917
|
+
def RequestId(self):
|
|
8918
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8919
|
+
:rtype: str
|
|
8920
|
+
"""
|
|
8921
|
+
return self._RequestId
|
|
8922
|
+
|
|
8923
|
+
@RequestId.setter
|
|
8924
|
+
def RequestId(self, RequestId):
|
|
8925
|
+
self._RequestId = RequestId
|
|
8926
|
+
|
|
8927
|
+
|
|
8928
|
+
def _deserialize(self, params):
|
|
8929
|
+
if params.get("VersionSet") is not None:
|
|
8930
|
+
self._VersionSet = []
|
|
8931
|
+
for item in params.get("VersionSet"):
|
|
8932
|
+
obj = Version()
|
|
8933
|
+
obj._deserialize(item)
|
|
8934
|
+
self._VersionSet.append(obj)
|
|
8935
|
+
self._RequestId = params.get("RequestId")
|
|
8936
|
+
|
|
8937
|
+
|
|
8938
|
+
class DescribeDBXlogsRequest(AbstractModel):
|
|
8939
|
+
"""DescribeDBXlogs请求参数结构体
|
|
8940
|
+
|
|
8941
|
+
"""
|
|
8942
|
+
|
|
8943
|
+
def __init__(self):
|
|
8944
|
+
r"""
|
|
8945
|
+
:param _DBInstanceId: 实例ID,形如postgres-4wdeb0zv。
|
|
9081
8946
|
:type DBInstanceId: str
|
|
9082
|
-
:param _StartTime:
|
|
8947
|
+
:param _StartTime: 查询开始时间,形如2018-06-10 17:06:38,起始时间不得小于7天以前
|
|
9083
8948
|
:type StartTime: str
|
|
9084
8949
|
:param _EndTime: 查询结束时间,形如2018-06-10 17:06:38
|
|
9085
8950
|
:type EndTime: str
|
|
9086
|
-
:param
|
|
9087
|
-
:type DatabaseName: str
|
|
9088
|
-
:param _OrderBy: 按照何种指标排序,取值为sum_calls或者sum_cost_time。sum_calls-总调用次数;sum_cost_time-总的花费时间
|
|
9089
|
-
:type OrderBy: str
|
|
9090
|
-
:param _OrderByType: 排序规则。desc-降序;asc-升序
|
|
9091
|
-
:type OrderByType: str
|
|
9092
|
-
:param _Limit: 分页返回结果,每页最大返回数量,取值为1-100,默认20
|
|
9093
|
-
:type Limit: int
|
|
9094
|
-
:param _Offset: 分页返回结果,返回结果的第几页,从0开始计数
|
|
8951
|
+
:param _Offset: 分页返回,表示返回第几页的条目。从第0页开始计数。
|
|
9095
8952
|
:type Offset: int
|
|
8953
|
+
:param _Limit: 分页返回,表示每页有多少条目。取值为1-100。
|
|
8954
|
+
:type Limit: int
|
|
9096
8955
|
"""
|
|
9097
8956
|
self._DBInstanceId = None
|
|
9098
8957
|
self._StartTime = None
|
|
9099
8958
|
self._EndTime = None
|
|
9100
|
-
self._DatabaseName = None
|
|
9101
|
-
self._OrderBy = None
|
|
9102
|
-
self._OrderByType = None
|
|
9103
|
-
self._Limit = None
|
|
9104
8959
|
self._Offset = None
|
|
8960
|
+
self._Limit = None
|
|
9105
8961
|
|
|
9106
8962
|
@property
|
|
9107
8963
|
def DBInstanceId(self):
|
|
9108
|
-
"""实例ID,形如postgres-
|
|
8964
|
+
"""实例ID,形如postgres-4wdeb0zv。
|
|
9109
8965
|
:rtype: str
|
|
9110
8966
|
"""
|
|
9111
8967
|
return self._DBInstanceId
|
|
@@ -9116,7 +8972,7 @@ class DescribeDBSlowlogsRequest(AbstractModel):
|
|
|
9116
8972
|
|
|
9117
8973
|
@property
|
|
9118
8974
|
def StartTime(self):
|
|
9119
|
-
"""
|
|
8975
|
+
"""查询开始时间,形如2018-06-10 17:06:38,起始时间不得小于7天以前
|
|
9120
8976
|
:rtype: str
|
|
9121
8977
|
"""
|
|
9122
8978
|
return self._StartTime
|
|
@@ -9137,257 +8993,11 @@ class DescribeDBSlowlogsRequest(AbstractModel):
|
|
|
9137
8993
|
self._EndTime = EndTime
|
|
9138
8994
|
|
|
9139
8995
|
@property
|
|
9140
|
-
def
|
|
9141
|
-
"""
|
|
9142
|
-
:rtype:
|
|
8996
|
+
def Offset(self):
|
|
8997
|
+
"""分页返回,表示返回第几页的条目。从第0页开始计数。
|
|
8998
|
+
:rtype: int
|
|
9143
8999
|
"""
|
|
9144
|
-
return self.
|
|
9145
|
-
|
|
9146
|
-
@DatabaseName.setter
|
|
9147
|
-
def DatabaseName(self, DatabaseName):
|
|
9148
|
-
self._DatabaseName = DatabaseName
|
|
9149
|
-
|
|
9150
|
-
@property
|
|
9151
|
-
def OrderBy(self):
|
|
9152
|
-
"""按照何种指标排序,取值为sum_calls或者sum_cost_time。sum_calls-总调用次数;sum_cost_time-总的花费时间
|
|
9153
|
-
:rtype: str
|
|
9154
|
-
"""
|
|
9155
|
-
return self._OrderBy
|
|
9156
|
-
|
|
9157
|
-
@OrderBy.setter
|
|
9158
|
-
def OrderBy(self, OrderBy):
|
|
9159
|
-
self._OrderBy = OrderBy
|
|
9160
|
-
|
|
9161
|
-
@property
|
|
9162
|
-
def OrderByType(self):
|
|
9163
|
-
"""排序规则。desc-降序;asc-升序
|
|
9164
|
-
:rtype: str
|
|
9165
|
-
"""
|
|
9166
|
-
return self._OrderByType
|
|
9167
|
-
|
|
9168
|
-
@OrderByType.setter
|
|
9169
|
-
def OrderByType(self, OrderByType):
|
|
9170
|
-
self._OrderByType = OrderByType
|
|
9171
|
-
|
|
9172
|
-
@property
|
|
9173
|
-
def Limit(self):
|
|
9174
|
-
"""分页返回结果,每页最大返回数量,取值为1-100,默认20
|
|
9175
|
-
:rtype: int
|
|
9176
|
-
"""
|
|
9177
|
-
return self._Limit
|
|
9178
|
-
|
|
9179
|
-
@Limit.setter
|
|
9180
|
-
def Limit(self, Limit):
|
|
9181
|
-
self._Limit = Limit
|
|
9182
|
-
|
|
9183
|
-
@property
|
|
9184
|
-
def Offset(self):
|
|
9185
|
-
"""分页返回结果,返回结果的第几页,从0开始计数
|
|
9186
|
-
:rtype: int
|
|
9187
|
-
"""
|
|
9188
|
-
return self._Offset
|
|
9189
|
-
|
|
9190
|
-
@Offset.setter
|
|
9191
|
-
def Offset(self, Offset):
|
|
9192
|
-
self._Offset = Offset
|
|
9193
|
-
|
|
9194
|
-
|
|
9195
|
-
def _deserialize(self, params):
|
|
9196
|
-
self._DBInstanceId = params.get("DBInstanceId")
|
|
9197
|
-
self._StartTime = params.get("StartTime")
|
|
9198
|
-
self._EndTime = params.get("EndTime")
|
|
9199
|
-
self._DatabaseName = params.get("DatabaseName")
|
|
9200
|
-
self._OrderBy = params.get("OrderBy")
|
|
9201
|
-
self._OrderByType = params.get("OrderByType")
|
|
9202
|
-
self._Limit = params.get("Limit")
|
|
9203
|
-
self._Offset = params.get("Offset")
|
|
9204
|
-
memeber_set = set(params.keys())
|
|
9205
|
-
for name, value in vars(self).items():
|
|
9206
|
-
property_name = name[1:]
|
|
9207
|
-
if property_name in memeber_set:
|
|
9208
|
-
memeber_set.remove(property_name)
|
|
9209
|
-
if len(memeber_set) > 0:
|
|
9210
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9211
|
-
|
|
9212
|
-
|
|
9213
|
-
|
|
9214
|
-
class DescribeDBSlowlogsResponse(AbstractModel):
|
|
9215
|
-
"""DescribeDBSlowlogs返回参数结构体
|
|
9216
|
-
|
|
9217
|
-
"""
|
|
9218
|
-
|
|
9219
|
-
def __init__(self):
|
|
9220
|
-
r"""
|
|
9221
|
-
:param _TotalCount: 本次返回多少条数据
|
|
9222
|
-
:type TotalCount: int
|
|
9223
|
-
:param _Detail: 慢查询日志详情
|
|
9224
|
-
:type Detail: :class:`tencentcloud.postgres.v20170312.models.SlowlogDetail`
|
|
9225
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9226
|
-
:type RequestId: str
|
|
9227
|
-
"""
|
|
9228
|
-
self._TotalCount = None
|
|
9229
|
-
self._Detail = None
|
|
9230
|
-
self._RequestId = None
|
|
9231
|
-
|
|
9232
|
-
@property
|
|
9233
|
-
def TotalCount(self):
|
|
9234
|
-
"""本次返回多少条数据
|
|
9235
|
-
:rtype: int
|
|
9236
|
-
"""
|
|
9237
|
-
return self._TotalCount
|
|
9238
|
-
|
|
9239
|
-
@TotalCount.setter
|
|
9240
|
-
def TotalCount(self, TotalCount):
|
|
9241
|
-
self._TotalCount = TotalCount
|
|
9242
|
-
|
|
9243
|
-
@property
|
|
9244
|
-
def Detail(self):
|
|
9245
|
-
"""慢查询日志详情
|
|
9246
|
-
:rtype: :class:`tencentcloud.postgres.v20170312.models.SlowlogDetail`
|
|
9247
|
-
"""
|
|
9248
|
-
return self._Detail
|
|
9249
|
-
|
|
9250
|
-
@Detail.setter
|
|
9251
|
-
def Detail(self, Detail):
|
|
9252
|
-
self._Detail = Detail
|
|
9253
|
-
|
|
9254
|
-
@property
|
|
9255
|
-
def RequestId(self):
|
|
9256
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9257
|
-
:rtype: str
|
|
9258
|
-
"""
|
|
9259
|
-
return self._RequestId
|
|
9260
|
-
|
|
9261
|
-
@RequestId.setter
|
|
9262
|
-
def RequestId(self, RequestId):
|
|
9263
|
-
self._RequestId = RequestId
|
|
9264
|
-
|
|
9265
|
-
|
|
9266
|
-
def _deserialize(self, params):
|
|
9267
|
-
self._TotalCount = params.get("TotalCount")
|
|
9268
|
-
if params.get("Detail") is not None:
|
|
9269
|
-
self._Detail = SlowlogDetail()
|
|
9270
|
-
self._Detail._deserialize(params.get("Detail"))
|
|
9271
|
-
self._RequestId = params.get("RequestId")
|
|
9272
|
-
|
|
9273
|
-
|
|
9274
|
-
class DescribeDBVersionsRequest(AbstractModel):
|
|
9275
|
-
"""DescribeDBVersions请求参数结构体
|
|
9276
|
-
|
|
9277
|
-
"""
|
|
9278
|
-
|
|
9279
|
-
|
|
9280
|
-
class DescribeDBVersionsResponse(AbstractModel):
|
|
9281
|
-
"""DescribeDBVersions返回参数结构体
|
|
9282
|
-
|
|
9283
|
-
"""
|
|
9284
|
-
|
|
9285
|
-
def __init__(self):
|
|
9286
|
-
r"""
|
|
9287
|
-
:param _VersionSet: 数据库版本号信息列表
|
|
9288
|
-
:type VersionSet: list of Version
|
|
9289
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9290
|
-
:type RequestId: str
|
|
9291
|
-
"""
|
|
9292
|
-
self._VersionSet = None
|
|
9293
|
-
self._RequestId = None
|
|
9294
|
-
|
|
9295
|
-
@property
|
|
9296
|
-
def VersionSet(self):
|
|
9297
|
-
"""数据库版本号信息列表
|
|
9298
|
-
:rtype: list of Version
|
|
9299
|
-
"""
|
|
9300
|
-
return self._VersionSet
|
|
9301
|
-
|
|
9302
|
-
@VersionSet.setter
|
|
9303
|
-
def VersionSet(self, VersionSet):
|
|
9304
|
-
self._VersionSet = VersionSet
|
|
9305
|
-
|
|
9306
|
-
@property
|
|
9307
|
-
def RequestId(self):
|
|
9308
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9309
|
-
:rtype: str
|
|
9310
|
-
"""
|
|
9311
|
-
return self._RequestId
|
|
9312
|
-
|
|
9313
|
-
@RequestId.setter
|
|
9314
|
-
def RequestId(self, RequestId):
|
|
9315
|
-
self._RequestId = RequestId
|
|
9316
|
-
|
|
9317
|
-
|
|
9318
|
-
def _deserialize(self, params):
|
|
9319
|
-
if params.get("VersionSet") is not None:
|
|
9320
|
-
self._VersionSet = []
|
|
9321
|
-
for item in params.get("VersionSet"):
|
|
9322
|
-
obj = Version()
|
|
9323
|
-
obj._deserialize(item)
|
|
9324
|
-
self._VersionSet.append(obj)
|
|
9325
|
-
self._RequestId = params.get("RequestId")
|
|
9326
|
-
|
|
9327
|
-
|
|
9328
|
-
class DescribeDBXlogsRequest(AbstractModel):
|
|
9329
|
-
"""DescribeDBXlogs请求参数结构体
|
|
9330
|
-
|
|
9331
|
-
"""
|
|
9332
|
-
|
|
9333
|
-
def __init__(self):
|
|
9334
|
-
r"""
|
|
9335
|
-
:param _DBInstanceId: 实例ID,形如postgres-4wdeb0zv。
|
|
9336
|
-
:type DBInstanceId: str
|
|
9337
|
-
:param _StartTime: 查询开始时间,形如2018-06-10 17:06:38,起始时间不得小于7天以前
|
|
9338
|
-
:type StartTime: str
|
|
9339
|
-
:param _EndTime: 查询结束时间,形如2018-06-10 17:06:38
|
|
9340
|
-
:type EndTime: str
|
|
9341
|
-
:param _Offset: 分页返回,表示返回第几页的条目。从第0页开始计数。
|
|
9342
|
-
:type Offset: int
|
|
9343
|
-
:param _Limit: 分页返回,表示每页有多少条目。取值为1-100。
|
|
9344
|
-
:type Limit: int
|
|
9345
|
-
"""
|
|
9346
|
-
self._DBInstanceId = None
|
|
9347
|
-
self._StartTime = None
|
|
9348
|
-
self._EndTime = None
|
|
9349
|
-
self._Offset = None
|
|
9350
|
-
self._Limit = None
|
|
9351
|
-
|
|
9352
|
-
@property
|
|
9353
|
-
def DBInstanceId(self):
|
|
9354
|
-
"""实例ID,形如postgres-4wdeb0zv。
|
|
9355
|
-
:rtype: str
|
|
9356
|
-
"""
|
|
9357
|
-
return self._DBInstanceId
|
|
9358
|
-
|
|
9359
|
-
@DBInstanceId.setter
|
|
9360
|
-
def DBInstanceId(self, DBInstanceId):
|
|
9361
|
-
self._DBInstanceId = DBInstanceId
|
|
9362
|
-
|
|
9363
|
-
@property
|
|
9364
|
-
def StartTime(self):
|
|
9365
|
-
"""查询开始时间,形如2018-06-10 17:06:38,起始时间不得小于7天以前
|
|
9366
|
-
:rtype: str
|
|
9367
|
-
"""
|
|
9368
|
-
return self._StartTime
|
|
9369
|
-
|
|
9370
|
-
@StartTime.setter
|
|
9371
|
-
def StartTime(self, StartTime):
|
|
9372
|
-
self._StartTime = StartTime
|
|
9373
|
-
|
|
9374
|
-
@property
|
|
9375
|
-
def EndTime(self):
|
|
9376
|
-
"""查询结束时间,形如2018-06-10 17:06:38
|
|
9377
|
-
:rtype: str
|
|
9378
|
-
"""
|
|
9379
|
-
return self._EndTime
|
|
9380
|
-
|
|
9381
|
-
@EndTime.setter
|
|
9382
|
-
def EndTime(self, EndTime):
|
|
9383
|
-
self._EndTime = EndTime
|
|
9384
|
-
|
|
9385
|
-
@property
|
|
9386
|
-
def Offset(self):
|
|
9387
|
-
"""分页返回,表示返回第几页的条目。从第0页开始计数。
|
|
9388
|
-
:rtype: int
|
|
9389
|
-
"""
|
|
9390
|
-
return self._Offset
|
|
9000
|
+
return self._Offset
|
|
9391
9001
|
|
|
9392
9002
|
@Offset.setter
|
|
9393
9003
|
def Offset(self, Offset):
|
|
@@ -11318,210 +10928,34 @@ class DescribeRegionsResponse(AbstractModel):
|
|
|
11318
10928
|
self._RequestId = params.get("RequestId")
|
|
11319
10929
|
|
|
11320
10930
|
|
|
11321
|
-
class
|
|
11322
|
-
"""
|
|
10931
|
+
class DescribeSlowQueryAnalysisRequest(AbstractModel):
|
|
10932
|
+
"""DescribeSlowQueryAnalysis请求参数结构体
|
|
11323
10933
|
|
|
11324
10934
|
"""
|
|
11325
10935
|
|
|
11326
10936
|
def __init__(self):
|
|
11327
10937
|
r"""
|
|
11328
|
-
:param
|
|
11329
|
-
|
|
11330
|
-
|
|
11331
|
-
|
|
11332
|
-
|
|
11333
|
-
|
|
11334
|
-
|
|
11335
|
-
:type
|
|
11336
|
-
:param
|
|
11337
|
-
:type Limit: int
|
|
11338
|
-
:param _Offset: 偏移量
|
|
11339
|
-
:type Offset: int
|
|
11340
|
-
:param _OrderBy: 排序指标,目前支持实例创建时间CreateTime
|
|
10938
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
10939
|
+
:type DBInstanceId: str
|
|
10940
|
+
:param _StartTime: 查询起始时间,形如2018-01-01 00:00:00。日志保留时间默认为7天,起始时间不能超出保留时间范围。
|
|
10941
|
+
:type StartTime: str
|
|
10942
|
+
:param _EndTime: 查询结束时间,形如2018-01-01 00:00:00。
|
|
10943
|
+
:type EndTime: str
|
|
10944
|
+
:param _DatabaseName: 数据库名字。
|
|
10945
|
+
:type DatabaseName: str
|
|
10946
|
+
:param _OrderBy: 排序字段,取值范围[CallNum,CostTime,AvgCostTime]。默认值为CallNum。
|
|
11341
10947
|
:type OrderBy: str
|
|
11342
|
-
:param _OrderByType:
|
|
10948
|
+
:param _OrderByType: 排序方式,包括升序:asc 降序:desc。默认值为desc。
|
|
11343
10949
|
:type OrderByType: str
|
|
10950
|
+
:param _Limit: 每页显示数量,取值范围为1-100。默认值为50。
|
|
10951
|
+
:type Limit: int
|
|
10952
|
+
:param _Offset: 数据偏移量,从0开始。默认值为0。
|
|
10953
|
+
:type Offset: int
|
|
11344
10954
|
"""
|
|
11345
|
-
self.
|
|
11346
|
-
self.
|
|
11347
|
-
self.
|
|
11348
|
-
self.
|
|
11349
|
-
self._OrderByType = None
|
|
11350
|
-
|
|
11351
|
-
@property
|
|
11352
|
-
def Filter(self):
|
|
11353
|
-
"""查询条件。按照一个或者多个过滤条件进行查询,目前支持的过滤条件类型(name字段指定)有:
|
|
11354
|
-
|
|
11355
|
-
- db-instance-id:按照实例ID过滤,类型为string
|
|
11356
|
-
- db-instance-name:按照实例名过滤,类型为string
|
|
11357
|
-
- db-tag-key:按照实例的tag过滤,类型为string
|
|
11358
|
-
|
|
11359
|
-
value字段指定该类型过滤条件下具体要过滤的实例ID/实例名/实例tag-key。
|
|
11360
|
-
:rtype: list of Filter
|
|
11361
|
-
"""
|
|
11362
|
-
return self._Filter
|
|
11363
|
-
|
|
11364
|
-
@Filter.setter
|
|
11365
|
-
def Filter(self, Filter):
|
|
11366
|
-
self._Filter = Filter
|
|
11367
|
-
|
|
11368
|
-
@property
|
|
11369
|
-
def Limit(self):
|
|
11370
|
-
"""查询个数
|
|
11371
|
-
:rtype: int
|
|
11372
|
-
"""
|
|
11373
|
-
return self._Limit
|
|
11374
|
-
|
|
11375
|
-
@Limit.setter
|
|
11376
|
-
def Limit(self, Limit):
|
|
11377
|
-
self._Limit = Limit
|
|
11378
|
-
|
|
11379
|
-
@property
|
|
11380
|
-
def Offset(self):
|
|
11381
|
-
"""偏移量
|
|
11382
|
-
:rtype: int
|
|
11383
|
-
"""
|
|
11384
|
-
return self._Offset
|
|
11385
|
-
|
|
11386
|
-
@Offset.setter
|
|
11387
|
-
def Offset(self, Offset):
|
|
11388
|
-
self._Offset = Offset
|
|
11389
|
-
|
|
11390
|
-
@property
|
|
11391
|
-
def OrderBy(self):
|
|
11392
|
-
"""排序指标,目前支持实例创建时间CreateTime
|
|
11393
|
-
:rtype: str
|
|
11394
|
-
"""
|
|
11395
|
-
return self._OrderBy
|
|
11396
|
-
|
|
11397
|
-
@OrderBy.setter
|
|
11398
|
-
def OrderBy(self, OrderBy):
|
|
11399
|
-
self._OrderBy = OrderBy
|
|
11400
|
-
|
|
11401
|
-
@property
|
|
11402
|
-
def OrderByType(self):
|
|
11403
|
-
"""排序方式,包括升序、降序
|
|
11404
|
-
:rtype: str
|
|
11405
|
-
"""
|
|
11406
|
-
return self._OrderByType
|
|
11407
|
-
|
|
11408
|
-
@OrderByType.setter
|
|
11409
|
-
def OrderByType(self, OrderByType):
|
|
11410
|
-
self._OrderByType = OrderByType
|
|
11411
|
-
|
|
11412
|
-
|
|
11413
|
-
def _deserialize(self, params):
|
|
11414
|
-
if params.get("Filter") is not None:
|
|
11415
|
-
self._Filter = []
|
|
11416
|
-
for item in params.get("Filter"):
|
|
11417
|
-
obj = Filter()
|
|
11418
|
-
obj._deserialize(item)
|
|
11419
|
-
self._Filter.append(obj)
|
|
11420
|
-
self._Limit = params.get("Limit")
|
|
11421
|
-
self._Offset = params.get("Offset")
|
|
11422
|
-
self._OrderBy = params.get("OrderBy")
|
|
11423
|
-
self._OrderByType = params.get("OrderByType")
|
|
11424
|
-
memeber_set = set(params.keys())
|
|
11425
|
-
for name, value in vars(self).items():
|
|
11426
|
-
property_name = name[1:]
|
|
11427
|
-
if property_name in memeber_set:
|
|
11428
|
-
memeber_set.remove(property_name)
|
|
11429
|
-
if len(memeber_set) > 0:
|
|
11430
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11431
|
-
|
|
11432
|
-
|
|
11433
|
-
|
|
11434
|
-
class DescribeServerlessDBInstancesResponse(AbstractModel):
|
|
11435
|
-
"""DescribeServerlessDBInstances返回参数结构体
|
|
11436
|
-
|
|
11437
|
-
"""
|
|
11438
|
-
|
|
11439
|
-
def __init__(self):
|
|
11440
|
-
r"""
|
|
11441
|
-
:param _TotalCount: 查询结果数
|
|
11442
|
-
:type TotalCount: int
|
|
11443
|
-
:param _DBInstanceSet: 查询结果
|
|
11444
|
-
:type DBInstanceSet: list of ServerlessDBInstance
|
|
11445
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11446
|
-
:type RequestId: str
|
|
11447
|
-
"""
|
|
11448
|
-
self._TotalCount = None
|
|
11449
|
-
self._DBInstanceSet = None
|
|
11450
|
-
self._RequestId = None
|
|
11451
|
-
|
|
11452
|
-
@property
|
|
11453
|
-
def TotalCount(self):
|
|
11454
|
-
"""查询结果数
|
|
11455
|
-
:rtype: int
|
|
11456
|
-
"""
|
|
11457
|
-
return self._TotalCount
|
|
11458
|
-
|
|
11459
|
-
@TotalCount.setter
|
|
11460
|
-
def TotalCount(self, TotalCount):
|
|
11461
|
-
self._TotalCount = TotalCount
|
|
11462
|
-
|
|
11463
|
-
@property
|
|
11464
|
-
def DBInstanceSet(self):
|
|
11465
|
-
"""查询结果
|
|
11466
|
-
:rtype: list of ServerlessDBInstance
|
|
11467
|
-
"""
|
|
11468
|
-
return self._DBInstanceSet
|
|
11469
|
-
|
|
11470
|
-
@DBInstanceSet.setter
|
|
11471
|
-
def DBInstanceSet(self, DBInstanceSet):
|
|
11472
|
-
self._DBInstanceSet = DBInstanceSet
|
|
11473
|
-
|
|
11474
|
-
@property
|
|
11475
|
-
def RequestId(self):
|
|
11476
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11477
|
-
:rtype: str
|
|
11478
|
-
"""
|
|
11479
|
-
return self._RequestId
|
|
11480
|
-
|
|
11481
|
-
@RequestId.setter
|
|
11482
|
-
def RequestId(self, RequestId):
|
|
11483
|
-
self._RequestId = RequestId
|
|
11484
|
-
|
|
11485
|
-
|
|
11486
|
-
def _deserialize(self, params):
|
|
11487
|
-
self._TotalCount = params.get("TotalCount")
|
|
11488
|
-
if params.get("DBInstanceSet") is not None:
|
|
11489
|
-
self._DBInstanceSet = []
|
|
11490
|
-
for item in params.get("DBInstanceSet"):
|
|
11491
|
-
obj = ServerlessDBInstance()
|
|
11492
|
-
obj._deserialize(item)
|
|
11493
|
-
self._DBInstanceSet.append(obj)
|
|
11494
|
-
self._RequestId = params.get("RequestId")
|
|
11495
|
-
|
|
11496
|
-
|
|
11497
|
-
class DescribeSlowQueryAnalysisRequest(AbstractModel):
|
|
11498
|
-
"""DescribeSlowQueryAnalysis请求参数结构体
|
|
11499
|
-
|
|
11500
|
-
"""
|
|
11501
|
-
|
|
11502
|
-
def __init__(self):
|
|
11503
|
-
r"""
|
|
11504
|
-
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
11505
|
-
:type DBInstanceId: str
|
|
11506
|
-
:param _StartTime: 查询起始时间,形如2018-01-01 00:00:00。日志保留时间默认为7天,起始时间不能超出保留时间范围。
|
|
11507
|
-
:type StartTime: str
|
|
11508
|
-
:param _EndTime: 查询结束时间,形如2018-01-01 00:00:00。
|
|
11509
|
-
:type EndTime: str
|
|
11510
|
-
:param _DatabaseName: 数据库名字。
|
|
11511
|
-
:type DatabaseName: str
|
|
11512
|
-
:param _OrderBy: 排序字段,取值范围[CallNum,CostTime,AvgCostTime]。默认值为CallNum。
|
|
11513
|
-
:type OrderBy: str
|
|
11514
|
-
:param _OrderByType: 排序方式,包括升序:asc 降序:desc。默认值为desc。
|
|
11515
|
-
:type OrderByType: str
|
|
11516
|
-
:param _Limit: 每页显示数量,取值范围为1-100。默认值为50。
|
|
11517
|
-
:type Limit: int
|
|
11518
|
-
:param _Offset: 数据偏移量,从0开始。默认值为0。
|
|
11519
|
-
:type Offset: int
|
|
11520
|
-
"""
|
|
11521
|
-
self._DBInstanceId = None
|
|
11522
|
-
self._StartTime = None
|
|
11523
|
-
self._EndTime = None
|
|
11524
|
-
self._DatabaseName = None
|
|
10955
|
+
self._DBInstanceId = None
|
|
10956
|
+
self._StartTime = None
|
|
10957
|
+
self._EndTime = None
|
|
10958
|
+
self._DatabaseName = None
|
|
11525
10959
|
self._OrderBy = None
|
|
11526
10960
|
self._OrderByType = None
|
|
11527
10961
|
self._Limit = None
|
|
@@ -16573,334 +16007,88 @@ class NetworkAccess(AbstractModel):
|
|
|
16573
16007
|
|
|
16574
16008
|
|
|
16575
16009
|
|
|
16576
|
-
class
|
|
16577
|
-
"""
|
|
16010
|
+
class OpenDBExtranetAccessRequest(AbstractModel):
|
|
16011
|
+
"""OpenDBExtranetAccess请求参数结构体
|
|
16578
16012
|
|
|
16579
16013
|
"""
|
|
16580
16014
|
|
|
16581
16015
|
def __init__(self):
|
|
16582
16016
|
r"""
|
|
16583
|
-
:param
|
|
16584
|
-
:type
|
|
16585
|
-
:param
|
|
16586
|
-
|
|
16587
|
-
:
|
|
16588
|
-
:type CallsGrids: list of int
|
|
16589
|
-
:param _CostTime: 花费总时间
|
|
16590
|
-
:type CostTime: float
|
|
16591
|
-
:param _Rows: 影响的行数
|
|
16592
|
-
:type Rows: int
|
|
16593
|
-
:param _MinCostTime: 花费最小时间
|
|
16594
|
-
:type MinCostTime: float
|
|
16595
|
-
:param _MaxCostTime: 花费最大时间
|
|
16596
|
-
:type MaxCostTime: float
|
|
16597
|
-
:param _FirstTime: 最早一条慢SQL时间
|
|
16598
|
-
:type FirstTime: str
|
|
16599
|
-
:param _LastTime: 最晚一条慢SQL时间
|
|
16600
|
-
:type LastTime: str
|
|
16601
|
-
:param _SharedReadBlks: 读共享内存块数
|
|
16602
|
-
:type SharedReadBlks: int
|
|
16603
|
-
:param _SharedWriteBlks: 写共享内存块数
|
|
16604
|
-
:type SharedWriteBlks: int
|
|
16605
|
-
:param _ReadCostTime: 读io总耗时
|
|
16606
|
-
:type ReadCostTime: int
|
|
16607
|
-
:param _WriteCostTime: 写io总耗时
|
|
16608
|
-
:type WriteCostTime: int
|
|
16609
|
-
:param _DatabaseName: 数据库名字
|
|
16610
|
-
:type DatabaseName: str
|
|
16611
|
-
:param _NormalQuery: 脱敏后的慢SQL
|
|
16612
|
-
:type NormalQuery: str
|
|
16017
|
+
:param _DBInstanceId: 实例ID,形如postgres-hez4fh0v。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。
|
|
16018
|
+
:type DBInstanceId: str
|
|
16019
|
+
:param _IsIpv6: 是否开通Ipv6外网,1:是,0:否
|
|
16020
|
+
默认值:0
|
|
16021
|
+
:type IsIpv6: int
|
|
16613
16022
|
"""
|
|
16614
|
-
self.
|
|
16615
|
-
self.
|
|
16616
|
-
self._CallsGrids = None
|
|
16617
|
-
self._CostTime = None
|
|
16618
|
-
self._Rows = None
|
|
16619
|
-
self._MinCostTime = None
|
|
16620
|
-
self._MaxCostTime = None
|
|
16621
|
-
self._FirstTime = None
|
|
16622
|
-
self._LastTime = None
|
|
16623
|
-
self._SharedReadBlks = None
|
|
16624
|
-
self._SharedWriteBlks = None
|
|
16625
|
-
self._ReadCostTime = None
|
|
16626
|
-
self._WriteCostTime = None
|
|
16627
|
-
self._DatabaseName = None
|
|
16628
|
-
self._NormalQuery = None
|
|
16023
|
+
self._DBInstanceId = None
|
|
16024
|
+
self._IsIpv6 = None
|
|
16629
16025
|
|
|
16630
16026
|
@property
|
|
16631
|
-
def
|
|
16632
|
-
"""
|
|
16027
|
+
def DBInstanceId(self):
|
|
16028
|
+
"""实例ID,形如postgres-hez4fh0v。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。
|
|
16633
16029
|
:rtype: str
|
|
16634
16030
|
"""
|
|
16635
|
-
return self.
|
|
16031
|
+
return self._DBInstanceId
|
|
16636
16032
|
|
|
16637
|
-
@
|
|
16638
|
-
def
|
|
16639
|
-
self.
|
|
16033
|
+
@DBInstanceId.setter
|
|
16034
|
+
def DBInstanceId(self, DBInstanceId):
|
|
16035
|
+
self._DBInstanceId = DBInstanceId
|
|
16640
16036
|
|
|
16641
16037
|
@property
|
|
16642
|
-
def
|
|
16643
|
-
"""
|
|
16038
|
+
def IsIpv6(self):
|
|
16039
|
+
"""是否开通Ipv6外网,1:是,0:否
|
|
16040
|
+
默认值:0
|
|
16644
16041
|
:rtype: int
|
|
16645
16042
|
"""
|
|
16646
|
-
return self.
|
|
16647
|
-
|
|
16648
|
-
@Calls.setter
|
|
16649
|
-
def Calls(self, Calls):
|
|
16650
|
-
self._Calls = Calls
|
|
16043
|
+
return self._IsIpv6
|
|
16651
16044
|
|
|
16652
|
-
@
|
|
16653
|
-
def
|
|
16654
|
-
|
|
16655
|
-
:rtype: list of int
|
|
16656
|
-
"""
|
|
16657
|
-
return self._CallsGrids
|
|
16045
|
+
@IsIpv6.setter
|
|
16046
|
+
def IsIpv6(self, IsIpv6):
|
|
16047
|
+
self._IsIpv6 = IsIpv6
|
|
16658
16048
|
|
|
16659
|
-
@CallsGrids.setter
|
|
16660
|
-
def CallsGrids(self, CallsGrids):
|
|
16661
|
-
self._CallsGrids = CallsGrids
|
|
16662
16049
|
|
|
16663
|
-
|
|
16664
|
-
|
|
16665
|
-
""
|
|
16666
|
-
|
|
16667
|
-
|
|
16668
|
-
|
|
16050
|
+
def _deserialize(self, params):
|
|
16051
|
+
self._DBInstanceId = params.get("DBInstanceId")
|
|
16052
|
+
self._IsIpv6 = params.get("IsIpv6")
|
|
16053
|
+
memeber_set = set(params.keys())
|
|
16054
|
+
for name, value in vars(self).items():
|
|
16055
|
+
property_name = name[1:]
|
|
16056
|
+
if property_name in memeber_set:
|
|
16057
|
+
memeber_set.remove(property_name)
|
|
16058
|
+
if len(memeber_set) > 0:
|
|
16059
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16060
|
+
|
|
16669
16061
|
|
|
16670
|
-
@CostTime.setter
|
|
16671
|
-
def CostTime(self, CostTime):
|
|
16672
|
-
self._CostTime = CostTime
|
|
16673
16062
|
|
|
16674
|
-
|
|
16675
|
-
|
|
16676
|
-
"""影响的行数
|
|
16677
|
-
:rtype: int
|
|
16678
|
-
"""
|
|
16679
|
-
return self._Rows
|
|
16063
|
+
class OpenDBExtranetAccessResponse(AbstractModel):
|
|
16064
|
+
"""OpenDBExtranetAccess返回参数结构体
|
|
16680
16065
|
|
|
16681
|
-
|
|
16682
|
-
def Rows(self, Rows):
|
|
16683
|
-
self._Rows = Rows
|
|
16066
|
+
"""
|
|
16684
16067
|
|
|
16685
|
-
|
|
16686
|
-
|
|
16687
|
-
|
|
16688
|
-
:
|
|
16068
|
+
def __init__(self):
|
|
16069
|
+
r"""
|
|
16070
|
+
:param _FlowId: 异步任务流程ID
|
|
16071
|
+
:type FlowId: int
|
|
16072
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16073
|
+
:type RequestId: str
|
|
16689
16074
|
"""
|
|
16690
|
-
|
|
16691
|
-
|
|
16692
|
-
@MinCostTime.setter
|
|
16693
|
-
def MinCostTime(self, MinCostTime):
|
|
16694
|
-
self._MinCostTime = MinCostTime
|
|
16075
|
+
self._FlowId = None
|
|
16076
|
+
self._RequestId = None
|
|
16695
16077
|
|
|
16696
16078
|
@property
|
|
16697
|
-
def
|
|
16698
|
-
"""
|
|
16699
|
-
:rtype:
|
|
16079
|
+
def FlowId(self):
|
|
16080
|
+
"""异步任务流程ID
|
|
16081
|
+
:rtype: int
|
|
16700
16082
|
"""
|
|
16701
|
-
return self.
|
|
16083
|
+
return self._FlowId
|
|
16702
16084
|
|
|
16703
|
-
@
|
|
16704
|
-
def
|
|
16705
|
-
self.
|
|
16085
|
+
@FlowId.setter
|
|
16086
|
+
def FlowId(self, FlowId):
|
|
16087
|
+
self._FlowId = FlowId
|
|
16706
16088
|
|
|
16707
16089
|
@property
|
|
16708
|
-
def
|
|
16709
|
-
"""
|
|
16710
|
-
:rtype: str
|
|
16711
|
-
"""
|
|
16712
|
-
return self._FirstTime
|
|
16713
|
-
|
|
16714
|
-
@FirstTime.setter
|
|
16715
|
-
def FirstTime(self, FirstTime):
|
|
16716
|
-
self._FirstTime = FirstTime
|
|
16717
|
-
|
|
16718
|
-
@property
|
|
16719
|
-
def LastTime(self):
|
|
16720
|
-
"""最晚一条慢SQL时间
|
|
16721
|
-
:rtype: str
|
|
16722
|
-
"""
|
|
16723
|
-
return self._LastTime
|
|
16724
|
-
|
|
16725
|
-
@LastTime.setter
|
|
16726
|
-
def LastTime(self, LastTime):
|
|
16727
|
-
self._LastTime = LastTime
|
|
16728
|
-
|
|
16729
|
-
@property
|
|
16730
|
-
def SharedReadBlks(self):
|
|
16731
|
-
"""读共享内存块数
|
|
16732
|
-
:rtype: int
|
|
16733
|
-
"""
|
|
16734
|
-
return self._SharedReadBlks
|
|
16735
|
-
|
|
16736
|
-
@SharedReadBlks.setter
|
|
16737
|
-
def SharedReadBlks(self, SharedReadBlks):
|
|
16738
|
-
self._SharedReadBlks = SharedReadBlks
|
|
16739
|
-
|
|
16740
|
-
@property
|
|
16741
|
-
def SharedWriteBlks(self):
|
|
16742
|
-
"""写共享内存块数
|
|
16743
|
-
:rtype: int
|
|
16744
|
-
"""
|
|
16745
|
-
return self._SharedWriteBlks
|
|
16746
|
-
|
|
16747
|
-
@SharedWriteBlks.setter
|
|
16748
|
-
def SharedWriteBlks(self, SharedWriteBlks):
|
|
16749
|
-
self._SharedWriteBlks = SharedWriteBlks
|
|
16750
|
-
|
|
16751
|
-
@property
|
|
16752
|
-
def ReadCostTime(self):
|
|
16753
|
-
"""读io总耗时
|
|
16754
|
-
:rtype: int
|
|
16755
|
-
"""
|
|
16756
|
-
return self._ReadCostTime
|
|
16757
|
-
|
|
16758
|
-
@ReadCostTime.setter
|
|
16759
|
-
def ReadCostTime(self, ReadCostTime):
|
|
16760
|
-
self._ReadCostTime = ReadCostTime
|
|
16761
|
-
|
|
16762
|
-
@property
|
|
16763
|
-
def WriteCostTime(self):
|
|
16764
|
-
"""写io总耗时
|
|
16765
|
-
:rtype: int
|
|
16766
|
-
"""
|
|
16767
|
-
return self._WriteCostTime
|
|
16768
|
-
|
|
16769
|
-
@WriteCostTime.setter
|
|
16770
|
-
def WriteCostTime(self, WriteCostTime):
|
|
16771
|
-
self._WriteCostTime = WriteCostTime
|
|
16772
|
-
|
|
16773
|
-
@property
|
|
16774
|
-
def DatabaseName(self):
|
|
16775
|
-
"""数据库名字
|
|
16776
|
-
:rtype: str
|
|
16777
|
-
"""
|
|
16778
|
-
return self._DatabaseName
|
|
16779
|
-
|
|
16780
|
-
@DatabaseName.setter
|
|
16781
|
-
def DatabaseName(self, DatabaseName):
|
|
16782
|
-
self._DatabaseName = DatabaseName
|
|
16783
|
-
|
|
16784
|
-
@property
|
|
16785
|
-
def NormalQuery(self):
|
|
16786
|
-
"""脱敏后的慢SQL
|
|
16787
|
-
:rtype: str
|
|
16788
|
-
"""
|
|
16789
|
-
return self._NormalQuery
|
|
16790
|
-
|
|
16791
|
-
@NormalQuery.setter
|
|
16792
|
-
def NormalQuery(self, NormalQuery):
|
|
16793
|
-
self._NormalQuery = NormalQuery
|
|
16794
|
-
|
|
16795
|
-
|
|
16796
|
-
def _deserialize(self, params):
|
|
16797
|
-
self._UserName = params.get("UserName")
|
|
16798
|
-
self._Calls = params.get("Calls")
|
|
16799
|
-
self._CallsGrids = params.get("CallsGrids")
|
|
16800
|
-
self._CostTime = params.get("CostTime")
|
|
16801
|
-
self._Rows = params.get("Rows")
|
|
16802
|
-
self._MinCostTime = params.get("MinCostTime")
|
|
16803
|
-
self._MaxCostTime = params.get("MaxCostTime")
|
|
16804
|
-
self._FirstTime = params.get("FirstTime")
|
|
16805
|
-
self._LastTime = params.get("LastTime")
|
|
16806
|
-
self._SharedReadBlks = params.get("SharedReadBlks")
|
|
16807
|
-
self._SharedWriteBlks = params.get("SharedWriteBlks")
|
|
16808
|
-
self._ReadCostTime = params.get("ReadCostTime")
|
|
16809
|
-
self._WriteCostTime = params.get("WriteCostTime")
|
|
16810
|
-
self._DatabaseName = params.get("DatabaseName")
|
|
16811
|
-
self._NormalQuery = params.get("NormalQuery")
|
|
16812
|
-
memeber_set = set(params.keys())
|
|
16813
|
-
for name, value in vars(self).items():
|
|
16814
|
-
property_name = name[1:]
|
|
16815
|
-
if property_name in memeber_set:
|
|
16816
|
-
memeber_set.remove(property_name)
|
|
16817
|
-
if len(memeber_set) > 0:
|
|
16818
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16819
|
-
|
|
16820
|
-
|
|
16821
|
-
|
|
16822
|
-
class OpenDBExtranetAccessRequest(AbstractModel):
|
|
16823
|
-
"""OpenDBExtranetAccess请求参数结构体
|
|
16824
|
-
|
|
16825
|
-
"""
|
|
16826
|
-
|
|
16827
|
-
def __init__(self):
|
|
16828
|
-
r"""
|
|
16829
|
-
:param _DBInstanceId: 实例ID,形如postgres-hez4fh0v。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。
|
|
16830
|
-
:type DBInstanceId: str
|
|
16831
|
-
:param _IsIpv6: 是否开通Ipv6外网,1:是,0:否
|
|
16832
|
-
默认值:0
|
|
16833
|
-
:type IsIpv6: int
|
|
16834
|
-
"""
|
|
16835
|
-
self._DBInstanceId = None
|
|
16836
|
-
self._IsIpv6 = None
|
|
16837
|
-
|
|
16838
|
-
@property
|
|
16839
|
-
def DBInstanceId(self):
|
|
16840
|
-
"""实例ID,形如postgres-hez4fh0v。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。
|
|
16841
|
-
:rtype: str
|
|
16842
|
-
"""
|
|
16843
|
-
return self._DBInstanceId
|
|
16844
|
-
|
|
16845
|
-
@DBInstanceId.setter
|
|
16846
|
-
def DBInstanceId(self, DBInstanceId):
|
|
16847
|
-
self._DBInstanceId = DBInstanceId
|
|
16848
|
-
|
|
16849
|
-
@property
|
|
16850
|
-
def IsIpv6(self):
|
|
16851
|
-
"""是否开通Ipv6外网,1:是,0:否
|
|
16852
|
-
默认值:0
|
|
16853
|
-
:rtype: int
|
|
16854
|
-
"""
|
|
16855
|
-
return self._IsIpv6
|
|
16856
|
-
|
|
16857
|
-
@IsIpv6.setter
|
|
16858
|
-
def IsIpv6(self, IsIpv6):
|
|
16859
|
-
self._IsIpv6 = IsIpv6
|
|
16860
|
-
|
|
16861
|
-
|
|
16862
|
-
def _deserialize(self, params):
|
|
16863
|
-
self._DBInstanceId = params.get("DBInstanceId")
|
|
16864
|
-
self._IsIpv6 = params.get("IsIpv6")
|
|
16865
|
-
memeber_set = set(params.keys())
|
|
16866
|
-
for name, value in vars(self).items():
|
|
16867
|
-
property_name = name[1:]
|
|
16868
|
-
if property_name in memeber_set:
|
|
16869
|
-
memeber_set.remove(property_name)
|
|
16870
|
-
if len(memeber_set) > 0:
|
|
16871
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16872
|
-
|
|
16873
|
-
|
|
16874
|
-
|
|
16875
|
-
class OpenDBExtranetAccessResponse(AbstractModel):
|
|
16876
|
-
"""OpenDBExtranetAccess返回参数结构体
|
|
16877
|
-
|
|
16878
|
-
"""
|
|
16879
|
-
|
|
16880
|
-
def __init__(self):
|
|
16881
|
-
r"""
|
|
16882
|
-
:param _FlowId: 异步任务流程ID
|
|
16883
|
-
:type FlowId: int
|
|
16884
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16885
|
-
:type RequestId: str
|
|
16886
|
-
"""
|
|
16887
|
-
self._FlowId = None
|
|
16888
|
-
self._RequestId = None
|
|
16889
|
-
|
|
16890
|
-
@property
|
|
16891
|
-
def FlowId(self):
|
|
16892
|
-
"""异步任务流程ID
|
|
16893
|
-
:rtype: int
|
|
16894
|
-
"""
|
|
16895
|
-
return self._FlowId
|
|
16896
|
-
|
|
16897
|
-
@FlowId.setter
|
|
16898
|
-
def FlowId(self, FlowId):
|
|
16899
|
-
self._FlowId = FlowId
|
|
16900
|
-
|
|
16901
|
-
@property
|
|
16902
|
-
def RequestId(self):
|
|
16903
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16090
|
+
def RequestId(self):
|
|
16091
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16904
16092
|
:rtype: str
|
|
16905
16093
|
"""
|
|
16906
16094
|
return self._RequestId
|
|
@@ -19107,62 +18295,47 @@ class SecurityGroup(AbstractModel):
|
|
|
19107
18295
|
|
|
19108
18296
|
|
|
19109
18297
|
|
|
19110
|
-
class
|
|
19111
|
-
"""
|
|
18298
|
+
class SetAutoRenewFlagRequest(AbstractModel):
|
|
18299
|
+
"""SetAutoRenewFlag请求参数结构体
|
|
19112
18300
|
|
|
19113
18301
|
"""
|
|
19114
18302
|
|
|
19115
18303
|
def __init__(self):
|
|
19116
18304
|
r"""
|
|
19117
|
-
:param
|
|
19118
|
-
:type
|
|
19119
|
-
:param
|
|
19120
|
-
:type
|
|
19121
|
-
:param _DBConnLimit: 连接数限制
|
|
19122
|
-
:type DBConnLimit: int
|
|
19123
|
-
"""
|
|
19124
|
-
self._DBUser = None
|
|
19125
|
-
self._DBPassword = None
|
|
19126
|
-
self._DBConnLimit = None
|
|
19127
|
-
|
|
19128
|
-
@property
|
|
19129
|
-
def DBUser(self):
|
|
19130
|
-
"""用户名
|
|
19131
|
-
:rtype: str
|
|
18305
|
+
:param _DBInstanceIdSet: 实例ID集合。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。仅支持预付费(包年包月)的实例。支持同时操作多个实例。
|
|
18306
|
+
:type DBInstanceIdSet: list of str
|
|
18307
|
+
:param _AutoRenewFlag: 续费标记。0-正常续费;1-自动续费;2-到期不续费
|
|
18308
|
+
:type AutoRenewFlag: int
|
|
19132
18309
|
"""
|
|
19133
|
-
|
|
19134
|
-
|
|
19135
|
-
@DBUser.setter
|
|
19136
|
-
def DBUser(self, DBUser):
|
|
19137
|
-
self._DBUser = DBUser
|
|
18310
|
+
self._DBInstanceIdSet = None
|
|
18311
|
+
self._AutoRenewFlag = None
|
|
19138
18312
|
|
|
19139
18313
|
@property
|
|
19140
|
-
def
|
|
19141
|
-
"""
|
|
19142
|
-
:rtype: str
|
|
18314
|
+
def DBInstanceIdSet(self):
|
|
18315
|
+
"""实例ID集合。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。仅支持预付费(包年包月)的实例。支持同时操作多个实例。
|
|
18316
|
+
:rtype: list of str
|
|
19143
18317
|
"""
|
|
19144
|
-
return self.
|
|
18318
|
+
return self._DBInstanceIdSet
|
|
19145
18319
|
|
|
19146
|
-
@
|
|
19147
|
-
def
|
|
19148
|
-
self.
|
|
18320
|
+
@DBInstanceIdSet.setter
|
|
18321
|
+
def DBInstanceIdSet(self, DBInstanceIdSet):
|
|
18322
|
+
self._DBInstanceIdSet = DBInstanceIdSet
|
|
19149
18323
|
|
|
19150
18324
|
@property
|
|
19151
|
-
def
|
|
19152
|
-
"""
|
|
18325
|
+
def AutoRenewFlag(self):
|
|
18326
|
+
"""续费标记。0-正常续费;1-自动续费;2-到期不续费
|
|
19153
18327
|
:rtype: int
|
|
19154
18328
|
"""
|
|
19155
|
-
return self.
|
|
18329
|
+
return self._AutoRenewFlag
|
|
19156
18330
|
|
|
19157
|
-
@
|
|
19158
|
-
def
|
|
19159
|
-
self.
|
|
18331
|
+
@AutoRenewFlag.setter
|
|
18332
|
+
def AutoRenewFlag(self, AutoRenewFlag):
|
|
18333
|
+
self._AutoRenewFlag = AutoRenewFlag
|
|
19160
18334
|
|
|
19161
18335
|
|
|
19162
18336
|
def _deserialize(self, params):
|
|
19163
|
-
self.
|
|
19164
|
-
self.
|
|
19165
|
-
self._DBConnLimit = params.get("DBConnLimit")
|
|
18337
|
+
self._DBInstanceIdSet = params.get("DBInstanceIdSet")
|
|
18338
|
+
self._AutoRenewFlag = params.get("AutoRenewFlag")
|
|
19166
18339
|
memeber_set = set(params.keys())
|
|
19167
18340
|
for name, value in vars(self).items():
|
|
19168
18341
|
property_name = name[1:]
|
|
@@ -19173,480 +18346,42 @@ class ServerlessDBAccount(AbstractModel):
|
|
|
19173
18346
|
|
|
19174
18347
|
|
|
19175
18348
|
|
|
19176
|
-
class
|
|
19177
|
-
"""
|
|
18349
|
+
class SetAutoRenewFlagResponse(AbstractModel):
|
|
18350
|
+
"""SetAutoRenewFlag返回参数结构体
|
|
19178
18351
|
|
|
19179
18352
|
"""
|
|
19180
18353
|
|
|
19181
18354
|
def __init__(self):
|
|
19182
18355
|
r"""
|
|
19183
|
-
:param
|
|
19184
|
-
:type
|
|
19185
|
-
:param
|
|
19186
|
-
:type
|
|
19187
|
-
:param _DBInstanceStatus: 实例状态
|
|
19188
|
-
:type DBInstanceStatus: str
|
|
19189
|
-
:param _Region: 地域
|
|
19190
|
-
:type Region: str
|
|
19191
|
-
:param _Zone: 可用区
|
|
19192
|
-
:type Zone: str
|
|
19193
|
-
:param _ProjectId: 项目id
|
|
19194
|
-
:type ProjectId: int
|
|
19195
|
-
:param _VpcId: 私有网络Id
|
|
19196
|
-
:type VpcId: str
|
|
19197
|
-
:param _SubnetId: 子网id
|
|
19198
|
-
:type SubnetId: str
|
|
19199
|
-
:param _DBCharset: 字符集
|
|
19200
|
-
:type DBCharset: str
|
|
19201
|
-
:param _DBVersion: 数据库版本
|
|
19202
|
-
:type DBVersion: str
|
|
19203
|
-
:param _CreateTime: 创建时间
|
|
19204
|
-
:type CreateTime: str
|
|
19205
|
-
:param _DBInstanceNetInfo: 实例网络信息
|
|
19206
|
-
:type DBInstanceNetInfo: list of ServerlessDBInstanceNetInfo
|
|
19207
|
-
:param _DBAccountSet: 实例账户信息
|
|
19208
|
-
:type DBAccountSet: list of ServerlessDBAccount
|
|
19209
|
-
:param _DBDatabaseList: 实例下的db信息
|
|
19210
|
-
:type DBDatabaseList: list of str
|
|
19211
|
-
:param _TagList: 实例绑定的标签数组
|
|
19212
|
-
:type TagList: list of Tag
|
|
19213
|
-
:param _DBKernelVersion: 数据库内核版本
|
|
19214
|
-
:type DBKernelVersion: str
|
|
19215
|
-
:param _DBMajorVersion: 数据库主要版本
|
|
19216
|
-
:type DBMajorVersion: str
|
|
18356
|
+
:param _Count: 设置成功的实例个数
|
|
18357
|
+
:type Count: int
|
|
18358
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18359
|
+
:type RequestId: str
|
|
19217
18360
|
"""
|
|
19218
|
-
self.
|
|
19219
|
-
self.
|
|
19220
|
-
self._DBInstanceStatus = None
|
|
19221
|
-
self._Region = None
|
|
19222
|
-
self._Zone = None
|
|
19223
|
-
self._ProjectId = None
|
|
19224
|
-
self._VpcId = None
|
|
19225
|
-
self._SubnetId = None
|
|
19226
|
-
self._DBCharset = None
|
|
19227
|
-
self._DBVersion = None
|
|
19228
|
-
self._CreateTime = None
|
|
19229
|
-
self._DBInstanceNetInfo = None
|
|
19230
|
-
self._DBAccountSet = None
|
|
19231
|
-
self._DBDatabaseList = None
|
|
19232
|
-
self._TagList = None
|
|
19233
|
-
self._DBKernelVersion = None
|
|
19234
|
-
self._DBMajorVersion = None
|
|
18361
|
+
self._Count = None
|
|
18362
|
+
self._RequestId = None
|
|
19235
18363
|
|
|
19236
18364
|
@property
|
|
19237
|
-
def
|
|
19238
|
-
"""
|
|
19239
|
-
:rtype:
|
|
18365
|
+
def Count(self):
|
|
18366
|
+
"""设置成功的实例个数
|
|
18367
|
+
:rtype: int
|
|
19240
18368
|
"""
|
|
19241
|
-
return self.
|
|
18369
|
+
return self._Count
|
|
19242
18370
|
|
|
19243
|
-
@
|
|
19244
|
-
def
|
|
19245
|
-
self.
|
|
18371
|
+
@Count.setter
|
|
18372
|
+
def Count(self, Count):
|
|
18373
|
+
self._Count = Count
|
|
19246
18374
|
|
|
19247
18375
|
@property
|
|
19248
|
-
def
|
|
19249
|
-
"""
|
|
18376
|
+
def RequestId(self):
|
|
18377
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
19250
18378
|
:rtype: str
|
|
19251
18379
|
"""
|
|
19252
|
-
return self.
|
|
18380
|
+
return self._RequestId
|
|
19253
18381
|
|
|
19254
|
-
@
|
|
19255
|
-
def
|
|
19256
|
-
self.
|
|
19257
|
-
|
|
19258
|
-
@property
|
|
19259
|
-
def DBInstanceStatus(self):
|
|
19260
|
-
"""实例状态
|
|
19261
|
-
:rtype: str
|
|
19262
|
-
"""
|
|
19263
|
-
return self._DBInstanceStatus
|
|
19264
|
-
|
|
19265
|
-
@DBInstanceStatus.setter
|
|
19266
|
-
def DBInstanceStatus(self, DBInstanceStatus):
|
|
19267
|
-
self._DBInstanceStatus = DBInstanceStatus
|
|
19268
|
-
|
|
19269
|
-
@property
|
|
19270
|
-
def Region(self):
|
|
19271
|
-
"""地域
|
|
19272
|
-
:rtype: str
|
|
19273
|
-
"""
|
|
19274
|
-
return self._Region
|
|
19275
|
-
|
|
19276
|
-
@Region.setter
|
|
19277
|
-
def Region(self, Region):
|
|
19278
|
-
self._Region = Region
|
|
19279
|
-
|
|
19280
|
-
@property
|
|
19281
|
-
def Zone(self):
|
|
19282
|
-
"""可用区
|
|
19283
|
-
:rtype: str
|
|
19284
|
-
"""
|
|
19285
|
-
return self._Zone
|
|
19286
|
-
|
|
19287
|
-
@Zone.setter
|
|
19288
|
-
def Zone(self, Zone):
|
|
19289
|
-
self._Zone = Zone
|
|
19290
|
-
|
|
19291
|
-
@property
|
|
19292
|
-
def ProjectId(self):
|
|
19293
|
-
"""项目id
|
|
19294
|
-
:rtype: int
|
|
19295
|
-
"""
|
|
19296
|
-
return self._ProjectId
|
|
19297
|
-
|
|
19298
|
-
@ProjectId.setter
|
|
19299
|
-
def ProjectId(self, ProjectId):
|
|
19300
|
-
self._ProjectId = ProjectId
|
|
19301
|
-
|
|
19302
|
-
@property
|
|
19303
|
-
def VpcId(self):
|
|
19304
|
-
"""私有网络Id
|
|
19305
|
-
:rtype: str
|
|
19306
|
-
"""
|
|
19307
|
-
return self._VpcId
|
|
19308
|
-
|
|
19309
|
-
@VpcId.setter
|
|
19310
|
-
def VpcId(self, VpcId):
|
|
19311
|
-
self._VpcId = VpcId
|
|
19312
|
-
|
|
19313
|
-
@property
|
|
19314
|
-
def SubnetId(self):
|
|
19315
|
-
"""子网id
|
|
19316
|
-
:rtype: str
|
|
19317
|
-
"""
|
|
19318
|
-
return self._SubnetId
|
|
19319
|
-
|
|
19320
|
-
@SubnetId.setter
|
|
19321
|
-
def SubnetId(self, SubnetId):
|
|
19322
|
-
self._SubnetId = SubnetId
|
|
19323
|
-
|
|
19324
|
-
@property
|
|
19325
|
-
def DBCharset(self):
|
|
19326
|
-
"""字符集
|
|
19327
|
-
:rtype: str
|
|
19328
|
-
"""
|
|
19329
|
-
return self._DBCharset
|
|
19330
|
-
|
|
19331
|
-
@DBCharset.setter
|
|
19332
|
-
def DBCharset(self, DBCharset):
|
|
19333
|
-
self._DBCharset = DBCharset
|
|
19334
|
-
|
|
19335
|
-
@property
|
|
19336
|
-
def DBVersion(self):
|
|
19337
|
-
"""数据库版本
|
|
19338
|
-
:rtype: str
|
|
19339
|
-
"""
|
|
19340
|
-
return self._DBVersion
|
|
19341
|
-
|
|
19342
|
-
@DBVersion.setter
|
|
19343
|
-
def DBVersion(self, DBVersion):
|
|
19344
|
-
self._DBVersion = DBVersion
|
|
19345
|
-
|
|
19346
|
-
@property
|
|
19347
|
-
def CreateTime(self):
|
|
19348
|
-
"""创建时间
|
|
19349
|
-
:rtype: str
|
|
19350
|
-
"""
|
|
19351
|
-
return self._CreateTime
|
|
19352
|
-
|
|
19353
|
-
@CreateTime.setter
|
|
19354
|
-
def CreateTime(self, CreateTime):
|
|
19355
|
-
self._CreateTime = CreateTime
|
|
19356
|
-
|
|
19357
|
-
@property
|
|
19358
|
-
def DBInstanceNetInfo(self):
|
|
19359
|
-
"""实例网络信息
|
|
19360
|
-
:rtype: list of ServerlessDBInstanceNetInfo
|
|
19361
|
-
"""
|
|
19362
|
-
return self._DBInstanceNetInfo
|
|
19363
|
-
|
|
19364
|
-
@DBInstanceNetInfo.setter
|
|
19365
|
-
def DBInstanceNetInfo(self, DBInstanceNetInfo):
|
|
19366
|
-
self._DBInstanceNetInfo = DBInstanceNetInfo
|
|
19367
|
-
|
|
19368
|
-
@property
|
|
19369
|
-
def DBAccountSet(self):
|
|
19370
|
-
"""实例账户信息
|
|
19371
|
-
:rtype: list of ServerlessDBAccount
|
|
19372
|
-
"""
|
|
19373
|
-
return self._DBAccountSet
|
|
19374
|
-
|
|
19375
|
-
@DBAccountSet.setter
|
|
19376
|
-
def DBAccountSet(self, DBAccountSet):
|
|
19377
|
-
self._DBAccountSet = DBAccountSet
|
|
19378
|
-
|
|
19379
|
-
@property
|
|
19380
|
-
def DBDatabaseList(self):
|
|
19381
|
-
"""实例下的db信息
|
|
19382
|
-
:rtype: list of str
|
|
19383
|
-
"""
|
|
19384
|
-
return self._DBDatabaseList
|
|
19385
|
-
|
|
19386
|
-
@DBDatabaseList.setter
|
|
19387
|
-
def DBDatabaseList(self, DBDatabaseList):
|
|
19388
|
-
self._DBDatabaseList = DBDatabaseList
|
|
19389
|
-
|
|
19390
|
-
@property
|
|
19391
|
-
def TagList(self):
|
|
19392
|
-
"""实例绑定的标签数组
|
|
19393
|
-
:rtype: list of Tag
|
|
19394
|
-
"""
|
|
19395
|
-
return self._TagList
|
|
19396
|
-
|
|
19397
|
-
@TagList.setter
|
|
19398
|
-
def TagList(self, TagList):
|
|
19399
|
-
self._TagList = TagList
|
|
19400
|
-
|
|
19401
|
-
@property
|
|
19402
|
-
def DBKernelVersion(self):
|
|
19403
|
-
"""数据库内核版本
|
|
19404
|
-
:rtype: str
|
|
19405
|
-
"""
|
|
19406
|
-
return self._DBKernelVersion
|
|
19407
|
-
|
|
19408
|
-
@DBKernelVersion.setter
|
|
19409
|
-
def DBKernelVersion(self, DBKernelVersion):
|
|
19410
|
-
self._DBKernelVersion = DBKernelVersion
|
|
19411
|
-
|
|
19412
|
-
@property
|
|
19413
|
-
def DBMajorVersion(self):
|
|
19414
|
-
"""数据库主要版本
|
|
19415
|
-
:rtype: str
|
|
19416
|
-
"""
|
|
19417
|
-
return self._DBMajorVersion
|
|
19418
|
-
|
|
19419
|
-
@DBMajorVersion.setter
|
|
19420
|
-
def DBMajorVersion(self, DBMajorVersion):
|
|
19421
|
-
self._DBMajorVersion = DBMajorVersion
|
|
19422
|
-
|
|
19423
|
-
|
|
19424
|
-
def _deserialize(self, params):
|
|
19425
|
-
self._DBInstanceId = params.get("DBInstanceId")
|
|
19426
|
-
self._DBInstanceName = params.get("DBInstanceName")
|
|
19427
|
-
self._DBInstanceStatus = params.get("DBInstanceStatus")
|
|
19428
|
-
self._Region = params.get("Region")
|
|
19429
|
-
self._Zone = params.get("Zone")
|
|
19430
|
-
self._ProjectId = params.get("ProjectId")
|
|
19431
|
-
self._VpcId = params.get("VpcId")
|
|
19432
|
-
self._SubnetId = params.get("SubnetId")
|
|
19433
|
-
self._DBCharset = params.get("DBCharset")
|
|
19434
|
-
self._DBVersion = params.get("DBVersion")
|
|
19435
|
-
self._CreateTime = params.get("CreateTime")
|
|
19436
|
-
if params.get("DBInstanceNetInfo") is not None:
|
|
19437
|
-
self._DBInstanceNetInfo = []
|
|
19438
|
-
for item in params.get("DBInstanceNetInfo"):
|
|
19439
|
-
obj = ServerlessDBInstanceNetInfo()
|
|
19440
|
-
obj._deserialize(item)
|
|
19441
|
-
self._DBInstanceNetInfo.append(obj)
|
|
19442
|
-
if params.get("DBAccountSet") is not None:
|
|
19443
|
-
self._DBAccountSet = []
|
|
19444
|
-
for item in params.get("DBAccountSet"):
|
|
19445
|
-
obj = ServerlessDBAccount()
|
|
19446
|
-
obj._deserialize(item)
|
|
19447
|
-
self._DBAccountSet.append(obj)
|
|
19448
|
-
self._DBDatabaseList = params.get("DBDatabaseList")
|
|
19449
|
-
if params.get("TagList") is not None:
|
|
19450
|
-
self._TagList = []
|
|
19451
|
-
for item in params.get("TagList"):
|
|
19452
|
-
obj = Tag()
|
|
19453
|
-
obj._deserialize(item)
|
|
19454
|
-
self._TagList.append(obj)
|
|
19455
|
-
self._DBKernelVersion = params.get("DBKernelVersion")
|
|
19456
|
-
self._DBMajorVersion = params.get("DBMajorVersion")
|
|
19457
|
-
memeber_set = set(params.keys())
|
|
19458
|
-
for name, value in vars(self).items():
|
|
19459
|
-
property_name = name[1:]
|
|
19460
|
-
if property_name in memeber_set:
|
|
19461
|
-
memeber_set.remove(property_name)
|
|
19462
|
-
if len(memeber_set) > 0:
|
|
19463
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
19464
|
-
|
|
19465
|
-
|
|
19466
|
-
|
|
19467
|
-
class ServerlessDBInstanceNetInfo(AbstractModel):
|
|
19468
|
-
"""serverless实例网络信息描述
|
|
19469
|
-
|
|
19470
|
-
"""
|
|
19471
|
-
|
|
19472
|
-
def __init__(self):
|
|
19473
|
-
r"""
|
|
19474
|
-
:param _Address: 地址
|
|
19475
|
-
:type Address: str
|
|
19476
|
-
:param _Ip: ip地址
|
|
19477
|
-
:type Ip: str
|
|
19478
|
-
:param _Port: 端口号
|
|
19479
|
-
:type Port: int
|
|
19480
|
-
:param _Status: 状态
|
|
19481
|
-
:type Status: str
|
|
19482
|
-
:param _NetType: 网络类型
|
|
19483
|
-
:type NetType: str
|
|
19484
|
-
"""
|
|
19485
|
-
self._Address = None
|
|
19486
|
-
self._Ip = None
|
|
19487
|
-
self._Port = None
|
|
19488
|
-
self._Status = None
|
|
19489
|
-
self._NetType = None
|
|
19490
|
-
|
|
19491
|
-
@property
|
|
19492
|
-
def Address(self):
|
|
19493
|
-
"""地址
|
|
19494
|
-
:rtype: str
|
|
19495
|
-
"""
|
|
19496
|
-
return self._Address
|
|
19497
|
-
|
|
19498
|
-
@Address.setter
|
|
19499
|
-
def Address(self, Address):
|
|
19500
|
-
self._Address = Address
|
|
19501
|
-
|
|
19502
|
-
@property
|
|
19503
|
-
def Ip(self):
|
|
19504
|
-
"""ip地址
|
|
19505
|
-
:rtype: str
|
|
19506
|
-
"""
|
|
19507
|
-
return self._Ip
|
|
19508
|
-
|
|
19509
|
-
@Ip.setter
|
|
19510
|
-
def Ip(self, Ip):
|
|
19511
|
-
self._Ip = Ip
|
|
19512
|
-
|
|
19513
|
-
@property
|
|
19514
|
-
def Port(self):
|
|
19515
|
-
"""端口号
|
|
19516
|
-
:rtype: int
|
|
19517
|
-
"""
|
|
19518
|
-
return self._Port
|
|
19519
|
-
|
|
19520
|
-
@Port.setter
|
|
19521
|
-
def Port(self, Port):
|
|
19522
|
-
self._Port = Port
|
|
19523
|
-
|
|
19524
|
-
@property
|
|
19525
|
-
def Status(self):
|
|
19526
|
-
"""状态
|
|
19527
|
-
:rtype: str
|
|
19528
|
-
"""
|
|
19529
|
-
return self._Status
|
|
19530
|
-
|
|
19531
|
-
@Status.setter
|
|
19532
|
-
def Status(self, Status):
|
|
19533
|
-
self._Status = Status
|
|
19534
|
-
|
|
19535
|
-
@property
|
|
19536
|
-
def NetType(self):
|
|
19537
|
-
"""网络类型
|
|
19538
|
-
:rtype: str
|
|
19539
|
-
"""
|
|
19540
|
-
return self._NetType
|
|
19541
|
-
|
|
19542
|
-
@NetType.setter
|
|
19543
|
-
def NetType(self, NetType):
|
|
19544
|
-
self._NetType = NetType
|
|
19545
|
-
|
|
19546
|
-
|
|
19547
|
-
def _deserialize(self, params):
|
|
19548
|
-
self._Address = params.get("Address")
|
|
19549
|
-
self._Ip = params.get("Ip")
|
|
19550
|
-
self._Port = params.get("Port")
|
|
19551
|
-
self._Status = params.get("Status")
|
|
19552
|
-
self._NetType = params.get("NetType")
|
|
19553
|
-
memeber_set = set(params.keys())
|
|
19554
|
-
for name, value in vars(self).items():
|
|
19555
|
-
property_name = name[1:]
|
|
19556
|
-
if property_name in memeber_set:
|
|
19557
|
-
memeber_set.remove(property_name)
|
|
19558
|
-
if len(memeber_set) > 0:
|
|
19559
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
19560
|
-
|
|
19561
|
-
|
|
19562
|
-
|
|
19563
|
-
class SetAutoRenewFlagRequest(AbstractModel):
|
|
19564
|
-
"""SetAutoRenewFlag请求参数结构体
|
|
19565
|
-
|
|
19566
|
-
"""
|
|
19567
|
-
|
|
19568
|
-
def __init__(self):
|
|
19569
|
-
r"""
|
|
19570
|
-
:param _DBInstanceIdSet: 实例ID集合。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。仅支持预付费(包年包月)的实例。支持同时操作多个实例。
|
|
19571
|
-
:type DBInstanceIdSet: list of str
|
|
19572
|
-
:param _AutoRenewFlag: 续费标记。0-正常续费;1-自动续费;2-到期不续费
|
|
19573
|
-
:type AutoRenewFlag: int
|
|
19574
|
-
"""
|
|
19575
|
-
self._DBInstanceIdSet = None
|
|
19576
|
-
self._AutoRenewFlag = None
|
|
19577
|
-
|
|
19578
|
-
@property
|
|
19579
|
-
def DBInstanceIdSet(self):
|
|
19580
|
-
"""实例ID集合。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。仅支持预付费(包年包月)的实例。支持同时操作多个实例。
|
|
19581
|
-
:rtype: list of str
|
|
19582
|
-
"""
|
|
19583
|
-
return self._DBInstanceIdSet
|
|
19584
|
-
|
|
19585
|
-
@DBInstanceIdSet.setter
|
|
19586
|
-
def DBInstanceIdSet(self, DBInstanceIdSet):
|
|
19587
|
-
self._DBInstanceIdSet = DBInstanceIdSet
|
|
19588
|
-
|
|
19589
|
-
@property
|
|
19590
|
-
def AutoRenewFlag(self):
|
|
19591
|
-
"""续费标记。0-正常续费;1-自动续费;2-到期不续费
|
|
19592
|
-
:rtype: int
|
|
19593
|
-
"""
|
|
19594
|
-
return self._AutoRenewFlag
|
|
19595
|
-
|
|
19596
|
-
@AutoRenewFlag.setter
|
|
19597
|
-
def AutoRenewFlag(self, AutoRenewFlag):
|
|
19598
|
-
self._AutoRenewFlag = AutoRenewFlag
|
|
19599
|
-
|
|
19600
|
-
|
|
19601
|
-
def _deserialize(self, params):
|
|
19602
|
-
self._DBInstanceIdSet = params.get("DBInstanceIdSet")
|
|
19603
|
-
self._AutoRenewFlag = params.get("AutoRenewFlag")
|
|
19604
|
-
memeber_set = set(params.keys())
|
|
19605
|
-
for name, value in vars(self).items():
|
|
19606
|
-
property_name = name[1:]
|
|
19607
|
-
if property_name in memeber_set:
|
|
19608
|
-
memeber_set.remove(property_name)
|
|
19609
|
-
if len(memeber_set) > 0:
|
|
19610
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
19611
|
-
|
|
19612
|
-
|
|
19613
|
-
|
|
19614
|
-
class SetAutoRenewFlagResponse(AbstractModel):
|
|
19615
|
-
"""SetAutoRenewFlag返回参数结构体
|
|
19616
|
-
|
|
19617
|
-
"""
|
|
19618
|
-
|
|
19619
|
-
def __init__(self):
|
|
19620
|
-
r"""
|
|
19621
|
-
:param _Count: 设置成功的实例个数
|
|
19622
|
-
:type Count: int
|
|
19623
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
19624
|
-
:type RequestId: str
|
|
19625
|
-
"""
|
|
19626
|
-
self._Count = None
|
|
19627
|
-
self._RequestId = None
|
|
19628
|
-
|
|
19629
|
-
@property
|
|
19630
|
-
def Count(self):
|
|
19631
|
-
"""设置成功的实例个数
|
|
19632
|
-
:rtype: int
|
|
19633
|
-
"""
|
|
19634
|
-
return self._Count
|
|
19635
|
-
|
|
19636
|
-
@Count.setter
|
|
19637
|
-
def Count(self, Count):
|
|
19638
|
-
self._Count = Count
|
|
19639
|
-
|
|
19640
|
-
@property
|
|
19641
|
-
def RequestId(self):
|
|
19642
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
19643
|
-
:rtype: str
|
|
19644
|
-
"""
|
|
19645
|
-
return self._RequestId
|
|
19646
|
-
|
|
19647
|
-
@RequestId.setter
|
|
19648
|
-
def RequestId(self, RequestId):
|
|
19649
|
-
self._RequestId = RequestId
|
|
18382
|
+
@RequestId.setter
|
|
18383
|
+
def RequestId(self, RequestId):
|
|
18384
|
+
self._RequestId = RequestId
|
|
19650
18385
|
|
|
19651
18386
|
|
|
19652
18387
|
def _deserialize(self, params):
|
|
@@ -19654,77 +18389,6 @@ class SetAutoRenewFlagResponse(AbstractModel):
|
|
|
19654
18389
|
self._RequestId = params.get("RequestId")
|
|
19655
18390
|
|
|
19656
18391
|
|
|
19657
|
-
class SlowlogDetail(AbstractModel):
|
|
19658
|
-
"""慢查询详情
|
|
19659
|
-
|
|
19660
|
-
"""
|
|
19661
|
-
|
|
19662
|
-
def __init__(self):
|
|
19663
|
-
r"""
|
|
19664
|
-
:param _TotalTime: 花费总时间
|
|
19665
|
-
:type TotalTime: float
|
|
19666
|
-
:param _TotalCalls: 调用总次数
|
|
19667
|
-
:type TotalCalls: int
|
|
19668
|
-
:param _NormalQueries: 脱敏后的慢SQL列表
|
|
19669
|
-
:type NormalQueries: list of NormalQueryItem
|
|
19670
|
-
"""
|
|
19671
|
-
self._TotalTime = None
|
|
19672
|
-
self._TotalCalls = None
|
|
19673
|
-
self._NormalQueries = None
|
|
19674
|
-
|
|
19675
|
-
@property
|
|
19676
|
-
def TotalTime(self):
|
|
19677
|
-
"""花费总时间
|
|
19678
|
-
:rtype: float
|
|
19679
|
-
"""
|
|
19680
|
-
return self._TotalTime
|
|
19681
|
-
|
|
19682
|
-
@TotalTime.setter
|
|
19683
|
-
def TotalTime(self, TotalTime):
|
|
19684
|
-
self._TotalTime = TotalTime
|
|
19685
|
-
|
|
19686
|
-
@property
|
|
19687
|
-
def TotalCalls(self):
|
|
19688
|
-
"""调用总次数
|
|
19689
|
-
:rtype: int
|
|
19690
|
-
"""
|
|
19691
|
-
return self._TotalCalls
|
|
19692
|
-
|
|
19693
|
-
@TotalCalls.setter
|
|
19694
|
-
def TotalCalls(self, TotalCalls):
|
|
19695
|
-
self._TotalCalls = TotalCalls
|
|
19696
|
-
|
|
19697
|
-
@property
|
|
19698
|
-
def NormalQueries(self):
|
|
19699
|
-
"""脱敏后的慢SQL列表
|
|
19700
|
-
:rtype: list of NormalQueryItem
|
|
19701
|
-
"""
|
|
19702
|
-
return self._NormalQueries
|
|
19703
|
-
|
|
19704
|
-
@NormalQueries.setter
|
|
19705
|
-
def NormalQueries(self, NormalQueries):
|
|
19706
|
-
self._NormalQueries = NormalQueries
|
|
19707
|
-
|
|
19708
|
-
|
|
19709
|
-
def _deserialize(self, params):
|
|
19710
|
-
self._TotalTime = params.get("TotalTime")
|
|
19711
|
-
self._TotalCalls = params.get("TotalCalls")
|
|
19712
|
-
if params.get("NormalQueries") is not None:
|
|
19713
|
-
self._NormalQueries = []
|
|
19714
|
-
for item in params.get("NormalQueries"):
|
|
19715
|
-
obj = NormalQueryItem()
|
|
19716
|
-
obj._deserialize(item)
|
|
19717
|
-
self._NormalQueries.append(obj)
|
|
19718
|
-
memeber_set = set(params.keys())
|
|
19719
|
-
for name, value in vars(self).items():
|
|
19720
|
-
property_name = name[1:]
|
|
19721
|
-
if property_name in memeber_set:
|
|
19722
|
-
memeber_set.remove(property_name)
|
|
19723
|
-
if len(memeber_set) > 0:
|
|
19724
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
19725
|
-
|
|
19726
|
-
|
|
19727
|
-
|
|
19728
18392
|
class SpecInfo(AbstractModel):
|
|
19729
18393
|
"""描述某个地域下某个可用区的可售卖规格详细信息。
|
|
19730
18394
|
|