tencentcloud-sdk-python 3.0.1263__py2.py3-none-any.whl → 3.0.1264__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/ccc/v20200210/models.py +148 -236
- tencentcloud/cdb/v20170320/cdb_client.py +40 -17
- tencentcloud/cdb/v20170320/models.py +215 -68
- tencentcloud/cdc/v20201214/models.py +4 -4
- tencentcloud/cls/v20201016/models.py +104 -2
- tencentcloud/cwp/v20180228/cwp_client.py +0 -25
- tencentcloud/cwp/v20180228/models.py +352 -1771
- tencentcloud/dasb/v20191018/models.py +0 -8
- tencentcloud/emr/v20190103/models.py +58 -2
- tencentcloud/ess/v20201111/models.py +2 -2
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/hai/v20230812/errorcodes.py +18 -0
- tencentcloud/hai/v20230812/models.py +229 -4
- tencentcloud/hunyuan/v20230901/errorcodes.py +2 -2
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +1 -1
- tencentcloud/hunyuan/v20230901/models.py +19 -4
- tencentcloud/iai/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/models.py +728 -528
- tencentcloud/iss/v20230517/errorcodes.py +0 -9
- tencentcloud/iss/v20230517/iss_client.py +0 -23
- tencentcloud/iss/v20230517/models.py +0 -94
- tencentcloud/redis/v20180412/models.py +6 -10
- tencentcloud/redis/v20180412/redis_client.py +1 -1
- tencentcloud/ssl/v20191205/models.py +148 -0
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +79 -0
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/wedata/v20210820/errorcodes.py +9 -0
- tencentcloud/wedata/v20210820/models.py +447 -0
- tencentcloud/wedata/v20210820/wedata_client.py +69 -0
- {tencentcloud_sdk_python-3.0.1263.dist-info → tencentcloud_sdk_python-3.0.1264.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1263.dist-info → tencentcloud_sdk_python-3.0.1264.dist-info}/RECORD +36 -36
- {tencentcloud_sdk_python-3.0.1263.dist-info → tencentcloud_sdk_python-3.0.1264.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1263.dist-info → tencentcloud_sdk_python-3.0.1264.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1263.dist-info → tencentcloud_sdk_python-3.0.1264.dist-info}/top_level.txt +0 -0
@@ -1839,7 +1839,6 @@ class Command(AbstractModel):
|
|
1839
1839
|
:param _SessionTime: 该命令所属会话的会话开始时间
|
1840
1840
|
:type SessionTime: str
|
1841
1841
|
:param _SessTime: 该命令所属会话的会话开始时间
|
1842
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1843
1842
|
:type SessTime: str
|
1844
1843
|
:param _ConfirmTime: 复核时间
|
1845
1844
|
:type ConfirmTime: str
|
@@ -1987,7 +1986,6 @@ class Command(AbstractModel):
|
|
1987
1986
|
warnings.warn("parameter `SessTime` is deprecated", DeprecationWarning)
|
1988
1987
|
|
1989
1988
|
"""该命令所属会话的会话开始时间
|
1990
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1991
1989
|
:rtype: str
|
1992
1990
|
"""
|
1993
1991
|
return self._SessTime
|
@@ -8308,7 +8306,6 @@ class Domain(AbstractModel):
|
|
8308
8306
|
:param _DomainId: 网络域id
|
8309
8307
|
:type DomainId: str
|
8310
8308
|
:param _DomainName: 网络域名称
|
8311
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8312
8309
|
:type DomainName: str
|
8313
8310
|
:param _ResourceId: 堡垒机id
|
8314
8311
|
:type ResourceId: str
|
@@ -8358,7 +8355,6 @@ class Domain(AbstractModel):
|
|
8358
8355
|
@property
|
8359
8356
|
def DomainName(self):
|
8360
8357
|
"""网络域名称
|
8361
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8362
8358
|
:rtype: str
|
8363
8359
|
"""
|
8364
8360
|
return self._DomainName
|
@@ -11185,7 +11181,6 @@ class Resource(AbstractModel):
|
|
11185
11181
|
:param _LogDelivery: 日志投递规格信息
|
11186
11182
|
:type LogDelivery: str
|
11187
11183
|
:param _DeployModel: 部署模式
|
11188
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11189
11184
|
:type DeployModel: int
|
11190
11185
|
"""
|
11191
11186
|
self._ResourceId = None
|
@@ -11613,7 +11608,6 @@ class Resource(AbstractModel):
|
|
11613
11608
|
@property
|
11614
11609
|
def DeployModel(self):
|
11615
11610
|
"""部署模式
|
11616
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11617
11611
|
:rtype: int
|
11618
11612
|
"""
|
11619
11613
|
return self._DeployModel
|
@@ -12462,7 +12456,6 @@ class SearchCommandResult(AbstractModel):
|
|
12462
12456
|
:param _SessionTime: 该命令所属会话的会话开始时间
|
12463
12457
|
:type SessionTime: str
|
12464
12458
|
:param _SessTime: 该命令所属会话的会话开始时间(废弃,使用SessionTime)
|
12465
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12466
12459
|
:type SessTime: str
|
12467
12460
|
:param _ConfirmTime: 复核时间
|
12468
12461
|
:type ConfirmTime: str
|
@@ -12658,7 +12651,6 @@ class SearchCommandResult(AbstractModel):
|
|
12658
12651
|
warnings.warn("parameter `SessTime` is deprecated", DeprecationWarning)
|
12659
12652
|
|
12660
12653
|
"""该命令所属会话的会话开始时间(废弃,使用SessionTime)
|
12661
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12662
12654
|
:rtype: str
|
12663
12655
|
"""
|
12664
12656
|
return self._SessTime
|
@@ -6772,7 +6772,7 @@ class DescribeEmrOverviewMetricsRequest(AbstractModel):
|
|
6772
6772
|
r"""
|
6773
6773
|
:param _End: 结束时间
|
6774
6774
|
:type End: int
|
6775
|
-
:param _Metric:
|
6775
|
+
:param _Metric: 指标名,NODE.CPU:节点平均CPU利用率和总核数;NODE.CPU.SLHBASE:Serverless实例平均CPU利用率和总核数;HDFS.NN.CAPACITY:存储使用率和总量
|
6776
6776
|
:type Metric: str
|
6777
6777
|
:param _InstanceId: 集群id
|
6778
6778
|
:type InstanceId: str
|
@@ -6806,7 +6806,7 @@ class DescribeEmrOverviewMetricsRequest(AbstractModel):
|
|
6806
6806
|
|
6807
6807
|
@property
|
6808
6808
|
def Metric(self):
|
6809
|
-
"""
|
6809
|
+
"""指标名,NODE.CPU:节点平均CPU利用率和总核数;NODE.CPU.SLHBASE:Serverless实例平均CPU利用率和总核数;HDFS.NN.CAPACITY:存储使用率和总量
|
6810
6810
|
:rtype: str
|
6811
6811
|
"""
|
6812
6812
|
return self._Metric
|
@@ -23295,6 +23295,15 @@ class RenewInstancesInfo(AbstractModel):
|
|
23295
23295
|
:type Spec: str
|
23296
23296
|
:param _StorageType: 磁盘类型
|
23297
23297
|
:type StorageType: int
|
23298
|
+
:param _RootSize: 系统盘大小
|
23299
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
23300
|
+
:type RootSize: int
|
23301
|
+
:param _RootStorageType: 系统盘类型
|
23302
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
23303
|
+
:type RootStorageType: int
|
23304
|
+
:param _MCMultiDisk: 数据盘信息
|
23305
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
23306
|
+
:type MCMultiDisk: list of MultiDiskMC
|
23298
23307
|
"""
|
23299
23308
|
self._EmrResourceId = None
|
23300
23309
|
self._Flag = None
|
@@ -23305,6 +23314,9 @@ class RenewInstancesInfo(AbstractModel):
|
|
23305
23314
|
self._ExpireTime = None
|
23306
23315
|
self._Spec = None
|
23307
23316
|
self._StorageType = None
|
23317
|
+
self._RootSize = None
|
23318
|
+
self._RootStorageType = None
|
23319
|
+
self._MCMultiDisk = None
|
23308
23320
|
|
23309
23321
|
@property
|
23310
23322
|
def EmrResourceId(self):
|
@@ -23406,6 +23418,42 @@ class RenewInstancesInfo(AbstractModel):
|
|
23406
23418
|
def StorageType(self, StorageType):
|
23407
23419
|
self._StorageType = StorageType
|
23408
23420
|
|
23421
|
+
@property
|
23422
|
+
def RootSize(self):
|
23423
|
+
"""系统盘大小
|
23424
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
23425
|
+
:rtype: int
|
23426
|
+
"""
|
23427
|
+
return self._RootSize
|
23428
|
+
|
23429
|
+
@RootSize.setter
|
23430
|
+
def RootSize(self, RootSize):
|
23431
|
+
self._RootSize = RootSize
|
23432
|
+
|
23433
|
+
@property
|
23434
|
+
def RootStorageType(self):
|
23435
|
+
"""系统盘类型
|
23436
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
23437
|
+
:rtype: int
|
23438
|
+
"""
|
23439
|
+
return self._RootStorageType
|
23440
|
+
|
23441
|
+
@RootStorageType.setter
|
23442
|
+
def RootStorageType(self, RootStorageType):
|
23443
|
+
self._RootStorageType = RootStorageType
|
23444
|
+
|
23445
|
+
@property
|
23446
|
+
def MCMultiDisk(self):
|
23447
|
+
"""数据盘信息
|
23448
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
23449
|
+
:rtype: list of MultiDiskMC
|
23450
|
+
"""
|
23451
|
+
return self._MCMultiDisk
|
23452
|
+
|
23453
|
+
@MCMultiDisk.setter
|
23454
|
+
def MCMultiDisk(self, MCMultiDisk):
|
23455
|
+
self._MCMultiDisk = MCMultiDisk
|
23456
|
+
|
23409
23457
|
|
23410
23458
|
def _deserialize(self, params):
|
23411
23459
|
self._EmrResourceId = params.get("EmrResourceId")
|
@@ -23417,6 +23465,14 @@ class RenewInstancesInfo(AbstractModel):
|
|
23417
23465
|
self._ExpireTime = params.get("ExpireTime")
|
23418
23466
|
self._Spec = params.get("Spec")
|
23419
23467
|
self._StorageType = params.get("StorageType")
|
23468
|
+
self._RootSize = params.get("RootSize")
|
23469
|
+
self._RootStorageType = params.get("RootStorageType")
|
23470
|
+
if params.get("MCMultiDisk") is not None:
|
23471
|
+
self._MCMultiDisk = []
|
23472
|
+
for item in params.get("MCMultiDisk"):
|
23473
|
+
obj = MultiDiskMC()
|
23474
|
+
obj._deserialize(item)
|
23475
|
+
self._MCMultiDisk.append(obj)
|
23420
23476
|
memeber_set = set(params.keys())
|
23421
23477
|
for name, value in vars(self).items():
|
23422
23478
|
property_name = name[1:]
|
@@ -12934,7 +12934,7 @@ class CreateReleaseFlowRequest(AbstractModel):
|
|
12934
12934
|
如需更换原合同中的企业端签署人,可通过指定该签署人的RecipientId编号更换此企业端签署人。(可通过接口<a href="https://qian.tencent.com/developers/companyApis/queryFlows/DescribeFlowInfo/">DescribeFlowInfo</a>查询签署人的RecipientId编号)<br/>
|
12935
12935
|
|
12936
12936
|
注意:
|
12937
|
-
`只能更换自己企业的签署人,
|
12937
|
+
`只能更换自己企业的签署人, 不支持更换个人类型。`
|
12938
12938
|
`可以不指定替换签署人, 使用原流程的签署人 `
|
12939
12939
|
:type ReleasedApprovers: list of ReleasedApprover
|
12940
12940
|
:param _Deadline: 合同流程的签署截止时间,格式为Unix标准时间戳(秒),如果未设置签署截止时间,则默认为合同流程创建后的7天时截止。
|
@@ -13007,7 +13007,7 @@ class CreateReleaseFlowRequest(AbstractModel):
|
|
13007
13007
|
如需更换原合同中的企业端签署人,可通过指定该签署人的RecipientId编号更换此企业端签署人。(可通过接口<a href="https://qian.tencent.com/developers/companyApis/queryFlows/DescribeFlowInfo/">DescribeFlowInfo</a>查询签署人的RecipientId编号)<br/>
|
13008
13008
|
|
13009
13009
|
注意:
|
13010
|
-
`只能更换自己企业的签署人,
|
13010
|
+
`只能更换自己企业的签署人, 不支持更换个人类型。`
|
13011
13011
|
`可以不指定替换签署人, 使用原流程的签署人 `
|
13012
13012
|
:rtype: list of ReleasedApprover
|
13013
13013
|
"""
|
@@ -6565,7 +6565,7 @@ class ChannelCreateReleaseFlowRequest(AbstractModel):
|
|
6565
6565
|
|
6566
6566
|
注意:
|
6567
6567
|
<ul>
|
6568
|
-
<li
|
6568
|
+
<li>只能更换自己企业的签署人,不支持更换个人类型签署人</li>
|
6569
6569
|
<li>可以不指定替换签署人,使用原流程的签署人</li>
|
6570
6570
|
</ul>
|
6571
6571
|
:type ReleasedApprovers: list of ReleasedApprover
|
@@ -6646,7 +6646,7 @@ class ChannelCreateReleaseFlowRequest(AbstractModel):
|
|
6646
6646
|
|
6647
6647
|
注意:
|
6648
6648
|
<ul>
|
6649
|
-
<li
|
6649
|
+
<li>只能更换自己企业的签署人,不支持更换个人类型签署人</li>
|
6650
6650
|
<li>可以不指定替换签署人,使用原流程的签署人</li>
|
6651
6651
|
</ul>
|
6652
6652
|
:rtype: list of ReleasedApprover
|
@@ -17,6 +17,9 @@
|
|
17
17
|
# 欠费账户不能创建实例
|
18
18
|
FAILEDOPERATION_ARREARSACCOUNTCANNOTRUNINSTANCES = 'FailedOperation.ArrearsAccountCannotRunInstances'
|
19
19
|
|
20
|
+
# 资源不允许退还
|
21
|
+
FAILEDOPERATION_CANNOTRETURN = 'FailedOperation.CannotReturn'
|
22
|
+
|
20
23
|
# 并发操作实例失败
|
21
24
|
FAILEDOPERATION_OPERATEINSTANCEREPEATEDLY = 'FailedOperation.OperateInstanceRepeatedly'
|
22
25
|
|
@@ -35,6 +38,9 @@ INVALIDPARAMETERVALUE_APPLICATIONIDNOTFOUND = 'InvalidParameterValue.Application
|
|
35
38
|
# 算力套餐类型不存在
|
36
39
|
INVALIDPARAMETERVALUE_BUNDLETYPENOTFOUND = 'InvalidParameterValue.BundleTypeNotFound'
|
37
40
|
|
41
|
+
# 云盘大小需要大于应用所需云盘最小大小
|
42
|
+
INVALIDPARAMETERVALUE_DISKSIZEMUSTLARGERTHANAPPLICATIONMINREQUIREDSIZE = 'InvalidParameterValue.DiskSizeMustLargerThanApplicationMinRequiredSize'
|
43
|
+
|
38
44
|
# 列表入参中存在重复值
|
39
45
|
INVALIDPARAMETERVALUE_DUPLICATED = 'InvalidParameterValue.Duplicated'
|
40
46
|
|
@@ -50,6 +56,12 @@ INVALIDPARAMETERVALUE_INVALIDAPPLICATIONIDMALFORMED = 'InvalidParameterValue.Inv
|
|
50
56
|
# 应用类型application-type仅可以选择PUBLIC_APPLICATION或PRIVATE_APPLICATION。
|
51
57
|
INVALIDPARAMETERVALUE_INVALIDAPPLICATIONTYPE = 'InvalidParameterValue.InvalidApplicationType'
|
52
58
|
|
59
|
+
# 付费方式字段不符合规范
|
60
|
+
INVALIDPARAMETERVALUE_INVALIDCHARGETYPE = 'InvalidParameterValue.InvalidChargeType'
|
61
|
+
|
62
|
+
# 付费方式与时间单位不匹配
|
63
|
+
INVALIDPARAMETERVALUE_INVALIDCHARGETYPEANDTIMEUNIT = 'InvalidParameterValue.InvalidChargeTypeAndTimeUnit'
|
64
|
+
|
53
65
|
# 每次购买的实例数目不在合理范围内
|
54
66
|
INVALIDPARAMETERVALUE_INVALIDINSTANCECOUNT = 'InvalidParameterValue.InvalidInstanceCount'
|
55
67
|
|
@@ -89,6 +101,9 @@ UNAUTHORIZEDOPERATION_UNAUTHORIZEDNETWORKUSER = 'UnauthorizedOperation.Unauthori
|
|
89
101
|
# 客户未授权使用本产品
|
90
102
|
UNAUTHORIZEDOPERATION_UNAUTHORIZEDUSER = 'UnauthorizedOperation.UnauthorizedUser'
|
91
103
|
|
104
|
+
# 不允许同时操作预付费过期实例和未过期实例
|
105
|
+
UNSUPPORTEDOPERATION_CANNOTTERMINATEEXPIREDANDNOTEXPIREDINSTANCES = 'UnsupportedOperation.CannotTerminateExpiredAndNotExpiredInstances'
|
106
|
+
|
92
107
|
# 不支持对处于`Arrears`状态的实例执行当前操作。
|
93
108
|
UNSUPPORTEDOPERATION_INSTANCESTATEARREARS = 'UnsupportedOperation.InstanceStateArrears'
|
94
109
|
|
@@ -106,3 +121,6 @@ UNSUPPORTEDOPERATION_INSTANCESTATESTOPPEDNOCHARGE = 'UnsupportedOperation.Instan
|
|
106
121
|
|
107
122
|
# 不支持对处于`Terminated`状态的实例执行当前操作。
|
108
123
|
UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = 'UnsupportedOperation.InstanceStateTerminated'
|
124
|
+
|
125
|
+
# 不支持同时操作预付费和后付费实例
|
126
|
+
UNSUPPORTEDOPERATION_NOTSUPPORTTERMINATEPREPAIDANDPOSTPAID = 'UnsupportedOperation.NotSupportTerminatePrePaidAndPostPaid'
|
@@ -505,7 +505,7 @@ class DescribeInstancesRequest(AbstractModel):
|
|
505
505
|
r"""
|
506
506
|
:param _InstanceIds: 实例元组
|
507
507
|
:type InstanceIds: list of str
|
508
|
-
:param _Filters: 描述键值对过滤器,用于条件过滤查询。目前支持的过滤器有:instance-id,实例id;instance-state
|
508
|
+
:param _Filters: 描述键值对过滤器,用于条件过滤查询。目前支持的过滤器有:instance-id,实例id;instance-state,实例状态;charge-type,付费方式;public-ip-address,公网IP过滤
|
509
509
|
:type Filters: list of Filter
|
510
510
|
:param _Offset: 偏移量,默认为0
|
511
511
|
|
@@ -531,7 +531,7 @@ class DescribeInstancesRequest(AbstractModel):
|
|
531
531
|
|
532
532
|
@property
|
533
533
|
def Filters(self):
|
534
|
-
"""描述键值对过滤器,用于条件过滤查询。目前支持的过滤器有:instance-id,实例id;instance-state
|
534
|
+
"""描述键值对过滤器,用于条件过滤查询。目前支持的过滤器有:instance-id,实例id;instance-state,实例状态;charge-type,付费方式;public-ip-address,公网IP过滤
|
535
535
|
:rtype: list of Filter
|
536
536
|
"""
|
537
537
|
return self._Filters
|
@@ -973,6 +973,10 @@ class InquirePriceRunInstancesRequest(AbstractModel):
|
|
973
973
|
:type ClientToken: str
|
974
974
|
:param _DryRun: DryRun为True就是只验接口连通性,默认为False
|
975
975
|
:type DryRun: bool
|
976
|
+
:param _InstanceChargeType: 付费方式,POSTPAID_BY_HOUR按量后付费,PREPAID_BY_MONTH预付费按月,PREPAID_BY_DAY预付费按天
|
977
|
+
:type InstanceChargeType: str
|
978
|
+
:param _InstanceChargePrepaid: 预付费参数
|
979
|
+
:type InstanceChargePrepaid: :class:`tencentcloud.hai.v20230812.models.InstanceChargePrepaid`
|
976
980
|
"""
|
977
981
|
self._ApplicationId = None
|
978
982
|
self._BundleType = None
|
@@ -981,6 +985,8 @@ class InquirePriceRunInstancesRequest(AbstractModel):
|
|
981
985
|
self._InstanceName = None
|
982
986
|
self._ClientToken = None
|
983
987
|
self._DryRun = None
|
988
|
+
self._InstanceChargeType = None
|
989
|
+
self._InstanceChargePrepaid = None
|
984
990
|
|
985
991
|
@property
|
986
992
|
def ApplicationId(self):
|
@@ -1059,6 +1065,28 @@ class InquirePriceRunInstancesRequest(AbstractModel):
|
|
1059
1065
|
def DryRun(self, DryRun):
|
1060
1066
|
self._DryRun = DryRun
|
1061
1067
|
|
1068
|
+
@property
|
1069
|
+
def InstanceChargeType(self):
|
1070
|
+
"""付费方式,POSTPAID_BY_HOUR按量后付费,PREPAID_BY_MONTH预付费按月,PREPAID_BY_DAY预付费按天
|
1071
|
+
:rtype: str
|
1072
|
+
"""
|
1073
|
+
return self._InstanceChargeType
|
1074
|
+
|
1075
|
+
@InstanceChargeType.setter
|
1076
|
+
def InstanceChargeType(self, InstanceChargeType):
|
1077
|
+
self._InstanceChargeType = InstanceChargeType
|
1078
|
+
|
1079
|
+
@property
|
1080
|
+
def InstanceChargePrepaid(self):
|
1081
|
+
"""预付费参数
|
1082
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.InstanceChargePrepaid`
|
1083
|
+
"""
|
1084
|
+
return self._InstanceChargePrepaid
|
1085
|
+
|
1086
|
+
@InstanceChargePrepaid.setter
|
1087
|
+
def InstanceChargePrepaid(self, InstanceChargePrepaid):
|
1088
|
+
self._InstanceChargePrepaid = InstanceChargePrepaid
|
1089
|
+
|
1062
1090
|
|
1063
1091
|
def _deserialize(self, params):
|
1064
1092
|
self._ApplicationId = params.get("ApplicationId")
|
@@ -1070,6 +1098,10 @@ class InquirePriceRunInstancesRequest(AbstractModel):
|
|
1070
1098
|
self._InstanceName = params.get("InstanceName")
|
1071
1099
|
self._ClientToken = params.get("ClientToken")
|
1072
1100
|
self._DryRun = params.get("DryRun")
|
1101
|
+
self._InstanceChargeType = params.get("InstanceChargeType")
|
1102
|
+
if params.get("InstanceChargePrepaid") is not None:
|
1103
|
+
self._InstanceChargePrepaid = InstanceChargePrepaid()
|
1104
|
+
self._InstanceChargePrepaid._deserialize(params.get("InstanceChargePrepaid"))
|
1073
1105
|
memeber_set = set(params.keys())
|
1074
1106
|
for name, value in vars(self).items():
|
1075
1107
|
property_name = name[1:]
|
@@ -1559,6 +1591,82 @@ FAILED:表示操作失败
|
|
1559
1591
|
|
1560
1592
|
|
1561
1593
|
|
1594
|
+
class InstanceChargePrepaid(AbstractModel):
|
1595
|
+
"""实例预付费入参
|
1596
|
+
|
1597
|
+
"""
|
1598
|
+
|
1599
|
+
def __init__(self):
|
1600
|
+
r"""
|
1601
|
+
:param _Period: 时长,默认值:1
|
1602
|
+
:type Period: int
|
1603
|
+
:param _RenewFlag: 续费标志可选参数:
|
1604
|
+
NOTIFY_AND_MANUAL_RENEW:表示默认状态(用户未设置,即初始状态:若用户有预付费不停服特权,也会对该值进行自动续费)
|
1605
|
+
NOTIFY_AND_AUTO_RENEW:表示自动续费
|
1606
|
+
DISABLE_NOTIFY_AND_MANUAL_RENEW:表示明确不自动续费(用户设置)
|
1607
|
+
默认值:NOTIFY_AND_MANUAL_RENEW
|
1608
|
+
|
1609
|
+
:type RenewFlag: str
|
1610
|
+
:param _TimeUnit: 时长单位,默认值MONTH
|
1611
|
+
:type TimeUnit: str
|
1612
|
+
"""
|
1613
|
+
self._Period = None
|
1614
|
+
self._RenewFlag = None
|
1615
|
+
self._TimeUnit = None
|
1616
|
+
|
1617
|
+
@property
|
1618
|
+
def Period(self):
|
1619
|
+
"""时长,默认值:1
|
1620
|
+
:rtype: int
|
1621
|
+
"""
|
1622
|
+
return self._Period
|
1623
|
+
|
1624
|
+
@Period.setter
|
1625
|
+
def Period(self, Period):
|
1626
|
+
self._Period = Period
|
1627
|
+
|
1628
|
+
@property
|
1629
|
+
def RenewFlag(self):
|
1630
|
+
"""续费标志可选参数:
|
1631
|
+
NOTIFY_AND_MANUAL_RENEW:表示默认状态(用户未设置,即初始状态:若用户有预付费不停服特权,也会对该值进行自动续费)
|
1632
|
+
NOTIFY_AND_AUTO_RENEW:表示自动续费
|
1633
|
+
DISABLE_NOTIFY_AND_MANUAL_RENEW:表示明确不自动续费(用户设置)
|
1634
|
+
默认值:NOTIFY_AND_MANUAL_RENEW
|
1635
|
+
|
1636
|
+
:rtype: str
|
1637
|
+
"""
|
1638
|
+
return self._RenewFlag
|
1639
|
+
|
1640
|
+
@RenewFlag.setter
|
1641
|
+
def RenewFlag(self, RenewFlag):
|
1642
|
+
self._RenewFlag = RenewFlag
|
1643
|
+
|
1644
|
+
@property
|
1645
|
+
def TimeUnit(self):
|
1646
|
+
"""时长单位,默认值MONTH
|
1647
|
+
:rtype: str
|
1648
|
+
"""
|
1649
|
+
return self._TimeUnit
|
1650
|
+
|
1651
|
+
@TimeUnit.setter
|
1652
|
+
def TimeUnit(self, TimeUnit):
|
1653
|
+
self._TimeUnit = TimeUnit
|
1654
|
+
|
1655
|
+
|
1656
|
+
def _deserialize(self, params):
|
1657
|
+
self._Period = params.get("Period")
|
1658
|
+
self._RenewFlag = params.get("RenewFlag")
|
1659
|
+
self._TimeUnit = params.get("TimeUnit")
|
1660
|
+
memeber_set = set(params.keys())
|
1661
|
+
for name, value in vars(self).items():
|
1662
|
+
property_name = name[1:]
|
1663
|
+
if property_name in memeber_set:
|
1664
|
+
memeber_set.remove(property_name)
|
1665
|
+
if len(memeber_set) > 0:
|
1666
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1667
|
+
|
1668
|
+
|
1669
|
+
|
1562
1670
|
class ItemPrice(AbstractModel):
|
1563
1671
|
"""套餐价格
|
1564
1672
|
|
@@ -1575,7 +1683,7 @@ class ItemPrice(AbstractModel):
|
|
1575
1683
|
:param _Discount: 折扣
|
1576
1684
|
注意:此字段可能返回 null,表示取不到有效值。
|
1577
1685
|
:type Discount: float
|
1578
|
-
:param _ChargeUnit:
|
1686
|
+
:param _ChargeUnit: 单位:时/月
|
1579
1687
|
|
1580
1688
|
注意:此字段可能返回 null,表示取不到有效值。
|
1581
1689
|
:type ChargeUnit: str
|
@@ -1627,7 +1735,7 @@ class ItemPrice(AbstractModel):
|
|
1627
1735
|
|
1628
1736
|
@property
|
1629
1737
|
def ChargeUnit(self):
|
1630
|
-
"""
|
1738
|
+
"""单位:时/月
|
1631
1739
|
|
1632
1740
|
注意:此字段可能返回 null,表示取不到有效值。
|
1633
1741
|
:rtype: str
|
@@ -1667,6 +1775,101 @@ class ItemPrice(AbstractModel):
|
|
1667
1775
|
|
1668
1776
|
|
1669
1777
|
|
1778
|
+
class ItemPriceDetail(AbstractModel):
|
1779
|
+
"""分实例价格
|
1780
|
+
|
1781
|
+
"""
|
1782
|
+
|
1783
|
+
def __init__(self):
|
1784
|
+
r"""
|
1785
|
+
:param _InstanceId: 实例id
|
1786
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1787
|
+
:type InstanceId: str
|
1788
|
+
:param _InstancePrice: 实例价格详情
|
1789
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1790
|
+
:type InstancePrice: :class:`tencentcloud.hai.v20230812.models.ItemPrice`
|
1791
|
+
:param _CloudDiskPrice: 磁盘价格详情
|
1792
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1793
|
+
:type CloudDiskPrice: :class:`tencentcloud.hai.v20230812.models.ItemPrice`
|
1794
|
+
:param _InstanceTotalPrice: 该实例的总价钱
|
1795
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1796
|
+
:type InstanceTotalPrice: :class:`tencentcloud.hai.v20230812.models.ItemPrice`
|
1797
|
+
"""
|
1798
|
+
self._InstanceId = None
|
1799
|
+
self._InstancePrice = None
|
1800
|
+
self._CloudDiskPrice = None
|
1801
|
+
self._InstanceTotalPrice = None
|
1802
|
+
|
1803
|
+
@property
|
1804
|
+
def InstanceId(self):
|
1805
|
+
"""实例id
|
1806
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1807
|
+
:rtype: str
|
1808
|
+
"""
|
1809
|
+
return self._InstanceId
|
1810
|
+
|
1811
|
+
@InstanceId.setter
|
1812
|
+
def InstanceId(self, InstanceId):
|
1813
|
+
self._InstanceId = InstanceId
|
1814
|
+
|
1815
|
+
@property
|
1816
|
+
def InstancePrice(self):
|
1817
|
+
"""实例价格详情
|
1818
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1819
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.ItemPrice`
|
1820
|
+
"""
|
1821
|
+
return self._InstancePrice
|
1822
|
+
|
1823
|
+
@InstancePrice.setter
|
1824
|
+
def InstancePrice(self, InstancePrice):
|
1825
|
+
self._InstancePrice = InstancePrice
|
1826
|
+
|
1827
|
+
@property
|
1828
|
+
def CloudDiskPrice(self):
|
1829
|
+
"""磁盘价格详情
|
1830
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1831
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.ItemPrice`
|
1832
|
+
"""
|
1833
|
+
return self._CloudDiskPrice
|
1834
|
+
|
1835
|
+
@CloudDiskPrice.setter
|
1836
|
+
def CloudDiskPrice(self, CloudDiskPrice):
|
1837
|
+
self._CloudDiskPrice = CloudDiskPrice
|
1838
|
+
|
1839
|
+
@property
|
1840
|
+
def InstanceTotalPrice(self):
|
1841
|
+
"""该实例的总价钱
|
1842
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1843
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.ItemPrice`
|
1844
|
+
"""
|
1845
|
+
return self._InstanceTotalPrice
|
1846
|
+
|
1847
|
+
@InstanceTotalPrice.setter
|
1848
|
+
def InstanceTotalPrice(self, InstanceTotalPrice):
|
1849
|
+
self._InstanceTotalPrice = InstanceTotalPrice
|
1850
|
+
|
1851
|
+
|
1852
|
+
def _deserialize(self, params):
|
1853
|
+
self._InstanceId = params.get("InstanceId")
|
1854
|
+
if params.get("InstancePrice") is not None:
|
1855
|
+
self._InstancePrice = ItemPrice()
|
1856
|
+
self._InstancePrice._deserialize(params.get("InstancePrice"))
|
1857
|
+
if params.get("CloudDiskPrice") is not None:
|
1858
|
+
self._CloudDiskPrice = ItemPrice()
|
1859
|
+
self._CloudDiskPrice._deserialize(params.get("CloudDiskPrice"))
|
1860
|
+
if params.get("InstanceTotalPrice") is not None:
|
1861
|
+
self._InstanceTotalPrice = ItemPrice()
|
1862
|
+
self._InstanceTotalPrice._deserialize(params.get("InstanceTotalPrice"))
|
1863
|
+
memeber_set = set(params.keys())
|
1864
|
+
for name, value in vars(self).items():
|
1865
|
+
property_name = name[1:]
|
1866
|
+
if property_name in memeber_set:
|
1867
|
+
memeber_set.remove(property_name)
|
1868
|
+
if len(memeber_set) > 0:
|
1869
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1870
|
+
|
1871
|
+
|
1872
|
+
|
1670
1873
|
class LoginService(AbstractModel):
|
1671
1874
|
"""登录服务详情
|
1672
1875
|
|
@@ -1879,9 +2082,13 @@ class Price(AbstractModel):
|
|
1879
2082
|
:param _CloudDiskPrice: 云盘价格信息
|
1880
2083
|
注意:此字段可能返回 null,表示取不到有效值。
|
1881
2084
|
:type CloudDiskPrice: :class:`tencentcloud.hai.v20230812.models.ItemPrice`
|
2085
|
+
:param _PriceDetailSet: 分实例价格
|
2086
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2087
|
+
:type PriceDetailSet: list of ItemPriceDetail
|
1882
2088
|
"""
|
1883
2089
|
self._InstancePrice = None
|
1884
2090
|
self._CloudDiskPrice = None
|
2091
|
+
self._PriceDetailSet = None
|
1885
2092
|
|
1886
2093
|
@property
|
1887
2094
|
def InstancePrice(self):
|
@@ -1907,6 +2114,18 @@ class Price(AbstractModel):
|
|
1907
2114
|
def CloudDiskPrice(self, CloudDiskPrice):
|
1908
2115
|
self._CloudDiskPrice = CloudDiskPrice
|
1909
2116
|
|
2117
|
+
@property
|
2118
|
+
def PriceDetailSet(self):
|
2119
|
+
"""分实例价格
|
2120
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2121
|
+
:rtype: list of ItemPriceDetail
|
2122
|
+
"""
|
2123
|
+
return self._PriceDetailSet
|
2124
|
+
|
2125
|
+
@PriceDetailSet.setter
|
2126
|
+
def PriceDetailSet(self, PriceDetailSet):
|
2127
|
+
self._PriceDetailSet = PriceDetailSet
|
2128
|
+
|
1910
2129
|
|
1911
2130
|
def _deserialize(self, params):
|
1912
2131
|
if params.get("InstancePrice") is not None:
|
@@ -1915,6 +2134,12 @@ class Price(AbstractModel):
|
|
1915
2134
|
if params.get("CloudDiskPrice") is not None:
|
1916
2135
|
self._CloudDiskPrice = ItemPrice()
|
1917
2136
|
self._CloudDiskPrice._deserialize(params.get("CloudDiskPrice"))
|
2137
|
+
if params.get("PriceDetailSet") is not None:
|
2138
|
+
self._PriceDetailSet = []
|
2139
|
+
for item in params.get("PriceDetailSet"):
|
2140
|
+
obj = ItemPriceDetail()
|
2141
|
+
obj._deserialize(item)
|
2142
|
+
self._PriceDetailSet.append(obj)
|
1918
2143
|
memeber_set = set(params.keys())
|
1919
2144
|
for name, value in vars(self).items():
|
1920
2145
|
property_name = name[1:]
|
@@ -20,7 +20,7 @@ FAILEDOPERATION = 'FailedOperation'
|
|
20
20
|
# 控制台服务异常。
|
21
21
|
FAILEDOPERATION_CONSOLESERVERERROR = 'FailedOperation.ConsoleServerError'
|
22
22
|
|
23
|
-
# LogoUrl或LogoImage有误,水印图下载失败。
|
23
|
+
# LogoUrl 或 LogoImage 有误,水印图下载失败。
|
24
24
|
FAILEDOPERATION_DOWNLOADERROR = 'FailedOperation.DownloadError'
|
25
25
|
|
26
26
|
# 引擎层请求超时;请稍后重试。
|
@@ -41,7 +41,7 @@ FAILEDOPERATION_GENERATEIMAGEFAILED = 'FailedOperation.GenerateImageFailed'
|
|
41
41
|
# 水印图解码失败
|
42
42
|
FAILEDOPERATION_IMAGEDECODEFAILED = 'FailedOperation.ImageDecodeFailed'
|
43
43
|
|
44
|
-
# LogoUrl或LogoImage有误,水印图下载失败。
|
44
|
+
# LogoUrl 或 LogoImage 有误,水印图下载失败。
|
45
45
|
FAILEDOPERATION_IMAGEDOWNLOADERROR = 'FailedOperation.ImageDownloadError'
|
46
46
|
|
47
47
|
# 合作伙伴账号不允许开通,请更换账号。
|
@@ -168,7 +168,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
168
168
|
4. 未传值时默认关闭。
|
169
169
|
5. 开启并搜索到对应的多媒体信息时,会输出对应的多媒体地址,可以定制个性化的图文消息。
|
170
170
|
:type EnableMultimedia: bool
|
171
|
-
:param _EnableDeepSearch:
|
171
|
+
:param _EnableDeepSearch: 是否开启深度研究该问题,默认是false,在值为true且命中深度研究该问题时,会返回深度研究该问题信息。
|
172
172
|
:type EnableDeepSearch: bool
|
173
173
|
:param _Seed: 说明: 1. 确保模型的输出是可复现的。 2. 取值区间为非0正整数,最大值10000。 3. 非必要不建议使用,不合理的取值会影响效果。
|
174
174
|
:type Seed: int
|
@@ -397,7 +397,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
397
397
|
|
398
398
|
@property
|
399
399
|
def EnableDeepSearch(self):
|
400
|
-
"""
|
400
|
+
"""是否开启深度研究该问题,默认是false,在值为true且命中深度研究该问题时,会返回深度研究该问题信息。
|
401
401
|
:rtype: bool
|
402
402
|
"""
|
403
403
|
return self._EnableDeepSearch
|
@@ -1692,8 +1692,11 @@ class GetEmbeddingRequest(AbstractModel):
|
|
1692
1692
|
r"""
|
1693
1693
|
:param _Input: 输入文本。总长度不超过 1024 个 Token,超过则会截断最后面的内容。
|
1694
1694
|
:type Input: str
|
1695
|
+
:param _InputList: 输入文本数组。输入数组总长度不超过 200 。
|
1696
|
+
:type InputList: list of str
|
1695
1697
|
"""
|
1696
1698
|
self._Input = None
|
1699
|
+
self._InputList = None
|
1697
1700
|
|
1698
1701
|
@property
|
1699
1702
|
def Input(self):
|
@@ -1706,9 +1709,21 @@ class GetEmbeddingRequest(AbstractModel):
|
|
1706
1709
|
def Input(self, Input):
|
1707
1710
|
self._Input = Input
|
1708
1711
|
|
1712
|
+
@property
|
1713
|
+
def InputList(self):
|
1714
|
+
"""输入文本数组。输入数组总长度不超过 200 。
|
1715
|
+
:rtype: list of str
|
1716
|
+
"""
|
1717
|
+
return self._InputList
|
1718
|
+
|
1719
|
+
@InputList.setter
|
1720
|
+
def InputList(self, InputList):
|
1721
|
+
self._InputList = InputList
|
1722
|
+
|
1709
1723
|
|
1710
1724
|
def _deserialize(self, params):
|
1711
1725
|
self._Input = params.get("Input")
|
1726
|
+
self._InputList = params.get("InputList")
|
1712
1727
|
memeber_set = set(params.keys())
|
1713
1728
|
for name, value in vars(self).items():
|
1714
1729
|
property_name = name[1:]
|
@@ -1726,7 +1741,7 @@ class GetEmbeddingResponse(AbstractModel):
|
|
1726
1741
|
|
1727
1742
|
def __init__(self):
|
1728
1743
|
r"""
|
1729
|
-
:param _Data: 返回的 Embedding
|
1744
|
+
:param _Data: 返回的 Embedding 信息。
|
1730
1745
|
:type Data: list of EmbeddingData
|
1731
1746
|
:param _Usage: Token 使用计数,按照总 Token 数量收费。
|
1732
1747
|
:type Usage: :class:`tencentcloud.hunyuan.v20230901.models.EmbeddingUsage`
|
@@ -1739,7 +1754,7 @@ class GetEmbeddingResponse(AbstractModel):
|
|
1739
1754
|
|
1740
1755
|
@property
|
1741
1756
|
def Data(self):
|
1742
|
-
"""返回的 Embedding
|
1757
|
+
"""返回的 Embedding 信息。
|
1743
1758
|
:rtype: list of EmbeddingData
|
1744
1759
|
"""
|
1745
1760
|
return self._Data
|