tencentcloud-sdk-python-teo 3.1.13__tar.gz → 3.1.17__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 (22) hide show
  1. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/setup.py +1 -1
  3. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/tencentcloud/teo/v20220901/models.py +112 -20
  5. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_teo-3.1.17/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_teo-3.1.13/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/README.rst +0 -0
  9. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/tencentcloud/teo/__init__.py +0 -0
  11. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/tencentcloud/teo/v20220106/__init__.py +0 -0
  12. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/tencentcloud/teo/v20220106/models.py +0 -0
  14. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/tencentcloud/teo/v20220106/teo_client.py +0 -0
  15. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/tencentcloud/teo/v20220106/teo_client_async.py +0 -0
  16. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/tencentcloud/teo/v20220901/__init__.py +0 -0
  17. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/tencentcloud/teo/v20220901/errorcodes.py +0 -0
  18. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/tencentcloud/teo/v20220901/teo_client.py +0 -0
  19. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/tencentcloud/teo/v20220901/teo_client_async.py +0 -0
  20. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_teo-3.1.13 → tencentcloud_sdk_python_teo-3.1.17}/tencentcloud_sdk_python_teo.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-teo
3
- Version: 3.1.13
3
+ Version: 3.1.17
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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.13
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.17
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -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.1.13,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.17,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Teo SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.13'
17
+ __version__ = '3.1.17'
@@ -12299,29 +12299,38 @@ class CreatePrefetchTaskRequest(AbstractModel):
12299
12299
  :param _ZoneId: 站点 ID。
12300
12300
  若您希望快速提交不同站点下的 Targets Url,可以将其填写为 *,但前提是调用该 API 的账号必须具备主账号下全部站点资源的权限。
12301
12301
  :type ZoneId: str
