tencentcloud-sdk-python-cdn 3.0.889__py2.py3-none-any.whl → 3.0.893__py2.py3-none-any.whl

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.

Potentially problematic release.


This version of tencentcloud-sdk-python-cdn might be problematic. Click here for more details.

tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.889'
17
+ __version__ = '3.0.893'
@@ -83,6 +83,9 @@ INTERNALERROR_SYSTEMERROR = 'InternalError.SystemError'
83
83
  # 标签内部错误,请重试或联系客服人员解决。
84
84
  INTERNALERROR_TAGSYSTEMERROR = 'InternalError.TagSystemError'
85
85
 
86
+ # 内部服务错误,请联系腾讯云工程师进一步排查。
87
+ INTERNALERROR_UNKNOWNERROR = 'InternalError.UnknownError'
88
+
86
89
  # 参数错误。
87
90
  INVALIDPARAMETER = 'InvalidParameter'
88
91
 
@@ -961,7 +961,9 @@ class AdvancedCCRules(AbstractModel):
961
961
  :param Configure: 七层限频具体配置
962
962
  注意:此字段可能返回 null,表示取不到有效值。
963
963
  :type Configure: list of ScdnSevenLayerRules
964
- :param Switch: 是否开启改规则 on 开启,off关闭
964
+ :param Switch: 自定义cc规则配置开关,取值有:
965
+ on:开启
966
+ off:关闭
965
967
  注意:此字段可能返回 null,表示取不到有效值。
966
968
  :type Switch: str
967
969
  """
@@ -10881,6 +10883,7 @@ class Origin(AbstractModel):
10881
10883
  domain:域名类型
10882
10884
  domainv6:域名解析V6类型
10883
10885
  cos:对象存储源站
10886
+ third_party: 第三方存储源站
10884
10887
  ip:IP 列表作为源站
10885
10888
  ipv6:源站列表为一个单独的 IPv6 地址
10886
10889
  ip_ipv6:源站列表为多个 IPv4 地址和IPv6 地址
@@ -10946,7 +10949,12 @@ ip_ipv6_domain:源站列表为多个 IPv4 地址IPv6 地址以及域名
10946
10949
  :param AdvanceHttps: HTTPS回源高级配置
10947
10950
  注意:此字段可能返回 null,表示取不到有效值。
10948
10951
  :type AdvanceHttps: :class:`tencentcloud.cdn.v20180606.models.AdvanceHttps`
10949
- :param OriginCompany: 对象存储回源厂商
10952
+ :param OriginCompany: 对象存储回源厂商,当源站类型为第三方存储源站(third_party)时必填,可选值包括以下:
10953
+ aws_s3: AWS S3
10954
+ ali_oss: 阿里云 OSS
10955
+ hw_obs: 华为 OBS
10956
+ qiniu_kodo: 七牛云 kodo
10957
+ others: 其它厂商对象存储,仅支持兼容以AWS签名算法的对象存储,如腾讯云金融专区COS
10950
10958
  注意:此字段可能返回 null,表示取不到有效值。
10951
10959
  :type OriginCompany: str
10952
10960
  """
@@ -11975,13 +11983,19 @@ class QueryStringKey(AbstractModel):
11975
11983
 
11976
11984
  def __init__(self):
11977
11985
  r"""
11978
- :param Switch: on | off CacheKey是否由QueryString组成
11986
+ :param Switch: CacheKey是否由QueryString组成配置开关,取值有:
11987
+ on:开启
11988
+ off:关闭
11979
11989
  注意:此字段可能返回 null,表示取不到有效值。
11980
11990
  :type Switch: str
11981
11991
  :param Reorder: 是否重新排序
11982
11992
  注意:此字段可能返回 null,表示取不到有效值。
11983
11993
  :type Reorder: str
11984
- :param Action: includeAll | excludeAll | includeCustom | excludeCustom 使用/排除部分url参数
11994
+ :param Action: 使用/排除部分url参数,取值有:
11995
+ includeAll:包含所有
11996
+ excludeAll:排除所有
11997
+ includeCustom:自定义包含
11998
+ excludeCustom:自定义排除
11985
11999
  注意:此字段可能返回 null,表示取不到有效值。
11986
12000
  :type Action: str
11987
12001
  :param Value: 使用/排除的url参数数组,';' 分割
@@ -13037,7 +13051,9 @@ index:首页
13037
13051
  :param FrequencyLimit: 限频阈值
13038
13052
  注意:此字段可能返回 null,表示取不到有效值。
13039
13053
  :type FrequencyLimit: int
13040
- :param PunishmentSwitch: IP 惩罚开关,可选on|off
13054
+ :param PunishmentSwitch: IP 惩罚配置开关,取值有:
13055
+ on:开启
13056
+ off:关闭
13041
13057
  注意:此字段可能返回 null,表示取不到有效值。
13042
13058
  :type PunishmentSwitch: str
13043
13059
  :param PunishmentTime: IP 惩罚时长
@@ -13087,7 +13103,9 @@ class ScdnConfig(AbstractModel):
13087
13103
 
13088
13104
  def __init__(self):
13089
13105
  r"""
