tencentcloud-sdk-python-cloudhsm 3.0.1459__tar.gz → 3.1.4__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_cloudhsm-3.1.4/PKG-INFO +46 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1459 → tencentcloud_sdk_python_cloudhsm-3.1.4}/setup.py +2 -1
- {tencentcloud-sdk-python-cloudhsm-3.0.1459 → tencentcloud_sdk_python_cloudhsm-3.1.4}/tencentcloud/__init__.py +1 -1
- tencentcloud_sdk_python_cloudhsm-3.1.4/tencentcloud/cloudhsm/v20191112/cloudhsm_client_async.py +278 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1459 → tencentcloud_sdk_python_cloudhsm-3.1.4}/tencentcloud/cloudhsm/v20191112/models.py +64 -15
- tencentcloud_sdk_python_cloudhsm-3.1.4/tencentcloud_sdk_python_cloudhsm.egg-info/PKG-INFO +46 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1459 → tencentcloud_sdk_python_cloudhsm-3.1.4}/tencentcloud_sdk_python_cloudhsm.egg-info/SOURCES.txt +1 -0
- tencentcloud_sdk_python_cloudhsm-3.1.4/tencentcloud_sdk_python_cloudhsm.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cloudhsm-3.0.1459/PKG-INFO +0 -45
- tencentcloud-sdk-python-cloudhsm-3.0.1459/tencentcloud_sdk_python_cloudhsm.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-cloudhsm-3.0.1459/tencentcloud_sdk_python_cloudhsm.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cloudhsm-3.0.1459 → tencentcloud_sdk_python_cloudhsm-3.1.4}/README.rst +0 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1459 → tencentcloud_sdk_python_cloudhsm-3.1.4}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1459 → tencentcloud_sdk_python_cloudhsm-3.1.4}/tencentcloud/cloudhsm/__init__.py +0 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1459 → tencentcloud_sdk_python_cloudhsm-3.1.4}/tencentcloud/cloudhsm/v20191112/__init__.py +0 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1459 → tencentcloud_sdk_python_cloudhsm-3.1.4}/tencentcloud/cloudhsm/v20191112/cloudhsm_client.py +0 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1459 → tencentcloud_sdk_python_cloudhsm-3.1.4}/tencentcloud/cloudhsm/v20191112/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1459 → tencentcloud_sdk_python_cloudhsm-3.1.4}/tencentcloud_sdk_python_cloudhsm.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1459 → tencentcloud_sdk_python_cloudhsm-3.1.4}/tencentcloud_sdk_python_cloudhsm.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-cloudhsm
|
|
3
|
+
Version: 3.1.4
|
|
4
|
+
Summary: Tencent Cloud Cloudhsm SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.4
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Cloudhsm SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-cloudhsm
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common cloudhsm
|
|
46
|
+
|
{tencentcloud-sdk-python-cloudhsm-3.0.1459 → tencentcloud_sdk_python_cloudhsm-3.1.4}/setup.py
RENAMED
|
@@ -8,7 +8,8 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cloudhsm',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.4,<4.0.0"],
|
|
12
|
+
|
|
12
13
|
version=tencentcloud.__version__,
|
|
13
14
|
description='Tencent Cloud Cloudhsm SDK for Python',
|
|
14
15
|
long_description=open('README.rst').read(),
|
tencentcloud_sdk_python_cloudhsm-3.1.4/tencentcloud/cloudhsm/v20191112/cloudhsm_client_async.py
ADDED
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.abstract_client_async import AbstractClient
|
|
19
|
+
from tencentcloud.cloudhsm.v20191112 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class CloudhsmClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2019-11-12'
|
|
25
|
+
_endpoint = 'cloudhsm.tencentcloudapi.com'
|
|
26
|
+
_service = 'cloudhsm'
|
|
27
|
+
|
|
28
|
+
async def DescribeHSMBySubnetId(
|
|
29
|
+
self,
|
|
30
|
+
request: models.DescribeHSMBySubnetIdRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.DescribeHSMBySubnetIdResponse:
|
|
33
|
+
"""
|
|
34
|
+
通过SubnetId获取Hsm资源数
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "DescribeHSMBySubnetId"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.DescribeHSMBySubnetIdResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|
|
45
|
+
|
|
46
|
+
async def DescribeHSMByVpcId(
|
|
47
|
+
self,
|
|
48
|
+
request: models.DescribeHSMByVpcIdRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.DescribeHSMByVpcIdResponse:
|
|
51
|
+
"""
|
|
52
|
+
通过VpcId获取Hsm资源数
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "DescribeHSMByVpcId"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.DescribeHSMByVpcIdResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
64
|
+
async def DescribeSubnet(
|
|
65
|
+
self,
|
|
66
|
+
request: models.DescribeSubnetRequest,
|
|
67
|
+
opts: Dict = None,
|
|
68
|
+
) -> models.DescribeSubnetResponse:
|
|
69
|
+
"""
|
|
70
|
+
查询子网列表
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
kwargs = {}
|
|
74
|
+
kwargs["action"] = "DescribeSubnet"
|
|
75
|
+
kwargs["params"] = request._serialize()
|
|
76
|
+
kwargs["resp_cls"] = models.DescribeSubnetResponse
|
|
77
|
+
kwargs["headers"] = request.headers
|
|
78
|
+
kwargs["opts"] = opts or {}
|
|
79
|
+
|
|
80
|
+
return await self.call_and_deserialize(**kwargs)
|
|
81
|
+
|
|
82
|
+
async def DescribeSupportedHsm(
|
|
83
|
+
self,
|
|
84
|
+
request: models.DescribeSupportedHsmRequest,
|
|
85
|
+
opts: Dict = None,
|
|
86
|
+
) -> models.DescribeSupportedHsmResponse:
|
|
87
|
+
"""
|
|
88
|
+
获取当前地域所支持的设备列表
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
kwargs = {}
|
|
92
|
+
kwargs["action"] = "DescribeSupportedHsm"
|
|
93
|
+
kwargs["params"] = request._serialize()
|
|
94
|
+
kwargs["resp_cls"] = models.DescribeSupportedHsmResponse
|
|
95
|
+
kwargs["headers"] = request.headers
|
|
96
|
+
kwargs["opts"] = opts or {}
|
|
97
|
+
|
|
98
|
+
return await self.call_and_deserialize(**kwargs)
|
|
99
|
+
|
|
100
|
+
async def DescribeUsg(
|
|
101
|
+
self,
|
|
102
|
+
request: models.DescribeUsgRequest,
|
|
103
|
+
opts: Dict = None,
|
|
104
|
+
) -> models.DescribeUsgResponse:
|
|
105
|
+
"""
|
|
106
|
+
根据用户的AppId获取用户安全组列表
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
kwargs = {}
|
|
110
|
+
kwargs["action"] = "DescribeUsg"
|
|
111
|
+
kwargs["params"] = request._serialize()
|
|
112
|
+
kwargs["resp_cls"] = models.DescribeUsgResponse
|
|
113
|
+
kwargs["headers"] = request.headers
|
|
114
|
+
kwargs["opts"] = opts or {}
|
|
115
|
+
|
|
116
|
+
return await self.call_and_deserialize(**kwargs)
|
|
117
|
+
|
|
118
|
+
async def DescribeUsgRule(
|
|
119
|
+
self,
|
|
120
|
+
request: models.DescribeUsgRuleRequest,
|
|
121
|
+
opts: Dict = None,
|
|
122
|
+
) -> models.DescribeUsgRuleResponse:
|
|
123
|
+
"""
|
|
124
|
+
获取安全组详情
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
kwargs = {}
|
|
128
|
+
kwargs["action"] = "DescribeUsgRule"
|
|
129
|
+
kwargs["params"] = request._serialize()
|
|
130
|
+
kwargs["resp_cls"] = models.DescribeUsgRuleResponse
|
|
131
|
+
kwargs["headers"] = request.headers
|
|
132
|
+
kwargs["opts"] = opts or {}
|
|
133
|
+
|
|
134
|
+
return await self.call_and_deserialize(**kwargs)
|
|
135
|
+
|
|
136
|
+
async def DescribeVpc(
|
|
137
|
+
self,
|
|
138
|
+
request: models.DescribeVpcRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.DescribeVpcResponse:
|
|
141
|
+
"""
|
|
142
|
+
查询用户的私有网络列表
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
kwargs = {}
|
|
146
|
+
kwargs["action"] = "DescribeVpc"
|
|
147
|
+
kwargs["params"] = request._serialize()
|
|
148
|
+
kwargs["resp_cls"] = models.DescribeVpcResponse
|
|
149
|
+
kwargs["headers"] = request.headers
|
|
150
|
+
kwargs["opts"] = opts or {}
|
|
151
|
+
|
|
152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
153
|
+
|
|
154
|
+
async def DescribeVsmAttributes(
|
|
155
|
+
self,
|
|
156
|
+
request: models.DescribeVsmAttributesRequest,
|
|
157
|
+
opts: Dict = None,
|
|
158
|
+
) -> models.DescribeVsmAttributesResponse:
|
|
159
|
+
"""
|
|
160
|
+
获取VSM属性
|
|
161
|
+
"""
|
|
162
|
+
|
|
163
|
+
kwargs = {}
|
|
164
|
+
kwargs["action"] = "DescribeVsmAttributes"
|
|
165
|
+
kwargs["params"] = request._serialize()
|
|
166
|
+
kwargs["resp_cls"] = models.DescribeVsmAttributesResponse
|
|
167
|
+
kwargs["headers"] = request.headers
|
|
168
|
+
kwargs["opts"] = opts or {}
|
|
169
|
+
|
|
170
|
+
return await self.call_and_deserialize(**kwargs)
|
|
171
|
+
|
|
172
|
+
async def DescribeVsms(
|
|
173
|
+
self,
|
|
174
|
+
request: models.DescribeVsmsRequest,
|
|
175
|
+
opts: Dict = None,
|
|
176
|
+
) -> models.DescribeVsmsResponse:
|
|
177
|
+
"""
|
|
178
|
+
获取用户VSM列表
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
kwargs = {}
|
|
182
|
+
kwargs["action"] = "DescribeVsms"
|
|
183
|
+
kwargs["params"] = request._serialize()
|
|
184
|
+
kwargs["resp_cls"] = models.DescribeVsmsResponse
|
|
185
|
+
kwargs["headers"] = request.headers
|
|
186
|
+
kwargs["opts"] = opts or {}
|
|
187
|
+
|
|
188
|
+
return await self.call_and_deserialize(**kwargs)
|
|
189
|
+
|
|
190
|
+
async def GetAlarmEvent(
|
|
191
|
+
self,
|
|
192
|
+
request: models.GetAlarmEventRequest,
|
|
193
|
+
opts: Dict = None,
|
|
194
|
+
) -> models.GetAlarmEventResponse:
|
|
195
|
+
"""
|
|
196
|
+
获取告警事件
|
|
197
|
+
"""
|
|
198
|
+
|
|
199
|
+
kwargs = {}
|
|
200
|
+
kwargs["action"] = "GetAlarmEvent"
|
|
201
|
+
kwargs["params"] = request._serialize()
|
|
202
|
+
kwargs["resp_cls"] = models.GetAlarmEventResponse
|
|
203
|
+
kwargs["headers"] = request.headers
|
|
204
|
+
kwargs["opts"] = opts or {}
|
|
205
|
+
|
|
206
|
+
return await self.call_and_deserialize(**kwargs)
|
|
207
|
+
|
|
208
|
+
async def GetVsmMonitorInfo(
|
|
209
|
+
self,
|
|
210
|
+
request: models.GetVsmMonitorInfoRequest,
|
|
211
|
+
opts: Dict = None,
|
|
212
|
+
) -> models.GetVsmMonitorInfoResponse:
|
|
213
|
+
"""
|
|
214
|
+
获取VSM监控信息
|
|
215
|
+
"""
|
|
216
|
+
|
|
217
|
+
kwargs = {}
|
|
218
|
+
kwargs["action"] = "GetVsmMonitorInfo"
|
|
219
|
+
kwargs["params"] = request._serialize()
|
|
220
|
+
kwargs["resp_cls"] = models.GetVsmMonitorInfoResponse
|
|
221
|
+
kwargs["headers"] = request.headers
|
|
222
|
+
kwargs["opts"] = opts or {}
|
|
223
|
+
|
|
224
|
+
return await self.call_and_deserialize(**kwargs)
|
|
225
|
+
|
|
226
|
+
async def InquiryPriceBuyVsm(
|
|
227
|
+
self,
|
|
228
|
+
request: models.InquiryPriceBuyVsmRequest,
|
|
229
|
+
opts: Dict = None,
|
|
230
|
+
) -> models.InquiryPriceBuyVsmResponse:
|
|
231
|
+
"""
|
|
232
|
+
购买询价接口
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
kwargs = {}
|
|
236
|
+
kwargs["action"] = "InquiryPriceBuyVsm"
|
|
237
|
+
kwargs["params"] = request._serialize()
|
|
238
|
+
kwargs["resp_cls"] = models.InquiryPriceBuyVsmResponse
|
|
239
|
+
kwargs["headers"] = request.headers
|
|
240
|
+
kwargs["opts"] = opts or {}
|
|
241
|
+
|
|
242
|
+
return await self.call_and_deserialize(**kwargs)
|
|
243
|
+
|
|
244
|
+
async def ModifyAlarmEvent(
|
|
245
|
+
self,
|
|
246
|
+
request: models.ModifyAlarmEventRequest,
|
|
247
|
+
opts: Dict = None,
|
|
248
|
+
) -> models.ModifyAlarmEventResponse:
|
|
249
|
+
"""
|
|
250
|
+
修改告警事件
|
|
251
|
+
"""
|
|
252
|
+
|
|
253
|
+
kwargs = {}
|
|
254
|
+
kwargs["action"] = "ModifyAlarmEvent"
|
|
255
|
+
kwargs["params"] = request._serialize()
|
|
256
|
+
kwargs["resp_cls"] = models.ModifyAlarmEventResponse
|
|
257
|
+
kwargs["headers"] = request.headers
|
|
258
|
+
kwargs["opts"] = opts or {}
|
|
259
|
+
|
|
260
|
+
return await self.call_and_deserialize(**kwargs)
|
|
261
|
+
|
|
262
|
+
async def ModifyVsmAttributes(
|
|
263
|
+
self,
|
|
264
|
+
request: models.ModifyVsmAttributesRequest,
|
|
265
|
+
opts: Dict = None,
|
|
266
|
+
) -> models.ModifyVsmAttributesResponse:
|
|
267
|
+
"""
|
|
268
|
+
修改VSM属性
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
kwargs = {}
|
|
272
|
+
kwargs["action"] = "ModifyVsmAttributes"
|
|
273
|
+
kwargs["params"] = request._serialize()
|
|
274
|
+
kwargs["resp_cls"] = models.ModifyVsmAttributesResponse
|
|
275
|
+
kwargs["headers"] = request.headers
|
|
276
|
+
kwargs["opts"] = opts or {}
|
|
277
|
+
|
|
278
|
+
return await self.call_and_deserialize(**kwargs)
|
|
@@ -991,6 +991,8 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
991
991
|
:type RenewFlag: int
|
|
992
992
|
:param _Manufacturer: 厂商
|
|
993
993
|
:type Manufacturer: str
|
|
994
|
+
:param _PqcFlag: 0-关闭,1-开启
|
|
995
|
+
:type PqcFlag: int
|
|
994
996
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
995
997
|
:type RequestId: str
|
|
996
998
|
"""
|
|
@@ -1017,6 +1019,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1017
1019
|
self._Tags = None
|
|
1018
1020
|
self._RenewFlag = None
|
|
1019
1021
|
self._Manufacturer = None
|
|
1022
|
+
self._PqcFlag = None
|
|
1020
1023
|
self._RequestId = None
|
|
1021
1024
|
|
|
1022
1025
|
@property
|
|
@@ -1272,6 +1275,17 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1272
1275
|
def Manufacturer(self, Manufacturer):
|
|
1273
1276
|
self._Manufacturer = Manufacturer
|
|
1274
1277
|
|
|
1278
|
+
@property
|
|
1279
|
+
def PqcFlag(self):
|
|
1280
|
+
r"""0-关闭,1-开启
|
|
1281
|
+
:rtype: int
|
|
1282
|
+
"""
|
|
1283
|
+
return self._PqcFlag
|
|
1284
|
+
|
|
1285
|
+
@PqcFlag.setter
|
|
1286
|
+
def PqcFlag(self, PqcFlag):
|
|
1287
|
+
self._PqcFlag = PqcFlag
|
|
1288
|
+
|
|
1275
1289
|
@property
|
|
1276
1290
|
def RequestId(self):
|
|
1277
1291
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1318,6 +1332,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1318
1332
|
self._Tags.append(obj)
|
|
1319
1333
|
self._RenewFlag = params.get("RenewFlag")
|
|
1320
1334
|
self._Manufacturer = params.get("Manufacturer")
|
|
1335
|
+
self._PqcFlag = params.get("PqcFlag")
|
|
1321
1336
|
self._RequestId = params.get("RequestId")
|
|
1322
1337
|
|
|
1323
1338
|
|
|
@@ -1790,20 +1805,20 @@ class InquiryPriceBuyVsmRequest(AbstractModel):
|
|
|
1790
1805
|
:type TimeSpan: str
|
|
1791
1806
|
:param _TimeUnit: 商品的时间单位,m表示月,y表示年
|
|
1792
1807
|
:type TimeUnit: str
|
|
1793
|
-
:param _Currency: 货币类型,默认为CNY
|
|
1794
|
-
:type Currency: str
|
|
1795
1808
|
:param _Type: 默认为CREATE,可选RENEW
|
|
1796
1809
|
:type Type: str
|
|
1797
1810
|
:param _HsmType: Hsm服务类型,可选值virtualization、physical、GHSM、EHSM、SHSM
|
|
1798
1811
|
:type HsmType: str
|
|
1812
|
+
:param _Currency: 货币类型,默认为CNY
|
|
1813
|
+
:type Currency: str
|
|
1799
1814
|
"""
|
|
1800
1815
|
self._GoodsNum = None
|
|
1801
1816
|
self._PayMode = None
|
|
1802
1817
|
self._TimeSpan = None
|
|
1803
1818
|
self._TimeUnit = None
|
|
1804
|
-
self._Currency = None
|
|
1805
1819
|
self._Type = None
|
|
1806
1820
|
self._HsmType = None
|
|
1821
|
+
self._Currency = None
|
|
1807
1822
|
|
|
1808
1823
|
@property
|
|
1809
1824
|
def GoodsNum(self):
|
|
@@ -1849,17 +1864,6 @@ class InquiryPriceBuyVsmRequest(AbstractModel):
|
|
|
1849
1864
|
def TimeUnit(self, TimeUnit):
|
|
1850
1865
|
self._TimeUnit = TimeUnit
|
|
1851
1866
|
|
|
1852
|
-
@property
|
|
1853
|
-
def Currency(self):
|
|
1854
|
-
r"""货币类型,默认为CNY
|
|
1855
|
-
:rtype: str
|
|
1856
|
-
"""
|
|
1857
|
-
return self._Currency
|
|
1858
|
-
|
|
1859
|
-
@Currency.setter
|
|
1860
|
-
def Currency(self, Currency):
|
|
1861
|
-
self._Currency = Currency
|
|
1862
|
-
|
|
1863
1867
|
@property
|
|
1864
1868
|
def Type(self):
|
|
1865
1869
|
r"""默认为CREATE,可选RENEW
|
|
@@ -1882,15 +1886,26 @@ class InquiryPriceBuyVsmRequest(AbstractModel):
|
|
|
1882
1886
|
def HsmType(self, HsmType):
|
|
1883
1887
|
self._HsmType = HsmType
|
|
1884
1888
|
|
|
1889
|
+
@property
|
|
1890
|
+
def Currency(self):
|
|
1891
|
+
r"""货币类型,默认为CNY
|
|
1892
|
+
:rtype: str
|
|
1893
|
+
"""
|
|
1894
|
+
return self._Currency
|
|
1895
|
+
|
|
1896
|
+
@Currency.setter
|
|
1897
|
+
def Currency(self, Currency):
|
|
1898
|
+
self._Currency = Currency
|
|
1899
|
+
|
|
1885
1900
|
|
|
1886
1901
|
def _deserialize(self, params):
|
|
1887
1902
|
self._GoodsNum = params.get("GoodsNum")
|
|
1888
1903
|
self._PayMode = params.get("PayMode")
|
|
1889
1904
|
self._TimeSpan = params.get("TimeSpan")
|
|
1890
1905
|
self._TimeUnit = params.get("TimeUnit")
|
|
1891
|
-
self._Currency = params.get("Currency")
|
|
1892
1906
|
self._Type = params.get("Type")
|
|
1893
1907
|
self._HsmType = params.get("HsmType")
|
|
1908
|
+
self._Currency = params.get("Currency")
|
|
1894
1909
|
memeber_set = set(params.keys())
|
|
1895
1910
|
for name, value in vars(self).items():
|
|
1896
1911
|
property_name = name[1:]
|
|
@@ -2341,6 +2356,12 @@ class ResourceInfo(AbstractModel):
|
|
|
2341
2356
|
:type Manufacturer: str
|
|
2342
2357
|
:param _AlarmStatus: 告警状态,0:停用,1:启用
|
|
2343
2358
|
:type AlarmStatus: int
|
|
2359
|
+
:param _PqcStatus: 0不支持
|
|
2360
|
+
1关闭
|
|
2361
|
+
2开启
|
|
2362
|
+
:type PqcStatus: int
|
|
2363
|
+
:param _PqcFlag: 0关闭,1开启
|
|
2364
|
+
:type PqcFlag: int
|
|
2344
2365
|
"""
|
|
2345
2366
|
self._ResourceId = None
|
|
2346
2367
|
self._ResourceName = None
|
|
@@ -2365,6 +2386,8 @@ class ResourceInfo(AbstractModel):
|
|
|
2365
2386
|
self._Tags = None
|
|
2366
2387
|
self._Manufacturer = None
|
|
2367
2388
|
self._AlarmStatus = None
|
|
2389
|
+
self._PqcStatus = None
|
|
2390
|
+
self._PqcFlag = None
|
|
2368
2391
|
|
|
2369
2392
|
@property
|
|
2370
2393
|
def ResourceId(self):
|
|
@@ -2619,6 +2642,30 @@ class ResourceInfo(AbstractModel):
|
|
|
2619
2642
|
def AlarmStatus(self, AlarmStatus):
|
|
2620
2643
|
self._AlarmStatus = AlarmStatus
|
|
2621
2644
|
|
|
2645
|
+
@property
|
|
2646
|
+
def PqcStatus(self):
|
|
2647
|
+
r"""0不支持
|
|
2648
|
+
1关闭
|
|
2649
|
+
2开启
|
|
2650
|
+
:rtype: int
|
|
2651
|
+
"""
|
|
2652
|
+
return self._PqcStatus
|
|
2653
|
+
|
|
2654
|
+
@PqcStatus.setter
|
|
2655
|
+
def PqcStatus(self, PqcStatus):
|
|
2656
|
+
self._PqcStatus = PqcStatus
|
|
2657
|
+
|
|
2658
|
+
@property
|
|
2659
|
+
def PqcFlag(self):
|
|
2660
|
+
r"""0关闭,1开启
|
|
2661
|
+
:rtype: int
|
|
2662
|
+
"""
|
|
2663
|
+
return self._PqcFlag
|
|
2664
|
+
|
|
2665
|
+
@PqcFlag.setter
|
|
2666
|
+
def PqcFlag(self, PqcFlag):
|
|
2667
|
+
self._PqcFlag = PqcFlag
|
|
2668
|
+
|
|
2622
2669
|
|
|
2623
2670
|
def _deserialize(self, params):
|
|
2624
2671
|
self._ResourceId = params.get("ResourceId")
|
|
@@ -2654,6 +2701,8 @@ class ResourceInfo(AbstractModel):
|
|
|
2654
2701
|
self._Tags.append(obj)
|
|
2655
2702
|
self._Manufacturer = params.get("Manufacturer")
|
|
2656
2703
|
self._AlarmStatus = params.get("AlarmStatus")
|
|
2704
|
+
self._PqcStatus = params.get("PqcStatus")
|
|
2705
|
+
self._PqcFlag = params.get("PqcFlag")
|
|
2657
2706
|
memeber_set = set(params.keys())
|
|
2658
2707
|
for name, value in vars(self).items():
|
|
2659
2708
|
property_name = name[1:]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-cloudhsm
|
|
3
|
+
Version: 3.1.4
|
|
4
|
+
Summary: Tencent Cloud Cloudhsm SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.4
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Cloudhsm SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-cloudhsm
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common cloudhsm
|
|
46
|
+
|
|
@@ -5,6 +5,7 @@ tencentcloud/__init__.py
|
|
|
5
5
|
tencentcloud/cloudhsm/__init__.py
|
|
6
6
|
tencentcloud/cloudhsm/v20191112/__init__.py
|
|
7
7
|
tencentcloud/cloudhsm/v20191112/cloudhsm_client.py
|
|
8
|
+
tencentcloud/cloudhsm/v20191112/cloudhsm_client_async.py
|
|
8
9
|
tencentcloud/cloudhsm/v20191112/errorcodes.py
|
|
9
10
|
tencentcloud/cloudhsm/v20191112/models.py
|
|
10
11
|
tencentcloud_sdk_python_cloudhsm.egg-info/PKG-INFO
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.4
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-cloudhsm
|
|
3
|
-
Version: 3.0.1459
|
|
4
|
-
Summary: Tencent Cloud Cloudhsm SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Cloudhsm SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-cloudhsm
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common cloudhsm
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
tencentcloud-sdk-python-cloudhsm-3.0.1459/tencentcloud_sdk_python_cloudhsm.egg-info/PKG-INFO
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-cloudhsm
|
|
3
|
-
Version: 3.0.1459
|
|
4
|
-
Summary: Tencent Cloud Cloudhsm SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Cloudhsm SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-cloudhsm
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common cloudhsm
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
tencentcloud-sdk-python-cloudhsm-3.0.1459/tencentcloud_sdk_python_cloudhsm.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1459
|
{tencentcloud-sdk-python-cloudhsm-3.0.1459 → tencentcloud_sdk_python_cloudhsm-3.1.4}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-cloudhsm-3.0.1459 → tencentcloud_sdk_python_cloudhsm-3.1.4}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|