tencentcloud-sdk-python-cloudhsm 3.0.1477__tar.gz → 3.1.102__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.102/PKG-INFO +46 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1477 → tencentcloud_sdk_python_cloudhsm-3.1.102}/setup.py +2 -1
- {tencentcloud-sdk-python-cloudhsm-3.0.1477 → tencentcloud_sdk_python_cloudhsm-3.1.102}/tencentcloud/__init__.py +1 -1
- tencentcloud_sdk_python_cloudhsm-3.1.102/tencentcloud/cloudhsm/v20191112/cloudhsm_client_async.py +278 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1477 → tencentcloud_sdk_python_cloudhsm-3.1.102}/tencentcloud/cloudhsm/v20191112/models.py +169 -94
- tencentcloud_sdk_python_cloudhsm-3.1.102/tencentcloud_sdk_python_cloudhsm.egg-info/PKG-INFO +46 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1477 → tencentcloud_sdk_python_cloudhsm-3.1.102}/tencentcloud_sdk_python_cloudhsm.egg-info/SOURCES.txt +1 -0
- tencentcloud_sdk_python_cloudhsm-3.1.102/tencentcloud_sdk_python_cloudhsm.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cloudhsm-3.0.1477/PKG-INFO +0 -45
- tencentcloud-sdk-python-cloudhsm-3.0.1477/tencentcloud_sdk_python_cloudhsm.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-cloudhsm-3.0.1477/tencentcloud_sdk_python_cloudhsm.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cloudhsm-3.0.1477 → tencentcloud_sdk_python_cloudhsm-3.1.102}/README.rst +0 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1477 → tencentcloud_sdk_python_cloudhsm-3.1.102}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1477 → tencentcloud_sdk_python_cloudhsm-3.1.102}/tencentcloud/cloudhsm/__init__.py +0 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1477 → tencentcloud_sdk_python_cloudhsm-3.1.102}/tencentcloud/cloudhsm/v20191112/__init__.py +0 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1477 → tencentcloud_sdk_python_cloudhsm-3.1.102}/tencentcloud/cloudhsm/v20191112/cloudhsm_client.py +0 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1477 → tencentcloud_sdk_python_cloudhsm-3.1.102}/tencentcloud/cloudhsm/v20191112/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1477 → tencentcloud_sdk_python_cloudhsm-3.1.102}/tencentcloud_sdk_python_cloudhsm.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cloudhsm-3.0.1477 → tencentcloud_sdk_python_cloudhsm-3.1.102}/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.102
|
|
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.102
|
|
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.1477 → tencentcloud_sdk_python_cloudhsm-3.1.102}/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.102,<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.102/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)
|
|
@@ -909,14 +909,14 @@ class DescribeVsmAttributesRequest(AbstractModel):
|
|
|
909
909
|
|
|
910
910
|
def __init__(self):
|
|
911
911
|
r"""
|
|
912
|
-
:param _ResourceId:
|
|
912
|
+
:param _ResourceId: <p>资源Id</p>
|
|
913
913
|
:type ResourceId: str
|
|
914
914
|
"""
|
|
915
915
|
self._ResourceId = None
|
|
916
916
|
|
|
917
917
|
@property
|
|
918
918
|
def ResourceId(self):
|
|
919
|
-
r"""
|
|
919
|
+
r"""<p>资源Id</p>
|
|
920
920
|
:rtype: str
|
|
921
921
|
"""
|
|
922
922
|
return self._ResourceId
|
|
@@ -945,52 +945,56 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
945
945
|
|
|
946
946
|
def __init__(self):
|
|
947
947
|
r"""
|
|
948
|
-
:param _ResourceId:
|
|
948
|
+
:param _ResourceId: <p>资源Id</p>
|
|
949
949
|
:type ResourceId: str
|
|
950
|
-
:param _ResourceName:
|
|
950
|
+
:param _ResourceName: <p>资源名称</p>
|
|
951
951
|
:type ResourceName: str
|
|
952
|
-
:param _Status:
|
|
952
|
+
:param _Status: <p>资源状态,1表示资源为正常,2表示资源处于隔离状态</p>
|
|
953
953
|
:type Status: int
|
|
954
|
-
:param _Vip:
|
|
954
|
+
:param _Vip: <p>资源IP</p>
|
|
955
955
|
:type Vip: str
|
|
956
|
-
:param _VpcId:
|
|
956
|
+
:param _VpcId: <p>资源所属Vpc</p>
|
|
957
957
|
:type VpcId: str
|
|
958
|
-
:param _SubnetId:
|
|
958
|
+
:param _SubnetId: <p>资源所属子网</p>
|
|
959
959
|
:type SubnetId: str
|
|
960
|
-
:param _Model:
|
|
960
|
+
:param _Model: <p>资源所属HSM的规格</p>
|
|
961
961
|
:type Model: str
|
|
962
|
-
:param _VsmType:
|
|
962
|
+
:param _VsmType: <p>资源类型,17表示EVSM,33表示GVSM,49表示SVSM</p>
|
|
963
963
|
:type VsmType: int
|
|
964
|
-
:param _RegionId:
|
|
964
|
+
:param _RegionId: <p>地域Id,返回腾讯云地域代码,如广州为1,北京为8</p>
|
|
965
965
|
:type RegionId: int
|
|
966
|
-
:param _ZoneId:
|
|
966
|
+
:param _ZoneId: <p>区域Id,返回腾讯云每个地域的可用区代码</p>
|
|
967
967
|
:type ZoneId: int
|
|
968
|
-
:param _ExpireTime:
|
|
968
|
+
:param _ExpireTime: <p>资源过期时间,以时间戳形式展示。</p>
|
|
969
969
|
:type ExpireTime: int
|
|
970
|
-
:param _SgList:
|
|
970
|
+
:param _SgList: <p>安全组详情信息,如果未配置字段返回null</p>
|
|
971
971
|
:type SgList: list of UsgRuleDetail
|
|
972
|
-
:param _SubnetName:
|
|
972
|
+
:param _SubnetName: <p>子网名</p>
|
|
973
973
|
:type SubnetName: str
|
|
974
|
-
:param _RegionName:
|
|
974
|
+
:param _RegionName: <p>地域名</p>
|
|
975
975
|
:type RegionName: str
|
|
976
|
-
:param _ZoneName:
|
|
976
|
+
:param _ZoneName: <p>区域名</p>
|
|
977
977
|
:type ZoneName: str
|
|
978
|
-
:param _Expired:
|
|
978
|
+
:param _Expired: <p>实例是否已经过期</p>
|
|
979
979
|
:type Expired: bool
|
|
980
|
-
:param _RemainSeconds:
|
|
980
|
+
:param _RemainSeconds: <p>为正数表示实例距离过期时间剩余秒数,为负数表示实例已经过期多少秒</p>
|
|
981
981
|
:type RemainSeconds: int
|
|
982
|
-
:param _VpcName:
|
|
982
|
+
:param _VpcName: <p>私有虚拟网络名称</p>
|
|
983
983
|
:type VpcName: str
|
|
984
|
-
:param _VpcCidrBlock: VPC的IPv4 CIDR
|
|
984
|
+
:param _VpcCidrBlock: <p>VPC的IPv4 CIDR</p>
|
|
985
985
|
:type VpcCidrBlock: str
|
|
986
|
-
:param _SubnetCidrBlock:
|
|
986
|
+
:param _SubnetCidrBlock: <p>子网的CIDR</p>
|
|
987
987
|
:type SubnetCidrBlock: str
|
|
988
|
-
:param _Tags:
|
|
988
|
+
:param _Tags: <p>资源所关联的标签Tag</p>
|
|
989
989
|
:type Tags: list of Tag
|
|
990
|
-
:param _RenewFlag:
|
|
990
|
+
:param _RenewFlag: <p>资源续费标识,0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费(用户设置)</p>
|
|
991
991
|
:type RenewFlag: int
|
|
992
|
-
:param _Manufacturer:
|
|
992
|
+
:param _Manufacturer: <p>厂商</p>
|
|
993
993
|
:type Manufacturer: str
|
|
994
|
+
:param _PqcFlag: <p>0-关闭,1-开启</p>
|
|
995
|
+
:type PqcFlag: int
|
|
996
|
+
:param _DeployEnv: <p>环境</p><p>默认值:cloud</p><p>cloud或者cdc</p>
|
|
997
|
+
:type DeployEnv: str
|
|
994
998
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
995
999
|
:type RequestId: str
|
|
996
1000
|
"""
|
|
@@ -1017,11 +1021,13 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1017
1021
|
self._Tags = None
|
|
1018
1022
|
self._RenewFlag = None
|
|
1019
1023
|
self._Manufacturer = None
|
|
1024
|
+
self._PqcFlag = None
|
|
1025
|
+
self._DeployEnv = None
|
|
1020
1026
|
self._RequestId = None
|
|
1021
1027
|
|
|
1022
1028
|
@property
|
|
1023
1029
|
def ResourceId(self):
|
|
1024
|
-
r"""
|
|
1030
|
+
r"""<p>资源Id</p>
|
|
1025
1031
|
:rtype: str
|
|
1026
1032
|
"""
|
|
1027
1033
|
return self._ResourceId
|
|
@@ -1032,7 +1038,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1032
1038
|
|
|
1033
1039
|
@property
|
|
1034
1040
|
def ResourceName(self):
|
|
1035
|
-
r"""
|
|
1041
|
+
r"""<p>资源名称</p>
|
|
1036
1042
|
:rtype: str
|
|
1037
1043
|
"""
|
|
1038
1044
|
return self._ResourceName
|
|
@@ -1043,7 +1049,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1043
1049
|
|
|
1044
1050
|
@property
|
|
1045
1051
|
def Status(self):
|
|
1046
|
-
r"""
|
|
1052
|
+
r"""<p>资源状态,1表示资源为正常,2表示资源处于隔离状态</p>
|
|
1047
1053
|
:rtype: int
|
|
1048
1054
|
"""
|
|
1049
1055
|
return self._Status
|
|
@@ -1054,7 +1060,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1054
1060
|
|
|
1055
1061
|
@property
|
|
1056
1062
|
def Vip(self):
|
|
1057
|
-
r"""
|
|
1063
|
+
r"""<p>资源IP</p>
|
|
1058
1064
|
:rtype: str
|
|
1059
1065
|
"""
|
|
1060
1066
|
return self._Vip
|
|
@@ -1065,7 +1071,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1065
1071
|
|
|
1066
1072
|
@property
|
|
1067
1073
|
def VpcId(self):
|
|
1068
|
-
r"""
|
|
1074
|
+
r"""<p>资源所属Vpc</p>
|
|
1069
1075
|
:rtype: str
|
|
1070
1076
|
"""
|
|
1071
1077
|
return self._VpcId
|
|
@@ -1076,7 +1082,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1076
1082
|
|
|
1077
1083
|
@property
|
|
1078
1084
|
def SubnetId(self):
|
|
1079
|
-
r"""
|
|
1085
|
+
r"""<p>资源所属子网</p>
|
|
1080
1086
|
:rtype: str
|
|
1081
1087
|
"""
|
|
1082
1088
|
return self._SubnetId
|
|
@@ -1087,7 +1093,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1087
1093
|
|
|
1088
1094
|
@property
|
|
1089
1095
|
def Model(self):
|
|
1090
|
-
r"""
|
|
1096
|
+
r"""<p>资源所属HSM的规格</p>
|
|
1091
1097
|
:rtype: str
|
|
1092
1098
|
"""
|
|
1093
1099
|
return self._Model
|
|
@@ -1098,7 +1104,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1098
1104
|
|
|
1099
1105
|
@property
|
|
1100
1106
|
def VsmType(self):
|
|
1101
|
-
r"""
|
|
1107
|
+
r"""<p>资源类型,17表示EVSM,33表示GVSM,49表示SVSM</p>
|
|
1102
1108
|
:rtype: int
|
|
1103
1109
|
"""
|
|
1104
1110
|
return self._VsmType
|
|
@@ -1109,7 +1115,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1109
1115
|
|
|
1110
1116
|
@property
|
|
1111
1117
|
def RegionId(self):
|
|
1112
|
-
r"""
|
|
1118
|
+
r"""<p>地域Id,返回腾讯云地域代码,如广州为1,北京为8</p>
|
|
1113
1119
|
:rtype: int
|
|
1114
1120
|
"""
|
|
1115
1121
|
return self._RegionId
|
|
@@ -1120,7 +1126,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1120
1126
|
|
|
1121
1127
|
@property
|
|
1122
1128
|
def ZoneId(self):
|
|
1123
|
-
r"""
|
|
1129
|
+
r"""<p>区域Id,返回腾讯云每个地域的可用区代码</p>
|
|
1124
1130
|
:rtype: int
|
|
1125
1131
|
"""
|
|
1126
1132
|
return self._ZoneId
|
|
@@ -1131,7 +1137,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1131
1137
|
|
|
1132
1138
|
@property
|
|
1133
1139
|
def ExpireTime(self):
|
|
1134
|
-
r"""
|
|
1140
|
+
r"""<p>资源过期时间,以时间戳形式展示。</p>
|
|
1135
1141
|
:rtype: int
|
|
1136
1142
|
"""
|
|
1137
1143
|
return self._ExpireTime
|
|
@@ -1142,7 +1148,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1142
1148
|
|
|
1143
1149
|
@property
|
|
1144
1150
|
def SgList(self):
|
|
1145
|
-
r"""
|
|
1151
|
+
r"""<p>安全组详情信息,如果未配置字段返回null</p>
|
|
1146
1152
|
:rtype: list of UsgRuleDetail
|
|
1147
1153
|
"""
|
|
1148
1154
|
return self._SgList
|
|
@@ -1153,7 +1159,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1153
1159
|
|
|
1154
1160
|
@property
|
|
1155
1161
|
def SubnetName(self):
|
|
1156
|
-
r"""
|
|
1162
|
+
r"""<p>子网名</p>
|
|
1157
1163
|
:rtype: str
|
|
1158
1164
|
"""
|
|
1159
1165
|
return self._SubnetName
|
|
@@ -1164,7 +1170,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1164
1170
|
|
|
1165
1171
|
@property
|
|
1166
1172
|
def RegionName(self):
|
|
1167
|
-
r"""
|
|
1173
|
+
r"""<p>地域名</p>
|
|
1168
1174
|
:rtype: str
|
|
1169
1175
|
"""
|
|
1170
1176
|
return self._RegionName
|
|
@@ -1175,7 +1181,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1175
1181
|
|
|
1176
1182
|
@property
|
|
1177
1183
|
def ZoneName(self):
|
|
1178
|
-
r"""
|
|
1184
|
+
r"""<p>区域名</p>
|
|
1179
1185
|
:rtype: str
|
|
1180
1186
|
"""
|
|
1181
1187
|
return self._ZoneName
|
|
@@ -1186,7 +1192,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1186
1192
|
|
|
1187
1193
|
@property
|
|
1188
1194
|
def Expired(self):
|
|
1189
|
-
r"""
|
|
1195
|
+
r"""<p>实例是否已经过期</p>
|
|
1190
1196
|
:rtype: bool
|
|
1191
1197
|
"""
|
|
1192
1198
|
return self._Expired
|
|
@@ -1197,7 +1203,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1197
1203
|
|
|
1198
1204
|
@property
|
|
1199
1205
|
def RemainSeconds(self):
|
|
1200
|
-
r"""
|
|
1206
|
+
r"""<p>为正数表示实例距离过期时间剩余秒数,为负数表示实例已经过期多少秒</p>
|
|
1201
1207
|
:rtype: int
|
|
1202
1208
|
"""
|
|
1203
1209
|
return self._RemainSeconds
|
|
@@ -1208,7 +1214,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1208
1214
|
|
|
1209
1215
|
@property
|
|
1210
1216
|
def VpcName(self):
|
|
1211
|
-
r"""
|
|
1217
|
+
r"""<p>私有虚拟网络名称</p>
|
|
1212
1218
|
:rtype: str
|
|
1213
1219
|
"""
|
|
1214
1220
|
return self._VpcName
|
|
@@ -1219,7 +1225,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1219
1225
|
|
|
1220
1226
|
@property
|
|
1221
1227
|
def VpcCidrBlock(self):
|
|
1222
|
-
r"""VPC的IPv4 CIDR
|
|
1228
|
+
r"""<p>VPC的IPv4 CIDR</p>
|
|
1223
1229
|
:rtype: str
|
|
1224
1230
|
"""
|
|
1225
1231
|
return self._VpcCidrBlock
|
|
@@ -1230,7 +1236,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1230
1236
|
|
|
1231
1237
|
@property
|
|
1232
1238
|
def SubnetCidrBlock(self):
|
|
1233
|
-
r"""
|
|
1239
|
+
r"""<p>子网的CIDR</p>
|
|
1234
1240
|
:rtype: str
|
|
1235
1241
|
"""
|
|
1236
1242
|
return self._SubnetCidrBlock
|
|
@@ -1241,7 +1247,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1241
1247
|
|
|
1242
1248
|
@property
|
|
1243
1249
|
def Tags(self):
|
|
1244
|
-
r"""
|
|
1250
|
+
r"""<p>资源所关联的标签Tag</p>
|
|
1245
1251
|
:rtype: list of Tag
|
|
1246
1252
|
"""
|
|
1247
1253
|
return self._Tags
|
|
@@ -1252,7 +1258,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1252
1258
|
|
|
1253
1259
|
@property
|
|
1254
1260
|
def RenewFlag(self):
|
|
1255
|
-
r"""
|
|
1261
|
+
r"""<p>资源续费标识,0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费(用户设置)</p>
|
|
1256
1262
|
:rtype: int
|
|
1257
1263
|
"""
|
|
1258
1264
|
return self._RenewFlag
|
|
@@ -1263,7 +1269,7 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1263
1269
|
|
|
1264
1270
|
@property
|
|
1265
1271
|
def Manufacturer(self):
|
|
1266
|
-
r"""
|
|
1272
|
+
r"""<p>厂商</p>
|
|
1267
1273
|
:rtype: str
|
|
1268
1274
|
"""
|
|
1269
1275
|
return self._Manufacturer
|
|
@@ -1272,6 +1278,28 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1272
1278
|
def Manufacturer(self, Manufacturer):
|
|
1273
1279
|
self._Manufacturer = Manufacturer
|
|
1274
1280
|
|
|
1281
|
+
@property
|
|
1282
|
+
def PqcFlag(self):
|
|
1283
|
+
r"""<p>0-关闭,1-开启</p>
|
|
1284
|
+
:rtype: int
|
|
1285
|
+
"""
|
|
1286
|
+
return self._PqcFlag
|
|
1287
|
+
|
|
1288
|
+
@PqcFlag.setter
|
|
1289
|
+
def PqcFlag(self, PqcFlag):
|
|
1290
|
+
self._PqcFlag = PqcFlag
|
|
1291
|
+
|
|
1292
|
+
@property
|
|
1293
|
+
def DeployEnv(self):
|
|
1294
|
+
r"""<p>环境</p><p>默认值:cloud</p><p>cloud或者cdc</p>
|
|
1295
|
+
:rtype: str
|
|
1296
|
+
"""
|
|
1297
|
+
return self._DeployEnv
|
|
1298
|
+
|
|
1299
|
+
@DeployEnv.setter
|
|
1300
|
+
def DeployEnv(self, DeployEnv):
|
|
1301
|
+
self._DeployEnv = DeployEnv
|
|
1302
|
+
|
|
1275
1303
|
@property
|
|
1276
1304
|
def RequestId(self):
|
|
1277
1305
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1318,6 +1346,8 @@ class DescribeVsmAttributesResponse(AbstractModel):
|
|
|
1318
1346
|
self._Tags.append(obj)
|
|
1319
1347
|
self._RenewFlag = params.get("RenewFlag")
|
|
1320
1348
|
self._Manufacturer = params.get("Manufacturer")
|
|
1349
|
+
self._PqcFlag = params.get("PqcFlag")
|
|
1350
|
+
self._DeployEnv = params.get("DeployEnv")
|
|
1321
1351
|
self._RequestId = params.get("RequestId")
|
|
1322
1352
|
|
|
1323
1353
|
|
|
@@ -2295,52 +2325,58 @@ class ResourceInfo(AbstractModel):
|
|
|
2295
2325
|
|
|
2296
2326
|
def __init__(self):
|
|
2297
2327
|
r"""
|
|
2298
|
-
:param _ResourceId:
|
|
2328
|
+
:param _ResourceId: <p>资源Id</p>
|
|
2299
2329
|
:type ResourceId: str
|
|
2300
|
-
:param _ResourceName:
|
|
2330
|
+
:param _ResourceName: <p>资源名称</p>
|
|
2301
2331
|
:type ResourceName: str
|
|
2302
|
-
:param _Status:
|
|
2332
|
+
:param _Status: <p>资源状态,1-正常,2-隔离,3-销毁</p>
|
|
2303
2333
|
:type Status: int
|
|
2304
|
-
:param _Vip:
|
|
2334
|
+
:param _Vip: <p>资源IP</p>
|
|
2305
2335
|
:type Vip: str
|
|
2306
|
-
:param _VpcId:
|
|
2336
|
+
:param _VpcId: <p>资源所属Vpc</p>
|
|
2307
2337
|
:type VpcId: str
|
|
2308
|
-
:param _SubnetId:
|
|
2338
|
+
:param _SubnetId: <p>资源所属子网</p>
|
|
2309
2339
|
:type SubnetId: str
|
|
2310
|
-
:param _Model:
|
|
2340
|
+
:param _Model: <p>资源所属HSM规格</p>
|
|
2311
2341
|
:type Model: str
|
|
2312
|
-
:param _VsmType:
|
|
2342
|
+
:param _VsmType: <p>云加密机类型id</p>
|
|
2313
2343
|
:type VsmType: int
|
|
2314
|
-
:param _RegionId:
|
|
2344
|
+
:param _RegionId: <p>地域Id</p>
|
|
2315
2345
|
:type RegionId: int
|
|
2316
|
-
:param _ZoneId:
|
|
2346
|
+
:param _ZoneId: <p>区域Id</p>
|
|
2317
2347
|
:type ZoneId: int
|
|
2318
|
-
:param _ExpireTime:
|
|
2348
|
+
:param _ExpireTime: <p>过期时间(Epoch Unix Timestamp)</p>
|
|
2319
2349
|
:type ExpireTime: int
|
|
2320
|
-
:param _RegionName:
|
|
2350
|
+
:param _RegionName: <p>地域名</p>
|
|
2321
2351
|
:type RegionName: str
|
|
2322
|
-
:param _ZoneName:
|
|
2352
|
+
:param _ZoneName: <p>区域名</p>
|
|
2323
2353
|
:type ZoneName: str
|
|
2324
|
-
:param _SgList:
|
|
2354
|
+
:param _SgList: <p>实例的安全组列表</p>
|
|
2325
2355
|
:type SgList: list of SgUnit
|
|
2326
|
-
:param _SubnetName:
|
|
2356
|
+
:param _SubnetName: <p>子网名称</p>
|
|
2327
2357
|
:type SubnetName: str
|
|
2328
|
-
:param _Expired:
|
|
2358
|
+
:param _Expired: <p>当前实例是否已经过期</p>
|
|
2329
2359
|
:type Expired: bool
|
|
2330
|
-
:param _RemainSeconds:
|
|
2360
|
+
:param _RemainSeconds: <p>为正数表示实例距离过期时间还剩余多少秒,为负数表示已经过期多少秒</p>
|
|
2331
2361
|
:type RemainSeconds: int
|
|
2332
|
-
:param _VpcName: Vpc
|
|
2362
|
+
:param _VpcName: <p>Vpc名称</p>
|
|
2333
2363
|
:type VpcName: str
|
|
2334
|
-
:param _CreateUin:
|
|
2364
|
+
:param _CreateUin: <p>创建者Uin账号</p>
|
|
2335
2365
|
:type CreateUin: str
|
|
2336
|
-
:param _RenewFlag:
|
|
2366
|
+
:param _RenewFlag: <p>自动续费状态标识, 0-手动续费,1-自动续费,2-到期不续</p>
|
|
2337
2367
|
:type RenewFlag: int
|
|
2338
|
-
:param _Tags:
|
|
2368
|
+
:param _Tags: <p>标签列表</p>
|
|
2339
2369
|
:type Tags: list of Tag
|
|
2340
|
-
:param _Manufacturer:
|
|
2370
|
+
:param _Manufacturer: <p>厂商</p>
|
|
2341
2371
|
:type Manufacturer: str
|
|
2342
|
-
:param _AlarmStatus:
|
|
2372
|
+
:param _AlarmStatus: <p>告警状态,0:停用,1:启用</p>
|
|
2343
2373
|
:type AlarmStatus: int
|
|
2374
|
+
:param _PqcStatus: <p>0不支持<br>1关闭<br>2开启</p>
|
|
2375
|
+
:type PqcStatus: int
|
|
2376
|
+
:param _PqcFlag: <p>0关闭,1开启</p>
|
|
2377
|
+
:type PqcFlag: int
|
|
2378
|
+
:param _DeployEnv: <p>环境</p><p>默认值:cloud</p><p>cloud或者cdc</p>
|
|
2379
|
+
:type DeployEnv: str
|
|
2344
2380
|
"""
|
|
2345
2381
|
self._ResourceId = None
|
|
2346
2382
|
self._ResourceName = None
|
|
@@ -2365,10 +2401,13 @@ class ResourceInfo(AbstractModel):
|
|
|
2365
2401
|
self._Tags = None
|
|
2366
2402
|
self._Manufacturer = None
|
|
2367
2403
|
self._AlarmStatus = None
|
|
2404
|
+
self._PqcStatus = None
|
|
2405
|
+
self._PqcFlag = None
|
|
2406
|
+
self._DeployEnv = None
|
|
2368
2407
|
|
|
2369
2408
|
@property
|
|
2370
2409
|
def ResourceId(self):
|
|
2371
|
-
r"""
|
|
2410
|
+
r"""<p>资源Id</p>
|
|
2372
2411
|
:rtype: str
|
|
2373
2412
|
"""
|
|
2374
2413
|
return self._ResourceId
|
|
@@ -2379,7 +2418,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2379
2418
|
|
|
2380
2419
|
@property
|
|
2381
2420
|
def ResourceName(self):
|
|
2382
|
-
r"""
|
|
2421
|
+
r"""<p>资源名称</p>
|
|
2383
2422
|
:rtype: str
|
|
2384
2423
|
"""
|
|
2385
2424
|
return self._ResourceName
|
|
@@ -2390,7 +2429,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2390
2429
|
|
|
2391
2430
|
@property
|
|
2392
2431
|
def Status(self):
|
|
2393
|
-
r"""
|
|
2432
|
+
r"""<p>资源状态,1-正常,2-隔离,3-销毁</p>
|
|
2394
2433
|
:rtype: int
|
|
2395
2434
|
"""
|
|
2396
2435
|
return self._Status
|
|
@@ -2401,7 +2440,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2401
2440
|
|
|
2402
2441
|
@property
|
|
2403
2442
|
def Vip(self):
|
|
2404
|
-
r"""
|
|
2443
|
+
r"""<p>资源IP</p>
|
|
2405
2444
|
:rtype: str
|
|
2406
2445
|
"""
|
|
2407
2446
|
return self._Vip
|
|
@@ -2412,7 +2451,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2412
2451
|
|
|
2413
2452
|
@property
|
|
2414
2453
|
def VpcId(self):
|
|
2415
|
-
r"""
|
|
2454
|
+
r"""<p>资源所属Vpc</p>
|
|
2416
2455
|
:rtype: str
|
|
2417
2456
|
"""
|
|
2418
2457
|
return self._VpcId
|
|
@@ -2423,7 +2462,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2423
2462
|
|
|
2424
2463
|
@property
|
|
2425
2464
|
def SubnetId(self):
|
|
2426
|
-
r"""
|
|
2465
|
+
r"""<p>资源所属子网</p>
|
|
2427
2466
|
:rtype: str
|
|
2428
2467
|
"""
|
|
2429
2468
|
return self._SubnetId
|
|
@@ -2434,7 +2473,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2434
2473
|
|
|
2435
2474
|
@property
|
|
2436
2475
|
def Model(self):
|
|
2437
|
-
r"""
|
|
2476
|
+
r"""<p>资源所属HSM规格</p>
|
|
2438
2477
|
:rtype: str
|
|
2439
2478
|
"""
|
|
2440
2479
|
return self._Model
|
|
@@ -2445,7 +2484,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2445
2484
|
|
|
2446
2485
|
@property
|
|
2447
2486
|
def VsmType(self):
|
|
2448
|
-
r"""
|
|
2487
|
+
r"""<p>云加密机类型id</p>
|
|
2449
2488
|
:rtype: int
|
|
2450
2489
|
"""
|
|
2451
2490
|
return self._VsmType
|
|
@@ -2456,7 +2495,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2456
2495
|
|
|
2457
2496
|
@property
|
|
2458
2497
|
def RegionId(self):
|
|
2459
|
-
r"""
|
|
2498
|
+
r"""<p>地域Id</p>
|
|
2460
2499
|
:rtype: int
|
|
2461
2500
|
"""
|
|
2462
2501
|
return self._RegionId
|
|
@@ -2467,7 +2506,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2467
2506
|
|
|
2468
2507
|
@property
|
|
2469
2508
|
def ZoneId(self):
|
|
2470
|
-
r"""
|
|
2509
|
+
r"""<p>区域Id</p>
|
|
2471
2510
|
:rtype: int
|
|
2472
2511
|
"""
|
|
2473
2512
|
return self._ZoneId
|
|
@@ -2478,7 +2517,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2478
2517
|
|
|
2479
2518
|
@property
|
|
2480
2519
|
def ExpireTime(self):
|
|
2481
|
-
r"""
|
|
2520
|
+
r"""<p>过期时间(Epoch Unix Timestamp)</p>
|
|
2482
2521
|
:rtype: int
|
|
2483
2522
|
"""
|
|
2484
2523
|
return self._ExpireTime
|
|
@@ -2489,7 +2528,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2489
2528
|
|
|
2490
2529
|
@property
|
|
2491
2530
|
def RegionName(self):
|
|
2492
|
-
r"""
|
|
2531
|
+
r"""<p>地域名</p>
|
|
2493
2532
|
:rtype: str
|
|
2494
2533
|
"""
|
|
2495
2534
|
return self._RegionName
|
|
@@ -2500,7 +2539,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2500
2539
|
|
|
2501
2540
|
@property
|
|
2502
2541
|
def ZoneName(self):
|
|
2503
|
-
r"""
|
|
2542
|
+
r"""<p>区域名</p>
|
|
2504
2543
|
:rtype: str
|
|
2505
2544
|
"""
|
|
2506
2545
|
return self._ZoneName
|
|
@@ -2511,7 +2550,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2511
2550
|
|
|
2512
2551
|
@property
|
|
2513
2552
|
def SgList(self):
|
|
2514
|
-
r"""
|
|
2553
|
+
r"""<p>实例的安全组列表</p>
|
|
2515
2554
|
:rtype: list of SgUnit
|
|
2516
2555
|
"""
|
|
2517
2556
|
return self._SgList
|
|
@@ -2522,7 +2561,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2522
2561
|
|
|
2523
2562
|
@property
|
|
2524
2563
|
def SubnetName(self):
|
|
2525
|
-
r"""
|
|
2564
|
+
r"""<p>子网名称</p>
|
|
2526
2565
|
:rtype: str
|
|
2527
2566
|
"""
|
|
2528
2567
|
return self._SubnetName
|
|
@@ -2533,7 +2572,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2533
2572
|
|
|
2534
2573
|
@property
|
|
2535
2574
|
def Expired(self):
|
|
2536
|
-
r"""
|
|
2575
|
+
r"""<p>当前实例是否已经过期</p>
|
|
2537
2576
|
:rtype: bool
|
|
2538
2577
|
"""
|
|
2539
2578
|
return self._Expired
|
|
@@ -2544,7 +2583,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2544
2583
|
|
|
2545
2584
|
@property
|
|
2546
2585
|
def RemainSeconds(self):
|
|
2547
|
-
r"""
|
|
2586
|
+
r"""<p>为正数表示实例距离过期时间还剩余多少秒,为负数表示已经过期多少秒</p>
|
|
2548
2587
|
:rtype: int
|
|
2549
2588
|
"""
|
|
2550
2589
|
return self._RemainSeconds
|
|
@@ -2555,7 +2594,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2555
2594
|
|
|
2556
2595
|
@property
|
|
2557
2596
|
def VpcName(self):
|
|
2558
|
-
r"""Vpc
|
|
2597
|
+
r"""<p>Vpc名称</p>
|
|
2559
2598
|
:rtype: str
|
|
2560
2599
|
"""
|
|
2561
2600
|
return self._VpcName
|
|
@@ -2566,7 +2605,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2566
2605
|
|
|
2567
2606
|
@property
|
|
2568
2607
|
def CreateUin(self):
|
|
2569
|
-
r"""
|
|
2608
|
+
r"""<p>创建者Uin账号</p>
|
|
2570
2609
|
:rtype: str
|
|
2571
2610
|
"""
|
|
2572
2611
|
return self._CreateUin
|
|
@@ -2577,7 +2616,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2577
2616
|
|
|
2578
2617
|
@property
|
|
2579
2618
|
def RenewFlag(self):
|
|
2580
|
-
r"""
|
|
2619
|
+
r"""<p>自动续费状态标识, 0-手动续费,1-自动续费,2-到期不续</p>
|
|
2581
2620
|
:rtype: int
|
|
2582
2621
|
"""
|
|
2583
2622
|
return self._RenewFlag
|
|
@@ -2588,7 +2627,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2588
2627
|
|
|
2589
2628
|
@property
|
|
2590
2629
|
def Tags(self):
|
|
2591
|
-
r"""
|
|
2630
|
+
r"""<p>标签列表</p>
|
|
2592
2631
|
:rtype: list of Tag
|
|
2593
2632
|
"""
|
|
2594
2633
|
return self._Tags
|
|
@@ -2599,7 +2638,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2599
2638
|
|
|
2600
2639
|
@property
|
|
2601
2640
|
def Manufacturer(self):
|
|
2602
|
-
r"""
|
|
2641
|
+
r"""<p>厂商</p>
|
|
2603
2642
|
:rtype: str
|
|
2604
2643
|
"""
|
|
2605
2644
|
return self._Manufacturer
|
|
@@ -2610,7 +2649,7 @@ class ResourceInfo(AbstractModel):
|
|
|
2610
2649
|
|
|
2611
2650
|
@property
|
|
2612
2651
|
def AlarmStatus(self):
|
|
2613
|
-
r"""
|
|
2652
|
+
r"""<p>告警状态,0:停用,1:启用</p>
|
|
2614
2653
|
:rtype: int
|
|
2615
2654
|
"""
|
|
2616
2655
|
return self._AlarmStatus
|
|
@@ -2619,6 +2658,39 @@ class ResourceInfo(AbstractModel):
|
|
|
2619
2658
|
def AlarmStatus(self, AlarmStatus):
|
|
2620
2659
|
self._AlarmStatus = AlarmStatus
|
|
2621
2660
|
|
|
2661
|
+
@property
|
|
2662
|
+
def PqcStatus(self):
|
|
2663
|
+
r"""<p>0不支持<br>1关闭<br>2开启</p>
|
|
2664
|
+
:rtype: int
|
|
2665
|
+
"""
|
|
2666
|
+
return self._PqcStatus
|
|
2667
|
+
|
|
2668
|
+
@PqcStatus.setter
|
|
2669
|
+
def PqcStatus(self, PqcStatus):
|
|
2670
|
+
self._PqcStatus = PqcStatus
|
|
2671
|
+
|
|
2672
|
+
@property
|
|
2673
|
+
def PqcFlag(self):
|
|
2674
|
+
r"""<p>0关闭,1开启</p>
|
|
2675
|
+
:rtype: int
|
|
2676
|
+
"""
|
|
2677
|
+
return self._PqcFlag
|
|
2678
|
+
|
|
2679
|
+
@PqcFlag.setter
|
|
2680
|
+
def PqcFlag(self, PqcFlag):
|
|
2681
|
+
self._PqcFlag = PqcFlag
|
|
2682
|
+
|
|
2683
|
+
@property
|
|
2684
|
+
def DeployEnv(self):
|
|
2685
|
+
r"""<p>环境</p><p>默认值:cloud</p><p>cloud或者cdc</p>
|
|
2686
|
+
:rtype: str
|
|
2687
|
+
"""
|
|
2688
|
+
return self._DeployEnv
|
|
2689
|
+
|
|
2690
|
+
@DeployEnv.setter
|
|
2691
|
+
def DeployEnv(self, DeployEnv):
|
|
2692
|
+
self._DeployEnv = DeployEnv
|
|
2693
|
+
|
|
2622
2694
|
|
|
2623
2695
|
def _deserialize(self, params):
|
|
2624
2696
|
self._ResourceId = params.get("ResourceId")
|
|
@@ -2654,6 +2726,9 @@ class ResourceInfo(AbstractModel):
|
|
|
2654
2726
|
self._Tags.append(obj)
|
|
2655
2727
|
self._Manufacturer = params.get("Manufacturer")
|
|
2656
2728
|
self._AlarmStatus = params.get("AlarmStatus")
|
|
2729
|
+
self._PqcStatus = params.get("PqcStatus")
|
|
2730
|
+
self._PqcFlag = params.get("PqcFlag")
|
|
2731
|
+
self._DeployEnv = params.get("DeployEnv")
|
|
2657
2732
|
memeber_set = set(params.keys())
|
|
2658
2733
|
for name, value in vars(self).items():
|
|
2659
2734
|
property_name = name[1:]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-cloudhsm
|
|
3
|
+
Version: 3.1.102
|
|
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.102
|
|
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
|
tencentcloud_sdk_python_cloudhsm-3.1.102/tencentcloud_sdk_python_cloudhsm.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.102
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-cloudhsm
|
|
3
|
-
Version: 3.0.1477
|
|
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.1477/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.1477
|
|
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.1477/tencentcloud_sdk_python_cloudhsm.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1477
|
{tencentcloud-sdk-python-cloudhsm-3.0.1477 → tencentcloud_sdk_python_cloudhsm-3.1.102}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-cloudhsm-3.0.1477 → tencentcloud_sdk_python_cloudhsm-3.1.102}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|