tencentcloud-sdk-python-ssl 3.0.1401__tar.gz → 3.0.1404__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 (16) hide show
  1. {tencentcloud-sdk-python-ssl-3.0.1401 → tencentcloud-sdk-python-ssl-3.0.1404}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-ssl-3.0.1401 → tencentcloud-sdk-python-ssl-3.0.1404}/setup.py +1 -1
  3. {tencentcloud-sdk-python-ssl-3.0.1401 → tencentcloud-sdk-python-ssl-3.0.1404}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-ssl-3.0.1401 → tencentcloud-sdk-python-ssl-3.0.1404}/tencentcloud/ssl/v20191205/errorcodes.py +6 -0
  5. {tencentcloud-sdk-python-ssl-3.0.1401 → tencentcloud-sdk-python-ssl-3.0.1404}/tencentcloud/ssl/v20191205/models.py +181 -0
  6. {tencentcloud-sdk-python-ssl-3.0.1401 → tencentcloud-sdk-python-ssl-3.0.1404}/tencentcloud/ssl/v20191205/ssl_client.py +23 -0
  7. {tencentcloud-sdk-python-ssl-3.0.1401 → tencentcloud-sdk-python-ssl-3.0.1404}/tencentcloud_sdk_python_ssl.egg-info/PKG-INFO +1 -1
  8. tencentcloud-sdk-python-ssl-3.0.1404/tencentcloud_sdk_python_ssl.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-ssl-3.0.1401/tencentcloud_sdk_python_ssl.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-ssl-3.0.1401 → tencentcloud-sdk-python-ssl-3.0.1404}/README.rst +0 -0
  11. {tencentcloud-sdk-python-ssl-3.0.1401 → tencentcloud-sdk-python-ssl-3.0.1404}/setup.cfg +0 -0
  12. {tencentcloud-sdk-python-ssl-3.0.1401 → tencentcloud-sdk-python-ssl-3.0.1404}/tencentcloud/ssl/__init__.py +0 -0
  13. {tencentcloud-sdk-python-ssl-3.0.1401 → tencentcloud-sdk-python-ssl-3.0.1404}/tencentcloud/ssl/v20191205/__init__.py +0 -0
  14. {tencentcloud-sdk-python-ssl-3.0.1401 → tencentcloud-sdk-python-ssl-3.0.1404}/tencentcloud_sdk_python_ssl.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-ssl-3.0.1401 → tencentcloud-sdk-python-ssl-3.0.1404}/tencentcloud_sdk_python_ssl.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-ssl-3.0.1401 → tencentcloud-sdk-python-ssl-3.0.1404}/tencentcloud_sdk_python_ssl.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-ssl
3
- Version: 3.0.1401
3
+ Version: 3.0.1404
4
4
  Summary: Tencent Cloud Ssl 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-ssl',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1401"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1404"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Ssl 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.1401'
17
+ __version__ = '3.0.1404'
@@ -155,6 +155,12 @@ FAILEDOPERATION_CERTIFICATESTATUSNOTALLOWRESUBMIT = 'FailedOperation.Certificate
155
155
  # 证书当前状态不允许进行域名验证。
156
156
  FAILEDOPERATION_CERTIFICATESTATUSNOTALLOWVERIFY = 'FailedOperation.CertificateStatusNotAllowVerify'
157
157
 
158
+ # 上传证书的托管续费证书不能手动提交订单
159
+ FAILEDOPERATION_CERTIFICATESUBMITHOSTINGCERTERROR = 'FailedOperation.CertificateSubmitHostingCertError'
160
+
161
+ # 证书操作参数无效,证书ID数量超过100。
162
+ FAILEDOPERATION_CERTIFICATESYNCTASKCERTIFICATEIDCOUNTINVALID = 'FailedOperation.CertificateSyncTaskCertificateIdCountInvalid'
163
+
158
164
  # 证书关联云资源查询任务ID无效
159
165
  FAILEDOPERATION_CERTIFICATESYNCTASKIDINVALID = 'FailedOperation.CertificateSyncTaskIdInvalid'
160
166
 
@@ -21323,6 +21323,187 @@ class UploadRevokeLetterResponse(AbstractModel):
21323
21323
  self._RequestId = params.get("RequestId")
21324
21324
 
21325
21325
 
