tencentcloud-sdk-python 3.0.1190__py2.py3-none-any.whl → 3.0.1191__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/cdc/v20201214/models.py +103 -0
- tencentcloud/cvm/v20170312/errorcodes.py +18 -0
- tencentcloud/cvm/v20170312/models.py +10 -10
- tencentcloud/dlc/v20210125/models.py +25 -1
- tencentcloud/es/v20180416/models.py +25 -1
- tencentcloud/gaap/v20180529/models.py +25 -0
- tencentcloud/hunyuan/v20230901/models.py +12 -0
- tencentcloud/lcic/v20220817/models.py +25 -1
- tencentcloud/lke/v20231130/lke_client.py +1 -1
- tencentcloud/monitor/v20180724/models.py +102 -33
- tencentcloud/tdmq/v20200217/models.py +422 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +69 -0
- tencentcloud/tsi/v20210325/tsi_client.py +14 -1
- tencentcloud/vpc/v20170312/models.py +168 -19
- {tencentcloud_sdk_python-3.0.1190.dist-info → tencentcloud_sdk_python-3.0.1191.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1190.dist-info → tencentcloud_sdk_python-3.0.1191.dist-info}/RECORD +20 -20
- {tencentcloud_sdk_python-3.0.1190.dist-info → tencentcloud_sdk_python-3.0.1191.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1190.dist-info → tencentcloud_sdk_python-3.0.1191.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1190.dist-info → tencentcloud_sdk_python-3.0.1191.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -1116,6 +1116,27 @@ class DedicatedClusterOrder(AbstractModel):
|
|
1116
1116
|
:param _OrderType: 订单类型
|
1117
1117
|
注意:此字段可能返回 null,表示取不到有效值。
|
1118
1118
|
:type OrderType: str
|
1119
|
+
:param _CheckStatus: 验收状态
|
1120
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1121
|
+
:type CheckStatus: str
|
1122
|
+
:param _DeliverExpectTime: 交付预期时间
|
1123
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1124
|
+
:type DeliverExpectTime: str
|
1125
|
+
:param _DeliverFinishTime: 交付实际完成时间
|
1126
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1127
|
+
:type DeliverFinishTime: str
|
1128
|
+
:param _CheckExpectTime: 验收预期时间
|
1129
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1130
|
+
:type CheckExpectTime: str
|
1131
|
+
:param _CheckFinishTime: 验收实际完成时间
|
1132
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1133
|
+
:type CheckFinishTime: str
|
1134
|
+
:param _OrderSLA: 订单SLA
|
1135
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1136
|
+
:type OrderSLA: str
|
1137
|
+
:param _OrderPayPlan: 订单支付计划
|
1138
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1139
|
+
:type OrderPayPlan: str
|
1119
1140
|
"""
|
1120
1141
|
self._DedicatedClusterId = None
|
1121
1142
|
self._DedicatedClusterTypeId = None
|
@@ -1137,6 +1158,13 @@ class DedicatedClusterOrder(AbstractModel):
|
|
1137
1158
|
self._TimeUnit = None
|
1138
1159
|
self._TimeSpan = None
|
1139
1160
|
self._OrderType = None
|
1161
|
+
self._CheckStatus = None
|
1162
|
+
self._DeliverExpectTime = None
|
1163
|
+
self._DeliverFinishTime = None
|
1164
|
+
self._CheckExpectTime = None
|
1165
|
+
self._CheckFinishTime = None
|
1166
|
+
self._OrderSLA = None
|
1167
|
+
self._OrderPayPlan = None
|
1140
1168
|
|
1141
1169
|
@property
|
1142
1170
|
def DedicatedClusterId(self):
|
@@ -1298,6 +1326,62 @@ class DedicatedClusterOrder(AbstractModel):
|
|
1298
1326
|
def OrderType(self, OrderType):
|
1299
1327
|
self._OrderType = OrderType
|
1300
1328
|
|
1329
|
+
@property
|
1330
|
+
def CheckStatus(self):
|
1331
|
+
return self._CheckStatus
|
1332
|
+
|
1333
|
+
@CheckStatus.setter
|
1334
|
+
def CheckStatus(self, CheckStatus):
|
1335
|
+
self._CheckStatus = CheckStatus
|
1336
|
+
|
1337
|
+
@property
|
1338
|
+
def DeliverExpectTime(self):
|
1339
|
+
return self._DeliverExpectTime
|
1340
|
+
|
1341
|
+
@DeliverExpectTime.setter
|
1342
|
+
def DeliverExpectTime(self, DeliverExpectTime):
|
1343
|
+
self._DeliverExpectTime = DeliverExpectTime
|
1344
|
+
|
1345
|
+
@property
|
1346
|
+
def DeliverFinishTime(self):
|
1347
|
+
return self._DeliverFinishTime
|
1348
|
+
|
1349
|
+
@DeliverFinishTime.setter
|
1350
|
+
def DeliverFinishTime(self, DeliverFinishTime):
|
1351
|
+
self._DeliverFinishTime = DeliverFinishTime
|
1352
|
+
|
1353
|
+
@property
|
1354
|
+
def CheckExpectTime(self):
|
1355
|
+
return self._CheckExpectTime
|
1356
|
+
|
1357
|
+
@CheckExpectTime.setter
|
1358
|
+
def CheckExpectTime(self, CheckExpectTime):
|
1359
|
+
self._CheckExpectTime = CheckExpectTime
|
1360
|
+
|
1361
|
+
@property
|
1362
|
+
def CheckFinishTime(self):
|
1363
|
+
return self._CheckFinishTime
|
1364
|
+
|
1365
|
+
@CheckFinishTime.setter
|
1366
|
+
def CheckFinishTime(self, CheckFinishTime):
|
1367
|
+
self._CheckFinishTime = CheckFinishTime
|
1368
|
+
|
1369
|
+
@property
|
1370
|
+
def OrderSLA(self):
|
1371
|
+
return self._OrderSLA
|
1372
|
+
|
1373
|
+
@OrderSLA.setter
|
1374
|
+
def OrderSLA(self, OrderSLA):
|
1375
|
+
self._OrderSLA = OrderSLA
|
1376
|
+
|
1377
|
+
@property
|
1378
|
+
def OrderPayPlan(self):
|
1379
|
+
return self._OrderPayPlan
|
1380
|
+
|
1381
|
+
@OrderPayPlan.setter
|
1382
|
+
def OrderPayPlan(self, OrderPayPlan):
|
1383
|
+
self._OrderPayPlan = OrderPayPlan
|
1384
|
+
|
1301
1385
|
|
1302
1386
|
def _deserialize(self, params):
|
1303
1387
|
self._DedicatedClusterId = params.get("DedicatedClusterId")
|
@@ -1325,6 +1409,13 @@ class DedicatedClusterOrder(AbstractModel):
|
|
1325
1409
|
self._TimeUnit = params.get("TimeUnit")
|
1326
1410
|
self._TimeSpan = params.get("TimeSpan")
|
1327
1411
|
self._OrderType = params.get("OrderType")
|
1412
|
+
self._CheckStatus = params.get("CheckStatus")
|
1413
|
+
self._DeliverExpectTime = params.get("DeliverExpectTime")
|
1414
|
+
self._DeliverFinishTime = params.get("DeliverFinishTime")
|
1415
|
+
self._CheckExpectTime = params.get("CheckExpectTime")
|
1416
|
+
self._CheckFinishTime = params.get("CheckFinishTime")
|
1417
|
+
self._OrderSLA = params.get("OrderSLA")
|
1418
|
+
self._OrderPayPlan = params.get("OrderPayPlan")
|
1328
1419
|
memeber_set = set(params.keys())
|
1329
1420
|
for name, value in vars(self).items():
|
1330
1421
|
property_name = name[1:]
|
@@ -2452,6 +2543,8 @@ class DescribeDedicatedClusterOrdersRequest(AbstractModel):
|
|
2452
2543
|
:type Status: str
|
2453
2544
|
:param _ActionType: 订单类型为过滤条件:CREATE EXTEND
|
2454
2545
|
:type ActionType: str
|
2546
|
+
:param _OrderTypes: 订单类型列表
|
2547
|
+
:type OrderTypes: list of str
|
2455
2548
|
"""
|
2456
2549
|
self._DedicatedClusterIds = None
|
2457
2550
|
self._DedicatedClusterOrderIds = None
|
@@ -2459,6 +2552,7 @@ class DescribeDedicatedClusterOrdersRequest(AbstractModel):
|
|
2459
2552
|
self._Limit = None
|
2460
2553
|
self._Status = None
|
2461
2554
|
self._ActionType = None
|
2555
|
+
self._OrderTypes = None
|
2462
2556
|
|
2463
2557
|
@property
|
2464
2558
|
def DedicatedClusterIds(self):
|
@@ -2508,6 +2602,14 @@ class DescribeDedicatedClusterOrdersRequest(AbstractModel):
|
|
2508
2602
|
def ActionType(self, ActionType):
|
2509
2603
|
self._ActionType = ActionType
|
2510
2604
|
|
2605
|
+
@property
|
2606
|
+
def OrderTypes(self):
|
2607
|
+
return self._OrderTypes
|
2608
|
+
|
2609
|
+
@OrderTypes.setter
|
2610
|
+
def OrderTypes(self, OrderTypes):
|
2611
|
+
self._OrderTypes = OrderTypes
|
2612
|
+
|
2511
2613
|
|
2512
2614
|
def _deserialize(self, params):
|
2513
2615
|
self._DedicatedClusterIds = params.get("DedicatedClusterIds")
|
@@ -2516,6 +2618,7 @@ class DescribeDedicatedClusterOrdersRequest(AbstractModel):
|
|
2516
2618
|
self._Limit = params.get("Limit")
|
2517
2619
|
self._Status = params.get("Status")
|
2518
2620
|
self._ActionType = params.get("ActionType")
|
2621
|
+
self._OrderTypes = params.get("OrderTypes")
|
2519
2622
|
memeber_set = set(params.keys())
|
2520
2623
|
for name, value in vars(self).items():
|
2521
2624
|
property_name = name[1:]
|
@@ -236,6 +236,15 @@ INVALIDPARAMETER_DUPLICATESYSTEMSNAPSHOTS = 'InvalidParameter.DuplicateSystemSna
|
|
236
236
|
# 边缘可用区指定三网外网IP参数需要先指定主ip外网IP参数。
|
237
237
|
INVALIDPARAMETER_EDGEZONEMISSINTERNETACCESSIBLE = 'InvalidParameter.EdgeZoneMissInternetAccessible'
|
238
238
|
|
239
|
+
# 指定的CDH母机不支持自定义类型的子机规格
|
240
|
+
INVALIDPARAMETER_HOSTIDCUSTOMIZEDINSTANCETYPENOTSUPPORT = 'InvalidParameter.HostIdCustomizedInstanceTypeNotSupport'
|
241
|
+
|
242
|
+
# 指定的CDH母机不支持该子机机型规格
|
243
|
+
INVALIDPARAMETER_HOSTIDINSTANCETYPENOTSUPPORT = 'InvalidParameter.HostIdInstanceTypeNotSupport'
|
244
|
+
|
245
|
+
# 指定的CDH母机不支持标准类型的子机规格
|
246
|
+
INVALIDPARAMETER_HOSTIDSTANDARDINSTANCETYPENOTSUPPORT = 'InvalidParameter.HostIdStandardInstanceTypeNotSupport'
|
247
|
+
|
239
248
|
# 该主机当前状态不支持该操作。
|
240
249
|
INVALIDPARAMETER_HOSTIDSTATUSNOTSUPPORT = 'InvalidParameter.HostIdStatusNotSupport'
|
241
250
|
|
@@ -248,6 +257,9 @@ INVALIDPARAMETER_IMAGEIDSSNAPSHOTIDSMUSTONE = 'InvalidParameter.ImageIdsSnapshot
|
|
248
257
|
# 当前接口不支持实例镜像。
|
249
258
|
INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = 'InvalidParameter.InstanceImageNotSupport'
|
250
259
|
|
260
|
+
# 不存在支持指定子机规格的CDH母机
|
261
|
+
INVALIDPARAMETER_INSTANCETYPESUPPORTEDHOSTNOTFOUND = 'InvalidParameter.InstanceTypeSupportedHostNotFound'
|
262
|
+
|
251
263
|
# 不支持设置公网带宽相关信息。
|
252
264
|
INVALIDPARAMETER_INTERNETACCESSIBLENOTSUPPORTED = 'InvalidParameter.InternetAccessibleNotSupported'
|
253
265
|
|
@@ -941,6 +953,12 @@ UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = 'UnsupportedOperation.InstanceSta
|
|
941
953
|
# 请求不支持正在销毁的实例
|
942
954
|
UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = 'UnsupportedOperation.InstanceStateTerminating'
|
943
955
|
|
956
|
+
# 实例类型不支持设置`EnableJumboFrame` 状态
|
957
|
+
UNSUPPORTEDOPERATION_INSTANCETYPENOTSUPPORTJUMBOFRAME = 'UnsupportedOperation.InstanceTypeNotSupportJumboFrame'
|
958
|
+
|
959
|
+
# 不支持不重启情况下修改Jumbo Frame状态
|
960
|
+
UNSUPPORTEDOPERATION_INSTANCESENABLEJUMBOWITHOUTREBOOT = 'UnsupportedOperation.InstancesEnableJumboWithoutReboot'
|
961
|
+
|
944
962
|
# 不支持已启用销毁保护的实例,请先到设置实例销毁保护,关闭实例销毁保护,然后重试。
|
945
963
|
UNSUPPORTEDOPERATION_INSTANCESPROTECTED = 'UnsupportedOperation.InstancesProtected'
|
946
964
|
|
@@ -1777,7 +1777,7 @@ class CreateLaunchTemplateRequest(AbstractModel):
|
|
1777
1777
|
:param _LaunchTemplateVersionDescription: 实例启动模板版本描述。长度为2~256个英文或中文字符。
|
1778
1778
|
:type LaunchTemplateVersionDescription: str
|
1779
1779
|
:param _InstanceType: 实例机型。不同实例机型指定了不同的资源规格。
|
1780
|
-
<br><li>对于付费模式为PREPAID或POSTPAID\_BY\_HOUR的实例创建,具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)
|
1780
|
+
<br><li>对于付费模式为PREPAID或POSTPAID\_BY\_HOUR的实例创建,具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。若不指定该参数,则系统将根据当前地域的资源售卖情况动态指定默认机型。</li><li>对于付费模式为CDHPAID的实例创建,该参数以"CDH_"为前缀,根据CPU和内存配置生成,具体形式为:CDH_XCXG,例如对于创建CPU为1核,内存为1G大小的专用宿主机的实例,该参数应该为CDH_1C1G。</li>
|
1781
1781
|
:type InstanceType: str
|
1782
1782
|
:param _SystemDisk: 实例系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
|
1783
1783
|
:type SystemDisk: :class:`tencentcloud.cvm.v20170312.models.SystemDisk`
|
@@ -1789,7 +1789,7 @@ class CreateLaunchTemplateRequest(AbstractModel):
|
|
1789
1789
|
:type InternetAccessible: :class:`tencentcloud.cvm.v20170312.models.InternetAccessible`
|
1790
1790
|
:param _InstanceCount: 购买实例数量。包年包月实例取值范围:[1,300],按量计费实例取值范围:[1,100]。默认取值:1。指定购买实例的数量不能超过用户所能购买的剩余配额数量,具体配额相关限制详见[CVM实例购买限制](https://cloud.tencent.com/document/product/213/2664)。
|
1791
1791
|
:type InstanceCount: int
|
1792
|
-
:param _InstanceName: 实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server_{R:3}`,购买1台时,实例显示名称为`server_3`;购买2台时,实例显示名称分别为`server_3`,`server_4`。支持指定多个模式串`{R:x}`。</li><li>购买多台实例,如果不指定模式串,则在实例显示名称添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server_`,购买2台时,实例显示名称分别为`server_1`,`server_2`。</li><li>最多支持60
|
1792
|
+
:param _InstanceName: 实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server_{R:3}`,购买1台时,实例显示名称为`server_3`;购买2台时,实例显示名称分别为`server_3`,`server_4`。支持指定多个模式串`{R:x}`。</li><li>购买多台实例,如果不指定模式串,则在实例显示名称添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server_`,购买2台时,实例显示名称分别为`server_1`,`server_2`。</li><li>最多支持60个字符(包含模式串)。</li>
|
1793
1793
|
:type InstanceName: str
|
1794
1794
|
:param _LoginSettings: 实例登录设置。通过该参数可以设置实例的登录方式密码、密钥或保持镜像的原始登录设置。默认情况下会随机生成密码,并以站内信方式知会到用户。
|
1795
1795
|
:type LoginSettings: :class:`tencentcloud.cvm.v20170312.models.LoginSettings`
|
@@ -1799,7 +1799,7 @@ class CreateLaunchTemplateRequest(AbstractModel):
|
|
1799
1799
|
:type EnhancedService: :class:`tencentcloud.cvm.v20170312.models.EnhancedService`
|
1800
1800
|
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
1801
1801
|
:type ClientToken: str
|
1802
|
-
:param _HostName: 云服务器的主机名。<br><li>点号(.)和短横线(-)不能作为 HostName
|
1802
|
+
:param _HostName: 云服务器的主机名。<br><li>点号(.)和短横线(-)不能作为 HostName 的首尾字符,不能连续使用。</li><li>Windows 实例:名字符长度为[2, 15],允许字母(不限制大小写)、数字和短横线(-)组成,不支持点号(.),不能全是数字。</li><li>其他类型(Linux 等)实例:字符长度为[2, 60],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。</li>
|
1803
1803
|
:type HostName: str
|
1804
1804
|
:param _ActionTimer: 定时任务。通过该参数可以为实例指定定时任务,目前仅支持定时销毁。
|
1805
1805
|
:type ActionTimer: :class:`tencentcloud.cvm.v20170312.models.ActionTimer`
|
@@ -1821,11 +1821,11 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
1821
1821
|
:type CamRoleName: str
|
1822
1822
|
:param _HpcClusterId: 高性能计算集群ID。若创建的实例为高性能计算实例,需指定实例放置的集群,否则不可指定。
|
1823
1823
|
:type HpcClusterId: str
|
1824
|
-
:param _InstanceChargeType: 实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID
|
1824
|
+
: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。
|
1825
1825
|
:type InstanceChargeType: str
|
1826
1826
|
:param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
|
1827
1827
|
:type InstanceChargePrepaid: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
|
1828
|
-
:param _DisableApiTermination: 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api
|
1828
|
+
:param _DisableApiTermination: 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例</li><li>FALSE:表示关闭实例保护,允许通过api接口删除实例<br></li>默认取值:FALSE。
|
1829
1829
|
:type DisableApiTermination: bool
|
1830
1830
|
"""
|
1831
1831
|
self._LaunchTemplateName = None
|
@@ -2192,7 +2192,7 @@ class CreateLaunchTemplateVersionRequest(AbstractModel):
|
|
2192
2192
|
:param _LaunchTemplateVersionDescription: 实例启动模板版本描述。长度为2~256个英文或中文字符。
|
2193
2193
|
:type LaunchTemplateVersionDescription: str
|
2194
2194
|
:param _InstanceType: 实例机型。不同实例机型指定了不同的资源规格。
|
2195
|
-
<br><li>对于付费模式为PREPAID或POSTPAID\_BY\_HOUR的实例创建,具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)
|
2195
|
+
<br><li>对于付费模式为PREPAID或POSTPAID\_BY\_HOUR的实例创建,具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。若不指定该参数,则系统将根据当前地域的资源售卖情况动态指定默认机型。</li><br><li>对于付费模式为CDHPAID的实例创建,该参数以"CDH_"为前缀,根据CPU和内存配置生成,具体形式为:CDH_XCXG,例如对于创建CPU为1核,内存为1G大小的专用宿主机的实例,该参数应该为CDH_1C1G。</li>
|
2196
2196
|
:type InstanceType: str
|
2197
2197
|
:param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。镜像类型分为四种:<br/><li>公共镜像</li><li>自定义镜像</li><li>共享镜像</li><li>服务市场镜像</li><br/>可通过以下方式获取可用的镜像ID:<br/><li>`公共镜像`、`自定义镜像`、`共享镜像`的镜像ID可通过登录[控制台](https://console.cloud.tencent.com/cvm/image?rid=1&imageType=PUBLIC_IMAGE)查询;`服务镜像市场`的镜像ID可通过[云市场](https://market.cloud.tencent.com/list)查询。</li><li>通过调用接口 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) ,传入InstanceType获取当前机型支持的镜像列表,取返回信息中的`ImageId`字段。</li>
|
2198
2198
|
:type ImageId: str
|
@@ -2206,7 +2206,7 @@ class CreateLaunchTemplateVersionRequest(AbstractModel):
|
|
2206
2206
|
:type InternetAccessible: :class:`tencentcloud.cvm.v20170312.models.InternetAccessible`
|
2207
2207
|
:param _InstanceCount: 购买实例数量。包年包月实例取值范围:[1,300],按量计费实例取值范围:[1,100]。默认取值:1。指定购买实例的数量不能超过用户所能购买的剩余配额数量,具体配额相关限制详见[CVM实例购买限制](https://cloud.tencent.com/document/product/213/2664)。
|
2208
2208
|
:type InstanceCount: int
|
2209
|
-
:param _InstanceName: 实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server_{R:3}`,购买1台时,实例显示名称为`server_3`;购买2台时,实例显示名称分别为`server_3`,`server_4`。支持指定多个模式串`{R:x}`。</li><li>购买多台实例,如果不指定模式串,则在实例显示名称添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server_`,购买2台时,实例显示名称分别为`server_1`,`server_2`。</li><li>最多支持60
|
2209
|
+
:param _InstanceName: 实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server_{R:3}`,购买1台时,实例显示名称为`server_3`;购买2台时,实例显示名称分别为`server_3`,`server_4`。支持指定多个模式串`{R:x}`。</li><li>购买多台实例,如果不指定模式串,则在实例显示名称添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server_`,购买2台时,实例显示名称分别为`server_1`,`server_2`。</li><li>最多支持60个字符(包含模式串)。</li>
|
2210
2210
|
:type InstanceName: str
|
2211
2211
|
:param _LoginSettings: 实例登录设置。通过该参数可以设置实例的登录方式密码、密钥或保持镜像的原始登录设置。默认情况下会随机生成密码,并以站内信方式知会到用户。
|
2212
2212
|
:type LoginSettings: :class:`tencentcloud.cvm.v20170312.models.LoginSettings`
|
@@ -2216,7 +2216,7 @@ class CreateLaunchTemplateVersionRequest(AbstractModel):
|
|
2216
2216
|
:type EnhancedService: :class:`tencentcloud.cvm.v20170312.models.EnhancedService`
|
2217
2217
|
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
2218
2218
|
:type ClientToken: str
|
2219
|
-
:param _HostName: 云服务器的主机名。<br><li>点号(.)和短横线(-)不能作为 HostName
|
2219
|
+
:param _HostName: 云服务器的主机名。<br><li>点号(.)和短横线(-)不能作为 HostName 的首尾字符,不能连续使用。</li><br><li>Windows 实例:名字符长度为[2, 15],允许字母(不限制大小写)、数字和短横线(-)组成,不支持点号(.),不能全是数字。</li><br><li>其他类型(Linux 等)实例:字符长度为[2, 60],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。</li>
|
2220
2220
|
:type HostName: str
|
2221
2221
|
:param _ActionTimer: 定时任务。通过该参数可以为实例指定定时任务,目前仅支持定时销毁。
|
2222
2222
|
:type ActionTimer: :class:`tencentcloud.cvm.v20170312.models.ActionTimer`
|
@@ -2238,11 +2238,11 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
2238
2238
|
:type CamRoleName: str
|
2239
2239
|
:param _HpcClusterId: 高性能计算集群ID。若创建的实例为高性能计算实例,需指定实例放置的集群,否则不可指定。
|
2240
2240
|
:type HpcClusterId: str
|
2241
|
-
:param _InstanceChargeType: 实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID
|
2241
|
+
: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。
|
2242
2242
|
:type InstanceChargeType: str
|
2243
2243
|
:param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
|
2244
2244
|
:type InstanceChargePrepaid: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
|
2245
|
-
:param _DisableApiTermination: 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api
|
2245
|
+
:param _DisableApiTermination: 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例</li><br><li>FALSE:表示关闭实例保护,允许通过api接口删除实例</li><br><br>默认取值:FALSE。
|
2246
2246
|
:type DisableApiTermination: bool
|
2247
2247
|
"""
|
2248
2248
|
self._Placement = None
|
@@ -11297,10 +11297,16 @@ class DescribeDataEngineImageVersionsRequest(AbstractModel):
|
|
11297
11297
|
|
11298
11298
|
def __init__(self):
|
11299
11299
|
r"""
|
11300
|
-
:param _EngineType: 引擎类型:
|
11300
|
+
:param _EngineType: 引擎类型:SparkSQL、PrestoSQL、SparkBatch、StandardSpark、StandardPresto
|
11301
11301
|
:type EngineType: str
|
11302
|
+
:param _Sort: 排序字段: InsertTime(插入时间,默认),UpdateTime(更新时间)
|
11303
|
+
:type Sort: str
|
11304
|
+
:param _Asc: 排序方式:false(降序,默认),true(升序)
|
11305
|
+
:type Asc: bool
|
11302
11306
|
"""
|
11303
11307
|
self._EngineType = None
|
11308
|
+
self._Sort = None
|
11309
|
+
self._Asc = None
|
11304
11310
|
|
11305
11311
|
@property
|
11306
11312
|
def EngineType(self):
|
@@ -11310,9 +11316,27 @@ class DescribeDataEngineImageVersionsRequest(AbstractModel):
|
|
11310
11316
|
def EngineType(self, EngineType):
|
11311
11317
|
self._EngineType = EngineType
|
11312
11318
|
|
11319
|
+
@property
|
11320
|
+
def Sort(self):
|
11321
|
+
return self._Sort
|
11322
|
+
|
11323
|
+
@Sort.setter
|
11324
|
+
def Sort(self, Sort):
|
11325
|
+
self._Sort = Sort
|
11326
|
+
|
11327
|
+
@property
|
11328
|
+
def Asc(self):
|
11329
|
+
return self._Asc
|
11330
|
+
|
11331
|
+
@Asc.setter
|
11332
|
+
def Asc(self, Asc):
|
11333
|
+
self._Asc = Asc
|
11334
|
+
|
11313
11335
|
|
11314
11336
|
def _deserialize(self, params):
|
11315
11337
|
self._EngineType = params.get("EngineType")
|
11338
|
+
self._Sort = params.get("Sort")
|
11339
|
+
self._Asc = params.get("Asc")
|
11316
11340
|
memeber_set = set(params.keys())
|
11317
11341
|
for name, value in vars(self).items():
|
11318
11342
|
property_name = name[1:]
|
@@ -3525,7 +3525,7 @@ class DescribeInstancePluginListRequest(AbstractModel):
|
|
3525
3525
|
:type Offset: int
|
3526
3526
|
:param _Limit: 分页大小,默认值10
|
3527
3527
|
:type Limit: int
|
3528
|
-
:param _OrderBy: 排序字段<li>1:插件名 pluginName
|
3528
|
+
:param _OrderBy: 排序字段<li>1:插件名 pluginName</li>
|
3529
3529
|
:type OrderBy: str
|
3530
3530
|
:param _OrderByType: 排序方式<li>0:升序 asc</li><li>1:降序 desc</li>
|
3531
3531
|
:type OrderByType: str
|
@@ -13675,6 +13675,10 @@ CLOSE 关闭
|
|
13675
13675
|
:type OutboundPublicAccess: str
|
13676
13676
|
:param _CvmDelayOnlineTime: cvm延迟上架参数
|
13677
13677
|
:type CvmDelayOnlineTime: int
|
13678
|
+
:param _ShardAllocationConcurrents: 分片迁移并发数
|
13679
|
+
:type ShardAllocationConcurrents: int
|
13680
|
+
:param _ShardAllocationBytes: 分片迁移并发速度
|
13681
|
+
:type ShardAllocationBytes: int
|
13678
13682
|
"""
|
13679
13683
|
self._InstanceId = None
|
13680
13684
|
self._InstanceName = None
|
@@ -13714,6 +13718,8 @@ CLOSE 关闭
|
|
13714
13718
|
self._OutboundPublicAcls = None
|
13715
13719
|
self._OutboundPublicAccess = None
|
13716
13720
|
self._CvmDelayOnlineTime = None
|
13721
|
+
self._ShardAllocationConcurrents = None
|
13722
|
+
self._ShardAllocationBytes = None
|
13717
13723
|
|
13718
13724
|
@property
|
13719
13725
|
def InstanceId(self):
|
@@ -14019,6 +14025,22 @@ CLOSE 关闭
|
|
14019
14025
|
def CvmDelayOnlineTime(self, CvmDelayOnlineTime):
|
14020
14026
|
self._CvmDelayOnlineTime = CvmDelayOnlineTime
|
14021
14027
|
|
14028
|
+
@property
|
14029
|
+
def ShardAllocationConcurrents(self):
|
14030
|
+
return self._ShardAllocationConcurrents
|
14031
|
+
|
14032
|
+
@ShardAllocationConcurrents.setter
|
14033
|
+
def ShardAllocationConcurrents(self, ShardAllocationConcurrents):
|
14034
|
+
self._ShardAllocationConcurrents = ShardAllocationConcurrents
|
14035
|
+
|
14036
|
+
@property
|
14037
|
+
def ShardAllocationBytes(self):
|
14038
|
+
return self._ShardAllocationBytes
|
14039
|
+
|
14040
|
+
@ShardAllocationBytes.setter
|
14041
|
+
def ShardAllocationBytes(self, ShardAllocationBytes):
|
14042
|
+
self._ShardAllocationBytes = ShardAllocationBytes
|
14043
|
+
|
14022
14044
|
|
14023
14045
|
def _deserialize(self, params):
|
14024
14046
|
self._InstanceId = params.get("InstanceId")
|
@@ -14086,6 +14108,8 @@ CLOSE 关闭
|
|
14086
14108
|
self._OutboundPublicAcls.append(obj)
|
14087
14109
|
self._OutboundPublicAccess = params.get("OutboundPublicAccess")
|
14088
14110
|
self._CvmDelayOnlineTime = params.get("CvmDelayOnlineTime")
|
14111
|
+
self._ShardAllocationConcurrents = params.get("ShardAllocationConcurrents")
|
14112
|
+
self._ShardAllocationBytes = params.get("ShardAllocationBytes")
|
14089
14113
|
memeber_set = set(params.keys())
|
14090
14114
|
for name, value in vars(self).items():
|
14091
14115
|
property_name = name[1:]
|
@@ -9309,11 +9309,34 @@ class DescribeTaskStatusResponse(AbstractModel):
|
|
9309
9309
|
|
9310
9310
|
def __init__(self):
|
9311
9311
|
r"""
|
9312
|
+
:param _Status: 任务状态:RUNNING,FAIL,SUCCESS
|
9313
|
+
:type Status: str
|
9314
|
+
:param _TaskId: 任务ID
|
9315
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
9316
|
+
:type TaskId: str
|
9312
9317
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9313
9318
|
:type RequestId: str
|
9314
9319
|
"""
|
9320
|
+
self._Status = None
|
9321
|
+
self._TaskId = None
|
9315
9322
|
self._RequestId = None
|
9316
9323
|
|
9324
|
+
@property
|
9325
|
+
def Status(self):
|
9326
|
+
return self._Status
|
9327
|
+
|
9328
|
+
@Status.setter
|
9329
|
+
def Status(self, Status):
|
9330
|
+
self._Status = Status
|
9331
|
+
|
9332
|
+
@property
|
9333
|
+
def TaskId(self):
|
9334
|
+
return self._TaskId
|
9335
|
+
|
9336
|
+
@TaskId.setter
|
9337
|
+
def TaskId(self, TaskId):
|
9338
|
+
self._TaskId = TaskId
|
9339
|
+
|
9317
9340
|
@property
|
9318
9341
|
def RequestId(self):
|
9319
9342
|
return self._RequestId
|
@@ -9324,6 +9347,8 @@ class DescribeTaskStatusResponse(AbstractModel):
|
|
9324
9347
|
|
9325
9348
|
|
9326
9349
|
def _deserialize(self, params):
|
9350
|
+
self._Status = params.get("Status")
|
9351
|
+
self._TaskId = params.get("TaskId")
|
9327
9352
|
self._RequestId = params.get("RequestId")
|
9328
9353
|
|
9329
9354
|
|
@@ -235,6 +235,8 @@ class ChatCompletionsResponse(AbstractModel):
|
|
235
235
|
如果流式返回中服务处理异常,返回该错误信息。
|
236
236
|
注意:此字段可能返回 null,表示取不到有效值。
|
237
237
|
:type ErrorMsg: :class:`tencentcloud.hunyuan.v20230901.models.ErrorMsg`
|
238
|
+
:param _ModerationLevel: 多轮会话风险审核,值为1时,表明存在信息安全风险,建议终止客户多轮会话。
|
239
|
+
:type ModerationLevel: str
|
238
240
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header "X-TC-RequestId" 中。
|
239
241
|
:type RequestId: str
|
240
242
|
"""
|
@@ -244,6 +246,7 @@ class ChatCompletionsResponse(AbstractModel):
|
|
244
246
|
self._Id = None
|
245
247
|
self._Choices = None
|
246
248
|
self._ErrorMsg = None
|
249
|
+
self._ModerationLevel = None
|
247
250
|
self._RequestId = None
|
248
251
|
|
249
252
|
@property
|
@@ -294,6 +297,14 @@ class ChatCompletionsResponse(AbstractModel):
|
|
294
297
|
def ErrorMsg(self, ErrorMsg):
|
295
298
|
self._ErrorMsg = ErrorMsg
|
296
299
|
|
300
|
+
@property
|
301
|
+
def ModerationLevel(self):
|
302
|
+
return self._ModerationLevel
|
303
|
+
|
304
|
+
@ModerationLevel.setter
|
305
|
+
def ModerationLevel(self, ModerationLevel):
|
306
|
+
self._ModerationLevel = ModerationLevel
|
307
|
+
|
297
308
|
@property
|
298
309
|
def RequestId(self):
|
299
310
|
return self._RequestId
|
@@ -319,6 +330,7 @@ class ChatCompletionsResponse(AbstractModel):
|
|
319
330
|
if params.get("ErrorMsg") is not None:
|
320
331
|
self._ErrorMsg = ErrorMsg()
|
321
332
|
self._ErrorMsg._deserialize(params.get("ErrorMsg"))
|
333
|
+
self._ModerationLevel = params.get("ModerationLevel")
|
322
334
|
self._RequestId = params.get("RequestId")
|
323
335
|
|
324
336
|
|
@@ -1911,6 +1911,8 @@ video 纯视频
|
|
1911
1911
|
:type RecordScene: str
|
1912
1912
|
:param _RecordLang: 录制自定义语言,仅recordlayout=9的时候此参数有效
|
1913
1913
|
:type RecordLang: str
|
1914
|
+
:param _RecordStream: 录制类型 0 仅录制混流(默认) ;1 录制混流+单流,该模式下除混流录制基础上,分别录制老师、台上学生的音视频流,每路录制都会产生相应的录制费用 。示例:0
|
1915
|
+
:type RecordStream: int
|
1914
1916
|
"""
|
1915
1917
|
self._Name = None
|
1916
1918
|
self._StartTime = None
|
@@ -1941,6 +1943,7 @@ video 纯视频
|
|
1941
1943
|
self._RecordBackground = None
|
1942
1944
|
self._RecordScene = None
|
1943
1945
|
self._RecordLang = None
|
1946
|
+
self._RecordStream = None
|
1944
1947
|
|
1945
1948
|
@property
|
1946
1949
|
def Name(self):
|
@@ -2178,6 +2181,14 @@ video 纯视频
|
|
2178
2181
|
|
2179
2182
|
self._RecordLang = RecordLang
|
2180
2183
|
|
2184
|
+
@property
|
2185
|
+
def RecordStream(self):
|
2186
|
+
return self._RecordStream
|
2187
|
+
|
2188
|
+
@RecordStream.setter
|
2189
|
+
def RecordStream(self, RecordStream):
|
2190
|
+
self._RecordStream = RecordStream
|
2191
|
+
|
2181
2192
|
|
2182
2193
|
def _deserialize(self, params):
|
2183
2194
|
self._Name = params.get("Name")
|
@@ -2209,6 +2220,7 @@ video 纯视频
|
|
2209
2220
|
self._RecordBackground = params.get("RecordBackground")
|
2210
2221
|
self._RecordScene = params.get("RecordScene")
|
2211
2222
|
self._RecordLang = params.get("RecordLang")
|
2223
|
+
self._RecordStream = params.get("RecordStream")
|
2212
2224
|
memeber_set = set(params.keys())
|
2213
2225
|
for name, value in vars(self).items():
|
2214
2226
|
property_name = name[1:]
|
@@ -4610,7 +4622,7 @@ video 纯视频
|
|
4610
4622
|
:type VideoDuration: int
|
4611
4623
|
:param _EndDelayTime: 拖堂时间:单位分钟,0为不限制(默认值), -1为不能拖堂,大于0为拖堂的时间,最大值120分钟
|
4612
4624
|
:type EndDelayTime: int
|
4613
|
-
:param _LiveType: 直播类型:0 常规(默认)1 伪直播
|
4625
|
+
:param _LiveType: 直播类型:0 常规(默认)1 伪直播 2 RTMP推流直播
|
4614
4626
|
:type LiveType: int
|
4615
4627
|
:param _RecordLiveUrl: 伪直播链接
|
4616
4628
|
:type RecordLiveUrl: str
|
@@ -8859,6 +8871,8 @@ class RoomInfo(AbstractModel):
|
|
8859
8871
|
:type RecordScene: str
|
8860
8872
|
:param _RecordLang: 录制自定义语言,仅recordlayout=9的时候此参数有效
|
8861
8873
|
:type RecordLang: str
|
8874
|
+
:param _RecordStream: 录制类型 0 仅录制混流(默认) ;1 录制混流+单流,该模式下除混流录制基础上,分别录制老师、台上学生的音视频流,每路录制都会产生相应的录制费用 。示例:0
|
8875
|
+
:type RecordStream: int
|
8862
8876
|
"""
|
8863
8877
|
self._Name = None
|
8864
8878
|
self._StartTime = None
|
@@ -8888,6 +8902,7 @@ class RoomInfo(AbstractModel):
|
|
8888
8902
|
self._RecordBackground = None
|
8889
8903
|
self._RecordScene = None
|
8890
8904
|
self._RecordLang = None
|
8905
|
+
self._RecordStream = None
|
8891
8906
|
|
8892
8907
|
@property
|
8893
8908
|
def Name(self):
|
@@ -9117,6 +9132,14 @@ class RoomInfo(AbstractModel):
|
|
9117
9132
|
|
9118
9133
|
self._RecordLang = RecordLang
|
9119
9134
|
|
9135
|
+
@property
|
9136
|
+
def RecordStream(self):
|
9137
|
+
return self._RecordStream
|
9138
|
+
|
9139
|
+
@RecordStream.setter
|
9140
|
+
def RecordStream(self, RecordStream):
|
9141
|
+
self._RecordStream = RecordStream
|
9142
|
+
|
9120
9143
|
|
9121
9144
|
def _deserialize(self, params):
|
9122
9145
|
self._Name = params.get("Name")
|
@@ -9147,6 +9170,7 @@ class RoomInfo(AbstractModel):
|
|
9147
9170
|
self._RecordBackground = params.get("RecordBackground")
|
9148
9171
|
self._RecordScene = params.get("RecordScene")
|
9149
9172
|
self._RecordLang = params.get("RecordLang")
|
9173
|
+
self._RecordStream = params.get("RecordStream")
|
9150
9174
|
memeber_set = set(params.keys())
|
9151
9175
|
for name, value in vars(self).items():
|
9152
9176
|
property_name = name[1:]
|