tencentcloud-sdk-python 3.0.1329__py2.py3-none-any.whl → 3.0.1330__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.
Files changed (28) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ams/v20201229/models.py +157 -0
  3. tencentcloud/batch/v20170312/models.py +2 -26
  4. tencentcloud/cfw/v20190904/cfw_client.py +9 -3
  5. tencentcloud/cvm/v20170312/models.py +22 -38
  6. tencentcloud/cynosdb/v20190107/models.py +23 -4
  7. tencentcloud/emr/v20190103/models.py +4 -4
  8. tencentcloud/ess/v20201111/ess_client.py +27 -0
  9. tencentcloud/ess/v20201111/models.py +147 -316
  10. tencentcloud/essbasic/v20210526/essbasic_client.py +27 -0
  11. tencentcloud/essbasic/v20210526/models.py +146 -238
  12. tencentcloud/lcic/v20220817/models.py +12 -2
  13. tencentcloud/lighthouse/v20200324/models.py +12 -12
  14. tencentcloud/live/v20180801/models.py +0 -2
  15. tencentcloud/lke/v20231130/lke_client.py +23 -0
  16. tencentcloud/lke/v20231130/models.py +128 -4
  17. tencentcloud/rce/v20201103/models.py +16 -52
  18. tencentcloud/taf/v20200210/models.py +0 -2
  19. tencentcloud/teo/v20220901/models.py +18 -4
  20. tencentcloud/tke/v20180525/models.py +2 -178
  21. tencentcloud/tse/v20201207/models.py +153 -0
  22. tencentcloud/vm/v20201229/models.py +615 -68
  23. tencentcloud/vm/v20210922/models.py +737 -102
  24. {tencentcloud_sdk_python-3.0.1329.dist-info → tencentcloud_sdk_python-3.0.1330.dist-info}/METADATA +1 -1
  25. {tencentcloud_sdk_python-3.0.1329.dist-info → tencentcloud_sdk_python-3.0.1330.dist-info}/RECORD +28 -28
  26. {tencentcloud_sdk_python-3.0.1329.dist-info → tencentcloud_sdk_python-3.0.1330.dist-info}/LICENSE +0 -0
  27. {tencentcloud_sdk_python-3.0.1329.dist-info → tencentcloud_sdk_python-3.0.1330.dist-info}/WHEEL +0 -0
  28. {tencentcloud_sdk_python-3.0.1329.dist-info → tencentcloud_sdk_python-3.0.1330.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1329'
17
+ __version__ = '3.0.1330'
@@ -2192,6 +2192,92 @@ class DescribeTasksResponse(AbstractModel):
2192
2192
  self._RequestId = params.get("RequestId")
2193
2193
 
2194
2194
 
2195
+ class HitInfo(AbstractModel):
2196
+ """关键词命中位置信息
2197
+
2198
+ """
2199
+
2200
+ def __init__(self):
2201
+ r"""
2202
+ :param _Type: 标识模型命中还是关键词命中
2203
+ :type Type: str
2204
+ :param _Keyword: 命中关键词
2205
+ :type Keyword: str
2206
+ :param _LibName: 自定义词库名称
2207
+ :type LibName: str
2208
+ :param _Positions: 位置信息
2209
+ :type Positions: list of Position
2210
+ """
2211
+ self._Type = None
2212
+ self._Keyword = None
2213
+ self._LibName = None
2214
+ self._Positions = None
2215
+
2216
+ @property
2217
+ def Type(self):
2218
+ """标识模型命中还是关键词命中
2219
+ :rtype: str
2220
+ """
2221
+ return self._Type
2222
+
2223
+ @Type.setter
2224
+ def Type(self, Type):
2225
+ self._Type = Type
2226
+
2227
+ @property
2228
+ def Keyword(self):
2229
+ """命中关键词
2230
+ :rtype: str
2231
+ """
2232
+ return self._Keyword
2233
+
2234
+ @Keyword.setter
2235
+ def Keyword(self, Keyword):
2236
+ self._Keyword = Keyword
2237
+
2238
+ @property
2239
+ def LibName(self):
2240
+ """自定义词库名称
2241
+ :rtype: str
2242
+ """
2243
+ return self._LibName
2244
+
2245
+ @LibName.setter
2246
+ def LibName(self, LibName):
2247
+ self._LibName = LibName
2248
+
2249
+ @property
2250
+ def Positions(self):
2251
+ """ 位置信息
2252
+ :rtype: list of Position
2253
+ """
2254
+ return self._Positions
2255
+
2256
+ @Positions.setter
2257
+ def Positions(self, Positions):
2258
+ self._Positions = Positions
2259
+
2260
+
2261
+ def _deserialize(self, params):
2262
+ self._Type = params.get("Type")
2263
+ self._Keyword = params.get("Keyword")
2264
+ self._LibName = params.get("LibName")
2265
+ if params.get("Positions") is not None:
2266
+ self._Positions = []
2267
+ for item in params.get("Positions"):
2268
+ obj = Position()
2269
+ obj._deserialize(item)
2270
+ self._Positions.append(obj)
2271
+ memeber_set = set(params.keys())
2272
+ for name, value in vars(self).items():
2273
+ property_name = name[1:]
2274
+ if property_name in memeber_set:
2275
+ memeber_set.remove(property_name)
2276
+ if len(memeber_set) > 0:
2277
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2278
+
2279
+
2280
+
2195
2281
  class InputInfo(AbstractModel):
2196
2282
  """输入信息详情
2197
2283
 
@@ -2623,6 +2709,57 @@ class MoanResult(AbstractModel):
2623
2709
 
2624
2710
 
2625
2711
 
2712
+ class Position(AbstractModel):
2713
+ """标识命中的违规关键词位置信息
2714
+
2715
+ """
2716
+
2717
+ def __init__(self):
2718
+ r"""
2719
+ :param _Start: 关键词起始位置
2720
+ :type Start: int
2721
+ :param _End: 关键词结束位置
2722
+ :type End: int
2723
+ """
2724
+ self._Start = None
2725
+ self._End = None
2726
+
2727
+ @property
2728
+ def Start(self):
2729
+ """关键词起始位置
2730
+ :rtype: int
2731
+ """
2732
+ return self._Start
2733
+
2734
+ @Start.setter
2735
+ def Start(self, Start):
2736
+ self._Start = Start
2737
+
2738
+ @property
2739
+ def End(self):
2740
+ """关键词结束位置
2741
+ :rtype: int
2742
+ """
2743
+ return self._End
2744
+
2745
+ @End.setter
2746
+ def End(self, End):
2747
+ self._End = End
2748
+
2749
+
2750
+ def _deserialize(self, params):
2751
+ self._Start = params.get("Start")
2752
+ self._End = params.get("End")
2753
+ memeber_set = set(params.keys())
2754
+ for name, value in vars(self).items():
2755
+ property_name = name[1:]
2756
+ if property_name in memeber_set:
2757
+ memeber_set.remove(property_name)
2758
+ if len(memeber_set) > 0:
2759
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2760
+
2761
+
2762
+
2626
2763
  class RecognitionResult(AbstractModel):
2627
2764
  """识别类标签结果信息
2628
2765
 
@@ -3530,6 +3667,8 @@ class TextResult(AbstractModel):
3530
3667
  注意:此字段可能返回null,表示取不到有效值。
3531
3668
  注意:此字段可能返回 null,表示取不到有效值。
3532
3669
  :type SubLabel: str
3670
+ :param _HitInfos: 该字段用于返回违规文本命中信息
3671
+ :type HitInfos: list of HitInfo
3533
3672
  """
3534
3673
  self._Label = None
3535
3674
  self._Keywords = None
@@ -3539,6 +3678,7 @@ class TextResult(AbstractModel):
3539
3678
  self._Suggestion = None
3540
3679
  self._LibType = None
3541
3680
  self._SubLabel = None
3681
+ self._HitInfos = None
3542
3682
 
3543
3683
  @property
3544
3684
  def Label(self):
@@ -3645,6 +3785,17 @@ class TextResult(AbstractModel):
3645
3785
  def SubLabel(self, SubLabel):
3646
3786
  self._SubLabel = SubLabel
3647
3787
 
3788
+ @property
3789
+ def HitInfos(self):
3790
+ """该字段用于返回违规文本命中信息
3791
+ :rtype: list of HitInfo
3792
+ """
3793
+ return self._HitInfos
3794
+
3795
+ @HitInfos.setter
3796
+ def HitInfos(self, HitInfos):
3797
+ self._HitInfos = HitInfos
3798
+
3648
3799
 
3649
3800
  def _deserialize(self, params):
3650
3801
  self._Label = params.get("Label")
@@ -3655,6 +3806,12 @@ class TextResult(AbstractModel):
3655
3806
  self._Suggestion = params.get("Suggestion")
3656
3807
  self._LibType = params.get("LibType")
3657
3808
  self._SubLabel = params.get("SubLabel")
3809
+ if params.get("HitInfos") is not None:
3810
+ self._HitInfos = []
3811
+ for item in params.get("HitInfos"):
3812
+ obj = HitInfo()
3813
+ obj._deserialize(item)
3814
+ self._HitInfos.append(obj)
3658
3815
  memeber_set = set(params.keys())
3659
3816
  for name, value in vars(self).items():
3660
3817
  property_name = name[1:]
@@ -1880,10 +1880,8 @@ class DataDisk(AbstractModel):
1880
1880
  默认取值:true<br />
1881
1881
  该参数目前仅用于 `RunInstances` 接口。
1882
1882
  </li>
1883
- 注意:此字段可能返回 null,表示取不到有效值。
1884
1883
  :type DeleteWithInstance: bool
1885
1884
  :param _SnapshotId: 数据盘快照ID。选择的数据盘快照大小需小于数据盘大小。
1886
- 注意:此字段可能返回 null,表示取不到有效值。
1887
1885
  :type SnapshotId: str
1888
1886
  :param _Encrypt: 数据盘是加密。取值范围:
1889
1887
  <li>true:加密</li>
@@ -1892,23 +1890,18 @@ class DataDisk(AbstractModel):
1892
1890
  默认取值:false<br />
1893
1891
  该参数目前仅用于 `RunInstances` 接口。
1894
1892
  </li>
1895
- 注意:此字段可能返回 null,表示取不到有效值。
1896
1893
  :type Encrypt: bool
1897
1894
  :param _KmsKeyId: 自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。
1898
1895
 
1899
1896
  该参数目前仅用于 `RunInstances` 接口。
1900
- 注意:此字段可能返回 null,表示取不到有效值。
1901
1897
  :type KmsKeyId: str
1902
1898
  :param _ThroughputPerformance: 云硬盘性能,单位:MB/s
1903
- 注意:此字段可能返回 null,表示取不到有效值。
1904
1899
  :type ThroughputPerformance: int
1905
1900
  :param _CdcId: 所属的独享集群ID。
1906
- 注意:此字段可能返回 null,表示取不到有效值。
1907
1901
  :type CdcId: str
1908
1902
  :param _BurstPerformance: 突发性能
1909
1903
 
1910
1904
  <b>注:内测中。</b>
1911
- 注意:此字段可能返回 null,表示取不到有效值。
1912
1905
  :type BurstPerformance: bool
1913
1906
  :param _DiskName: 磁盘名称,长度不超过128 个字符。
1914
1907
 
@@ -1970,7 +1963,6 @@ class DataDisk(AbstractModel):
1970
1963
  默认取值:true<br />
1971
1964
  该参数目前仅用于 `RunInstances` 接口。
1972
1965
  </li>
1973
- 注意:此字段可能返回 null,表示取不到有效值。
1974
1966
  :rtype: bool
1975
1967
  """
1976
1968
  return self._DeleteWithInstance
@@ -1982,7 +1974,6 @@ class DataDisk(AbstractModel):
1982
1974
  @property
1983
1975
  def SnapshotId(self):
1984
1976
  """数据盘快照ID。选择的数据盘快照大小需小于数据盘大小。
1985
- 注意:此字段可能返回 null,表示取不到有效值。
1986
1977
  :rtype: str
1987
1978
  """
1988
1979
  return self._SnapshotId
@@ -2000,7 +1991,6 @@ class DataDisk(AbstractModel):
2000
1991
  默认取值:false<br />
2001
1992
  该参数目前仅用于 `RunInstances` 接口。
2002
1993
  </li>
2003
- 注意:此字段可能返回 null,表示取不到有效值。
2004
1994
  :rtype: bool
2005
1995
  """
2006
1996
  return self._Encrypt
@@ -2014,7 +2004,6 @@ class DataDisk(AbstractModel):
2014
2004
  """自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。
2015
2005
 
2016
2006
  该参数目前仅用于 `RunInstances` 接口。
2017
- 注意:此字段可能返回 null,表示取不到有效值。
2018
2007
  :rtype: str
2019
2008
  """
2020
2009
  return self._KmsKeyId
@@ -2026,7 +2015,6 @@ class DataDisk(AbstractModel):
2026
2015
  @property
2027
2016
  def ThroughputPerformance(self):
2028
2017
  """云硬盘性能,单位:MB/s
2029
- 注意:此字段可能返回 null,表示取不到有效值。
2030
2018
  :rtype: int
2031
2019
  """
2032
2020
  return self._ThroughputPerformance
@@ -2038,7 +2026,6 @@ class DataDisk(AbstractModel):
2038
2026
  @property
2039
2027
  def CdcId(self):
2040
2028
  """所属的独享集群ID。
2041
- 注意:此字段可能返回 null,表示取不到有效值。
2042
2029
  :rtype: str
2043
2030
  """
2044
2031
  return self._CdcId
@@ -2052,7 +2039,6 @@ class DataDisk(AbstractModel):
2052
2039
  """突发性能
2053
2040
 
2054
2041
  <b>注:内测中。</b>
2055
- 注意:此字段可能返回 null,表示取不到有效值。
2056
2042
  :rtype: bool
2057
2043
  """
2058
2044
  return self._BurstPerformance
@@ -6286,10 +6272,8 @@ class InstanceMarketOptionsRequest(AbstractModel):
6286
6272
  def __init__(self):
6287
6273
  r"""
6288
6274
  :param _SpotOptions: 竞价相关选项
6289
- 注意:此字段可能返回 null,表示取不到有效值。
6290
6275
  :type SpotOptions: :class:`tencentcloud.batch.v20170312.models.SpotMarketOptions`
6291
6276
  :param _MarketType: 市场选项类型,当前只支持取值:spot
6292
- 注意:此字段可能返回 null,表示取不到有效值。
6293
6277
  :type MarketType: str
6294
6278
  """
6295
6279
  self._SpotOptions = None
@@ -6298,7 +6282,6 @@ class InstanceMarketOptionsRequest(AbstractModel):
6298
6282
  @property
6299
6283
  def SpotOptions(self):
6300
6284
  """竞价相关选项
6301
- 注意:此字段可能返回 null,表示取不到有效值。
6302
6285
  :rtype: :class:`tencentcloud.batch.v20170312.models.SpotMarketOptions`
6303
6286
  """
6304
6287
  return self._SpotOptions
@@ -6310,7 +6293,6 @@ class InstanceMarketOptionsRequest(AbstractModel):
6310
6293
  @property
6311
6294
  def MarketType(self):
6312
6295
  """市场选项类型,当前只支持取值:spot
6313
- 注意:此字段可能返回 null,表示取不到有效值。
6314
6296
  :rtype: str
6315
6297
  """
6316
6298
  return self._MarketType
@@ -9331,16 +9313,14 @@ class RunMonitorServiceEnabled(AbstractModel):
9331
9313
 
9332
9314
  def __init__(self):
9333
9315
  r"""
9334
- :param _Enabled: 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务<br><li>false:表示不开启云监控服务<br><br>默认取值:true。
9335
- 注意:此字段可能返回 null,表示取不到有效值。
9316
+ :param _Enabled: 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务</li><li>false:表示不开启云监控服务</li><br>默认取值:true。
9336
9317
  :type Enabled: bool
9337
9318
  """
9338
9319
  self._Enabled = None
9339
9320
 
9340
9321
  @property
9341
9322
  def Enabled(self):
9342
- """是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务<br><li>false:表示不开启云监控服务<br><br>默认取值:true。
9343
- 注意:此字段可能返回 null,表示取不到有效值。
9323
+ """是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务</li><li>false:表示不开启云监控服务</li><br>默认取值:true。
9344
9324
  :rtype: bool
9345
9325
  """
9346
9326
  return self._Enabled
@@ -9406,10 +9386,8 @@ class SpotMarketOptions(AbstractModel):
9406
9386
  def __init__(self):
9407
9387
  r"""
9408
9388
  :param _MaxPrice: 竞价出价
9409
- 注意:此字段可能返回 null,表示取不到有效值。
9410
9389
  :type MaxPrice: str
9411
9390
  :param _SpotInstanceType: 竞价请求类型,当前仅支持类型:one-time
9412
- 注意:此字段可能返回 null,表示取不到有效值。
9413
9391
  :type SpotInstanceType: str
9414
9392
  """
9415
9393
  self._MaxPrice = None
@@ -9418,7 +9396,6 @@ class SpotMarketOptions(AbstractModel):
9418
9396
  @property
9419
9397
  def MaxPrice(self):
9420
9398
  """竞价出价
9421
- 注意:此字段可能返回 null,表示取不到有效值。
9422
9399
  :rtype: str
9423
9400
  """
9424
9401
  return self._MaxPrice
@@ -9430,7 +9407,6 @@ class SpotMarketOptions(AbstractModel):
9430
9407
  @property
9431
9408
  def SpotInstanceType(self):
9432
9409
  """竞价请求类型,当前仅支持类型:one-time
9433
- 注意:此字段可能返回 null,表示取不到有效值。
9434
9410
  :rtype: str
9435
9411
  """
9436
9412
  return self._SpotInstanceType
@@ -326,7 +326,9 @@ class CfwClient(AbstractClient):
326
326
 
327
327
 
328
328
  def CreateIdsWhiteRule(self, request):
329
- """创建入侵防御规则白名单接口
329
+ """CreateIdsWhiteRule
330
+
331
+ 创建入侵防御规则白名单接口
330
332
 
331
333
  :param request: Request instance for CreateIdsWhiteRule.
332
334
  :type request: :class:`tencentcloud.cfw.v20190904.models.CreateIdsWhiteRuleRequest`
@@ -556,7 +558,9 @@ class CfwClient(AbstractClient):
556
558
 
557
559
 
558
560
  def DeleteIdsWhiteRule(self, request):
559
- """删除入侵防御规则白名单接口
561
+ """历史方案,业务已迁移,接口不再适用
562
+
563
+ 删除入侵防御规则白名单接口
560
564
 
561
565
  :param request: Request instance for DeleteIdsWhiteRule.
562
566
  :type request: :class:`tencentcloud.cfw.v20190904.models.DeleteIdsWhiteRuleRequest`
@@ -1108,7 +1112,9 @@ class CfwClient(AbstractClient):
1108
1112
 
1109
1113
 
1110
1114
  def DescribeIdsWhiteRule(self, request):
1111
- """查询入侵防御规则白名单接口
1115
+ """历史方案,业务已迁移,接口不再适用
1116
+
1117
+ 查询入侵防御规则白名单接口
1112
1118
 
1113
1119
  :param request: Request instance for DescribeIdsWhiteRule.
1114
1120
  :type request: :class:`tencentcloud.cfw.v20190904.models.DescribeIdsWhiteRuleRequest`
@@ -200,13 +200,10 @@ class ActionTimer(AbstractModel):
200
200
  def __init__(self):
201
201
  r"""
202
202
  :param _TimerAction: 定时器动作,目前仅支持销毁一个值:TerminateInstances。
203
- 注意:此字段可能返回 null,表示取不到有效值。
204
203
  :type TimerAction: str
205
204
  :param _ActionTime: 执行时间,按照ISO8601标准表示,并且使用UTC时间。格式为 YYYY-MM-DDThh:mm:ssZ。例如 2018-05-29T11:26:40Z,执行时间必须大于当前时间5分钟。
206
- 注意:此字段可能返回 null,表示取不到有效值。
207
205
  :type ActionTime: str
208
206
  :param _Externals: 扩展数据
209
- 注意:此字段可能返回 null,表示取不到有效值。
210
207
  :type Externals: :class:`tencentcloud.cvm.v20170312.models.Externals`
211
208
  :param _ActionTimerId: 定时器ID。
212
209
  :type ActionTimerId: str
@@ -230,7 +227,6 @@ DONE:已经触发
230
227
  @property
231
228
  def TimerAction(self):
232
229
  """定时器动作,目前仅支持销毁一个值:TerminateInstances。
233
- 注意:此字段可能返回 null,表示取不到有效值。
234
230
  :rtype: str
235
231
  """
236
232
  return self._TimerAction
@@ -242,7 +238,6 @@ DONE:已经触发
242
238
  @property
243
239
  def ActionTime(self):
244
240
  """执行时间,按照ISO8601标准表示,并且使用UTC时间。格式为 YYYY-MM-DDThh:mm:ssZ。例如 2018-05-29T11:26:40Z,执行时间必须大于当前时间5分钟。
245
- 注意:此字段可能返回 null,表示取不到有效值。
246
241
  :rtype: str
247
242
  """
248
243
  return self._ActionTime
@@ -254,7 +249,6 @@ DONE:已经触发
254
249
  @property
255
250
  def Externals(self):
256
251
  """扩展数据
257
- 注意:此字段可能返回 null,表示取不到有效值。
258
252
  :rtype: :class:`tencentcloud.cvm.v20170312.models.Externals`
259
253
  """
260
254
  return self._Externals
@@ -2777,6 +2771,8 @@ false(默认):发送正常请求,通过检查后直接创建实例。
2777
2771
  :type InstanceChargePrepaid: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
2778
2772
  :param _DisableApiTermination: 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例</li><li>FALSE:表示关闭实例保护,允许通过api接口删除实例<br></li>默认取值:FALSE。
2779
2773
  :type DisableApiTermination: bool
2774
+ :param _LaunchTemplateTagSpecification: 标签描述列表。通过指定该参数可以绑定标签到实例启动模板。
2775
+ :type LaunchTemplateTagSpecification: list of TagSpecification
2780
2776
  """
2781
2777
  self._LaunchTemplateName = None
2782
2778
  self._Placement = None
@@ -2805,6 +2801,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
2805
2801
  self._InstanceChargeType = None
2806
2802
  self._InstanceChargePrepaid = None
2807
2803
  self._DisableApiTermination = None
2804
+ self._LaunchTemplateTagSpecification = None
2808
2805
 
2809
2806
  @property
2810
2807
  def LaunchTemplateName(self):
@@ -3108,6 +3105,17 @@ false(默认):发送正常请求,通过检查后直接创建实例。
3108
3105
  def DisableApiTermination(self, DisableApiTermination):
3109
3106
  self._DisableApiTermination = DisableApiTermination
3110
3107
 
3108
+ @property
3109
+ def LaunchTemplateTagSpecification(self):
3110
+ """标签描述列表。通过指定该参数可以绑定标签到实例启动模板。
3111
+ :rtype: list of TagSpecification
3112
+ """
3113
+ return self._LaunchTemplateTagSpecification
3114
+
3115
+ @LaunchTemplateTagSpecification.setter
3116
+ def LaunchTemplateTagSpecification(self, LaunchTemplateTagSpecification):
3117
+ self._LaunchTemplateTagSpecification = LaunchTemplateTagSpecification
3118
+
3111
3119
 
3112
3120
  def _deserialize(self, params):
3113
3121
  self._LaunchTemplateName = params.get("LaunchTemplateName")
@@ -3165,6 +3173,12 @@ false(默认):发送正常请求,通过检查后直接创建实例。
3165
3173
  self._InstanceChargePrepaid = InstanceChargePrepaid()
3166
3174
  self._InstanceChargePrepaid._deserialize(params.get("InstanceChargePrepaid"))
3167
3175
  self._DisableApiTermination = params.get("DisableApiTermination")
3176
+ if params.get("LaunchTemplateTagSpecification") is not None:
3177
+ self._LaunchTemplateTagSpecification = []
3178
+ for item in params.get("LaunchTemplateTagSpecification"):
3179
+ obj = TagSpecification()
3180
+ obj._deserialize(item)
3181
+ self._LaunchTemplateTagSpecification.append(obj)
3168
3182
  memeber_set = set(params.keys())
3169
3183
  for name, value in vars(self).items():
3170
3184
  property_name = name[1:]
@@ -3761,10 +3775,8 @@ class DataDisk(AbstractModel):
3761
3775
  默认取值:true<br />
3762
3776
  该参数目前仅用于 `RunInstances` 接口。
3763
3777
  </li>
3764
- 注意:此字段可能返回 null,表示取不到有效值。
3765
3778
  :type DeleteWithInstance: bool
3766
3779
  :param _SnapshotId: 数据盘快照ID。选择的数据盘快照大小需小于数据盘大小。
3767
- 注意:此字段可能返回 null,表示取不到有效值。
3768
3780
  :type SnapshotId: str
3769
3781
  :param _Encrypt: 数据盘是加密。取值范围:
3770
3782
  <li>true:加密</li>
@@ -3773,23 +3785,18 @@ class DataDisk(AbstractModel):
3773
3785
  默认取值:false<br />
3774
3786
  该参数目前仅用于 `RunInstances` 接口。
3775
3787
  </li>
3776
- 注意:此字段可能返回 null,表示取不到有效值。
3777
3788
  :type Encrypt: bool
3778
3789
  :param _KmsKeyId: 自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。
3779
3790
 
3780
3791
  该参数目前仅用于 `RunInstances` 接口。
3781
- 注意:此字段可能返回 null,表示取不到有效值。
3782
3792
  :type KmsKeyId: str
3783
3793
  :param _ThroughputPerformance: 云硬盘性能,单位:MB/s
3784
- 注意:此字段可能返回 null,表示取不到有效值。
3785
3794
  :type ThroughputPerformance: int
3786
3795
  :param _CdcId: 所属的独享集群ID。
3787
- 注意:此字段可能返回 null,表示取不到有效值。
3788
3796
  :type CdcId: str
3789
3797
  :param _BurstPerformance: 突发性能
3790
3798
 
3791
3799
  <b>注:内测中。</b>
3792
- 注意:此字段可能返回 null,表示取不到有效值。
3793
3800
  :type BurstPerformance: bool
3794
3801
  :param _DiskName: 磁盘名称,长度不超过128 个字符。
3795
3802
 
@@ -3851,7 +3858,6 @@ class DataDisk(AbstractModel):
3851
3858
  默认取值:true<br />
3852
3859
  该参数目前仅用于 `RunInstances` 接口。
3853
3860
  </li>
3854
- 注意:此字段可能返回 null,表示取不到有效值。
3855
3861
  :rtype: bool
3856
3862
  """
3857
3863
  return self._DeleteWithInstance
@@ -3863,7 +3869,6 @@ class DataDisk(AbstractModel):
3863
3869
  @property
3864
3870
  def SnapshotId(self):
3865
3871
  """数据盘快照ID。选择的数据盘快照大小需小于数据盘大小。
3866
- 注意:此字段可能返回 null,表示取不到有效值。
3867
3872
  :rtype: str
3868
3873
  """
3869
3874
  return self._SnapshotId
@@ -3881,7 +3886,6 @@ class DataDisk(AbstractModel):
3881
3886
  默认取值:false<br />
3882
3887
  该参数目前仅用于 `RunInstances` 接口。
3883
3888
  </li>
3884
- 注意:此字段可能返回 null,表示取不到有效值。
3885
3889
  :rtype: bool
3886
3890
  """
3887
3891
  return self._Encrypt
@@ -3895,7 +3899,6 @@ class DataDisk(AbstractModel):
3895
3899
  """自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。
3896
3900
 
3897
3901
  该参数目前仅用于 `RunInstances` 接口。
3898
- 注意:此字段可能返回 null,表示取不到有效值。
3899
3902
  :rtype: str
3900
3903
  """
3901
3904
  return self._KmsKeyId
@@ -3907,7 +3910,6 @@ class DataDisk(AbstractModel):
3907
3910
  @property
3908
3911
  def ThroughputPerformance(self):
3909
3912
  """云硬盘性能,单位:MB/s
3910
- 注意:此字段可能返回 null,表示取不到有效值。
3911
3913
  :rtype: int
3912
3914
  """
3913
3915
  return self._ThroughputPerformance
@@ -3919,7 +3921,6 @@ class DataDisk(AbstractModel):
3919
3921
  @property
3920
3922
  def CdcId(self):
3921
3923
  """所属的独享集群ID。
3922
- 注意:此字段可能返回 null,表示取不到有效值。
3923
3924
  :rtype: str
3924
3925
  """
3925
3926
  return self._CdcId
@@ -3933,7 +3934,6 @@ class DataDisk(AbstractModel):
3933
3934
  """突发性能
3934
3935
 
3935
3936
  <b>注:内测中。</b>
3936
- 注意:此字段可能返回 null,表示取不到有效值。
3937
3937
  :rtype: bool
3938
3938
  """
3939
3939
  return self._BurstPerformance
@@ -12943,10 +12943,8 @@ class InstanceMarketOptionsRequest(AbstractModel):
12943
12943
  def __init__(self):
12944
12944
  r"""
12945
12945
  :param _SpotOptions: 竞价相关选项
12946
- 注意:此字段可能返回 null,表示取不到有效值。
12947
12946
  :type SpotOptions: :class:`tencentcloud.cvm.v20170312.models.SpotMarketOptions`
12948
12947
  :param _MarketType: 市场选项类型,当前只支持取值:spot
12949
- 注意:此字段可能返回 null,表示取不到有效值。
12950
12948
  :type MarketType: str
12951
12949
  """
12952
12950
  self._SpotOptions = None
@@ -12955,7 +12953,6 @@ class InstanceMarketOptionsRequest(AbstractModel):
12955
12953
  @property
12956
12954
  def SpotOptions(self):
12957
12955
  """竞价相关选项
12958
- 注意:此字段可能返回 null,表示取不到有效值。
12959
12956
  :rtype: :class:`tencentcloud.cvm.v20170312.models.SpotMarketOptions`
12960
12957
  """
12961
12958
  return self._SpotOptions
@@ -12967,7 +12964,6 @@ class InstanceMarketOptionsRequest(AbstractModel):
12967
12964
  @property
12968
12965
  def MarketType(self):
12969
12966
  """市场选项类型,当前只支持取值:spot
12970
- 注意:此字段可能返回 null,表示取不到有效值。
12971
12967
  :rtype: str
12972
12968
  """
12973
12969
  return self._MarketType
@@ -15299,7 +15295,6 @@ class LoginSettings(AbstractModel):
15299
15295
  注意:此字段可能返回 null,表示取不到有效值。
15300
15296
  :type KeyIds: list of str
15301
15297
  :param _KeepImageLogin: 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为true。取值范围:<li>true:表示保持镜像的登录设置</li><li>false:表示不保持镜像的登录设置</li>默认取值:false。
15302
- 注意:此字段可能返回 null,表示取不到有效值。
15303
15298
  :type KeepImageLogin: str
15304
15299
  """
15305
15300
  self._Password = None
@@ -15332,7 +15327,6 @@ class LoginSettings(AbstractModel):
15332
15327
  @property
15333
15328
  def KeepImageLogin(self):
15334
15329
  """保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为true。取值范围:<li>true:表示保持镜像的登录设置</li><li>false:表示不保持镜像的登录设置</li>默认取值:false。
15335
- 注意:此字段可能返回 null,表示取不到有效值。
15336
15330
  :rtype: str
15337
15331
  """
15338
15332
  return self._KeepImageLogin
@@ -19839,16 +19833,14 @@ class RunMonitorServiceEnabled(AbstractModel):
19839
19833
 
19840
19834
  def __init__(self):
19841
19835
  r"""
19842
- :param _Enabled: 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务<br><li>false:表示不开启云监控服务<br><br>默认取值:true。
19843
- 注意:此字段可能返回 null,表示取不到有效值。
19836
+ :param _Enabled: 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务</li><li>false:表示不开启云监控服务</li><br>默认取值:true。
19844
19837
  :type Enabled: bool
19845
19838
  """
19846
19839
  self._Enabled = None
19847
19840
 
19848
19841
  @property
19849
19842
  def Enabled(self):
19850
- """是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务<br><li>false:表示不开启云监控服务<br><br>默认取值:true。
19851
- 注意:此字段可能返回 null,表示取不到有效值。
19843
+ """是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务</li><li>false:表示不开启云监控服务</li><br>默认取值:true。
19852
19844
  :rtype: bool
19853
19845
  """
19854
19846
  return self._Enabled
@@ -20035,10 +20027,8 @@ class SpotMarketOptions(AbstractModel):
20035
20027
  def __init__(self):
20036
20028
  r"""
20037
20029
  :param _MaxPrice: 竞价出价
20038
- 注意:此字段可能返回 null,表示取不到有效值。
20039
20030
  :type MaxPrice: str
20040
20031
  :param _SpotInstanceType: 竞价请求类型,当前仅支持类型:one-time
20041
- 注意:此字段可能返回 null,表示取不到有效值。
20042
20032
  :type SpotInstanceType: str
20043
20033
  """
20044
20034
  self._MaxPrice = None
@@ -20047,7 +20037,6 @@ class SpotMarketOptions(AbstractModel):
20047
20037
  @property
20048
20038
  def MaxPrice(self):
20049
20039
  """竞价出价
20050
- 注意:此字段可能返回 null,表示取不到有效值。
20051
20040
  :rtype: str
20052
20041
  """
20053
20042
  return self._MaxPrice
@@ -20059,7 +20048,6 @@ class SpotMarketOptions(AbstractModel):
20059
20048
  @property
20060
20049
  def SpotInstanceType(self):
20061
20050
  """竞价请求类型,当前仅支持类型:one-time
20062
- 注意:此字段可能返回 null,表示取不到有效值。
20063
20051
  :rtype: str
20064
20052
  """
20065
20053
  return self._SpotInstanceType
@@ -20822,10 +20810,8 @@ class TagSpecification(AbstractModel):
20822
20810
  def __init__(self):
20823
20811
  r"""
20824
20812
  :param _ResourceType: 标签绑定的资源类型,云服务器为“instance”,专用宿主机为“host”,镜像为“image”,密钥为“keypair”
20825
- 注意:此字段可能返回 null,表示取不到有效值。
20826
20813
  :type ResourceType: str
20827
20814
  :param _Tags: 标签对列表
20828
- 注意:此字段可能返回 null,表示取不到有效值。
20829
20815
  :type Tags: list of Tag
20830
20816
  """
20831
20817
  self._ResourceType = None
@@ -20834,7 +20820,6 @@ class TagSpecification(AbstractModel):
20834
20820
  @property
20835
20821
  def ResourceType(self):
20836
20822
  """标签绑定的资源类型,云服务器为“instance”,专用宿主机为“host”,镜像为“image”,密钥为“keypair”
20837
- 注意:此字段可能返回 null,表示取不到有效值。
20838
20823
  :rtype: str
20839
20824
  """
20840
20825
  return self._ResourceType
@@ -20846,7 +20831,6 @@ class TagSpecification(AbstractModel):
20846
20831
  @property
20847
20832
  def Tags(self):
20848
20833
  """标签对列表
20849
- 注意:此字段可能返回 null,表示取不到有效值。
20850
20834
  :rtype: list of Tag
20851
20835
  """
20852
20836
  return self._Tags