tencentcloud-sdk-python 3.0.1427__py2.py3-none-any.whl → 3.0.1428__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/billing/v20180709/models.py +2 -2
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +104 -10
- tencentcloud/cdwch/v20200915/errorcodes.py +3 -0
- tencentcloud/cdwch/v20200915/models.py +2 -2
- tencentcloud/clb/v20180317/models.py +2 -2
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +12 -0
- tencentcloud/cynosdb/v20190107/models.py +186 -0
- tencentcloud/gs/v20191118/models.py +15 -0
- tencentcloud/monitor/v20180724/models.py +2 -2
- tencentcloud/mps/v20190612/models.py +19 -0
- tencentcloud/ocr/v20181119/models.py +17 -0
- tencentcloud/teo/v20220901/errorcodes.py +3 -0
- tencentcloud/teo/v20220901/models.py +301 -0
- tencentcloud/teo/v20220901/teo_client.py +46 -0
- tencentcloud/vpc/v20170312/models.py +8 -8
- {tencentcloud_sdk_python-3.0.1427.dist-info → tencentcloud_sdk_python-3.0.1428.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1427.dist-info → tencentcloud_sdk_python-3.0.1428.dist-info}/RECORD +23 -23
- {tencentcloud_sdk_python-3.0.1427.dist-info → tencentcloud_sdk_python-3.0.1428.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1427.dist-info → tencentcloud_sdk_python-3.0.1428.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1427.dist-info → tencentcloud_sdk_python-3.0.1428.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -21053,7 +21053,7 @@ class DescribeCostDetailRequest(AbstractModel):
|
|
|
21053
21053
|
:type NeedRecordNum: int
|
|
21054
21054
|
:param _Month: 月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通成本分析的月份,最多可拉取24个月内的数据。
|
|
21055
21055
|
:type Month: str
|
|
21056
|
-
:param _ProductCode:
|
|
21056
|
+
:param _ProductCode: 查询指定产品信息
|
|
21057
21057
|
:type ProductCode: str
|
|
21058
21058
|
:param _PayMode: 付费模式 prePay/postPay
|
|
21059
21059
|
:type PayMode: str
|
|
@@ -21139,7 +21139,7 @@ class DescribeCostDetailRequest(AbstractModel):
|
|
|
21139
21139
|
|
|
21140
21140
|
@property
|
|
21141
21141
|
def ProductCode(self):
|
|
21142
|
-
"""
|
|
21142
|
+
"""查询指定产品信息
|
|
21143
21143
|
:rtype: str
|
|
21144
21144
|
"""
|
|
21145
21145
|
return self._ProductCode
|
|
@@ -3375,6 +3375,29 @@ class CdbClient(AbstractClient):
|
|
|
3375
3375
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3376
3376
|
|
|
3377
3377
|
|
|
3378
|
+
def ModifyRoGroupVipVport(self, request):
|
|
3379
|
+
"""该接口(ModifyRoGroupVipVport)用于修改Ro组的vip和vport。
|
|
3380
|
+
|
|
3381
|
+
:param request: Request instance for ModifyRoGroupVipVport.
|
|
3382
|
+
:type request: :class:`tencentcloud.cdb.v20170320.models.ModifyRoGroupVipVportRequest`
|
|
3383
|
+
:rtype: :class:`tencentcloud.cdb.v20170320.models.ModifyRoGroupVipVportResponse`
|
|
3384
|
+
|
|
3385
|
+
"""
|
|
3386
|
+
try:
|
|
3387
|
+
params = request._serialize()
|
|
3388
|
+
headers = request.headers
|
|
3389
|
+
body = self.call("ModifyRoGroupVipVport", params, headers=headers)
|
|
3390
|
+
response = json.loads(body)
|
|
3391
|
+
model = models.ModifyRoGroupVipVportResponse()
|
|
3392
|
+
model._deserialize(response["Response"])
|
|
3393
|
+
return model
|
|
3394
|
+
except Exception as e:
|
|
3395
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3396
|
+
raise
|
|
3397
|
+
else:
|
|
3398
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3399
|
+
|
|
3400
|
+
|
|
3378
3401
|
def ModifyTimeWindow(self, request):
|
|
3379
3402
|
"""本接口(ModifyTimeWindow)用于更新云数据库实例的维护时间窗口。
|
|
3380
3403
|
|
|
@@ -29646,11 +29646,11 @@ class ModifyInstanceParamRequest(AbstractModel):
|
|
|
29646
29646
|
|
|
29647
29647
|
def __init__(self):
|
|
29648
29648
|
r"""
|
|
29649
|
-
:param _InstanceIds:
|
|
29649
|
+
:param _InstanceIds: 实例 ID 列表。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
29650
29650
|
:type InstanceIds: list of str
|
|
29651
29651
|
:param _ParamList: 要修改的参数列表。每一个元素是 Name 和 CurrentValue 的组合。Name 是参数名,CurrentValue 是要修改成的值。
|
|
29652
29652
|
:type ParamList: list of Parameter
|
|
29653
|
-
:param _TemplateId: 模板
|
|
29653
|
+
:param _TemplateId: 模板 ID,ParamList 和 TemplateId 必须至少传其中之一。可通过 [DescribeParamTemplateInfo](https://cloud.tencent.com/document/product/236/32660) 接口获取。
|
|
29654
29654
|
:type TemplateId: int
|
|
29655
29655
|
:param _WaitSwitch: 执行参数调整任务的方式,默认为 0。支持值包括:0 - 立刻执行,1 - 时间窗执行;当该值为 1 时,每次只能传一个实例(InstanceIds数量为1)
|
|
29656
29656
|
:type WaitSwitch: int
|
|
@@ -29668,7 +29668,7 @@ class ModifyInstanceParamRequest(AbstractModel):
|
|
|
29668
29668
|
|
|
29669
29669
|
@property
|
|
29670
29670
|
def InstanceIds(self):
|
|
29671
|
-
"""
|
|
29671
|
+
"""实例 ID 列表。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
29672
29672
|
:rtype: list of str
|
|
29673
29673
|
"""
|
|
29674
29674
|
return self._InstanceIds
|
|
@@ -29690,7 +29690,7 @@ class ModifyInstanceParamRequest(AbstractModel):
|
|
|
29690
29690
|
|
|
29691
29691
|
@property
|
|
29692
29692
|
def TemplateId(self):
|
|
29693
|
-
"""模板
|
|
29693
|
+
"""模板 ID,ParamList 和 TemplateId 必须至少传其中之一。可通过 [DescribeParamTemplateInfo](https://cloud.tencent.com/document/product/236/32660) 接口获取。
|
|
29694
29694
|
:rtype: int
|
|
29695
29695
|
"""
|
|
29696
29696
|
return self._TemplateId
|
|
@@ -29805,19 +29805,19 @@ class ModifyInstancePasswordComplexityRequest(AbstractModel):
|
|
|
29805
29805
|
|
|
29806
29806
|
def __init__(self):
|
|
29807
29807
|
r"""
|
|
29808
|
-
:param _InstanceIds: 要修改密码复杂度的实例 ID
|
|
29808
|
+
:param _InstanceIds: 要修改密码复杂度的实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
29809
29809
|
说明:支持输入多个实例 ID 进行修改。
|
|
29810
29810
|
:type InstanceIds: list of str
|
|
29811
29811
|
:param _ParamList: 要修改的密码复杂度的选项。每一个选项是以组合形式写入的,一个组合包括 Name 和 CurrentValue,其中 Name 表示对应选项的参数名,CurrentValue 表示参数值。例如:[{"Name": "validate_password.length", "CurrentValue": "10"}],表示将密码的最小字符数修改为10。
|
|
29812
29812
|
说明:不同数据库版本的实例,支持修改的密码复杂度的选项如下。
|
|
29813
29813
|
1. MySQL 8.0:
|
|
29814
|
-
选项 validate_password.policy,表示密码复杂度的开关,值为 LOW 时表示关闭;值为 MEDIUM
|
|
29814
|
+
选项 validate_password.policy,表示密码复杂度的开关,值为 LOW 时表示关闭;值为 MEDIUM 时表示开启。
|
|
29815
29815
|
选项 validate_password.length,表示密码总长度的最小字符数。
|
|
29816
29816
|
选项 validate_password.mixed_case_count,表示小写和大写字母的最小字符数。
|
|
29817
29817
|
选项 validate_password.number_count,表示数字的最小字符数。
|
|
29818
29818
|
选项 validate_password.special_char_count,表示特殊字符的最小字符数。
|
|
29819
29819
|
2. MySQL 5.6、MySQL 5.7:
|
|
29820
|
-
选项 validate_password_policy,表示密码复杂度的开关,值为 LOW 时表示关闭;值为 MEDIUM
|
|
29820
|
+
选项 validate_password_policy,表示密码复杂度的开关,值为 LOW 时表示关闭;值为 MEDIUM 时表示开启。
|
|
29821
29821
|
选项 validate_password_length,表示密码总长度的最小字符数。
|
|
29822
29822
|
选项 validate_password_mixed_case_count,表示小写和大写字母的最小字符数。
|
|
29823
29823
|
选项 validate_password_number_count,表示数字的最小字符数。
|
|
@@ -29829,7 +29829,7 @@ class ModifyInstancePasswordComplexityRequest(AbstractModel):
|
|
|
29829
29829
|
|
|
29830
29830
|
@property
|
|
29831
29831
|
def InstanceIds(self):
|
|
29832
|
-
"""要修改密码复杂度的实例 ID
|
|
29832
|
+
"""要修改密码复杂度的实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
29833
29833
|
说明:支持输入多个实例 ID 进行修改。
|
|
29834
29834
|
:rtype: list of str
|
|
29835
29835
|
"""
|
|
@@ -29844,13 +29844,13 @@ class ModifyInstancePasswordComplexityRequest(AbstractModel):
|
|
|
29844
29844
|
"""要修改的密码复杂度的选项。每一个选项是以组合形式写入的,一个组合包括 Name 和 CurrentValue,其中 Name 表示对应选项的参数名,CurrentValue 表示参数值。例如:[{"Name": "validate_password.length", "CurrentValue": "10"}],表示将密码的最小字符数修改为10。
|
|
29845
29845
|
说明:不同数据库版本的实例,支持修改的密码复杂度的选项如下。
|
|
29846
29846
|
1. MySQL 8.0:
|
|
29847
|
-
选项 validate_password.policy,表示密码复杂度的开关,值为 LOW 时表示关闭;值为 MEDIUM
|
|
29847
|
+
选项 validate_password.policy,表示密码复杂度的开关,值为 LOW 时表示关闭;值为 MEDIUM 时表示开启。
|
|
29848
29848
|
选项 validate_password.length,表示密码总长度的最小字符数。
|
|
29849
29849
|
选项 validate_password.mixed_case_count,表示小写和大写字母的最小字符数。
|
|
29850
29850
|
选项 validate_password.number_count,表示数字的最小字符数。
|
|
29851
29851
|
选项 validate_password.special_char_count,表示特殊字符的最小字符数。
|
|
29852
29852
|
2. MySQL 5.6、MySQL 5.7:
|
|
29853
|
-
选项 validate_password_policy,表示密码复杂度的开关,值为 LOW 时表示关闭;值为 MEDIUM
|
|
29853
|
+
选项 validate_password_policy,表示密码复杂度的开关,值为 LOW 时表示关闭;值为 MEDIUM 时表示开启。
|
|
29854
29854
|
选项 validate_password_length,表示密码总长度的最小字符数。
|
|
29855
29855
|
选项 validate_password_mixed_case_count,表示小写和大写字母的最小字符数。
|
|
29856
29856
|
选项 validate_password_number_count,表示数字的最小字符数。
|
|
@@ -30684,6 +30684,100 @@ class ModifyRoGroupInfoResponse(AbstractModel):
|
|
|
30684
30684
|
self._RequestId = params.get("RequestId")
|
|
30685
30685
|
|
|
30686
30686
|
|
|
30687
|
+
class ModifyRoGroupVipVportRequest(AbstractModel):
|
|
30688
|
+
"""ModifyRoGroupVipVport请求参数结构体
|
|
30689
|
+
|
|
30690
|
+
"""
|
|
30691
|
+
|
|
30692
|
+
def __init__(self):
|
|
30693
|
+
r"""
|
|
30694
|
+
:param _UGroupId: RO组的ID。
|
|
30695
|
+
:type UGroupId: str
|
|
30696
|
+
:param _DstIp: 目标IP。
|
|
30697
|
+
:type DstIp: str
|
|
30698
|
+
:param _DstPort: 目标Port。
|
|
30699
|
+
:type DstPort: int
|
|
30700
|
+
"""
|
|
30701
|
+
self._UGroupId = None
|
|
30702
|
+
self._DstIp = None
|
|
30703
|
+
self._DstPort = None
|
|
30704
|
+
|
|
30705
|
+
@property
|
|
30706
|
+
def UGroupId(self):
|
|
30707
|
+
"""RO组的ID。
|
|
30708
|
+
:rtype: str
|
|
30709
|
+
"""
|
|
30710
|
+
return self._UGroupId
|
|
30711
|
+
|
|
30712
|
+
@UGroupId.setter
|
|
30713
|
+
def UGroupId(self, UGroupId):
|
|
30714
|
+
self._UGroupId = UGroupId
|
|
30715
|
+
|
|
30716
|
+
@property
|
|
30717
|
+
def DstIp(self):
|
|
30718
|
+
"""目标IP。
|
|
30719
|
+
:rtype: str
|
|
30720
|
+
"""
|
|
30721
|
+
return self._DstIp
|
|
30722
|
+
|
|
30723
|
+
@DstIp.setter
|
|
30724
|
+
def DstIp(self, DstIp):
|
|
30725
|
+
self._DstIp = DstIp
|
|
30726
|
+
|
|
30727
|
+
@property
|
|
30728
|
+
def DstPort(self):
|
|
30729
|
+
"""目标Port。
|
|
30730
|
+
:rtype: int
|
|
30731
|
+
"""
|
|
30732
|
+
return self._DstPort
|
|
30733
|
+
|
|
30734
|
+
@DstPort.setter
|
|
30735
|
+
def DstPort(self, DstPort):
|
|
30736
|
+
self._DstPort = DstPort
|
|
30737
|
+
|
|
30738
|
+
|
|
30739
|
+
def _deserialize(self, params):
|
|
30740
|
+
self._UGroupId = params.get("UGroupId")
|
|
30741
|
+
self._DstIp = params.get("DstIp")
|
|
30742
|
+
self._DstPort = params.get("DstPort")
|
|
30743
|
+
memeber_set = set(params.keys())
|
|
30744
|
+
for name, value in vars(self).items():
|
|
30745
|
+
property_name = name[1:]
|
|
30746
|
+
if property_name in memeber_set:
|
|
30747
|
+
memeber_set.remove(property_name)
|
|
30748
|
+
if len(memeber_set) > 0:
|
|
30749
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
30750
|
+
|
|
30751
|
+
|
|
30752
|
+
|
|
30753
|
+
class ModifyRoGroupVipVportResponse(AbstractModel):
|
|
30754
|
+
"""ModifyRoGroupVipVport返回参数结构体
|
|
30755
|
+
|
|
30756
|
+
"""
|
|
30757
|
+
|
|
30758
|
+
def __init__(self):
|
|
30759
|
+
r"""
|
|
30760
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
30761
|
+
:type RequestId: str
|
|
30762
|
+
"""
|
|
30763
|
+
self._RequestId = None
|
|
30764
|
+
|
|
30765
|
+
@property
|
|
30766
|
+
def RequestId(self):
|
|
30767
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
30768
|
+
:rtype: str
|
|
30769
|
+
"""
|
|
30770
|
+
return self._RequestId
|
|
30771
|
+
|
|
30772
|
+
@RequestId.setter
|
|
30773
|
+
def RequestId(self, RequestId):
|
|
30774
|
+
self._RequestId = RequestId
|
|
30775
|
+
|
|
30776
|
+
|
|
30777
|
+
def _deserialize(self, params):
|
|
30778
|
+
self._RequestId = params.get("RequestId")
|
|
30779
|
+
|
|
30780
|
+
|
|
30687
30781
|
class ModifyTimeWindowRequest(AbstractModel):
|
|
30688
30782
|
"""ModifyTimeWindow请求参数结构体
|
|
30689
30783
|
|
|
@@ -2818,7 +2818,7 @@ DeleteSystemUser:删除系统用户 —— 必须所有cluster先解绑
|
|
|
2818
2818
|
GetUserOptionMessages:获取用户配置备注信息
|
|
2819
2819
|
GET_USER_CONFIGS:获取用户配置列表 QUOTA、PROFILE、POLICY
|
|
2820
2820
|
:type ApiType: str
|
|
2821
|
-
:param _Cluster:
|
|
2821
|
+
:param _Cluster: 集群名称,当ApiType取值为GET_SYSTEM_USERS,GET_PRIVILEGE_USERS,GET_CLUSTER_DATABASES,GET_CLUSTER_TABLES 时,此参数必填
|
|
2822
2822
|
:type Cluster: str
|
|
2823
2823
|
:param _UserName: 用户名称,api与user相关的必填
|
|
2824
2824
|
:type UserName: str
|
|
@@ -2866,7 +2866,7 @@ GET_USER_CONFIGS:获取用户配置列表 QUOTA、PROFILE、POLICY
|
|
|
2866
2866
|
|
|
2867
2867
|
@property
|
|
2868
2868
|
def Cluster(self):
|
|
2869
|
-
"""
|
|
2869
|
+
"""集群名称,当ApiType取值为GET_SYSTEM_USERS,GET_PRIVILEGE_USERS,GET_CLUSTER_DATABASES,GET_CLUSTER_TABLES 时,此参数必填
|
|
2870
2870
|
:rtype: str
|
|
2871
2871
|
"""
|
|
2872
2872
|
return self._Cluster
|
|
@@ -4459,7 +4459,7 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
|
4459
4459
|
:type SlaveZoneId: str
|
|
4460
4460
|
:param _EipAddressId: EIP 的唯一 ID,可以通过 [DescribeAddresses](https://cloud.tencent.com/document/product/215/16702) 接口查询。形如:eip-qhx8udkc,仅适用于内网负载均衡绑定EIP。
|
|
4461
4461
|
:type EipAddressId: str
|
|
4462
|
-
:param _LoadBalancerPassToTarget: Target是否放通来自CLB的流量。开启放通(true):只验证CLB上的安全组;不开启放通(false):需同时验证CLB和后端实例上的安全组。
|
|
4462
|
+
:param _LoadBalancerPassToTarget: Target是否放通来自CLB的流量。开启放通(true):只验证CLB上的安全组;不开启放通(false):需同时验证CLB和后端实例上的安全组。IPv6 CLB安全组默认放通,不需要传此参数。
|
|
4463
4463
|
:type LoadBalancerPassToTarget: bool
|
|
4464
4464
|
:param _DynamicVip: 创建域名化负载均衡。
|
|
4465
4465
|
:type DynamicVip: bool
|
|
@@ -4775,7 +4775,7 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
|
4775
4775
|
|
|
4776
4776
|
@property
|
|
4777
4777
|
def LoadBalancerPassToTarget(self):
|
|
4778
|
-
"""Target是否放通来自CLB的流量。开启放通(true):只验证CLB上的安全组;不开启放通(false):需同时验证CLB和后端实例上的安全组。
|
|
4778
|
+
"""Target是否放通来自CLB的流量。开启放通(true):只验证CLB上的安全组;不开启放通(false):需同时验证CLB和后端实例上的安全组。IPv6 CLB安全组默认放通,不需要传此参数。
|
|
4779
4779
|
:rtype: bool
|
|
4780
4780
|
"""
|
|
4781
4781
|
return self._LoadBalancerPassToTarget
|
|
@@ -3384,6 +3384,29 @@ class CynosdbClient(AbstractClient):
|
|
|
3384
3384
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3385
3385
|
|
|
3386
3386
|
|
|
3387
|
+
def ReplayInstanceAuditLog(self, request):
|
|
3388
|
+
"""回放实例审计日志
|
|
3389
|
+
|
|
3390
|
+
:param request: Request instance for ReplayInstanceAuditLog.
|
|
3391
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.ReplayInstanceAuditLogRequest`
|
|
3392
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.ReplayInstanceAuditLogResponse`
|
|
3393
|
+
|
|
3394
|
+
"""
|
|
3395
|
+
try:
|
|
3396
|
+
params = request._serialize()
|
|
3397
|
+
headers = request.headers
|
|
3398
|
+
body = self.call("ReplayInstanceAuditLog", params, headers=headers)
|
|
3399
|
+
response = json.loads(body)
|
|
3400
|
+
model = models.ReplayInstanceAuditLogResponse()
|
|
3401
|
+
model._deserialize(response["Response"])
|
|
3402
|
+
return model
|
|
3403
|
+
except Exception as e:
|
|
3404
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3405
|
+
raise
|
|
3406
|
+
else:
|
|
3407
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3408
|
+
|
|
3409
|
+
|
|
3387
3410
|
def ResetAccountPassword(self, request):
|
|
3388
3411
|
"""本接口(ResetAccountPassword)用于修改数据库账号密码。
|
|
3389
3412
|
|
|
@@ -266,6 +266,9 @@ MISSINGPARAMETER = 'MissingParameter'
|
|
|
266
266
|
# 审计日志文件数超过最大限制数
|
|
267
267
|
OPERATIONDENIED_AUDITFILEOVERQUOTAERROR = 'OperationDenied.AuditFileOverQuotaError'
|
|
268
268
|
|
|
269
|
+
# 实例{{1}}审计日志关闭状态,暂无法操作。
|
|
270
|
+
OPERATIONDENIED_AUDITLOGCLOSEDERROR = 'OperationDenied.AuditLogClosedError'
|
|
271
|
+
|
|
269
272
|
# 审计规则不存在
|
|
270
273
|
OPERATIONDENIED_AUDITPOLICYNOTEXISTERROR = 'OperationDenied.AuditPolicyNotExistError'
|
|
271
274
|
|
|
@@ -281,6 +284,9 @@ OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = 'OperationDenied.ClusterOpNotAllowedE
|
|
|
281
284
|
# 集群当前状态不允许该操作。
|
|
282
285
|
OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = 'OperationDenied.ClusterStatusDeniedError'
|
|
283
286
|
|
|
287
|
+
# 功能{{1}}暂不支持
|
|
288
|
+
OPERATIONDENIED_FEATURENOTSUPPORTERROR = 'OperationDenied.FeatureNotSupportError'
|
|
289
|
+
|
|
284
290
|
# 获取proxy失败
|
|
285
291
|
OPERATIONDENIED_GETPROXYGROUPFAILEDERROR = 'OperationDenied.GetProxyGroupFailedError'
|
|
286
292
|
|
|
@@ -296,9 +302,15 @@ OPERATIONDENIED_INSTANCESTATUSLIMITERROR = 'OperationDenied.InstanceStatusLimitE
|
|
|
296
302
|
# 账号余额不足。
|
|
297
303
|
OPERATIONDENIED_INSUFFICIENTBALANCEERROR = 'OperationDenied.InsufficientBalanceError'
|
|
298
304
|
|
|
305
|
+
# 不是{{1}}的回档集群
|
|
306
|
+
OPERATIONDENIED_ISNOTROLLBACKCLUSTERERROR = 'OperationDenied.IsNotRollbackClusterError'
|
|
307
|
+
|
|
299
308
|
# 响应大小超限制:{{1}}, 请减少查询数量。
|
|
300
309
|
OPERATIONDENIED_LENGTHOVERLIMIT = 'OperationDenied.LengthOverLimit'
|
|
301
310
|
|
|
311
|
+
# 非{{1}}天内{{2}}的克隆集群。
|
|
312
|
+
OPERATIONDENIED_LIMITDAYFORAUDITREPLAYERROR = 'OperationDenied.LimitDayForAuditReplayError'
|
|
313
|
+
|
|
302
314
|
# 您没有权限操作该资源(进行该操作)。
|
|
303
315
|
OPERATIONDENIED_OPERATIONDENIEDERROR = 'OperationDenied.OperationDeniedError'
|
|
304
316
|
|
|
@@ -34945,6 +34945,192 @@ class RenewClustersResponse(AbstractModel):
|
|
|
34945
34945
|
self._RequestId = params.get("RequestId")
|
|
34946
34946
|
|
|
34947
34947
|
|
|
34948
|
+
class ReplayInstanceAuditLogRequest(AbstractModel):
|
|
34949
|
+
"""ReplayInstanceAuditLog请求参数结构体
|
|
34950
|
+
|
|
34951
|
+
"""
|
|
34952
|
+
|
|
34953
|
+
def __init__(self):
|
|
34954
|
+
r"""
|
|
34955
|
+
:param _SourceClusterId: 源集群id
|
|
34956
|
+
:type SourceClusterId: str
|
|
34957
|
+
:param _SourceInstanceId: 源实例id
|
|
34958
|
+
:type SourceInstanceId: str
|
|
34959
|
+
:param _TargetClusterId: 目标集群id
|
|
34960
|
+
目标集群必须为原始集群三天内克隆出的集群。
|
|
34961
|
+
:type TargetClusterId: str
|
|
34962
|
+
:param _TargetInstanceId: 目标实例id
|
|
34963
|
+
:type TargetInstanceId: str
|
|
34964
|
+
:param _TargetUserName: 用户名.需要host为%的用户名
|
|
34965
|
+
:type TargetUserName: str
|
|
34966
|
+
:param _TargetPassword: 密码
|
|
34967
|
+
:type TargetPassword: str
|
|
34968
|
+
:param _StartTime: 开始时间。时间格式为:yyyy-DD-mm hh:mm:ss
|
|
34969
|
+
:type StartTime: str
|
|
34970
|
+
:param _EndTime: 结束时间。时间格式为:yyyy-DD-mm hh:mm:ss
|
|
34971
|
+
:type EndTime: str
|
|
34972
|
+
"""
|
|
34973
|
+
self._SourceClusterId = None
|
|
34974
|
+
self._SourceInstanceId = None
|
|
34975
|
+
self._TargetClusterId = None
|
|
34976
|
+
self._TargetInstanceId = None
|
|
34977
|
+
self._TargetUserName = None
|
|
34978
|
+
self._TargetPassword = None
|
|
34979
|
+
self._StartTime = None
|
|
34980
|
+
self._EndTime = None
|
|
34981
|
+
|
|
34982
|
+
@property
|
|
34983
|
+
def SourceClusterId(self):
|
|
34984
|
+
"""源集群id
|
|
34985
|
+
:rtype: str
|
|
34986
|
+
"""
|
|
34987
|
+
return self._SourceClusterId
|
|
34988
|
+
|
|
34989
|
+
@SourceClusterId.setter
|
|
34990
|
+
def SourceClusterId(self, SourceClusterId):
|
|
34991
|
+
self._SourceClusterId = SourceClusterId
|
|
34992
|
+
|
|
34993
|
+
@property
|
|
34994
|
+
def SourceInstanceId(self):
|
|
34995
|
+
"""源实例id
|
|
34996
|
+
:rtype: str
|
|
34997
|
+
"""
|
|
34998
|
+
return self._SourceInstanceId
|
|
34999
|
+
|
|
35000
|
+
@SourceInstanceId.setter
|
|
35001
|
+
def SourceInstanceId(self, SourceInstanceId):
|
|
35002
|
+
self._SourceInstanceId = SourceInstanceId
|
|
35003
|
+
|
|
35004
|
+
@property
|
|
35005
|
+
def TargetClusterId(self):
|
|
35006
|
+
"""目标集群id
|
|
35007
|
+
目标集群必须为原始集群三天内克隆出的集群。
|
|
35008
|
+
:rtype: str
|
|
35009
|
+
"""
|
|
35010
|
+
return self._TargetClusterId
|
|
35011
|
+
|
|
35012
|
+
@TargetClusterId.setter
|
|
35013
|
+
def TargetClusterId(self, TargetClusterId):
|
|
35014
|
+
self._TargetClusterId = TargetClusterId
|
|
35015
|
+
|
|
35016
|
+
@property
|
|
35017
|
+
def TargetInstanceId(self):
|
|
35018
|
+
"""目标实例id
|
|
35019
|
+
:rtype: str
|
|
35020
|
+
"""
|
|
35021
|
+
return self._TargetInstanceId
|
|
35022
|
+
|
|
35023
|
+
@TargetInstanceId.setter
|
|
35024
|
+
def TargetInstanceId(self, TargetInstanceId):
|
|
35025
|
+
self._TargetInstanceId = TargetInstanceId
|
|
35026
|
+
|
|
35027
|
+
@property
|
|
35028
|
+
def TargetUserName(self):
|
|
35029
|
+
"""用户名.需要host为%的用户名
|
|
35030
|
+
:rtype: str
|
|
35031
|
+
"""
|
|
35032
|
+
return self._TargetUserName
|
|
35033
|
+
|
|
35034
|
+
@TargetUserName.setter
|
|
35035
|
+
def TargetUserName(self, TargetUserName):
|
|
35036
|
+
self._TargetUserName = TargetUserName
|
|
35037
|
+
|
|
35038
|
+
@property
|
|
35039
|
+
def TargetPassword(self):
|
|
35040
|
+
"""密码
|
|
35041
|
+
:rtype: str
|
|
35042
|
+
"""
|
|
35043
|
+
return self._TargetPassword
|
|
35044
|
+
|
|
35045
|
+
@TargetPassword.setter
|
|
35046
|
+
def TargetPassword(self, TargetPassword):
|
|
35047
|
+
self._TargetPassword = TargetPassword
|
|
35048
|
+
|
|
35049
|
+
@property
|
|
35050
|
+
def StartTime(self):
|
|
35051
|
+
"""开始时间。时间格式为:yyyy-DD-mm hh:mm:ss
|
|
35052
|
+
:rtype: str
|
|
35053
|
+
"""
|
|
35054
|
+
return self._StartTime
|
|
35055
|
+
|
|
35056
|
+
@StartTime.setter
|
|
35057
|
+
def StartTime(self, StartTime):
|
|
35058
|
+
self._StartTime = StartTime
|
|
35059
|
+
|
|
35060
|
+
@property
|
|
35061
|
+
def EndTime(self):
|
|
35062
|
+
"""结束时间。时间格式为:yyyy-DD-mm hh:mm:ss
|
|
35063
|
+
:rtype: str
|
|
35064
|
+
"""
|
|
35065
|
+
return self._EndTime
|
|
35066
|
+
|
|
35067
|
+
@EndTime.setter
|
|
35068
|
+
def EndTime(self, EndTime):
|
|
35069
|
+
self._EndTime = EndTime
|
|
35070
|
+
|
|
35071
|
+
|
|
35072
|
+
def _deserialize(self, params):
|
|
35073
|
+
self._SourceClusterId = params.get("SourceClusterId")
|
|
35074
|
+
self._SourceInstanceId = params.get("SourceInstanceId")
|
|
35075
|
+
self._TargetClusterId = params.get("TargetClusterId")
|
|
35076
|
+
self._TargetInstanceId = params.get("TargetInstanceId")
|
|
35077
|
+
self._TargetUserName = params.get("TargetUserName")
|
|
35078
|
+
self._TargetPassword = params.get("TargetPassword")
|
|
35079
|
+
self._StartTime = params.get("StartTime")
|
|
35080
|
+
self._EndTime = params.get("EndTime")
|
|
35081
|
+
memeber_set = set(params.keys())
|
|
35082
|
+
for name, value in vars(self).items():
|
|
35083
|
+
property_name = name[1:]
|
|
35084
|
+
if property_name in memeber_set:
|
|
35085
|
+
memeber_set.remove(property_name)
|
|
35086
|
+
if len(memeber_set) > 0:
|
|
35087
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
35088
|
+
|
|
35089
|
+
|
|
35090
|
+
|
|
35091
|
+
class ReplayInstanceAuditLogResponse(AbstractModel):
|
|
35092
|
+
"""ReplayInstanceAuditLog返回参数结构体
|
|
35093
|
+
|
|
35094
|
+
"""
|
|
35095
|
+
|
|
35096
|
+
def __init__(self):
|
|
35097
|
+
r"""
|
|
35098
|
+
:param _TaskId: 任务id
|
|
35099
|
+
:type TaskId: int
|
|
35100
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
35101
|
+
:type RequestId: str
|
|
35102
|
+
"""
|
|
35103
|
+
self._TaskId = None
|
|
35104
|
+
self._RequestId = None
|
|
35105
|
+
|
|
35106
|
+
@property
|
|
35107
|
+
def TaskId(self):
|
|
35108
|
+
"""任务id
|
|
35109
|
+
:rtype: int
|
|
35110
|
+
"""
|
|
35111
|
+
return self._TaskId
|
|
35112
|
+
|
|
35113
|
+
@TaskId.setter
|
|
35114
|
+
def TaskId(self, TaskId):
|
|
35115
|
+
self._TaskId = TaskId
|
|
35116
|
+
|
|
35117
|
+
@property
|
|
35118
|
+
def RequestId(self):
|
|
35119
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
35120
|
+
:rtype: str
|
|
35121
|
+
"""
|
|
35122
|
+
return self._RequestId
|
|
35123
|
+
|
|
35124
|
+
@RequestId.setter
|
|
35125
|
+
def RequestId(self, RequestId):
|
|
35126
|
+
self._RequestId = RequestId
|
|
35127
|
+
|
|
35128
|
+
|
|
35129
|
+
def _deserialize(self, params):
|
|
35130
|
+
self._TaskId = params.get("TaskId")
|
|
35131
|
+
self._RequestId = params.get("RequestId")
|
|
35132
|
+
|
|
35133
|
+
|
|
34948
35134
|
class ResetAccountPasswordRequest(AbstractModel):
|
|
34949
35135
|
"""ResetAccountPassword请求参数结构体
|
|
34950
35136
|
|
|
@@ -4961,11 +4961,14 @@ class DescribeAndroidInstanceTasksStatusRequest(AbstractModel):
|
|
|
4961
4961
|
:type Offset: int
|
|
4962
4962
|
:param _Limit: 限制量,默认为20,最大值为100
|
|
4963
4963
|
:type Limit: int
|
|
4964
|
+
:param _RecentDays: 时间范围限制,以天数为单位
|
|
4965
|
+
:type RecentDays: int
|
|
4964
4966
|
"""
|
|
4965
4967
|
self._TaskIds = None
|
|
4966
4968
|
self._Filter = None
|
|
4967
4969
|
self._Offset = None
|
|
4968
4970
|
self._Limit = None
|
|
4971
|
+
self._RecentDays = None
|
|
4969
4972
|
|
|
4970
4973
|
@property
|
|
4971
4974
|
def TaskIds(self):
|
|
@@ -5011,6 +5014,17 @@ class DescribeAndroidInstanceTasksStatusRequest(AbstractModel):
|
|
|
5011
5014
|
def Limit(self, Limit):
|
|
5012
5015
|
self._Limit = Limit
|
|
5013
5016
|
|
|
5017
|
+
@property
|
|
5018
|
+
def RecentDays(self):
|
|
5019
|
+
"""时间范围限制,以天数为单位
|
|
5020
|
+
:rtype: int
|
|
5021
|
+
"""
|
|
5022
|
+
return self._RecentDays
|
|
5023
|
+
|
|
5024
|
+
@RecentDays.setter
|
|
5025
|
+
def RecentDays(self, RecentDays):
|
|
5026
|
+
self._RecentDays = RecentDays
|
|
5027
|
+
|
|
5014
5028
|
|
|
5015
5029
|
def _deserialize(self, params):
|
|
5016
5030
|
self._TaskIds = params.get("TaskIds")
|
|
@@ -5022,6 +5036,7 @@ class DescribeAndroidInstanceTasksStatusRequest(AbstractModel):
|
|
|
5022
5036
|
self._Filter.append(obj)
|
|
5023
5037
|
self._Offset = params.get("Offset")
|
|
5024
5038
|
self._Limit = params.get("Limit")
|
|
5039
|
+
self._RecentDays = params.get("RecentDays")
|
|
5025
5040
|
memeber_set = set(params.keys())
|
|
5026
5041
|
for name, value in vars(self).items():
|
|
5027
5042
|
property_name = name[1:]
|
|
@@ -2913,7 +2913,7 @@ class BindingPolicyObjectRequest(AbstractModel):
|
|
|
2913
2913
|
:type PolicyId: str
|
|
2914
2914
|
:param _InstanceGroupId: 实例分组ID
|
|
2915
2915
|
:type InstanceGroupId: int
|
|
2916
|
-
:param _Dimensions:
|
|
2916
|
+
:param _Dimensions: 需要绑定的对象维度信息,当为实例绑定渠道时,此处为必填信息
|
|
2917
2917
|
:type Dimensions: list of BindingPolicyObjectDimension
|
|
2918
2918
|
:param _EbSubject: 事件配置的告警
|
|
2919
2919
|
:type EbSubject: str
|
|
@@ -2974,7 +2974,7 @@ class BindingPolicyObjectRequest(AbstractModel):
|
|
|
2974
2974
|
|
|
2975
2975
|
@property
|
|
2976
2976
|
def Dimensions(self):
|
|
2977
|
-
"""
|
|
2977
|
+
"""需要绑定的对象维度信息,当为实例绑定渠道时,此处为必填信息
|
|
2978
2978
|
:rtype: list of BindingPolicyObjectDimension
|
|
2979
2979
|
"""
|
|
2980
2980
|
return self._Dimensions
|
|
@@ -1228,6 +1228,9 @@ class AdaptiveDynamicStreamingTaskInput(AbstractModel):
|
|
|
1228
1228
|
Common:音视频类型
|
|
1229
1229
|
PureAudio:纯音频类型
|
|
1230
1230
|
:type DefinitionType: str
|
|
1231
|
+
:param _SubtitleTemplate: 字幕参数
|
|
1232
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1233
|
+
:type SubtitleTemplate: :class:`tencentcloud.mps.v20190612.models.SubtitleTemplate`
|
|
1231
1234
|
"""
|
|
1232
1235
|
self._Definition = None
|
|
1233
1236
|
self._WatermarkSet = None
|
|
@@ -1238,6 +1241,7 @@ PureAudio:纯音频类型
|
|
|
1238
1241
|
self._AddOnSubtitles = None
|
|
1239
1242
|
self._DrmInfo = None
|
|
1240
1243
|
self._DefinitionType = None
|
|
1244
|
+
self._SubtitleTemplate = None
|
|
1241
1245
|
|
|
1242
1246
|
@property
|
|
1243
1247
|
def Definition(self):
|
|
@@ -1349,6 +1353,18 @@ PureAudio:纯音频类型
|
|
|
1349
1353
|
def DefinitionType(self, DefinitionType):
|
|
1350
1354
|
self._DefinitionType = DefinitionType
|
|
1351
1355
|
|
|
1356
|
+
@property
|
|
1357
|
+
def SubtitleTemplate(self):
|
|
1358
|
+
"""字幕参数
|
|
1359
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1360
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SubtitleTemplate`
|
|
1361
|
+
"""
|
|
1362
|
+
return self._SubtitleTemplate
|
|
1363
|
+
|
|
1364
|
+
@SubtitleTemplate.setter
|
|
1365
|
+
def SubtitleTemplate(self, SubtitleTemplate):
|
|
1366
|
+
self._SubtitleTemplate = SubtitleTemplate
|
|
1367
|
+
|
|
1352
1368
|
|
|
1353
1369
|
def _deserialize(self, params):
|
|
1354
1370
|
self._Definition = params.get("Definition")
|
|
@@ -1374,6 +1390,9 @@ PureAudio:纯音频类型
|
|
|
1374
1390
|
self._DrmInfo = DrmInfo()
|
|
1375
1391
|
self._DrmInfo._deserialize(params.get("DrmInfo"))
|
|
1376
1392
|
self._DefinitionType = params.get("DefinitionType")
|
|
1393
|
+
if params.get("SubtitleTemplate") is not None:
|
|
1394
|
+
self._SubtitleTemplate = SubtitleTemplate()
|
|
1395
|
+
self._SubtitleTemplate._deserialize(params.get("SubtitleTemplate"))
|
|
1377
1396
|
memeber_set = set(params.keys())
|
|
1378
1397
|
for name, value in vars(self).items():
|
|
1379
1398
|
property_name = name[1:]
|