tencentcloud-sdk-python 3.0.1341__py2.py3-none-any.whl → 3.0.1343__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/bi/v20220105/models.py +68 -0
- tencentcloud/billing/v20180709/billing_client.py +3 -1
- tencentcloud/billing/v20180709/models.py +90 -456
- tencentcloud/captcha/v20190722/models.py +6 -24
- tencentcloud/cdc/v20201214/models.py +0 -12
- tencentcloud/cdwpg/v20201230/models.py +4 -4
- tencentcloud/cdz/v20221123/models.py +0 -4
- tencentcloud/cfg/v20210820/models.py +0 -192
- tencentcloud/cfs/v20190719/errorcodes.py +3 -0
- tencentcloud/clb/v20180317/clb_client.py +2 -2
- tencentcloud/cvm/v20170312/cvm_client.py +23 -0
- tencentcloud/cvm/v20170312/models.py +211 -4
- tencentcloud/cwp/v20180228/models.py +160 -42
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +161 -0
- tencentcloud/dbbrain/v20210527/models.py +1743 -387
- tencentcloud/domain/v20180808/models.py +30 -26
- tencentcloud/dts/v20180330/models.py +0 -6
- tencentcloud/dts/v20211206/models.py +2 -210
- tencentcloud/ess/v20201111/models.py +136 -4
- tencentcloud/essbasic/v20210526/models.py +128 -6
- tencentcloud/hunyuan/v20230901/models.py +97 -21
- tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +69 -0
- tencentcloud/iotexplorer/v20190423/models.py +995 -65
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +46 -0
- tencentcloud/iotvideo/v20211125/models.py +188 -0
- tencentcloud/lcic/v20220817/errorcodes.py +1 -1
- tencentcloud/lighthouse/v20200324/errorcodes.py +12 -9
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +24 -17
- tencentcloud/lighthouse/v20200324/models.py +68 -36
- tencentcloud/lke/v20231130/lke_client.py +1 -1
- tencentcloud/lke/v20231130/models.py +2 -2
- tencentcloud/lkeap/v20240522/models.py +4 -8
- tencentcloud/mariadb/v20170312/models.py +0 -24
- tencentcloud/mongodb/v20190725/models.py +6 -6
- tencentcloud/mps/v20190612/models.py +170 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +9 -0
- tencentcloud/organization/v20210331/errorcodes.py +3 -0
- tencentcloud/organization/v20210331/models.py +0 -82
- tencentcloud/redis/v20180412/models.py +8 -8
- tencentcloud/ses/v20201002/models.py +2 -4
- tencentcloud/tat/v20201028/models.py +10 -8
- tencentcloud/tcb/v20180608/models.py +0 -234
- tencentcloud/tdmq/v20200217/models.py +17 -198
- tencentcloud/teo/v20220901/models.py +1182 -21
- tencentcloud/teo/v20220901/teo_client.py +8 -4
- tencentcloud/tione/v20211111/models.py +90 -0
- tencentcloud/trocket/v20230308/models.py +109 -0
- tencentcloud/trocket/v20230308/trocket_client.py +23 -0
- tencentcloud/trro/v20220325/models.py +140 -0
- tencentcloud/trro/v20220325/trro_client.py +25 -0
- tencentcloud/vdb/v20230616/models.py +45 -0
- tencentcloud/vdb/v20230616/vdb_client.py +1 -1
- tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- tencentcloud/vrs/v20200824/models.py +32 -0
- tencentcloud/waf/v20180125/models.py +398 -0
- tencentcloud/waf/v20180125/waf_client.py +69 -0
- tencentcloud/wedata/v20210820/models.py +77 -0
- {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/RECORD +64 -64
- {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1343.dist-info}/top_level.txt +0 -0
@@ -149,6 +149,9 @@ INVALIDPARAMETERVALUE_INVALIDFSSIZELIMIT = 'InvalidParameterValue.InvalidFsSizeL
|
|
149
149
|
# 无效的文件系统状态。
|
150
150
|
INVALIDPARAMETERVALUE_INVALIDFSSTATUS = 'InvalidParameterValue.InvalidFsStatus'
|
151
151
|
|
152
|
+
# MetaType 值无效
|
153
|
+
INVALIDPARAMETERVALUE_INVALIDMETATYPE = 'InvalidParameterValue.InvalidMetaType'
|
154
|
+
|
152
155
|
# 错误的挂载点IP。
|
153
156
|
INVALIDPARAMETERVALUE_INVALIDMOUNTTARGETIP = 'InvalidParameterValue.InvalidMountTargetIp'
|
154
157
|
|
@@ -616,7 +616,7 @@ class ClbClient(AbstractClient):
|
|
616
616
|
本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
|
617
617
|
<br/>限制说明:
|
618
618
|
|
619
|
-
-
|
619
|
+
- 仅广州、深圳金融、上海、上海金融、北京、成都、中国香港、新加坡、东京、硅谷地域支持绑定 SCF。
|
620
620
|
- 仅标准账户类型支持绑定 SCF,传统账户类型不支持。建议升级为标准账户类型,详情可参见 [账户类型升级说明](https://cloud.tencent.com/document/product/1199/49090)。
|
621
621
|
- 传统型负载均衡不支持绑定 SCF。
|
622
622
|
- 基础网络类型不支持绑定 SCF。
|
@@ -1957,7 +1957,7 @@ class ClbClient(AbstractClient):
|
|
1957
1957
|
"""RegisterFunctionTargets 接口用来将一个云函数绑定到负载均衡的7层转发规则,在此之前您需要先行创建相关的7层监听器(HTTP、HTTPS)和转发规则。
|
1958
1958
|
本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。<br/>
|
1959
1959
|
限制说明:
|
1960
|
-
-
|
1960
|
+
- 仅广州、深圳金融、上海、上海金融、北京、成都、中国香港、新加坡、东京、硅谷地域支持绑定 SCF。
|
1961
1961
|
- 仅标准账户类型支持绑定 SCF,传统账户类型不支持。建议升级为标准账户类型,详情可参见 [账户类型升级说明](https://cloud.tencent.com/document/product/1199/49090)。
|
1962
1962
|
- 传统型负载均衡不支持绑定 SCF。
|
1963
1963
|
- 基础网络类型不支持绑定 SCF。
|
@@ -933,6 +933,29 @@ class CvmClient(AbstractClient):
|
|
933
933
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
934
934
|
|
935
935
|
|
936
|
+
def DescribeInstancesAttributes(self, request):
|
937
|
+
"""获取指定实例的属性,目前支持查询实例自定义数据User-Data。
|
938
|
+
|
939
|
+
:param request: Request instance for DescribeInstancesAttributes.
|
940
|
+
:type request: :class:`tencentcloud.cvm.v20170312.models.DescribeInstancesAttributesRequest`
|
941
|
+
:rtype: :class:`tencentcloud.cvm.v20170312.models.DescribeInstancesAttributesResponse`
|
942
|
+
|
943
|
+
"""
|
944
|
+
try:
|
945
|
+
params = request._serialize()
|
946
|
+
headers = request.headers
|
947
|
+
body = self.call("DescribeInstancesAttributes", params, headers=headers)
|
948
|
+
response = json.loads(body)
|
949
|
+
model = models.DescribeInstancesAttributesResponse()
|
950
|
+
model._deserialize(response["Response"])
|
951
|
+
return model
|
952
|
+
except Exception as e:
|
953
|
+
if isinstance(e, TencentCloudSDKException):
|
954
|
+
raise
|
955
|
+
else:
|
956
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
957
|
+
|
958
|
+
|
936
959
|
def DescribeInstancesModification(self, request):
|
937
960
|
"""本接口 (DescribeInstancesModification) 用于查询指定实例支持调整的机型配置。
|
938
961
|
|
@@ -666,6 +666,42 @@ class AssociateSecurityGroupsResponse(AbstractModel):
|
|
666
666
|
self._RequestId = params.get("RequestId")
|
667
667
|
|
668
668
|
|
669
|
+
class Attribute(AbstractModel):
|
670
|
+
"""属性信息
|
671
|
+
|
672
|
+
"""
|
673
|
+
|
674
|
+
def __init__(self):
|
675
|
+
r"""
|
676
|
+
:param _UserData: 实例的自定义数据。
|
677
|
+
:type UserData: str
|
678
|
+
"""
|
679
|
+
self._UserData = None
|
680
|
+
|
681
|
+
@property
|
682
|
+
def UserData(self):
|
683
|
+
"""实例的自定义数据。
|
684
|
+
:rtype: str
|
685
|
+
"""
|
686
|
+
return self._UserData
|
687
|
+
|
688
|
+
@UserData.setter
|
689
|
+
def UserData(self, UserData):
|
690
|
+
self._UserData = UserData
|
691
|
+
|
692
|
+
|
693
|
+
def _deserialize(self, params):
|
694
|
+
self._UserData = params.get("UserData")
|
695
|
+
memeber_set = set(params.keys())
|
696
|
+
for name, value in vars(self).items():
|
697
|
+
property_name = name[1:]
|
698
|
+
if property_name in memeber_set:
|
699
|
+
memeber_set.remove(property_name)
|
700
|
+
if len(memeber_set) > 0:
|
701
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
702
|
+
|
703
|
+
|
704
|
+
|
669
705
|
class ChargePrepaid(AbstractModel):
|
670
706
|
"""描述预付费模式,即包年包月相关参数。包括购买时长和自动续费逻辑等。
|
671
707
|
|
@@ -6446,6 +6482,107 @@ class DescribeInstancesActionTimerResponse(AbstractModel):
|
|
6446
6482
|
self._RequestId = params.get("RequestId")
|
6447
6483
|
|
6448
6484
|
|
6485
|
+
class DescribeInstancesAttributesRequest(AbstractModel):
|
6486
|
+
"""DescribeInstancesAttributes请求参数结构体
|
6487
|
+
|
6488
|
+
"""
|
6489
|
+
|
6490
|
+
def __init__(self):
|
6491
|
+
r"""
|
6492
|
+
:param _Attributes: 需要获取的实例属性。可选值:
|
6493
|
+
UserData: 实例自定义数据
|
6494
|
+
:type Attributes: list of str
|
6495
|
+
:param _InstanceIds: 实例ID列表
|
6496
|
+
:type InstanceIds: list of str
|
6497
|
+
"""
|
6498
|
+
self._Attributes = None
|
6499
|
+
self._InstanceIds = None
|
6500
|
+
|
6501
|
+
@property
|
6502
|
+
def Attributes(self):
|
6503
|
+
"""需要获取的实例属性。可选值:
|
6504
|
+
UserData: 实例自定义数据
|
6505
|
+
:rtype: list of str
|
6506
|
+
"""
|
6507
|
+
return self._Attributes
|
6508
|
+
|
6509
|
+
@Attributes.setter
|
6510
|
+
def Attributes(self, Attributes):
|
6511
|
+
self._Attributes = Attributes
|
6512
|
+
|
6513
|
+
@property
|
6514
|
+
def InstanceIds(self):
|
6515
|
+
"""实例ID列表
|
6516
|
+
:rtype: list of str
|
6517
|
+
"""
|
6518
|
+
return self._InstanceIds
|
6519
|
+
|
6520
|
+
@InstanceIds.setter
|
6521
|
+
def InstanceIds(self, InstanceIds):
|
6522
|
+
self._InstanceIds = InstanceIds
|
6523
|
+
|
6524
|
+
|
6525
|
+
def _deserialize(self, params):
|
6526
|
+
self._Attributes = params.get("Attributes")
|
6527
|
+
self._InstanceIds = params.get("InstanceIds")
|
6528
|
+
memeber_set = set(params.keys())
|
6529
|
+
for name, value in vars(self).items():
|
6530
|
+
property_name = name[1:]
|
6531
|
+
if property_name in memeber_set:
|
6532
|
+
memeber_set.remove(property_name)
|
6533
|
+
if len(memeber_set) > 0:
|
6534
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6535
|
+
|
6536
|
+
|
6537
|
+
|
6538
|
+
class DescribeInstancesAttributesResponse(AbstractModel):
|
6539
|
+
"""DescribeInstancesAttributes返回参数结构体
|
6540
|
+
|
6541
|
+
"""
|
6542
|
+
|
6543
|
+
def __init__(self):
|
6544
|
+
r"""
|
6545
|
+
:param _InstanceSet: 指定的实例属性列表
|
6546
|
+
:type InstanceSet: list of InstanceAttribute
|
6547
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6548
|
+
:type RequestId: str
|
6549
|
+
"""
|
6550
|
+
self._InstanceSet = None
|
6551
|
+
self._RequestId = None
|
6552
|
+
|
6553
|
+
@property
|
6554
|
+
def InstanceSet(self):
|
6555
|
+
"""指定的实例属性列表
|
6556
|
+
:rtype: list of InstanceAttribute
|
6557
|
+
"""
|
6558
|
+
return self._InstanceSet
|
6559
|
+
|
6560
|
+
@InstanceSet.setter
|
6561
|
+
def InstanceSet(self, InstanceSet):
|
6562
|
+
self._InstanceSet = InstanceSet
|
6563
|
+
|
6564
|
+
@property
|
6565
|
+
def RequestId(self):
|
6566
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6567
|
+
:rtype: str
|
6568
|
+
"""
|
6569
|
+
return self._RequestId
|
6570
|
+
|
6571
|
+
@RequestId.setter
|
6572
|
+
def RequestId(self, RequestId):
|
6573
|
+
self._RequestId = RequestId
|
6574
|
+
|
6575
|
+
|
6576
|
+
def _deserialize(self, params):
|
6577
|
+
if params.get("InstanceSet") is not None:
|
6578
|
+
self._InstanceSet = []
|
6579
|
+
for item in params.get("InstanceSet"):
|
6580
|
+
obj = InstanceAttribute()
|
6581
|
+
obj._deserialize(item)
|
6582
|
+
self._InstanceSet.append(obj)
|
6583
|
+
self._RequestId = params.get("RequestId")
|
6584
|
+
|
6585
|
+
|
6449
6586
|
class DescribeInstancesModificationRequest(AbstractModel):
|
6450
6587
|
"""DescribeInstancesModification请求参数结构体
|
6451
6588
|
|
@@ -8213,7 +8350,6 @@ class DescribeTaskInfoResponse(AbstractModel):
|
|
8213
8350
|
:param _TotalCount: 查询返回的维修任务总数量。
|
8214
8351
|
:type TotalCount: int
|
8215
8352
|
:param _RepairTaskInfoSet: 查询返回的维修任务列表。
|
8216
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8217
8353
|
:type RepairTaskInfoSet: list of RepairTaskInfo
|
8218
8354
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8219
8355
|
:type RequestId: str
|
@@ -8236,7 +8372,6 @@ class DescribeTaskInfoResponse(AbstractModel):
|
|
8236
8372
|
@property
|
8237
8373
|
def RepairTaskInfoSet(self):
|
8238
8374
|
"""查询返回的维修任务列表。
|
8239
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8240
8375
|
:rtype: list of RepairTaskInfo
|
8241
8376
|
"""
|
8242
8377
|
return self._RepairTaskInfoSet
|
@@ -8952,13 +9087,16 @@ class EnterRescueModeRequest(AbstractModel):
|
|
8952
9087
|
:type Password: str
|
8953
9088
|
:param _Username: 救援模式下系统用户名
|
8954
9089
|
:type Username: str
|
8955
|
-
:param _ForceStop:
|
9090
|
+
:param _ForceStop: 是否强制关机。本参数已弃用,推荐使用StopType,不可以与参数StopType同时使用。
|
8956
9091
|
:type ForceStop: bool
|
9092
|
+
:param _StopType: 实例的关闭模式。取值范围:<br><li>SOFT_FIRST:表示在正常关闭失败后进行强制关闭</li><br><li>HARD:直接强制关闭</li><br><li>SOFT:仅软关机</li><br>默认取值:SOFT。
|
9093
|
+
:type StopType: str
|
8957
9094
|
"""
|
8958
9095
|
self._InstanceId = None
|
8959
9096
|
self._Password = None
|
8960
9097
|
self._Username = None
|
8961
9098
|
self._ForceStop = None
|
9099
|
+
self._StopType = None
|
8962
9100
|
|
8963
9101
|
@property
|
8964
9102
|
def InstanceId(self):
|
@@ -8995,21 +9133,37 @@ class EnterRescueModeRequest(AbstractModel):
|
|
8995
9133
|
|
8996
9134
|
@property
|
8997
9135
|
def ForceStop(self):
|
8998
|
-
""
|
9136
|
+
warnings.warn("parameter `ForceStop` is deprecated", DeprecationWarning)
|
9137
|
+
|
9138
|
+
"""是否强制关机。本参数已弃用,推荐使用StopType,不可以与参数StopType同时使用。
|
8999
9139
|
:rtype: bool
|
9000
9140
|
"""
|
9001
9141
|
return self._ForceStop
|
9002
9142
|
|
9003
9143
|
@ForceStop.setter
|
9004
9144
|
def ForceStop(self, ForceStop):
|
9145
|
+
warnings.warn("parameter `ForceStop` is deprecated", DeprecationWarning)
|
9146
|
+
|
9005
9147
|
self._ForceStop = ForceStop
|
9006
9148
|
|
9149
|
+
@property
|
9150
|
+
def StopType(self):
|
9151
|
+
"""实例的关闭模式。取值范围:<br><li>SOFT_FIRST:表示在正常关闭失败后进行强制关闭</li><br><li>HARD:直接强制关闭</li><br><li>SOFT:仅软关机</li><br>默认取值:SOFT。
|
9152
|
+
:rtype: str
|
9153
|
+
"""
|
9154
|
+
return self._StopType
|
9155
|
+
|
9156
|
+
@StopType.setter
|
9157
|
+
def StopType(self, StopType):
|
9158
|
+
self._StopType = StopType
|
9159
|
+
|
9007
9160
|
|
9008
9161
|
def _deserialize(self, params):
|
9009
9162
|
self._InstanceId = params.get("InstanceId")
|
9010
9163
|
self._Password = params.get("Password")
|
9011
9164
|
self._Username = params.get("Username")
|
9012
9165
|
self._ForceStop = params.get("ForceStop")
|
9166
|
+
self._StopType = params.get("StopType")
|
9013
9167
|
memeber_set = set(params.keys())
|
9014
9168
|
for name, value in vars(self).items():
|
9015
9169
|
property_name = name[1:]
|
@@ -13297,6 +13451,59 @@ class Instance(AbstractModel):
|
|
13297
13451
|
|
13298
13452
|
|
13299
13453
|
|
13454
|
+
class InstanceAttribute(AbstractModel):
|
13455
|
+
"""实例属性
|
13456
|
+
|
13457
|
+
"""
|
13458
|
+
|
13459
|
+
def __init__(self):
|
13460
|
+
r"""
|
13461
|
+
:param _InstanceId: 实例 ID。
|
13462
|
+
:type InstanceId: str
|
13463
|
+
:param _Attributes: 实例属性信息。
|
13464
|
+
:type Attributes: :class:`tencentcloud.cvm.v20170312.models.Attribute`
|
13465
|
+
"""
|
13466
|
+
self._InstanceId = None
|
13467
|
+
self._Attributes = None
|
13468
|
+
|
13469
|
+
@property
|
13470
|
+
def InstanceId(self):
|
13471
|
+
"""实例 ID。
|
13472
|
+
:rtype: str
|
13473
|
+
"""
|
13474
|
+
return self._InstanceId
|
13475
|
+
|
13476
|
+
@InstanceId.setter
|
13477
|
+
def InstanceId(self, InstanceId):
|
13478
|
+
self._InstanceId = InstanceId
|
13479
|
+
|
13480
|
+
@property
|
13481
|
+
def Attributes(self):
|
13482
|
+
"""实例属性信息。
|
13483
|
+
:rtype: :class:`tencentcloud.cvm.v20170312.models.Attribute`
|
13484
|
+
"""
|
13485
|
+
return self._Attributes
|
13486
|
+
|
13487
|
+
@Attributes.setter
|
13488
|
+
def Attributes(self, Attributes):
|
13489
|
+
self._Attributes = Attributes
|
13490
|
+
|
13491
|
+
|
13492
|
+
def _deserialize(self, params):
|
13493
|
+
self._InstanceId = params.get("InstanceId")
|
13494
|
+
if params.get("Attributes") is not None:
|
13495
|
+
self._Attributes = Attribute()
|
13496
|
+
self._Attributes._deserialize(params.get("Attributes"))
|
13497
|
+
memeber_set = set(params.keys())
|
13498
|
+
for name, value in vars(self).items():
|
13499
|
+
property_name = name[1:]
|
13500
|
+
if property_name in memeber_set:
|
13501
|
+
memeber_set.remove(property_name)
|
13502
|
+
if len(memeber_set) > 0:
|
13503
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
13504
|
+
|
13505
|
+
|
13506
|
+
|
13300
13507
|
class InstanceChargePrepaid(AbstractModel):
|
13301
13508
|
"""描述了实例的计费模式
|
13302
13509
|
|