tencentcloud-sdk-python-teo 3.0.989__tar.gz → 3.0.991__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 (20) hide show
  1. {tencentcloud-sdk-python-teo-3.0.989 → tencentcloud-sdk-python-teo-3.0.991}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-teo-3.0.989 → tencentcloud-sdk-python-teo-3.0.991}/setup.py +1 -1
  3. {tencentcloud-sdk-python-teo-3.0.989 → tencentcloud-sdk-python-teo-3.0.991}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-teo-3.0.989 → tencentcloud-sdk-python-teo-3.0.991}/tencentcloud/teo/v20220901/models.py +184 -8
  5. {tencentcloud-sdk-python-teo-3.0.989 → tencentcloud-sdk-python-teo-3.0.991}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-teo-3.0.991/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-teo-3.0.989/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-teo-3.0.989 → tencentcloud-sdk-python-teo-3.0.991}/README.rst +0 -0
  9. {tencentcloud-sdk-python-teo-3.0.989 → tencentcloud-sdk-python-teo-3.0.991}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-teo-3.0.989 → tencentcloud-sdk-python-teo-3.0.991}/tencentcloud/teo/__init__.py +0 -0
  11. {tencentcloud-sdk-python-teo-3.0.989 → tencentcloud-sdk-python-teo-3.0.991}/tencentcloud/teo/v20220106/__init__.py +0 -0
  12. {tencentcloud-sdk-python-teo-3.0.989 → tencentcloud-sdk-python-teo-3.0.991}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-teo-3.0.989 → tencentcloud-sdk-python-teo-3.0.991}/tencentcloud/teo/v20220106/models.py +0 -0
  14. {tencentcloud-sdk-python-teo-3.0.989 → tencentcloud-sdk-python-teo-3.0.991}/tencentcloud/teo/v20220106/teo_client.py +0 -0
  15. {tencentcloud-sdk-python-teo-3.0.989 → tencentcloud-sdk-python-teo-3.0.991}/tencentcloud/teo/v20220901/__init__.py +0 -0
  16. {tencentcloud-sdk-python-teo-3.0.989 → tencentcloud-sdk-python-teo-3.0.991}/tencentcloud/teo/v20220901/errorcodes.py +0 -0
  17. {tencentcloud-sdk-python-teo-3.0.989 → tencentcloud-sdk-python-teo-3.0.991}/tencentcloud/teo/v20220901/teo_client.py +0 -0
  18. {tencentcloud-sdk-python-teo-3.0.989 → tencentcloud-sdk-python-teo-3.0.991}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-teo-3.0.989 → tencentcloud-sdk-python-teo-3.0.991}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-teo-3.0.989 → tencentcloud-sdk-python-teo-3.0.991}/tencentcloud_sdk_python_teo.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-teo
3
- Version: 3.0.989
3
+ Version: 3.0.991
4
4
  Summary: Tencent Cloud Teo 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-teo',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.989"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.991"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Teo 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.989'
17
+ __version__ = '3.0.991'
@@ -121,6 +121,9 @@ class AccelerationDomain(AbstractModel):
121
121
  :param _OwnershipVerification: 当域名需要进行归属权验证才能继续提供服务时,该对象会携带对应验证方式所需要的信息。
122
122
  注意:此字段可能返回 null,表示取不到有效值。
123
123
  :type OwnershipVerification: :class:`tencentcloud.teo.v20220901.models.OwnershipVerification`
