tencentcloud-sdk-python-cvm 3.1.156__tar.gz → 3.1.158__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-cvm might be problematic. Click here for more details.
- {tencentcloud_sdk_python_cvm-3.1.156 → tencentcloud_sdk_python_cvm-3.1.158}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cvm-3.1.156 → tencentcloud_sdk_python_cvm-3.1.158}/setup.py +1 -1
- {tencentcloud_sdk_python_cvm-3.1.156 → tencentcloud_sdk_python_cvm-3.1.158}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cvm-3.1.156 → tencentcloud_sdk_python_cvm-3.1.158}/tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- {tencentcloud_sdk_python_cvm-3.1.156 → tencentcloud_sdk_python_cvm-3.1.158}/tencentcloud/cvm/v20170312/models.py +125 -124
- {tencentcloud_sdk_python_cvm-3.1.156 → tencentcloud_sdk_python_cvm-3.1.158}/tencentcloud_sdk_python_cvm.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cvm-3.1.158/tencentcloud_sdk_python_cvm.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cvm-3.1.156/tencentcloud_sdk_python_cvm.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cvm-3.1.156 → tencentcloud_sdk_python_cvm-3.1.158}/README.rst +0 -0
- {tencentcloud_sdk_python_cvm-3.1.156 → tencentcloud_sdk_python_cvm-3.1.158}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cvm-3.1.156 → tencentcloud_sdk_python_cvm-3.1.158}/tencentcloud/cvm/__init__.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.156 → tencentcloud_sdk_python_cvm-3.1.158}/tencentcloud/cvm/v20170312/__init__.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.156 → tencentcloud_sdk_python_cvm-3.1.158}/tencentcloud/cvm/v20170312/cvm_client.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.156 → tencentcloud_sdk_python_cvm-3.1.158}/tencentcloud/cvm/v20170312/cvm_client_async.py +0 -0
- {tencentcloud_sdk_python_cvm-3.1.156 → tencentcloud_sdk_python_cvm-3.1.158}/tencentcloud_sdk_python_cvm.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cvm-3.1.156 → tencentcloud_sdk_python_cvm-3.1.158}/tencentcloud_sdk_python_cvm.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cvm-3.1.156 → tencentcloud_sdk_python_cvm-3.1.158}/tencentcloud_sdk_python_cvm.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cvm
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.158
|
|
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
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.158
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -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.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.158,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cvm SDK for Python',
|
|
@@ -35,6 +35,9 @@ FAILEDOPERATION_ALREADYINDISASTERRECOVERGROUP = 'FailedOperation.AlreadyInDisast
|
|
|
35
35
|
# 自带许可镜像暂时不支持共享。
|
|
36
36
|
FAILEDOPERATION_BYOLIMAGESHAREFAILED = 'FailedOperation.BYOLImageShareFailed'
|
|
37
37
|
|
|
38
|
+
# 实例解绑密钥失败
|
|
39
|
+
FAILEDOPERATION_DISASSOCIATEKEYPAIRFAILED = 'FailedOperation.DisassociateKeyPairFailed'
|
|
40
|
+
|
|
38
41
|
# 未找到指定的容灾组
|
|
39
42
|
FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = 'FailedOperation.DisasterRecoverGroupNotFound'
|
|
40
43
|
|
|
@@ -843,96 +843,86 @@ class ChcHost(AbstractModel):
|
|
|
843
843
|
|
|
844
844
|
def __init__(self):
|
|
845
845
|
r"""
|
|
846
|
-
:param _ChcId: CHC物理服务器ID
|
|
846
|
+
:param _ChcId: <p>CHC物理服务器ID。</p>
|
|
847
847
|
:type ChcId: str
|
|
848
|
-
:param _InstanceName:
|
|
848
|
+
:param _InstanceName: <p>实例名称。</p>
|
|
849
849
|
:type InstanceName: str
|
|
850
|
-
:param _SerialNumber:
|
|
850
|
+
:param _SerialNumber: <p>服务器序列号。</p>
|
|
851
851
|
:type SerialNumber: str
|
|
852
|
-
:param _InstanceState: CHC的状态<br
|
|
853
|
-
<ul>
|
|
854
|
-
<li>INIT: 设备已录入。还未配置带外和部署网络</li>
|
|
855
|
-
<li>READY: 已配置带外和部署网络</li>
|
|
856
|
-
<li>PREPARED: 可分配云主机</li>
|
|
857
|
-
<li>ONLINE: 已分配云主机</li>
|
|
858
|
-
<li>OPERATING: 设备操作中,如正在配置带外网络等。</li>
|
|
859
|
-
<li>CLEAR_NETWORK_FAILED: 清理带外和部署网络失败</li>
|
|
860
|
-
</ul>
|
|
852
|
+
:param _InstanceState: <p>CHC的状态<br></p><ul><li>INIT: 设备已录入。还未配置带外和部署网络</li><li>READY: 已配置带外和部署网络</li><li>PREPARED: 可分配云主机</li><li>ONLINE: 已分配云主机</li><li>OPERATING: 设备操作中,如正在配置带外网络等。</li><li>CLEAR_NETWORK_FAILED: 清理带外和部署网络失败</li></ul>
|
|
861
853
|
:type InstanceState: str
|
|
862
|
-
:param _DeviceType:
|
|
854
|
+
:param _DeviceType: <p>设备类型。</p>
|
|
863
855
|
:type DeviceType: str
|
|
864
|
-
:param _Placement:
|
|
856
|
+
:param _Placement: <p>所属可用区。</p>
|
|
865
857
|
:type Placement: :class:`tencentcloud.cvm.v20170312.models.Placement`
|
|
866
|
-
:param _BmcVirtualPrivateCloud:
|
|
858
|
+
:param _BmcVirtualPrivateCloud: <p>带外网络。</p>
|
|
867
859
|
:type BmcVirtualPrivateCloud: :class:`tencentcloud.cvm.v20170312.models.VirtualPrivateCloud`
|
|
868
|
-
:param _BmcIp:
|
|
860
|
+
:param _BmcIp: <p>带外网络IP。</p>
|
|
869
861
|
:type BmcIp: str
|
|
870
|
-
:param _BmcSecurityGroupIds:
|
|
862
|
+
:param _BmcSecurityGroupIds: <p>带外网络安全组ID。</p>
|
|
871
863
|
:type BmcSecurityGroupIds: list of str
|
|
872
|
-
:param _DeployVirtualPrivateCloud:
|
|
864
|
+
:param _DeployVirtualPrivateCloud: <p>部署网络。</p>
|
|
873
865
|
:type DeployVirtualPrivateCloud: :class:`tencentcloud.cvm.v20170312.models.VirtualPrivateCloud`
|
|
874
|
-
:param _DeployIp:
|
|
866
|
+
:param _DeployIp: <p>部署网络IP。</p>
|
|
875
867
|
:type DeployIp: str
|
|
876
|
-
:param _DeploySecurityGroupIds:
|
|
868
|
+
:param _DeploySecurityGroupIds: <p>部署网络安全组ID。</p>
|
|
877
869
|
:type DeploySecurityGroupIds: list of str
|
|
878
|
-
:param _CvmInstanceId:
|
|
870
|
+
:param _CvmInstanceId: <p>关联的云主机ID。</p>
|
|
879
871
|
:type CvmInstanceId: str
|
|
880
|
-
:param _CreatedTime:
|
|
872
|
+
:param _CreatedTime: <p>服务器导入的时间。</p>
|
|
881
873
|
:type CreatedTime: str
|
|
882
|
-
:param _HardwareDescription:
|
|
874
|
+
:param _HardwareDescription: <p>机型的硬件描述,分别为CPU核数,内存容量和磁盘容量。</p>
|
|
883
875
|
:type HardwareDescription: str
|
|
884
|
-
:param _CPU: CHC物理服务器的CPU
|
|
876
|
+
:param _CPU: <p>CHC物理服务器的CPU核数。</p>
|
|
885
877
|
:type CPU: int
|
|
886
|
-
:param _Memory: CHC物理服务器的内存大小,单位为GB
|
|
878
|
+
:param _Memory: <p>CHC物理服务器的内存大小,单位为GB。</p>
|
|
887
879
|
:type Memory: int
|
|
888
|
-
:param _Disk: CHC
|
|
880
|
+
:param _Disk: <p>CHC物理服务器的磁盘信息。</p>
|
|
889
881
|
:type Disk: str
|
|
890
|
-
:param _BmcMAC:
|
|
882
|
+
:param _BmcMAC: <p>带外网络下分配的MAC地址。</p>
|
|
891
883
|
:type BmcMAC: str
|
|
892
|
-
:param _DeployMAC:
|
|
884
|
+
:param _DeployMAC: <p>部署网络下分配的MAC地址。</p>
|
|
893
885
|
:type DeployMAC: str
|
|
894
|
-
:param _TenantType:
|
|
895
|
-
HOSTING: 托管
|
|
896
|
-
TENANT: 租赁
|
|
886
|
+
:param _TenantType: <p>设备托管类型。</p><p>枚举值:</p><ul><li>HOSTING: 托管类型。</li><li>TENANT: 租赁类型。</li></ul>
|
|
897
887
|
:type TenantType: str
|
|
898
|
-
:param _DeployExtraConfig:
|
|
888
|
+
:param _DeployExtraConfig: <p>CHC DHCP选项,用于客户自建PXE环境。</p>
|
|
899
889
|
:type DeployExtraConfig: :class:`tencentcloud.cvm.v20170312.models.ChcDeployExtraConfig`
|
|
900
|
-
:param _Gpu: GPU
|
|
890
|
+
:param _Gpu: <p>GPU型号。</p>
|
|
901
891
|
:type Gpu: str
|
|
902
|
-
:param _NetworkCard:
|
|
892
|
+
:param _NetworkCard: <p>网卡型号。主要指RDMA网卡。</p>
|
|
903
893
|
:type NetworkCard: str
|
|
904
|
-
:param _IsPredefinedType:
|
|
894
|
+
:param _IsPredefinedType: <p>是否是预定义机型。</p>
|
|
905
895
|
:type IsPredefinedType: bool
|
|
906
|
-
:param _ChcInstanceType: CHC
|
|
896
|
+
:param _ChcInstanceType: <p>CHC云主机机型。</p>
|
|
907
897
|
:type ChcInstanceType: str
|
|
908
|
-
:param _ChcInstanceFamily: CHC
|
|
898
|
+
:param _ChcInstanceFamily: <p>CHC云主机机型簇。</p>
|
|
909
899
|
:type ChcInstanceFamily: str
|
|
910
|
-
:param _ChcInstanceFamilyName: CHC
|
|
900
|
+
:param _ChcInstanceFamilyName: <p>CHC云主机机型簇名称。</p>
|
|
911
901
|
:type ChcInstanceFamilyName: str
|
|
912
|
-
:param _ResaleAppId:
|
|
902
|
+
:param _ResaleAppId: <p>转售客户的AppID。</p>
|
|
913
903
|
:type ResaleAppId: str
|
|
914
|
-
:param _ResaleAccountId:
|
|
904
|
+
:param _ResaleAccountId: <p>转售客户的账号ID。</p>
|
|
915
905
|
:type ResaleAccountId: str
|
|
916
|
-
:param _SaleStatus:
|
|
917
|
-
<ul>
|
|
918
|
-
<li>NOT_FOR_SALE:不可售卖</li>
|
|
919
|
-
<li>AVAILABLE: 可售卖</li>
|
|
920
|
-
<li>SOLD: 已售卖</li>
|
|
921
|
-
</ul>
|
|
922
|
-
|
|
906
|
+
:param _SaleStatus: <p>售卖状态。<br></p><ul><li>NOT_FOR_SALE:不可售卖</li><li>AVAILABLE: 可售卖</li><li>SOLD: 已售卖</li></ul>
|
|
923
907
|
:type SaleStatus: str
|
|
924
|
-
:param _Tags: CHC
|
|
908
|
+
:param _Tags: <p>CHC物理服务器关联的标签列表。</p>
|
|
925
909
|
:type Tags: list of Tag
|
|
926
|
-
:param _LatestOperation:
|
|
910
|
+
:param _LatestOperation: <p>最近操作。</p>
|
|
927
911
|
:type LatestOperation: str
|
|
928
|
-
:param _LatestOperationErrorCode:
|
|
912
|
+
:param _LatestOperationErrorCode: <p>最近操作错误码。</p>
|
|
929
913
|
:type LatestOperationErrorCode: str
|
|
930
|
-
:param _LatestOperationErrorMsg:
|
|
914
|
+
:param _LatestOperationErrorMsg: <p>最近操作错误详情和建议项。</p>
|
|
931
915
|
:type LatestOperationErrorMsg: str
|
|
932
|
-
:param _LatestOperationName:
|
|
916
|
+
:param _LatestOperationName: <p>最近操作名称。</p>
|
|
933
917
|
:type LatestOperationName: str
|
|
934
|
-
:param _LatestOperationState:
|
|
918
|
+
:param _LatestOperationState: <p>最近操作状态。</p><p>枚举值:</p><ul><li>SUCCESS: 成功。</li><li>FAILED: 失败。</li></ul>
|
|
935
919
|
:type LatestOperationState: str
|
|
920
|
+
:param _ChcGatewayId: <p>所在的CHC网关的ID,只有专属网关才会返回。</p>
|
|
921
|
+
:type ChcGatewayId: str
|
|
922
|
+
:param _DedicatedClusterId: <p>所属的CDC集群ID。</p>
|
|
923
|
+
:type DedicatedClusterId: str
|
|
924
|
+
:param _NetworkMode: <p>业务网卡网络模式。</p><p>枚举值:</p><ul><li>DEPLOY: 部署网络模式</li><li>BUSINESS: 业务网络模式</li></ul>
|
|
925
|
+
:type NetworkMode: str
|
|
936
926
|
"""
|
|
937
927
|
self._ChcId = None
|
|
938
928
|
self._InstanceName = None
|
|
@@ -971,10 +961,13 @@ TENANT: 租赁
|
|
|
971
961
|
self._LatestOperationErrorMsg = None
|
|
972
962
|
self._LatestOperationName = None
|
|
973
963
|
self._LatestOperationState = None
|
|
964
|
+
self._ChcGatewayId = None
|
|
965
|
+
self._DedicatedClusterId = None
|
|
966
|
+
self._NetworkMode = None
|
|
974
967
|
|
|
975
968
|
@property
|
|
976
969
|
def ChcId(self):
|
|
977
|
-
r"""CHC物理服务器ID
|
|
970
|
+
r"""<p>CHC物理服务器ID。</p>
|
|
978
971
|
:rtype: str
|
|
979
972
|
"""
|
|
980
973
|
return self._ChcId
|
|
@@ -985,7 +978,7 @@ TENANT: 租赁
|
|
|
985
978
|
|
|
986
979
|
@property
|
|
987
980
|
def InstanceName(self):
|
|
988
|
-
r"""
|
|
981
|
+
r"""<p>实例名称。</p>
|
|
989
982
|
:rtype: str
|
|
990
983
|
"""
|
|
991
984
|
return self._InstanceName
|
|
@@ -996,7 +989,7 @@ TENANT: 租赁
|
|
|
996
989
|
|
|
997
990
|
@property
|
|
998
991
|
def SerialNumber(self):
|
|
999
|
-
r"""
|
|
992
|
+
r"""<p>服务器序列号。</p>
|
|
1000
993
|
:rtype: str
|
|
1001
994
|
"""
|
|
1002
995
|
return self._SerialNumber
|
|
@@ -1007,15 +1000,7 @@ TENANT: 租赁
|
|
|
1007
1000
|
|
|
1008
1001
|
@property
|
|
1009
1002
|
def InstanceState(self):
|
|
1010
|
-
r"""CHC的状态<br
|
|
1011
|
-
<ul>
|
|
1012
|
-
<li>INIT: 设备已录入。还未配置带外和部署网络</li>
|
|
1013
|
-
<li>READY: 已配置带外和部署网络</li>
|
|
1014
|
-
<li>PREPARED: 可分配云主机</li>
|
|
1015
|
-
<li>ONLINE: 已分配云主机</li>
|
|
1016
|
-
<li>OPERATING: 设备操作中,如正在配置带外网络等。</li>
|
|
1017
|
-
<li>CLEAR_NETWORK_FAILED: 清理带外和部署网络失败</li>
|
|
1018
|
-
</ul>
|
|
1003
|
+
r"""<p>CHC的状态<br></p><ul><li>INIT: 设备已录入。还未配置带外和部署网络</li><li>READY: 已配置带外和部署网络</li><li>PREPARED: 可分配云主机</li><li>ONLINE: 已分配云主机</li><li>OPERATING: 设备操作中,如正在配置带外网络等。</li><li>CLEAR_NETWORK_FAILED: 清理带外和部署网络失败</li></ul>
|
|
1019
1004
|
:rtype: str
|
|
1020
1005
|
"""
|
|
1021
1006
|
return self._InstanceState
|
|
@@ -1026,7 +1011,7 @@ TENANT: 租赁
|
|
|
1026
1011
|
|
|
1027
1012
|
@property
|
|
1028
1013
|
def DeviceType(self):
|
|
1029
|
-
r"""
|
|
1014
|
+
r"""<p>设备类型。</p>
|
|
1030
1015
|
:rtype: str
|
|
1031
1016
|
"""
|
|
1032
1017
|
return self._DeviceType
|
|
@@ -1037,7 +1022,7 @@ TENANT: 租赁
|
|
|
1037
1022
|
|
|
1038
1023
|
@property
|
|
1039
1024
|
def Placement(self):
|
|
1040
|
-
r"""
|
|
1025
|
+
r"""<p>所属可用区。</p>
|
|
1041
1026
|
:rtype: :class:`tencentcloud.cvm.v20170312.models.Placement`
|
|
1042
1027
|
"""
|
|
1043
1028
|
return self._Placement
|
|
@@ -1048,7 +1033,7 @@ TENANT: 租赁
|
|
|
1048
1033
|
|
|
1049
1034
|
@property
|
|
1050
1035
|
def BmcVirtualPrivateCloud(self):
|
|
1051
|
-
r"""
|
|
1036
|
+
r"""<p>带外网络。</p>
|
|
1052
1037
|
:rtype: :class:`tencentcloud.cvm.v20170312.models.VirtualPrivateCloud`
|
|
1053
1038
|
"""
|
|
1054
1039
|
return self._BmcVirtualPrivateCloud
|
|
@@ -1059,7 +1044,7 @@ TENANT: 租赁
|
|
|
1059
1044
|
|
|
1060
1045
|
@property
|
|
1061
1046
|
def BmcIp(self):
|
|
1062
|
-
r"""
|
|
1047
|
+
r"""<p>带外网络IP。</p>
|
|
1063
1048
|
:rtype: str
|
|
1064
1049
|
"""
|
|
1065
1050
|
return self._BmcIp
|
|
@@ -1070,7 +1055,7 @@ TENANT: 租赁
|
|
|
1070
1055
|
|
|
1071
1056
|
@property
|
|
1072
1057
|
def BmcSecurityGroupIds(self):
|
|
1073
|
-
r"""
|
|
1058
|
+
r"""<p>带外网络安全组ID。</p>
|
|
1074
1059
|
:rtype: list of str
|
|
1075
1060
|
"""
|
|
1076
1061
|
return self._BmcSecurityGroupIds
|
|
@@ -1081,7 +1066,7 @@ TENANT: 租赁
|
|
|
1081
1066
|
|
|
1082
1067
|
@property
|
|
1083
1068
|
def DeployVirtualPrivateCloud(self):
|
|
1084
|
-
r"""
|
|
1069
|
+
r"""<p>部署网络。</p>
|
|
1085
1070
|
:rtype: :class:`tencentcloud.cvm.v20170312.models.VirtualPrivateCloud`
|
|
1086
1071
|
"""
|
|
1087
1072
|
return self._DeployVirtualPrivateCloud
|
|
@@ -1092,7 +1077,7 @@ TENANT: 租赁
|
|
|
1092
1077
|
|
|
1093
1078
|
@property
|
|
1094
1079
|
def DeployIp(self):
|
|
1095
|
-
r"""
|
|
1080
|
+
r"""<p>部署网络IP。</p>
|
|
1096
1081
|
:rtype: str
|
|
1097
1082
|
"""
|
|
1098
1083
|
return self._DeployIp
|
|
@@ -1103,7 +1088,7 @@ TENANT: 租赁
|
|
|
1103
1088
|
|
|
1104
1089
|
@property
|
|
1105
1090
|
def DeploySecurityGroupIds(self):
|
|
1106
|
-
r"""
|
|
1091
|
+
r"""<p>部署网络安全组ID。</p>
|
|
1107
1092
|
:rtype: list of str
|
|
1108
1093
|
"""
|
|
1109
1094
|
return self._DeploySecurityGroupIds
|
|
@@ -1114,7 +1099,7 @@ TENANT: 租赁
|
|
|
1114
1099
|
|
|
1115
1100
|
@property
|
|
1116
1101
|
def CvmInstanceId(self):
|
|
1117
|
-
r"""
|
|
1102
|
+
r"""<p>关联的云主机ID。</p>
|
|
1118
1103
|
:rtype: str
|
|
1119
1104
|
"""
|
|
1120
1105
|
return self._CvmInstanceId
|
|
@@ -1125,7 +1110,7 @@ TENANT: 租赁
|
|
|
1125
1110
|
|
|
1126
1111
|
@property
|
|
1127
1112
|
def CreatedTime(self):
|
|
1128
|
-
r"""
|
|
1113
|
+
r"""<p>服务器导入的时间。</p>
|
|
1129
1114
|
:rtype: str
|
|
1130
1115
|
"""
|
|
1131
1116
|
return self._CreatedTime
|
|
@@ -1136,7 +1121,7 @@ TENANT: 租赁
|
|
|
1136
1121
|
|
|
1137
1122
|
@property
|
|
1138
1123
|
def HardwareDescription(self):
|
|
1139
|
-
r"""
|
|
1124
|
+
r"""<p>机型的硬件描述,分别为CPU核数,内存容量和磁盘容量。</p>
|
|
1140
1125
|
:rtype: str
|
|
1141
1126
|
"""
|
|
1142
1127
|
return self._HardwareDescription
|
|
@@ -1147,7 +1132,7 @@ TENANT: 租赁
|
|
|
1147
1132
|
|
|
1148
1133
|
@property
|
|
1149
1134
|
def CPU(self):
|
|
1150
|
-
r"""CHC物理服务器的CPU
|
|
1135
|
+
r"""<p>CHC物理服务器的CPU核数。</p>
|
|
1151
1136
|
:rtype: int
|
|
1152
1137
|
"""
|
|
1153
1138
|
return self._CPU
|
|
@@ -1158,7 +1143,7 @@ TENANT: 租赁
|
|
|
1158
1143
|
|
|
1159
1144
|
@property
|
|
1160
1145
|
def Memory(self):
|
|
1161
|
-
r"""CHC物理服务器的内存大小,单位为GB
|
|
1146
|
+
r"""<p>CHC物理服务器的内存大小,单位为GB。</p>
|
|
1162
1147
|
:rtype: int
|
|
1163
1148
|
"""
|
|
1164
1149
|
return self._Memory
|
|
@@ -1169,7 +1154,7 @@ TENANT: 租赁
|
|
|
1169
1154
|
|
|
1170
1155
|
@property
|
|
1171
1156
|
def Disk(self):
|
|
1172
|
-
r"""CHC
|
|
1157
|
+
r"""<p>CHC物理服务器的磁盘信息。</p>
|
|
1173
1158
|
:rtype: str
|
|
1174
1159
|
"""
|
|
1175
1160
|
return self._Disk
|
|
@@ -1180,7 +1165,7 @@ TENANT: 租赁
|
|
|
1180
1165
|
|
|
1181
1166
|
@property
|
|
1182
1167
|
def BmcMAC(self):
|
|
1183
|
-
r"""
|
|
1168
|
+
r"""<p>带外网络下分配的MAC地址。</p>
|
|
1184
1169
|
:rtype: str
|
|
1185
1170
|
"""
|
|
1186
1171
|
return self._BmcMAC
|
|
@@ -1191,7 +1176,7 @@ TENANT: 租赁
|
|
|
1191
1176
|
|
|
1192
1177
|
@property
|
|
1193
1178
|
def DeployMAC(self):
|
|
1194
|
-
r"""
|
|
1179
|
+
r"""<p>部署网络下分配的MAC地址。</p>
|
|
1195
1180
|
:rtype: str
|
|
1196
1181
|
"""
|
|
1197
1182
|
return self._DeployMAC
|
|
@@ -1202,9 +1187,7 @@ TENANT: 租赁
|
|
|
1202
1187
|
|
|
1203
1188
|
@property
|
|
1204
1189
|
def TenantType(self):
|
|
1205
|
-
r"""
|
|
1206
|
-
HOSTING: 托管
|
|
1207
|
-
TENANT: 租赁
|
|
1190
|
+
r"""<p>设备托管类型。</p><p>枚举值:</p><ul><li>HOSTING: 托管类型。</li><li>TENANT: 租赁类型。</li></ul>
|
|
1208
1191
|
:rtype: str
|
|
1209
1192
|
"""
|
|
1210
1193
|
return self._TenantType
|
|
@@ -1215,7 +1198,7 @@ TENANT: 租赁
|
|
|
1215
1198
|
|
|
1216
1199
|
@property
|
|
1217
1200
|
def DeployExtraConfig(self):
|
|
1218
|
-
r"""
|
|
1201
|
+
r"""<p>CHC DHCP选项,用于客户自建PXE环境。</p>
|
|
1219
1202
|
:rtype: :class:`tencentcloud.cvm.v20170312.models.ChcDeployExtraConfig`
|
|
1220
1203
|
"""
|
|
1221
1204
|
return self._DeployExtraConfig
|
|
@@ -1226,7 +1209,7 @@ TENANT: 租赁
|
|
|
1226
1209
|
|
|
1227
1210
|
@property
|
|
1228
1211
|
def Gpu(self):
|
|
1229
|
-
r"""GPU
|
|
1212
|
+
r"""<p>GPU型号。</p>
|
|
1230
1213
|
:rtype: str
|
|
1231
1214
|
"""
|
|
1232
1215
|
return self._Gpu
|
|
@@ -1237,7 +1220,7 @@ TENANT: 租赁
|
|
|
1237
1220
|
|
|
1238
1221
|
@property
|
|
1239
1222
|
def NetworkCard(self):
|
|
1240
|
-
r"""
|
|
1223
|
+
r"""<p>网卡型号。主要指RDMA网卡。</p>
|
|
1241
1224
|
:rtype: str
|
|
1242
1225
|
"""
|
|
1243
1226
|
return self._NetworkCard
|
|
@@ -1248,7 +1231,7 @@ TENANT: 租赁
|
|
|
1248
1231
|
|
|
1249
1232
|
@property
|
|
1250
1233
|
def IsPredefinedType(self):
|
|
1251
|
-
r"""
|
|
1234
|
+
r"""<p>是否是预定义机型。</p>
|
|
1252
1235
|
:rtype: bool
|
|
1253
1236
|
"""
|
|
1254
1237
|
return self._IsPredefinedType
|
|
@@ -1259,7 +1242,7 @@ TENANT: 租赁
|
|
|
1259
1242
|
|
|
1260
1243
|
@property
|
|
1261
1244
|
def ChcInstanceType(self):
|
|
1262
|
-
r"""CHC
|
|
1245
|
+
r"""<p>CHC云主机机型。</p>
|
|
1263
1246
|
:rtype: str
|
|
1264
1247
|
"""
|
|
1265
1248
|
return self._ChcInstanceType
|
|
@@ -1270,7 +1253,7 @@ TENANT: 租赁
|
|
|
1270
1253
|
|
|
1271
1254
|
@property
|
|
1272
1255
|
def ChcInstanceFamily(self):
|
|
1273
|
-
r"""CHC
|
|
1256
|
+
r"""<p>CHC云主机机型簇。</p>
|
|
1274
1257
|
:rtype: str
|
|
1275
1258
|
"""
|
|
1276
1259
|
return self._ChcInstanceFamily
|
|
@@ -1281,7 +1264,7 @@ TENANT: 租赁
|
|
|
1281
1264
|
|
|
1282
1265
|
@property
|
|
1283
1266
|
def ChcInstanceFamilyName(self):
|
|
1284
|
-
r"""CHC
|
|
1267
|
+
r"""<p>CHC云主机机型簇名称。</p>
|
|
1285
1268
|
:rtype: str
|
|
1286
1269
|
"""
|
|
1287
1270
|
return self._ChcInstanceFamilyName
|
|
@@ -1292,7 +1275,7 @@ TENANT: 租赁
|
|
|
1292
1275
|
|
|
1293
1276
|
@property
|
|
1294
1277
|
def ResaleAppId(self):
|
|
1295
|
-
r"""
|
|
1278
|
+
r"""<p>转售客户的AppID。</p>
|
|
1296
1279
|
:rtype: str
|
|
1297
1280
|
"""
|
|
1298
1281
|
return self._ResaleAppId
|
|
@@ -1303,7 +1286,7 @@ TENANT: 租赁
|
|
|
1303
1286
|
|
|
1304
1287
|
@property
|
|
1305
1288
|
def ResaleAccountId(self):
|
|
1306
|
-
r"""
|
|
1289
|
+
r"""<p>转售客户的账号ID。</p>
|
|
1307
1290
|
:rtype: str
|
|
1308
1291
|
"""
|
|
1309
1292
|
return self._ResaleAccountId
|
|
@@ -1314,13 +1297,7 @@ TENANT: 租赁
|
|
|
1314
1297
|
|
|
1315
1298
|
@property
|
|
1316
1299
|
def SaleStatus(self):
|
|
1317
|
-
r"""
|
|
1318
|
-
<ul>
|
|
1319
|
-
<li>NOT_FOR_SALE:不可售卖</li>
|
|
1320
|
-
<li>AVAILABLE: 可售卖</li>
|
|
1321
|
-
<li>SOLD: 已售卖</li>
|
|
1322
|
-
</ul>
|
|
1323
|
-
|
|
1300
|
+
r"""<p>售卖状态。<br></p><ul><li>NOT_FOR_SALE:不可售卖</li><li>AVAILABLE: 可售卖</li><li>SOLD: 已售卖</li></ul>
|
|
1324
1301
|
:rtype: str
|
|
1325
1302
|
"""
|
|
1326
1303
|
return self._SaleStatus
|
|
@@ -1331,7 +1308,7 @@ TENANT: 租赁
|
|
|
1331
1308
|
|
|
1332
1309
|
@property
|
|
1333
1310
|
def Tags(self):
|
|
1334
|
-
r"""CHC
|
|
1311
|
+
r"""<p>CHC物理服务器关联的标签列表。</p>
|
|
1335
1312
|
:rtype: list of Tag
|
|
1336
1313
|
"""
|
|
1337
1314
|
return self._Tags
|
|
@@ -1342,7 +1319,7 @@ TENANT: 租赁
|
|
|
1342
1319
|
|
|
1343
1320
|
@property
|
|
1344
1321
|
def LatestOperation(self):
|
|
1345
|
-
r"""
|
|
1322
|
+
r"""<p>最近操作。</p>
|
|
1346
1323
|
:rtype: str
|
|
1347
1324
|
"""
|
|
1348
1325
|
return self._LatestOperation
|
|
@@ -1353,7 +1330,7 @@ TENANT: 租赁
|
|
|
1353
1330
|
|
|
1354
1331
|
@property
|
|
1355
1332
|
def LatestOperationErrorCode(self):
|
|
1356
|
-
r"""
|
|
1333
|
+
r"""<p>最近操作错误码。</p>
|
|
1357
1334
|
:rtype: str
|
|
1358
1335
|
"""
|
|
1359
1336
|
return self._LatestOperationErrorCode
|
|
@@ -1364,7 +1341,7 @@ TENANT: 租赁
|
|
|
1364
1341
|
|
|
1365
1342
|
@property
|
|
1366
1343
|
def LatestOperationErrorMsg(self):
|
|
1367
|
-
r"""
|
|
1344
|
+
r"""<p>最近操作错误详情和建议项。</p>
|
|
1368
1345
|
:rtype: str
|
|
1369
1346
|
"""
|
|
1370
1347
|
return self._LatestOperationErrorMsg
|
|
@@ -1375,7 +1352,7 @@ TENANT: 租赁
|
|
|
1375
1352
|
|
|
1376
1353
|
@property
|
|
1377
1354
|
def LatestOperationName(self):
|
|
1378
|
-
r"""
|
|
1355
|
+
r"""<p>最近操作名称。</p>
|
|
1379
1356
|
:rtype: str
|
|
1380
1357
|
"""
|
|
1381
1358
|
return self._LatestOperationName
|
|
@@ -1386,7 +1363,7 @@ TENANT: 租赁
|
|
|
1386
1363
|
|
|
1387
1364
|
@property
|
|
1388
1365
|
def LatestOperationState(self):
|
|
1389
|
-
r"""
|
|
1366
|
+
r"""<p>最近操作状态。</p><p>枚举值:</p><ul><li>SUCCESS: 成功。</li><li>FAILED: 失败。</li></ul>
|
|
1390
1367
|
:rtype: str
|
|
1391
1368
|
"""
|
|
1392
1369
|
return self._LatestOperationState
|
|
@@ -1395,6 +1372,39 @@ TENANT: 租赁
|
|
|
1395
1372
|
def LatestOperationState(self, LatestOperationState):
|
|
1396
1373
|
self._LatestOperationState = LatestOperationState
|
|
1397
1374
|
|
|
1375
|
+
@property
|
|
1376
|
+
def ChcGatewayId(self):
|
|
1377
|
+
r"""<p>所在的CHC网关的ID,只有专属网关才会返回。</p>
|
|
1378
|
+
:rtype: str
|
|
1379
|
+
"""
|
|
1380
|
+
return self._ChcGatewayId
|
|
1381
|
+
|
|
1382
|
+
@ChcGatewayId.setter
|
|
1383
|
+
def ChcGatewayId(self, ChcGatewayId):
|
|
1384
|
+
self._ChcGatewayId = ChcGatewayId
|
|
1385
|
+
|
|
1386
|
+
@property
|
|
1387
|
+
def DedicatedClusterId(self):
|
|
1388
|
+
r"""<p>所属的CDC集群ID。</p>
|
|
1389
|
+
:rtype: str
|
|
1390
|
+
"""
|
|
1391
|
+
return self._DedicatedClusterId
|
|
1392
|
+
|
|
1393
|
+
@DedicatedClusterId.setter
|
|
1394
|
+
def DedicatedClusterId(self, DedicatedClusterId):
|
|
1395
|
+
self._DedicatedClusterId = DedicatedClusterId
|
|
1396
|
+
|
|
1397
|
+
@property
|
|
1398
|
+
def NetworkMode(self):
|
|
1399
|
+
r"""<p>业务网卡网络模式。</p><p>枚举值:</p><ul><li>DEPLOY: 部署网络模式</li><li>BUSINESS: 业务网络模式</li></ul>
|
|
1400
|
+
:rtype: str
|
|
1401
|
+
"""
|
|
1402
|
+
return self._NetworkMode
|
|
1403
|
+
|
|
1404
|
+
@NetworkMode.setter
|
|
1405
|
+
def NetworkMode(self, NetworkMode):
|
|
1406
|
+
self._NetworkMode = NetworkMode
|
|
1407
|
+
|
|
1398
1408
|
|
|
1399
1409
|
def _deserialize(self, params):
|
|
1400
1410
|
self._ChcId = params.get("ChcId")
|
|
@@ -1447,6 +1457,9 @@ TENANT: 租赁
|
|
|
1447
1457
|
self._LatestOperationErrorMsg = params.get("LatestOperationErrorMsg")
|
|
1448
1458
|
self._LatestOperationName = params.get("LatestOperationName")
|
|
1449
1459
|
self._LatestOperationState = params.get("LatestOperationState")
|
|
1460
|
+
self._ChcGatewayId = params.get("ChcGatewayId")
|
|
1461
|
+
self._DedicatedClusterId = params.get("DedicatedClusterId")
|
|
1462
|
+
self._NetworkMode = params.get("NetworkMode")
|
|
1450
1463
|
memeber_set = set(params.keys())
|
|
1451
1464
|
for name, value in vars(self).items():
|
|
1452
1465
|
property_name = name[1:]
|
|
@@ -8790,17 +8803,11 @@ class DisassociateInstancesKeyPairsRequest(AbstractModel):
|
|
|
8790
8803
|
|
|
8791
8804
|
def __init__(self):
|
|
8792
8805
|
r"""
|
|
8793
|
-
:param _InstanceIds:
|
|
8794
|
-
<li>通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。</li>
|
|
8795
|
-
<li>通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
|
8806
|
+
:param _InstanceIds: <p>一个或多个待操作的实例ID,每次请求批量实例的上限为100。<br>可以通过以下方式获取可用的实例ID:</p><li>通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。</li><li>通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 <code>InstanceId</code> 获取实例ID。</li>
|
|
8796
8807
|
:type InstanceIds: list of str
|
|
8797
|
-
:param _KeyIds:
|
|
8798
|
-
<li>通过登录[控制台](https://console.cloud.tencent.com/cvm/sshkey)查询密钥ID。</li>
|
|
8799
|
-
<li>通过调用接口 [DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699) ,取返回信息中的 `KeyId` 获取密钥对ID。</li>
|
|
8808
|
+
:param _KeyIds: <p>密钥对ID列表,列表长度上限为100。可以通过以下方式获取可用的密钥ID:</p><li>通过登录[控制台](https://console.cloud.tencent.com/cvm/sshkey)查询密钥ID。</li><li>通过调用接口 [DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699) ,取返回信息中的 <code>KeyId</code> 获取密钥对ID。</li>
|
|
8800
8809
|
:type KeyIds: list of str
|
|
8801
|
-
:param _ForceStop:
|
|
8802
|
-
<li>true:先执行强制关机,再解绑密钥。</li>
|
|
8803
|
-
<li>false:不执行强制关机,仅支持对已关机状态实例进行解绑操作。</li>
|
|
8810
|
+
:param _ForceStop: <p>是否强制关机,默认值为 false。常规场景下,建议手动关机后解绑密钥。取值范围:</p><li>true:先执行强制关机,再解绑密钥。</li><li>false:不执行强制关机,仅支持对已关机状态实例进行解绑操作。</li>
|
|
8804
8811
|
:type ForceStop: bool
|
|
8805
8812
|
"""
|
|
8806
8813
|
self._InstanceIds = None
|
|
@@ -8809,9 +8816,7 @@ class DisassociateInstancesKeyPairsRequest(AbstractModel):
|
|
|
8809
8816
|
|
|
8810
8817
|
@property
|
|
8811
8818
|
def InstanceIds(self):
|
|
8812
|
-
r"""
|
|
8813
|
-
<li>通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。</li>
|
|
8814
|
-
<li>通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
|
8819
|
+
r"""<p>一个或多个待操作的实例ID,每次请求批量实例的上限为100。<br>可以通过以下方式获取可用的实例ID:</p><li>通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。</li><li>通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 <code>InstanceId</code> 获取实例ID。</li>
|
|
8815
8820
|
:rtype: list of str
|
|
8816
8821
|
"""
|
|
8817
8822
|
return self._InstanceIds
|
|
@@ -8822,9 +8827,7 @@ class DisassociateInstancesKeyPairsRequest(AbstractModel):
|
|
|
8822
8827
|
|
|
8823
8828
|
@property
|
|
8824
8829
|
def KeyIds(self):
|
|
8825
|
-
r"""
|
|
8826
|
-
<li>通过登录[控制台](https://console.cloud.tencent.com/cvm/sshkey)查询密钥ID。</li>
|
|
8827
|
-
<li>通过调用接口 [DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699) ,取返回信息中的 `KeyId` 获取密钥对ID。</li>
|
|
8830
|
+
r"""<p>密钥对ID列表,列表长度上限为100。可以通过以下方式获取可用的密钥ID:</p><li>通过登录[控制台](https://console.cloud.tencent.com/cvm/sshkey)查询密钥ID。</li><li>通过调用接口 [DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699) ,取返回信息中的 <code>KeyId</code> 获取密钥对ID。</li>
|
|
8828
8831
|
:rtype: list of str
|
|
8829
8832
|
"""
|
|
8830
8833
|
return self._KeyIds
|
|
@@ -8835,9 +8838,7 @@ class DisassociateInstancesKeyPairsRequest(AbstractModel):
|
|
|
8835
8838
|
|
|
8836
8839
|
@property
|
|
8837
8840
|
def ForceStop(self):
|
|
8838
|
-
r"""
|
|
8839
|
-
<li>true:先执行强制关机,再解绑密钥。</li>
|
|
8840
|
-
<li>false:不执行强制关机,仅支持对已关机状态实例进行解绑操作。</li>
|
|
8841
|
+
r"""<p>是否强制关机,默认值为 false。常规场景下,建议手动关机后解绑密钥。取值范围:</p><li>true:先执行强制关机,再解绑密钥。</li><li>false:不执行强制关机,仅支持对已关机状态实例进行解绑操作。</li>
|
|
8841
8842
|
:rtype: bool
|
|
8842
8843
|
"""
|
|
8843
8844
|
return self._ForceStop
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cvm
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.158
|
|
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
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.158
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.158
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.156
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|