tencentcloud-sdk-python 3.0.1389__py2.py3-none-any.whl → 3.0.1391__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/autoscaling/v20180419/models.py +2 -2
- tencentcloud/batch/v20170312/models.py +12 -6
- tencentcloud/bi/v20220105/models.py +115 -0
- tencentcloud/cbs/v20170312/models.py +2 -2
- tencentcloud/cdb/v20170320/models.py +34 -0
- tencentcloud/cdn/v20180606/models.py +2 -2
- tencentcloud/cfw/v20190904/models.py +36 -0
- tencentcloud/cloudapp/v20220530/models.py +15 -0
- tencentcloud/cloudaudit/v20190319/models.py +0 -4
- tencentcloud/csip/v20221121/models.py +2 -2
- tencentcloud/cvm/v20170312/models.py +22 -16
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +138 -0
- tencentcloud/cynosdb/v20190107/models.py +1068 -35
- tencentcloud/emr/v20190103/emr_client.py +29 -2
- tencentcloud/emr/v20190103/models.py +379 -0
- tencentcloud/gs/v20191118/models.py +15 -0
- tencentcloud/keewidb/v20220308/errorcodes.py +4 -1
- tencentcloud/lighthouse/v20200324/models.py +2 -0
- tencentcloud/live/v20180801/models.py +2 -0
- tencentcloud/lke/v20231130/models.py +4 -4
- tencentcloud/lkeap/v20240522/lkeap_client.py +5 -0
- tencentcloud/ocr/v20181119/models.py +415 -0
- tencentcloud/ocr/v20181119/ocr_client.py +25 -0
- tencentcloud/ses/v20201002/models.py +252 -0
- tencentcloud/ses/v20201002/ses_client.py +69 -0
- tencentcloud/tcss/v20201101/models.py +5 -5
- tencentcloud/tione/v20211111/tione_client.py +3 -0
- tencentcloud/trabbit/v20230418/models.py +30 -0
- tencentcloud/trtc/v20190722/models.py +4 -2
- tencentcloud/tsf/v20180326/models.py +20 -0
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +103 -0
- tencentcloud/vpc/v20170312/vpc_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1389.dist-info → tencentcloud_sdk_python-3.0.1391.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1389.dist-info → tencentcloud_sdk_python-3.0.1391.dist-info}/RECORD +39 -39
- {tencentcloud_sdk_python-3.0.1389.dist-info → tencentcloud_sdk_python-3.0.1391.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1389.dist-info → tencentcloud_sdk_python-3.0.1391.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1389.dist-info → tencentcloud_sdk_python-3.0.1391.dist-info}/top_level.txt +0 -0
@@ -2795,7 +2795,7 @@ true:发送检查请求,不会创建实例。检查项包括是否填写了
|
|
2795
2795
|
如果检查通过,则返回RequestId.
|
2796
2796
|
false(默认):发送正常请求,通过检查后直接创建实例。
|
2797
2797
|
:type DryRun: bool
|
2798
|
-
:param _CamRoleName: CAM角色名称。可通过[
|
2798
|
+
:param _CamRoleName: CAM角色名称。可通过[ DescribeRoleList ](https://cloud.tencent.com/document/product/598/36223)接口返回值中的`RoleName `获取。
|
2799
2799
|
:type CamRoleName: str
|
2800
2800
|
:param _HpcClusterId: 高性能计算集群ID。若创建的实例为高性能计算实例,需指定实例放置的集群,否则不可指定。该参数可以通过调用 [DescribeHpcClusters](https://cloud.tencent.com/document/api/213/83220) 的返回值中的 `HpcClusterId` 字段来获取。
|
2801
2801
|
:type HpcClusterId: str
|
@@ -3098,7 +3098,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
3098
3098
|
|
3099
3099
|
@property
|
3100
3100
|
def CamRoleName(self):
|
3101
|
-
"""CAM角色名称。可通过[
|
3101
|
+
"""CAM角色名称。可通过[ DescribeRoleList ](https://cloud.tencent.com/document/product/598/36223)接口返回值中的`RoleName `获取。
|
3102
3102
|
:rtype: str
|
3103
3103
|
"""
|
3104
3104
|
return self._CamRoleName
|
@@ -3318,7 +3318,7 @@ class CreateLaunchTemplateVersionRequest(AbstractModel):
|
|
3318
3318
|
r"""
|
3319
3319
|
:param _Placement: 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目,所属宿主机(在专用宿主机上创建子机时指定)等属性。
|
3320
3320
|
:type Placement: :class:`tencentcloud.cvm.v20170312.models.Placement`
|
3321
|
-
:param _LaunchTemplateId: 启动模板ID,新版本将基于该实例启动模板ID
|
3321
|
+
:param _LaunchTemplateId: 启动模板ID,新版本将基于该实例启动模板ID创建。可通过 [DescribeLaunchTemplates](https://cloud.tencent.com/document/api/213/66322) 接口返回值中的`LaunchTemplateId`获取。
|
3322
3322
|
:type LaunchTemplateId: str
|
3323
3323
|
:param _LaunchTemplateVersion: 若给定,新实例启动模板将基于给定的版本号创建。若未指定则使用默认版本,可以通过 [DescribeLaunchTemplateVersions](https://cloud.tencent.com/document/api/213/66323)查询默认版本。
|
3324
3324
|
:type LaunchTemplateVersion: int
|
@@ -3353,7 +3353,7 @@ class CreateLaunchTemplateVersionRequest(AbstractModel):
|
|
3353
3353
|
:type HostName: str
|
3354
3354
|
:param _ActionTimer: 定时任务。通过该参数可以为实例指定定时任务,目前仅支持定时销毁。
|
3355
3355
|
:type ActionTimer: :class:`tencentcloud.cvm.v20170312.models.ActionTimer`
|
3356
|
-
:param _DisasterRecoverGroupIds: 置放群组id
|
3356
|
+
:param _DisasterRecoverGroupIds: 置放群组id,仅支持指定一个。可使用[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取。
|
3357
3357
|
:type DisasterRecoverGroupIds: list of str
|
3358
3358
|
:param _TagSpecification: 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到云服务器实例。
|
3359
3359
|
:type TagSpecification: list of TagSpecification
|
@@ -3369,7 +3369,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
3369
3369
|
:type DryRun: bool
|
3370
3370
|
:param _CamRoleName: CAM角色名称。可通过[ DescribeRoleList ](https://cloud.tencent.com/document/product/598/13887)接口返回值中的`roleName`获取。
|
3371
3371
|
:type CamRoleName: str
|
3372
|
-
:param _HpcClusterId: 高性能计算集群ID
|
3372
|
+
:param _HpcClusterId: 高性能计算集群ID。若创建的实例为高性能计算实例,需指定实例放置的集群,否则不可指定。该参数可以通过调用 [DescribeHpcClusters](https://cloud.tencent.com/document/api/213/83220) 的返回值中的 `HpcClusterId` 字段来获取。
|
3373
3373
|
:type HpcClusterId: str
|
3374
3374
|
:param _InstanceChargeType: 实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月</li><li>POSTPAID_BY_HOUR:按小时后付费</li><li>CDHPAID:独享子机(基于专用宿主机创建,宿主机部分的资源不收费)</li><li>SPOTPAID:竞价付费</li>默认值:POSTPAID_BY_HOUR。
|
3375
3375
|
:type InstanceChargeType: str
|
@@ -3431,7 +3431,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
3431
3431
|
|
3432
3432
|
@property
|
3433
3433
|
def LaunchTemplateId(self):
|
3434
|
-
"""启动模板ID,新版本将基于该实例启动模板ID
|
3434
|
+
"""启动模板ID,新版本将基于该实例启动模板ID创建。可通过 [DescribeLaunchTemplates](https://cloud.tencent.com/document/api/213/66322) 接口返回值中的`LaunchTemplateId`获取。
|
3435
3435
|
:rtype: str
|
3436
3436
|
"""
|
3437
3437
|
return self._LaunchTemplateId
|
@@ -3619,7 +3619,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
3619
3619
|
|
3620
3620
|
@property
|
3621
3621
|
def DisasterRecoverGroupIds(self):
|
3622
|
-
"""置放群组id
|
3622
|
+
"""置放群组id,仅支持指定一个。可使用[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取。
|
3623
3623
|
:rtype: list of str
|
3624
3624
|
"""
|
3625
3625
|
return self._DisasterRecoverGroupIds
|
@@ -3689,7 +3689,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
3689
3689
|
|
3690
3690
|
@property
|
3691
3691
|
def HpcClusterId(self):
|
3692
|
-
"""高性能计算集群ID
|
3692
|
+
"""高性能计算集群ID。若创建的实例为高性能计算实例,需指定实例放置的集群,否则不可指定。该参数可以通过调用 [DescribeHpcClusters](https://cloud.tencent.com/document/api/213/83220) 的返回值中的 `HpcClusterId` 字段来获取。
|
3693
3693
|
:rtype: str
|
3694
3694
|
"""
|
3695
3695
|
return self._HpcClusterId
|
@@ -3882,7 +3882,7 @@ class DataDisk(AbstractModel):
|
|
3882
3882
|
r"""
|
3883
3883
|
:param _DiskSize: 数据盘大小,单位:GiB。最小调整步长为10GiB,不同数据盘类型取值范围不同,具体限制详见:[存储概述](https://cloud.tencent.com/document/product/213/4952)。默认值为0,表示不购买数据盘。更多限制详见产品文档。
|
3884
3884
|
:type DiskSize: int
|
3885
|
-
:param _DiskType: 数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br /><li>LOCAL_BASIC
|
3885
|
+
:param _DiskType: 数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br /><li>LOCAL_BASIC:本地硬盘 </li> <li>LOCAL_SSD:本地SSD硬盘</li><li>LOCAL_NVME:本地NVME硬盘,与InstanceType强相关,不支持指定</li><li>LOCAL_PRO:本地HDD硬盘,与InstanceType强相关,不支持指定</li><li>CLOUD_BASIC:普通云硬盘</li><li> CLOUD_PREMIUM:高性能云硬盘</li><li>CLOUD_SSD:SSD云硬盘</li><li> CLOUD_HSSD:增强型SSD云硬盘</li> <li>CLOUD_TSSD:极速型SSD云硬盘</li><li>CLOUD_BSSD:通用型SSD云硬盘</li><br />默认取值:LOCAL_BASIC<br/><br />该参数对`ResizeInstanceDisk`接口无效。
|
3886
3886
|
:type DiskType: str
|
3887
3887
|
:param _DiskId: 数据盘ID。
|
3888
3888
|
该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`RunInstances`等写接口的入参。
|
@@ -3896,14 +3896,16 @@ class DataDisk(AbstractModel):
|
|
3896
3896
|
:param _KmsKeyId: 自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。
|
3897
3897
|
|
3898
3898
|
该参数目前仅用于 `RunInstances` 接口。
|
3899
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3899
3900
|
:type KmsKeyId: str
|
3900
3901
|
:param _ThroughputPerformance: 云硬盘性能,单位:MiB/s。使用此参数可给云硬盘购买额外的性能。
|
3901
3902
|
当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)
|
3903
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3902
3904
|
:type ThroughputPerformance: int
|
3903
3905
|
:param _CdcId: 所属的独享集群ID。
|
3906
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3904
3907
|
:type CdcId: str
|
3905
3908
|
:param _BurstPerformance: 突发性能
|
3906
|
-
|
3907
3909
|
<b>注:内测中。</b>
|
3908
3910
|
:type BurstPerformance: bool
|
3909
3911
|
:param _DiskName: 磁盘名称,长度不超过128 个字符。
|
@@ -3934,7 +3936,7 @@ class DataDisk(AbstractModel):
|
|
3934
3936
|
|
3935
3937
|
@property
|
3936
3938
|
def DiskType(self):
|
3937
|
-
"""数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br /><li>LOCAL_BASIC
|
3939
|
+
"""数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br /><li>LOCAL_BASIC:本地硬盘 </li> <li>LOCAL_SSD:本地SSD硬盘</li><li>LOCAL_NVME:本地NVME硬盘,与InstanceType强相关,不支持指定</li><li>LOCAL_PRO:本地HDD硬盘,与InstanceType强相关,不支持指定</li><li>CLOUD_BASIC:普通云硬盘</li><li> CLOUD_PREMIUM:高性能云硬盘</li><li>CLOUD_SSD:SSD云硬盘</li><li> CLOUD_HSSD:增强型SSD云硬盘</li> <li>CLOUD_TSSD:极速型SSD云硬盘</li><li>CLOUD_BSSD:通用型SSD云硬盘</li><br />默认取值:LOCAL_BASIC<br/><br />该参数对`ResizeInstanceDisk`接口无效。
|
3938
3940
|
:rtype: str
|
3939
3941
|
"""
|
3940
3942
|
return self._DiskType
|
@@ -3993,6 +3995,7 @@ class DataDisk(AbstractModel):
|
|
3993
3995
|
"""自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。
|
3994
3996
|
|
3995
3997
|
该参数目前仅用于 `RunInstances` 接口。
|
3998
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3996
3999
|
:rtype: str
|
3997
4000
|
"""
|
3998
4001
|
return self._KmsKeyId
|
@@ -4005,6 +4008,7 @@ class DataDisk(AbstractModel):
|
|
4005
4008
|
def ThroughputPerformance(self):
|
4006
4009
|
"""云硬盘性能,单位:MiB/s。使用此参数可给云硬盘购买额外的性能。
|
4007
4010
|
当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)
|
4011
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4008
4012
|
:rtype: int
|
4009
4013
|
"""
|
4010
4014
|
return self._ThroughputPerformance
|
@@ -4016,6 +4020,7 @@ class DataDisk(AbstractModel):
|
|
4016
4020
|
@property
|
4017
4021
|
def CdcId(self):
|
4018
4022
|
"""所属的独享集群ID。
|
4023
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4019
4024
|
:rtype: str
|
4020
4025
|
"""
|
4021
4026
|
return self._CdcId
|
@@ -4027,7 +4032,6 @@ class DataDisk(AbstractModel):
|
|
4027
4032
|
@property
|
4028
4033
|
def BurstPerformance(self):
|
4029
4034
|
"""突发性能
|
4030
|
-
|
4031
4035
|
<b>注:内测中。</b>
|
4032
4036
|
:rtype: bool
|
4033
4037
|
"""
|
@@ -6912,9 +6916,9 @@ class DescribeInstancesRequest(AbstractModel):
|
|
6912
6916
|
r"""
|
6913
6917
|
:param _InstanceIds: 按照一个或者多个实例ID查询。实例ID例如:`ins-xxxxxxxx`。(此参数的具体格式可参考API[简介](https://cloud.tencent.com/document/api/213/15688)的`ids.N`一节)。每次请求的实例的上限为100。参数不支持同时指定`InstanceIds`和`Filters`。
|
6914
6918
|
:type InstanceIds: list of str
|
6915
|
-
:param _Filters: <li><strong>zone</strong></li> <p style="padding-left: 30px;">按照【<strong>可用区</strong>】进行过滤。可用区例如:ap-guangzhou-1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a></p> <li><strong>project-id</strong></li> <p style="padding-left: 30px;">按照【<strong>项目ID</strong>】进行过滤,可通过调用[DescribeProjects](https://cloud.tencent.com/document/api/651/78725)查询已创建的项目列表或登录[控制台](https://console.cloud.tencent.com/cvm/index)进行查看;也可以调用[AddProject](https://cloud.tencent.com/document/api/651/81952)创建新的项目。项目ID例如:1002189。</p><p style="padding-left: 30px;">类型:Integer</p><p style="padding-left: 30px;">必选:否</p> <li><strong>host-id</strong></li> <p style="padding-left: 30px;">按照【<strong>[CDH](https://cloud.tencent.com/document/product/416) ID</strong>】进行过滤。[CDH](https://cloud.tencent.com/document/product/416) ID例如:host-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>dedicated-cluster-id</strong></li> <p style="padding-left: 30px;">按照【<strong>[CDC](https://cloud.tencent.com/document/product/1346) ID</strong>】进行过滤。[CDC](https://cloud.tencent.com/document/product/1346) ID例如:cluster-xxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>vpc-id</strong></li> <p style="padding-left: 30px;">按照【<strong>VPC ID</strong>】进行过滤。VPC ID例如:vpc-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>subnet-id</strong></li> <p style="padding-left: 30px;">按照【<strong>子网ID</strong>】进行过滤。子网ID例如:subnet-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-id</strong></li> <p style="padding-left: 30px;">按照【<strong>实例ID</strong>】进行过滤。实例ID例如:ins-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>uuid</strong></li> <p style="padding-left: 30px;">按照【<strong>实例UUID</strong>】进行过滤。实例UUID例如:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>security-group-id</strong></li> <p style="padding-left: 30px;">按照【<strong>安全组ID</strong>】进行过滤。安全组ID例如: sg-8jlk3f3r。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-name</strong></li> <p style="padding-left: 30px;">按照【<strong>实例名称</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-charge-type</strong></li> <p style="padding-left: 30px;">按照【<strong>实例计费模式</strong>】进行过滤。(PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费 | CDHPAID:表示[CDH](https://cloud.tencent.com/document/product/416)付费,即只对[CDH](https://cloud.tencent.com/document/product/416)计费,不对[CDH](https://cloud.tencent.com/document/product/416)上的实例计费。)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-state</strong></li> <p style="padding-left: 30px;">按照【<strong>实例状态</strong>】进行过滤。状态类型详见[实例状态表](https://cloud.tencent.com/document/api/213/15753#InstanceStatus)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>private-ip-address</strong></li> <p style="padding-left: 30px;">按照【<strong>实例主网卡的内网IP</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>public-ip-address</strong></li> <p style="padding-left: 30px;">按照【<strong>实例主网卡的公网IP</strong>】进行过滤,包含实例创建时自动分配的IP和实例创建后手动绑定的弹性IP。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>ipv6-address</strong></li> <p style="padding-left: 30px;">按照【<strong>实例的IPv6地址</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag-value</strong></li> <p style="padding-left: 30px;">按照【<strong>标签值</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag:tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键值对</strong>】进行过滤。tag-key使用具体的标签键进行替换。使用请参考示例2。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><li><strong>creation-start-time</strong></li> <p style="padding-left: 30px;">按照【<strong
|
6919
|
+
:param _Filters: <li><strong>zone</strong></li> <p style="padding-left: 30px;">按照【<strong>可用区</strong>】进行过滤。可用区例如:ap-guangzhou-1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a></p> <li><strong>project-id</strong></li> <p style="padding-left: 30px;">按照【<strong>项目ID</strong>】进行过滤,可通过调用[DescribeProjects](https://cloud.tencent.com/document/api/651/78725)查询已创建的项目列表或登录[控制台](https://console.cloud.tencent.com/cvm/index)进行查看;也可以调用[AddProject](https://cloud.tencent.com/document/api/651/81952)创建新的项目。项目ID例如:1002189。</p><p style="padding-left: 30px;">类型:Integer</p><p style="padding-left: 30px;">必选:否</p> <li><strong>host-id</strong></li> <p style="padding-left: 30px;">按照【<strong>[CDH](https://cloud.tencent.com/document/product/416) ID</strong>】进行过滤。[CDH](https://cloud.tencent.com/document/product/416) ID例如:host-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>dedicated-cluster-id</strong></li> <p style="padding-left: 30px;">按照【<strong>[CDC](https://cloud.tencent.com/document/product/1346) ID</strong>】进行过滤。[CDC](https://cloud.tencent.com/document/product/1346) ID例如:cluster-xxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>vpc-id</strong></li> <p style="padding-left: 30px;">按照【<strong>VPC ID</strong>】进行过滤。VPC ID例如:vpc-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>subnet-id</strong></li> <p style="padding-left: 30px;">按照【<strong>子网ID</strong>】进行过滤。子网ID例如:subnet-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-id</strong></li> <p style="padding-left: 30px;">按照【<strong>实例ID</strong>】进行过滤。实例ID例如:ins-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>uuid</strong></li> <p style="padding-left: 30px;">按照【<strong>实例UUID</strong>】进行过滤。实例UUID例如:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>security-group-id</strong></li> <p style="padding-left: 30px;">按照【<strong>安全组ID</strong>】进行过滤。安全组ID例如: sg-8jlk3f3r。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-name</strong></li> <p style="padding-left: 30px;">按照【<strong>实例名称</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-charge-type</strong></li> <p style="padding-left: 30px;">按照【<strong>实例计费模式</strong>】进行过滤。(PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费 | CDHPAID:表示[CDH](https://cloud.tencent.com/document/product/416)付费,即只对[CDH](https://cloud.tencent.com/document/product/416)计费,不对[CDH](https://cloud.tencent.com/document/product/416)上的实例计费。)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-state</strong></li> <p style="padding-left: 30px;">按照【<strong>实例状态</strong>】进行过滤。状态类型详见[实例状态表](https://cloud.tencent.com/document/api/213/15753#InstanceStatus)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>private-ip-address</strong></li> <p style="padding-left: 30px;">按照【<strong>实例主网卡的内网IP</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>public-ip-address</strong></li> <p style="padding-left: 30px;">按照【<strong>实例主网卡的公网IP</strong>】进行过滤,包含实例创建时自动分配的IP和实例创建后手动绑定的弹性IP。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>ipv6-address</strong></li> <p style="padding-left: 30px;">按照【<strong>实例的IPv6地址</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag-value</strong></li> <p style="padding-left: 30px;">按照【<strong>标签值</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag:tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键值对</strong>】进行过滤。tag-key使用具体的标签键进行替换。使用请参考示例2。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><li><strong>creation-start-time</strong></li> <p style="padding-left: 30px;">按照【<strong>创建实例请求的起始时间</strong>】进行过滤。例如:2023-06-01 00:00:00。
|
6916
6920
|
</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
6917
|
-
<li><strong>creation-end-time</strong></li> <p style="padding-left: 30px;">按照【<strong
|
6921
|
+
<li><strong>creation-end-time</strong></li> <p style="padding-left: 30px;">按照【<strong>创建实例请求的截止时间</strong>】进行过滤。例如:2023-06-01 00:00:00。
|
6918
6922
|
</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`InstanceIds`和`Filters`。
|
6919
6923
|
:type Filters: list of Filter
|
6920
6924
|
:param _Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
@@ -6940,9 +6944,9 @@ class DescribeInstancesRequest(AbstractModel):
|
|
6940
6944
|
|
6941
6945
|
@property
|
6942
6946
|
def Filters(self):
|
6943
|
-
"""<li><strong>zone</strong></li> <p style="padding-left: 30px;">按照【<strong>可用区</strong>】进行过滤。可用区例如:ap-guangzhou-1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a></p> <li><strong>project-id</strong></li> <p style="padding-left: 30px;">按照【<strong>项目ID</strong>】进行过滤,可通过调用[DescribeProjects](https://cloud.tencent.com/document/api/651/78725)查询已创建的项目列表或登录[控制台](https://console.cloud.tencent.com/cvm/index)进行查看;也可以调用[AddProject](https://cloud.tencent.com/document/api/651/81952)创建新的项目。项目ID例如:1002189。</p><p style="padding-left: 30px;">类型:Integer</p><p style="padding-left: 30px;">必选:否</p> <li><strong>host-id</strong></li> <p style="padding-left: 30px;">按照【<strong>[CDH](https://cloud.tencent.com/document/product/416) ID</strong>】进行过滤。[CDH](https://cloud.tencent.com/document/product/416) ID例如:host-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>dedicated-cluster-id</strong></li> <p style="padding-left: 30px;">按照【<strong>[CDC](https://cloud.tencent.com/document/product/1346) ID</strong>】进行过滤。[CDC](https://cloud.tencent.com/document/product/1346) ID例如:cluster-xxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>vpc-id</strong></li> <p style="padding-left: 30px;">按照【<strong>VPC ID</strong>】进行过滤。VPC ID例如:vpc-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>subnet-id</strong></li> <p style="padding-left: 30px;">按照【<strong>子网ID</strong>】进行过滤。子网ID例如:subnet-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-id</strong></li> <p style="padding-left: 30px;">按照【<strong>实例ID</strong>】进行过滤。实例ID例如:ins-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>uuid</strong></li> <p style="padding-left: 30px;">按照【<strong>实例UUID</strong>】进行过滤。实例UUID例如:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>security-group-id</strong></li> <p style="padding-left: 30px;">按照【<strong>安全组ID</strong>】进行过滤。安全组ID例如: sg-8jlk3f3r。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-name</strong></li> <p style="padding-left: 30px;">按照【<strong>实例名称</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-charge-type</strong></li> <p style="padding-left: 30px;">按照【<strong>实例计费模式</strong>】进行过滤。(PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费 | CDHPAID:表示[CDH](https://cloud.tencent.com/document/product/416)付费,即只对[CDH](https://cloud.tencent.com/document/product/416)计费,不对[CDH](https://cloud.tencent.com/document/product/416)上的实例计费。)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-state</strong></li> <p style="padding-left: 30px;">按照【<strong>实例状态</strong>】进行过滤。状态类型详见[实例状态表](https://cloud.tencent.com/document/api/213/15753#InstanceStatus)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>private-ip-address</strong></li> <p style="padding-left: 30px;">按照【<strong>实例主网卡的内网IP</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>public-ip-address</strong></li> <p style="padding-left: 30px;">按照【<strong>实例主网卡的公网IP</strong>】进行过滤,包含实例创建时自动分配的IP和实例创建后手动绑定的弹性IP。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>ipv6-address</strong></li> <p style="padding-left: 30px;">按照【<strong>实例的IPv6地址</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag-value</strong></li> <p style="padding-left: 30px;">按照【<strong>标签值</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag:tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键值对</strong>】进行过滤。tag-key使用具体的标签键进行替换。使用请参考示例2。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><li><strong>creation-start-time</strong></li> <p style="padding-left: 30px;">按照【<strong
|
6947
|
+
"""<li><strong>zone</strong></li> <p style="padding-left: 30px;">按照【<strong>可用区</strong>】进行过滤。可用区例如:ap-guangzhou-1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a></p> <li><strong>project-id</strong></li> <p style="padding-left: 30px;">按照【<strong>项目ID</strong>】进行过滤,可通过调用[DescribeProjects](https://cloud.tencent.com/document/api/651/78725)查询已创建的项目列表或登录[控制台](https://console.cloud.tencent.com/cvm/index)进行查看;也可以调用[AddProject](https://cloud.tencent.com/document/api/651/81952)创建新的项目。项目ID例如:1002189。</p><p style="padding-left: 30px;">类型:Integer</p><p style="padding-left: 30px;">必选:否</p> <li><strong>host-id</strong></li> <p style="padding-left: 30px;">按照【<strong>[CDH](https://cloud.tencent.com/document/product/416) ID</strong>】进行过滤。[CDH](https://cloud.tencent.com/document/product/416) ID例如:host-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>dedicated-cluster-id</strong></li> <p style="padding-left: 30px;">按照【<strong>[CDC](https://cloud.tencent.com/document/product/1346) ID</strong>】进行过滤。[CDC](https://cloud.tencent.com/document/product/1346) ID例如:cluster-xxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>vpc-id</strong></li> <p style="padding-left: 30px;">按照【<strong>VPC ID</strong>】进行过滤。VPC ID例如:vpc-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>subnet-id</strong></li> <p style="padding-left: 30px;">按照【<strong>子网ID</strong>】进行过滤。子网ID例如:subnet-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-id</strong></li> <p style="padding-left: 30px;">按照【<strong>实例ID</strong>】进行过滤。实例ID例如:ins-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>uuid</strong></li> <p style="padding-left: 30px;">按照【<strong>实例UUID</strong>】进行过滤。实例UUID例如:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>security-group-id</strong></li> <p style="padding-left: 30px;">按照【<strong>安全组ID</strong>】进行过滤。安全组ID例如: sg-8jlk3f3r。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-name</strong></li> <p style="padding-left: 30px;">按照【<strong>实例名称</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-charge-type</strong></li> <p style="padding-left: 30px;">按照【<strong>实例计费模式</strong>】进行过滤。(PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费 | CDHPAID:表示[CDH](https://cloud.tencent.com/document/product/416)付费,即只对[CDH](https://cloud.tencent.com/document/product/416)计费,不对[CDH](https://cloud.tencent.com/document/product/416)上的实例计费。)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-state</strong></li> <p style="padding-left: 30px;">按照【<strong>实例状态</strong>】进行过滤。状态类型详见[实例状态表](https://cloud.tencent.com/document/api/213/15753#InstanceStatus)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>private-ip-address</strong></li> <p style="padding-left: 30px;">按照【<strong>实例主网卡的内网IP</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>public-ip-address</strong></li> <p style="padding-left: 30px;">按照【<strong>实例主网卡的公网IP</strong>】进行过滤,包含实例创建时自动分配的IP和实例创建后手动绑定的弹性IP。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>ipv6-address</strong></li> <p style="padding-left: 30px;">按照【<strong>实例的IPv6地址</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag-value</strong></li> <p style="padding-left: 30px;">按照【<strong>标签值</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag:tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键值对</strong>】进行过滤。tag-key使用具体的标签键进行替换。使用请参考示例2。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><li><strong>creation-start-time</strong></li> <p style="padding-left: 30px;">按照【<strong>创建实例请求的起始时间</strong>】进行过滤。例如:2023-06-01 00:00:00。
|
6944
6948
|
</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
6945
|
-
<li><strong>creation-end-time</strong></li> <p style="padding-left: 30px;">按照【<strong
|
6949
|
+
<li><strong>creation-end-time</strong></li> <p style="padding-left: 30px;">按照【<strong>创建实例请求的截止时间</strong>】进行过滤。例如:2023-06-01 00:00:00。
|
6946
6950
|
</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`InstanceIds`和`Filters`。
|
6947
6951
|
:rtype: list of Filter
|
6948
6952
|
"""
|
@@ -22622,6 +22626,7 @@ class SystemDisk(AbstractModel):
|
|
22622
22626
|
:param _DiskSize: 系统盘大小,单位:GiB。默认值为 50
|
22623
22627
|
:type DiskSize: int
|
22624
22628
|
:param _CdcId: 所属的独享集群ID。
|
22629
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
22625
22630
|
:type CdcId: str
|
22626
22631
|
:param _DiskName: 磁盘名称,长度不超过128 个字符。
|
22627
22632
|
:type DiskName: str
|
@@ -22678,6 +22683,7 @@ class SystemDisk(AbstractModel):
|
|
22678
22683
|
@property
|
22679
22684
|
def CdcId(self):
|
22680
22685
|
"""所属的独享集群ID。
|
22686
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
22681
22687
|
:rtype: str
|
22682
22688
|
"""
|
22683
22689
|
return self._CdcId
|
@@ -923,6 +923,29 @@ class CynosdbClient(AbstractClient):
|
|
923
923
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
924
924
|
|
925
925
|
|
926
|
+
def DescribeBackupDownloadRestriction(self, request):
|
927
|
+
"""该接口用户查询当前地域用户设置的默认备份下载来源限制
|
928
|
+
|
929
|
+
:param request: Request instance for DescribeBackupDownloadRestriction.
|
930
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeBackupDownloadRestrictionRequest`
|
931
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeBackupDownloadRestrictionResponse`
|
932
|
+
|
933
|
+
"""
|
934
|
+
try:
|
935
|
+
params = request._serialize()
|
936
|
+
headers = request.headers
|
937
|
+
body = self.call("DescribeBackupDownloadRestriction", params, headers=headers)
|
938
|
+
response = json.loads(body)
|
939
|
+
model = models.DescribeBackupDownloadRestrictionResponse()
|
940
|
+
model._deserialize(response["Response"])
|
941
|
+
return model
|
942
|
+
except Exception as e:
|
943
|
+
if isinstance(e, TencentCloudSDKException):
|
944
|
+
raise
|
945
|
+
else:
|
946
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
947
|
+
|
948
|
+
|
926
949
|
def DescribeBackupDownloadUrl(self, request):
|
927
950
|
"""本接口(DescribeBackupDownloadUrl)用于查询集群备份文件下载地址。
|
928
951
|
|
@@ -946,6 +969,29 @@ class CynosdbClient(AbstractClient):
|
|
946
969
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
947
970
|
|
948
971
|
|
972
|
+
def DescribeBackupDownloadUserRestriction(self, request):
|
973
|
+
"""该接口用户查询当前地域用户级别设置的默认备份下载来源限制
|
974
|
+
|
975
|
+
:param request: Request instance for DescribeBackupDownloadUserRestriction.
|
976
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeBackupDownloadUserRestrictionRequest`
|
977
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeBackupDownloadUserRestrictionResponse`
|
978
|
+
|
979
|
+
"""
|
980
|
+
try:
|
981
|
+
params = request._serialize()
|
982
|
+
headers = request.headers
|
983
|
+
body = self.call("DescribeBackupDownloadUserRestriction", params, headers=headers)
|
984
|
+
response = json.loads(body)
|
985
|
+
model = models.DescribeBackupDownloadUserRestrictionResponse()
|
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
|
+
|
949
995
|
def DescribeBackupList(self, request):
|
950
996
|
"""本接口(DescribeBackupList)用于查询集群的备份文件列表。
|
951
997
|
|
@@ -1291,6 +1337,29 @@ class CynosdbClient(AbstractClient):
|
|
1291
1337
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1292
1338
|
|
1293
1339
|
|
1340
|
+
def DescribeClusterReadOnly(self, request):
|
1341
|
+
"""本接口(DescribeClusterReadOnly)用于查询集群只读开关。
|
1342
|
+
|
1343
|
+
:param request: Request instance for DescribeClusterReadOnly.
|
1344
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeClusterReadOnlyRequest`
|
1345
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeClusterReadOnlyResponse`
|
1346
|
+
|
1347
|
+
"""
|
1348
|
+
try:
|
1349
|
+
params = request._serialize()
|
1350
|
+
headers = request.headers
|
1351
|
+
body = self.call("DescribeClusterReadOnly", params, headers=headers)
|
1352
|
+
response = json.loads(body)
|
1353
|
+
model = models.DescribeClusterReadOnlyResponse()
|
1354
|
+
model._deserialize(response["Response"])
|
1355
|
+
return model
|
1356
|
+
except Exception as e:
|
1357
|
+
if isinstance(e, TencentCloudSDKException):
|
1358
|
+
raise
|
1359
|
+
else:
|
1360
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1361
|
+
|
1362
|
+
|
1294
1363
|
def DescribeClusterTransparentEncryptInfo(self, request):
|
1295
1364
|
"""查询集群透明加密信息
|
1296
1365
|
|
@@ -2418,6 +2487,52 @@ class CynosdbClient(AbstractClient):
|
|
2418
2487
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2419
2488
|
|
2420
2489
|
|
2490
|
+
def ModifyBackupDownloadRestriction(self, request):
|
2491
|
+
"""该接口用于修改用户当前地域的备份文件限制下载来源,可以设置内外网均可下载、仅内网可下载,或内网指定的vpc、ip可以下载。
|
2492
|
+
|
2493
|
+
:param request: Request instance for ModifyBackupDownloadRestriction.
|
2494
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.ModifyBackupDownloadRestrictionRequest`
|
2495
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.ModifyBackupDownloadRestrictionResponse`
|
2496
|
+
|
2497
|
+
"""
|
2498
|
+
try:
|
2499
|
+
params = request._serialize()
|
2500
|
+
headers = request.headers
|
2501
|
+
body = self.call("ModifyBackupDownloadRestriction", params, headers=headers)
|
2502
|
+
response = json.loads(body)
|
2503
|
+
model = models.ModifyBackupDownloadRestrictionResponse()
|
2504
|
+
model._deserialize(response["Response"])
|
2505
|
+
return model
|
2506
|
+
except Exception as e:
|
2507
|
+
if isinstance(e, TencentCloudSDKException):
|
2508
|
+
raise
|
2509
|
+
else:
|
2510
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2511
|
+
|
2512
|
+
|
2513
|
+
def ModifyBackupDownloadUserRestriction(self, request):
|
2514
|
+
"""该接口用于修改用户当前地域的备份文件限制下载来源,可以设置内外网均可下载、仅内网可下载,或内网指定的vpc、ip可以下载。
|
2515
|
+
|
2516
|
+
:param request: Request instance for ModifyBackupDownloadUserRestriction.
|
2517
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.ModifyBackupDownloadUserRestrictionRequest`
|
2518
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.ModifyBackupDownloadUserRestrictionResponse`
|
2519
|
+
|
2520
|
+
"""
|
2521
|
+
try:
|
2522
|
+
params = request._serialize()
|
2523
|
+
headers = request.headers
|
2524
|
+
body = self.call("ModifyBackupDownloadUserRestriction", params, headers=headers)
|
2525
|
+
response = json.loads(body)
|
2526
|
+
model = models.ModifyBackupDownloadUserRestrictionResponse()
|
2527
|
+
model._deserialize(response["Response"])
|
2528
|
+
return model
|
2529
|
+
except Exception as e:
|
2530
|
+
if isinstance(e, TencentCloudSDKException):
|
2531
|
+
raise
|
2532
|
+
else:
|
2533
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2534
|
+
|
2535
|
+
|
2421
2536
|
def ModifyBackupName(self, request):
|
2422
2537
|
"""此接口(ModifyBackupName)用于修改备份文件备注名。
|
2423
2538
|
|
@@ -2579,6 +2694,29 @@ class CynosdbClient(AbstractClient):
|
|
2579
2694
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2580
2695
|
|
2581
2696
|
|
2697
|
+
def ModifyClusterReadOnly(self, request):
|
2698
|
+
"""本接口(ModifyClusterReadOnly)用于修改集群只读开关。
|
2699
|
+
|
2700
|
+
:param request: Request instance for ModifyClusterReadOnly.
|
2701
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.ModifyClusterReadOnlyRequest`
|
2702
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.ModifyClusterReadOnlyResponse`
|
2703
|
+
|
2704
|
+
"""
|
2705
|
+
try:
|
2706
|
+
params = request._serialize()
|
2707
|
+
headers = request.headers
|
2708
|
+
body = self.call("ModifyClusterReadOnly", params, headers=headers)
|
2709
|
+
response = json.loads(body)
|
2710
|
+
model = models.ModifyClusterReadOnlyResponse()
|
2711
|
+
model._deserialize(response["Response"])
|
2712
|
+
return model
|
2713
|
+
except Exception as e:
|
2714
|
+
if isinstance(e, TencentCloudSDKException):
|
2715
|
+
raise
|
2716
|
+
else:
|
2717
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2718
|
+
|
2719
|
+
|
2582
2720
|
def ModifyClusterSlaveZone(self, request):
|
2583
2721
|
"""本接口(ModifyClusterSlaveZone)用于变更集群的备可用区。
|
2584
2722
|
|