tencentcloud-sdk-python-cloudapp 3.0.1459__tar.gz → 3.0.1475__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.
Files changed (17) hide show
  1. {tencentcloud-sdk-python-cloudapp-3.0.1459 → tencentcloud-sdk-python-cloudapp-3.0.1475}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-cloudapp-3.0.1459 → tencentcloud-sdk-python-cloudapp-3.0.1475}/setup.py +1 -1
  3. {tencentcloud-sdk-python-cloudapp-3.0.1459 → tencentcloud-sdk-python-cloudapp-3.0.1475}/tencentcloud/__init__.py +1 -1
  4. tencentcloud-sdk-python-cloudapp-3.0.1475/tencentcloud/cloudapp/v20220530/cloudapp_client.py +185 -0
  5. {tencentcloud-sdk-python-cloudapp-3.0.1459 → tencentcloud-sdk-python-cloudapp-3.0.1475}/tencentcloud/cloudapp/v20220530/models.py +213 -0
  6. {tencentcloud-sdk-python-cloudapp-3.0.1459 → tencentcloud-sdk-python-cloudapp-3.0.1475}/tencentcloud_sdk_python_cloudapp.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-cloudapp-3.0.1475/tencentcloud_sdk_python_cloudapp.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-cloudapp-3.0.1459/tencentcloud/cloudapp/v20220530/cloudapp_client.py +0 -49
  9. tencentcloud-sdk-python-cloudapp-3.0.1459/tencentcloud_sdk_python_cloudapp.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-cloudapp-3.0.1459 → tencentcloud-sdk-python-cloudapp-3.0.1475}/README.rst +0 -0
  11. {tencentcloud-sdk-python-cloudapp-3.0.1459 → tencentcloud-sdk-python-cloudapp-3.0.1475}/setup.cfg +0 -0
  12. {tencentcloud-sdk-python-cloudapp-3.0.1459 → tencentcloud-sdk-python-cloudapp-3.0.1475}/tencentcloud/cloudapp/__init__.py +0 -0
  13. {tencentcloud-sdk-python-cloudapp-3.0.1459 → tencentcloud-sdk-python-cloudapp-3.0.1475}/tencentcloud/cloudapp/v20220530/__init__.py +0 -0
  14. {tencentcloud-sdk-python-cloudapp-3.0.1459 → tencentcloud-sdk-python-cloudapp-3.0.1475}/tencentcloud/cloudapp/v20220530/errorcodes.py +0 -0
  15. {tencentcloud-sdk-python-cloudapp-3.0.1459 → tencentcloud-sdk-python-cloudapp-3.0.1475}/tencentcloud_sdk_python_cloudapp.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud-sdk-python-cloudapp-3.0.1459 → tencentcloud-sdk-python-cloudapp-3.0.1475}/tencentcloud_sdk_python_cloudapp.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud-sdk-python-cloudapp-3.0.1459 → tencentcloud-sdk-python-cloudapp-3.0.1475}/tencentcloud_sdk_python_cloudapp.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-cloudapp
3
- Version: 3.0.1459
3
+ Version: 3.0.1475
4
4
  Summary: Tencent Cloud Cloudapp SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-cloudapp',