12302
- :param _Targets: 要预热的资源列表,每个元素格式类似如下:
12303
- http://www.example.com/example.txt。参数值当前必填。
12302
+ :param _Targets: 要预热的资源列表,必填。每个元素格式类似如下:
12303
+ http://www.example.com/example.txt
12304
12304
  注意:提交任务数受计费套餐配额限制,请查看 [EO计费套餐](https://cloud.tencent.com/document/product/1552/77380)。
12305
12305
  :type Targets: list of str
12306
+ :param _Mode: 预热模式,取值有:
12307
+ <li>default:默认模式,即预热到中间层;</li>
12308
+ <li>edge:边缘预热模式,即预热到边缘和中间层。</li>不填写时,默认值为 default。
12309
+ 注意事项:
12310
+ 1.预热至边缘产生的边缘层流量,会计入计费流量;
12311
+ 2.边缘预热默认分配单独的预热额度 1000 条/天,不消费常规预热额度。
12312
+ 说明:
12313
+ 该参数为白名单功能,如有需要,请联系腾讯云工程师处理。
12314
+ :type Mode: str
12306
12315
  :param _EncodeUrl: 是否对url进行encode,若内容含有非 ASCII 字符集的字符,请开启此开关进行编码转换(编码规则遵循 RFC3986)。
12307
12316
  :type EncodeUrl: bool
12308
- :param _Headers: 附带的http头部信息。
12317
+ :param _Headers: 若需要携带 HTTP 头部信息预热,可入参该参数,否则放空即可。
12309
12318
  :type Headers: list of Header
12310
12319
  :param _PrefetchMediaSegments: 媒体分片预热控制,取值有:
12311
12320
  <li>on:开启分片预热,预热描述文件,并递归解析描述文件分片进行预热;</li>
12312
12321
  <li>off:仅预热提交的描述文件;</li>不填写时,默认值为 off。
12313
-
12314
12322
  注意事项:
12315
12323
  1. 支持的描述文件为 M3U8,对应分片为 TS;
12316
12324
  2. 要求描述文件能正常请求,并按行业标准描述分片路径;
12317
12325
  3. 递归解析深度不超过 3 层;
12318
12326
  4. 解析获取的分片会正常累加每日预热用量,当用量超出配额时,会静默处理,不再执行预热。
12319
-
12327
+ 说明:
12320
12328
  该参数为白名单功能,如有需要,请联系腾讯云工程师处理。
12321
12329
  :type PrefetchMediaSegments: str
12322
12330
  """
12323
12331
  self._ZoneId = None
12324
12332
  self._Targets = None
12333
+ self._Mode = None
12325
12334
  self._EncodeUrl = None
12326
12335
  self._Headers = None
12327
12336
  self._PrefetchMediaSegments = None
@@ -12340,8 +12349,8 @@ http://www.example.com/example.txt。参数值当前必填。
12340
12349
 
12341
12350
  @property
12342
12351
  def Targets(self):
12343
- r"""要预热的资源列表,每个元素格式类似如下:
12344
- http://www.example.com/example.txt。参数值当前必填。
12352
+ r"""要预热的资源列表,必填。每个元素格式类似如下:
12353
+ http://www.example.com/example.txt
12345
12354
  注意:提交任务数受计费套餐配额限制,请查看 [EO计费套餐](https://cloud.tencent.com/document/product/1552/77380)。
12346
12355
  :rtype: list of str
12347
12356
  """
@@ -12351,6 +12360,24 @@ http://www.example.com/example.txt。参数值当前必填。
12351
12360
  def Targets(self, Targets):
12352
12361
  self._Targets = Targets
12353
12362
 
12363
+ @property
12364
+ def Mode(self):
12365
+ r"""预热模式,取值有:
12366
+ <li>default:默认模式,即预热到中间层;</li>
12367
+ <li>edge:边缘预热模式,即预热到边缘和中间层。</li>不填写时,默认值为 default。
12368
+ 注意事项:
12369
+ 1.预热至边缘产生的边缘层流量,会计入计费流量;
12370
+ 2.边缘预热默认分配单独的预热额度 1000 条/天,不消费常规预热额度。
12371
+ 说明:
12372
+ 该参数为白名单功能,如有需要,请联系腾讯云工程师处理。
12373
+ :rtype: str
12374
+ """
12375
+ return self._Mode
12376
+
12377
+ @Mode.setter
12378
+ def Mode(self, Mode):
12379
+ self._Mode = Mode
12380
+
12354
12381
  @property
12355
12382
  def EncodeUrl(self):
12356
12383
  warnings.warn("parameter `EncodeUrl` is deprecated", DeprecationWarning)
@@ -12368,7 +12395,7 @@ http://www.example.com/example.txt。参数值当前必填。
12368
12395
 
12369
12396
  @property
12370
12397
  def Headers(self):
12371
- r"""附带的http头部信息。
12398
+ r"""若需要携带 HTTP 头部信息预热,可入参该参数,否则放空即可。
12372
12399
  :rtype: list of Header
12373
12400
  """
12374
12401
  return self._Headers
@@ -12382,13 +12409,12 @@ http://www.example.com/example.txt。参数值当前必填。
12382
12409
  r"""媒体分片预热控制,取值有:
12383
12410
  <li>on:开启分片预热,预热描述文件,并递归解析描述文件分片进行预热;</li>
12384
12411
  <li>off:仅预热提交的描述文件;</li>不填写时,默认值为 off。
12385
-
12386
12412
  注意事项:
12387
12413
  1. 支持的描述文件为 M3U8,对应分片为 TS;
12388
12414
  2. 要求描述文件能正常请求,并按行业标准描述分片路径;
12389
12415
  3. 递归解析深度不超过 3 层;
12390
12416
  4. 解析获取的分片会正常累加每日预热用量,当用量超出配额时,会静默处理,不再执行预热。
12391
-
12417
+ 说明:
12392
12418
  该参数为白名单功能,如有需要,请联系腾讯云工程师处理。
12393
12419
  :rtype: str
12394
12420
  """
@@ -12402,6 +12428,7 @@ http://www.example.com/example.txt。参数值当前必填。
12402
12428
  def _deserialize(self, params):
12403
12429
  self._ZoneId = params.get("ZoneId")
12404
12430
  self._Targets = params.get("Targets")
12431
+ self._Mode = params.get("Mode")
12405
12432
  self._EncodeUrl = params.get("EncodeUrl")
12406
12433
  if params.get("Headers") is not None:
12407
12434
  self._Headers = []
@@ -36175,6 +36202,8 @@ class LoadBalancer(AbstractModel):
36175
36202
  :type L4UsedList: list of str
36176
36203
  :param _L7UsedList: 该负载均衡实例绑定的七层域名列表。
36177
36204
  :type L7UsedList: list of str
36205
+ :param _References: 负载均衡被引用实例的列表。
36206
+ :type References: list of OriginGroupReference
36178
36207
  """
36179
36208
  self._InstanceId = None
36180
36209
  self._Name = None
@@ -36186,6 +36215,7 @@ class LoadBalancer(AbstractModel):
36186
36215
  self._Status = None
36187
36216
  self._L4UsedList = None
36188
36217
  self._L7UsedList = None
36218
+ self._References = None
36189
36219
 
36190
36220
  @property
36191
36221
  def InstanceId(self):
@@ -36305,6 +36335,17 @@ class LoadBalancer(AbstractModel):
36305
36335
  def L7UsedList(self, L7UsedList):
36306
36336
  self._L7UsedList = L7UsedList
36307
36337
 
36338
+ @property
36339
+ def References(self):
36340
+ r"""负载均衡被引用实例的列表。
36341
+ :rtype: list of OriginGroupReference
36342
+ """
36343
+ return self._References
36344
+
36345
+ @References.setter
36346
+ def References(self, References):
36347
+ self._References = References
36348
+
36308
36349
 
36309
36350
  def _deserialize(self, params):
36310
36351
  self._InstanceId = params.get("InstanceId")
@@ -36324,6 +36365,12 @@ class LoadBalancer(AbstractModel):
36324
36365
  self._Status = params.get("Status")
36325
36366
  self._L4UsedList = params.get("L4UsedList")
36326
36367
  self._L7UsedList = params.get("L7UsedList")
36368
+ if params.get("References") is not None:
36369
+ self._References = []
36370
+ for item in params.get("References"):
36371
+ obj = OriginGroupReference()
36372
+ obj._deserialize(item)
36373
+ self._References.append(obj)
36327
36374
  memeber_set = set(params.keys())
36328
36375
  for name, value in vars(self).items():
36329
36376
  property_name = name[1:]
@@ -45367,27 +45414,36 @@ class OriginGroupReference(AbstractModel):
45367
45414
  def __init__(self):
45368
45415
  r"""
45369
45416
  :param _InstanceType: 引用服务类型,取值有:
45370
- <li>AccelerationDomain: 加速域名;</li>
45371
- <li>RuleEngine: 规则引擎;</li>
45372
- <li>Loadbalance: 负载均衡;</li>
45373
- <li>ApplicationProxy: 四层代理。</li>
45417
+ <li>acceleration-domain: 加速域名;</li>
45418
+ <li>rule-engine: 规则引擎;</li>
45419
+ <li>load-balancer: 负载均衡;</li>
45420
+ <li>application-proxy: 四层代理。</li>
45374
45421
  :type InstanceType: str
45375
45422
  :param _InstanceId: 引用类型的实例ID。
45376
45423
  :type InstanceId: str
45377
- :param _InstanceName: 应用类型的实例名称。
45424
+ :param _InstanceName: 引用类型的实例名称。
45378
45425
  :type InstanceName: str
45426
+ :param _ZoneId: 引用站点ID。
45427
+ :type ZoneId: str
45428
+ :param _ZoneName: 引用站点名称。
45429
+ :type ZoneName: str
45430
+ :param _AliasZoneName: 引用站点别名。
45431
+ :type AliasZoneName: str
45379
45432
  """
45380
45433
  self._InstanceType = None
45381
45434
  self._InstanceId = None
45382
45435
  self._InstanceName = None
45436
+ self._ZoneId = None
45437
+ self._ZoneName = None
45438
+ self._AliasZoneName = None
45383
45439
 
45384
45440
  @property
45385
45441
  def InstanceType(self):
45386
45442
  r"""引用服务类型,取值有:
45387
- <li>AccelerationDomain: 加速域名;</li>
45388
- <li>RuleEngine: 规则引擎;</li>
45389
- <li>Loadbalance: 负载均衡;</li>
45390
- <li>ApplicationProxy: 四层代理。</li>
45443
+ <li>acceleration-domain: 加速域名;</li>
45444
+ <li>rule-engine: 规则引擎;</li>
45445
+ <li>load-balancer: 负载均衡;</li>
45446
+ <li>application-proxy: 四层代理。</li>
45391
45447
  :rtype: str
45392
45448
  """
45393
45449
  return self._InstanceType
@@ -45409,7 +45465,7 @@ class OriginGroupReference(AbstractModel):
45409
45465
 
45410
45466
  @property
45411
45467
  def InstanceName(self):
45412
- r"""应用类型的实例名称。
45468
+ r"""引用类型的实例名称。
45413
45469
  :rtype: str
45414
45470
  """
45415
45471
  return self._InstanceName
@@ -45418,11 +45474,47 @@ class OriginGroupReference(AbstractModel):
45418
45474
  def InstanceName(self, InstanceName):
45419
45475
  self._InstanceName = InstanceName
45420
45476
 
45477
+ @property
45478
+ def ZoneId(self):
45479
+ r"""引用站点ID。
45480
+ :rtype: str
45481
+ """
45482
+ return self._ZoneId
45483
+
45484
+ @ZoneId.setter
45485
+ def ZoneId(self, ZoneId):
45486
+ self._ZoneId = ZoneId
45487
+
45488
+ @property
45489
+ def ZoneName(self):
45490
+ r"""引用站点名称。
45491
+ :rtype: str
45492
+ """
45493
+ return self._ZoneName
45494
+
45495
+ @ZoneName.setter
45496
+ def ZoneName(self, ZoneName):
45497
+ self._ZoneName = ZoneName
45498
+
45499
+ @property
45500
+ def AliasZoneName(self):
45501
+ r"""引用站点别名。
45502
+ :rtype: str
45503
+ """
45504
+ return self._AliasZoneName
45505
+
45506
+ @AliasZoneName.setter
45507
+ def AliasZoneName(self, AliasZoneName):
45508
+ self._AliasZoneName = AliasZoneName
45509
+
45421
45510
 
45422
45511
  def _deserialize(self, params):
45423
45512
  self._InstanceType = params.get("InstanceType")
45424
45513
  self._InstanceId = params.get("InstanceId")
45425
45514
  self._InstanceName = params.get("InstanceName")
45515
+ self._ZoneId = params.get("ZoneId")
45516
+ self._ZoneName = params.get("ZoneName")
45517
+ self._AliasZoneName = params.get("AliasZoneName")
45426
45518
  memeber_set = set(params.keys())
45427
45519
  for name, value in vars(self).items():
45428
45520
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-teo
3
- Version: 3.1.13
3
+ Version: 3.1.17
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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.13
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.17
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.17
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.13