13090
- :param Switch: on | off
13106
+ :param Switch: scdn cc配置开关,取值有:
13107
+ on:开启
13108
+ off:关闭
13091
13109
  :type Switch: str
13092
13110
  :param Rules: 自定义 cc 防护规则
13093
13111
  注意:此字段可能返回 null,表示取不到有效值。
@@ -13141,7 +13159,9 @@ class ScdnDdosConfig(AbstractModel):
13141
13159
 
13142
13160
  def __init__(self):
13143
13161
  r"""
13144
- :param Switch: on|off
13162
+ :param Switch: Scdn ddos配置开关,取值有:
13163
+ on:开启
13164
+ off:关闭
13145
13165
  :type Switch: str
13146
13166
  """
13147
13167
  self.Switch = None
@@ -13678,7 +13698,9 @@ class ScdnWafConfig(AbstractModel):
13678
13698
 
13679
13699
  def __init__(self):
13680
13700
  r"""
13681
- :param Switch: on|off
13701
+ :param Switch: Scdn waf配置开关,取值有:
13702
+ on:开启
13703
+ off:关闭
13682
13704
  :type Switch: str
13683
13705
  :param Mode: intercept|observe,默认intercept
13684
13706
  注意:此字段可能返回 null,表示取不到有效值。
@@ -13686,7 +13708,9 @@ class ScdnWafConfig(AbstractModel):
13686
13708
  :param ErrorPage: 重定向的错误页面
13687
13709
  注意:此字段可能返回 null,表示取不到有效值。
13688
13710
  :type ErrorPage: :class:`tencentcloud.cdn.v20180606.models.ScdnErrorPage`
13689
- :param WebShellSwitch: webshell拦截开关,on|off,默认off
13711
+ :param WebShellSwitch: webshell拦截配置开关,取值有:
13712
+ on:开启
13713
+ off:关闭
13690
13714
  注意:此字段可能返回 null,表示取不到有效值。
13691
13715
  :type WebShellSwitch: str
13692
13716
  :param Rules: 类型拦截规则
@@ -13695,7 +13719,9 @@ class ScdnWafConfig(AbstractModel):
13695
13719
  :param Level: waf规则等级,可取100|200|300
13696
13720
  注意:此字段可能返回 null,表示取不到有效值。
13697
13721
  :type Level: int
13698
- :param SubRuleSwitch: waf子规则开关
13722
+ :param SubRuleSwitch: waf子规则配置开关,取值有:
13723
+ on:开启
13724
+ off:关闭
13699
13725
  注意:此字段可能返回 null,表示取不到有效值。
13700
13726
  :type SubRuleSwitch: list of WafSubRuleStatus
13701
13727
  """
@@ -13772,7 +13798,9 @@ class SchemeKey(AbstractModel):
13772
13798
 
13773
13799
  def __init__(self):
13774
13800
  r"""
13775
- :param Switch: on | off 是否使用scheme作为cache key的一部分
13801
+ :param Switch: scheme作为cache key配置开关,取值有:
13802
+ on:开启
13803
+ off:关闭
13776
13804
  注意:此字段可能返回 null,表示取不到有效值。
13777
13805
  :type Switch: str
13778
13806
  """
@@ -13876,7 +13904,9 @@ class SecurityConfig(AbstractModel):
13876
13904
 
13877
13905
  def __init__(self):
13878
13906
  r"""
13879
- :param Switch: on|off
13907
+ :param Switch: scdn 安全配置开关,取值有:
13908
+ on:开启
13909
+ off:关闭
13880
13910
  :type Switch: str
13881
13911
  """
13882
13912
  self.Switch = None
@@ -13900,7 +13930,7 @@ class Seo(AbstractModel):
13900
13930
 
13901
13931
  def __init__(self):
