tencentcloud-sdk-python-cvm 3.0.1328__tar.gz → 3.0.1330__tar.gz

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 (16) hide show
  1. {tencentcloud-sdk-python-cvm-3.0.1328 → tencentcloud-sdk-python-cvm-3.0.1330}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-cvm-3.0.1328 → tencentcloud-sdk-python-cvm-3.0.1330}/setup.py +1 -1
  3. {tencentcloud-sdk-python-cvm-3.0.1328 → tencentcloud-sdk-python-cvm-3.0.1330}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cvm-3.0.1328 → tencentcloud-sdk-python-cvm-3.0.1330}/tencentcloud/cvm/v20170312/models.py +22 -38
  5. {tencentcloud-sdk-python-cvm-3.0.1328 → tencentcloud-sdk-python-cvm-3.0.1330}/tencentcloud_sdk_python_cvm.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-cvm-3.0.1330/tencentcloud_sdk_python_cvm.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-cvm-3.0.1328/tencentcloud_sdk_python_cvm.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-cvm-3.0.1328 → tencentcloud-sdk-python-cvm-3.0.1330}/README.rst +0 -0
  9. {tencentcloud-sdk-python-cvm-3.0.1328 → tencentcloud-sdk-python-cvm-3.0.1330}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-cvm-3.0.1328 → tencentcloud-sdk-python-cvm-3.0.1330}/tencentcloud/cvm/__init__.py +0 -0
  11. {tencentcloud-sdk-python-cvm-3.0.1328 → tencentcloud-sdk-python-cvm-3.0.1330}/tencentcloud/cvm/v20170312/__init__.py +0 -0
  12. {tencentcloud-sdk-python-cvm-3.0.1328 → tencentcloud-sdk-python-cvm-3.0.1330}/tencentcloud/cvm/v20170312/cvm_client.py +0 -0
  13. {tencentcloud-sdk-python-cvm-3.0.1328 → tencentcloud-sdk-python-cvm-3.0.1330}/tencentcloud/cvm/v20170312/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-cvm-3.0.1328 → tencentcloud-sdk-python-cvm-3.0.1330}/tencentcloud_sdk_python_cvm.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-cvm-3.0.1328 → tencentcloud-sdk-python-cvm-3.0.1330}/tencentcloud_sdk_python_cvm.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-cvm-3.0.1328 → tencentcloud-sdk-python-cvm-3.0.1330}/tencentcloud_sdk_python_cvm.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-cvm
3
- Version: 3.0.1328
3
+ Version: 3.0.1330
4
4
  Summary: Tencent Cloud Cvm SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-cvm',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1328"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1330"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Cvm SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1328'
17
+ __version__ = '3.0.1330'
@@ -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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-cvm
3
- Version: 3.0.1328
3
+ Version: 3.0.1330
4
4
  Summary: Tencent Cloud Cvm SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1330
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1328