tencentcloud-sdk-python-ssl 3.0.1230__tar.gz → 3.0.1257__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.1230 → tencentcloud-sdk-python-ssl-3.0.1257}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-ssl-3.0.1230 → tencentcloud-sdk-python-ssl-3.0.1257}/setup.py +1 -1
  3. {tencentcloud-sdk-python-ssl-3.0.1230 → tencentcloud-sdk-python-ssl-3.0.1257}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-ssl-3.0.1230 → tencentcloud-sdk-python-ssl-3.0.1257}/tencentcloud/ssl/v20191205/models.py +157 -2
  5. {tencentcloud-sdk-python-ssl-3.0.1230 → tencentcloud-sdk-python-ssl-3.0.1257}/tencentcloud_sdk_python_ssl.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-ssl-3.0.1257/tencentcloud_sdk_python_ssl.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-ssl-3.0.1230/tencentcloud_sdk_python_ssl.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-ssl-3.0.1230 → tencentcloud-sdk-python-ssl-3.0.1257}/README.rst +0 -0
  9. {tencentcloud-sdk-python-ssl-3.0.1230 → tencentcloud-sdk-python-ssl-3.0.1257}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-ssl-3.0.1230 → tencentcloud-sdk-python-ssl-3.0.1257}/tencentcloud/ssl/__init__.py +0 -0
  11. {tencentcloud-sdk-python-ssl-3.0.1230 → tencentcloud-sdk-python-ssl-3.0.1257}/tencentcloud/ssl/v20191205/__init__.py +0 -0
  12. {tencentcloud-sdk-python-ssl-3.0.1230 → tencentcloud-sdk-python-ssl-3.0.1257}/tencentcloud/ssl/v20191205/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-ssl-3.0.1230 → tencentcloud-sdk-python-ssl-3.0.1257}/tencentcloud/ssl/v20191205/ssl_client.py +0 -0
  14. {tencentcloud-sdk-python-ssl-3.0.1230 → tencentcloud-sdk-python-ssl-3.0.1257}/tencentcloud_sdk_python_ssl.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-ssl-3.0.1230 → tencentcloud-sdk-python-ssl-3.0.1257}/tencentcloud_sdk_python_ssl.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-ssl-3.0.1230 → tencentcloud-sdk-python-ssl-3.0.1257}/tencentcloud_sdk_python_ssl.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-ssl
3
- Version: 3.0.1230
3
+ Version: 3.0.1257
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.1230"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1257"],
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.1230'
17
+ __version__ = '3.0.1257'
@@ -1319,6 +1319,12 @@ class Certificates(AbstractModel):
1319
1319
  :param _CertRevokedTime: 证书吊销完成时间
1320
1320
  注意:此字段可能返回 null,表示取不到有效值。
1321
1321
  :type CertRevokedTime: str
