tencentcloud-sdk-python 3.0.1049__py2.py3-none-any.whl → 3.0.1051__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/cam/v20190116/models.py +12 -0
- tencentcloud/cdwdoris/__init__.py +0 -0
- tencentcloud/cdwdoris/v20211228/__init__.py +0 -0
- tencentcloud/cdwdoris/v20211228/cdwdoris_client.py +95 -0
- tencentcloud/cdwdoris/v20211228/errorcodes.py +18 -0
- tencentcloud/cdwdoris/v20211228/models.py +1396 -0
- tencentcloud/csip/v20221121/csip_client.py +23 -0
- tencentcloud/csip/v20221121/models.py +486 -0
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/models.py +30 -17
- tencentcloud/essbasic/v20210526/essbasic_client.py +27 -1
- tencentcloud/essbasic/v20210526/models.py +386 -15
- tencentcloud/lcic/v20220817/models.py +14 -1
- tencentcloud/monitor/v20180724/models.py +167 -18
- tencentcloud/monitor/v20180724/monitor_client.py +5 -5
- tencentcloud/privatedns/v20201028/models.py +84 -0
- tencentcloud/privatedns/v20201028/privatedns_client.py +23 -0
- tencentcloud/pts/v20210728/models.py +25 -25
- tencentcloud/redis/v20180412/models.py +246 -0
- tencentcloud/redis/v20180412/redis_client.py +69 -0
- tencentcloud/ssm/v20190923/models.py +11 -5
- tencentcloud/tcr/v20190924/models.py +0 -270
- tencentcloud/tcr/v20190924/tcr_client.py +0 -25
- tencentcloud/tdmq/v20200217/models.py +31 -0
- tencentcloud/teo/v20220901/errorcodes.py +18 -0
- tencentcloud/teo/v20220901/models.py +1 -1
- tencentcloud/tke/v20180525/errorcodes.py +18 -0
- tencentcloud/tke/v20180525/models.py +189 -0
- tencentcloud/tke/v20180525/tke_client.py +46 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +4 -4
- {tencentcloud_sdk_python-3.0.1049.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1049.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/RECORD +37 -32
- {tencentcloud_sdk_python-3.0.1049.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1049.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1049.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/top_level.txt +0 -0
|
@@ -5460,6 +5460,91 @@ class DescribeInstanceShardsResponse(AbstractModel):
|
|
|
5460
5460
|
self._RequestId = params.get("RequestId")
|
|
5461
5461
|
|
|
5462
5462
|
|
|
5463
|
+
class DescribeInstanceSupportFeatureRequest(AbstractModel):
|
|
5464
|
+
"""DescribeInstanceSupportFeature请求参数结构体
|
|
5465
|
+
|
|
5466
|
+
"""
|
|
5467
|
+
|
|
5468
|
+
def __init__(self):
|
|
5469
|
+
r"""
|
|
5470
|
+
:param _InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis#/)在实例列表复制实例 ID。
|
|
5471
|
+
示例值:crs-asdasdas
|
|
5472
|
+
:type InstanceId: str
|
|
5473
|
+
:param _FeatureName: 功能特性名称
|
|
5474
|
+
- read-local-node-only 就近接入功能
|
|
5475
|
+
- multi-account 多账号功能
|
|
5476
|
+
:type FeatureName: str
|
|
5477
|
+
"""
|
|
5478
|
+
self._InstanceId = None
|
|
5479
|
+
self._FeatureName = None
|
|
5480
|
+
|
|
5481
|
+
@property
|
|
5482
|
+
def InstanceId(self):
|
|
5483
|
+
return self._InstanceId
|
|
5484
|
+
|
|
5485
|
+
@InstanceId.setter
|
|
5486
|
+
def InstanceId(self, InstanceId):
|
|
5487
|
+
self._InstanceId = InstanceId
|
|
5488
|
+
|
|
5489
|
+
@property
|
|
5490
|
+
def FeatureName(self):
|
|
5491
|
+
return self._FeatureName
|
|
5492
|
+
|
|
5493
|
+
@FeatureName.setter
|
|
5494
|
+
def FeatureName(self, FeatureName):
|
|
5495
|
+
self._FeatureName = FeatureName
|
|
5496
|
+
|
|
5497
|
+
|
|
5498
|
+
def _deserialize(self, params):
|
|
5499
|
+
self._InstanceId = params.get("InstanceId")
|
|
5500
|
+
self._FeatureName = params.get("FeatureName")
|
|
5501
|
+
memeber_set = set(params.keys())
|
|
5502
|
+
for name, value in vars(self).items():
|
|
5503
|
+
property_name = name[1:]
|
|
5504
|
+
if property_name in memeber_set:
|
|
5505
|
+
memeber_set.remove(property_name)
|
|
5506
|
+
if len(memeber_set) > 0:
|
|
5507
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5508
|
+
|
|
5509
|
+
|
|
5510
|
+
|
|
5511
|
+
class DescribeInstanceSupportFeatureResponse(AbstractModel):
|
|
5512
|
+
"""DescribeInstanceSupportFeature返回参数结构体
|
|
5513
|
+
|
|
5514
|
+
"""
|
|
5515
|
+
|
|
5516
|
+
def __init__(self):
|
|
5517
|
+
r"""
|
|
5518
|
+
:param _Support: 是否支持
|
|
5519
|
+
:type Support: bool
|
|
5520
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5521
|
+
:type RequestId: str
|
|
5522
|
+
"""
|
|
5523
|
+
self._Support = None
|
|
5524
|
+
self._RequestId = None
|
|
5525
|
+
|
|
5526
|
+
@property
|
|
5527
|
+
def Support(self):
|
|
5528
|
+
return self._Support
|
|
5529
|
+
|
|
5530
|
+
@Support.setter
|
|
5531
|
+
def Support(self, Support):
|
|
5532
|
+
self._Support = Support
|
|
5533
|
+
|
|
5534
|
+
@property
|
|
5535
|
+
def RequestId(self):
|
|
5536
|
+
return self._RequestId
|
|
5537
|
+
|
|
5538
|
+
@RequestId.setter
|
|
5539
|
+
def RequestId(self, RequestId):
|
|
5540
|
+
self._RequestId = RequestId
|
|
5541
|
+
|
|
5542
|
+
|
|
5543
|
+
def _deserialize(self, params):
|
|
5544
|
+
self._Support = params.get("Support")
|
|
5545
|
+
self._RequestId = params.get("RequestId")
|
|
5546
|
+
|
|
5547
|
+
|
|
5463
5548
|
class DescribeInstanceZoneInfoRequest(AbstractModel):
|
|
5464
5549
|
"""DescribeInstanceZoneInfo请求参数结构体
|
|
5465
5550
|
|
|
@@ -11902,6 +11987,108 @@ class ModifyInstanceAccountResponse(AbstractModel):
|
|
|
11902
11987
|
self._RequestId = params.get("RequestId")
|
|
11903
11988
|
|
|
11904
11989
|
|
|
11990
|
+
class ModifyInstanceAvailabilityZonesRequest(AbstractModel):
|
|
11991
|
+
"""ModifyInstanceAvailabilityZones请求参数结构体
|
|
11992
|
+
|
|
11993
|
+
"""
|
|
11994
|
+
|
|
11995
|
+
def __init__(self):
|
|
11996
|
+
r"""
|
|
11997
|
+
:param _InstanceId: 指定实例 ID。例如:crs-xjhsdj****,请登录[Redis控制台](https://console.cloud.tencent.com/redis#/)在实例列表复制实例 ID。
|
|
11998
|
+
:type InstanceId: str
|
|
11999
|
+
:param _SwitchOption: 切换时间。
|
|
12000
|
+
- 1:维护时间窗切换。
|
|
12001
|
+
- 2:立即切换。
|
|
12002
|
+
:type SwitchOption: int
|
|
12003
|
+
:param _NodeSet: 实例的节点信息,包含节点 ID、节点类型、节点可用区 ID等。具体信息,请参见[RedisNodeInfo ](https://cloud.tencent.com/document/product/239/20022)。
|
|
12004
|
+
单可用区实例无需传NodeId,多可用区实例NodeId必传
|
|
12005
|
+
:type NodeSet: list of RedisNodeInfo
|
|
12006
|
+
"""
|
|
12007
|
+
self._InstanceId = None
|
|
12008
|
+
self._SwitchOption = None
|
|
12009
|
+
self._NodeSet = None
|
|
12010
|
+
|
|
12011
|
+
@property
|
|
12012
|
+
def InstanceId(self):
|
|
12013
|
+
return self._InstanceId
|
|
12014
|
+
|
|
12015
|
+
@InstanceId.setter
|
|
12016
|
+
def InstanceId(self, InstanceId):
|
|
12017
|
+
self._InstanceId = InstanceId
|
|
12018
|
+
|
|
12019
|
+
@property
|
|
12020
|
+
def SwitchOption(self):
|
|
12021
|
+
return self._SwitchOption
|
|
12022
|
+
|
|
12023
|
+
@SwitchOption.setter
|
|
12024
|
+
def SwitchOption(self, SwitchOption):
|
|
12025
|
+
self._SwitchOption = SwitchOption
|
|
12026
|
+
|
|
12027
|
+
@property
|
|
12028
|
+
def NodeSet(self):
|
|
12029
|
+
return self._NodeSet
|
|
12030
|
+
|
|
12031
|
+
@NodeSet.setter
|
|
12032
|
+
def NodeSet(self, NodeSet):
|
|
12033
|
+
self._NodeSet = NodeSet
|
|
12034
|
+
|
|
12035
|
+
|
|
12036
|
+
def _deserialize(self, params):
|
|
12037
|
+
self._InstanceId = params.get("InstanceId")
|
|
12038
|
+
self._SwitchOption = params.get("SwitchOption")
|
|
12039
|
+
if params.get("NodeSet") is not None:
|
|
12040
|
+
self._NodeSet = []
|
|
12041
|
+
for item in params.get("NodeSet"):
|
|
12042
|
+
obj = RedisNodeInfo()
|
|
12043
|
+
obj._deserialize(item)
|
|
12044
|
+
self._NodeSet.append(obj)
|
|
12045
|
+
memeber_set = set(params.keys())
|
|
12046
|
+
for name, value in vars(self).items():
|
|
12047
|
+
property_name = name[1:]
|
|
12048
|
+
if property_name in memeber_set:
|
|
12049
|
+
memeber_set.remove(property_name)
|
|
12050
|
+
if len(memeber_set) > 0:
|
|
12051
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12052
|
+
|
|
12053
|
+
|
|
12054
|
+
|
|
12055
|
+
class ModifyInstanceAvailabilityZonesResponse(AbstractModel):
|
|
12056
|
+
"""ModifyInstanceAvailabilityZones返回参数结构体
|
|
12057
|
+
|
|
12058
|
+
"""
|
|
12059
|
+
|
|
12060
|
+
def __init__(self):
|
|
12061
|
+
r"""
|
|
12062
|
+
:param _TaskId: 任务ID。
|
|
12063
|
+
:type TaskId: int
|
|
12064
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
12065
|
+
:type RequestId: str
|
|
12066
|
+
"""
|
|
12067
|
+
self._TaskId = None
|
|
12068
|
+
self._RequestId = None
|
|
12069
|
+
|
|
12070
|
+
@property
|
|
12071
|
+
def TaskId(self):
|
|
12072
|
+
return self._TaskId
|
|
12073
|
+
|
|
12074
|
+
@TaskId.setter
|
|
12075
|
+
def TaskId(self, TaskId):
|
|
12076
|
+
self._TaskId = TaskId
|
|
12077
|
+
|
|
12078
|
+
@property
|
|
12079
|
+
def RequestId(self):
|
|
12080
|
+
return self._RequestId
|
|
12081
|
+
|
|
12082
|
+
@RequestId.setter
|
|
12083
|
+
def RequestId(self, RequestId):
|
|
12084
|
+
self._RequestId = RequestId
|
|
12085
|
+
|
|
12086
|
+
|
|
12087
|
+
def _deserialize(self, params):
|
|
12088
|
+
self._TaskId = params.get("TaskId")
|
|
12089
|
+
self._RequestId = params.get("RequestId")
|
|
12090
|
+
|
|
12091
|
+
|
|
11905
12092
|
class ModifyInstanceParamsRequest(AbstractModel):
|
|
11906
12093
|
"""ModifyInstanceParams请求参数结构体
|
|
11907
12094
|
|
|
@@ -15032,6 +15219,65 @@ class StartupInstanceResponse(AbstractModel):
|
|
|
15032
15219
|
self._RequestId = params.get("RequestId")
|
|
15033
15220
|
|
|
15034
15221
|
|
|
15222
|
+
class SwitchAccessNewInstanceRequest(AbstractModel):
|
|
15223
|
+
"""SwitchAccessNewInstance请求参数结构体
|
|
15224
|
+
|
|
15225
|
+
"""
|
|
15226
|
+
|
|
15227
|
+
def __init__(self):
|
|
15228
|
+
r"""
|
|
15229
|
+
:param _InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis#/)在实例列表复制实例 ID。
|
|
15230
|
+
示例值:crs-asdasdas
|
|
15231
|
+
:type InstanceId: str
|
|
15232
|
+
"""
|
|
15233
|
+
self._InstanceId = None
|
|
15234
|
+
|
|
15235
|
+
@property
|
|
15236
|
+
def InstanceId(self):
|
|
15237
|
+
return self._InstanceId
|
|
15238
|
+
|
|
15239
|
+
@InstanceId.setter
|
|
15240
|
+
def InstanceId(self, InstanceId):
|
|
15241
|
+
self._InstanceId = InstanceId
|
|
15242
|
+
|
|
15243
|
+
|
|
15244
|
+
def _deserialize(self, params):
|
|
15245
|
+
self._InstanceId = params.get("InstanceId")
|
|
15246
|
+
memeber_set = set(params.keys())
|
|
15247
|
+
for name, value in vars(self).items():
|
|
15248
|
+
property_name = name[1:]
|
|
15249
|
+
if property_name in memeber_set:
|
|
15250
|
+
memeber_set.remove(property_name)
|
|
15251
|
+
if len(memeber_set) > 0:
|
|
15252
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15253
|
+
|
|
15254
|
+
|
|
15255
|
+
|
|
15256
|
+
class SwitchAccessNewInstanceResponse(AbstractModel):
|
|
15257
|
+
"""SwitchAccessNewInstance返回参数结构体
|
|
15258
|
+
|
|
15259
|
+
"""
|
|
15260
|
+
|
|
15261
|
+
def __init__(self):
|
|
15262
|
+
r"""
|
|
15263
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
15264
|
+
:type RequestId: str
|
|
15265
|
+
"""
|
|
15266
|
+
self._RequestId = None
|
|
15267
|
+
|
|
15268
|
+
@property
|
|
15269
|
+
def RequestId(self):
|
|
15270
|
+
return self._RequestId
|
|
15271
|
+
|
|
15272
|
+
@RequestId.setter
|
|
15273
|
+
def RequestId(self, RequestId):
|
|
15274
|
+
self._RequestId = RequestId
|
|
15275
|
+
|
|
15276
|
+
|
|
15277
|
+
def _deserialize(self, params):
|
|
15278
|
+
self._RequestId = params.get("RequestId")
|
|
15279
|
+
|
|
15280
|
+
|
|
15035
15281
|
class SwitchInstanceVipRequest(AbstractModel):
|
|
15036
15282
|
"""SwitchInstanceVip请求参数结构体
|
|
15037
15283
|
|
|
@@ -969,6 +969,29 @@ class RedisClient(AbstractClient):
|
|
|
969
969
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
970
970
|
|
|
971
971
|
|
|
972
|
+
def DescribeInstanceSupportFeature(self, request):
|
|
973
|
+
"""本接口(DescribeInstanceSupportFeature)用于查询实例支持的功能特性。
|
|
974
|
+
|
|
975
|
+
:param request: Request instance for DescribeInstanceSupportFeature.
|
|
976
|
+
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceSupportFeatureRequest`
|
|
977
|
+
:rtype: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceSupportFeatureResponse`
|
|
978
|
+
|
|
979
|
+
"""
|
|
980
|
+
try:
|
|
981
|
+
params = request._serialize()
|
|
982
|
+
headers = request.headers
|
|
983
|
+
body = self.call("DescribeInstanceSupportFeature", params, headers=headers)
|
|
984
|
+
response = json.loads(body)
|
|
985
|
+
model = models.DescribeInstanceSupportFeatureResponse()
|
|
986
|
+
model._deserialize(response["Response"])
|
|
987
|
+
return model
|
|
988
|
+
except Exception as e:
|
|
989
|
+
if isinstance(e, TencentCloudSDKException):
|
|
990
|
+
raise
|
|
991
|
+
else:
|
|
992
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
993
|
+
|
|
994
|
+
|
|
972
995
|
def DescribeInstanceZoneInfo(self, request):
|
|
973
996
|
"""本接口(DescribeInstanceZoneInfo)用于查询 Redis 节点详细信息。
|
|
974
997
|
|
|
@@ -1705,6 +1728,29 @@ class RedisClient(AbstractClient):
|
|
|
1705
1728
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1706
1729
|
|
|
1707
1730
|
|
|
1731
|
+
def ModifyInstanceAvailabilityZones(self, request):
|
|
1732
|
+
"""本接口(ModifyInstanceAvailabilityZones)用于变更实例可用区
|
|
1733
|
+
|
|
1734
|
+
:param request: Request instance for ModifyInstanceAvailabilityZones.
|
|
1735
|
+
:type request: :class:`tencentcloud.redis.v20180412.models.ModifyInstanceAvailabilityZonesRequest`
|
|
1736
|
+
:rtype: :class:`tencentcloud.redis.v20180412.models.ModifyInstanceAvailabilityZonesResponse`
|
|
1737
|
+
|
|
1738
|
+
"""
|
|
1739
|
+
try:
|
|
1740
|
+
params = request._serialize()
|
|
1741
|
+
headers = request.headers
|
|
1742
|
+
body = self.call("ModifyInstanceAvailabilityZones", params, headers=headers)
|
|
1743
|
+
response = json.loads(body)
|
|
1744
|
+
model = models.ModifyInstanceAvailabilityZonesResponse()
|
|
1745
|
+
model._deserialize(response["Response"])
|
|
1746
|
+
return model
|
|
1747
|
+
except Exception as e:
|
|
1748
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1749
|
+
raise
|
|
1750
|
+
else:
|
|
1751
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1752
|
+
|
|
1753
|
+
|
|
1708
1754
|
def ModifyInstanceParams(self, request):
|
|
1709
1755
|
"""本接口(ModifyInstanceParams)用于修改Redis实例的参数配置。
|
|
1710
1756
|
|
|
@@ -1981,6 +2027,29 @@ class RedisClient(AbstractClient):
|
|
|
1981
2027
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1982
2028
|
|
|
1983
2029
|
|
|
2030
|
+
def SwitchAccessNewInstance(self, request):
|
|
2031
|
+
"""本接口(SwitchAccessNewInstance)针对处于时间窗口中待切换操作的实例,用户可主动发起该操作。
|
|
2032
|
+
|
|
2033
|
+
:param request: Request instance for SwitchAccessNewInstance.
|
|
2034
|
+
:type request: :class:`tencentcloud.redis.v20180412.models.SwitchAccessNewInstanceRequest`
|
|
2035
|
+
:rtype: :class:`tencentcloud.redis.v20180412.models.SwitchAccessNewInstanceResponse`
|
|
2036
|
+
|
|
2037
|
+
"""
|
|
2038
|
+
try:
|
|
2039
|
+
params = request._serialize()
|
|
2040
|
+
headers = request.headers
|
|
2041
|
+
body = self.call("SwitchAccessNewInstance", params, headers=headers)
|
|
2042
|
+
response = json.loads(body)
|
|
2043
|
+
model = models.SwitchAccessNewInstanceResponse()
|
|
2044
|
+
model._deserialize(response["Response"])
|
|
2045
|
+
return model
|
|
2046
|
+
except Exception as e:
|
|
2047
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2048
|
+
raise
|
|
2049
|
+
else:
|
|
2050
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2051
|
+
|
|
2052
|
+
|
|
1984
2053
|
def SwitchInstanceVip(self, request):
|
|
1985
2054
|
"""在通过DTS支持跨可用区灾备的场景中,通过该接口交换实例VIP完成实例灾备切换。交换VIP后目标实例可写,源和目标实例VIP互换,同时源与目标实例间DTS同步任务断开
|
|
1986
2055
|
|
|
@@ -1207,7 +1207,7 @@ class DescribeSecretResponse(AbstractModel):
|
|
|
1207
1207
|
:type DeleteTime: int
|
|
1208
1208
|
:param _CreateTime: 创建日期。
|
|
1209
1209
|
:type CreateTime: int
|
|
1210
|
-
:param _SecretType: 0 -- 用户自定义凭据类型;1 -- 数据库凭据类型;2 -- SSH
|
|
1210
|
+
:param _SecretType: 0 -- 用户自定义凭据类型;1 -- 数据库凭据类型;2 -- SSH密钥对凭据类型;3 -- 云API密钥(AKSK)凭据类型(使用此功能需要联系云助手单独开启白名单);4 -- Redis类型凭据。
|
|
1211
1211
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1212
1212
|
:type SecretType: int
|
|
1213
1213
|
:param _ProductName: 云产品名称。
|
|
@@ -1438,7 +1438,12 @@ class DescribeSupportedProductsResponse(AbstractModel):
|
|
|
1438
1438
|
|
|
1439
1439
|
def __init__(self):
|
|
1440
1440
|
r"""
|
|
1441
|
-
:param _Products:
|
|
1441
|
+
:param _Products: 支持的所有云产品列表。
|
|
1442
|
+
每种云产品与凭据类型的对应关系如下:
|
|
1443
|
+
当SecretType为1时,支持的云产品列表包括:Mysql、Tdsql-mysql、Tdsql_C_Mysql;
|
|
1444
|
+
当SecretType为2时,支持的产品列表为:Cvm;
|
|
1445
|
+
当SecretType为3时,支持的产品列表为:Cam(此功能的使用需要联系云助手单独开始白名单);
|
|
1446
|
+
当SecretType为4时,支持的产品列表为:Redis。
|
|
1442
1447
|
:type Products: list of str
|
|
1443
1448
|
:param _TotalCount: 支持的产品个数
|
|
1444
1449
|
:type TotalCount: int
|
|
@@ -2117,9 +2122,10 @@ class ListSecretsRequest(AbstractModel):
|
|
|
2117
2122
|
:type SecretType: int
|
|
2118
2123
|
:param _ProductName: 此参数仅在SecretType参数值为1时生效,
|
|
2119
2124
|
当SecretType值为1时:
|
|
2120
|
-
如果ProductName
|
|
2121
|
-
如果ProductName
|
|
2122
|
-
如果ProductName
|
|
2125
|
+
如果ProductName值为空,则表示查询所有类型的云产品凭据;
|
|
2126
|
+
如果ProductName值为某个指定的云产品值如Mysql时,则表示查询Mysql数据库凭据;
|
|
2127
|
+
如果ProductName值为多个云产品值,如:Mysql,Tdsql-mysql,Tdsql_C_Mysql(多个值以英文逗号,分隔开)则表示查询三种云产品类型的凭据;
|
|
2128
|
+
支持的云产品列表请通过接口:DescribeSupportedProducts进行查询。
|
|
2123
2129
|
:type ProductName: str
|
|
2124
2130
|
"""
|
|
2125
2131
|
self._Offset = None
|
|
@@ -2866,123 +2866,6 @@ class CreateWebhookTriggerResponse(AbstractModel):
|
|
|
2866
2866
|
self._RequestId = params.get("RequestId")
|
|
2867
2867
|
|
|
2868
2868
|
|
|
2869
|
-
class CustomAccount(AbstractModel):
|
|
2870
|
-
"""自定义账户
|
|
2871
|
-
|
|
2872
|
-
"""
|
|
2873
|
-
|
|
2874
|
-
def __init__(self):
|
|
2875
|
-
r"""
|
|
2876
|
-
:param _Name: 自定义账户名
|
|
2877
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2878
|
-
:type Name: str
|
|
2879
|
-
:param _Description: 描述
|
|
2880
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2881
|
-
:type Description: str
|
|
2882
|
-
:param _Disable: 是否禁用
|
|
2883
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2884
|
-
:type Disable: bool
|
|
2885
|
-
:param _ExpiresAt: 过期时间
|
|
2886
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2887
|
-
:type ExpiresAt: int
|
|
2888
|
-
:param _CreateTime: 创建时间
|
|
2889
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2890
|
-
:type CreateTime: str
|
|
2891
|
-
:param _UpdateTime: 更新时间
|
|
2892
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2893
|
-
:type UpdateTime: str
|
|
2894
|
-
:param _Permissions: 策略
|
|
2895
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2896
|
-
:type Permissions: list of Permission
|
|
2897
|
-
"""
|
|
2898
|
-
self._Name = None
|
|
2899
|
-
self._Description = None
|
|
2900
|
-
self._Disable = None
|
|
2901
|
-
self._ExpiresAt = None
|
|
2902
|
-
self._CreateTime = None
|
|
2903
|
-
self._UpdateTime = None
|
|
2904
|
-
self._Permissions = None
|
|
2905
|
-
|
|
2906
|
-
@property
|
|
2907
|
-
def Name(self):
|
|
2908
|
-
return self._Name
|
|
2909
|
-
|
|
2910
|
-
@Name.setter
|
|
2911
|
-
def Name(self, Name):
|
|
2912
|
-
self._Name = Name
|
|
2913
|
-
|
|
2914
|
-
@property
|
|
2915
|
-
def Description(self):
|
|
2916
|
-
return self._Description
|
|
2917
|
-
|
|
2918
|
-
@Description.setter
|
|
2919
|
-
def Description(self, Description):
|
|
2920
|
-
self._Description = Description
|
|
2921
|
-
|
|
2922
|
-
@property
|
|
2923
|
-
def Disable(self):
|
|
2924
|
-
return self._Disable
|
|
2925
|
-
|
|
2926
|
-
@Disable.setter
|
|
2927
|
-
def Disable(self, Disable):
|
|
2928
|
-
self._Disable = Disable
|
|
2929
|
-
|
|
2930
|
-
@property
|
|
2931
|
-
def ExpiresAt(self):
|
|
2932
|
-
return self._ExpiresAt
|
|
2933
|
-
|
|
2934
|
-
@ExpiresAt.setter
|
|
2935
|
-
def ExpiresAt(self, ExpiresAt):
|
|
2936
|
-
self._ExpiresAt = ExpiresAt
|
|
2937
|
-
|
|
2938
|
-
@property
|
|
2939
|
-
def CreateTime(self):
|
|
2940
|
-
return self._CreateTime
|
|
2941
|
-
|
|
2942
|
-
@CreateTime.setter
|
|
2943
|
-
def CreateTime(self, CreateTime):
|
|
2944
|
-
self._CreateTime = CreateTime
|
|
2945
|
-
|
|
2946
|
-
@property
|
|
2947
|
-
def UpdateTime(self):
|
|
2948
|
-
return self._UpdateTime
|
|
2949
|
-
|
|
2950
|
-
@UpdateTime.setter
|
|
2951
|
-
def UpdateTime(self, UpdateTime):
|
|
2952
|
-
self._UpdateTime = UpdateTime
|
|
2953
|
-
|
|
2954
|
-
@property
|
|
2955
|
-
def Permissions(self):
|
|
2956
|
-
return self._Permissions
|
|
2957
|
-
|
|
2958
|
-
@Permissions.setter
|
|
2959
|
-
def Permissions(self, Permissions):
|
|
2960
|
-
self._Permissions = Permissions
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
def _deserialize(self, params):
|
|
2964
|
-
self._Name = params.get("Name")
|
|
2965
|
-
self._Description = params.get("Description")
|
|
2966
|
-
self._Disable = params.get("Disable")
|
|
2967
|
-
self._ExpiresAt = params.get("ExpiresAt")
|
|
2968
|
-
self._CreateTime = params.get("CreateTime")
|
|
2969
|
-
self._UpdateTime = params.get("UpdateTime")
|
|
2970
|
-
if params.get("Permissions") is not None:
|
|
2971
|
-
self._Permissions = []
|
|
2972
|
-
for item in params.get("Permissions"):
|
|
2973
|
-
obj = Permission()
|
|
2974
|
-
obj._deserialize(item)
|
|
2975
|
-
self._Permissions.append(obj)
|
|
2976
|
-
memeber_set = set(params.keys())
|
|
2977
|
-
for name, value in vars(self).items():
|
|
2978
|
-
property_name = name[1:]
|
|
2979
|
-
if property_name in memeber_set:
|
|
2980
|
-
memeber_set.remove(property_name)
|
|
2981
|
-
if len(memeber_set) > 0:
|
|
2982
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
2869
|
class CustomizedDomainInfo(AbstractModel):
|
|
2987
2870
|
"""自定义域名信息
|
|
2988
2871
|
|
|
@@ -5150,159 +5033,6 @@ class DescribeChartDownloadInfoResponse(AbstractModel):
|
|
|
5150
5033
|
self._RequestId = params.get("RequestId")
|
|
5151
5034
|
|
|
5152
5035
|
|
|
5153
|
-
class DescribeCustomAccountsRequest(AbstractModel):
|
|
5154
|
-
"""DescribeCustomAccounts请求参数结构体
|
|
5155
|
-
|
|
5156
|
-
"""
|
|
5157
|
-
|
|
5158
|
-
def __init__(self):
|
|
5159
|
-
r"""
|
|
5160
|
-
:param _RegistryId: 实例Id
|
|
5161
|
-
:type RegistryId: str
|
|
5162
|
-
:param _All: 列出所有自定义账户
|
|
5163
|
-
:type All: bool
|
|
5164
|
-
:param _EmbedPermission: 填充策略
|
|
5165
|
-
:type EmbedPermission: bool
|
|
5166
|
-
:param _Filters: 过滤条件
|
|
5167
|
-
:type Filters: list of Filter
|
|
5168
|
-
:param _Offset: 偏移量,默认0
|
|
5169
|
-
:type Offset: int
|
|
5170
|
-
:param _Limit: 最大输出条数,默认20,最大为100
|
|
5171
|
-
:type Limit: int
|
|
5172
|
-
"""
|
|
5173
|
-
self._RegistryId = None
|
|
5174
|
-
self._All = None
|
|
5175
|
-
self._EmbedPermission = None
|
|
5176
|
-
self._Filters = None
|
|
5177
|
-
self._Offset = None
|
|
5178
|
-
self._Limit = None
|
|
5179
|
-
|
|
5180
|
-
@property
|
|
5181
|
-
def RegistryId(self):
|
|
5182
|
-
return self._RegistryId
|
|
5183
|
-
|
|
5184
|
-
@RegistryId.setter
|
|
5185
|
-
def RegistryId(self, RegistryId):
|
|
5186
|
-
self._RegistryId = RegistryId
|
|
5187
|
-
|
|
5188
|
-
@property
|
|
5189
|
-
def All(self):
|
|
5190
|
-
return self._All
|
|
5191
|
-
|
|
5192
|
-
@All.setter
|
|
5193
|
-
def All(self, All):
|
|
5194
|
-
self._All = All
|
|
5195
|
-
|
|
5196
|
-
@property
|
|
5197
|
-
def EmbedPermission(self):
|
|
5198
|
-
return self._EmbedPermission
|
|
5199
|
-
|
|
5200
|
-
@EmbedPermission.setter
|
|
5201
|
-
def EmbedPermission(self, EmbedPermission):
|
|
5202
|
-
self._EmbedPermission = EmbedPermission
|
|
5203
|
-
|
|
5204
|
-
@property
|
|
5205
|
-
def Filters(self):
|
|
5206
|
-
return self._Filters
|
|
5207
|
-
|
|
5208
|
-
@Filters.setter
|
|
5209
|
-
def Filters(self, Filters):
|
|
5210
|
-
self._Filters = Filters
|
|
5211
|
-
|
|
5212
|
-
@property
|
|
5213
|
-
def Offset(self):
|
|
5214
|
-
return self._Offset
|
|
5215
|
-
|
|
5216
|
-
@Offset.setter
|
|
5217
|
-
def Offset(self, Offset):
|
|
5218
|
-
self._Offset = Offset
|
|
5219
|
-
|
|
5220
|
-
@property
|
|
5221
|
-
def Limit(self):
|
|
5222
|
-
return self._Limit
|
|
5223
|
-
|
|
5224
|
-
@Limit.setter
|
|
5225
|
-
def Limit(self, Limit):
|
|
5226
|
-
self._Limit = Limit
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
def _deserialize(self, params):
|
|
5230
|
-
self._RegistryId = params.get("RegistryId")
|
|
5231
|
-
self._All = params.get("All")
|
|
5232
|
-
self._EmbedPermission = params.get("EmbedPermission")
|
|
5233
|
-
if params.get("Filters") is not None:
|
|
5234
|
-
self._Filters = []
|
|
5235
|
-
for item in params.get("Filters"):
|
|
5236
|
-
obj = Filter()
|
|
5237
|
-
obj._deserialize(item)
|
|
5238
|
-
self._Filters.append(obj)
|
|
5239
|
-
self._Offset = params.get("Offset")
|
|
5240
|
-
self._Limit = params.get("Limit")
|
|
5241
|
-
memeber_set = set(params.keys())
|
|
5242
|
-
for name, value in vars(self).items():
|
|
5243
|
-
property_name = name[1:]
|
|
5244
|
-
if property_name in memeber_set:
|
|
5245
|
-
memeber_set.remove(property_name)
|
|
5246
|
-
if len(memeber_set) > 0:
|
|
5247
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
class DescribeCustomAccountsResponse(AbstractModel):
|
|
5252
|
-
"""DescribeCustomAccounts返回参数结构体
|
|
5253
|
-
|
|
5254
|
-
"""
|
|
5255
|
-
|
|
5256
|
-
def __init__(self):
|
|
5257
|
-
r"""
|
|
5258
|
-
:param _CustomAccounts: 自定义账户列表
|
|
5259
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5260
|
-
:type CustomAccounts: list of CustomAccount
|
|
5261
|
-
:param _TotalCount: 自定义账户数量
|
|
5262
|
-
:type TotalCount: int
|
|
5263
|
-
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5264
|
-
:type RequestId: str
|
|
5265
|
-
"""
|
|
5266
|
-
self._CustomAccounts = None
|
|
5267
|
-
self._TotalCount = None
|
|
5268
|
-
self._RequestId = None
|
|
5269
|
-
|
|
5270
|
-
@property
|
|
5271
|
-
def CustomAccounts(self):
|
|
5272
|
-
return self._CustomAccounts
|
|
5273
|
-
|
|
5274
|
-
@CustomAccounts.setter
|
|
5275
|
-
def CustomAccounts(self, CustomAccounts):
|
|
5276
|
-
self._CustomAccounts = CustomAccounts
|
|
5277
|
-
|
|
5278
|
-
@property
|
|
5279
|
-
def TotalCount(self):
|
|
5280
|
-
return self._TotalCount
|
|
5281
|
-
|
|
5282
|
-
@TotalCount.setter
|
|
5283
|
-
def TotalCount(self, TotalCount):
|
|
5284
|
-
self._TotalCount = TotalCount
|
|
5285
|
-
|
|
5286
|
-
@property
|
|
5287
|
-
def RequestId(self):
|
|
5288
|
-
return self._RequestId
|
|
5289
|
-
|
|
5290
|
-
@RequestId.setter
|
|
5291
|
-
def RequestId(self, RequestId):
|
|
5292
|
-
self._RequestId = RequestId
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
def _deserialize(self, params):
|
|
5296
|
-
if params.get("CustomAccounts") is not None:
|
|
5297
|
-
self._CustomAccounts = []
|
|
5298
|
-
for item in params.get("CustomAccounts"):
|
|
5299
|
-
obj = CustomAccount()
|
|
5300
|
-
obj._deserialize(item)
|
|
5301
|
-
self._CustomAccounts.append(obj)
|
|
5302
|
-
self._TotalCount = params.get("TotalCount")
|
|
5303
|
-
self._RequestId = params.get("RequestId")
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
5036
|
class DescribeExternalEndpointStatusRequest(AbstractModel):
|
|
5307
5037
|
"""DescribeExternalEndpointStatus请求参数结构体
|
|
5308
5038
|
|