tencentcloud-sdk-python-waf 3.0.1195__tar.gz → 3.0.1211__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.
- {tencentcloud-sdk-python-waf-3.0.1195 → tencentcloud-sdk-python-waf-3.0.1211}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-waf-3.0.1195 → tencentcloud-sdk-python-waf-3.0.1211}/setup.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.1195 → tencentcloud-sdk-python-waf-3.0.1211}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.1195 → tencentcloud-sdk-python-waf-3.0.1211}/tencentcloud/waf/v20180125/models.py +13 -41
- {tencentcloud-sdk-python-waf-3.0.1195 → tencentcloud-sdk-python-waf-3.0.1211}/tencentcloud_sdk_python_waf.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-waf-3.0.1211/tencentcloud_sdk_python_waf.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-waf-3.0.1195/tencentcloud_sdk_python_waf.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-waf-3.0.1195 → tencentcloud-sdk-python-waf-3.0.1211}/README.rst +0 -0
- {tencentcloud-sdk-python-waf-3.0.1195 → tencentcloud-sdk-python-waf-3.0.1211}/setup.cfg +0 -0
- {tencentcloud-sdk-python-waf-3.0.1195 → tencentcloud-sdk-python-waf-3.0.1211}/tencentcloud/waf/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1195 → tencentcloud-sdk-python-waf-3.0.1211}/tencentcloud/waf/v20180125/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1195 → tencentcloud-sdk-python-waf-3.0.1211}/tencentcloud/waf/v20180125/errorcodes.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1195 → tencentcloud-sdk-python-waf-3.0.1211}/tencentcloud/waf/v20180125/waf_client.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1195 → tencentcloud-sdk-python-waf-3.0.1211}/tencentcloud_sdk_python_waf.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.1195 → tencentcloud-sdk-python-waf-3.0.1211}/tencentcloud_sdk_python_waf.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.1195 → tencentcloud-sdk-python-waf-3.0.1211}/tencentcloud_sdk_python_waf.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-waf',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1211"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Waf SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -24276,10 +24276,7 @@ class ModifySpartaProtectionRequest(AbstractModel):
|
|
|
24276
24276
|
:type DomainId: str
|
|
24277
24277
|
:param _InstanceID: 必填项。域名所属实例id
|
|
24278
24278
|
:type InstanceID: str
|
|
24279
|
-
:param _CertType:
|
|
24280
|
-
0:仅配置HTTP监听端口,没有证书
|
|
24281
|
-
1:证书来源为自有证书
|
|
24282
|
-
2:证书来源为托管证书
|
|
24279
|
+
:param _CertType: 证书类型。0:仅配置HTTP监听端口,没有证书1:证书来源为自有证书2:证书来源为托管证书
|
|
24283
24280
|
:type CertType: int
|
|
24284
24281
|
:param _Cert: CertType为1时,需要填充此参数,表示自有证书的证书链
|
|
24285
24282
|
:type Cert: str
|
|
@@ -24287,11 +24284,7 @@ class ModifySpartaProtectionRequest(AbstractModel):
|
|
|
24287
24284
|
:type PrivateKey: str
|
|
24288
24285
|
:param _SSLId: CertType为2时,需要填充此参数,表示腾讯云SSL平台托管的证书id
|
|
24289
24286
|
:type SSLId: str
|
|
24290
|
-
:param _IsCdn:
|
|
24291
|
-
0:没有部署代理服务
|
|
24292
|
-
1:有部署代理服务,waf将使用XFF获取客户端IP
|
|
24293
|
-
2:有部署代理服务,waf将使用remote_addr获取客户端IP
|
|
24294
|
-
3:有部署代理服务,waf将使用ip_headers中的自定义header获取客户端IP
|
|
24287
|
+
:param _IsCdn: waf前是否部署有七层代理服务。0:没有部署代理服务1:有部署代理服务,waf将使用XFF获取客户端IP2:有部署代理服务,waf将使用remote_addr获取客户端IP3:有部署代理服务,waf将使用ip_headers中的自定义header获取客户端IP
|
|
24295
24288
|
:type IsCdn: int
|
|
24296
24289
|
:param _UpstreamScheme: 服务配置有HTTPS端口时,HTTPS的回源协议。
|
|
24297
24290
|
http:使用http协议回源,和HttpsUpstreamPort配合使用
|
|
@@ -24299,58 +24292,39 @@ https:使用https协议回源
|
|
|
24299
24292
|
:type UpstreamScheme: str
|
|
24300
24293
|
:param _HttpsUpstreamPort: HTTPS回源端口,仅UpstreamScheme为http时需要填当前字段
|
|
24301
24294
|
:type HttpsUpstreamPort: str
|
|
24302
|
-
:param _HttpsRewrite:
|
|
24303
|
-
0:不强制跳转
|
|
24304
|
-
1:开启强制跳转
|
|
24295
|
+
:param _HttpsRewrite: 是否开启HTTP强制跳转到HTTPS。0:不强制跳转1:开启强制跳转
|
|
24305
24296
|
:type HttpsRewrite: int
|
|
24306
|
-
:param _UpstreamType:
|
|
24307
|
-
0:通过IP回源
|
|
24308
|
-
1:通过域名回源
|
|
24297
|
+
:param _UpstreamType: 回源类型。0:通过IP回源1:通过域名回源
|
|
24309
24298
|
:type UpstreamType: int
|
|
24310
24299
|
:param _UpstreamDomain: 域名回源时的回源域名。UpstreamType为1时,需要填充此字段
|
|
24311
24300
|
:type UpstreamDomain: str
|
|
24312
24301
|
:param _SrcList: IP回源时的回源IP列表。UpstreamType为0时,需要填充此字段
|
|
24313
24302
|
:type SrcList: list of str
|
|
24314
|
-
:param _IsHttp2:
|
|
24315
|
-
0:关闭
|
|
24316
|
-
1:开启
|
|
24303
|
+
:param _IsHttp2: 是否开启HTTP2,需要开启HTTPS协议支持。0:关闭1:开启
|
|
24317
24304
|
:type IsHttp2: int
|
|
24318
|
-
:param _IsWebsocket:
|
|
24319
|
-
0:关闭
|
|
24320
|
-
1:开启
|
|
24305
|
+
:param _IsWebsocket: 是否开启WebSocket支持。0:关闭1:开启
|
|
24321
24306
|
:type IsWebsocket: int
|
|
24322
|
-
:param _LoadBalance:
|
|
24323
|
-
0:轮询
|
|
24324
|
-
1:IP hash
|
|
24325
|
-
2:加权轮询
|
|
24307
|
+
:param _LoadBalance: 回源负载均衡策略。0:轮询1:IP hash2:加权轮询
|
|
24326
24308
|
:type LoadBalance: int
|
|
24327
24309
|
:param _IsGray: 待废弃,可不填。是否开启灰度,0表示不开启灰度。
|
|
24328
24310
|
:type IsGray: int
|
|
24329
24311
|
:param _Edition: 域名所属实例类型
|
|
24330
24312
|
:type Edition: str
|
|
24331
|
-
:param _Ports:
|
|
24313
|
+
:param _Ports: 端口信息,可通过DescribeDomains接口获取具体参数信息。
|
|
24332
24314
|
:type Ports: list of SpartaProtectionPort
|
|
24333
|
-
:param _IsKeepAlive:
|
|
24334
|
-
0: 短连接
|
|
24335
|
-
1: 长连接
|
|
24315
|
+
:param _IsKeepAlive: 是否开启长连接。0: 短连接1: 长连接
|
|
24336
24316
|
:type IsKeepAlive: str
|
|
24337
|
-
:param _Anycast:
|
|
24317
|
+
:param _Anycast: 待废弃。目前填0即可。anycast IP类型开关: 0 普通IP 1 Anycast IP
|
|
24338
24318
|
:type Anycast: int
|
|
24339
24319
|
:param _Weights: 回源IP列表各IP的权重,和SrcList一一对应。当且仅当UpstreamType为0,并且SrcList有多个IP,并且LoadBalance为2时需要填写,否则填 []
|
|
24340
24320
|
:type Weights: list of int
|
|
24341
|
-
:param _ActiveCheck:
|
|
24342
|
-
0:不开启
|
|
24343
|
-
1:开启
|
|
24321
|
+
:param _ActiveCheck: 是否开启主动健康检测。0:不开启1:开启
|
|
24344
24322
|
:type ActiveCheck: int
|
|
24345
24323
|
:param _TLSVersion: TLS版本信息
|
|
24346
24324
|
:type TLSVersion: int
|
|
24347
24325
|
:param _Ciphers: 加密套件信息
|
|
24348
24326
|
:type Ciphers: list of int
|
|
24349
|
-
:param _CipherTemplate:
|
|
24350
|
-
0:不支持选择,使用默认模板
|
|
24351
|
-
1:通用型模板
|
|
24352
|
-
2:安全型模板
|
|
24353
|
-
3:自定义模板
|
|
24327
|
+
:param _CipherTemplate: 加密套件模板。0:不支持选择,使用默认模板 1:通用型模板 2:安全型模板3:自定义模板
|
|
24354
24328
|
:type CipherTemplate: int
|
|
24355
24329
|
:param _ProxyReadTimeout: WAF与源站的读超时时间,默认300s。
|
|
24356
24330
|
:type ProxyReadTimeout: int
|
|
@@ -24366,9 +24340,7 @@ https:使用https协议回源
|
|
|
24366
24340
|
:type SniHost: str
|
|
24367
24341
|
:param _IpHeaders: IsCdn=3时,需要填此参数,表示自定义header
|
|
24368
24342
|
:type IpHeaders: list of str
|
|
24369
|
-
:param _XFFReset:
|
|
24370
|
-
0:关闭
|
|
24371
|
-
1:开启
|
|
24343
|
+
:param _XFFReset: 是否开启XFF重置。0:关闭1:开启
|
|
24372
24344
|
:type XFFReset: int
|
|
24373
24345
|
:param _Note: 域名备注信息
|
|
24374
24346
|
:type Note: str
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1211
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1195
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|