124
+ :param _Certificate: 域名证书信息
125
+ 注意:此字段可能返回 null,表示取不到有效值。
126
+ :type Certificate: :class:`tencentcloud.teo.v20220901.models.AccelerationDomainCertificate`
124
127
  """
125
128
  self._ZoneId = None
126
129
  self._DomainName = None
@@ -131,6 +134,7 @@ class AccelerationDomain(AbstractModel):
131
134
  self._CreatedOn = None
132
135
  self._ModifiedOn = None
133
136
  self._OwnershipVerification = None
137
+ self._Certificate = None
134
138
 
135
139
  @property
136
140
  def ZoneId(self):
@@ -204,6 +208,14 @@ class AccelerationDomain(AbstractModel):
204
208
  def OwnershipVerification(self, OwnershipVerification):
205
209
  self._OwnershipVerification = OwnershipVerification
206
210
 
211
+ @property
212
+ def Certificate(self):
213
+ return self._Certificate
214
+
215
+ @Certificate.setter
216
+ def Certificate(self, Certificate):
217
+ self._Certificate = Certificate
218
+
207
219
 
208
220
  def _deserialize(self, params):
209
221
  self._ZoneId = params.get("ZoneId")
@@ -219,6 +231,60 @@ class AccelerationDomain(AbstractModel):
219
231
  if params.get("OwnershipVerification") is not None:
220
232
  self._OwnershipVerification = OwnershipVerification()
221
233
  self._OwnershipVerification._deserialize(params.get("OwnershipVerification"))
234
+ if params.get("Certificate") is not None:
235
+ self._Certificate = AccelerationDomainCertificate()
236
+ self._Certificate._deserialize(params.get("Certificate"))
237
+ memeber_set = set(params.keys())
238
+ for name, value in vars(self).items():
239
+ property_name = name[1:]
240
+ if property_name in memeber_set:
241
+ memeber_set.remove(property_name)
242
+ if len(memeber_set) > 0:
243
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
244
+
245
+
246
+
247
+ class AccelerationDomainCertificate(AbstractModel):
248
+ """加速域名所对应的证书信息。
249
+
250
+ """
251
+
252
+ def __init__(self):
253
+ r"""
254
+ :param _Mode: 配置证书的模式,取值有: <li>disable:不配置证书;</li> <li>eofreecert:配置 EdgeOne 免费证书;</li> <li>sslcert:配置 SSL 证书。</li>
255
+ :type Mode: str
256
+ :param _List: 证书列表。
257
+ 注意:此字段可能返回 null,表示取不到有效值。
258
+ :type List: list of CertificateInfo
259
+ """
260
+ self._Mode = None
261
+ self._List = None
262
+
263
+ @property
264
+ def Mode(self):
265
+ return self._Mode
266
+
267
+ @Mode.setter
268
+ def Mode(self, Mode):
269
+ self._Mode = Mode
270
+
271
+ @property
272
+ def List(self):
273
+ return self._List
274
+
275
+ @List.setter
276
+ def List(self, List):
277
+ self._List = List
278
+
279
+
280
+ def _deserialize(self, params):
281
+ self._Mode = params.get("Mode")
282
+ if params.get("List") is not None:
283
+ self._List = []
284
+ for item in params.get("List"):
285
+ obj = CertificateInfo()
286
+ obj._deserialize(item)
287
+ self._List.append(obj)
222
288
  memeber_set = set(params.keys())
223
289
  for name, value in vars(self).items():
224
290
  property_name = name[1:]
@@ -2735,6 +2801,119 @@ class CachePrefresh(AbstractModel):
2735
2801
 
2736
2802
 
2737
2803
 
2804
+ class CertificateInfo(AbstractModel):
2805
+ """https 服务端证书配置
2806
+
2807
+ """
2808
+
2809
+ def __init__(self):
2810
+ r"""
2811
+ :param _CertId: 服务器证书 ID。
2812
+ :type CertId: str
2813
+ :param _Alias: 证书备注名。
2814
+ :type Alias: str
2815
+ :param _Type: 证书类型,取值有:
2816
+ <li>default:默认证书;</li>
2817
+ <li>upload:用户上传;</li>
2818
+ <li>managed:腾讯云托管。</li>
2819
+ :type Type: str
2820
+ :param _ExpireTime: 证书过期时间。
2821
+ :type ExpireTime: str
2822
+ :param _DeployTime: 证书部署时间。
2823
+ :type DeployTime: str
2824
+ :param _SignAlgo: 签名算法。
2825
+ :type SignAlgo: str
2826
+ :param _Status: 证书状态,取值有:
2827
+ <li>deployed:已部署;</li>
2828
+ <li>processing:部署中;</li>
2829
+ <li>applying:申请中;</li>
2830
+ <li>failed:申请失败;</li>
2831
+ <li>issued:绑定失败。</li>
2832
+ :type Status: str
2833
+ """
2834
+ self._CertId = None
2835
+ self._Alias = None
2836
+ self._Type = None
2837
+ self._ExpireTime = None
2838
+ self._DeployTime = None
2839
+ self._SignAlgo = None
2840
+ self._Status = None
2841
+
2842
+ @property
2843
+ def CertId(self):
2844
+ return self._CertId
2845
+
2846
+ @CertId.setter
2847
+ def CertId(self, CertId):
2848
+ self._CertId = CertId
2849
+
2850
+ @property
2851
+ def Alias(self):
2852
+ return self._Alias
2853
+
2854
+ @Alias.setter
2855
+ def Alias(self, Alias):
2856
+ self._Alias = Alias
2857
+
2858
+ @property
2859
+ def Type(self):
2860
+ return self._Type
2861
+
2862
+ @Type.setter
2863
+ def Type(self, Type):
2864
+ self._Type = Type
2865
+
2866
+ @property
2867
+ def ExpireTime(self):
2868
+ return self._ExpireTime
2869
+
2870
+ @ExpireTime.setter
2871
+ def ExpireTime(self, ExpireTime):
2872
+ self._ExpireTime = ExpireTime
2873
+
2874
+ @property
2875
+ def DeployTime(self):
2876
+ return self._DeployTime
2877
+
2878
+ @DeployTime.setter
2879
+ def DeployTime(self, DeployTime):
2880
+ self._DeployTime = DeployTime
2881
+
2882
+ @property
2883
+ def SignAlgo(self):
2884
+ return self._SignAlgo
2885
+
2886
+ @SignAlgo.setter
2887
+ def SignAlgo(self, SignAlgo):
2888
+ self._SignAlgo = SignAlgo
2889
+
2890
+ @property
2891
+ def Status(self):
2892
+ return self._Status
2893
+
2894
+ @Status.setter
2895
+ def Status(self, Status):
2896
+ self._Status = Status
2897
+
2898
+
2899
+ def _deserialize(self, params):
2900
+ self._CertId = params.get("CertId")
2901
+ self._Alias = params.get("Alias")
2902
+ self._Type = params.get("Type")
2903
+ self._ExpireTime = params.get("ExpireTime")
2904
+ self._DeployTime = params.get("DeployTime")
2905
+ self._SignAlgo = params.get("SignAlgo")
2906
+ self._Status = params.get("Status")
2907
+ memeber_set = set(params.keys())
2908
+ for name, value in vars(self).items():
2909
+ property_name = name[1:]
2910
+ if property_name in memeber_set:
2911
+ memeber_set.remove(property_name)
2912
+ if len(memeber_set) > 0:
2913
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2914
+
2915
+
2916
+
2738
2917
  class CheckCnameStatusRequest(AbstractModel):
2739
2918
  """CheckCnameStatus请求参数结构体