1322
+ :param _HostingResourceTypes: 托管资源类型列表
1323
+ 注意:此字段可能返回 null,表示取不到有效值。
1324
+ :type HostingResourceTypes: list of str
1325
+ :param _HostingConfig: 托管配置信息
1326
+ 注意:此字段可能返回 null,表示取不到有效值。
1327
+ :type HostingConfig: :class:`tencentcloud.ssl.v20191205.models.HostingConfig`
1322
1328
  """
1323
1329
  self._OwnerUin = None
1324
1330
  self._ProjectId = None
@@ -1374,6 +1380,8 @@ class Certificates(AbstractModel):
1374
1380
  self._KeyPasswordCustomFlag = None
1375
1381
  self._SupportDownloadType = None
1376
1382
  self._CertRevokedTime = None
1383
+ self._HostingResourceTypes = None
1384
+ self._HostingConfig = None
1377
1385
 
1378
1386
  @property
1379
1387
  def OwnerUin(self):
@@ -1807,6 +1815,22 @@ class Certificates(AbstractModel):
1807
1815
  def CertRevokedTime(self, CertRevokedTime):
1808
1816
  self._CertRevokedTime = CertRevokedTime
1809
1817
 
1818
+ @property
1819
+ def HostingResourceTypes(self):
1820
+ return self._HostingResourceTypes
1821
+
1822
+ @HostingResourceTypes.setter
1823
+ def HostingResourceTypes(self, HostingResourceTypes):
1824
+ self._HostingResourceTypes = HostingResourceTypes
1825
+
1826
+ @property
1827
+ def HostingConfig(self):
1828
+ return self._HostingConfig
1829
+
1830
+ @HostingConfig.setter
1831
+ def HostingConfig(self, HostingConfig):
1832
+ self._HostingConfig = HostingConfig
1833
+
1810
1834
 
1811
1835
  def _deserialize(self, params):
1812
1836
  self._OwnerUin = params.get("OwnerUin")
@@ -1876,6 +1900,10 @@ class Certificates(AbstractModel):
1876
1900
  self._SupportDownloadType = SupportDownloadType()
1877
1901
  self._SupportDownloadType._deserialize(params.get("SupportDownloadType"))
1878
1902
  self._CertRevokedTime = params.get("CertRevokedTime")
1903
+ self._HostingResourceTypes = params.get("HostingResourceTypes")
1904
+ if params.get("HostingConfig") is not None:
1905
+ self._HostingConfig = HostingConfig()
1906
+ self._HostingConfig._deserialize(params.get("HostingConfig"))
1879
1907
  memeber_set = set(params.keys())
1880
1908
  for name, value in vars(self).items():
1881
1909
  property_name = name[1:]
@@ -2934,6 +2962,8 @@ class CreateCertificateByPackageRequest(AbstractModel):
2934
2962
  :type CompanyId: int
2935
2963
  :param _VerifyType: 验证方式
2936
2964
  :type VerifyType: str
2965
+ :param _PriceKey: 询价参数
2966
+ :type PriceKey: str
2937
2967
  """
2938
2968
  self._ProductPid = None
2939
2969
  self._PackageIds = None
@@ -2952,6 +2982,7 @@ class CreateCertificateByPackageRequest(AbstractModel):
2952
2982
  self._ManagerId = None
2953
2983
  self._CompanyId = None
2954
2984
  self._VerifyType = None
2985
+ self._PriceKey = None
2955
2986
 
2956
2987
  @property
2957
2988
  def ProductPid(self):
@@ -3089,6 +3120,14 @@ class CreateCertificateByPackageRequest(AbstractModel):
3089
3120
  def VerifyType(self, VerifyType):
3090
3121
  self._VerifyType = VerifyType
3091
3122
 
3123
+ @property
3124
+ def PriceKey(self):
3125
+ return self._PriceKey
3126
+
3127
+ @PriceKey.setter
3128
+ def PriceKey(self, PriceKey):
3129
+ self._PriceKey = PriceKey
3130
+
3092
3131
 
3093
3132
  def _deserialize(self, params):
3094
3133
  self._ProductPid = params.get("ProductPid")
@@ -3113,6 +3152,7 @@ class CreateCertificateByPackageRequest(AbstractModel):
3113
3152
  self._ManagerId = params.get("ManagerId")
3114
3153
  self._CompanyId = params.get("CompanyId")
3115
3154
  self._VerifyType = params.get("VerifyType")
3155
+ self._PriceKey = params.get("PriceKey")
3116
3156
  memeber_set = set(params.keys())
3117
3157
  for name, value in vars(self).items():
3118
3158
  property_name = name[1:]
@@ -3179,16 +3219,22 @@ class CreateCertificateRequest(AbstractModel):
3179
3219
 
3180
3220
  def __init__(self):
