tencentcloud-sdk-python 3.0.1284__py2.py3-none-any.whl → 3.0.1285__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/models.py +31 -59
- tencentcloud/billing/v20180709/models.py +8 -0
- tencentcloud/ccc/v20200210/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +79 -0
- tencentcloud/cfg/v20210820/models.py +30 -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/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +2 -2
- tencentcloud/ess/v20201111/ess_client.py +23 -0
- tencentcloud/ess/v20201111/models.py +108 -0
- tencentcloud/essbasic/v20210526/models.py +8 -2
- tencentcloud/gwlb/v20240906/models.py +48 -24
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/lcic/v20220817/models.py +6 -4
- tencentcloud/live/v20180801/models.py +8 -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/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.1285.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1285.dist-info}/RECORD +35 -35
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1285.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1285.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1285.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -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")
|
@@ -13809,6 +13809,8 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
13809
13809
|
|
13810
13810
|
@property
|
13811
13811
|
def IsAllowArrears(self):
|
13812
|
+
warnings.warn("parameter `IsAllowArrears` is deprecated", DeprecationWarning)
|
13813
|
+
|
13812
13814
|
"""是否允许欠费消费
|
13813
13815
|
:rtype: bool
|
13814
13816
|
"""
|
@@ -13816,10 +13818,14 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
13816
13818
|
|
13817
13819
|
@IsAllowArrears.setter
|
13818
13820
|
def IsAllowArrears(self, IsAllowArrears):
|
13821
|
+
warnings.warn("parameter `IsAllowArrears` is deprecated", DeprecationWarning)
|
13822
|
+
|
13819
13823
|
self._IsAllowArrears = IsAllowArrears
|
13820
13824
|
|
13821
13825
|
@property
|
13822
13826
|
def IsCreditLimited(self):
|
13827
|
+
warnings.warn("parameter `IsCreditLimited` is deprecated", DeprecationWarning)
|
13828
|
+
|
13823
13829
|
"""是否限制信用额度
|
13824
13830
|
:rtype: bool
|
13825
13831
|
"""
|
@@ -13827,6 +13833,8 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
13827
13833
|
|
13828
13834
|
@IsCreditLimited.setter
|
13829
13835
|
def IsCreditLimited(self, IsCreditLimited):
|
13836
|
+
warnings.warn("parameter `IsCreditLimited` is deprecated", DeprecationWarning)
|
13837
|
+
|
13830
13838
|
self._IsCreditLimited = IsCreditLimited
|
13831
13839
|
|
13832
13840
|
@property
|
@@ -1984,6 +1984,8 @@ HoaiMy
|
|
1984
1984
|
:type NotifyDuration: int
|
1985
1985
|
:param _NotifyMessage: 用户NotifyDuration没说话,AI提示的语句,默认是"抱歉,我没听清。您可以重复下吗?"
|
1986
1986
|
:type NotifyMessage: str
|
1987
|
+
:param _NotifyMaxCount: 最大触发AI提示音次数,默认为不限制
|
1988
|
+
:type NotifyMaxCount: int
|
1987
1989
|
:param _CustomTTSConfig: <p>和VoiceType字段需要选填一个,这里是使用自己自定义的TTS,VoiceType是系统内置的一些音色</p>
|
1988
1990
|
<ul>
|
1989
1991
|
<li>Tencent TTS<br>
|
@@ -2084,6 +2086,7 @@ HoaiMy
|
|
2084
2086
|
self._EndFunctionDesc = None
|
2085
2087
|
self._NotifyDuration = None
|
2086
2088
|
self._NotifyMessage = None
|
2089
|
+
self._NotifyMaxCount = None
|
2087
2090
|
self._CustomTTSConfig = None
|
2088
2091
|
|
2089
2092
|
@property
|
@@ -2383,6 +2386,17 @@ HoaiMy
|
|
2383
2386
|
def NotifyMessage(self, NotifyMessage):
|
2384
2387
|
self._NotifyMessage = NotifyMessage
|
2385
2388
|
|
2389
|
+
@property
|
2390
|
+
def NotifyMaxCount(self):
|
2391
|
+
"""最大触发AI提示音次数,默认为不限制
|
2392
|
+
:rtype: int
|
2393
|
+
"""
|
2394
|
+
return self._NotifyMaxCount
|
2395
|
+
|
2396
|
+
@NotifyMaxCount.setter
|
2397
|
+
def NotifyMaxCount(self, NotifyMaxCount):
|
2398
|
+
self._NotifyMaxCount = NotifyMaxCount
|
2399
|
+
|
2386
2400
|
@property
|
2387
2401
|
def CustomTTSConfig(self):
|
2388
2402
|
"""<p>和VoiceType字段需要选填一个,这里是使用自己自定义的TTS,VoiceType是系统内置的一些音色</p>
|
@@ -2493,6 +2507,7 @@ HoaiMy
|
|
2493
2507
|
self._EndFunctionDesc = params.get("EndFunctionDesc")
|
2494
2508
|
self._NotifyDuration = params.get("NotifyDuration")
|
2495
2509
|
self._NotifyMessage = params.get("NotifyMessage")
|
2510
|
+
self._NotifyMaxCount = params.get("NotifyMaxCount")
|
2496
2511
|
self._CustomTTSConfig = params.get("CustomTTSConfig")
|
2497
2512
|
memeber_set = set(params.keys())
|
2498
2513
|
for name, value in vars(self).items():
|
@@ -3255,6 +3255,29 @@ class CdbClient(AbstractClient):
|
|
3255
3255
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3256
3256
|
|
3257
3257
|
|
3258
|
+
def ModifyProtectMode(self, request):
|
3259
|
+
"""该接口(ModifyProtectMode)用于修改实例的同步方式。
|
3260
|
+
|
3261
|
+
:param request: Request instance for ModifyProtectMode.
|
3262
|
+
:type request: :class:`tencentcloud.cdb.v20170320.models.ModifyProtectModeRequest`
|
3263
|
+
:rtype: :class:`tencentcloud.cdb.v20170320.models.ModifyProtectModeResponse`
|
3264
|
+
|
3265
|
+
"""
|
3266
|
+
try:
|
3267
|
+
params = request._serialize()
|
3268
|
+
headers = request.headers
|
3269
|
+
body = self.call("ModifyProtectMode", params, headers=headers)
|
3270
|
+
response = json.loads(body)
|
3271
|
+
model = models.ModifyProtectModeResponse()
|
3272
|
+
model._deserialize(response["Response"])
|
3273
|
+
return model
|
3274
|
+
except Exception as e:
|
3275
|
+
if isinstance(e, TencentCloudSDKException):
|
3276
|
+
raise
|
3277
|
+
else:
|
3278
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3279
|
+
|
3280
|
+
|
3258
3281
|
def ModifyRemoteBackupConfig(self, request):
|
3259
3282
|
"""本接口(ModifyRemoteBackupConfig)用于修改数据库异地备份配置信息。
|
3260
3283
|
|
@@ -29505,6 +29505,85 @@ class ModifyParamTemplateResponse(AbstractModel):
|
|
29505
29505
|
self._RequestId = params.get("RequestId")
|
29506
29506
|
|
29507
29507
|
|
29508
|
+
class ModifyProtectModeRequest(AbstractModel):
|
29509
|
+
"""ModifyProtectMode请求参数结构体
|
29510
|
+
|
29511
|
+
"""
|
29512
|
+
|
29513
|
+
def __init__(self):
|
29514
|
+
r"""
|
29515
|
+
:param _ProtectMode: 无
|
29516
|
+
:type ProtectMode: int
|
29517
|
+
:param _InstanceId: 实例ID。
|
29518
|
+
:type InstanceId: str
|
29519
|
+
"""
|
29520
|
+
self._ProtectMode = None
|
29521
|
+
self._InstanceId = None
|
29522
|
+
|
29523
|
+
@property
|
29524
|
+
def ProtectMode(self):
|
29525
|
+
"""无
|
29526
|
+
:rtype: int
|
29527
|
+
"""
|
29528
|
+
return self._ProtectMode
|
29529
|
+
|
29530
|
+
@ProtectMode.setter
|
29531
|
+
def ProtectMode(self, ProtectMode):
|
29532
|
+
self._ProtectMode = ProtectMode
|
29533
|
+
|
29534
|
+
@property
|
29535
|
+
def InstanceId(self):
|
29536
|
+
"""实例ID。
|
29537
|
+
:rtype: str
|
29538
|
+
"""
|
29539
|
+
return self._InstanceId
|
29540
|
+
|
29541
|
+
@InstanceId.setter
|
29542
|
+
def InstanceId(self, InstanceId):
|
29543
|
+
self._InstanceId = InstanceId
|
29544
|
+
|
29545
|
+
|
29546
|
+
def _deserialize(self, params):
|
29547
|
+
self._ProtectMode = params.get("ProtectMode")
|
29548
|
+
self._InstanceId = params.get("InstanceId")
|
29549
|
+
memeber_set = set(params.keys())
|
29550
|
+
for name, value in vars(self).items():
|
29551
|
+
property_name = name[1:]
|
29552
|
+
if property_name in memeber_set:
|
29553
|
+
memeber_set.remove(property_name)
|
29554
|
+
if len(memeber_set) > 0:
|
29555
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
29556
|
+
|
29557
|
+
|
29558
|
+
|
29559
|
+
class ModifyProtectModeResponse(AbstractModel):
|
29560
|
+
"""ModifyProtectMode返回参数结构体
|
29561
|
+
|
29562
|
+
"""
|
29563
|
+
|
29564
|
+
def __init__(self):
|
29565
|
+
r"""
|
29566
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
29567
|
+
:type RequestId: str
|
29568
|
+
"""
|
29569
|
+
self._RequestId = None
|
29570
|
+
|
29571
|
+
@property
|
29572
|
+
def RequestId(self):
|
29573
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
29574
|
+
:rtype: str
|
29575
|
+
"""
|
29576
|
+
return self._RequestId
|
29577
|
+
|
29578
|
+
@RequestId.setter
|
29579
|
+
def RequestId(self, RequestId):
|
29580
|
+
self._RequestId = RequestId
|
29581
|
+
|
29582
|
+
|
29583
|
+
def _deserialize(self, params):
|
29584
|
+
self._RequestId = params.get("RequestId")
|
29585
|
+
|
29586
|
+
|
29508
29587
|
class ModifyRemoteBackupConfigRequest(AbstractModel):
|
29509
29588
|
"""ModifyRemoteBackupConfig请求参数结构体
|
29510
29589
|
|
@@ -3076,6 +3076,8 @@ class ObjectType(AbstractModel):
|
|
3076
3076
|
:param _ObjectSupportType: 1:平台支持的对象 2:应用支持的部分对象
|
3077
3077
|
注意:此字段可能返回 null,表示取不到有效值。
|
3078
3078
|
:type ObjectSupportType: int
|
3079
|
+
:param _ArchLayer: 1.接入层 2.逻辑层 3. 数据层
|
3080
|
+
:type ArchLayer: int
|
3079
3081
|
"""
|
3080
3082
|
self._ObjectTypeId = None
|
3081
3083
|
self._ObjectTypeTitle = None
|
@@ -3085,6 +3087,7 @@ class ObjectType(AbstractModel):
|
|
3085
3087
|
self._ObjectHasNewAction = None
|
3086
3088
|
self._ObjectPlatformName = None
|
3087
3089
|
self._ObjectSupportType = None
|
3090
|
+
self._ArchLayer = None
|
3088
3091
|
|
3089
3092
|
@property
|
3090
3093
|
def ObjectTypeId(self):
|
@@ -3178,6 +3181,17 @@ class ObjectType(AbstractModel):
|
|
3178
3181
|
def ObjectSupportType(self, ObjectSupportType):
|
3179
3182
|
self._ObjectSupportType = ObjectSupportType
|
3180
3183
|
|
3184
|
+
@property
|
3185
|
+
def ArchLayer(self):
|
3186
|
+
"""1.接入层 2.逻辑层 3. 数据层
|
3187
|
+
:rtype: int
|
3188
|
+
"""
|
3189
|
+
return self._ArchLayer
|
3190
|
+
|
3191
|
+
@ArchLayer.setter
|
3192
|
+
def ArchLayer(self, ArchLayer):
|
3193
|
+
self._ArchLayer = ArchLayer
|
3194
|
+
|
3181
3195
|
|
3182
3196
|
def _deserialize(self, params):
|
3183
3197
|
self._ObjectTypeId = params.get("ObjectTypeId")
|
@@ -3192,6 +3206,7 @@ class ObjectType(AbstractModel):
|
|
3192
3206
|
self._ObjectHasNewAction = params.get("ObjectHasNewAction")
|
3193
3207
|
self._ObjectPlatformName = params.get("ObjectPlatformName")
|
3194
3208
|
self._ObjectSupportType = params.get("ObjectSupportType")
|
3209
|
+
self._ArchLayer = params.get("ArchLayer")
|
3195
3210
|
memeber_set = set(params.keys())
|
3196
3211
|
for name, value in vars(self).items():
|
3197
3212
|
property_name = name[1:]
|
@@ -6705,6 +6720,8 @@ class TemplateGroupAction(AbstractModel):
|
|
6705
6720
|
:param _ActionRisk: 动作风险等级,1:低风险 2:中风险 3:高风险
|
6706
6721
|
注意:此字段可能返回 null,表示取不到有效值。
|
6707
6722
|
:type ActionRisk: str
|
6723
|
+
:param _FailurePerformance: 故障表现
|
6724
|
+
:type FailurePerformance: str
|
6708
6725
|
"""
|
6709
6726
|
self._TemplateGroupActionId = None
|
6710
6727
|
self._ActionId = None
|
@@ -6721,6 +6738,7 @@ class TemplateGroupAction(AbstractModel):
|
|
6721
6738
|
self._ActionAttribute = None
|
6722
6739
|
self._ActionType = None
|
6723
6740
|
self._ActionRisk = None
|
6741
|
+
self._FailurePerformance = None
|
6724
6742
|
|
6725
6743
|
@property
|
6726
6744
|
def TemplateGroupActionId(self):
|
@@ -6896,6 +6914,17 @@ class TemplateGroupAction(AbstractModel):
|
|
6896
6914
|
def ActionRisk(self, ActionRisk):
|
6897
6915
|
self._ActionRisk = ActionRisk
|
6898
6916
|
|
6917
|
+
@property
|
6918
|
+
def FailurePerformance(self):
|
6919
|
+
"""故障表现
|
6920
|
+
:rtype: str
|
6921
|
+
"""
|
6922
|
+
return self._FailurePerformance
|
6923
|
+
|
6924
|
+
@FailurePerformance.setter
|
6925
|
+
def FailurePerformance(self, FailurePerformance):
|
6926
|
+
self._FailurePerformance = FailurePerformance
|
6927
|
+
|
6899
6928
|
|
6900
6929
|
def _deserialize(self, params):
|
6901
6930
|
self._TemplateGroupActionId = params.get("TemplateGroupActionId")
|
@@ -6913,6 +6942,7 @@ class TemplateGroupAction(AbstractModel):
|
|
6913
6942
|
self._ActionAttribute = params.get("ActionAttribute")
|
6914
6943
|
self._ActionType = params.get("ActionType")
|
6915
6944
|
self._ActionRisk = params.get("ActionRisk")
|
6945
|
+
self._FailurePerformance = params.get("FailurePerformance")
|
6916
6946
|
memeber_set = set(params.keys())
|
6917
6947
|
for name, value in vars(self).items():
|
6918
6948
|
property_name = name[1:]
|
@@ -59,6 +59,8 @@ class License(AbstractModel):
|
|
59
59
|
:type ExpirationDate: str
|
60
60
|
:param _LifeSpanUnit: 授权时长单位,枚举值有Y年/M月/D日三种
|
61
61
|
:type LifeSpanUnit: str
|
62
|
+
:param _LicenseType: 授权的类型:Standard正式版/Development开发版/Trial体验版
|
63
|
+
:type LicenseType: str
|
62
64
|
"""
|
63
65
|
self._LicenseId = None
|
64
66
|
self._LicenseMode = None
|
@@ -76,6 +78,7 @@ class License(AbstractModel):
|
|
76
78
|
self._ActivationDate = None
|
77
79
|
self._ExpirationDate = None
|
78
80
|
self._LifeSpanUnit = None
|
81
|
+
self._LicenseType = None
|
79
82
|
|
80
83
|
@property
|
81
84
|
def LicenseId(self):
|
@@ -255,6 +258,17 @@ class License(AbstractModel):
|
|
255
258
|
def LifeSpanUnit(self, LifeSpanUnit):
|
256
259
|
self._LifeSpanUnit = LifeSpanUnit
|
257
260
|
|
261
|
+
@property
|
262
|
+
def LicenseType(self):
|
263
|
+
"""授权的类型:Standard正式版/Development开发版/Trial体验版
|
264
|
+
:rtype: str
|
265
|
+
"""
|
266
|
+
return self._LicenseType
|
267
|
+
|
268
|
+
@LicenseType.setter
|
269
|
+
def LicenseType(self, LicenseType):
|
270
|
+
self._LicenseType = LicenseType
|
271
|
+
|
258
272
|
|
259
273
|
def _deserialize(self, params):
|
260
274
|
self._LicenseId = params.get("LicenseId")
|
@@ -278,6 +292,7 @@ class License(AbstractModel):
|
|
278
292
|
self._ActivationDate = params.get("ActivationDate")
|
279
293
|
self._ExpirationDate = params.get("ExpirationDate")
|
280
294
|
self._LifeSpanUnit = params.get("LifeSpanUnit")
|
295
|
+
self._LicenseType = params.get("LicenseType")
|
281
296
|
memeber_set = set(params.keys())
|
282
297
|
for name, value in vars(self).items():
|
283
298
|
property_name = name[1:]
|
@@ -26,14 +26,19 @@ class AttributeKeyDetail(AbstractModel):
|
|
26
26
|
def __init__(self):
|
27
27
|
r"""
|
28
28
|
:param _LabelType: 输入框类型
|
29
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
29
30
|
:type LabelType: str
|
30
31
|
:param _Starter: 初始化展示
|
32
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
31
33
|
:type Starter: str
|
32
34
|
:param _Order: 展示排序
|
35
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
33
36
|
:type Order: int
|
34
37
|
:param _Value: AttributeKey值
|
38
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
35
39
|
:type Value: str
|
36
40
|
:param _Label: 中文标签
|
41
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
37
42
|
:type Label: str
|
38
43
|
"""
|
39
44
|
self._LabelType = None
|
@@ -45,6 +50,7 @@ class AttributeKeyDetail(AbstractModel):
|
|
45
50
|
@property
|
46
51
|
def LabelType(self):
|
47
52
|
"""输入框类型
|
53
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
48
54
|
:rtype: str
|
49
55
|
"""
|
50
56
|
return self._LabelType
|
@@ -56,6 +62,7 @@ class AttributeKeyDetail(AbstractModel):
|
|
56
62
|
@property
|
57
63
|
def Starter(self):
|
58
64
|
"""初始化展示
|
65
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59
66
|
:rtype: str
|
60
67
|
"""
|
61
68
|
return self._Starter
|
@@ -67,6 +74,7 @@ class AttributeKeyDetail(AbstractModel):
|
|
67
74
|
@property
|
68
75
|
def Order(self):
|
69
76
|
"""展示排序
|
77
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
70
78
|
:rtype: int
|
71
79
|
"""
|
72
80
|
return self._Order
|
@@ -78,6 +86,7 @@ class AttributeKeyDetail(AbstractModel):
|
|
78
86
|
@property
|
79
87
|
def Value(self):
|
80
88
|
"""AttributeKey值
|
89
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
81
90
|
:rtype: str
|
82
91
|
"""
|
83
92
|
return self._Value
|
@@ -89,6 +98,7 @@ class AttributeKeyDetail(AbstractModel):
|
|
89
98
|
@property
|
90
99
|
def Label(self):
|
91
100
|
"""中文标签
|
101
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
92
102
|
:rtype: str
|
93
103
|
"""
|
94
104
|
return self._Label
|
@@ -1942,8 +1952,10 @@ class KeyMetadata(AbstractModel):
|
|
1942
1952
|
def __init__(self):
|
1943
1953
|
r"""
|
1944
1954
|
:param _Alias: 作为密钥更容易辨识,更容易被人看懂的别名
|
1955
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1945
1956
|
:type Alias: str
|
1946
1957
|
:param _KeyId: CMK的全局唯一标识
|
1958
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1947
1959
|
:type KeyId: str
|
1948
1960
|
"""
|
1949
1961
|
self._Alias = None
|
@@ -1952,6 +1964,7 @@ class KeyMetadata(AbstractModel):
|
|
1952
1964
|
@property
|
1953
1965
|
def Alias(self):
|
1954
1966
|
"""作为密钥更容易辨识,更容易被人看懂的别名
|
1967
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1955
1968
|
:rtype: str
|
1956
1969
|
"""
|
1957
1970
|
return self._Alias
|
@@ -1963,6 +1976,7 @@ class KeyMetadata(AbstractModel):
|
|
1963
1976
|
@property
|
1964
1977
|
def KeyId(self):
|
1965
1978
|
"""CMK的全局唯一标识
|
1979
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1966
1980
|
:rtype: str
|
1967
1981
|
"""
|
1968
1982
|
return self._KeyId
|
@@ -16790,11 +16790,11 @@ class ModifyInstancesVpcAttributeRequest(AbstractModel):
|
|
16790
16790
|
r"""
|
16791
16791
|
:param _InstanceIds: 待操作的实例ID数组。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
16792
16792
|
:type InstanceIds: list of str
|
16793
|
-
:param _VirtualPrivateCloud: 私有网络相关信息配置,通过该参数指定私有网络的ID,子网ID,私有网络ip等信息。<br><li>当指定私有网络ID和子网ID
|
16793
|
+
:param _VirtualPrivateCloud: 私有网络相关信息配置,通过该参数指定私有网络的ID,子网ID,私有网络ip等信息。<br><li>当指定私有网络ID和子网ID(子网必须在实例所在的可用区)与指定实例所在私有网络不一致时,会将实例迁移至指定的私有网络的子网下。</li><li>可通过`PrivateIpAddresses`指定私有网络子网IP,若需指定则所有已指定的实例均需要指定子网IP,此时`InstanceIds`与`PrivateIpAddresses`一一对应。</li><li>不指定`PrivateIpAddresses`时随机分配私有网络子网IP。</li>
|
16794
16794
|
:type VirtualPrivateCloud: :class:`tencentcloud.cvm.v20170312.models.VirtualPrivateCloud`
|
16795
|
-
:param _ForceStop: 是否对运行中的实例选择强制关机。默认为
|
16795
|
+
:param _ForceStop: 是否对运行中的实例选择强制关机。默认为true。
|
16796
16796
|
:type ForceStop: bool
|
16797
|
-
:param _ReserveHostName: 是否保留主机名。默认为
|
16797
|
+
:param _ReserveHostName: 是否保留主机名。默认为false。
|
16798
16798
|
:type ReserveHostName: bool
|
16799
16799
|
"""
|
16800
16800
|
self._InstanceIds = None
|
@@ -16815,7 +16815,7 @@ class ModifyInstancesVpcAttributeRequest(AbstractModel):
|
|
16815
16815
|
|
16816
16816
|
@property
|
16817
16817
|
def VirtualPrivateCloud(self):
|
16818
|
-
"""私有网络相关信息配置,通过该参数指定私有网络的ID,子网ID,私有网络ip等信息。<br><li>当指定私有网络ID和子网ID
|
16818
|
+
"""私有网络相关信息配置,通过该参数指定私有网络的ID,子网ID,私有网络ip等信息。<br><li>当指定私有网络ID和子网ID(子网必须在实例所在的可用区)与指定实例所在私有网络不一致时,会将实例迁移至指定的私有网络的子网下。</li><li>可通过`PrivateIpAddresses`指定私有网络子网IP,若需指定则所有已指定的实例均需要指定子网IP,此时`InstanceIds`与`PrivateIpAddresses`一一对应。</li><li>不指定`PrivateIpAddresses`时随机分配私有网络子网IP。</li>
|
16819
16819
|
:rtype: :class:`tencentcloud.cvm.v20170312.models.VirtualPrivateCloud`
|
16820
16820
|
"""
|
16821
16821
|
return self._VirtualPrivateCloud
|
@@ -16826,7 +16826,7 @@ class ModifyInstancesVpcAttributeRequest(AbstractModel):
|
|
16826
16826
|
|
16827
16827
|
@property
|
16828
16828
|
def ForceStop(self):
|
16829
|
-
"""是否对运行中的实例选择强制关机。默认为
|
16829
|
+
"""是否对运行中的实例选择强制关机。默认为true。
|
16830
16830
|
:rtype: bool
|
16831
16831
|
"""
|
16832
16832
|
return self._ForceStop
|
@@ -16837,7 +16837,7 @@ class ModifyInstancesVpcAttributeRequest(AbstractModel):
|
|
16837
16837
|
|
16838
16838
|
@property
|
16839
16839
|
def ReserveHostName(self):
|
16840
|
-
"""是否保留主机名。默认为
|
16840
|
+
"""是否保留主机名。默认为false。
|
16841
16841
|
:rtype: bool
|
16842
16842
|
"""
|
16843
16843
|
return self._ReserveHostName
|
@@ -1061,6 +1061,29 @@ class CynosdbClient(AbstractClient):
|
|
1061
1061
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1062
1062
|
|
1063
1063
|
|
1064
|
+
def DescribeClusterDatabaseTables(self, request):
|
1065
|
+
"""获取table列表
|
1066
|
+
|
1067
|
+
:param request: Request instance for DescribeClusterDatabaseTables.
|
1068
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeClusterDatabaseTablesRequest`
|
1069
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeClusterDatabaseTablesResponse`
|
1070
|
+
|
1071
|
+
"""
|
1072
|
+
try:
|
1073
|
+
params = request._serialize()
|
1074
|
+
headers = request.headers
|
1075
|
+
body = self.call("DescribeClusterDatabaseTables", params, headers=headers)
|
1076
|
+
response = json.loads(body)
|
1077
|
+
model = models.DescribeClusterDatabaseTablesResponse()
|
1078
|
+
model._deserialize(response["Response"])
|
1079
|
+
return model
|
1080
|
+
except Exception as e:
|
1081
|
+
if isinstance(e, TencentCloudSDKException):
|
1082
|
+
raise
|
1083
|
+
else:
|
1084
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1085
|
+
|
1086
|
+
|
1064
1087
|
def DescribeClusterDatabases(self, request):
|
1065
1088
|
"""本接口(DescribeClusterDatabases)用于获取集群数据库列表。
|
1066
1089
|
|