tencentcloud-sdk-python-lighthouse 3.0.1361__tar.gz → 3.0.1363__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.
- {tencentcloud-sdk-python-lighthouse-3.0.1361 → tencentcloud-sdk-python-lighthouse-3.0.1363}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-lighthouse-3.0.1361 → tencentcloud-sdk-python-lighthouse-3.0.1363}/setup.py +1 -1
- {tencentcloud-sdk-python-lighthouse-3.0.1361 → tencentcloud-sdk-python-lighthouse-3.0.1363}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-lighthouse-3.0.1361 → tencentcloud-sdk-python-lighthouse-3.0.1363}/tencentcloud/lighthouse/v20200324/errorcodes.py +0 -6
- {tencentcloud-sdk-python-lighthouse-3.0.1361 → tencentcloud-sdk-python-lighthouse-3.0.1363}/tencentcloud/lighthouse/v20200324/lighthouse_client.py +0 -56
- {tencentcloud-sdk-python-lighthouse-3.0.1361 → tencentcloud-sdk-python-lighthouse-3.0.1363}/tencentcloud/lighthouse/v20200324/models.py +0 -158
- {tencentcloud-sdk-python-lighthouse-3.0.1361 → tencentcloud-sdk-python-lighthouse-3.0.1363}/tencentcloud_sdk_python_lighthouse.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-lighthouse-3.0.1363/tencentcloud_sdk_python_lighthouse.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-lighthouse-3.0.1361/tencentcloud_sdk_python_lighthouse.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-lighthouse-3.0.1361 → tencentcloud-sdk-python-lighthouse-3.0.1363}/README.rst +0 -0
- {tencentcloud-sdk-python-lighthouse-3.0.1361 → tencentcloud-sdk-python-lighthouse-3.0.1363}/setup.cfg +0 -0
- {tencentcloud-sdk-python-lighthouse-3.0.1361 → tencentcloud-sdk-python-lighthouse-3.0.1363}/tencentcloud/lighthouse/__init__.py +0 -0
- {tencentcloud-sdk-python-lighthouse-3.0.1361 → tencentcloud-sdk-python-lighthouse-3.0.1363}/tencentcloud/lighthouse/v20200324/__init__.py +0 -0
- {tencentcloud-sdk-python-lighthouse-3.0.1361 → tencentcloud-sdk-python-lighthouse-3.0.1363}/tencentcloud_sdk_python_lighthouse.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-lighthouse-3.0.1361 → tencentcloud-sdk-python-lighthouse-3.0.1363}/tencentcloud_sdk_python_lighthouse.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-lighthouse-3.0.1361 → tencentcloud-sdk-python-lighthouse-3.0.1363}/tencentcloud_sdk_python_lighthouse.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-lighthouse-3.0.1361 → tencentcloud-sdk-python-lighthouse-3.0.1363}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-lighthouse',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1363"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Lighthouse SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -350,9 +350,6 @@ INVALIDPARAMETERVALUE_INVALIDDISKSIZE = 'InvalidParameterValue.InvalidDiskSize'
|
|
|
350
350
|
# 云硬盘类型非法。
|
|
351
351
|
INVALIDPARAMETERVALUE_INVALIDDISKTYPE = 'InvalidParameterValue.InvalidDiskType'
|
|
352
352
|
|
|
353
|
-
# 设置是否使用默认密钥对登录的值不正确。
|
|
354
|
-
INVALIDPARAMETERVALUE_INVALIDINSTANCELOGINKEYPAIRPERMITLOGIN = 'InvalidParameterValue.InvalidInstanceLoginKeyPairPermitLogin'
|
|
355
|
-
|
|
356
353
|
# 参数值非法,IP 地址格式非法。
|
|
357
354
|
INVALIDPARAMETERVALUE_INVALIDIPFORMAT = 'InvalidParameterValue.InvalidIpFormat'
|
|
358
355
|
|
|
@@ -767,9 +764,6 @@ UNSUPPORTEDOPERATION_OPERATIONNOTSUPPORTAUTOGENERATEPASSWORD = 'UnsupportedOpera
|
|
|
767
764
|
# 国际站不支持该操作。
|
|
768
765
|
UNSUPPORTEDOPERATION_OPERATIONNOTSUPPORTEDININTLSITE = 'UnsupportedOperation.OperationNotSupportedInIntlSite'
|
|
769
766
|
|
|
770
|
-
# 此接口已下线。
|
|
771
|
-
UNSUPPORTEDOPERATION_OPERATIONOFFLINE = 'UnsupportedOperation.OperationOffline'
|
|
772
|
-
|
|
773
767
|
# 计费资源中心删除资源失败。
|
|
774
768
|
UNSUPPORTEDOPERATION_POSTDESTROYRESOURCEFAILED = 'UnsupportedOperation.PostDestroyResourceFailed'
|
|
775
769
|
|
|
@@ -1172,33 +1172,6 @@ class LighthouseClient(AbstractClient):
|
|
|
1172
1172
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1173
1173
|
|
|
1174
1174
|
|
|
1175
|
-
def DescribeInstanceLoginKeyPairAttribute(self, request):
|
|
1176
|
-
"""后端代码已与23年2月4号下线
|
|
1177
|
-
近90天无调用记录
|
|
1178
|
-
经评估,下线无风险,操作下线
|
|
1179
|
-
|
|
1180
|
-
本接口用于查询实例默认登录密钥属性。
|
|
1181
|
-
|
|
1182
|
-
:param request: Request instance for DescribeInstanceLoginKeyPairAttribute.
|
|
1183
|
-
:type request: :class:`tencentcloud.lighthouse.v20200324.models.DescribeInstanceLoginKeyPairAttributeRequest`
|
|
1184
|
-
:rtype: :class:`tencentcloud.lighthouse.v20200324.models.DescribeInstanceLoginKeyPairAttributeResponse`
|
|
1185
|
-
|
|
1186
|
-
"""
|
|
1187
|
-
try:
|
|
1188
|
-
params = request._serialize()
|
|
1189
|
-
headers = request.headers
|
|
1190
|
-
body = self.call("DescribeInstanceLoginKeyPairAttribute", params, headers=headers)
|
|
1191
|
-
response = json.loads(body)
|
|
1192
|
-
model = models.DescribeInstanceLoginKeyPairAttributeResponse()
|
|
1193
|
-
model._deserialize(response["Response"])
|
|
1194
|
-
return model
|
|
1195
|
-
except Exception as e:
|
|
1196
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1197
|
-
raise
|
|
1198
|
-
else:
|
|
1199
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
1175
|
def DescribeInstanceVncUrl(self, request):
|
|
1203
1176
|
"""本接口 ( DescribeInstanceVncUrl ) 用于查询实例管理终端地址,获取的地址可用于实例的 VNC 登录。
|
|
1204
1177
|
|
|
@@ -2099,35 +2072,6 @@ class LighthouseClient(AbstractClient):
|
|
|
2099
2072
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2100
2073
|
|
|
2101
2074
|
|
|
2102
|
-
def ModifyInstancesLoginKeyPairAttribute(self, request):
|
|
2103
|
-
"""后端代码已与23年2月4号下线
|
|
2104
|
-
近90天只有一次调用记录,且明确返回前端接口下线错误信息
|
|
2105
|
-
|
|
2106
|
-
经评估无风险,操作接口下线
|
|
2107
|
-
|
|
2108
|
-
本接口用于设置实例默认登录密钥对属性。
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
:param request: Request instance for ModifyInstancesLoginKeyPairAttribute.
|
|
2112
|
-
:type request: :class:`tencentcloud.lighthouse.v20200324.models.ModifyInstancesLoginKeyPairAttributeRequest`
|
|
2113
|
-
:rtype: :class:`tencentcloud.lighthouse.v20200324.models.ModifyInstancesLoginKeyPairAttributeResponse`
|
|
2114
|
-
|
|
2115
|
-
"""
|
|
2116
|
-
try:
|
|
2117
|
-
params = request._serialize()
|
|
2118
|
-
headers = request.headers
|
|
2119
|
-
body = self.call("ModifyInstancesLoginKeyPairAttribute", params, headers=headers)
|
|
2120
|
-
response = json.loads(body)
|
|
2121
|
-
model = models.ModifyInstancesLoginKeyPairAttributeResponse()
|
|
2122
|
-
model._deserialize(response["Response"])
|
|
2123
|
-
return model
|
|
2124
|
-
except Exception as e:
|
|
2125
|
-
if isinstance(e, TencentCloudSDKException):
|
|
2126
|
-
raise
|
|
2127
|
-
else:
|
|
2128
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
2075
|
def ModifyInstancesRenewFlag(self, request):
|
|
2132
2076
|
"""本接口 (ModifyInstancesRenewFlag) 用于修改包年包月实例续费标识。
|
|
2133
2077
|
|
|
@@ -6847,85 +6847,6 @@ class DescribeGeneralResourceQuotasResponse(AbstractModel):
|
|
|
6847
6847
|
self._RequestId = params.get("RequestId")
|
|
6848
6848
|
|
|
6849
6849
|
|
|
6850
|
-
class DescribeInstanceLoginKeyPairAttributeRequest(AbstractModel):
|
|
6851
|
-
"""DescribeInstanceLoginKeyPairAttribute请求参数结构体
|
|
6852
|
-
|
|
6853
|
-
"""
|
|
6854
|
-
|
|
6855
|
-
def __init__(self):
|
|
6856
|
-
r"""
|
|
6857
|
-
:param _InstanceId: 实例ID。
|
|
6858
|
-
:type InstanceId: str
|
|
6859
|
-
"""
|
|
6860
|
-
self._InstanceId = None
|
|
6861
|
-
|
|
6862
|
-
@property
|
|
6863
|
-
def InstanceId(self):
|
|
6864
|
-
"""实例ID。
|
|
6865
|
-
:rtype: str
|
|
6866
|
-
"""
|
|
6867
|
-
return self._InstanceId
|
|
6868
|
-
|
|
6869
|
-
@InstanceId.setter
|
|
6870
|
-
def InstanceId(self, InstanceId):
|
|
6871
|
-
self._InstanceId = InstanceId
|
|
6872
|
-
|
|
6873
|
-
|
|
6874
|
-
def _deserialize(self, params):
|
|
6875
|
-
self._InstanceId = params.get("InstanceId")
|
|
6876
|
-
memeber_set = set(params.keys())
|
|
6877
|
-
for name, value in vars(self).items():
|
|
6878
|
-
property_name = name[1:]
|
|
6879
|
-
if property_name in memeber_set:
|
|
6880
|
-
memeber_set.remove(property_name)
|
|
6881
|
-
if len(memeber_set) > 0:
|
|
6882
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6883
|
-
|
|
6884
|
-
|
|
6885
|
-
|
|
6886
|
-
class DescribeInstanceLoginKeyPairAttributeResponse(AbstractModel):
|
|
6887
|
-
"""DescribeInstanceLoginKeyPairAttribute返回参数结构体
|
|
6888
|
-
|
|
6889
|
-
"""
|
|
6890
|
-
|
|
6891
|
-
def __init__(self):
|
|
6892
|
-
r"""
|
|
6893
|
-
:param _PermitLogin: 是否允许使用默认密钥对登录,YES:允许登录 NO:禁止登录。
|
|
6894
|
-
:type PermitLogin: str
|
|
6895
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6896
|
-
:type RequestId: str
|
|
6897
|
-
"""
|
|
6898
|
-
self._PermitLogin = None
|
|
6899
|
-
self._RequestId = None
|
|
6900
|
-
|
|
6901
|
-
@property
|
|
6902
|
-
def PermitLogin(self):
|
|
6903
|
-
"""是否允许使用默认密钥对登录,YES:允许登录 NO:禁止登录。
|
|
6904
|
-
:rtype: str
|
|
6905
|
-
"""
|
|
6906
|
-
return self._PermitLogin
|
|
6907
|
-
|
|
6908
|
-
@PermitLogin.setter
|
|
6909
|
-
def PermitLogin(self, PermitLogin):
|
|
6910
|
-
self._PermitLogin = PermitLogin
|
|
6911
|
-
|
|
6912
|
-
@property
|
|
6913
|
-
def RequestId(self):
|
|
6914
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6915
|
-
:rtype: str
|
|
6916
|
-
"""
|
|
6917
|
-
return self._RequestId
|
|
6918
|
-
|
|
6919
|
-
@RequestId.setter
|
|
6920
|
-
def RequestId(self, RequestId):
|
|
6921
|
-
self._RequestId = RequestId
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
def _deserialize(self, params):
|
|
6925
|
-
self._PermitLogin = params.get("PermitLogin")
|
|
6926
|
-
self._RequestId = params.get("RequestId")
|
|
6927
|
-
|
|
6928
|
-
|
|
6929
6850
|
class DescribeInstanceVncUrlRequest(AbstractModel):
|
|
6930
6851
|
"""DescribeInstanceVncUrl请求参数结构体
|
|
6931
6852
|
|
|
@@ -15205,85 +15126,6 @@ class ModifyInstancesBundleResponse(AbstractModel):
|
|
|
15205
15126
|
self._RequestId = params.get("RequestId")
|
|
15206
15127
|
|
|
15207
15128
|
|
|
15208
|
-
class ModifyInstancesLoginKeyPairAttributeRequest(AbstractModel):
|
|
15209
|
-
"""ModifyInstancesLoginKeyPairAttribute请求参数结构体
|
|
15210
|
-
|
|
15211
|
-
"""
|
|
15212
|
-
|
|
15213
|
-
def __init__(self):
|
|
15214
|
-
r"""
|
|
15215
|
-
:param _InstanceIds: 实例 ID 列表。每次请求批量实例的上限为 100。
|
|
15216
|
-
:type InstanceIds: list of str
|
|
15217
|
-
:param _PermitLogin: 是否允许使用默认密钥对登录,YES:允许登录;NO:禁止登录
|
|
15218
|
-
:type PermitLogin: str
|
|
15219
|
-
"""
|
|
15220
|
-
self._InstanceIds = None
|
|
15221
|
-
self._PermitLogin = None
|
|
15222
|
-
|
|
15223
|
-
@property
|
|
15224
|
-
def InstanceIds(self):
|
|
15225
|
-
"""实例 ID 列表。每次请求批量实例的上限为 100。
|
|
15226
|
-
:rtype: list of str
|
|
15227
|
-
"""
|
|
15228
|
-
return self._InstanceIds
|
|
15229
|
-
|
|
15230
|
-
@InstanceIds.setter
|
|
15231
|
-
def InstanceIds(self, InstanceIds):
|
|
15232
|
-
self._InstanceIds = InstanceIds
|
|
15233
|
-
|
|
15234
|
-
@property
|
|
15235
|
-
def PermitLogin(self):
|
|
15236
|
-
"""是否允许使用默认密钥对登录,YES:允许登录;NO:禁止登录
|
|
15237
|
-
:rtype: str
|
|
15238
|
-
"""
|
|
15239
|
-
return self._PermitLogin
|
|
15240
|
-
|
|
15241
|
-
@PermitLogin.setter
|
|
15242
|
-
def PermitLogin(self, PermitLogin):
|
|
15243
|
-
self._PermitLogin = PermitLogin
|
|
15244
|
-
|
|
15245
|
-
|
|
15246
|
-
def _deserialize(self, params):
|
|
15247
|
-
self._InstanceIds = params.get("InstanceIds")
|
|
15248
|
-
self._PermitLogin = params.get("PermitLogin")
|
|
15249
|
-
memeber_set = set(params.keys())
|
|
15250
|
-
for name, value in vars(self).items():
|
|
15251
|
-
property_name = name[1:]
|
|
15252
|
-
if property_name in memeber_set:
|
|
15253
|
-
memeber_set.remove(property_name)
|
|
15254
|
-
if len(memeber_set) > 0:
|
|
15255
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15256
|
-
|
|
15257
|
-
|
|
15258
|
-
|
|
15259
|
-
class ModifyInstancesLoginKeyPairAttributeResponse(AbstractModel):
|
|
15260
|
-
"""ModifyInstancesLoginKeyPairAttribute返回参数结构体
|
|
15261
|
-
|
|
15262
|
-
"""
|
|
15263
|
-
|
|
15264
|
-
def __init__(self):
|
|
15265
|
-
r"""
|
|
15266
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15267
|
-
:type RequestId: str
|
|
15268
|
-
"""
|
|
15269
|
-
self._RequestId = None
|
|
15270
|
-
|
|
15271
|
-
@property
|
|
15272
|
-
def RequestId(self):
|
|
15273
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15274
|
-
:rtype: str
|
|
15275
|
-
"""
|
|
15276
|
-
return self._RequestId
|
|
15277
|
-
|
|
15278
|
-
@RequestId.setter
|
|
15279
|
-
def RequestId(self, RequestId):
|
|
15280
|
-
self._RequestId = RequestId
|
|
15281
|
-
|
|
15282
|
-
|
|
15283
|
-
def _deserialize(self, params):
|
|
15284
|
-
self._RequestId = params.get("RequestId")
|
|
15285
|
-
|
|
15286
|
-
|
|
15287
15129
|
class ModifyInstancesRenewFlagRequest(AbstractModel):
|
|
15288
15130
|
"""ModifyInstancesRenewFlag请求参数结构体
|
|
15289
15131
|
|
tencentcloud-sdk-python-lighthouse-3.0.1363/tencentcloud_sdk_python_lighthouse.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1363
|
tencentcloud-sdk-python-lighthouse-3.0.1361/tencentcloud_sdk_python_lighthouse.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1361
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|