13902
13932
  r"""
13903
- :param Switch: SEO 配置开关
13933
+ :param Switch: SEO 搜索引擎优化配置开关,取值有:
13904
13934
  on:开启
13905
13935
  off:关闭
13906
13936
  注意:此字段可能返回 null,表示取不到有效值。
@@ -13989,14 +14019,16 @@ class ServerCert(AbstractModel):
13989
14019
 
13990
14020
  class ShareCname(AbstractModel):
13991
14021
  """ShareCname配置
14022
+ ShareCname 为内测功能,如需使用,请联系腾讯云工程师开白.
13992
14023
 
13993
14024
  """
13994
14025
 
13995
14026
  def __init__(self):
13996
14027
  r"""
13997
- :param Switch: ShareCname 配置开关, 开关为off时,域名使用默认CNAME,若需要使用共享CNAME,将开关置为on.
14028
+ :param Switch: ShareCname 配置开关, 取值有:
14029
+ on:开启,使用共享CNAME
14030
+ off:关闭,使用默认CNAME
13998
14031
 
13999
- * ShareCname 为内测功能,如需使用,请联系腾讯云工程师开白.
14000
14032
  :type Switch: str
14001
14033
  :param Cname: 设置共享CNAME.
14002
14034
  注意:此字段可能返回 null,表示取不到有效值。
@@ -14308,7 +14340,9 @@ class StatisticItem(AbstractModel):
14308
14340
  :param AlertPercentage: 触发提醒阈值百分比
14309
14341
  注意:此字段可能返回 null,表示取不到有效值。
14310
14342
  :type AlertPercentage: int
14311
- :param AlertSwitch: 提醒开关 on/off
14343
+ :param AlertSwitch: 累计用量封顶告警配置,取值有:
14344
+ on:开启
14345
+ off:关闭
14312
14346
  注意:此字段可能返回 null,表示取不到有效值。
14313
14347
  :type AlertSwitch: str
14314
14348
  :param Metric: 指标类型,流量flux或带宽bandwidth
@@ -14317,7 +14351,9 @@ class StatisticItem(AbstractModel):
14317
14351
  :param Cycle: 检测周期,单位分钟,60或1440
14318
14352
  注意:此字段可能返回 null,表示取不到有效值。
14319
14353
  :type Cycle: int
14320
- :param Switch: 是否开启该选项,on/off
14354
+ :param Switch: 累计用量封顶配置开关,取值有:
14355
+ on:开启
14356
+ off:关闭
14321
14357
  注意:此字段可能返回 null,表示取不到有效值。
14322
14358
  :type Switch: str
14323
14359
  """
@@ -14358,7 +14394,7 @@ class StatusCodeCache(AbstractModel):
14358
14394
 
14359
14395
  def __init__(self):
14360
14396
  r"""
14361
- :param Switch: 状态码缓存过期配置开关
14397
+ :param Switch: 状态码缓存过期配置开关,取值有:
14362
14398
  on:开启
14363
14399
  off:关闭
14364
14400
  注意:此字段可能返回 null,表示取不到有效值。
@@ -14779,7 +14815,9 @@ class TpgAdapter(AbstractModel):
14779
14815
 
14780
14816
  def __init__(self):
14781
14817
  r"""
14782
- :param Switch: 开关,"on/off"
14818
+ :param Switch: 图片优化-TpgAdapter配置开关,取值有:
14819
+ on:开启
14820
+ off:关闭
14783
14821
  注意:此字段可能返回 null,表示取不到有效值。
14784
14822
  :type Switch: str
14785
14823
  """
@@ -15475,7 +15513,7 @@ class UrlRedirect(AbstractModel):
15475
15513
 
15476
15514
  def __init__(self):
15477
15515
  r"""
15478
- :param Switch: 访问URL重写配置开关
15516
+ :param Switch: 访问URL重写配置开关,取值有:
15479
15517
  on:开启
15480
15518
  off:关闭
15481
15519
  :type Switch: str
@@ -15553,7 +15591,9 @@ class UserAgentFilter(AbstractModel):
15553
15591
 
15554
15592
  def __init__(self):
15555
15593
  r"""
15556
- :param Switch: 开关,on或off
15594
+ :param Switch: UserAgent黑白名单配置开关,取值有:
15595
+ on:开启
15596
+ off:关闭
15557
15597
  注意:此字段可能返回 null,表示取不到有效值。
15558
15598
  :type Switch: str
15559
15599
  :param FilterRules: UA黑白名单生效规则列表
@@ -15683,7 +15723,7 @@ class VideoSeek(AbstractModel):
15683
15723
 
15684
15724
  def __init__(self):