3181
3221
  r"""
3182
- :param _ProductId: 证书商品ID,3 = SecureSite 增强型企业版(EV Pro), 4 = SecureSite 增强型(EV), 5 = SecureSite 企业型专业版(OV Pro), 6 = SecureSite 企业型(OV), 7 = SecureSite 企业型(OV)通配符, 8 = Geotrust 增强型(EV), 9 = Geotrust 企业型(OV), 10 = Geotrust 企业型(OV)通配符, 11 = TrustAsia 域名型多域名 SSL 证书, 12 = TrustAsia 域名型(DV)通配符, 13 = TrustAsia 企业型通配符(OV)SSL 证书(D3), 14 = TrustAsia 企业型(OV)SSL 证书(D3), 15 = TrustAsia 企业型多域名 (OV)SSL 证书(D3), 16 = TrustAsia 增强型 (EV)SSL 证书(D3), 17 = TrustAsia 增强型多域名(EV)SSL 证书(D3), 18 = GlobalSign 企业型(OV)SSL 证书, 19 = GlobalSign 企业型通配符 (OV)SSL 证书, 20 = GlobalSign 增强型 (EV)SSL 证书, 21 = TrustAsia 企业型通配符多域名(OV)SSL 证书(D3), 22 = GlobalSign 企业型多域名(OV)SSL 证书, 23 = GlobalSign 企业型通配符多域名(OV)SSL 证书, 24 = GlobalSign 增强型多域名(EV)SSL 证书,25 = Wotrus 域名型证书,26 = Wotrus 域名型多域名证书,27 = Wotrus 域名型通配符证书,28 = Wotrus 企业型证书,29 = Wotrus 企业型多域名证书,30 = Wotrus 企业型通配符证书,31 = Wotrus 增强型证书,32 = Wotrus 增强型多域名证书,33 = DNSPod 国密域名型证书,34 = DNSPod 国密域名型多域名证书,35 = DNSPod 国密域名型通配符证书,37 = DNSPod 国密企业型证书,38 = DNSPod 国密企业型多域名证书,39 = DNSPod 国密企业型通配符证书,40 = DNSPod 国密增强型证书,41 = DNSPod 国密增强型多域名证书,42 = TrustAsia 域名型通配符多域名证书。
3222
+ :param _ProductId: 证书商品ID,3 = SecureSite 增强型企业版(EV Pro), 4 = SecureSite 增强型(EV), 5 = SecureSite 企业型专业版(OV Pro), 6 = SecureSite 企业型(OV), 7 = SecureSite 企业型(OV)通配符, 8 = Geotrust 增强型(EV), 9 = Geotrust 企业型(OV), 10 = Geotrust 企业型(OV)通配符, 11 = TrustAsia 域名型多域名 SSL 证书, 12 = TrustAsia 域名型(DV)通配符, 13 = TrustAsia 企业型通配符(OV)SSL 证书(D3), 14 = TrustAsia 企业型(OV)SSL 证书(D3), 15 = TrustAsia 企业型多域名 (OV)SSL 证书(D3), 16 = TrustAsia 增强型 (EV)SSL 证书(D3), 17 = TrustAsia 增强型多域名(EV)SSL 证书(D3), 18 = GlobalSign 企业型(OV)SSL 证书, 19 = GlobalSign 企业型通配符 (OV)SSL 证书, 20 = GlobalSign 增强型 (EV)SSL 证书, 21 = TrustAsia 企业型通配符多域名(OV)SSL 证书(D3), 22 = GlobalSign 企业型多域名(OV)SSL 证书, 23 = GlobalSign 企业型通配符多域名(OV)SSL 证书, 24 = GlobalSign 增强型多域名(EV)SSL 证书,25 = Wotrus 域名型证书,26 = Wotrus 域名型多域名证书,27 = Wotrus 域名型通配符证书,28 = Wotrus 企业型证书,29 = Wotrus 企业型多域名证书,30 = Wotrus 企业型通配符证书,31 = Wotrus 增强型证书,32 = Wotrus 增强型多域名证书,33 = Wotrus 国密域名型证书,34 = Wotrus 国密域名型多域名证书,35 = Wotrus 国密域名型通配符证书,37 = Wotrus 国密企业型证书,38 = Wotrus 国密企业型多域名证书,39 = Wotrus 国密企业型通配符证书,40 = Wotrus 国密增强型证书,41 = Wotrus 国密增强型多域名证书,42 = TrustAsia 域名型通配符多域名证书,43 = DNSPod-企业型(OV)SSL证书,44 = DNSPod-企业型(OV)通配符SSL证书,45 = DNSPod-企业型(OV)多域名SSL证书, 46 = DNSPod-增强型(EV)SSL证书,47 = DNSPod-增强型(EV)多域名SSL证书,48 = DNSPod-域名型(DV)SSL证书,49 = DNSPod-域名型(DV)通配符SSL证书,50 = DNSPod-域名型(DV)多域名SSL证书,51 = DNSPod(国密)-企业型(OV)SSL证书,52 = DNSPod(国密)-企业型(OV)通配符SSL证书,53 = DNSPod(国密)-企业型(OV)多域名SSL证书,54 = DNSPod(国密)-域名型(DV)SSL证书,55 = DNSPod(国密)-域名型(DV)通配符SSL证书, 56 = DNSPod(国密)-域名型(DV)多域名SSL证书,57 = SecureSite 企业型专业版多域名(OV Pro),58 = SecureSite 企业型多域名(OV),59 = SecureSite 增强型专业版多域名(EV Pro),60 = SecureSite 增强型多域名(EV),61 = Geotrust 增强型多域名(EV)
3183
3223
  :type ProductId: int
3184
3224
  :param _DomainNum: 证书包含的域名数量
3185
3225
  :type DomainNum: int
3186
- :param _TimeSpan: 证书年限,当前只支持 1 年证书的购买
3226
+ :param _TimeSpan: 证书年限
3187
3227
  :type TimeSpan: int
3228
+ :param _AutoVoucher: 是否自动使用代金券:1是,0否;默认为1
3229
+ :type AutoVoucher: int
3230
+ :param _Tags: 标签, 生成证书打标签
3231
+ :type Tags: list of Tags
3188
3232
  """