11
- install_requires=["tencentcloud-sdk-python-common>=3.0.1459,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1475,<4.0.0"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Cloudapp SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1459'
17
+ __version__ = '3.0.1475'
@@ -0,0 +1,185 @@
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
+ import json
17
+
18
+ from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
19
+ from tencentcloud.common.abstract_client import AbstractClient
20
+ from tencentcloud.cloudapp.v20220530 import models
21
+
22
+
23
+ class CloudappClient(AbstractClient):
24
+ _apiVersion = '2022-05-30'
25
+ _endpoint = 'cloudapp.tencentcloudapi.com'
26
+ _service = 'cloudapp'
27
+
28
+
29
+ def DescribeLicense(self, request):
30
+ r"""# DescribeLicense
31
+
32
+ 客户根据请求的参数获取当前名下的许可证信息
33
+
34
+ ```json
35
+ {
36
+ "Filters": [
37
+ {
38
+ "Name": "QueryType",
39
+ "Values": ["IncludeAddition"]
40
+ }
41
+ ]
42
+ }
43
+ ```
44
+
45
+ 返回的内容结构如下:
46
+
47
+ - Response.RequestId 为当前请求的唯一 id
48
+ - Response.Token 为 license 信息 jwt 加密后的 token 串
49
+
50
+ ```json
51
+ {
52
+ "Response": {
53
+ "RequestId": "cd15813b-adff-460e-b9fc-64579e96412d",
54
+ "Token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjkzMjQ4MTc5ODAsImlhdCI6MTc1NjE3Nzk4MCwiaXNzIjoibGljZW5zZS1zZXJ2aWNlIiwicGF5bG9hZCI6eyJNYWluTGljZW5zZSI6eyJMaWNlbnNlTW9kZSI6IlN1YnNjcmlwdGlvbiIsIkJpbGxpbmdNb2RlIjoxLCJDcmVhdGVTb3VyY2UiOiJTTjE3MTk0MDc1NDc0SEJETSIsIkF1dGhvcml6ZWRDbG91ZGFwcFJvbGVJZCI6IjcwMDAwMTgzMzgwNiIsIkF1dGhvcml6ZWRDbG91ZGFwcElkIjoiY2xvdWRhcHAtc2V3ZWM2cHMiLCJBdXRob3JpemVkVXNlclVpbiI6IjcwMDAwMDkxODE1NiIsIkxpZmVTcGFuVW5pdCI6IlkiLCJMaWZlU3BhbiI6MzY1LCJTb2Z0d2FyZVBhY2thZ2VJZCI6InBrZy0xZ2xlaG9tNyIsIlNvZnR3YXJlUGFja2FnZVZlcnNpb24iOiIwLjAuMSIsIkF1dGhvcml6ZWRTcGVjaWZpY2F0aW9uIjpbeyJQYXJhbUtleSI6InZlcnNpb24iLCJQYXJhbUtleU5hbWUiOiLniYjmnKwiLCJQYXJhbVZhbHVlIjoiYmFzaWMiLCJQYXJhbVZhbHVlTmFtZSI6IuWfuuehgOeJiCJ9LHsiUGFyYW1LZXkiOiJzaXplIiwiUGFyYW1LZXlOYW1lIjoi6KeE5qC8IiwiUGFyYW1WYWx1ZSI6IjEwMCIsIlBhcmFtVmFsdWVOYW1lIjoiMTAw5Lq66KeE5qihIn1dLCJQcm92aWRlcklkIjoxMDAwMDAwNzEsIlByb3ZpZGVyVWluIjoiNzAwMDAwOTE4MTU2IiwiSXNzdWVEYXRlIjoiMjAyNC0wNi0yNlQyMToxMjozMiswODowMCIsIkFjdGl2YXRpb25EYXRlIjoiMjAyNC0wNi0yNlQyMToxMjozNSswODowMCIsIkV4cGlyYXRpb25EYXRlIjoiMjM4OS0wNi0yNlQyMToxMjozNSswODowMCIsIkxpY2Vuc2VTdGF0dXMiOiJBY3RpdmUiLCJMaWNlbnNlSWQiOiI3MDAwMDA5MTgxNTY6cGtnLTFnbGVob203OmNsb3VkYXBwLXNld2VjNnBzOjgwMDciLCJMaWNlbnNlVHlwZSI6IlN0YW5kYXJkIiwiTGljZW5zZUxldmVsIjoiTWFzdGVyIn0sIkFkZGl0aW9uTGljZW5zZXMiOltdLCJUaW1lc3RhbXAiOiIyMDI1LTA4LTI2VDExOjEzOjAwKzA4OjAwIn19.G8Lx49xZBW0Rh3lRA15XzZ-PzLJj0bAxwnklx0pTjrHWxqxQdETAdGfU_QaGI_WZfYh2IVbFcwHnRLiRj6pQb4guCMpCbcsgL28BRS4g1wnaFhjcyEQLLtpDdz4_lPnOR2VHHvnfwhLZtccAgsRpeedPMBK1hwO9D3WKisQg2LcIr0V-QB8gmgIqqyqrLW6z37QpjgB4ZyJ5bIC1J-0-VmghskA04xnQRPdGJtlyBhjzVjeDxBq5JOqm3Am0Nqu1jyTd3MuYgSRwJqkDyjVBOGFGGy6mZCIYnxU_ET6-0ZEendqYwXDkpYG4rZZv5YmRCXiSESYz0zx4czwmFWkw-TjRSvUQBxBfsoDcAgyzpY7zBOTnbrr7DyoMvVnnHo7vb0if8_vkub6o0MuRnvdDYxNJtnTtlIScCadWAIvWUQ1DlUw2kzS-h9Ju2h7JhKw9cUeutu0X_6V4arZu9JlgWT9Ns7BtS9Y5JxgQOd36Aan39Rwohy_BrVwjOkbvDuTFLc_yNUlNdq5T2GNbDjABCmi73CGhCuWyPgtRs4ftpPugDRrTe4E95F224jdhf7I0He-nY4i1MoVjz8Zzm4v0vH67cMfcu0XVhs7ywvmu5tBSwm0uuhAXFFIbSrgEzuadxNhSi6qVCFNLnjiPYplK1M9mxG8Hc-fU-0A0TPepx8Q"
55
+ }
56
+ }
57
+ ```
58
+
59
+ 验签过程:
60
+ 对 Response.Token 内容使用公钥进行解码转换得到许可结构体信息,返回的内容结构如下,其中 paylod 中的信息为许可证信息结构:
61
+
62
+ ```json
63
+ {
64
+ "exp": 9324758169,
65
+ "iat": 1756118169,
66
+ "iss": "license-service",
67
+ "payload": {
68
+ "MainLicense": {
69
+ "LicenseMode": "Subscription",
70
+ "BillingMode": 1,
71
+ "CreateSource": "SN1719406931EJJ1E",
72
+ "AuthorizedCloudappRoleId": "700001833621",
73
+ "AuthorizedCloudappId": "cloudapp-992nqg9u",
74
+ "AuthorizedUserUin": "700001833621",
75
+ "LifeSpanUnit": "Y",
76
+ "LifeSpan": 365,
77
+ "SoftwarePackageId": "pkg-1glehom7",
78
+ "SoftwarePackageVersion": "0.0.1",
79
+ "AuthorizedSpecification": [
80
+ {
81
+ "ParamKey": "version",
82
+ "ParamKeyName": "版本",
83
+ "ParamValue": "basic",
84
+ "ParamValueName": "基础版"
85
+ },
86
+ {
87
+ "ParamKey": "size",
88
+ "ParamKeyName": "规格",
89
+ "ParamValue": "100",
90
+ "ParamValueName": "100 人规模"
91
+ }
92
+ ],
93
+ "ProviderId": 100000071,
94
+ "ProviderUin": "700000918156",
95
+ "IssueDate": "2024-06-26T21:02:16+08:00",
96
+ "ActivationDate": "2024-06-26T21:02:19+08:00",
97
+ "ExpirationDate": "2389-06-26T21:02:19+08:00",
98
+ "LicenseStatus": "Active",
99
+ "LicenseId": "700000918156:pkg-1glehom7:cloudapp-992nqg9u:3988",
100
+ "LicenseType": "Standard",
101
+ "LicenseLevel": "Master"
102
+ },
103
+ "AdditionLicenses": [
104
+ {
105
+ "LicenseMode": "Subscription",
106
+ "BillingMode": 1,
107
+ "CreateSource": "SN1719406931EJJ1E",
108
+ "AuthorizedCloudappRoleId": "700001833621",
109
+ "AuthorizedCloudappId": "cloudapp-992nqg9u",
110
+ "AuthorizedUserUin": "700001833621",
111
+ "LifeSpanUnit": "Y",
112
+ "LifeSpan": 365,
113
+ "SoftwarePackageId": "pkg-1glehom7",
114
+ "SoftwarePackageVersion": "0.0.1",
115
+ "AuthorizedSpecification": [
116
+ {
117
+ "ParamKey": "version",
118
+ "ParamKeyName": "版本",
119
+ "ParamValue": "basic",
120
+ "ParamValueName": "基础版"
121
+ },
122
+ {
123
+ "ParamKey": "size",
124
+ "ParamKeyName": "规格",
125
+ "ParamValue": "100",
126
+ "ParamValueName": "100 人规模"
127
+ }
128
+ ],
129
+ "ProviderId": 100000071,
130
+ "ProviderUin": "700000918156",
131
+ "IssueDate": "2024-06-26T21:02:16+08:00",
132
+ "ActivationDate": "2024-06-26T21:02:19+08:00",
133
+ "ExpirationDate": "2389-06-26T21:02:19+08:00",
134
+ "LicenseStatus": "Active",
135
+ "LicenseId": "700000918156:pkg-1glehom7:cloudapp-992nqg9u:3988",
136
+ "LicenseType": "Standard",
137
+ "LicenseLevel": "Master"
138
+ }
139
+ ],
140
+ "Timestamp": "2025-08-25T18:36:09+08:00"
141
+ }
142
+ }
143
+ ```
144
+
145
+ :param request: Request instance for DescribeLicense.
146
+ :type request: :class:`tencentcloud.cloudapp.v20220530.models.DescribeLicenseRequest`
147
+ :rtype: :class:`tencentcloud.cloudapp.v20220530.models.DescribeLicenseResponse`
148
+
149
+ """
150
+ try:
151
+ params = request._serialize()
152
+ headers = request.headers
153
+ body = self.call("DescribeLicense", params, headers=headers)
154
+ response = json.loads(body)
155
+ model = models.DescribeLicenseResponse()
156
+ model._deserialize(response["Response"])
157
+ return model
158
+ except Exception as e:
159
+ if isinstance(e, TencentCloudSDKException):
160
+ raise
161
+ else:
162
+ raise TencentCloudSDKException(type(e).__name__, str(e))
163
+
164
+
165
+ def VerifyLicense(self, request):
166
+ r"""从软件进程读取 LICENSE。
167
+
168
+ :param request: Request instance for VerifyLicense.
169
+ :type request: :class:`tencentcloud.cloudapp.v20220530.models.VerifyLicenseRequest`
170
+ :rtype: :class:`tencentcloud.cloudapp.v20220530.models.VerifyLicenseResponse`
171
+
172
+ """
173
+ try:
174
+ params = request._serialize()
175
+ headers = request.headers
176
+ body = self.call("VerifyLicense", params, headers=headers)
177
+ response = json.loads(body)
178
+ model = models.VerifyLicenseResponse()
179
+ model._deserialize(response["Response"])
180
+ return model
181
+ except Exception as e:
182
+ if isinstance(e, TencentCloudSDKException):
183
+ raise
184
+ else:
185
+ raise TencentCloudSDKException(type(e).__name__, str(e))
@@ -18,6 +18,144 @@ import warnings
18
18
  from tencentcloud.common.abstract_model import AbstractModel
19
19
 
20
20
 
21
+ class DescribeLicenseRequest(AbstractModel):
22
+ r"""DescribeLicense请求参数结构体
23
+
24
+ """
25
+
26
+ def __init__(self):
27
+ r"""
28
+ :param _Filters: 可选过滤器
29
+ :type Filters: list of Filter
30
+ """
31
+ self._Filters = None
32
+
33
+ @property
34
+ def Filters(self):
35
+ r"""可选过滤器
36
+ :rtype: list of Filter
37
+ """
38
+ return self._Filters
39
+
40
+ @Filters.setter
41
+ def Filters(self, Filters):
42
+ self._Filters = Filters
43
+
44
+
45
+ def _deserialize(self, params):
46
+ if params.get("Filters") is not None:
47
+ self._Filters = []
48
+ for item in params.get("Filters"):
49
+ obj = Filter()
50
+ obj._deserialize(item)
51
+ self._Filters.append(obj)
52
+ memeber_set = set(params.keys())
53
+ for name, value in vars(self).items():
54
+ property_name = name[1:]
55
+ if property_name in memeber_set:
56
+ memeber_set.remove(property_name)
57
+ if len(memeber_set) > 0:
58
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
59
+
60
+
61
+
62
+ class DescribeLicenseResponse(AbstractModel):
63
+ r"""DescribeLicense返回参数结构体
64
+
65
+ """
66
+
67
+ def __init__(self):
68
+ r"""
69
+ :param _Token: 针对上面raw的签名
70
+ :type Token: str
71
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
72
+ :type RequestId: str
73
+ """
74
+ self._Token = None
75
+ self._RequestId = None
76
+
77
+ @property
78
+ def Token(self):
79
+ r"""针对上面raw的签名
80
+ :rtype: str
81
+ """
82
+ return self._Token
83
+
84
+ @Token.setter
85
+ def Token(self, Token):
86
+ self._Token = Token
87
+
88
+ @property
89
+ def RequestId(self):
90
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
91
+ :rtype: str
92
+ """
93
+ return self._RequestId
94
+
95
+ @RequestId.setter
96
+ def RequestId(self, RequestId):
97
+ self._RequestId = RequestId
98
+
99
+
100
+ def _deserialize(self, params):
101
+ self._Token = params.get("Token")
102
+ self._RequestId = params.get("RequestId")
103
+
104
+
105
+ class Filter(AbstractModel):
106
+ r"""描述键值对过滤器,用于条件过滤查询。例如过滤 ID、名称、状态等
107
+
108
+ - 若存在多个 Filter 时,Filter间的关系为逻辑与(AND)关系。
109
+ - 若同一个 Filter 存在多个 Values,同一 Filter 下 Values 间的关系为逻辑或(OR)关系。
110
+
111
+ """
112
+
113
+ def __init__(self):
114
+ r"""
115
+ :param _Name: 需要过滤的字段
116
+ :type Name: str
117
+ :param _Values: 字段的过滤值
118
+ :type Values: list of str
119
+ """
120
+ self._Name = None
121
+ self._Values = None
122
+
123
+ @property
124
+ def Name(self):
125
+ r"""需要过滤的字段
126
+ :rtype: str
127
+ """
128
+ return self._Name
129
+
130
+ @Name.setter
131
+ def Name(self, Name):
132
+ self._Name = Name
133
+
134
+ @property
135
+ def Values(self):
136
+ r"""字段的过滤值
137
+ :rtype: list of str
138
+ """
139
+ return self._Values
140
+
141
+ @Values.setter
142
+ def Values(self, Values):
143
+ self._Values = Values
144
+
145
+
146
+ def _deserialize(self, params):
147
+ self._Name = params.get("Name")
148
+ self._Values = params.get("Values")
149
+ memeber_set = set(params.keys())
150
+ for name, value in vars(self).items():
151
+ property_name = name[1:]
152
+ if property_name in memeber_set:
153
+ memeber_set.remove(property_name)
154
+ if len(memeber_set) > 0:
155
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
156
+
157
+
158
+
21
159
  class License(AbstractModel):
22
160
  r"""表示应用实例的软件授权,包含颁发信息、激活信息等内容。
23
161
 
@@ -330,6 +468,10 @@ class SaleParam(AbstractModel):
330
468
  :param _ParamKeyName: 售卖参数的展示名称
331
469
  注意:此字段可能返回 null,表示取不到有效值。
332
470
  :type ParamKeyName: str
471
+ :param _ParamId: 参数 Id
472
+ :type ParamId: str
473
+ :param _ParamValueId: 参数值 Id
474
+ :type ParamValueId: str
333
475
  :param _ParamValue: 售卖参数值,当ParamType=Quant时,该值有可能为Null
334
476
  注意:此字段可能返回 null,表示取不到有效值。
335
477
  :type ParamValue: str
@@ -339,12 +481,23 @@ class SaleParam(AbstractModel):
339
481
  :param _ParamType: 售卖参数的类型,目前支持枚举类Enum/数量类Quant
340
482
  注意:此字段可能返回 null,表示取不到有效值。
341
483
  :type ParamType: str
484
+ :param _ModuleId: 模块ID
485
+ :type ModuleId: str
486
+ :param _ModuleKey: 模块key
487
+ :type ModuleKey: str
488
+ :param _ModuleName: 模块名称
489
+ :type ModuleName: str
342
490
  """
343
491
  self._ParamKey = None
344
492
  self._ParamKeyName = None
493
+ self._ParamId = None
494
+ self._ParamValueId = None
345
495
  self._ParamValue = None
346
496
  self._ParamValueName = None
347
497
  self._ParamType = None
498
+ self._ModuleId = None
499
+ self._ModuleKey = None
500
+ self._ModuleName = None
348
501
 
349
502
  @property
350
503
  def ParamKey(self):
@@ -369,6 +522,28 @@ class SaleParam(AbstractModel):
369
522
  def ParamKeyName(self, ParamKeyName):
370
523
  self._ParamKeyName = ParamKeyName
371
524
 
525
+ @property
526
+ def ParamId(self):
527
+ r"""参数 Id
528
+ :rtype: str
529
+ """
530
+ return self._ParamId
531
+
532
+ @ParamId.setter
533
+ def ParamId(self, ParamId):
534
+ self._ParamId = ParamId
535
+
536
+ @property
537
+ def ParamValueId(self):
538
+ r"""参数值 Id
539
+ :rtype: str
540
+ """
541
+ return self._ParamValueId
542
+
543
+ @ParamValueId.setter
544
+ def ParamValueId(self, ParamValueId):
545
+ self._ParamValueId = ParamValueId
546
+
372
547
  @property
373
548
  def ParamValue(self):
374
549
  r"""售卖参数值,当ParamType=Quant时,该值有可能为Null
@@ -405,13 +580,51 @@ class SaleParam(AbstractModel):
405
580
  def ParamType(self, ParamType):
406
581
  self._ParamType = ParamType
407
582
 
583
+ @property
584
+ def ModuleId(self):
585
+ r"""模块ID
586
+ :rtype: str
587
+ """
588
+ return self._ModuleId
589
+
590
+ @ModuleId.setter
591
+ def ModuleId(self, ModuleId):
592
+ self._ModuleId = ModuleId
593
+
594
+ @property
595
+ def ModuleKey(self):
596
+ r"""模块key
597
+ :rtype: str
598
+ """
599
+ return self._ModuleKey
600
+
601
+ @ModuleKey.setter
602
+ def ModuleKey(self, ModuleKey):
603
+ self._ModuleKey = ModuleKey
604
+
605
+ @property
606
+ def ModuleName(self):
607
+ r"""模块名称
608
+ :rtype: str
609
+ """
610
+ return self._ModuleName
611
+
612
+ @ModuleName.setter
613
+ def ModuleName(self, ModuleName):
614
+ self._ModuleName = ModuleName
615
+
408
616
 
409
617
  def _deserialize(self, params):
410
618
  self._ParamKey = params.get("ParamKey")
411
619
  self._ParamKeyName = params.get("ParamKeyName")
620
+ self._ParamId = params.get("ParamId")
621
+ self._ParamValueId = params.get("ParamValueId")
412
622
  self._ParamValue = params.get("ParamValue")
413
623
  self._ParamValueName = params.get("ParamValueName")
414
624
  self._ParamType = params.get("ParamType")
625
+ self._ModuleId = params.get("ModuleId")
626
+ self._ModuleKey = params.get("ModuleKey")
627
+ self._ModuleName = params.get("ModuleName")
415
628
  memeber_set = set(params.keys())
416
629
  for name, value in vars(self).items():
417
630
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-cloudapp
3
- Version: 3.0.1459
3
+ Version: 3.0.1475
4
4
  Summary: Tencent Cloud Cloudapp SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1475
@@ -1,49 +0,0 @@
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
- import json
17
-
18
- from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
19
- from tencentcloud.common.abstract_client import AbstractClient
20
- from tencentcloud.cloudapp.v20220530 import models
21
-
22
-
23
- class CloudappClient(AbstractClient):
24
- _apiVersion = '2022-05-30'
25
- _endpoint = 'cloudapp.tencentcloudapi.com'
26
- _service = 'cloudapp'
27
-
28
-
29
- def VerifyLicense(self, request):
30
- r"""从软件进程读取 LICENSE。
31
-
32
- :param request: Request instance for VerifyLicense.
33
- :type request: :class:`tencentcloud.cloudapp.v20220530.models.VerifyLicenseRequest`
34
- :rtype: :class:`tencentcloud.cloudapp.v20220530.models.VerifyLicenseResponse`
35
-
36
- """
37
- try:
38
- params = request._serialize()
39
- headers = request.headers
40
- body = self.call("VerifyLicense", params, headers=headers)
41
- response = json.loads(body)
42
- model = models.VerifyLicenseResponse()
43
- model._deserialize(response["Response"])
44
- return model
45
- except Exception as e:
46
- if isinstance(e, TencentCloudSDKException):
47
- raise
48
- else:
49
- raise TencentCloudSDKException(type(e).__name__, str(e))
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1459