21326
+ class UploadUpdateCertificateInstanceRequest(AbstractModel):
21327
+ """UploadUpdateCertificateInstance请求参数结构体
21328
+
21329
+ """
21330
+
21331
+ def __init__(self):
21332
+ r"""
21333
+ :param _OldCertificateId: 一键更新的旧证书ID。 通过查询该证书ID绑定的云资源,然后使用新证书对这些云资源进行更新
21334
+ :type OldCertificateId: str
21335
+ :param _ResourceTypes: 需要部署的资源类型,参数值可选(小写):clb
21336
+ :type ResourceTypes: list of str
21337
+ :param _CertificatePublicKey: 公钥证书
21338
+ :type CertificatePublicKey: str
21339
+ :param _CertificatePrivateKey: 私钥证书
21340
+ :type CertificatePrivateKey: str
21341
+ :param _ResourceTypesRegions: 云资源需要部署的地域列表,支持地域的云资源类型必传,取值:clb
21342
+ :type ResourceTypesRegions: list of ResourceTypeRegions
21343
+ """
21344
+ self._OldCertificateId = None
21345
+ self._ResourceTypes = None
21346
+ self._CertificatePublicKey = None
21347
+ self._CertificatePrivateKey = None
21348
+ self._ResourceTypesRegions = None
21349
+
21350
+ @property
21351
+ def OldCertificateId(self):
21352
+ """一键更新的旧证书ID。 通过查询该证书ID绑定的云资源,然后使用新证书对这些云资源进行更新
21353
+ :rtype: str
21354
+ """
21355
+ return self._OldCertificateId
21356
+
21357
+ @OldCertificateId.setter
21358
+ def OldCertificateId(self, OldCertificateId):
21359
+ self._OldCertificateId = OldCertificateId
21360
+
21361
+ @property
21362
+ def ResourceTypes(self):
21363
+ """需要部署的资源类型,参数值可选(小写):clb
21364
+ :rtype: list of str
21365
+ """
21366
+ return self._ResourceTypes
21367
+
21368
+ @ResourceTypes.setter
21369
+ def ResourceTypes(self, ResourceTypes):
21370
+ self._ResourceTypes = ResourceTypes
21371
+
21372
+ @property
21373
+ def CertificatePublicKey(self):
21374
+ """公钥证书
21375
+ :rtype: str
21376
+ """
21377
+ return self._CertificatePublicKey
21378
+
21379
+ @CertificatePublicKey.setter
21380
+ def CertificatePublicKey(self, CertificatePublicKey):
21381
+ self._CertificatePublicKey = CertificatePublicKey
21382
+
21383
+ @property
21384
+ def CertificatePrivateKey(self):
21385
+ """私钥证书
21386
+ :rtype: str
21387
+ """
21388
+ return self._CertificatePrivateKey
21389
+
21390
+ @CertificatePrivateKey.setter
21391
+ def CertificatePrivateKey(self, CertificatePrivateKey):
21392
+ self._CertificatePrivateKey = CertificatePrivateKey
21393
+
21394
+ @property
21395
+ def ResourceTypesRegions(self):
21396
+ """云资源需要部署的地域列表,支持地域的云资源类型必传,取值:clb
21397
+ :rtype: list of ResourceTypeRegions
21398
+ """
21399
+ return self._ResourceTypesRegions
21400
+
21401
+ @ResourceTypesRegions.setter
21402
+ def ResourceTypesRegions(self, ResourceTypesRegions):
21403
+ self._ResourceTypesRegions = ResourceTypesRegions
21404
+
21405
+
21406
+ def _deserialize(self, params):
21407
+ self._OldCertificateId = params.get("OldCertificateId")
21408
+ self._ResourceTypes = params.get("ResourceTypes")
21409
+ self._CertificatePublicKey = params.get("CertificatePublicKey")
21410
+ self._CertificatePrivateKey = params.get("CertificatePrivateKey")
21411
+ if params.get("ResourceTypesRegions") is not None:
21412
+ self._ResourceTypesRegions = []
21413
+ for item in params.get("ResourceTypesRegions"):
21414
+ obj = ResourceTypeRegions()
21415
+ obj._deserialize(item)
21416
+ self._ResourceTypesRegions.append(obj)
21417
+ memeber_set = set(params.keys())
21418
+ for name, value in vars(self).items():
21419
+ property_name = name[1:]
21420
+ if property_name in memeber_set:
21421
+ memeber_set.remove(property_name)
21422
+ if len(memeber_set) > 0:
21423
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
21424
+
21425
+
21426
+
21427
+ class UploadUpdateCertificateInstanceResponse(AbstractModel):
21428
+ """UploadUpdateCertificateInstance返回参数结构体
21429
+
21430
+ """
21431
+
21432
+ def __init__(self):
21433
+ r"""
21434
+ :param _DeployRecordId: 云资源更新任务ID, DeployRecordId为0表示任务进行中, 重复请求这个接口, 当返回DeployRecordId大于0则表示任务创建成功。 未创建成功则会抛出异常
21435
+ :type DeployRecordId: int
21436
+ :param _DeployStatus: 更新任务创建状态;1表示创建成功; 0表示当前存在更新中的任务,未创建新的更新任务;返回值DeployRecordId为更新中的任务ID
21437
+ :type DeployStatus: int
21438
+ :param _UpdateSyncProgress: 更新异步创建任务进度详情
21439
+ 注意:此字段可能返回 null,表示取不到有效值。
21440
+ :type UpdateSyncProgress: list of UpdateSyncProgress
21441
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
21442
+ :type RequestId: str
21443
+ """
21444
+ self._DeployRecordId = None
21445
+ self._DeployStatus = None
21446
+ self._UpdateSyncProgress = None
21447
+ self._RequestId = None
21448
+
21449
+ @property
21450
+ def DeployRecordId(self):
21451
+ """云资源更新任务ID, DeployRecordId为0表示任务进行中, 重复请求这个接口, 当返回DeployRecordId大于0则表示任务创建成功。 未创建成功则会抛出异常
21452
+ :rtype: int
21453
+ """
21454
+ return self._DeployRecordId
21455
+
21456
+ @DeployRecordId.setter
21457
+ def DeployRecordId(self, DeployRecordId):
21458
+ self._DeployRecordId = DeployRecordId
21459
+
21460
+ @property
21461
+ def DeployStatus(self):
21462
+ """更新任务创建状态;1表示创建成功; 0表示当前存在更新中的任务,未创建新的更新任务;返回值DeployRecordId为更新中的任务ID
21463
+ :rtype: int
21464
+ """
21465
+ return self._DeployStatus
21466
+
21467
+ @DeployStatus.setter
21468
+ def DeployStatus(self, DeployStatus):
21469
+ self._DeployStatus = DeployStatus
21470
+
21471
+ @property
21472
+ def UpdateSyncProgress(self):
21473
+ """更新异步创建任务进度详情
21474
+ 注意:此字段可能返回 null,表示取不到有效值。
21475
+ :rtype: list of UpdateSyncProgress
21476
+ """
21477
+ return self._UpdateSyncProgress
21478
+
21479
+ @UpdateSyncProgress.setter
21480
+ def UpdateSyncProgress(self, UpdateSyncProgress):
21481
+ self._UpdateSyncProgress = UpdateSyncProgress
21482
+
21483
+ @property
21484
+ def RequestId(self):
21485
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
21486
+ :rtype: str
21487
+ """
21488
+ return self._RequestId
21489
+
21490
+ @RequestId.setter
21491
+ def RequestId(self, RequestId):
21492
+ self._RequestId = RequestId
21493
+
21494
+
21495
+ def _deserialize(self, params):
21496
+ self._DeployRecordId = params.get("DeployRecordId")
21497
+ self._DeployStatus = params.get("DeployStatus")
21498
+ if params.get("UpdateSyncProgress") is not None:
21499
+ self._UpdateSyncProgress = []
21500
+ for item in params.get("UpdateSyncProgress"):
21501
+ obj = UpdateSyncProgress()
21502
+ obj._deserialize(item)
21503
+ self._UpdateSyncProgress.append(obj)
21504
+ self._RequestId = params.get("RequestId")
21505
+
21506
+
21326
21507
  class VODInstanceList(AbstractModel):
21327
21508
  """vod实例详情 - 异步关联云资源数据结构
