tencentcloud-sdk-python 3.0.1284__py2.py3-none-any.whl → 3.0.1286__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/apm/v20210622/errorcodes.py +4 -4
- tencentcloud/apm/v20210622/models.py +31 -59
- tencentcloud/batch/v20170312/models.py +84 -6
- tencentcloud/bi/v20220105/models.py +15 -0
- tencentcloud/billing/v20180709/models.py +8 -0
- tencentcloud/ccc/v20200210/models.py +60 -0
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +79 -0
- tencentcloud/cfg/v20210820/models.py +108 -0
- tencentcloud/cloudapp/v20220530/models.py +15 -0
- tencentcloud/cloudaudit/v20190319/models.py +14 -0
- tencentcloud/cvm/v20170312/models.py +6 -6
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/models.py +186 -0
- tencentcloud/domain/v20180808/domain_client.py +1 -1
- tencentcloud/domain/v20180808/errorcodes.py +6 -0
- tencentcloud/domain/v20180808/models.py +2 -2
- tencentcloud/dts/v20211206/models.py +17 -0
- tencentcloud/ess/v20201111/ess_client.py +51 -0
- tencentcloud/ess/v20201111/models.py +522 -5
- tencentcloud/essbasic/v20210526/essbasic_client.py +28 -0
- tencentcloud/essbasic/v20210526/models.py +437 -15
- tencentcloud/gwlb/v20240906/models.py +48 -24
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/iss/v20230517/models.py +2 -2
- tencentcloud/lcic/v20220817/models.py +6 -4
- tencentcloud/live/v20180801/models.py +8 -8
- tencentcloud/mariadb/v20170312/models.py +12 -8
- tencentcloud/mongodb/v20180408/errorcodes.py +15 -0
- tencentcloud/mongodb/v20180408/models.py +27 -12
- tencentcloud/mongodb/v20180408/mongodb_client.py +0 -1
- tencentcloud/mongodb/v20190725/models.py +81 -58
- tencentcloud/mongodb/v20190725/mongodb_client.py +2 -2
- tencentcloud/mps/v20190612/models.py +68 -54
- tencentcloud/organization/v20210331/models.py +71 -26
- tencentcloud/tdmq/v20200217/models.py +64 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/vod/v20180717/errorcodes.py +1 -1
- tencentcloud/vpc/v20170312/models.py +30 -0
- tencentcloud/vrs/v20200824/models.py +2 -2
- tencentcloud/vrs/v20200824/vrs_client.py +2 -2
- tencentcloud/wedata/v20210820/models.py +813 -2
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/RECORD +48 -48
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -41,7 +41,7 @@ FAILEDOPERATION_APMCREDENTIALNOTEXIST = 'FailedOperation.ApmCredentialNotExist'
|
|
41
41
|
# appid和业务系统信息不匹配。
|
42
42
|
FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = 'FailedOperation.AppIdNotMatchInstanceInfo'
|
43
43
|
|
44
|
-
#
|
44
|
+
# 未命中白名单且业务系统id为官方demo业务系统id时,不允许修改接口。
|
45
45
|
FAILEDOPERATION_DEMOINSTANCENOTALLOWMODIFIED = 'FailedOperation.DemoInstanceNotAllowModified'
|
46
46
|
|
47
47
|
# 请勿填写重复的应用名
|
@@ -50,16 +50,16 @@ FAILEDOPERATION_DUPLICATESERVICE = 'FailedOperation.DuplicateService'
|
|
50
50
|
# 请勿填写重复的标签名
|
51
51
|
FAILEDOPERATION_DUPLICATETAGFIELD = 'FailedOperation.DuplicateTagField'
|
52
52
|
|
53
|
-
#
|
53
|
+
# 该业务系统不允许修改
|
54
54
|
FAILEDOPERATION_INSTANCECANNOTMODIFY = 'FailedOperation.InstanceCannotModify'
|
55
55
|
|
56
|
-
#
|
56
|
+
# 业务系统ID为空。
|
57
57
|
FAILEDOPERATION_INSTANCEIDISEMPTY = 'FailedOperation.InstanceIdIsEmpty'
|
58
58
|
|
59
59
|
# apm业务系统不存在。
|
60
60
|
FAILEDOPERATION_INSTANCENOTFOUND = 'FailedOperation.InstanceNotFound'
|
61
61
|
|
62
|
-
#
|
62
|
+
# 非法业务系统id。
|
63
63
|
FAILEDOPERATION_INVALIDINSTANCEID = 'FailedOperation.InvalidInstanceID'
|
64
64
|
|
65
65
|
# 不合法入参
|
@@ -2022,28 +2022,15 @@ class DescribeGeneralMetricDataRequest(AbstractModel):
|
|
2022
2022
|
|
2023
2023
|
def __init__(self):
|
2024
2024
|
r"""
|
2025
|
-
:param
|
2026
|
-
service_metric视图支持:service.name(服务名)、span.kind(客户端/服务端视角)为维度进行过滤,service.name(服务名)必填。
|
2027
|
-
span.kind:
|
2028
|
-
server:服务端视角
|
2029
|
-
client:客户端视角
|
2030
|
-
默认为服务端视角进行查询。
|
2031
|
-
runtime_metric视图支持:service.name(服务名)维度进行过滤,service.name(服务名)必填。
|
2032
|
-
sql_metric视图支持:service.name(服务名)、db.instance(数据库名称)、db.ip(数据库实例ip)维度进行过滤,查询service_slow_sql_count(慢sql)指标时service.name必填,查询sql_duration_avg(耗时)指标时db.instance(数据库名称)必填。
|
2033
|
-
:type Filters: list of GeneralFilter
|
2034
|
-
:param _Metrics: 需要查询的指标,不可自定义输入。
|
2035
|
-
service_metric视图支持:service_request_count(总请求)、service_duration(平均响应时间)、service_error_req_rate(平均错误率)、service_slow_call_count(慢调用)、service_error_request_count(异常数量)。
|
2036
|
-
runtime_metric视图支持:service_gc_full_count(Full GC)。
|
2037
|
-
sql_metric视图支持:service_slow_sql_count(慢sql)、sql_duration_avg(耗时)。
|
2025
|
+
:param _Metrics: 需要查询的指标名称,不可自定义输入,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
2038
2026
|
:type Metrics: list of str
|
2039
2027
|
:param _InstanceId: 业务系统ID
|
2040
2028
|
:type InstanceId: str
|
2041
|
-
:param _ViewName:
|
2029
|
+
:param _ViewName: 视图名称,不可自定义输入。[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
2042
2030
|
:type ViewName: str
|
2043
|
-
:param
|
2044
|
-
|
2045
|
-
|
2046
|
-
sql_metric视图支持:service.name(服务名)、db.statement(sql语句)维度进行聚合,查询service_slow_sql_count(慢sql)时service.name(服务名)必填,查询sql_duration_avg(耗时)指标时service.name(服务名)、db.statement(sql语句)必填。
|
2031
|
+
:param _Filters: 要过滤的维度信息,不同视图有对应的指标维度,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
2032
|
+
:type Filters: list of GeneralFilter
|
2033
|
+
:param _GroupBy: 聚合维度,不同视图有对应的指标维度,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
2047
2034
|
:type GroupBy: list of str
|
2048
2035
|
:param _StartTime: 起始时间的时间戳,单位为秒,只支持查询2天内最多1小时的指标数据。
|
2049
2036
|
:type StartTime: int
|
@@ -2052,19 +2039,18 @@ sql_metric视图支持:service.name(服务名)、db.statement(sql语句
|
|
2052
2039
|
:param _Period: 聚合粒度,单位为秒,最小为60s,即一分钟的聚合粒度;如果为空或0则计算开始时间到截止时间的指标数据,上报其他值会报错。
|
2053
2040
|
:type Period: int
|
2054
2041
|
:param _OrderBy: 对查询指标进行排序:
|
2055
|
-
|
2056
|
-
|
2057
|
-
|
2058
|
-
|
2059
|
-
desc:对查询指标进行降序排序
|
2042
|
+
Key 填写云 API 指标名称,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
2043
|
+
Value 填写排序方式:
|
2044
|
+
- asc:对查询指标进行升序排序
|
2045
|
+
- desc:对查询指标进行降序排序
|
2060
2046
|
:type OrderBy: :class:`tencentcloud.apm.v20210622.models.OrderBy`
|
2061
2047
|
:param _PageSize: 查询指标的限制条数,目前最多展示50条数据,PageSize取值为1-50,上送PageSize则根据PageSize的值展示限制条数。
|
2062
2048
|
:type PageSize: int
|
2063
2049
|
"""
|
2064
|
-
self._Filters = None
|
2065
2050
|
self._Metrics = None
|
2066
2051
|
self._InstanceId = None
|
2067
2052
|
self._ViewName = None
|
2053
|
+
self._Filters = None
|
2068
2054
|
self._GroupBy = None
|
2069
2055
|
self._StartTime = None
|
2070
2056
|
self._EndTime = None
|
@@ -2072,30 +2058,9 @@ desc:对查询指标进行降序排序
|
|
2072
2058
|
self._OrderBy = None
|
2073
2059
|
self._PageSize = None
|
2074
2060
|
|
2075
|
-
@property
|
2076
|
-
def Filters(self):
|
2077
|
-
"""要过滤的维度信息:
|
2078
|
-
service_metric视图支持:service.name(服务名)、span.kind(客户端/服务端视角)为维度进行过滤,service.name(服务名)必填。
|
2079
|
-
span.kind:
|
2080
|
-
server:服务端视角
|
2081
|
-
client:客户端视角
|
2082
|
-
默认为服务端视角进行查询。
|
2083
|
-
runtime_metric视图支持:service.name(服务名)维度进行过滤,service.name(服务名)必填。
|
2084
|
-
sql_metric视图支持:service.name(服务名)、db.instance(数据库名称)、db.ip(数据库实例ip)维度进行过滤,查询service_slow_sql_count(慢sql)指标时service.name必填,查询sql_duration_avg(耗时)指标时db.instance(数据库名称)必填。
|
2085
|
-
:rtype: list of GeneralFilter
|
2086
|
-
"""
|
2087
|
-
return self._Filters
|
2088
|
-
|
2089
|
-
@Filters.setter
|
2090
|
-
def Filters(self, Filters):
|
2091
|
-
self._Filters = Filters
|
2092
|
-
|
2093
2061
|
@property
|
2094
2062
|
def Metrics(self):
|
2095
|
-
"""
|
2096
|
-
service_metric视图支持:service_request_count(总请求)、service_duration(平均响应时间)、service_error_req_rate(平均错误率)、service_slow_call_count(慢调用)、service_error_request_count(异常数量)。
|
2097
|
-
runtime_metric视图支持:service_gc_full_count(Full GC)。
|
2098
|
-
sql_metric视图支持:service_slow_sql_count(慢sql)、sql_duration_avg(耗时)。
|
2063
|
+
"""需要查询的指标名称,不可自定义输入,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
2099
2064
|
:rtype: list of str
|
2100
2065
|
"""
|
2101
2066
|
return self._Metrics
|
@@ -2117,7 +2082,7 @@ sql_metric视图支持:service_slow_sql_count(慢sql)、sql_duration_avg
|
|
2117
2082
|
|
2118
2083
|
@property
|
2119
2084
|
def ViewName(self):
|
2120
|
-
"""
|
2085
|
+
"""视图名称,不可自定义输入。[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
2121
2086
|
:rtype: str
|
2122
2087
|
"""
|
2123
2088
|
return self._ViewName
|
@@ -2126,12 +2091,20 @@ sql_metric视图支持:service_slow_sql_count(慢sql)、sql_duration_avg
|
|
2126
2091
|
def ViewName(self, ViewName):
|
2127
2092
|
self._ViewName = ViewName
|
2128
2093
|
|
2094
|
+
@property
|
2095
|
+
def Filters(self):
|
2096
|
+
"""要过滤的维度信息,不同视图有对应的指标维度,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
2097
|
+
:rtype: list of GeneralFilter
|
2098
|
+
"""
|
2099
|
+
return self._Filters
|
2100
|
+
|
2101
|
+
@Filters.setter
|
2102
|
+
def Filters(self, Filters):
|
2103
|
+
self._Filters = Filters
|
2104
|
+
|
2129
2105
|
@property
|
2130
2106
|
def GroupBy(self):
|
2131
|
-
"""
|
2132
|
-
service_metric视图支持:service.name(服务名)、span.kind (客户端/服务端视角)维度进行聚合,service.name(服务名)必填。
|
2133
|
-
runtime_metric视图支持:service.name(服务名)维度进行聚合,service.name(服务名)必填。
|
2134
|
-
sql_metric视图支持:service.name(服务名)、db.statement(sql语句)维度进行聚合,查询service_slow_sql_count(慢sql)时service.name(服务名)必填,查询sql_duration_avg(耗时)指标时service.name(服务名)、db.statement(sql语句)必填。
|
2107
|
+
"""聚合维度,不同视图有对应的指标维度,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
2135
2108
|
:rtype: list of str
|
2136
2109
|
"""
|
2137
2110
|
return self._GroupBy
|
@@ -2176,11 +2149,10 @@ sql_metric视图支持:service.name(服务名)、db.statement(sql语句
|
|
2176
2149
|
@property
|
2177
2150
|
def OrderBy(self):
|
2178
2151
|
"""对查询指标进行排序:
|
2179
|
-
|
2180
|
-
|
2181
|
-
|
2182
|
-
|
2183
|
-
desc:对查询指标进行降序排序
|
2152
|
+
Key 填写云 API 指标名称,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
2153
|
+
Value 填写排序方式:
|
2154
|
+
- asc:对查询指标进行升序排序
|
2155
|
+
- desc:对查询指标进行降序排序
|
2184
2156
|
:rtype: :class:`tencentcloud.apm.v20210622.models.OrderBy`
|
2185
2157
|
"""
|
2186
2158
|
return self._OrderBy
|
@@ -2202,15 +2174,15 @@ desc:对查询指标进行降序排序
|
|
2202
2174
|
|
2203
2175
|
|
2204
2176
|
def _deserialize(self, params):
|
2177
|
+
self._Metrics = params.get("Metrics")
|
2178
|
+
self._InstanceId = params.get("InstanceId")
|
2179
|
+
self._ViewName = params.get("ViewName")
|
2205
2180
|
if params.get("Filters") is not None:
|
2206
2181
|
self._Filters = []
|
2207
2182
|
for item in params.get("Filters"):
|
2208
2183
|
obj = GeneralFilter()
|
2209
2184
|
obj._deserialize(item)
|
2210
2185
|
self._Filters.append(obj)
|
2211
|
-
self._Metrics = params.get("Metrics")
|
2212
|
-
self._InstanceId = params.get("InstanceId")
|
2213
|
-
self._ViewName = params.get("ViewName")
|
2214
2186
|
self._GroupBy = params.get("GroupBy")
|
2215
2187
|
self._StartTime = params.get("StartTime")
|
2216
2188
|
self._EndTime = params.get("EndTime")
|