2740
2919
 
@@ -16737,14 +16916,7 @@ class RuleCondition(AbstractModel):
16737
16916
  <li> exist: 存在; </li>
16738
16917
  <li> notexist: 不存在。</li>
16739
16918
  :type Operator: str
16740
- :param _Target: 匹配类型,取值有:
16741
- <li> filename:文件名; </li>
16742
- <li> extension:文件后缀; </li>
16743
- <li> host:HOST; </li>
16744
- <li> full_url:URL Full,当前站点下完整 URL 路径,必须包含 HTTP 协议,Host 和 路径; </li>
16745
- <li> url:URL Path,当前站点下 URL 路径的请求; </li><li>client_country:客户端国家/地区;</li>
16746
- <li> query_string:查询字符串,当前站点下请求URL的查询字符串; </li>
16747
- <li> request_header:HTTP请求头部。 </li>
16919
+ :param _Target: 匹配类型,取值有: <li> filename:文件名; </li> <li> extension:文件后缀; </li> <li> host:HOST; </li> <li> full_url:URL Full,当前站点下完整 URL 路径,必须包含 HTTP 协议,Host 和 路径; </li> <li> url:URL Path,当前站点下 URL 路径的请求; </li><li>client_country:客户端国家/地区;</li> <li> query_string:查询字符串,当前站点下请求URL的查询字符串; </li> <li> request_header:HTTP请求头部。 </li>
16748
16920
  :type Target: str
16749
16921
  :param _Values: 对应匹配类型的参数值,仅在匹配类型为查询字符串或HTTP请求头并且运算符取值为存在或不存在时允许传空数组,对应匹配类型有:
16750
16922
  <li> 文件后缀:jpg、txt等文件后缀;</li>
@@ -16816,10 +16988,14 @@ class RuleCondition(AbstractModel):
16816
16988
 
16817
16989
  @property
16818
16990
  def IgnoreNameCase(self):
16991
+ warnings.warn("parameter `IgnoreNameCase` is deprecated", DeprecationWarning)
16992
+
16819
16993
  return self._IgnoreNameCase
16820
16994
 
16821
16995
  @IgnoreNameCase.setter
16822
16996
  def IgnoreNameCase(self, IgnoreNameCase):
16997
+ warnings.warn("parameter `IgnoreNameCase` is deprecated", DeprecationWarning)
16998
+
16823
16999
  self._IgnoreNameCase = IgnoreNameCase
16824
17000
 
16825
17001
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-teo
3
- Version: 3.0.989
3
+ Version: 3.0.991
4
4
  Summary: Tencent Cloud Teo 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.991
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.989