21328
21509
 
@@ -1459,6 +1459,29 @@ class SslClient(AbstractClient):
1459
1459
  raise TencentCloudSDKException(type(e).__name__, str(e))
1460
1460
 
1461
1461
 
1462
+ def UploadUpdateCertificateInstance(self, request):
1463
+ """更新证书内容(证书ID不变)并更新关联的云资源,本接口为异步接口, 调用之后DeployRecordId为0表示任务进行中, 重复请求这个接口, 当返回DeployRecordId大于0则表示任务创建成功。 未创建成功则会抛出异常
1464
+
1465
+ :param request: Request instance for UploadUpdateCertificateInstance.
1466
+ :type request: :class:`tencentcloud.ssl.v20191205.models.UploadUpdateCertificateInstanceRequest`
1467
+ :rtype: :class:`tencentcloud.ssl.v20191205.models.UploadUpdateCertificateInstanceResponse`
1468
+
1469
+ """
1470
+ try:
1471
+ params = request._serialize()
1472
+ headers = request.headers
1473
+ body = self.call("UploadUpdateCertificateInstance", params, headers=headers)
1474
+ response = json.loads(body)
1475
+ model = models.UploadUpdateCertificateInstanceResponse()
1476
+ model._deserialize(response["Response"])
1477
+ return model
1478
+ except Exception as e:
1479
+ if isinstance(e, TencentCloudSDKException):
1480
+ raise
1481
+ else:
1482
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1483
+
1484
+
1462
1485
  def VerifyManager(self, request):
1463
1486
  """重新核验管理人
1464
1487
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-ssl
3
- Version: 3.0.1401
3
+ Version: 3.0.1404
4
4
  Summary: Tencent Cloud Ssl 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==3.0.1404
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1401