tencentcloud-sdk-python-tse 3.1.200__tar.gz → 3.1.207__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_tse-3.1.200 → tencentcloud_sdk_python_tse-3.1.207}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tse-3.1.200 → tencentcloud_sdk_python_tse-3.1.207}/setup.py +1 -1
- {tencentcloud_sdk_python_tse-3.1.200 → tencentcloud_sdk_python_tse-3.1.207}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tse-3.1.200 → tencentcloud_sdk_python_tse-3.1.207}/tencentcloud/tse/v20201207/errorcodes.py +3 -0
- {tencentcloud_sdk_python_tse-3.1.200 → tencentcloud_sdk_python_tse-3.1.207}/tencentcloud/tse/v20201207/models.py +444 -174
- {tencentcloud_sdk_python_tse-3.1.200 → tencentcloud_sdk_python_tse-3.1.207}/tencentcloud/tse/v20201207/tse_client.py +1 -1
- {tencentcloud_sdk_python_tse-3.1.200 → tencentcloud_sdk_python_tse-3.1.207}/tencentcloud/tse/v20201207/tse_client_async.py +1 -1
- {tencentcloud_sdk_python_tse-3.1.200 → tencentcloud_sdk_python_tse-3.1.207}/tencentcloud_sdk_python_tse.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tse-3.1.207/tencentcloud_sdk_python_tse.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tse-3.1.200/tencentcloud_sdk_python_tse.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tse-3.1.200 → tencentcloud_sdk_python_tse-3.1.207}/README.rst +0 -0
- {tencentcloud_sdk_python_tse-3.1.200 → tencentcloud_sdk_python_tse-3.1.207}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tse-3.1.200 → tencentcloud_sdk_python_tse-3.1.207}/tencentcloud/tse/__init__.py +0 -0
- {tencentcloud_sdk_python_tse-3.1.200 → tencentcloud_sdk_python_tse-3.1.207}/tencentcloud/tse/v20201207/__init__.py +0 -0
- {tencentcloud_sdk_python_tse-3.1.200 → tencentcloud_sdk_python_tse-3.1.207}/tencentcloud_sdk_python_tse.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tse-3.1.200 → tencentcloud_sdk_python_tse-3.1.207}/tencentcloud_sdk_python_tse.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tse-3.1.200 → tencentcloud_sdk_python_tse-3.1.207}/tencentcloud_sdk_python_tse.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tse
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.207
|
|
4
4
|
Summary: Tencent Cloud Tse 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.207
|
|
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-tse',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.207,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tse SDK for Python',
|
|
@@ -119,6 +119,9 @@ INVALIDPARAMETERVALUE_GATEWAYID = 'InvalidParameterValue.GatewayId'
|
|
|
119
119
|
# 无效的参数值。
|
|
120
120
|
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUE = 'InvalidParameterValue.InvalidParameterValue'
|
|
121
121
|
|
|
122
|
+
# InvalidParameterValue.Malformed
|
|
123
|
+
INVALIDPARAMETERVALUE_MALFORMED = 'InvalidParameterValue.Malformed'
|
|
124
|
+
|
|
122
125
|
# 无效的名称。
|
|
123
126
|
INVALIDPARAMETERVALUE_NAME = 'InvalidParameterValue.Name'
|
|
124
127
|
|
|
@@ -7983,6 +7983,8 @@ class CloudNativeAPIGatewayNode(AbstractModel):
|
|
|
7983
7983
|
:type Weight: int
|
|
7984
7984
|
:param _IsDefaultWeight: 是否默认权重
|
|
7985
7985
|
:type IsDefaultWeight: bool
|
|
7986
|
+
:param _NodeType: 节点类型
|
|
7987
|
+
:type NodeType: str
|
|
7986
7988
|
"""
|
|
7987
7989
|
self._NodeId = None
|
|
7988
7990
|
self._NodeIp = None
|
|
@@ -7993,6 +7995,7 @@ class CloudNativeAPIGatewayNode(AbstractModel):
|
|
|
7993
7995
|
self._Status = None
|
|
7994
7996
|
self._Weight = None
|
|
7995
7997
|
self._IsDefaultWeight = None
|
|
7998
|
+
self._NodeType = None
|
|
7996
7999
|
|
|
7997
8000
|
@property
|
|
7998
8001
|
def NodeId(self):
|
|
@@ -8093,6 +8096,17 @@ class CloudNativeAPIGatewayNode(AbstractModel):
|
|
|
8093
8096
|
def IsDefaultWeight(self, IsDefaultWeight):
|
|
8094
8097
|
self._IsDefaultWeight = IsDefaultWeight
|
|
8095
8098
|
|
|
8099
|
+
@property
|
|
8100
|
+
def NodeType(self):
|
|
8101
|
+
r"""节点类型
|
|
8102
|
+
:rtype: str
|
|
8103
|
+
"""
|
|
8104
|
+
return self._NodeType
|
|
8105
|
+
|
|
8106
|
+
@NodeType.setter
|
|
8107
|
+
def NodeType(self, NodeType):
|
|
8108
|
+
self._NodeType = NodeType
|
|
8109
|
+
|
|
8096
8110
|
|
|
8097
8111
|
def _deserialize(self, params):
|
|
8098
8112
|
self._NodeId = params.get("NodeId")
|
|
@@ -8104,6 +8118,7 @@ class CloudNativeAPIGatewayNode(AbstractModel):
|
|
|
8104
8118
|
self._Status = params.get("Status")
|
|
8105
8119
|
self._Weight = params.get("Weight")
|
|
8106
8120
|
self._IsDefaultWeight = params.get("IsDefaultWeight")
|
|
8121
|
+
self._NodeType = params.get("NodeType")
|
|
8107
8122
|
memeber_set = set(params.keys())
|
|
8108
8123
|
for name, value in vars(self).items():
|
|
8109
8124
|
property_name = name[1:]
|
|
@@ -13465,43 +13480,38 @@ class CreateCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
13465
13480
|
|
|
13466
13481
|
def __init__(self):
|
|
13467
13482
|
r"""
|
|
13468
|
-
:param _Name:
|
|
13483
|
+
:param _Name: <p>云原生API网关名字, 最多支持60个字符。</p>
|
|
13469
13484
|
:type Name: str
|
|
13470
|
-
:param _Type:
|
|
13485
|
+
:param _Type: <p>云原生API网关类型, 目前只支持kong。</p>
|
|
13471
13486
|
:type Type: str
|
|
13472
|
-
:param _GatewayVersion:
|
|
13473
|
-
- 2.4.1
|
|
13474
|
-
- 2.5.1
|
|
13487
|
+
:param _GatewayVersion: <p>云原生API网关版本。参考值:</p><ul><li>2.4.1</li><li>2.5.1</li></ul>
|
|
13475
13488
|
:type GatewayVersion: str
|
|
13476
|
-
:param _NodeConfig:
|
|
13489
|
+
:param _NodeConfig: <p>云原生API网关节点配置。</p>
|
|
13477
13490
|
:type NodeConfig: :class:`tencentcloud.tse.v20201207.models.CloudNativeAPIGatewayNodeConfig`
|
|
13478
|
-
:param _VpcConfig:
|
|
13491
|
+
:param _VpcConfig: <p>云原生API网关vpc配置。</p>
|
|
13479
13492
|
:type VpcConfig: :class:`tencentcloud.tse.v20201207.models.CloudNativeAPIGatewayVpcConfig`
|
|
13480
|
-
:param _Description:
|
|
13493
|
+
:param _Description: <p>云原生API网关描述信息, 最多支持120个字符。</p>
|
|
13481
13494
|
:type Description: str
|
|
13482
|
-
:param _Tags:
|
|
13495
|
+
:param _Tags: <p>标签列表</p>
|
|
13483
13496
|
:type Tags: list of InstanceTagInfo
|
|
13484
|
-
:param _EnableCls:
|
|
13497
|
+
:param _EnableCls: <p>是否开启 CLS 日志。默认值:fasle</p>
|
|
13485
13498
|
:type EnableCls: bool
|
|
13486
|
-
:param _FeatureVersion:
|
|
13487
|
-
- TRIAL:开发版
|
|
13488
|
-
- STANDARD:标准版 (默认值)
|
|
13489
|
-
- PROFESSIONAL:专业版
|
|
13499
|
+
:param _FeatureVersion: <p>产品版本</p><p>枚举值:</p><ul><li>STANDARD: 标准版</li><li>PROFESSIONAL: 专业版</li></ul>
|
|
13490
13500
|
:type FeatureVersion: str
|
|
13491
|
-
:param _InternetMaxBandwidthOut:
|
|
13501
|
+
:param _InternetMaxBandwidthOut: <p>公网出流量带宽,[1,2048]Mbps</p>
|
|
13492
13502
|
:type InternetMaxBandwidthOut: int
|
|
13493
|
-
:param _EngineRegion:
|
|
13503
|
+
:param _EngineRegion: <p>实例实际的地域信息,默认值:ap-guangzhou</p>
|
|
13494
13504
|
:type EngineRegion: str
|
|
13495
|
-
:param _IngressClassName: ingress Class
|
|
13505
|
+
:param _IngressClassName: <p>ingress Class名称</p>
|
|
13496
13506
|
:type IngressClassName: str
|
|
13497
|
-
:param _TradeType:
|
|
13498
|
-
0:后付费(默认值)
|
|
13499
|
-
1:预付费(接口暂不支持创建预付费实例)
|
|
13507
|
+
:param _TradeType: <p>付费类型。参考值:<br>0:后付费(默认值)<br>1:预付费(接口暂不支持创建预付费实例)</p>
|
|
13500
13508
|
:type TradeType: int
|
|
13501
|
-
:param _InternetConfig:
|
|
13509
|
+
:param _InternetConfig: <p>公网相关配置</p>
|
|
13502
13510
|
:type InternetConfig: :class:`tencentcloud.tse.v20201207.models.InternetConfig`
|
|
13503
|
-
:param _PromId:
|
|
13511
|
+
:param _PromId: <p>关联的prometheus ID</p>
|
|
13504
13512
|
:type PromId: str
|
|
13513
|
+
:param _EnableHttpPort: <p>是否开启HTTP 80 端口的访问</p>
|
|
13514
|
+
:type EnableHttpPort: bool
|
|
13505
13515
|
"""
|
|
13506
13516
|
self._Name = None
|
|
13507
13517
|
self._Type = None
|
|
@@ -13518,10 +13528,11 @@ class CreateCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
13518
13528
|
self._TradeType = None
|
|
13519
13529
|
self._InternetConfig = None
|
|
13520
13530
|
self._PromId = None
|
|
13531
|
+
self._EnableHttpPort = None
|
|
13521
13532
|
|
|
13522
13533
|
@property
|
|
13523
13534
|
def Name(self):
|
|
13524
|
-
r"""
|
|
13535
|
+
r"""<p>云原生API网关名字, 最多支持60个字符。</p>
|
|
13525
13536
|
:rtype: str
|
|
13526
13537
|
"""
|
|
13527
13538
|
return self._Name
|
|
@@ -13532,7 +13543,7 @@ class CreateCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
13532
13543
|
|
|
13533
13544
|
@property
|
|
13534
13545
|
def Type(self):
|
|
13535
|
-
r"""
|
|
13546
|
+
r"""<p>云原生API网关类型, 目前只支持kong。</p>
|
|
13536
13547
|
:rtype: str
|
|
13537
13548
|
"""
|
|
13538
13549
|
return self._Type
|
|
@@ -13543,9 +13554,7 @@ class CreateCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
13543
13554
|
|
|
13544
13555
|
@property
|
|
13545
13556
|
def GatewayVersion(self):
|
|
13546
|
-
r"""
|
|
13547
|
-
- 2.4.1
|
|
13548
|
-
- 2.5.1
|
|
13557
|
+
r"""<p>云原生API网关版本。参考值:</p><ul><li>2.4.1</li><li>2.5.1</li></ul>
|
|
13549
13558
|
:rtype: str
|
|
13550
13559
|
"""
|
|
13551
13560
|
return self._GatewayVersion
|
|
@@ -13556,7 +13565,7 @@ class CreateCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
13556
13565
|
|
|
13557
13566
|
@property
|
|
13558
13567
|
def NodeConfig(self):
|
|
13559
|
-
r"""
|
|
13568
|
+
r"""<p>云原生API网关节点配置。</p>
|
|
13560
13569
|
:rtype: :class:`tencentcloud.tse.v20201207.models.CloudNativeAPIGatewayNodeConfig`
|
|
13561
13570
|
"""
|
|
13562
13571
|
return self._NodeConfig
|
|
@@ -13567,7 +13576,7 @@ class CreateCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
13567
13576
|
|
|
13568
13577
|
@property
|
|
13569
13578
|
def VpcConfig(self):
|
|
13570
|
-
r"""
|
|
13579
|
+
r"""<p>云原生API网关vpc配置。</p>
|
|
13571
13580
|
:rtype: :class:`tencentcloud.tse.v20201207.models.CloudNativeAPIGatewayVpcConfig`
|
|
13572
13581
|
"""
|
|
13573
13582
|
return self._VpcConfig
|
|
@@ -13578,7 +13587,7 @@ class CreateCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
13578
13587
|
|
|
13579
13588
|
@property
|
|
13580
13589
|
def Description(self):
|
|
13581
|
-
r"""
|
|
13590
|
+
r"""<p>云原生API网关描述信息, 最多支持120个字符。</p>
|
|
13582
13591
|
:rtype: str
|
|
13583
13592
|
"""
|
|
13584
13593
|
return self._Description
|
|
@@ -13589,7 +13598,7 @@ class CreateCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
13589
13598
|
|
|
13590
13599
|
@property
|
|
13591
13600
|
def Tags(self):
|
|
13592
|
-
r"""
|
|
13601
|
+
r"""<p>标签列表</p>
|
|
13593
13602
|
:rtype: list of InstanceTagInfo
|
|
13594
13603
|
"""
|
|
13595
13604
|
return self._Tags
|
|
@@ -13600,7 +13609,7 @@ class CreateCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
13600
13609
|
|
|
13601
13610
|
@property
|
|
13602
13611
|
def EnableCls(self):
|
|
13603
|
-
r"""
|
|
13612
|
+
r"""<p>是否开启 CLS 日志。默认值:fasle</p>
|
|
13604
13613
|
:rtype: bool
|
|
13605
13614
|
"""
|
|
13606
13615
|
return self._EnableCls
|
|
@@ -13611,10 +13620,7 @@ class CreateCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
13611
13620
|
|
|
13612
13621
|
@property
|
|
13613
13622
|
def FeatureVersion(self):
|
|
13614
|
-
r"""
|
|
13615
|
-
- TRIAL:开发版
|
|
13616
|
-
- STANDARD:标准版 (默认值)
|
|
13617
|
-
- PROFESSIONAL:专业版
|
|
13623
|
+
r"""<p>产品版本</p><p>枚举值:</p><ul><li>STANDARD: 标准版</li><li>PROFESSIONAL: 专业版</li></ul>
|
|
13618
13624
|
:rtype: str
|
|
13619
13625
|
"""
|
|
13620
13626
|
return self._FeatureVersion
|
|
@@ -13625,7 +13631,7 @@ class CreateCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
13625
13631
|
|
|
13626
13632
|
@property
|
|
13627
13633
|
def InternetMaxBandwidthOut(self):
|
|
13628
|
-
r"""
|
|
13634
|
+
r"""<p>公网出流量带宽,[1,2048]Mbps</p>
|
|
13629
13635
|
:rtype: int
|
|
13630
13636
|
"""
|
|
13631
13637
|
return self._InternetMaxBandwidthOut
|
|
@@ -13636,7 +13642,7 @@ class CreateCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
13636
13642
|
|
|
13637
13643
|
@property
|
|
13638
13644
|
def EngineRegion(self):
|
|
13639
|
-
r"""
|
|
13645
|
+
r"""<p>实例实际的地域信息,默认值:ap-guangzhou</p>
|
|
13640
13646
|
:rtype: str
|
|
13641
13647
|
"""
|
|
13642
13648
|
return self._EngineRegion
|
|
@@ -13647,7 +13653,7 @@ class CreateCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
13647
13653
|
|
|
13648
13654
|
@property
|
|
13649
13655
|
def IngressClassName(self):
|
|
13650
|
-
r"""ingress Class
|
|
13656
|
+
r"""<p>ingress Class名称</p>
|
|
13651
13657
|
:rtype: str
|
|
13652
13658
|
"""
|
|
13653
13659
|
return self._IngressClassName
|
|
@@ -13658,9 +13664,7 @@ class CreateCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
13658
13664
|
|
|
13659
13665
|
@property
|
|
13660
13666
|
def TradeType(self):
|
|
13661
|
-
r"""
|
|
13662
|
-
0:后付费(默认值)
|
|
13663
|
-
1:预付费(接口暂不支持创建预付费实例)
|
|
13667
|
+
r"""<p>付费类型。参考值:<br>0:后付费(默认值)<br>1:预付费(接口暂不支持创建预付费实例)</p>
|
|
13664
13668
|
:rtype: int
|
|
13665
13669
|
"""
|
|
13666
13670
|
return self._TradeType
|
|
@@ -13671,7 +13675,7 @@ class CreateCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
13671
13675
|
|
|
13672
13676
|
@property
|
|
13673
13677
|
def InternetConfig(self):
|
|
13674
|
-
r"""
|
|
13678
|
+
r"""<p>公网相关配置</p>
|
|
13675
13679
|
:rtype: :class:`tencentcloud.tse.v20201207.models.InternetConfig`
|
|
13676
13680
|
"""
|
|
13677
13681
|
return self._InternetConfig
|
|
@@ -13682,7 +13686,7 @@ class CreateCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
13682
13686
|
|
|
13683
13687
|
@property
|
|
13684
13688
|
def PromId(self):
|
|
13685
|
-
r"""
|
|
13689
|
+
r"""<p>关联的prometheus ID</p>
|
|
13686
13690
|
:rtype: str
|
|
13687
13691
|
"""
|
|
13688
13692
|
return self._PromId
|
|
@@ -13691,6 +13695,17 @@ class CreateCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
13691
13695
|
def PromId(self, PromId):
|
|
13692
13696
|
self._PromId = PromId
|
|
13693
13697
|
|
|
13698
|
+
@property
|
|
13699
|
+
def EnableHttpPort(self):
|
|
13700
|
+
r"""<p>是否开启HTTP 80 端口的访问</p>
|
|
13701
|
+
:rtype: bool
|
|
13702
|
+
"""
|
|
13703
|
+
return self._EnableHttpPort
|
|
13704
|
+
|
|
13705
|
+
@EnableHttpPort.setter
|
|
13706
|
+
def EnableHttpPort(self, EnableHttpPort):
|
|
13707
|
+
self._EnableHttpPort = EnableHttpPort
|
|
13708
|
+
|
|
13694
13709
|
|
|
13695
13710
|
def _deserialize(self, params):
|
|
13696
13711
|
self._Name = params.get("Name")
|
|
@@ -13719,6 +13734,7 @@ class CreateCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
13719
13734
|
self._InternetConfig = InternetConfig()
|
|
13720
13735
|
self._InternetConfig._deserialize(params.get("InternetConfig"))
|
|
13721
13736
|
self._PromId = params.get("PromId")
|
|
13737
|
+
self._EnableHttpPort = params.get("EnableHttpPort")
|
|
13722
13738
|
memeber_set = set(params.keys())
|
|
13723
13739
|
for name, value in vars(self).items():
|
|
13724
13740
|
property_name = name[1:]
|
|
@@ -13736,7 +13752,7 @@ class CreateCloudNativeAPIGatewayResponse(AbstractModel):
|
|
|
13736
13752
|
|
|
13737
13753
|
def __init__(self):
|
|
13738
13754
|
r"""
|
|
13739
|
-
:param _Result:
|
|
13755
|
+
:param _Result: <p>创建云原生API网关实例响应结果。</p>
|
|
13740
13756
|
:type Result: :class:`tencentcloud.tse.v20201207.models.CreateCloudNativeAPIGatewayResult`
|
|
13741
13757
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13742
13758
|
:type RequestId: str
|
|
@@ -13746,7 +13762,7 @@ class CreateCloudNativeAPIGatewayResponse(AbstractModel):
|
|
|
13746
13762
|
|
|
13747
13763
|
@property
|
|
13748
13764
|
def Result(self):
|
|
13749
|
-
r"""
|
|
13765
|
+
r"""<p>创建云原生API网关实例响应结果。</p>
|
|
13750
13766
|
:rtype: :class:`tencentcloud.tse.v20201207.models.CreateCloudNativeAPIGatewayResult`
|
|
13751
13767
|
"""
|
|
13752
13768
|
return self._Result
|
|
@@ -13945,58 +13961,42 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
13945
13961
|
|
|
13946
13962
|
def __init__(self):
|
|
13947
13963
|
r"""
|
|
13948
|
-
:param _GatewayId:
|
|
13964
|
+
:param _GatewayId: <p>网关ID</p>
|
|
13949
13965
|
:type GatewayId: str
|
|
13950
|
-
:param _ServiceID:
|
|
13966
|
+
:param _ServiceID: <p>所属服务的ID</p>
|
|
13951
13967
|
:type ServiceID: str
|
|
13952
|
-
:param _RouteName:
|
|
13968
|
+
:param _RouteName: <p>路由的名字,实例级别唯一,可以不提供</p>
|
|
13953
13969
|
:type RouteName: str
|
|
13954
|
-
:param _Methods:
|
|
13955
|
-
- GET
|
|
13956
|
-
- POST
|
|
13957
|
-
- DELETE
|
|
13958
|
-
- PUT
|
|
13959
|
-
- OPTIONS
|
|
13960
|
-
- PATCH
|
|
13961
|
-
- HEAD
|
|
13962
|
-
- ANY
|
|
13963
|
-
- TRACE
|
|
13964
|
-
- COPY
|
|
13965
|
-
- MOVE
|
|
13966
|
-
- PROPFIND
|
|
13967
|
-
- PROPPATCH
|
|
13968
|
-
- MKCOL
|
|
13969
|
-
- LOCK
|
|
13970
|
-
- UNLOCK
|
|
13970
|
+
:param _Methods: <p>路由的方法,其中方法可选值:</p><ul><li>GET</li><li>POST</li><li>DELETE</li><li>PUT</li><li>OPTIONS</li><li>PATCH</li><li>HEAD</li><li>ANY</li><li>TRACE</li><li>COPY</li><li>MOVE</li><li>PROPFIND</li><li>PROPPATCH</li><li>MKCOL</li><li>LOCK</li><li>UNLOCK</li></ul>
|
|
13971
13971
|
:type Methods: list of str
|
|
13972
|
-
:param _Hosts:
|
|
13972
|
+
:param _Hosts: <p>路由的域名</p>
|
|
13973
13973
|
:type Hosts: list of str
|
|
13974
|
-
:param _Paths:
|
|
13974
|
+
:param _Paths: <p>路由的路径</p>
|
|
13975
13975
|
:type Paths: list of str
|
|
13976
|
-
:param _Protocols:
|
|
13977
|
-
- https
|
|
13978
|
-
- http
|
|
13976
|
+
:param _Protocols: <p>路由的协议,可选</p><ul><li>https</li><li>http</li></ul>
|
|
13979
13977
|
:type Protocols: list of str
|
|
13980
|
-
:param _PreserveHost:
|
|
13978
|
+
:param _PreserveHost: <p>转发到后端时是否保留Host</p>
|
|
13981
13979
|
:type PreserveHost: bool
|
|
13982
|
-
:param _HttpsRedirectStatusCode: https
|
|
13980
|
+
:param _HttpsRedirectStatusCode: <p>https重定向状态码</p>
|
|
13983
13981
|
:type HttpsRedirectStatusCode: int
|
|
13984
|
-
:param _StripPath:
|
|
13982
|
+
:param _StripPath: <p>转发到后端时是否StripPath</p>
|
|
13985
13983
|
:type StripPath: bool
|
|
13986
|
-
:param _ForceHttps:
|
|
13984
|
+
:param _ForceHttps: <p>是否开启强制HTTPS</p>
|
|
13987
13985
|
:type ForceHttps: bool
|
|
13988
|
-
:param _DestinationPorts:
|
|
13986
|
+
:param _DestinationPorts: <p>四层匹配的目的端口</p>
|
|
13989
13987
|
:type DestinationPorts: list of int non-negative
|
|
13990
|
-
:param _Headers:
|
|
13988
|
+
:param _Headers: <p>路由的Headers</p>
|
|
13991
13989
|
:type Headers: list of KVMapping
|
|
13992
|
-
:param _RequestBuffering:
|
|
13990
|
+
:param _RequestBuffering: <p>是否缓存请求body,默认true</p>
|
|
13993
13991
|
:type RequestBuffering: bool
|
|
13994
|
-
:param _ResponseBuffering:
|
|
13992
|
+
:param _ResponseBuffering: <p>是否缓存响应body,默认true</p>
|
|
13995
13993
|
:type ResponseBuffering: bool
|
|
13996
|
-
:param _RegexPriority:
|
|
13994
|
+
:param _RegexPriority: <p>正则优先级</p>
|
|
13997
13995
|
:type RegexPriority: int
|
|
13998
|
-
:param _QueryStringParameters: queryString
|
|
13996
|
+
:param _QueryStringParameters: <p>queryString参数</p>
|
|
13999
13997
|
:type QueryStringParameters: list of KVMapping
|
|
13998
|
+
:param _Timeout: <p>路由级超时时间,单位ms</p>
|
|
13999
|
+
:type Timeout: int
|
|
14000
14000
|
"""
|
|
14001
14001
|
self._GatewayId = None
|
|
14002
14002
|
self._ServiceID = None
|
|
@@ -14015,10 +14015,11 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14015
14015
|
self._ResponseBuffering = None
|
|
14016
14016
|
self._RegexPriority = None
|
|
14017
14017
|
self._QueryStringParameters = None
|
|
14018
|
+
self._Timeout = None
|
|
14018
14019
|
|
|
14019
14020
|
@property
|
|
14020
14021
|
def GatewayId(self):
|
|
14021
|
-
r"""
|
|
14022
|
+
r"""<p>网关ID</p>
|
|
14022
14023
|
:rtype: str
|
|
14023
14024
|
"""
|
|
14024
14025
|
return self._GatewayId
|
|
@@ -14029,7 +14030,7 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14029
14030
|
|
|
14030
14031
|
@property
|
|
14031
14032
|
def ServiceID(self):
|
|
14032
|
-
r"""
|
|
14033
|
+
r"""<p>所属服务的ID</p>
|
|
14033
14034
|
:rtype: str
|
|
14034
14035
|
"""
|
|
14035
14036
|
return self._ServiceID
|
|
@@ -14040,7 +14041,7 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14040
14041
|
|
|
14041
14042
|
@property
|
|
14042
14043
|
def RouteName(self):
|
|
14043
|
-
r"""
|
|
14044
|
+
r"""<p>路由的名字,实例级别唯一,可以不提供</p>
|
|
14044
14045
|
:rtype: str
|
|
14045
14046
|
"""
|
|
14046
14047
|
return self._RouteName
|
|
@@ -14051,23 +14052,7 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14051
14052
|
|
|
14052
14053
|
@property
|
|
14053
14054
|
def Methods(self):
|
|
14054
|
-
r"""
|
|
14055
|
-
- GET
|
|
14056
|
-
- POST
|
|
14057
|
-
- DELETE
|
|
14058
|
-
- PUT
|
|
14059
|
-
- OPTIONS
|
|
14060
|
-
- PATCH
|
|
14061
|
-
- HEAD
|
|
14062
|
-
- ANY
|
|
14063
|
-
- TRACE
|
|
14064
|
-
- COPY
|
|
14065
|
-
- MOVE
|
|
14066
|
-
- PROPFIND
|
|
14067
|
-
- PROPPATCH
|
|
14068
|
-
- MKCOL
|
|
14069
|
-
- LOCK
|
|
14070
|
-
- UNLOCK
|
|
14055
|
+
r"""<p>路由的方法,其中方法可选值:</p><ul><li>GET</li><li>POST</li><li>DELETE</li><li>PUT</li><li>OPTIONS</li><li>PATCH</li><li>HEAD</li><li>ANY</li><li>TRACE</li><li>COPY</li><li>MOVE</li><li>PROPFIND</li><li>PROPPATCH</li><li>MKCOL</li><li>LOCK</li><li>UNLOCK</li></ul>
|
|
14071
14056
|
:rtype: list of str
|
|
14072
14057
|
"""
|
|
14073
14058
|
return self._Methods
|
|
@@ -14078,7 +14063,7 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14078
14063
|
|
|
14079
14064
|
@property
|
|
14080
14065
|
def Hosts(self):
|
|
14081
|
-
r"""
|
|
14066
|
+
r"""<p>路由的域名</p>
|
|
14082
14067
|
:rtype: list of str
|
|
14083
14068
|
"""
|
|
14084
14069
|
return self._Hosts
|
|
@@ -14089,7 +14074,7 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14089
14074
|
|
|
14090
14075
|
@property
|
|
14091
14076
|
def Paths(self):
|
|
14092
|
-
r"""
|
|
14077
|
+
r"""<p>路由的路径</p>
|
|
14093
14078
|
:rtype: list of str
|
|
14094
14079
|
"""
|
|
14095
14080
|
return self._Paths
|
|
@@ -14100,9 +14085,7 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14100
14085
|
|
|
14101
14086
|
@property
|
|
14102
14087
|
def Protocols(self):
|
|
14103
|
-
r"""
|
|
14104
|
-
- https
|
|
14105
|
-
- http
|
|
14088
|
+
r"""<p>路由的协议,可选</p><ul><li>https</li><li>http</li></ul>
|
|
14106
14089
|
:rtype: list of str
|
|
14107
14090
|
"""
|
|
14108
14091
|
return self._Protocols
|
|
@@ -14113,7 +14096,7 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14113
14096
|
|
|
14114
14097
|
@property
|
|
14115
14098
|
def PreserveHost(self):
|
|
14116
|
-
r"""
|
|
14099
|
+
r"""<p>转发到后端时是否保留Host</p>
|
|
14117
14100
|
:rtype: bool
|
|
14118
14101
|
"""
|
|
14119
14102
|
return self._PreserveHost
|
|
@@ -14124,7 +14107,7 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14124
14107
|
|
|
14125
14108
|
@property
|
|
14126
14109
|
def HttpsRedirectStatusCode(self):
|
|
14127
|
-
r"""https
|
|
14110
|
+
r"""<p>https重定向状态码</p>
|
|
14128
14111
|
:rtype: int
|
|
14129
14112
|
"""
|
|
14130
14113
|
return self._HttpsRedirectStatusCode
|
|
@@ -14135,7 +14118,7 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14135
14118
|
|
|
14136
14119
|
@property
|
|
14137
14120
|
def StripPath(self):
|
|
14138
|
-
r"""
|
|
14121
|
+
r"""<p>转发到后端时是否StripPath</p>
|
|
14139
14122
|
:rtype: bool
|
|
14140
14123
|
"""
|
|
14141
14124
|
return self._StripPath
|
|
@@ -14148,7 +14131,7 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14148
14131
|
def ForceHttps(self):
|
|
14149
14132
|
warnings.warn("parameter `ForceHttps` is deprecated", DeprecationWarning)
|
|
14150
14133
|
|
|
14151
|
-
r"""
|
|
14134
|
+
r"""<p>是否开启强制HTTPS</p>
|
|
14152
14135
|
:rtype: bool
|
|
14153
14136
|
"""
|
|
14154
14137
|
return self._ForceHttps
|
|
@@ -14161,7 +14144,7 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14161
14144
|
|
|
14162
14145
|
@property
|
|
14163
14146
|
def DestinationPorts(self):
|
|
14164
|
-
r"""
|
|
14147
|
+
r"""<p>四层匹配的目的端口</p>
|
|
14165
14148
|
:rtype: list of int non-negative
|
|
14166
14149
|
"""
|
|
14167
14150
|
return self._DestinationPorts
|
|
@@ -14172,7 +14155,7 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14172
14155
|
|
|
14173
14156
|
@property
|
|
14174
14157
|
def Headers(self):
|
|
14175
|
-
r"""
|
|
14158
|
+
r"""<p>路由的Headers</p>
|
|
14176
14159
|
:rtype: list of KVMapping
|
|
14177
14160
|
"""
|
|
14178
14161
|
return self._Headers
|
|
@@ -14183,7 +14166,7 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14183
14166
|
|
|
14184
14167
|
@property
|
|
14185
14168
|
def RequestBuffering(self):
|
|
14186
|
-
r"""
|
|
14169
|
+
r"""<p>是否缓存请求body,默认true</p>
|
|
14187
14170
|
:rtype: bool
|
|
14188
14171
|
"""
|
|
14189
14172
|
return self._RequestBuffering
|
|
@@ -14194,7 +14177,7 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14194
14177
|
|
|
14195
14178
|
@property
|
|
14196
14179
|
def ResponseBuffering(self):
|
|
14197
|
-
r"""
|
|
14180
|
+
r"""<p>是否缓存响应body,默认true</p>
|
|
14198
14181
|
:rtype: bool
|
|
14199
14182
|
"""
|
|
14200
14183
|
return self._ResponseBuffering
|
|
@@ -14205,7 +14188,7 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14205
14188
|
|
|
14206
14189
|
@property
|
|
14207
14190
|
def RegexPriority(self):
|
|
14208
|
-
r"""
|
|
14191
|
+
r"""<p>正则优先级</p>
|
|
14209
14192
|
:rtype: int
|
|
14210
14193
|
"""
|
|
14211
14194
|
return self._RegexPriority
|
|
@@ -14216,7 +14199,7 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14216
14199
|
|
|
14217
14200
|
@property
|
|
14218
14201
|
def QueryStringParameters(self):
|
|
14219
|
-
r"""queryString
|
|
14202
|
+
r"""<p>queryString参数</p>
|
|
14220
14203
|
:rtype: list of KVMapping
|
|
14221
14204
|
"""
|
|
14222
14205
|
return self._QueryStringParameters
|
|
@@ -14225,6 +14208,17 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14225
14208
|
def QueryStringParameters(self, QueryStringParameters):
|
|
14226
14209
|
self._QueryStringParameters = QueryStringParameters
|
|
14227
14210
|
|
|
14211
|
+
@property
|
|
14212
|
+
def Timeout(self):
|
|
14213
|
+
r"""<p>路由级超时时间,单位ms</p>
|
|
14214
|
+
:rtype: int
|
|
14215
|
+
"""
|
|
14216
|
+
return self._Timeout
|
|
14217
|
+
|
|
14218
|
+
@Timeout.setter
|
|
14219
|
+
def Timeout(self, Timeout):
|
|
14220
|
+
self._Timeout = Timeout
|
|
14221
|
+
|
|
14228
14222
|
|
|
14229
14223
|
def _deserialize(self, params):
|
|
14230
14224
|
self._GatewayId = params.get("GatewayId")
|
|
@@ -14254,6 +14248,7 @@ class CreateCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
14254
14248
|
obj = KVMapping()
|
|
14255
14249
|
obj._deserialize(item)
|
|
14256
14250
|
self._QueryStringParameters.append(obj)
|
|
14251
|
+
self._Timeout = params.get("Timeout")
|
|
14257
14252
|
memeber_set = set(params.keys())
|
|
14258
14253
|
for name, value in vars(self).items():
|
|
14259
14254
|
property_name = name[1:]
|
|
@@ -28326,6 +28321,8 @@ class DescribeCloudNativeAPIGatewayResult(AbstractModel):
|
|
|
28326
28321
|
:type AvailableRollbackVersion: str
|
|
28327
28322
|
:param _ForceHTTPSRedirect: <p>强制跳转HTTPS开关</p>
|
|
28328
28323
|
:type ForceHTTPSRedirect: bool
|
|
28324
|
+
:param _PrivateIpAddresses: <p>内网IP地址列表</p>
|
|
28325
|
+
:type PrivateIpAddresses: list of str
|
|
28329
28326
|
"""
|
|
28330
28327
|
self._GatewayId = None
|
|
28331
28328
|
self._Status = None
|
|
@@ -28358,6 +28355,7 @@ class DescribeCloudNativeAPIGatewayResult(AbstractModel):
|
|
|
28358
28355
|
self._AvailableUpgrade = None
|
|
28359
28356
|
self._AvailableRollbackVersion = None
|
|
28360
28357
|
self._ForceHTTPSRedirect = None
|
|
28358
|
+
self._PrivateIpAddresses = None
|
|
28361
28359
|
|
|
28362
28360
|
@property
|
|
28363
28361
|
def GatewayId(self):
|
|
@@ -28701,6 +28699,17 @@ class DescribeCloudNativeAPIGatewayResult(AbstractModel):
|
|
|
28701
28699
|
def ForceHTTPSRedirect(self, ForceHTTPSRedirect):
|
|
28702
28700
|
self._ForceHTTPSRedirect = ForceHTTPSRedirect
|
|
28703
28701
|
|
|
28702
|
+
@property
|
|
28703
|
+
def PrivateIpAddresses(self):
|
|
28704
|
+
r"""<p>内网IP地址列表</p>
|
|
28705
|
+
:rtype: list of str
|
|
28706
|
+
"""
|
|
28707
|
+
return self._PrivateIpAddresses
|
|
28708
|
+
|
|
28709
|
+
@PrivateIpAddresses.setter
|
|
28710
|
+
def PrivateIpAddresses(self, PrivateIpAddresses):
|
|
28711
|
+
self._PrivateIpAddresses = PrivateIpAddresses
|
|
28712
|
+
|
|
28704
28713
|
|
|
28705
28714
|
def _deserialize(self, params):
|
|
28706
28715
|
self._GatewayId = params.get("GatewayId")
|
|
@@ -28745,6 +28754,7 @@ class DescribeCloudNativeAPIGatewayResult(AbstractModel):
|
|
|
28745
28754
|
self._AvailableUpgrade = params.get("AvailableUpgrade")
|
|
28746
28755
|
self._AvailableRollbackVersion = params.get("AvailableRollbackVersion")
|
|
28747
28756
|
self._ForceHTTPSRedirect = params.get("ForceHTTPSRedirect")
|
|
28757
|
+
self._PrivateIpAddresses = params.get("PrivateIpAddresses")
|
|
28748
28758
|
memeber_set = set(params.keys())
|
|
28749
28759
|
for name, value in vars(self).items():
|
|
28750
28760
|
property_name = name[1:]
|
|
@@ -28880,6 +28890,10 @@ class DescribeCloudNativeAPIGatewayRoutesRequest(AbstractModel):
|
|
|
28880
28890
|
:type OrderField: str
|
|
28881
28891
|
:param _OrderType: <p>排序方式</p><p>枚举值:</p><ul><li>DESC: 降序</li><li>ASC: 升序</li></ul>
|
|
28882
28892
|
:type OrderType: str
|
|
28893
|
+
:param _TagIds: <p>按标签 ID 过滤路由(AND 语义,需同时命中所有传入的 tag),最多 10 个。关联需求:路由/服务标签分组管理</p>
|
|
28894
|
+
:type TagIds: list of int
|
|
28895
|
+
:param _TagFilters: <p>按标签 K:V 过滤路由(AND 语义,前端下拉直传场景),最多 10 个。与 TagIds 同时传时取交集</p>
|
|
28896
|
+
:type TagFilters: list of TagKVFilter
|
|
28883
28897
|
"""
|
|
28884
28898
|
self._GatewayId = None
|
|
28885
28899
|
self._Limit = None
|
|
@@ -28891,6 +28905,8 @@ class DescribeCloudNativeAPIGatewayRoutesRequest(AbstractModel):
|
|
|
28891
28905
|
self._GrayRoutesFirst = None
|
|
28892
28906
|
self._OrderField = None
|
|
28893
28907
|
self._OrderType = None
|
|
28908
|
+
self._TagIds = None
|
|
28909
|
+
self._TagFilters = None
|
|
28894
28910
|
|
|
28895
28911
|
@property
|
|
28896
28912
|
def GatewayId(self):
|
|
@@ -29002,6 +29018,28 @@ class DescribeCloudNativeAPIGatewayRoutesRequest(AbstractModel):
|
|
|
29002
29018
|
def OrderType(self, OrderType):
|
|
29003
29019
|
self._OrderType = OrderType
|
|
29004
29020
|
|
|
29021
|
+
@property
|
|
29022
|
+
def TagIds(self):
|
|
29023
|
+
r"""<p>按标签 ID 过滤路由(AND 语义,需同时命中所有传入的 tag),最多 10 个。关联需求:路由/服务标签分组管理</p>
|
|
29024
|
+
:rtype: list of int
|
|
29025
|
+
"""
|
|
29026
|
+
return self._TagIds
|
|
29027
|
+
|
|
29028
|
+
@TagIds.setter
|
|
29029
|
+
def TagIds(self, TagIds):
|
|
29030
|
+
self._TagIds = TagIds
|
|
29031
|
+
|
|
29032
|
+
@property
|
|
29033
|
+
def TagFilters(self):
|
|
29034
|
+
r"""<p>按标签 K:V 过滤路由(AND 语义,前端下拉直传场景),最多 10 个。与 TagIds 同时传时取交集</p>
|
|
29035
|
+
:rtype: list of TagKVFilter
|
|
29036
|
+
"""
|
|
29037
|
+
return self._TagFilters
|
|
29038
|
+
|
|
29039
|
+
@TagFilters.setter
|
|
29040
|
+
def TagFilters(self, TagFilters):
|
|
29041
|
+
self._TagFilters = TagFilters
|
|
29042
|
+
|
|
29005
29043
|
|
|
29006
29044
|
def _deserialize(self, params):
|
|
29007
29045
|
self._GatewayId = params.get("GatewayId")
|
|
@@ -29019,6 +29057,13 @@ class DescribeCloudNativeAPIGatewayRoutesRequest(AbstractModel):
|
|
|
29019
29057
|
self._GrayRoutesFirst = params.get("GrayRoutesFirst")
|
|
29020
29058
|
self._OrderField = params.get("OrderField")
|
|
29021
29059
|
self._OrderType = params.get("OrderType")
|
|
29060
|
+
self._TagIds = params.get("TagIds")
|
|
29061
|
+
if params.get("TagFilters") is not None:
|
|
29062
|
+
self._TagFilters = []
|
|
29063
|
+
for item in params.get("TagFilters"):
|
|
29064
|
+
obj = TagKVFilter()
|
|
29065
|
+
obj._deserialize(item)
|
|
29066
|
+
self._TagFilters.append(obj)
|
|
29022
29067
|
memeber_set = set(params.keys())
|
|
29023
29068
|
for name, value in vars(self).items():
|
|
29024
29069
|
property_name = name[1:]
|
|
@@ -40751,6 +40796,13 @@ class KongRoutePreview(AbstractModel):
|
|
|
40751
40796
|
:type QueryStringParameters: list of KVMapping
|
|
40752
40797
|
:param _RouteSource: <p>路由来源</p>
|
|
40753
40798
|
:type RouteSource: str
|
|
40799
|
+
:param _Tags: <p>用户绑定的业务标签(路由/服务标签分组能力,不含 Kong 内部 tag)。未绑定时字段为空数组或不返回。关联需求:路由/服务标签分组管理</p>
|
|
40800
|
+
:type Tags: list of KongUserTagKV
|
|
40801
|
+
:param _Timeout: <p>超时时间</p>
|
|
40802
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
40803
|
+
:type Timeout: int
|
|
40804
|
+
:param _TimeoutSource: <p>路由超时配置的来源。</p>
|
|
40805
|
+
:type TimeoutSource: str
|
|
40754
40806
|
"""
|
|
40755
40807
|
self._ID = None
|
|
40756
40808
|
self._Name = None
|
|
@@ -40772,6 +40824,9 @@ class KongRoutePreview(AbstractModel):
|
|
|
40772
40824
|
self._RegexPriority = None
|
|
40773
40825
|
self._QueryStringParameters = None
|
|
40774
40826
|
self._RouteSource = None
|
|
40827
|
+
self._Tags = None
|
|
40828
|
+
self._Timeout = None
|
|
40829
|
+
self._TimeoutSource = None
|
|
40775
40830
|
|
|
40776
40831
|
@property
|
|
40777
40832
|
def ID(self):
|
|
@@ -41001,6 +41056,40 @@ class KongRoutePreview(AbstractModel):
|
|
|
41001
41056
|
def RouteSource(self, RouteSource):
|
|
41002
41057
|
self._RouteSource = RouteSource
|
|
41003
41058
|
|
|
41059
|
+
@property
|
|
41060
|
+
def Tags(self):
|
|
41061
|
+
r"""<p>用户绑定的业务标签(路由/服务标签分组能力,不含 Kong 内部 tag)。未绑定时字段为空数组或不返回。关联需求:路由/服务标签分组管理</p>
|
|
41062
|
+
:rtype: list of KongUserTagKV
|
|
41063
|
+
"""
|
|
41064
|
+
return self._Tags
|
|
41065
|
+
|
|
41066
|
+
@Tags.setter
|
|
41067
|
+
def Tags(self, Tags):
|
|
41068
|
+
self._Tags = Tags
|
|
41069
|
+
|
|
41070
|
+
@property
|
|
41071
|
+
def Timeout(self):
|
|
41072
|
+
r"""<p>超时时间</p>
|
|
41073
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
41074
|
+
:rtype: int
|
|
41075
|
+
"""
|
|
41076
|
+
return self._Timeout
|
|
41077
|
+
|
|
41078
|
+
@Timeout.setter
|
|
41079
|
+
def Timeout(self, Timeout):
|
|
41080
|
+
self._Timeout = Timeout
|
|
41081
|
+
|
|
41082
|
+
@property
|
|
41083
|
+
def TimeoutSource(self):
|
|
41084
|
+
r"""<p>路由超时配置的来源。</p>
|
|
41085
|
+
:rtype: str
|
|
41086
|
+
"""
|
|
41087
|
+
return self._TimeoutSource
|
|
41088
|
+
|
|
41089
|
+
@TimeoutSource.setter
|
|
41090
|
+
def TimeoutSource(self, TimeoutSource):
|
|
41091
|
+
self._TimeoutSource = TimeoutSource
|
|
41092
|
+
|
|
41004
41093
|
|
|
41005
41094
|
def _deserialize(self, params):
|
|
41006
41095
|
self._ID = params.get("ID")
|
|
@@ -41033,6 +41122,14 @@ class KongRoutePreview(AbstractModel):
|
|
|
41033
41122
|
obj._deserialize(item)
|
|
41034
41123
|
self._QueryStringParameters.append(obj)
|
|
41035
41124
|
self._RouteSource = params.get("RouteSource")
|
|
41125
|
+
if params.get("Tags") is not None:
|
|
41126
|
+
self._Tags = []
|
|
41127
|
+
for item in params.get("Tags"):
|
|
41128
|
+
obj = KongUserTagKV()
|
|
41129
|
+
obj._deserialize(item)
|
|
41130
|
+
self._Tags.append(obj)
|
|
41131
|
+
self._Timeout = params.get("Timeout")
|
|
41132
|
+
self._TimeoutSource = params.get("TimeoutSource")
|
|
41036
41133
|
memeber_set = set(params.keys())
|
|
41037
41134
|
for name, value in vars(self).items():
|
|
41038
41135
|
property_name = name[1:]
|
|
@@ -41803,38 +41900,41 @@ class KongTarget(AbstractModel):
|
|
|
41803
41900
|
|
|
41804
41901
|
def __init__(self):
|
|
41805
41902
|
r"""
|
|
41806
|
-
:param _Host: Host
|
|
41903
|
+
:param _Host: <p>Host</p>
|
|
41807
41904
|
:type Host: str
|
|
41808
|
-
:param _Port:
|
|
41905
|
+
:param _Port: <p>端口</p>
|
|
41809
41906
|
:type Port: int
|
|
41810
|
-
:param _Weight:
|
|
41907
|
+
:param _Weight: <p>权重</p>
|
|
41811
41908
|
:type Weight: int
|
|
41812
|
-
:param
|
|
41813
|
-
:type Health: str
|
|
41814
|
-
:param _CreatedTime: 创建时间
|
|
41909
|
+
:param _CreatedTime: <p>创建时间</p>
|
|
41815
41910
|
:type CreatedTime: str
|
|
41816
|
-
:param
|
|
41817
|
-
:type Source: str
|
|
41818
|
-
:param _CvmInstanceId: CVM实例ID
|
|
41911
|
+
:param _CvmInstanceId: <p>CVM实例ID</p>
|
|
41819
41912
|
:type CvmInstanceId: str
|
|
41820
|
-
:param _CvmInstanceName: CVM
|
|
41913
|
+
:param _CvmInstanceName: <p>CVM实例名称</p>
|
|
41821
41914
|
:type CvmInstanceName: str
|
|
41822
|
-
:param
|
|
41915
|
+
:param _Health: <p>健康状态</p>
|
|
41916
|
+
:type Health: str
|
|
41917
|
+
:param _Id: <p>Target ID</p>
|
|
41918
|
+
:type Id: str
|
|
41919
|
+
:param _Source: <p>Target的来源</p>
|
|
41920
|
+
:type Source: str
|
|
41921
|
+
:param _Tags: <p>target标签</p>
|
|
41823
41922
|
:type Tags: list of str
|
|
41824
41923
|
"""
|
|
41825
41924
|
self._Host = None
|
|
41826
41925
|
self._Port = None
|
|
41827
41926
|
self._Weight = None
|
|
41828
|
-
self._Health = None
|
|
41829
41927
|
self._CreatedTime = None
|
|
41830
|
-
self._Source = None
|
|
41831
41928
|
self._CvmInstanceId = None
|
|
41832
41929
|
self._CvmInstanceName = None
|
|
41930
|
+
self._Health = None
|
|
41931
|
+
self._Id = None
|
|
41932
|
+
self._Source = None
|
|
41833
41933
|
self._Tags = None
|
|
41834
41934
|
|
|
41835
41935
|
@property
|
|
41836
41936
|
def Host(self):
|
|
41837
|
-
r"""Host
|
|
41937
|
+
r"""<p>Host</p>
|
|
41838
41938
|
:rtype: str
|
|
41839
41939
|
"""
|
|
41840
41940
|
return self._Host
|
|
@@ -41845,7 +41945,7 @@ class KongTarget(AbstractModel):
|
|
|
41845
41945
|
|
|
41846
41946
|
@property
|
|
41847
41947
|
def Port(self):
|
|
41848
|
-
r"""
|
|
41948
|
+
r"""<p>端口</p>
|
|
41849
41949
|
:rtype: int
|
|
41850
41950
|
"""
|
|
41851
41951
|
return self._Port
|
|
@@ -41856,7 +41956,7 @@ class KongTarget(AbstractModel):
|
|
|
41856
41956
|
|
|
41857
41957
|
@property
|
|
41858
41958
|
def Weight(self):
|
|
41859
|
-
r"""
|
|
41959
|
+
r"""<p>权重</p>
|
|
41860
41960
|
:rtype: int
|
|
41861
41961
|
"""
|
|
41862
41962
|
return self._Weight
|
|
@@ -41865,20 +41965,9 @@ class KongTarget(AbstractModel):
|
|
|
41865
41965
|
def Weight(self, Weight):
|
|
41866
41966
|
self._Weight = Weight
|
|
41867
41967
|
|
|
41868
|
-
@property
|
|
41869
|
-
def Health(self):
|
|
41870
|
-
r"""健康状态
|
|
41871
|
-
:rtype: str
|
|
41872
|
-
"""
|
|
41873
|
-
return self._Health
|
|
41874
|
-
|
|
41875
|
-
@Health.setter
|
|
41876
|
-
def Health(self, Health):
|
|
41877
|
-
self._Health = Health
|
|
41878
|
-
|
|
41879
41968
|
@property
|
|
41880
41969
|
def CreatedTime(self):
|
|
41881
|
-
r"""
|
|
41970
|
+
r"""<p>创建时间</p>
|
|
41882
41971
|
:rtype: str
|
|
41883
41972
|
"""
|
|
41884
41973
|
return self._CreatedTime
|
|
@@ -41887,20 +41976,9 @@ class KongTarget(AbstractModel):
|
|
|
41887
41976
|
def CreatedTime(self, CreatedTime):
|
|
41888
41977
|
self._CreatedTime = CreatedTime
|
|
41889
41978
|
|
|
41890
|
-
@property
|
|
41891
|
-
def Source(self):
|
|
41892
|
-
r"""Target的来源
|
|
41893
|
-
:rtype: str
|
|
41894
|
-
"""
|
|
41895
|
-
return self._Source
|
|
41896
|
-
|
|
41897
|
-
@Source.setter
|
|
41898
|
-
def Source(self, Source):
|
|
41899
|
-
self._Source = Source
|
|
41900
|
-
|
|
41901
41979
|
@property
|
|
41902
41980
|
def CvmInstanceId(self):
|
|
41903
|
-
r"""CVM实例ID
|
|
41981
|
+
r"""<p>CVM实例ID</p>
|
|
41904
41982
|
:rtype: str
|
|
41905
41983
|
"""
|
|
41906
41984
|
return self._CvmInstanceId
|
|
@@ -41911,7 +41989,7 @@ class KongTarget(AbstractModel):
|
|
|
41911
41989
|
|
|
41912
41990
|
@property
|
|
41913
41991
|
def CvmInstanceName(self):
|
|
41914
|
-
r"""CVM
|
|
41992
|
+
r"""<p>CVM实例名称</p>
|
|
41915
41993
|
:rtype: str
|
|
41916
41994
|
"""
|
|
41917
41995
|
return self._CvmInstanceName
|
|
@@ -41920,9 +41998,42 @@ class KongTarget(AbstractModel):
|
|
|
41920
41998
|
def CvmInstanceName(self, CvmInstanceName):
|
|
41921
41999
|
self._CvmInstanceName = CvmInstanceName
|
|
41922
42000
|
|
|
42001
|
+
@property
|
|
42002
|
+
def Health(self):
|
|
42003
|
+
r"""<p>健康状态</p>
|
|
42004
|
+
:rtype: str
|
|
42005
|
+
"""
|
|
42006
|
+
return self._Health
|
|
42007
|
+
|
|
42008
|
+
@Health.setter
|
|
42009
|
+
def Health(self, Health):
|
|
42010
|
+
self._Health = Health
|
|
42011
|
+
|
|
42012
|
+
@property
|
|
42013
|
+
def Id(self):
|
|
42014
|
+
r"""<p>Target ID</p>
|
|
42015
|
+
:rtype: str
|
|
42016
|
+
"""
|
|
42017
|
+
return self._Id
|
|
42018
|
+
|
|
42019
|
+
@Id.setter
|
|
42020
|
+
def Id(self, Id):
|
|
42021
|
+
self._Id = Id
|
|
42022
|
+
|
|
42023
|
+
@property
|
|
42024
|
+
def Source(self):
|
|
42025
|
+
r"""<p>Target的来源</p>
|
|
42026
|
+
:rtype: str
|
|
42027
|
+
"""
|
|
42028
|
+
return self._Source
|
|
42029
|
+
|
|
42030
|
+
@Source.setter
|
|
42031
|
+
def Source(self, Source):
|
|
42032
|
+
self._Source = Source
|
|
42033
|
+
|
|
41923
42034
|
@property
|
|
41924
42035
|
def Tags(self):
|
|
41925
|
-
r"""target
|
|
42036
|
+
r"""<p>target标签</p>
|
|
41926
42037
|
:rtype: list of str
|
|
41927
42038
|
"""
|
|
41928
42039
|
return self._Tags
|
|
@@ -41936,11 +42047,12 @@ class KongTarget(AbstractModel):
|
|
|
41936
42047
|
self._Host = params.get("Host")
|
|
41937
42048
|
self._Port = params.get("Port")
|
|
41938
42049
|
self._Weight = params.get("Weight")
|
|
41939
|
-
self._Health = params.get("Health")
|
|
41940
42050
|
self._CreatedTime = params.get("CreatedTime")
|
|
41941
|
-
self._Source = params.get("Source")
|
|
41942
42051
|
self._CvmInstanceId = params.get("CvmInstanceId")
|
|
41943
42052
|
self._CvmInstanceName = params.get("CvmInstanceName")
|
|
42053
|
+
self._Health = params.get("Health")
|
|
42054
|
+
self._Id = params.get("Id")
|
|
42055
|
+
self._Source = params.get("Source")
|
|
41944
42056
|
self._Tags = params.get("Tags")
|
|
41945
42057
|
memeber_set = set(params.keys())
|
|
41946
42058
|
for name, value in vars(self).items():
|
|
@@ -42437,6 +42549,72 @@ class KongUpstreamPreview(AbstractModel):
|
|
|
42437
42549
|
|
|
42438
42550
|
|
|
42439
42551
|
|
|
42552
|
+
class KongUserTagKV(AbstractModel):
|
|
42553
|
+
r"""用户业务标签的 KV 表示(路由/服务标签分组)
|
|
42554
|
+
|
|
42555
|
+
"""
|
|
42556
|
+
|
|
42557
|
+
def __init__(self):
|
|
42558
|
+
r"""
|
|
42559
|
+
:param _TagId: <p>标签 ID</p>
|
|
42560
|
+
:type TagId: int
|
|
42561
|
+
:param _TagKey: <p>标签 Key</p>
|
|
42562
|
+
:type TagKey: str
|
|
42563
|
+
:param _TagValue: <p>标签 Value</p>
|
|
42564
|
+
:type TagValue: str
|
|
42565
|
+
"""
|
|
42566
|
+
self._TagId = None
|
|
42567
|
+
self._TagKey = None
|
|
42568
|
+
self._TagValue = None
|
|
42569
|
+
|
|
42570
|
+
@property
|
|
42571
|
+
def TagId(self):
|
|
42572
|
+
r"""<p>标签 ID</p>
|
|
42573
|
+
:rtype: int
|
|
42574
|
+
"""
|
|
42575
|
+
return self._TagId
|
|
42576
|
+
|
|
42577
|
+
@TagId.setter
|
|
42578
|
+
def TagId(self, TagId):
|
|
42579
|
+
self._TagId = TagId
|
|
42580
|
+
|
|
42581
|
+
@property
|
|
42582
|
+
def TagKey(self):
|
|
42583
|
+
r"""<p>标签 Key</p>
|
|
42584
|
+
:rtype: str
|
|
42585
|
+
"""
|
|
42586
|
+
return self._TagKey
|
|
42587
|
+
|
|
42588
|
+
@TagKey.setter
|
|
42589
|
+
def TagKey(self, TagKey):
|
|
42590
|
+
self._TagKey = TagKey
|
|
42591
|
+
|
|
42592
|
+
@property
|
|
42593
|
+
def TagValue(self):
|
|
42594
|
+
r"""<p>标签 Value</p>
|
|
42595
|
+
:rtype: str
|
|
42596
|
+
"""
|
|
42597
|
+
return self._TagValue
|
|
42598
|
+
|
|
42599
|
+
@TagValue.setter
|
|
42600
|
+
def TagValue(self, TagValue):
|
|
42601
|
+
self._TagValue = TagValue
|
|
42602
|
+
|
|
42603
|
+
|
|
42604
|
+
def _deserialize(self, params):
|
|
42605
|
+
self._TagId = params.get("TagId")
|
|
42606
|
+
self._TagKey = params.get("TagKey")
|
|
42607
|
+
self._TagValue = params.get("TagValue")
|
|
42608
|
+
memeber_set = set(params.keys())
|
|
42609
|
+
for name, value in vars(self).items():
|
|
42610
|
+
property_name = name[1:]
|
|
42611
|
+
if property_name in memeber_set:
|
|
42612
|
+
memeber_set.remove(property_name)
|
|
42613
|
+
if len(memeber_set) > 0:
|
|
42614
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
42615
|
+
|
|
42616
|
+
|
|
42617
|
+
|
|
42440
42618
|
class Label(AbstractModel):
|
|
42441
42619
|
r"""标签
|
|
42442
42620
|
|
|
@@ -45529,6 +45707,8 @@ class ModifyCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
45529
45707
|
:type RegexPriority: int
|
|
45530
45708
|
:param _QueryStringParameters: <p>querysring参数</p>
|
|
45531
45709
|
:type QueryStringParameters: list of KVMapping
|
|
45710
|
+
:param _Timeout: <p>路由级超时时间,单位ms</p>
|
|
45711
|
+
:type Timeout: int
|
|
45532
45712
|
"""
|
|
45533
45713
|
self._GatewayId = None
|
|
45534
45714
|
self._ServiceID = None
|
|
@@ -45548,6 +45728,7 @@ class ModifyCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
45548
45728
|
self._ResponseBuffering = None
|
|
45549
45729
|
self._RegexPriority = None
|
|
45550
45730
|
self._QueryStringParameters = None
|
|
45731
|
+
self._Timeout = None
|
|
45551
45732
|
|
|
45552
45733
|
@property
|
|
45553
45734
|
def GatewayId(self):
|
|
@@ -45751,6 +45932,17 @@ class ModifyCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
45751
45932
|
def QueryStringParameters(self, QueryStringParameters):
|
|
45752
45933
|
self._QueryStringParameters = QueryStringParameters
|
|
45753
45934
|
|
|
45935
|
+
@property
|
|
45936
|
+
def Timeout(self):
|
|
45937
|
+
r"""<p>路由级超时时间,单位ms</p>
|
|
45938
|
+
:rtype: int
|
|
45939
|
+
"""
|
|
45940
|
+
return self._Timeout
|
|
45941
|
+
|
|
45942
|
+
@Timeout.setter
|
|
45943
|
+
def Timeout(self, Timeout):
|
|
45944
|
+
self._Timeout = Timeout
|
|
45945
|
+
|
|
45754
45946
|
|
|
45755
45947
|
def _deserialize(self, params):
|
|
45756
45948
|
self._GatewayId = params.get("GatewayId")
|
|
@@ -45781,6 +45973,7 @@ class ModifyCloudNativeAPIGatewayRouteRequest(AbstractModel):
|
|
|
45781
45973
|
obj = KVMapping()
|
|
45782
45974
|
obj._deserialize(item)
|
|
45783
45975
|
self._QueryStringParameters.append(obj)
|
|
45976
|
+
self._Timeout = params.get("Timeout")
|
|
45784
45977
|
memeber_set = set(params.keys())
|
|
45785
45978
|
for name, value in vars(self).items():
|
|
45786
45979
|
property_name = name[1:]
|
|
@@ -47301,28 +47494,32 @@ class ModifyNetworkAccessStrategyRequest(AbstractModel):
|
|
|
47301
47494
|
|
|
47302
47495
|
def __init__(self):
|
|
47303
47496
|
r"""
|
|
47304
|
-
:param _GatewayId:
|
|
47497
|
+
:param _GatewayId: <p>云原生API网关实例ID。</p>
|
|
47305
47498
|
:type GatewayId: str
|
|
47306
|
-
:param _GroupId:
|
|
47499
|
+
:param _GroupId: <p>分组id</p>
|
|
47307
47500
|
:type GroupId: str
|
|
47308
|
-
:param _NetworkType:
|
|
47309
|
-
- Open 公网
|
|
47310
|
-
- Internal 内网 (暂不支持)
|
|
47501
|
+
:param _NetworkType: <p>网络类型: </p><ul><li>Open 公网</li><li>Internal 内网 (暂不支持)</li></ul>
|
|
47311
47502
|
:type NetworkType: str
|
|
47312
|
-
:param _Vip: ip
|
|
47503
|
+
:param _Vip: <p>ip地址</p>
|
|
47313
47504
|
:type Vip: str
|
|
47314
|
-
:param _AccessControl:
|
|
47505
|
+
:param _AccessControl: <p>访问控制策略</p>
|
|
47315
47506
|
:type AccessControl: :class:`tencentcloud.tse.v20201207.models.NetworkAccessControl`
|
|
47507
|
+
:param _AccessControlSource: <p>GlobalConfig / Custom;不传默认 Custom</p>
|
|
47508
|
+
:type AccessControlSource: str
|
|
47509
|
+
:param _GlobalConfigId: <p>全局配置ID</p>
|
|
47510
|
+
:type GlobalConfigId: str
|
|
47316
47511
|
"""
|
|
47317
47512
|
self._GatewayId = None
|
|
47318
47513
|
self._GroupId = None
|
|
47319
47514
|
self._NetworkType = None
|
|
47320
47515
|
self._Vip = None
|
|
47321
47516
|
self._AccessControl = None
|
|
47517
|
+
self._AccessControlSource = None
|
|
47518
|
+
self._GlobalConfigId = None
|
|
47322
47519
|
|
|
47323
47520
|
@property
|
|
47324
47521
|
def GatewayId(self):
|
|
47325
|
-
r"""
|
|
47522
|
+
r"""<p>云原生API网关实例ID。</p>
|
|
47326
47523
|
:rtype: str
|
|
47327
47524
|
"""
|
|
47328
47525
|
return self._GatewayId
|
|
@@ -47333,7 +47530,7 @@ class ModifyNetworkAccessStrategyRequest(AbstractModel):
|
|
|
47333
47530
|
|
|
47334
47531
|
@property
|
|
47335
47532
|
def GroupId(self):
|
|
47336
|
-
r"""
|
|
47533
|
+
r"""<p>分组id</p>
|
|
47337
47534
|
:rtype: str
|
|
47338
47535
|
"""
|
|
47339
47536
|
return self._GroupId
|
|
@@ -47344,9 +47541,7 @@ class ModifyNetworkAccessStrategyRequest(AbstractModel):
|
|
|
47344
47541
|
|
|
47345
47542
|
@property
|
|
47346
47543
|
def NetworkType(self):
|
|
47347
|
-
r"""
|
|
47348
|
-
- Open 公网
|
|
47349
|
-
- Internal 内网 (暂不支持)
|
|
47544
|
+
r"""<p>网络类型: </p><ul><li>Open 公网</li><li>Internal 内网 (暂不支持)</li></ul>
|
|
47350
47545
|
:rtype: str
|
|
47351
47546
|
"""
|
|
47352
47547
|
return self._NetworkType
|
|
@@ -47357,7 +47552,7 @@ class ModifyNetworkAccessStrategyRequest(AbstractModel):
|
|
|
47357
47552
|
|
|
47358
47553
|
@property
|
|
47359
47554
|
def Vip(self):
|
|
47360
|
-
r"""ip
|
|
47555
|
+
r"""<p>ip地址</p>
|
|
47361
47556
|
:rtype: str
|
|
47362
47557
|
"""
|
|
47363
47558
|
return self._Vip
|
|
@@ -47368,7 +47563,7 @@ class ModifyNetworkAccessStrategyRequest(AbstractModel):
|
|
|
47368
47563
|
|
|
47369
47564
|
@property
|
|
47370
47565
|
def AccessControl(self):
|
|
47371
|
-
r"""
|
|
47566
|
+
r"""<p>访问控制策略</p>
|
|
47372
47567
|
:rtype: :class:`tencentcloud.tse.v20201207.models.NetworkAccessControl`
|
|
47373
47568
|
"""
|
|
47374
47569
|
return self._AccessControl
|
|
@@ -47377,6 +47572,28 @@ class ModifyNetworkAccessStrategyRequest(AbstractModel):
|
|
|
47377
47572
|
def AccessControl(self, AccessControl):
|
|
47378
47573
|
self._AccessControl = AccessControl
|
|
47379
47574
|
|
|
47575
|
+
@property
|
|
47576
|
+
def AccessControlSource(self):
|
|
47577
|
+
r"""<p>GlobalConfig / Custom;不传默认 Custom</p>
|
|
47578
|
+
:rtype: str
|
|
47579
|
+
"""
|
|
47580
|
+
return self._AccessControlSource
|
|
47581
|
+
|
|
47582
|
+
@AccessControlSource.setter
|
|
47583
|
+
def AccessControlSource(self, AccessControlSource):
|
|
47584
|
+
self._AccessControlSource = AccessControlSource
|
|
47585
|
+
|
|
47586
|
+
@property
|
|
47587
|
+
def GlobalConfigId(self):
|
|
47588
|
+
r"""<p>全局配置ID</p>
|
|
47589
|
+
:rtype: str
|
|
47590
|
+
"""
|
|
47591
|
+
return self._GlobalConfigId
|
|
47592
|
+
|
|
47593
|
+
@GlobalConfigId.setter
|
|
47594
|
+
def GlobalConfigId(self, GlobalConfigId):
|
|
47595
|
+
self._GlobalConfigId = GlobalConfigId
|
|
47596
|
+
|
|
47380
47597
|
|
|
47381
47598
|
def _deserialize(self, params):
|
|
47382
47599
|
self._GatewayId = params.get("GatewayId")
|
|
@@ -47386,6 +47603,8 @@ class ModifyNetworkAccessStrategyRequest(AbstractModel):
|
|
|
47386
47603
|
if params.get("AccessControl") is not None:
|
|
47387
47604
|
self._AccessControl = NetworkAccessControl()
|
|
47388
47605
|
self._AccessControl._deserialize(params.get("AccessControl"))
|
|
47606
|
+
self._AccessControlSource = params.get("AccessControlSource")
|
|
47607
|
+
self._GlobalConfigId = params.get("GlobalConfigId")
|
|
47389
47608
|
memeber_set = set(params.keys())
|
|
47390
47609
|
for name, value in vars(self).items():
|
|
47391
47610
|
property_name = name[1:]
|
|
@@ -51305,6 +51524,57 @@ class TSEGatewaySelector(AbstractModel):
|
|
|
51305
51524
|
|
|
51306
51525
|
|
|
51307
51526
|
|
|
51527
|
+
class TagKVFilter(AbstractModel):
|
|
51528
|
+
r"""按标签 K:V 过滤条件(关联需求:路由/服务标签分组管理)
|
|
51529
|
+
|
|
51530
|
+
"""
|
|
51531
|
+
|
|
51532
|
+
def __init__(self):
|
|
51533
|
+
r"""
|
|
51534
|
+
:param _TagKey: <p>标签 Key,长度 1~64</p>
|
|
51535
|
+
:type TagKey: str
|
|
51536
|
+
:param _TagValue: <p>标签 Value,长度 1~128</p>
|
|
51537
|
+
:type TagValue: str
|
|
51538
|
+
"""
|
|
51539
|
+
self._TagKey = None
|
|
51540
|
+
self._TagValue = None
|
|
51541
|
+
|
|
51542
|
+
@property
|
|
51543
|
+
def TagKey(self):
|
|
51544
|
+
r"""<p>标签 Key,长度 1~64</p>
|
|
51545
|
+
:rtype: str
|
|
51546
|
+
"""
|
|
51547
|
+
return self._TagKey
|
|
51548
|
+
|
|
51549
|
+
@TagKey.setter
|
|
51550
|
+
def TagKey(self, TagKey):
|
|
51551
|
+
self._TagKey = TagKey
|
|
51552
|
+
|
|
51553
|
+
@property
|
|
51554
|
+
def TagValue(self):
|
|
51555
|
+
r"""<p>标签 Value,长度 1~128</p>
|
|
51556
|
+
:rtype: str
|
|
51557
|
+
"""
|
|
51558
|
+
return self._TagValue
|
|
51559
|
+
|
|
51560
|
+
@TagValue.setter
|
|
51561
|
+
def TagValue(self, TagValue):
|
|
51562
|
+
self._TagValue = TagValue
|
|
51563
|
+
|
|
51564
|
+
|
|
51565
|
+
def _deserialize(self, params):
|
|
51566
|
+
self._TagKey = params.get("TagKey")
|
|
51567
|
+
self._TagValue = params.get("TagValue")
|
|
51568
|
+
memeber_set = set(params.keys())
|
|
51569
|
+
for name, value in vars(self).items():
|
|
51570
|
+
property_name = name[1:]
|
|
51571
|
+
if property_name in memeber_set:
|
|
51572
|
+
memeber_set.remove(property_name)
|
|
51573
|
+
if len(memeber_set) > 0:
|
|
51574
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
51575
|
+
|
|
51576
|
+
|
|
51577
|
+
|
|
51308
51578
|
class TrafficGray(AbstractModel):
|
|
51309
51579
|
r"""泳道流量灰度规则
|
|
51310
51580
|
|
|
@@ -3614,7 +3614,7 @@ class TseClient(AbstractClient):
|
|
|
3614
3614
|
|
|
3615
3615
|
|
|
3616
3616
|
def ModifyNetworkAccessStrategy(self, request):
|
|
3617
|
-
r"""修改云原生API网关实例Kong访问策略,支持白名单或者黑名单。
|
|
3617
|
+
r"""修改云原生API网关实例Kong访问策略,支持白名单或者黑名单。 支持 AccessControlSource=reference 引用实例基础配置,与自定义 CIDR 互斥。
|
|
3618
3618
|
|
|
3619
3619
|
:param request: Request instance for ModifyNetworkAccessStrategy.
|
|
3620
3620
|
:type request: :class:`tencentcloud.tse.v20201207.models.ModifyNetworkAccessStrategyRequest`
|
|
@@ -2843,7 +2843,7 @@ class TseClient(AbstractClient):
|
|
|
2843
2843
|
opts: Dict = None,
|
|
2844
2844
|
) -> models.ModifyNetworkAccessStrategyResponse:
|
|
2845
2845
|
"""
|
|
2846
|
-
修改云原生API网关实例Kong访问策略,支持白名单或者黑名单。
|
|
2846
|
+
修改云原生API网关实例Kong访问策略,支持白名单或者黑名单。 支持 AccessControlSource=reference 引用实例基础配置,与自定义 CIDR 互斥。
|
|
2847
2847
|
"""
|
|
2848
2848
|
|
|
2849
2849
|
kwargs = {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tse
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.207
|
|
4
4
|
Summary: Tencent Cloud Tse 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.207
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.207
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.200
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|