tencentcloud-sdk-python-hai 3.0.1416__tar.gz → 3.0.1470__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-hai-3.0.1416 → tencentcloud-sdk-python-hai-3.0.1470}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-hai-3.0.1416 → tencentcloud-sdk-python-hai-3.0.1470}/setup.py +1 -1
- {tencentcloud-sdk-python-hai-3.0.1416 → tencentcloud-sdk-python-hai-3.0.1470}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-hai-3.0.1416 → tencentcloud-sdk-python-hai-3.0.1470}/tencentcloud/hai/v20230812/errorcodes.py +3 -0
- {tencentcloud-sdk-python-hai-3.0.1416 → tencentcloud-sdk-python-hai-3.0.1470}/tencentcloud/hai/v20230812/hai_client.py +16 -16
- {tencentcloud-sdk-python-hai-3.0.1416 → tencentcloud-sdk-python-hai-3.0.1470}/tencentcloud/hai/v20230812/models.py +207 -207
- {tencentcloud-sdk-python-hai-3.0.1416 → tencentcloud-sdk-python-hai-3.0.1470}/tencentcloud_sdk_python_hai.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-hai-3.0.1470/tencentcloud_sdk_python_hai.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-hai-3.0.1416/tencentcloud_sdk_python_hai.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-hai-3.0.1416 → tencentcloud-sdk-python-hai-3.0.1470}/README.rst +0 -0
- {tencentcloud-sdk-python-hai-3.0.1416 → tencentcloud-sdk-python-hai-3.0.1470}/setup.cfg +0 -0
- {tencentcloud-sdk-python-hai-3.0.1416 → tencentcloud-sdk-python-hai-3.0.1470}/tencentcloud/hai/__init__.py +0 -0
- {tencentcloud-sdk-python-hai-3.0.1416 → tencentcloud-sdk-python-hai-3.0.1470}/tencentcloud/hai/v20230812/__init__.py +0 -0
- {tencentcloud-sdk-python-hai-3.0.1416 → tencentcloud-sdk-python-hai-3.0.1470}/tencentcloud_sdk_python_hai.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-hai-3.0.1416 → tencentcloud-sdk-python-hai-3.0.1470}/tencentcloud_sdk_python_hai.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-hai-3.0.1416 → tencentcloud-sdk-python-hai-3.0.1470}/tencentcloud_sdk_python_hai.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-hai',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1470,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Hai SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -128,6 +128,9 @@ RESOURCEINSUFFICIENT_BUNDLEINVENTORYSHORTAGE = 'ResourceInsufficient.BundleInven
|
|
|
128
128
|
# 高性能应用服务相关角色获取失败,无法完成操作
|
|
129
129
|
UNAUTHORIZEDOPERATION_GETROLEERROR = 'UnauthorizedOperation.GetRoleError'
|
|
130
130
|
|
|
131
|
+
# token不正确
|
|
132
|
+
UNAUTHORIZEDOPERATION_INVALIDTOKEN = 'UnauthorizedOperation.InvalidToken'
|
|
133
|
+
|
|
131
134
|
# 用户账号的网络类型是传统型,不允许使用HAI
|
|
132
135
|
UNAUTHORIZEDOPERATION_UNAUTHORIZEDNETWORKUSER = 'UnauthorizedOperation.UnauthorizedNetworkUser'
|
|
133
136
|
|
|
@@ -27,7 +27,7 @@ class HaiClient(AbstractClient):
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
def CreateApplication(self, request):
|
|
30
|
-
"""本接口(CreateApplication)用于对HAI实例制作自定义应用。
|
|
30
|
+
r"""本接口(CreateApplication)用于对HAI实例制作自定义应用。
|
|
31
31
|
|
|
32
32
|
:param request: Request instance for CreateApplication.
|
|
33
33
|
:type request: :class:`tencentcloud.hai.v20230812.models.CreateApplicationRequest`
|
|
@@ -50,7 +50,7 @@ class HaiClient(AbstractClient):
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
def CreateMuskPrompt(self, request):
|
|
53
|
-
"""创建musk prompt 任务
|
|
53
|
+
r"""创建musk prompt 任务
|
|
54
54
|
|
|
55
55
|
:param request: Request instance for CreateMuskPrompt.
|
|
56
56
|
:type request: :class:`tencentcloud.hai.v20230812.models.CreateMuskPromptRequest`
|
|
@@ -73,7 +73,7 @@ class HaiClient(AbstractClient):
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
def DescribeApplications(self, request):
|
|
76
|
-
"""本接口(DescribeApplications)用于查询应用
|
|
76
|
+
r"""本接口(DescribeApplications)用于查询应用
|
|
77
77
|
|
|
78
78
|
:param request: Request instance for DescribeApplications.
|
|
79
79
|
:type request: :class:`tencentcloud.hai.v20230812.models.DescribeApplicationsRequest`
|
|
@@ -96,7 +96,7 @@ class HaiClient(AbstractClient):
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
def DescribeInstanceNetworkStatus(self, request):
|
|
99
|
-
"""本接口(DescribeInstanceNetworkStatus)用于查询实例的网络配置及消耗情况
|
|
99
|
+
r"""本接口(DescribeInstanceNetworkStatus)用于查询实例的网络配置及消耗情况
|
|
100
100
|
|
|
101
101
|
:param request: Request instance for DescribeInstanceNetworkStatus.
|
|
102
102
|
:type request: :class:`tencentcloud.hai.v20230812.models.DescribeInstanceNetworkStatusRequest`
|
|
@@ -119,7 +119,7 @@ class HaiClient(AbstractClient):
|
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
def DescribeInstances(self, request):
|
|
122
|
-
"""本接口(DescribeInstances)用户查询实例
|
|
122
|
+
r"""本接口(DescribeInstances)用户查询实例
|
|
123
123
|
|
|
124
124
|
:param request: Request instance for DescribeInstances.
|
|
125
125
|
:type request: :class:`tencentcloud.hai.v20230812.models.DescribeInstancesRequest`
|
|
@@ -142,7 +142,7 @@ class HaiClient(AbstractClient):
|
|
|
142
142
|
|
|
143
143
|
|
|
144
144
|
def DescribeMuskPrompts(self, request):
|
|
145
|
-
"""获取prompt任务列表
|
|
145
|
+
r"""获取prompt任务列表
|
|
146
146
|
|
|
147
147
|
:param request: Request instance for DescribeMuskPrompts.
|
|
148
148
|
:type request: :class:`tencentcloud.hai.v20230812.models.DescribeMuskPromptsRequest`
|
|
@@ -165,7 +165,7 @@ class HaiClient(AbstractClient):
|
|
|
165
165
|
|
|
166
166
|
|
|
167
167
|
def DescribeRegions(self, request):
|
|
168
|
-
"""本接口(DescribeRegions)用于查询地域列表
|
|
168
|
+
r"""本接口(DescribeRegions)用于查询地域列表
|
|
169
169
|
|
|
170
170
|
:param request: Request instance for DescribeRegions.
|
|
171
171
|
:type request: :class:`tencentcloud.hai.v20230812.models.DescribeRegionsRequest`
|
|
@@ -188,7 +188,7 @@ class HaiClient(AbstractClient):
|
|
|
188
188
|
|
|
189
189
|
|
|
190
190
|
def DescribeScenes(self, request):
|
|
191
|
-
"""本接口(DescribeScenes)用于查询场景
|
|
191
|
+
r"""本接口(DescribeScenes)用于查询场景
|
|
192
192
|
|
|
193
193
|
:param request: Request instance for DescribeScenes.
|
|
194
194
|
:type request: :class:`tencentcloud.hai.v20230812.models.DescribeScenesRequest`
|
|
@@ -211,7 +211,7 @@ class HaiClient(AbstractClient):
|
|
|
211
211
|
|
|
212
212
|
|
|
213
213
|
def DescribeServiceLoginSettings(self, request):
|
|
214
|
-
"""本接口(DescribeServiceLoginSettings)用于查询服务登录配置
|
|
214
|
+
r"""本接口(DescribeServiceLoginSettings)用于查询服务登录配置
|
|
215
215
|
|
|
216
216
|
:param request: Request instance for DescribeServiceLoginSettings.
|
|
217
217
|
:type request: :class:`tencentcloud.hai.v20230812.models.DescribeServiceLoginSettingsRequest`
|
|
@@ -234,7 +234,7 @@ class HaiClient(AbstractClient):
|
|
|
234
234
|
|
|
235
235
|
|
|
236
236
|
def InquirePriceRunInstances(self, request):
|
|
237
|
-
"""本接口 (InquirePriceRunInstances) 用于实例询价。
|
|
237
|
+
r"""本接口 (InquirePriceRunInstances) 用于实例询价。
|
|
238
238
|
|
|
239
239
|
:param request: Request instance for InquirePriceRunInstances.
|
|
240
240
|
:type request: :class:`tencentcloud.hai.v20230812.models.InquirePriceRunInstancesRequest`
|
|
@@ -257,7 +257,7 @@ class HaiClient(AbstractClient):
|
|
|
257
257
|
|
|
258
258
|
|
|
259
259
|
def ResetInstancesPassword(self, request):
|
|
260
|
-
"""本接口 (ResetInstancesPassword) 用于重置实例的用户密码。
|
|
260
|
+
r"""本接口 (ResetInstancesPassword) 用于重置实例的用户密码。
|
|
261
261
|
|
|
262
262
|
:param request: Request instance for ResetInstancesPassword.
|
|
263
263
|
:type request: :class:`tencentcloud.hai.v20230812.models.ResetInstancesPasswordRequest`
|
|
@@ -280,7 +280,7 @@ class HaiClient(AbstractClient):
|
|
|
280
280
|
|
|
281
281
|
|
|
282
282
|
def ResizeInstanceDisk(self, request):
|
|
283
|
-
"""本接口(ResizeInstanceDisk)用于对指定HAI实例进行扩容云硬盘操作。
|
|
283
|
+
r"""本接口(ResizeInstanceDisk)用于对指定HAI实例进行扩容云硬盘操作。
|
|
284
284
|
|
|
285
285
|
:param request: Request instance for ResizeInstanceDisk.
|
|
286
286
|
:type request: :class:`tencentcloud.hai.v20230812.models.ResizeInstanceDiskRequest`
|
|
@@ -303,7 +303,7 @@ class HaiClient(AbstractClient):
|
|
|
303
303
|
|
|
304
304
|
|
|
305
305
|
def RunInstances(self, request):
|
|
306
|
-
"""本接口 (RunInstances) 用于创建一个或多个指定配置的实例。
|
|
306
|
+
r"""本接口 (RunInstances) 用于创建一个或多个指定配置的实例。
|
|
307
307
|
|
|
308
308
|
:param request: Request instance for RunInstances.
|
|
309
309
|
:type request: :class:`tencentcloud.hai.v20230812.models.RunInstancesRequest`
|
|
@@ -326,7 +326,7 @@ class HaiClient(AbstractClient):
|
|
|
326
326
|
|
|
327
327
|
|
|
328
328
|
def StartInstance(self, request):
|
|
329
|
-
"""本接口 (StartInstance) 用于主动启动实例。
|
|
329
|
+
r"""本接口 (StartInstance) 用于主动启动实例。
|
|
330
330
|
‘运行中’、‘预付费’的实例不支持启动实例
|
|
331
331
|
|
|
332
332
|
:param request: Request instance for StartInstance.
|
|
@@ -350,7 +350,7 @@ class HaiClient(AbstractClient):
|
|
|
350
350
|
|
|
351
351
|
|
|
352
352
|
def StopInstance(self, request):
|
|
353
|
-
"""本接口 (StopInstance) 用于主动关闭实例。
|
|
353
|
+
r"""本接口 (StopInstance) 用于主动关闭实例。
|
|
354
354
|
‘已关机’、‘预付费’的实例不支持关机
|
|
355
355
|
|
|
356
356
|
:param request: Request instance for StopInstance.
|
|
@@ -374,7 +374,7 @@ class HaiClient(AbstractClient):
|
|
|
374
374
|
|
|
375
375
|
|
|
376
376
|
def TerminateInstances(self, request):
|
|
377
|
-
"""本接口 (TerminateInstances) 用于主动退还实例。
|
|
377
|
+
r"""本接口 (TerminateInstances) 用于主动退还实例。
|
|
378
378
|
|
|
379
379
|
:param request: Request instance for TerminateInstances.
|
|
380
380
|
:type request: :class:`tencentcloud.hai.v20230812.models.TerminateInstancesRequest`
|