tencentcloud-sdk-python 3.0.1385__py2.py3-none-any.whl → 3.0.1387__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/ams/v20201229/models.py +4 -8
- tencentcloud/batch/v20170312/models.py +4 -4
- tencentcloud/billing/v20180709/models.py +4 -2
- tencentcloud/cbs/v20170312/errorcodes.py +3 -0
- tencentcloud/cdwdoris/v20211228/models.py +45 -0
- tencentcloud/cls/v20201016/models.py +38 -14
- tencentcloud/cvm/v20170312/cvm_client.py +1 -0
- tencentcloud/cvm/v20170312/models.py +26 -24
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +197 -0
- tencentcloud/dnspod/v20210323/models.py +0 -45
- tencentcloud/domain/v20180808/domain_client.py +1 -1
- tencentcloud/domain/v20180808/models.py +2 -0
- tencentcloud/dsgc/v20190723/dsgc_client.py +0 -375
- tencentcloud/dsgc/v20190723/models.py +0 -510
- tencentcloud/es/v20180416/models.py +15 -0
- tencentcloud/ess/v20201111/ess_client.py +2 -0
- tencentcloud/ess/v20201111/models.py +28 -8
- tencentcloud/essbasic/v20210526/essbasic_client.py +2 -0
- tencentcloud/essbasic/v20210526/models.py +24 -4
- tencentcloud/live/v20180801/models.py +15 -0
- tencentcloud/lke/v20231130/models.py +2 -2
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/monitor/v20180724/models.py +4 -4
- tencentcloud/mps/v20190612/models.py +29 -8
- tencentcloud/mps/v20190612/mps_client.py +1 -0
- tencentcloud/postgres/v20170312/postgres_client.py +3 -3
- tencentcloud/redis/v20180412/models.py +4 -4
- tencentcloud/scf/v20180416/errorcodes.py +24 -0
- tencentcloud/ses/v20201002/models.py +15 -0
- tencentcloud/tcb/v20180608/errorcodes.py +3 -0
- tencentcloud/tcb/v20180608/models.py +2 -2
- tencentcloud/tdmq/v20200217/errorcodes.py +12 -0
- tencentcloud/tione/v20211111/models.py +614 -0
- tencentcloud/tione/v20211111/tione_client.py +23 -0
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20220501/models.py +17 -0
- tencentcloud/trtc/v20190722/models.py +15 -0
- tencentcloud/tts/v20190823/models.py +4 -4
- tencentcloud/tts/v20190823/tts_client.py +0 -1
- tencentcloud/vpc/v20170312/errorcodes.py +18 -0
- tencentcloud/vpc/v20170312/models.py +4 -2
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- {tencentcloud_sdk_python-3.0.1385.dist-info → tencentcloud_sdk_python-3.0.1387.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1385.dist-info → tencentcloud_sdk_python-3.0.1387.dist-info}/RECORD +49 -54
- tencentcloud/apcas/__init__.py +0 -0
- tencentcloud/apcas/v20201127/__init__.py +0 -0
- tencentcloud/apcas/v20201127/apcas_client.py +0 -187
- tencentcloud/apcas/v20201127/errorcodes.py +0 -48
- tencentcloud/apcas/v20201127/models.py +0 -1514
- {tencentcloud_sdk_python-3.0.1385.dist-info → tencentcloud_sdk_python-3.0.1387.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1385.dist-info → tencentcloud_sdk_python-3.0.1387.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1385.dist-info → tencentcloud_sdk_python-3.0.1387.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -867,7 +867,7 @@ class AudioSegments(AbstractModel):
|
|
867
867
|
:param _Result: 该字段用于返回音频片段的具体审核结果,详细内容敬请参考AudioResult数据结构的描述。
|
868
868
|
注意:此字段可能返回 null,表示取不到有效值。
|
869
869
|
:type Result: :class:`tencentcloud.ams.v20201229.models.AudioResult`
|
870
|
-
:param _CreatedAt:
|
870
|
+
:param _CreatedAt: 入库时间
|
871
871
|
注意:此字段可能返回 null,表示取不到有效值。
|
872
872
|
:type CreatedAt: str
|
873
873
|
"""
|
@@ -901,7 +901,7 @@ class AudioSegments(AbstractModel):
|
|
901
901
|
|
902
902
|
@property
|
903
903
|
def CreatedAt(self):
|
904
|
-
"""
|
904
|
+
"""入库时间
|
905
905
|
注意:此字段可能返回 null,表示取不到有效值。
|
906
906
|
:rtype: str
|
907
907
|
"""
|
@@ -3696,10 +3696,8 @@ class TextResult(AbstractModel):
|
|
3696
3696
|
注意:此字段可能返回 null,表示取不到有效值。
|
3697
3697
|
:type Suggestion: str
|
3698
3698
|
:param _LibType: 自定义词库的类型,自定义词库相关的信息可登录控制台中查看;
|
3699
|
-
|
3700
3699
|
1:自定义黑白库;
|
3701
|
-
|
3702
|
-
2:自定义库;
|
3700
|
+
2:公库;
|
3703
3701
|
:type LibType: int
|
3704
3702
|
:param _SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
3705
3703
|
注意:此字段可能返回null,表示取不到有效值。
|
@@ -3798,10 +3796,8 @@ class TextResult(AbstractModel):
|
|
3798
3796
|
@property
|
3799
3797
|
def LibType(self):
|
3800
3798
|
"""自定义词库的类型,自定义词库相关的信息可登录控制台中查看;
|
3801
|
-
|
3802
3799
|
1:自定义黑白库;
|
3803
|
-
|
3804
|
-
2:自定义库;
|
3800
|
+
2:公库;
|
3805
3801
|
:rtype: int
|
3806
3802
|
"""
|
3807
3803
|
return self._LibType
|
@@ -7933,9 +7933,9 @@ class Placement(AbstractModel):
|
|
7933
7933
|
r"""
|
7934
7934
|
:param _Zone: 实例所属的可用区名称。该参数可以通过调用 [DescribeZones](https://cloud.tencent.com/document/product/213/15707) 的返回值中的Zone字段来获取。
|
7935
7935
|
:type Zone: str
|
7936
|
-
:param _ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的
|
7936
|
+
:param _ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 `ProjectId` 字段来获取。默认取值0,表示默认项目。
|
7937
7937
|
:type ProjectId: int
|
7938
|
-
:param _HostIds: 实例所属的专用宿主机ID
|
7938
|
+
:param _HostIds: 实例所属的专用宿主机ID列表,仅用于入参。如果您有购买专用宿主机并且指定了该参数,则您购买的实例就会随机的部署在这些专用宿主机上。该参数可以通过调用 [DescribeHosts](https://cloud.tencent.com/document/api/213/16474) 的返回值中的 `HostId` 字段来获取。
|
7939
7939
|
:type HostIds: list of str
|
7940
7940
|
:param _HostId: 实例所属的专用宿主机ID,仅用于出参。
|
7941
7941
|
:type HostId: str
|
@@ -7958,7 +7958,7 @@ class Placement(AbstractModel):
|
|
7958
7958
|
|
7959
7959
|
@property
|
7960
7960
|
def ProjectId(self):
|
7961
|
-
"""实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的
|
7961
|
+
"""实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 `ProjectId` 字段来获取。默认取值0,表示默认项目。
|
7962
7962
|
:rtype: int
|
7963
7963
|
"""
|
7964
7964
|
return self._ProjectId
|
@@ -7969,7 +7969,7 @@ class Placement(AbstractModel):
|
|
7969
7969
|
|
7970
7970
|
@property
|
7971
7971
|
def HostIds(self):
|
7972
|
-
"""实例所属的专用宿主机ID
|
7972
|
+
"""实例所属的专用宿主机ID列表,仅用于入参。如果您有购买专用宿主机并且指定了该参数,则您购买的实例就会随机的部署在这些专用宿主机上。该参数可以通过调用 [DescribeHosts](https://cloud.tencent.com/document/api/213/16474) 的返回值中的 `HostId` 字段来获取。
|
7973
7973
|
:rtype: list of str
|
7974
7974
|
"""
|
7975
7975
|
return self._HostIds
|
@@ -6740,7 +6740,8 @@ class BillDetail(AbstractModel):
|
|
6740
6740
|
:type ResourceName: str
|
6741
6741
|
:param _ActionTypeName: 交易类型,如包年包月新购、包年包月续费、按量计费扣费等类型
|
6742
6742
|
:type ActionTypeName: str
|
6743
|
-
:param _OrderId: 订单ID
|
6743
|
+
:param _OrderId: 订单ID:包年包月计费模式下对应子订单号。后付费计费模式下账单费用不存在订单概念,可忽略此参数。
|
6744
|
+
|
6744
6745
|
:type OrderId: str
|
6745
6746
|
:param _BillId: 交易ID:结算扣费单号
|
6746
6747
|
:type BillId: str
|
@@ -6936,7 +6937,8 @@ class BillDetail(AbstractModel):
|
|
6936
6937
|
|
6937
6938
|
@property
|
6938
6939
|
def OrderId(self):
|
6939
|
-
"""订单ID
|
6940
|
+
"""订单ID:包年包月计费模式下对应子订单号。后付费计费模式下账单费用不存在订单概念,可忽略此参数。
|
6941
|
+
|
6940
6942
|
:rtype: str
|
6941
6943
|
"""
|
6942
6944
|
return self._OrderId
|
@@ -86,6 +86,9 @@ INVALIDPARAMETER_DISKCONFIGNOTSUPPORTED = 'InvalidParameter.DiskConfigNotSupport
|
|
86
86
|
# 云硬盘大小与快照大小不匹配。
|
87
87
|
INVALIDPARAMETER_DISKSIZENOTMATCH = 'InvalidParameter.DiskSizeNotMatch'
|
88
88
|
|
89
|
+
# ClientToken不可用。
|
90
|
+
INVALIDPARAMETER_INVALIDCLIENTTOKEN = 'InvalidParameter.InvalidClientToken'
|
91
|
+
|
89
92
|
# 项目ID不存在。
|
90
93
|
INVALIDPARAMETER_PROJECTIDNOTEXIST = 'InvalidParameter.ProjectIdNotExist'
|
91
94
|
|
@@ -11593,6 +11593,12 @@ class NodeInfo(AbstractModel):
|
|
11593
11593
|
:type Zone: str
|
11594
11594
|
:param _Id: Id
|
11595
11595
|
:type Id: str
|
11596
|
+
:param _RIp: RIP
|
11597
|
+
:type RIp: str
|
11598
|
+
:param _ComputeGroupId: 计算组ID
|
11599
|
+
:type ComputeGroupId: str
|
11600
|
+
:param _CreateTime: 创建时间
|
11601
|
+
:type CreateTime: str
|
11596
11602
|
"""
|
11597
11603
|
self._Ip = None
|
11598
11604
|
self._Status = None
|
@@ -11602,6 +11608,9 @@ class NodeInfo(AbstractModel):
|
|
11602
11608
|
self._LastRestartTime = None
|
11603
11609
|
self._Zone = None
|
11604
11610
|
self._Id = None
|
11611
|
+
self._RIp = None
|
11612
|
+
self._ComputeGroupId = None
|
11613
|
+
self._CreateTime = None
|
11605
11614
|
|
11606
11615
|
@property
|
11607
11616
|
def Ip(self):
|
@@ -11691,6 +11700,39 @@ class NodeInfo(AbstractModel):
|
|
11691
11700
|
def Id(self, Id):
|
11692
11701
|
self._Id = Id
|
11693
11702
|
|
11703
|
+
@property
|
11704
|
+
def RIp(self):
|
11705
|
+
"""RIP
|
11706
|
+
:rtype: str
|
11707
|
+
"""
|
11708
|
+
return self._RIp
|
11709
|
+
|
11710
|
+
@RIp.setter
|
11711
|
+
def RIp(self, RIp):
|
11712
|
+
self._RIp = RIp
|
11713
|
+
|
11714
|
+
@property
|
11715
|
+
def ComputeGroupId(self):
|
11716
|
+
"""计算组ID
|
11717
|
+
:rtype: str
|
11718
|
+
"""
|
11719
|
+
return self._ComputeGroupId
|
11720
|
+
|
11721
|
+
@ComputeGroupId.setter
|
11722
|
+
def ComputeGroupId(self, ComputeGroupId):
|
11723
|
+
self._ComputeGroupId = ComputeGroupId
|
11724
|
+
|
11725
|
+
@property
|
11726
|
+
def CreateTime(self):
|
11727
|
+
"""创建时间
|
11728
|
+
:rtype: str
|
11729
|
+
"""
|
11730
|
+
return self._CreateTime
|
11731
|
+
|
11732
|
+
@CreateTime.setter
|
11733
|
+
def CreateTime(self, CreateTime):
|
11734
|
+
self._CreateTime = CreateTime
|
11735
|
+
|
11694
11736
|
|
11695
11737
|
def _deserialize(self, params):
|
11696
11738
|
self._Ip = params.get("Ip")
|
@@ -11701,6 +11743,9 @@ class NodeInfo(AbstractModel):
|
|
11701
11743
|
self._LastRestartTime = params.get("LastRestartTime")
|
11702
11744
|
self._Zone = params.get("Zone")
|
11703
11745
|
self._Id = params.get("Id")
|
11746
|
+
self._RIp = params.get("RIp")
|
11747
|
+
self._ComputeGroupId = params.get("ComputeGroupId")
|
11748
|
+
self._CreateTime = params.get("CreateTime")
|
11704
11749
|
memeber_set = set(params.keys())
|
11705
11750
|
for name, value in vars(self).items():
|
11706
11751
|
property_name = name[1:]
|
@@ -5124,7 +5124,7 @@ class CreateAlarmRequest(AbstractModel):
|
|
5124
5124
|
:param _Status: 是否开启告警策略。
|
5125
5125
|
默认值为true
|
5126
5126
|
:type Status: bool
|
5127
|
-
:param _Enable:
|
5127
|
+
:param _Enable: 请使用Status参数控制是否开启告警策略。
|
5128
5128
|
:type Enable: bool
|
5129
5129
|
:param _MessageTemplate: 用户自定义告警内容
|
5130
5130
|
:type MessageTemplate: str
|
@@ -5297,13 +5297,17 @@ Classifications元素的Value长度不能超过200个字符。
|
|
5297
5297
|
|
5298
5298
|
@property
|
5299
5299
|
def Enable(self):
|
5300
|
-
""
|
5300
|
+
warnings.warn("parameter `Enable` is deprecated", DeprecationWarning)
|
5301
|
+
|
5302
|
+
"""请使用Status参数控制是否开启告警策略。
|
5301
5303
|
:rtype: bool
|
5302
5304
|
"""
|
5303
5305
|
return self._Enable
|
5304
5306
|
|
5305
5307
|
@Enable.setter
|
5306
5308
|
def Enable(self, Enable):
|
5309
|
+
warnings.warn("parameter `Enable` is deprecated", DeprecationWarning)
|
5310
|
+
|
5307
5311
|
self._Enable = Enable
|
5308
5312
|
|
5309
5313
|
@property
|
@@ -5996,7 +6000,7 @@ class CreateConfigExtraRequest(AbstractModel):
|
|
5996
6000
|
:type ContainerFile: :class:`tencentcloud.cls.v20201016.models.ContainerFileInfo`
|
5997
6001
|
:param _ContainerStdout: 容器标准输出类型配置。
|
5998
6002
|
:type ContainerStdout: :class:`tencentcloud.cls.v20201016.models.ContainerStdoutInfo`
|
5999
|
-
:param _LogFormat: 日志格式化方式,用于容器采集场景。
|
6003
|
+
:param _LogFormat: 日志格式化方式,用于容器采集场景。
|
6000
6004
|
- stdout-docker-json:用于docker容器采集场景
|
6001
6005
|
- stdout-containerd:用于containerd容器采集场景
|
6002
6006
|
:type LogFormat: str
|
@@ -6174,7 +6178,9 @@ class CreateConfigExtraRequest(AbstractModel):
|
|
6174
6178
|
|
6175
6179
|
@property
|
6176
6180
|
def LogFormat(self):
|
6177
|
-
""
|
6181
|
+
warnings.warn("parameter `LogFormat` is deprecated", DeprecationWarning)
|
6182
|
+
|
6183
|
+
"""日志格式化方式,用于容器采集场景。
|
6178
6184
|
- stdout-docker-json:用于docker容器采集场景
|
6179
6185
|
- stdout-containerd:用于containerd容器采集场景
|
6180
6186
|
:rtype: str
|
@@ -6183,6 +6189,8 @@ class CreateConfigExtraRequest(AbstractModel):
|
|
6183
6189
|
|
6184
6190
|
@LogFormat.setter
|
6185
6191
|
def LogFormat(self, LogFormat):
|
6192
|
+
warnings.warn("parameter `LogFormat` is deprecated", DeprecationWarning)
|
6193
|
+
|
6186
6194
|
self._LogFormat = LogFormat
|
6187
6195
|
|
6188
6196
|
@property
|
@@ -9838,16 +9846,16 @@ class DashboardNoticeMode(AbstractModel):
|
|
9838
9846
|
<li/>WeCom: 企业微信回调
|
9839
9847
|
:type ReceiverType: str
|
9840
9848
|
:param _Values: 知方式对应的值。
|
9841
|
-
<br> <li/> 当ReceiverType不是
|
9849
|
+
<br> <li/> 当ReceiverType不是 WeCom 时,Values必填。
|
9842
9850
|
:type Values: list of str
|
9843
9851
|
:param _ReceiverChannels: 仪表盘通知渠道。
|
9844
9852
|
<br><li/> 支持:["Email","Sms","WeChat","Phone"]。
|
9845
|
-
<br><li/> 当ReceiverType是 Email 或
|
9853
|
+
<br><li/> 当ReceiverType是 Email 或 WeCom 时,ReceiverChannels不能赋值。
|
9846
9854
|
注意:此字段可能返回 null,表示取不到有效值。
|
9847
9855
|
:type ReceiverChannels: list of str
|
9848
9856
|
:param _Url: 回调Url。
|
9849
|
-
<br><li/> 当ReceiverType是
|
9850
|
-
<br><li/> 当ReceiverType不是
|
9857
|
+
<br><li/> 当ReceiverType是 WeCom 时,Url必填。
|
9858
|
+
<br><li/> 当ReceiverType不是 WeCom 时,Url不能填写。
|
9851
9859
|
:type Url: str
|
9852
9860
|
"""
|
9853
9861
|
self._ReceiverType = None
|
@@ -9873,7 +9881,7 @@ class DashboardNoticeMode(AbstractModel):
|
|
9873
9881
|
@property
|
9874
9882
|
def Values(self):
|
9875
9883
|
"""知方式对应的值。
|
9876
|
-
<br> <li/> 当ReceiverType不是
|
9884
|
+
<br> <li/> 当ReceiverType不是 WeCom 时,Values必填。
|
9877
9885
|
:rtype: list of str
|
9878
9886
|
"""
|
9879
9887
|
return self._Values
|
@@ -9886,7 +9894,7 @@ class DashboardNoticeMode(AbstractModel):
|
|
9886
9894
|
def ReceiverChannels(self):
|
9887
9895
|
"""仪表盘通知渠道。
|
9888
9896
|
<br><li/> 支持:["Email","Sms","WeChat","Phone"]。
|
9889
|
-
<br><li/> 当ReceiverType是 Email 或
|
9897
|
+
<br><li/> 当ReceiverType是 Email 或 WeCom 时,ReceiverChannels不能赋值。
|
9890
9898
|
注意:此字段可能返回 null,表示取不到有效值。
|
9891
9899
|
:rtype: list of str
|
9892
9900
|
"""
|
@@ -9899,8 +9907,8 @@ class DashboardNoticeMode(AbstractModel):
|
|
9899
9907
|
@property
|
9900
9908
|
def Url(self):
|
9901
9909
|
"""回调Url。
|
9902
|
-
<br><li/> 当ReceiverType是
|
9903
|
-
<br><li/> 当ReceiverType不是
|
9910
|
+
<br><li/> 当ReceiverType是 WeCom 时,Url必填。
|
9911
|
+
<br><li/> 当ReceiverType不是 WeCom 时,Url不能填写。
|
9904
9912
|
:rtype: str
|
9905
9913
|
"""
|
9906
9914
|
return self._Url
|
@@ -21482,6 +21490,8 @@ Classifications元素的Value长度不能超过200个字符。
|
|
21482
21490
|
|
21483
21491
|
@property
|
21484
21492
|
def Enable(self):
|
21493
|
+
warnings.warn("parameter `Enable` is deprecated", DeprecationWarning)
|
21494
|
+
|
21485
21495
|
"""该参数已废弃,请使用Status参数控制是否开启告警策略。
|
21486
21496
|
:rtype: bool
|
21487
21497
|
"""
|
@@ -21489,6 +21499,8 @@ Classifications元素的Value长度不能超过200个字符。
|
|
21489
21499
|
|
21490
21500
|
@Enable.setter
|
21491
21501
|
def Enable(self, Enable):
|
21502
|
+
warnings.warn("parameter `Enable` is deprecated", DeprecationWarning)
|
21503
|
+
|
21492
21504
|
self._Enable = Enable
|
21493
21505
|
|
21494
21506
|
@property
|
@@ -22019,7 +22031,7 @@ class ModifyConfigExtraRequest(AbstractModel):
|
|
22019
22031
|
- multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
|
22020
22032
|
- user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310))。
|
22021
22033
|
:type LogType: str
|
22022
|
-
:param _LogFormat:
|
22034
|
+
:param _LogFormat: 日志格式化方式,用于容器采集场景。
|
22023
22035
|
- stdout-docker-json:用于docker容器采集场景
|
22024
22036
|
- stdout-containerd:用于containerd容器采集场景
|
22025
22037
|
:type LogFormat: str
|
@@ -22157,7 +22169,9 @@ class ModifyConfigExtraRequest(AbstractModel):
|
|
22157
22169
|
|
22158
22170
|
@property
|
22159
22171
|
def LogFormat(self):
|
22160
|
-
""
|
22172
|
+
warnings.warn("parameter `LogFormat` is deprecated", DeprecationWarning)
|
22173
|
+
|
22174
|
+
"""日志格式化方式,用于容器采集场景。
|
22161
22175
|
- stdout-docker-json:用于docker容器采集场景
|
22162
22176
|
- stdout-containerd:用于containerd容器采集场景
|
22163
22177
|
:rtype: str
|
@@ -22166,6 +22180,8 @@ class ModifyConfigExtraRequest(AbstractModel):
|
|
22166
22180
|
|
22167
22181
|
@LogFormat.setter
|
22168
22182
|
def LogFormat(self, LogFormat):
|
22183
|
+
warnings.warn("parameter `LogFormat` is deprecated", DeprecationWarning)
|
22184
|
+
|
22169
22185
|
self._LogFormat = LogFormat
|
22170
22186
|
|
22171
22187
|
@property
|
@@ -30354,6 +30370,8 @@ class WebCallback(AbstractModel):
|
|
30354
30370
|
|
30355
30371
|
@property
|
30356
30372
|
def Headers(self):
|
30373
|
+
warnings.warn("parameter `Headers` is deprecated", DeprecationWarning)
|
30374
|
+
|
30357
30375
|
"""该参数已废弃,请使用NoticeContentId。
|
30358
30376
|
:rtype: list of str
|
30359
30377
|
"""
|
@@ -30361,10 +30379,14 @@ class WebCallback(AbstractModel):
|
|
30361
30379
|
|
30362
30380
|
@Headers.setter
|
30363
30381
|
def Headers(self, Headers):
|
30382
|
+
warnings.warn("parameter `Headers` is deprecated", DeprecationWarning)
|
30383
|
+
|
30364
30384
|
self._Headers = Headers
|
30365
30385
|
|
30366
30386
|
@property
|
30367
30387
|
def Body(self):
|
30388
|
+
warnings.warn("parameter `Body` is deprecated", DeprecationWarning)
|
30389
|
+
|
30368
30390
|
"""该参数已废弃,请使用NoticeContentId。
|
30369
30391
|
注意:此字段可能返回 null,表示取不到有效值。
|
30370
30392
|
:rtype: str
|
@@ -30373,6 +30395,8 @@ class WebCallback(AbstractModel):
|
|
30373
30395
|
|
30374
30396
|
@Body.setter
|
30375
30397
|
def Body(self, Body):
|
30398
|
+
warnings.warn("parameter `Body` is deprecated", DeprecationWarning)
|
30399
|
+
|
30376
30400
|
self._Body = Body
|
30377
30401
|
|
30378
30402
|
@property
|
@@ -303,6 +303,7 @@ class CvmClient(AbstractClient):
|
|
303
303
|
|
304
304
|
def CreateLaunchTemplateVersion(self, request):
|
305
305
|
"""本接口(CreateLaunchTemplateVersion)根据指定的实例模板ID以及对应的模板版本号创建新的实例启动模板,若未指定模板版本号则使用默认版本号。每个实例启动模板最多创建30个版本。
|
306
|
+
* 新实例模板中未显式指定的参数值,使用指定版本号对应参数值覆盖。
|
306
307
|
|
307
308
|
:param request: Request instance for CreateLaunchTemplateVersion.
|
308
309
|
:type request: :class:`tencentcloud.cvm.v20170312.models.CreateLaunchTemplateVersionRequest`
|
@@ -2751,26 +2751,27 @@ class CreateLaunchTemplateRequest(AbstractModel):
|
|
2751
2751
|
:type Placement: :class:`tencentcloud.cvm.v20170312.models.Placement`
|
2752
2752
|
: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>
|
2753
2753
|
:type ImageId: str
|
2754
|
-
:param _LaunchTemplateVersionDescription: 实例启动模板版本描述。长度为2~256
|
2754
|
+
:param _LaunchTemplateVersionDescription: 实例启动模板版本描述。长度为2~256个英文或中文字符,默认为空字符。
|
2755
2755
|
:type LaunchTemplateVersionDescription: str
|
2756
2756
|
:param _InstanceType: 实例机型。不同实例机型指定了不同的资源规格。
|
2757
2757
|
<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>
|
2758
2758
|
:type InstanceType: str
|
2759
2759
|
:param _SystemDisk: 实例系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
|
2760
2760
|
:type SystemDisk: :class:`tencentcloud.cvm.v20170312.models.SystemDisk`
|
2761
|
-
:param _DataDisks: 实例数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD
|
2761
|
+
:param _DataDisks: 实例数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD数据盘,详情请参考[ 云硬盘使用限制](https://cloud.tencent.com/document/product/362/5145)。
|
2762
2762
|
:type DataDisks: list of DataDisk
|
2763
2763
|
:param _VirtualPrivateCloud: 私有网络相关信息配置。通过该参数可以指定私有网络的ID,子网ID等信息。若不指定该参数,则默认使用基础网络。若在此参数中指定了私有网络IP,即表示每个实例的主网卡IP;同时,InstanceCount参数必须与私有网络IP的个数一致且不能大于20。
|
2764
2764
|
:type VirtualPrivateCloud: :class:`tencentcloud.cvm.v20170312.models.VirtualPrivateCloud`
|
2765
2765
|
:param _InternetAccessible: 公网带宽相关信息设置。若不指定该参数,则默认公网带宽为0Mbps。
|
2766
2766
|
:type InternetAccessible: :class:`tencentcloud.cvm.v20170312.models.InternetAccessible`
|
2767
|
-
:param _InstanceCount:
|
2767
|
+
:param _InstanceCount: 购买实例数量。默认取值:1。指定购买实例的数量不能超过用户所能购买的剩余配额数量,具体配额相关限制详见[CVM实例购买限制](https://cloud.tencent.com/document/product/213/2664)。
|
2768
2768
|
:type InstanceCount: int
|
2769
2769
|
: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>最多支持128个字符(包含模式串)。</li>
|
2770
2770
|
:type InstanceName: str
|
2771
2771
|
:param _LoginSettings: 实例登录设置。通过该参数可以设置实例的登录方式为密钥或保持镜像的原始登录设置。
|
2772
2772
|
:type LoginSettings: :class:`tencentcloud.cvm.v20170312.models.LoginSettings`
|
2773
|
-
:param _SecurityGroupIds: 实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的
|
2773
|
+
:param _SecurityGroupIds: 实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的 `SecurityGroupId` 字段来获取。若不指定该参数,则绑定指定项目下的默认安全组,如默认安全组不存在则将自动创建。
|
2774
|
+
|
2774
2775
|
:type SecurityGroupIds: list of str
|
2775
2776
|
:param _EnhancedService: 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认公共镜像开启云监控、云安全服务;自定义镜像与镜像市场镜像默认不开启云监控,云安全服务,而使用镜像里保留的服务。
|
2776
2777
|
:type EnhancedService: :class:`tencentcloud.cvm.v20170312.models.EnhancedService`
|
@@ -2780,7 +2781,7 @@ class CreateLaunchTemplateRequest(AbstractModel):
|
|
2780
2781
|
:type HostName: str
|
2781
2782
|
:param _ActionTimer: 定时任务。通过该参数可以为实例指定定时任务,目前仅支持定时销毁。
|
2782
2783
|
:type ActionTimer: :class:`tencentcloud.cvm.v20170312.models.ActionTimer`
|
2783
|
-
:param _DisasterRecoverGroupIds: 置放群组id
|
2784
|
+
:param _DisasterRecoverGroupIds: 置放群组id,仅支持指定一个。该参数可以通过调用 [ DescribeDisasterRecoverGroups ](https://cloud.tencent.com/document/api/213/17810) 的返回值中的 `DisasterRecoverGroupId` 字段来获取。
|
2784
2785
|
:type DisasterRecoverGroupIds: list of str
|
2785
2786
|
:param _TagSpecification: 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到云服务器实例。
|
2786
2787
|
:type TagSpecification: list of TagSpecification
|
@@ -2796,7 +2797,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
2796
2797
|
:type DryRun: bool
|
2797
2798
|
:param _CamRoleName: CAM角色名称。可通过[`DescribeRoleList`](https://cloud.tencent.com/document/product/598/13887)接口返回值中的`roleName`获取。
|
2798
2799
|
:type CamRoleName: str
|
2799
|
-
:param _HpcClusterId: 高性能计算集群ID
|
2800
|
+
:param _HpcClusterId: 高性能计算集群ID。若创建的实例为高性能计算实例,需指定实例放置的集群,否则不可指定。该参数可以通过调用 [DescribeHpcClusters](https://cloud.tencent.com/document/api/213/83220) 的返回值中的 `HpcClusterId` 字段来获取。
|
2800
2801
|
:type HpcClusterId: str
|
2801
2802
|
: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。
|
2802
2803
|
:type InstanceChargeType: str
|
@@ -2882,7 +2883,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
2882
2883
|
|
2883
2884
|
@property
|
2884
2885
|
def LaunchTemplateVersionDescription(self):
|
2885
|
-
"""实例启动模板版本描述。长度为2~256
|
2886
|
+
"""实例启动模板版本描述。长度为2~256个英文或中文字符,默认为空字符。
|
2886
2887
|
:rtype: str
|
2887
2888
|
"""
|
2888
2889
|
return self._LaunchTemplateVersionDescription
|
@@ -2916,7 +2917,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
2916
2917
|
|
2917
2918
|
@property
|
2918
2919
|
def DataDisks(self):
|
2919
|
-
"""实例数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD
|
2920
|
+
"""实例数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD数据盘,详情请参考[ 云硬盘使用限制](https://cloud.tencent.com/document/product/362/5145)。
|
2920
2921
|
:rtype: list of DataDisk
|
2921
2922
|
"""
|
2922
2923
|
return self._DataDisks
|
@@ -2949,7 +2950,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
2949
2950
|
|
2950
2951
|
@property
|
2951
2952
|
def InstanceCount(self):
|
2952
|
-
"""
|
2953
|
+
"""购买实例数量。默认取值:1。指定购买实例的数量不能超过用户所能购买的剩余配额数量,具体配额相关限制详见[CVM实例购买限制](https://cloud.tencent.com/document/product/213/2664)。
|
2953
2954
|
:rtype: int
|
2954
2955
|
"""
|
2955
2956
|
return self._InstanceCount
|
@@ -2982,7 +2983,8 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
2982
2983
|
|
2983
2984
|
@property
|
2984
2985
|
def SecurityGroupIds(self):
|
2985
|
-
"""实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的
|
2986
|
+
"""实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的 `SecurityGroupId` 字段来获取。若不指定该参数,则绑定指定项目下的默认安全组,如默认安全组不存在则将自动创建。
|
2987
|
+
|
2986
2988
|
:rtype: list of str
|
2987
2989
|
"""
|
2988
2990
|
return self._SecurityGroupIds
|
@@ -3037,7 +3039,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
3037
3039
|
|
3038
3040
|
@property
|
3039
3041
|
def DisasterRecoverGroupIds(self):
|
3040
|
-
"""置放群组id
|
3042
|
+
"""置放群组id,仅支持指定一个。该参数可以通过调用 [ DescribeDisasterRecoverGroups ](https://cloud.tencent.com/document/api/213/17810) 的返回值中的 `DisasterRecoverGroupId` 字段来获取。
|
3041
3043
|
:rtype: list of str
|
3042
3044
|
"""
|
3043
3045
|
return self._DisasterRecoverGroupIds
|
@@ -3107,7 +3109,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
3107
3109
|
|
3108
3110
|
@property
|
3109
3111
|
def HpcClusterId(self):
|
3110
|
-
"""高性能计算集群ID
|
3112
|
+
"""高性能计算集群ID。若创建的实例为高性能计算实例,需指定实例放置的集群,否则不可指定。该参数可以通过调用 [DescribeHpcClusters](https://cloud.tencent.com/document/api/213/83220) 的返回值中的 `HpcClusterId` 字段来获取。
|
3111
3113
|
:rtype: str
|
3112
3114
|
"""
|
3113
3115
|
return self._HpcClusterId
|
@@ -3318,9 +3320,9 @@ class CreateLaunchTemplateVersionRequest(AbstractModel):
|
|
3318
3320
|
:type Placement: :class:`tencentcloud.cvm.v20170312.models.Placement`
|
3319
3321
|
:param _LaunchTemplateId: 启动模板ID,新版本将基于该实例启动模板ID创建。
|
3320
3322
|
:type LaunchTemplateId: str
|
3321
|
-
:param _LaunchTemplateVersion:
|
3323
|
+
:param _LaunchTemplateVersion: 若给定,新实例启动模板将基于给定的版本号创建。若未指定则使用默认版本,可以通过 [DescribeLaunchTemplateVersions](https://cloud.tencent.com/document/api/213/66323)查询默认版本。
|
3322
3324
|
:type LaunchTemplateVersion: int
|
3323
|
-
:param _LaunchTemplateVersionDescription: 实例启动模板版本描述。长度为2~256
|
3325
|
+
:param _LaunchTemplateVersionDescription: 实例启动模板版本描述。长度为2~256个英文或中文字符,不指定该参数时默认为空字符。
|
3324
3326
|
:type LaunchTemplateVersionDescription: str
|
3325
3327
|
:param _InstanceType: 实例机型。不同实例机型指定了不同的资源规格。
|
3326
3328
|
<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>
|
@@ -3335,7 +3337,7 @@ class CreateLaunchTemplateVersionRequest(AbstractModel):
|
|
3335
3337
|
:type VirtualPrivateCloud: :class:`tencentcloud.cvm.v20170312.models.VirtualPrivateCloud`
|
3336
3338
|
:param _InternetAccessible: 公网带宽相关信息设置。若不指定该参数,则默认公网带宽为0Mbps。
|
3337
3339
|
:type InternetAccessible: :class:`tencentcloud.cvm.v20170312.models.InternetAccessible`
|
3338
|
-
:param _InstanceCount:
|
3340
|
+
:param _InstanceCount: 购买实例数量。具体配额相关限制详见[CVM实例购买限制](https://cloud.tencent.com/document/product/213/2664)。
|
3339
3341
|
:type InstanceCount: int
|
3340
3342
|
: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>最多支持128个字符(包含模式串)。</li>
|
3341
3343
|
:type InstanceName: str
|
@@ -3365,7 +3367,7 @@ true:发送检查请求,不会创建实例。检查项包括是否填写了
|
|
3365
3367
|
如果检查通过,则返回RequestId.
|
3366
3368
|
false(默认):发送正常请求,通过检查后直接创建实例。
|
3367
3369
|
:type DryRun: bool
|
3368
|
-
:param _CamRoleName: CAM角色名称。可通过[
|
3370
|
+
:param _CamRoleName: CAM角色名称。可通过[ DescribeRoleList ](https://cloud.tencent.com/document/product/598/13887)接口返回值中的`roleName`获取。
|
3369
3371
|
:type CamRoleName: str
|
3370
3372
|
:param _HpcClusterId: 高性能计算集群ID。若创建的实例为高性能计算实例,需指定实例放置的集群,否则不可指定。
|
3371
3373
|
:type HpcClusterId: str
|
@@ -3440,7 +3442,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
3440
3442
|
|
3441
3443
|
@property
|
3442
3444
|
def LaunchTemplateVersion(self):
|
3443
|
-
"""
|
3445
|
+
"""若给定,新实例启动模板将基于给定的版本号创建。若未指定则使用默认版本,可以通过 [DescribeLaunchTemplateVersions](https://cloud.tencent.com/document/api/213/66323)查询默认版本。
|
3444
3446
|
:rtype: int
|
3445
3447
|
"""
|
3446
3448
|
return self._LaunchTemplateVersion
|
@@ -3451,7 +3453,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
3451
3453
|
|
3452
3454
|
@property
|
3453
3455
|
def LaunchTemplateVersionDescription(self):
|
3454
|
-
"""实例启动模板版本描述。长度为2~256
|
3456
|
+
"""实例启动模板版本描述。长度为2~256个英文或中文字符,不指定该参数时默认为空字符。
|
3455
3457
|
:rtype: str
|
3456
3458
|
"""
|
3457
3459
|
return self._LaunchTemplateVersionDescription
|
@@ -3529,7 +3531,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
3529
3531
|
|
3530
3532
|
@property
|
3531
3533
|
def InstanceCount(self):
|
3532
|
-
"""
|
3534
|
+
"""购买实例数量。具体配额相关限制详见[CVM实例购买限制](https://cloud.tencent.com/document/product/213/2664)。
|
3533
3535
|
:rtype: int
|
3534
3536
|
"""
|
3535
3537
|
return self._InstanceCount
|
@@ -3676,7 +3678,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
3676
3678
|
|
3677
3679
|
@property
|
3678
3680
|
def CamRoleName(self):
|
3679
|
-
"""CAM角色名称。可通过[
|
3681
|
+
"""CAM角色名称。可通过[ DescribeRoleList ](https://cloud.tencent.com/document/product/598/13887)接口返回值中的`roleName`获取。
|
3680
3682
|
:rtype: str
|
3681
3683
|
"""
|
3682
3684
|
return self._CamRoleName
|
@@ -18030,9 +18032,9 @@ class Placement(AbstractModel):
|
|
18030
18032
|
r"""
|
18031
18033
|
:param _Zone: 实例所属的可用区名称。该参数可以通过调用 [DescribeZones](https://cloud.tencent.com/document/product/213/15707) 的返回值中的Zone字段来获取。
|
18032
18034
|
:type Zone: str
|
18033
|
-
:param _ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的
|
18035
|
+
:param _ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 `ProjectId` 字段来获取。默认取值0,表示默认项目。
|
18034
18036
|
:type ProjectId: int
|
18035
|
-
:param _HostIds: 实例所属的专用宿主机ID
|
18037
|
+
:param _HostIds: 实例所属的专用宿主机ID列表,仅用于入参。如果您有购买专用宿主机并且指定了该参数,则您购买的实例就会随机的部署在这些专用宿主机上。该参数可以通过调用 [DescribeHosts](https://cloud.tencent.com/document/api/213/16474) 的返回值中的 `HostId` 字段来获取。
|
18036
18038
|
:type HostIds: list of str
|
18037
18039
|
:param _HostId: 实例所属的专用宿主机ID,仅用于出参。
|
18038
18040
|
:type HostId: str
|
@@ -18055,7 +18057,7 @@ class Placement(AbstractModel):
|
|
18055
18057
|
|
18056
18058
|
@property
|
18057
18059
|
def ProjectId(self):
|
18058
|
-
"""实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的
|
18060
|
+
"""实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 `ProjectId` 字段来获取。默认取值0,表示默认项目。
|
18059
18061
|
:rtype: int
|
18060
18062
|
"""
|
18061
18063
|
return self._ProjectId
|
@@ -18066,7 +18068,7 @@ class Placement(AbstractModel):
|
|
18066
18068
|
|
18067
18069
|
@property
|
18068
18070
|
def HostIds(self):
|
18069
|
-
"""实例所属的专用宿主机ID
|
18071
|
+
"""实例所属的专用宿主机ID列表,仅用于入参。如果您有购买专用宿主机并且指定了该参数,则您购买的实例就会随机的部署在这些专用宿主机上。该参数可以通过调用 [DescribeHosts](https://cloud.tencent.com/document/api/213/16474) 的返回值中的 `HostId` 字段来获取。
|
18070
18072
|
:rtype: list of str
|
18071
18073
|
"""
|
18072
18074
|
return self._HostIds
|
@@ -62,6 +62,9 @@ FAILEDOPERATION_GETNETSERVICEINFOERROR = 'FailedOperation.GetNetServiceInfoError
|
|
62
62
|
# 查询主实例详情失败。
|
63
63
|
FAILEDOPERATION_GETOSSINFOERROR = 'FailedOperation.GetOssInfoError'
|
64
64
|
|
65
|
+
# 请求查询实例信息失败
|
66
|
+
FAILEDOPERATION_INSTANCEQUERYERROR = 'FailedOperation.InstanceQueryError'
|
67
|
+
|
65
68
|
# 账号余额不足。
|
66
69
|
FAILEDOPERATION_INSUFFICIENTBALANCE = 'FailedOperation.InsufficientBalance'
|
67
70
|
|