3189
3233
  self._ProductId = None
3190
3234
  self._DomainNum = None
3191
3235
  self._TimeSpan = None
3236
+ self._AutoVoucher = None
3237
+ self._Tags = None
3192
3238
 
3193
3239
  @property
3194
3240
  def ProductId(self):
@@ -3214,11 +3260,34 @@ class CreateCertificateRequest(AbstractModel):
3214
3260
  def TimeSpan(self, TimeSpan):
3215
3261
  self._TimeSpan = TimeSpan
3216
3262
 
3263
+ @property
3264
+ def AutoVoucher(self):
3265
+ return self._AutoVoucher
3266
+
3267
+ @AutoVoucher.setter
3268
+ def AutoVoucher(self, AutoVoucher):
3269
+ self._AutoVoucher = AutoVoucher
3270
+
3271
+ @property
3272
+ def Tags(self):
3273
+ return self._Tags
3274
+
3275
+ @Tags.setter
3276
+ def Tags(self, Tags):
3277
+ self._Tags = Tags
3278
+
3217
3279
 
3218
3280
  def _deserialize(self, params):
3219
3281
  self._ProductId = params.get("ProductId")
3220
3282
  self._DomainNum = params.get("DomainNum")
3221
3283
  self._TimeSpan = params.get("TimeSpan")
3284
+ self._AutoVoucher = params.get("AutoVoucher")
3285
+ if params.get("Tags") is not None:
3286
+ self._Tags = []
3287
+ for item in params.get("Tags"):
3288
+ obj = Tags()
3289
+ obj._deserialize(item)
3290
+ self._Tags.append(obj)
3222
3291
  memeber_set = set(params.keys())
3223
3292
  for name, value in vars(self).items():
3224
3293
  property_name = name[1:]
@@ -3524,6 +3593,45 @@ class DeleteCertificatesRequest(AbstractModel):
3524
3593
 