15685
15725
  r"""
15686
- :param Switch: 视频拖拽开关
15726
+ :param Switch: 视频拖拽配置开关,取值有:
15687
15727
  on:开启
15688
15728
  off:关闭
15689
15729
  :type Switch: str
@@ -15758,7 +15798,9 @@ class WafSubRuleStatus(AbstractModel):
15758
15798
 
15759
15799
  def __init__(self):
15760
15800
  r"""
15761
- :param Switch: 子规则状态,on|off
15801
+ :param Switch: Waf子规则开关状态配置开关,取值有:
15802
+ on:开启
15803
+ off:关闭
15762
15804
  :type Switch: str
15763
15805
  :param SubIds: 规则id列表
15764
15806
  :type SubIds: list of int
@@ -15781,14 +15823,16 @@ class WafSubRuleStatus(AbstractModel):
15781
15823
 
15782
15824
  class WebSocket(AbstractModel):
15783
15825
  """WebSocket配置
15826
+ WebSocket 为ECDN产品功能,如需使用请通过ECDN域名配置.
15784
15827
 
15785
15828
  """
15786
15829
 
15787
15830
  def __init__(self):
15788
15831
  r"""
15789
- :param Switch: WebSocket 超时配置开关, 开关为off时,平台仍支持WebSocket连接,此时超时时间默认为15秒,若需要调整超时时间,将开关置为on.
15832
+ :param Switch: WebSocket 超时配置开关,取值有:
15833
+ on:开启,可以调整超时时间
15834
+ off:关闭,平台仍支持WebSocket连接,此时超时时间默认为15秒
15790
15835
 
15791
- * WebSocket 为ECDN产品功能,如需使用请通过ECDN域名配置.
15792
15836
  :type Switch: str
15793
15837
  :param Timeout: 设置超时时间,单位为秒,最大超时时间300秒。
15794
15838
  注意:此字段可能返回 null,表示取不到有效值。
@@ -15817,7 +15861,9 @@ class WebpAdapter(AbstractModel):
15817
15861
 
15818
15862
  def __init__(self):
15819
15863
  r"""
15820
- :param Switch: 开关,"on/off"
15864
+ :param Switch: 图片优化-WebpAdapter配置开关,取值有:
15865
+ on:开启
15866
+ off:关闭
15821
15867
  注意:此字段可能返回 null,表示取不到有效值。
15822
15868
  :type Switch: str
15823
15869
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cdn
3
- Version: 3.0.889
3
+ Version: 3.0.893
4
4
  Summary: Tencent Cloud Cdn SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=zVxcZwwgcVQtQondCGzhYm0Xf8rvrtQFXCoAPBFkG5E,630
2
+ tencentcloud/cdn/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/cdn/v20180606/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/cdn/v20180606/cdn_client.py,sha256=NZs9ke5oLo6M0D04aVyfrUI27sS88jKOBkmNH2NskRU,80657
5
+ tencentcloud/cdn/v20180606/errorcodes.py,sha256=7Y78eQ-xT36EqHxKChaQ7rHJa6MnaHBNJOEfY_f5_9U,21972
6
+ tencentcloud/cdn/v20180606/models.py,sha256=V7J26B3DgdWY-YWJodCYmcgdBgv3eOp5Ez2kxhOiTaI,569936
7
+ tencentcloud_sdk_python_cdn-3.0.893.dist-info/METADATA,sha256=0KSuS07fP9iO1eLXkqKIFARRMkWgp_6tIuH0JgYEUeQ,1432
8
+ tencentcloud_sdk_python_cdn-3.0.893.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_cdn-3.0.893.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_cdn-3.0.893.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=PyuV8-TLQa6OlEaTBVNlUuk0TNBtQ6EB0hx9VIG236Y,630
2
- tencentcloud/cdn/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/cdn/v20180606/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/cdn/v20180606/cdn_client.py,sha256=NZs9ke5oLo6M0D04aVyfrUI27sS88jKOBkmNH2NskRU,80657
5
- tencentcloud/cdn/v20180606/errorcodes.py,sha256=04vgMkvwCDkSLE3HW1_7UUM-7FxcQO7514s7Qt3U1es,21844
6
- tencentcloud/cdn/v20180606/models.py,sha256=tEi4pjxVWOFDjRYL5HfiugULp7MuXeHj7bRbpy_6O9o,568745
7
- tencentcloud_sdk_python_cdn-3.0.889.dist-info/METADATA,sha256=7xu5S7X3HvWvw-KbGunFCx2tS_caN2zjP_ujYA-KP1c,1432
8
- tencentcloud_sdk_python_cdn-3.0.889.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_cdn-3.0.889.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_cdn-3.0.889.dist-info/RECORD,,