3525
3594
  """
3526
3595
 
3596
+ def __init__(self):
3597
+ r"""
3598
+ :param _CertificateIds: 要删除的证书ID。单次最多100个
3599
+ :type CertificateIds: list of str
3600
+ :param _IsSync: 删除时是否检查证书关联了云资源。默认不检查。如需要检查关联云资源 (需授权服务角色SSL_QCSLinkedRoleInReplaceLoadCertificate),完成授权后,删除将变成异步任务,接口会返回异步任务ID。需搭配 DescribeDeleteCertificatesTaskResult接口使用,查询删除任务是否成功。
3601
+ :type IsSync: bool
3602
+ """
3603
+ self._CertificateIds = None
3604
+ self._IsSync = None
3605
+
3606
+ @property
3607
+ def CertificateIds(self):
3608
+ return self._CertificateIds
3609
+
3610
+ @CertificateIds.setter
3611
+ def CertificateIds(self, CertificateIds):
3612
+ self._CertificateIds = CertificateIds
3613
+
3614
+ @property
3615
+ def IsSync(self):
3616
+ return self._IsSync
3617
+
3618
+ @IsSync.setter
3619
+ def IsSync(self, IsSync):
3620
+ self._IsSync = IsSync
3621
+
3622
+
3623
+ def _deserialize(self, params):
3624
+ self._CertificateIds = params.get("CertificateIds")
3625
+ self._IsSync = params.get("IsSync")
3626
+ memeber_set = set(params.keys())
3627
+ for name, value in vars(self).items():
3628
+ property_name = name[1:]
3629
+ if property_name in memeber_set:
3630
+ memeber_set.remove(property_name)
3631
+ if len(memeber_set) > 0:
3632
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3633
+
3634
+
3527
3635
 
3528
3636
  class DeleteCertificatesResponse(AbstractModel):
3529
3637
  """DeleteCertificates返回参数结构体
@@ -10497,6 +10605,53 @@ class GatewayCertificate(AbstractModel):
10497
10605
 
10498
10606
 
10499
10607
 
10608
+ class HostingConfig(AbstractModel):
10609
+ """托管配置
10610
+
10611
+ """
10612
+
10613
+ def __init__(self):
10614
+ r"""
10615
+ :param _ReplaceTime: 托管资源替换时间, 默认为证书过期前30天存在续费证书则替换
10616
+ 注意:此字段可能返回 null,表示取不到有效值。
10617
+ :type ReplaceTime: int
10618
+ :param _MessageTypes: 托管发送消息类型:0,托管开始前消息提醒(没有续费证书也会收到该提示消息); 1, 托管开始消息提醒(存在续费证书才会收到消息提醒); 2, 托管资源替换失败消息提醒; 3 托管资源替换成功消息提醒
10619
+ 注意:此字段可能返回 null,表示取不到有效值。
10620
+ :type MessageTypes: list of int
10621
+ """
10622
+ self._ReplaceTime = None
10623
+ self._MessageTypes = None
10624
+
10625
+ @property
10626
+ def ReplaceTime(self):
10627
+ return self._ReplaceTime
10628
+
10629
+ @ReplaceTime.setter
10630
+ def ReplaceTime(self, ReplaceTime):
10631
+ self._ReplaceTime = ReplaceTime
10632
+
10633
+ @property
10634
+ def MessageTypes(self):
10635
+ return self._MessageTypes
10636
+
10637
+ @MessageTypes.setter
10638
+ def MessageTypes(self, MessageTypes):
10639
+ self._MessageTypes = MessageTypes
10640
+
10641
+
10642
+ def _deserialize(self, params):
10643
+ self._ReplaceTime = params.get("ReplaceTime")
10644
+ self._MessageTypes = params.get("MessageTypes")
10645
+ memeber_set = set(params.keys())
10646
+ for name, value in vars(self).items():
10647
+ property_name = name[1:]
10648
+ if property_name in memeber_set:
10649
+ memeber_set.remove(property_name)
10650
+ if len(memeber_set) > 0:
10651
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10652
+
10653
+
10654
+
10500
10655
  class LighthouseInstanceDetail(AbstractModel):
10501
10656
  """Lighthouse实例
10502
10657
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-ssl
3
- Version: 3.0.1230
3
+ Version: 3.0.1257
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.1257
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1230