tencentcloud-sdk-python-igtm 3.1.28__tar.gz → 3.1.177__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_igtm-3.1.28 → tencentcloud_sdk_python_igtm-3.1.177}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_igtm-3.1.28 → tencentcloud_sdk_python_igtm-3.1.177}/setup.py +1 -1
- {tencentcloud_sdk_python_igtm-3.1.28 → tencentcloud_sdk_python_igtm-3.1.177}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_igtm-3.1.28 → tencentcloud_sdk_python_igtm-3.1.177}/tencentcloud/igtm/v20231024/errorcodes.py +3 -0
- {tencentcloud_sdk_python_igtm-3.1.28 → tencentcloud_sdk_python_igtm-3.1.177}/tencentcloud/igtm/v20231024/models.py +104 -74
- {tencentcloud_sdk_python_igtm-3.1.28 → tencentcloud_sdk_python_igtm-3.1.177}/tencentcloud_sdk_python_igtm.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_igtm-3.1.177/tencentcloud_sdk_python_igtm.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_igtm-3.1.28/tencentcloud_sdk_python_igtm.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_igtm-3.1.28 → tencentcloud_sdk_python_igtm-3.1.177}/README.rst +0 -0
- {tencentcloud_sdk_python_igtm-3.1.28 → tencentcloud_sdk_python_igtm-3.1.177}/setup.cfg +0 -0
- {tencentcloud_sdk_python_igtm-3.1.28 → tencentcloud_sdk_python_igtm-3.1.177}/tencentcloud/igtm/__init__.py +0 -0
- {tencentcloud_sdk_python_igtm-3.1.28 → tencentcloud_sdk_python_igtm-3.1.177}/tencentcloud/igtm/v20231024/__init__.py +0 -0
- {tencentcloud_sdk_python_igtm-3.1.28 → tencentcloud_sdk_python_igtm-3.1.177}/tencentcloud/igtm/v20231024/igtm_client.py +0 -0
- {tencentcloud_sdk_python_igtm-3.1.28 → tencentcloud_sdk_python_igtm-3.1.177}/tencentcloud/igtm/v20231024/igtm_client_async.py +0 -0
- {tencentcloud_sdk_python_igtm-3.1.28 → tencentcloud_sdk_python_igtm-3.1.177}/tencentcloud_sdk_python_igtm.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_igtm-3.1.28 → tencentcloud_sdk_python_igtm-3.1.177}/tencentcloud_sdk_python_igtm.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_igtm-3.1.28 → tencentcloud_sdk_python_igtm-3.1.177}/tencentcloud_sdk_python_igtm.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-igtm
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.177
|
|
4
4
|
Summary: Tencent Cloud Igtm 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.177
|
|
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-igtm',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.177,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Igtm SDK for Python',
|
|
@@ -146,6 +146,9 @@ INVALIDPARAMETER_TRAFFICSTRATEGYINVALID = 'InvalidParameter.TrafficStrategyInval
|
|
|
146
146
|
# 参数取值错误。
|
|
147
147
|
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
148
148
|
|
|
149
|
+
# 是否启用类型不合法
|
|
150
|
+
INVALIDPARAMETERVALUE_ISENABLEDINVALID = 'InvalidParameterValue.IsEnabledInvalid'
|
|
151
|
+
|
|
149
152
|
# 地址池地址重复
|
|
150
153
|
INVALIDPARAMETERVALUE_POOLADDRDUPLICATED = 'InvalidParameterValue.PoolAddrDuplicated'
|
|
151
154
|
|
|
@@ -2092,11 +2092,11 @@ class DescribeAddressPoolListRequest(AbstractModel):
|
|
|
2092
2092
|
|
|
2093
2093
|
def __init__(self):
|
|
2094
2094
|
r"""
|
|
2095
|
-
:param _Filters:
|
|
2095
|
+
:param _Filters: <p>告警过滤条件:PoolName:地址池名称;MonitorId:监控器id</p>
|
|
2096
2096
|
:type Filters: list of ResourceFilter
|
|
2097
|
-
:param _Offset:
|
|
2097
|
+
:param _Offset: <p>页数</p>
|
|
2098
2098
|
:type Offset: int
|
|
2099
|
-
:param _Limit:
|
|
2099
|
+
:param _Limit: <p>每页数</p>
|
|
2100
2100
|
:type Limit: int
|
|
2101
2101
|
"""
|
|
2102
2102
|
self._Filters = None
|
|
@@ -2105,7 +2105,7 @@ class DescribeAddressPoolListRequest(AbstractModel):
|
|
|
2105
2105
|
|
|
2106
2106
|
@property
|
|
2107
2107
|
def Filters(self):
|
|
2108
|
-
r"""
|
|
2108
|
+
r"""<p>告警过滤条件:PoolName:地址池名称;MonitorId:监控器id</p>
|
|
2109
2109
|
:rtype: list of ResourceFilter
|
|
2110
2110
|
"""
|
|
2111
2111
|
return self._Filters
|
|
@@ -2116,7 +2116,7 @@ class DescribeAddressPoolListRequest(AbstractModel):
|
|
|
2116
2116
|
|
|
2117
2117
|
@property
|
|
2118
2118
|
def Offset(self):
|
|
2119
|
-
r"""
|
|
2119
|
+
r"""<p>页数</p>
|
|
2120
2120
|
:rtype: int
|
|
2121
2121
|
"""
|
|
2122
2122
|
return self._Offset
|
|
@@ -2127,7 +2127,7 @@ class DescribeAddressPoolListRequest(AbstractModel):
|
|
|
2127
2127
|
|
|
2128
2128
|
@property
|
|
2129
2129
|
def Limit(self):
|
|
2130
|
-
r"""
|
|
2130
|
+
r"""<p>每页数</p>
|
|
2131
2131
|
:rtype: int
|
|
2132
2132
|
"""
|
|
2133
2133
|
return self._Limit
|
|
@@ -2163,9 +2163,9 @@ class DescribeAddressPoolListResponse(AbstractModel):
|
|
|
2163
2163
|
|
|
2164
2164
|
def __init__(self):
|
|
2165
2165
|
r"""
|
|
2166
|
-
:param _AddressPoolSet:
|
|
2166
|
+
:param _AddressPoolSet: <p>资源组列表</p>
|
|
2167
2167
|
:type AddressPoolSet: list of AddressPool
|
|
2168
|
-
:param _TotalCount:
|
|
2168
|
+
:param _TotalCount: <p>总数</p>
|
|
2169
2169
|
:type TotalCount: int
|
|
2170
2170
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2171
2171
|
:type RequestId: str
|
|
@@ -2176,7 +2176,7 @@ class DescribeAddressPoolListResponse(AbstractModel):
|
|
|
2176
2176
|
|
|
2177
2177
|
@property
|
|
2178
2178
|
def AddressPoolSet(self):
|
|
2179
|
-
r"""
|
|
2179
|
+
r"""<p>资源组列表</p>
|
|
2180
2180
|
:rtype: list of AddressPool
|
|
2181
2181
|
"""
|
|
2182
2182
|
return self._AddressPoolSet
|
|
@@ -2187,7 +2187,7 @@ class DescribeAddressPoolListResponse(AbstractModel):
|
|
|
2187
2187
|
|
|
2188
2188
|
@property
|
|
2189
2189
|
def TotalCount(self):
|
|
2190
|
-
r"""
|
|
2190
|
+
r"""<p>总数</p>
|
|
2191
2191
|
:rtype: int
|
|
2192
2192
|
"""
|
|
2193
2193
|
return self._TotalCount
|
|
@@ -2648,14 +2648,14 @@ class DescribeDnsLineListRequest(AbstractModel):
|
|
|
2648
2648
|
|
|
2649
2649
|
def __init__(self):
|
|
2650
2650
|
r"""
|
|
2651
|
-
:param _InstanceId:
|
|
2651
|
+
:param _InstanceId: <p>实例id</p>
|
|
2652
2652
|
:type InstanceId: str
|
|
2653
2653
|
"""
|
|
2654
2654
|
self._InstanceId = None
|
|
2655
2655
|
|
|
2656
2656
|
@property
|
|
2657
2657
|
def InstanceId(self):
|
|
2658
|
-
r"""
|
|
2658
|
+
r"""<p>实例id</p>
|
|
2659
2659
|
:rtype: str
|
|
2660
2660
|
"""
|
|
2661
2661
|
return self._InstanceId
|
|
@@ -2684,7 +2684,7 @@ class DescribeDnsLineListResponse(AbstractModel):
|
|
|
2684
2684
|
|
|
2685
2685
|
def __init__(self):
|
|
2686
2686
|
r"""
|
|
2687
|
-
:param _DnsLineSet:
|
|
2687
|
+
:param _DnsLineSet: <p>地址池列表</p>
|
|
2688
2688
|
:type DnsLineSet: list of GroupLine
|
|
2689
2689
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2690
2690
|
:type RequestId: str
|
|
@@ -2694,7 +2694,7 @@ class DescribeDnsLineListResponse(AbstractModel):
|
|
|
2694
2694
|
|
|
2695
2695
|
@property
|
|
2696
2696
|
def DnsLineSet(self):
|
|
2697
|
-
r"""
|
|
2697
|
+
r"""<p>地址池列表</p>
|
|
2698
2698
|
:rtype: list of GroupLine
|
|
2699
2699
|
"""
|
|
2700
2700
|
return self._DnsLineSet
|
|
@@ -3111,14 +3111,14 @@ class DescribeMonitorDetailRequest(AbstractModel):
|
|
|
3111
3111
|
|
|
3112
3112
|
def __init__(self):
|
|
3113
3113
|
r"""
|
|
3114
|
-
:param _MonitorId:
|
|
3114
|
+
:param _MonitorId: <p>监控器id</p>
|
|
3115
3115
|
:type MonitorId: int
|
|
3116
3116
|
"""
|
|
3117
3117
|
self._MonitorId = None
|
|
3118
3118
|
|
|
3119
3119
|
@property
|
|
3120
3120
|
def MonitorId(self):
|
|
3121
|
-
r"""
|
|
3121
|
+
r"""<p>监控器id</p>
|
|
3122
3122
|
:rtype: int
|
|
3123
3123
|
"""
|
|
3124
3124
|
return self._MonitorId
|
|
@@ -3147,7 +3147,7 @@ class DescribeMonitorDetailResponse(AbstractModel):
|
|
|
3147
3147
|
|
|
3148
3148
|
def __init__(self):
|
|
3149
3149
|
r"""
|
|
3150
|
-
:param _MonitorDetail:
|
|
3150
|
+
:param _MonitorDetail: <p>探测规则</p>
|
|
3151
3151
|
:type MonitorDetail: :class:`tencentcloud.igtm.v20231024.models.MonitorDetail`
|
|
3152
3152
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3153
3153
|
:type RequestId: str
|
|
@@ -3157,7 +3157,7 @@ class DescribeMonitorDetailResponse(AbstractModel):
|
|
|
3157
3157
|
|
|
3158
3158
|
@property
|
|
3159
3159
|
def MonitorDetail(self):
|
|
3160
|
-
r"""
|
|
3160
|
+
r"""<p>探测规则</p>
|
|
3161
3161
|
:rtype: :class:`tencentcloud.igtm.v20231024.models.MonitorDetail`
|
|
3162
3162
|
"""
|
|
3163
3163
|
return self._MonitorDetail
|
|
@@ -3518,13 +3518,13 @@ class DescribeStrategyListRequest(AbstractModel):
|
|
|
3518
3518
|
|
|
3519
3519
|
def __init__(self):
|
|
3520
3520
|
r"""
|
|
3521
|
-
:param _InstanceId:
|
|
3521
|
+
:param _InstanceId: <p>实例 id</p>
|
|
3522
3522
|
:type InstanceId: str
|
|
3523
|
-
:param _Offset:
|
|
3523
|
+
:param _Offset: <p>偏移量</p>
|
|
3524
3524
|
:type Offset: int
|
|
3525
|
-
:param _Limit:
|
|
3525
|
+
:param _Limit: <p>每页条数</p>
|
|
3526
3526
|
:type Limit: int
|
|
3527
|
-
:param _Filters:
|
|
3527
|
+
:param _Filters: <p>策略过滤条件:StrategyName:策略名称</p>
|
|
3528
3528
|
:type Filters: list of ResourceFilter
|
|
3529
3529
|
"""
|
|
3530
3530
|
self._InstanceId = None
|
|
@@ -3534,7 +3534,7 @@ class DescribeStrategyListRequest(AbstractModel):
|
|
|
3534
3534
|
|
|
3535
3535
|
@property
|
|
3536
3536
|
def InstanceId(self):
|
|
3537
|
-
r"""
|
|
3537
|
+
r"""<p>实例 id</p>
|
|
3538
3538
|
:rtype: str
|
|
3539
3539
|
"""
|
|
3540
3540
|
return self._InstanceId
|
|
@@ -3545,7 +3545,7 @@ class DescribeStrategyListRequest(AbstractModel):
|
|
|
3545
3545
|
|
|
3546
3546
|
@property
|
|
3547
3547
|
def Offset(self):
|
|
3548
|
-
r"""
|
|
3548
|
+
r"""<p>偏移量</p>
|
|
3549
3549
|
:rtype: int
|
|
3550
3550
|
"""
|
|
3551
3551
|
return self._Offset
|
|
@@ -3556,7 +3556,7 @@ class DescribeStrategyListRequest(AbstractModel):
|
|
|
3556
3556
|
|
|
3557
3557
|
@property
|
|
3558
3558
|
def Limit(self):
|
|
3559
|
-
r"""
|
|
3559
|
+
r"""<p>每页条数</p>
|
|
3560
3560
|
:rtype: int
|
|
3561
3561
|
"""
|
|
3562
3562
|
return self._Limit
|
|
@@ -3567,7 +3567,7 @@ class DescribeStrategyListRequest(AbstractModel):
|
|
|
3567
3567
|
|
|
3568
3568
|
@property
|
|
3569
3569
|
def Filters(self):
|
|
3570
|
-
r"""
|
|
3570
|
+
r"""<p>策略过滤条件:StrategyName:策略名称</p>
|
|
3571
3571
|
:rtype: list of ResourceFilter
|
|
3572
3572
|
"""
|
|
3573
3573
|
return self._Filters
|
|
@@ -3604,9 +3604,9 @@ class DescribeStrategyListResponse(AbstractModel):
|
|
|
3604
3604
|
|
|
3605
3605
|
def __init__(self):
|
|
3606
3606
|
r"""
|
|
3607
|
-
:param _StrategySet:
|
|
3607
|
+
:param _StrategySet: <p>策略列表</p>
|
|
3608
3608
|
:type StrategySet: list of Strategy
|
|
3609
|
-
:param _TotalCount:
|
|
3609
|
+
:param _TotalCount: <p>总数</p>
|
|
3610
3610
|
:type TotalCount: int
|
|
3611
3611
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3612
3612
|
:type RequestId: str
|
|
@@ -3617,7 +3617,7 @@ class DescribeStrategyListResponse(AbstractModel):
|
|
|
3617
3617
|
|
|
3618
3618
|
@property
|
|
3619
3619
|
def StrategySet(self):
|
|
3620
|
-
r"""
|
|
3620
|
+
r"""<p>策略列表</p>
|
|
3621
3621
|
:rtype: list of Strategy
|
|
3622
3622
|
"""
|
|
3623
3623
|
return self._StrategySet
|
|
@@ -3628,7 +3628,7 @@ class DescribeStrategyListResponse(AbstractModel):
|
|
|
3628
3628
|
|
|
3629
3629
|
@property
|
|
3630
3630
|
def TotalCount(self):
|
|
3631
|
-
r"""
|
|
3631
|
+
r"""<p>总数</p>
|
|
3632
3632
|
:rtype: int
|
|
3633
3633
|
"""
|
|
3634
3634
|
return self._TotalCount
|
|
@@ -5212,14 +5212,14 @@ class MainAddressPool(AbstractModel):
|
|
|
5212
5212
|
|
|
5213
5213
|
def __init__(self):
|
|
5214
5214
|
r"""
|
|
5215
|
-
:param _AddressPools:
|
|
5215
|
+
:param _AddressPools: <p>集合中的地址池id与权重,数组</p>
|
|
5216
5216
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5217
5217
|
:type AddressPools: list of MainPoolWeight
|
|
5218
|
-
:param _MainAddressPoolId:
|
|
5218
|
+
:param _MainAddressPoolId: <p>地址池集合id</p>
|
|
5219
5219
|
:type MainAddressPoolId: int
|
|
5220
|
-
:param _MinSurviveNum:
|
|
5220
|
+
:param _MinSurviveNum: <p>切换阈值,不能大于主力集合内地址总数</p>
|
|
5221
5221
|
:type MinSurviveNum: int
|
|
5222
|
-
:param _TrafficStrategy:
|
|
5222
|
+
:param _TrafficStrategy: <p>切换策略:ALL解析所有地址;WEIGHT:负载均衡。当为ALL时,解析地址的权重值为1;当为WEIGHT时;权重为地址池权重*地址权重</p>
|
|
5223
5223
|
:type TrafficStrategy: str
|
|
5224
5224
|
"""
|
|
5225
5225
|
self._AddressPools = None
|
|
@@ -5229,7 +5229,7 @@ class MainAddressPool(AbstractModel):
|
|
|
5229
5229
|
|
|
5230
5230
|
@property
|
|
5231
5231
|
def AddressPools(self):
|
|
5232
|
-
r"""
|
|
5232
|
+
r"""<p>集合中的地址池id与权重,数组</p>
|
|
5233
5233
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5234
5234
|
:rtype: list of MainPoolWeight
|
|
5235
5235
|
"""
|
|
@@ -5241,7 +5241,7 @@ class MainAddressPool(AbstractModel):
|
|
|
5241
5241
|
|
|
5242
5242
|
@property
|
|
5243
5243
|
def MainAddressPoolId(self):
|
|
5244
|
-
r"""
|
|
5244
|
+
r"""<p>地址池集合id</p>
|
|
5245
5245
|
:rtype: int
|
|
5246
5246
|
"""
|
|
5247
5247
|
return self._MainAddressPoolId
|
|
@@ -5252,7 +5252,7 @@ class MainAddressPool(AbstractModel):
|
|
|
5252
5252
|
|
|
5253
5253
|
@property
|
|
5254
5254
|
def MinSurviveNum(self):
|
|
5255
|
-
r"""
|
|
5255
|
+
r"""<p>切换阈值,不能大于主力集合内地址总数</p>
|
|
5256
5256
|
:rtype: int
|
|
5257
5257
|
"""
|
|
5258
5258
|
return self._MinSurviveNum
|
|
@@ -5263,7 +5263,7 @@ class MainAddressPool(AbstractModel):
|
|
|
5263
5263
|
|
|
5264
5264
|
@property
|
|
5265
5265
|
def TrafficStrategy(self):
|
|
5266
|
-
r"""
|
|
5266
|
+
r"""<p>切换策略:ALL解析所有地址;WEIGHT:负载均衡。当为ALL时,解析地址的权重值为1;当为WEIGHT时;权重为地址池权重*地址权重</p>
|
|
5267
5267
|
:rtype: str
|
|
5268
5268
|
"""
|
|
5269
5269
|
return self._TrafficStrategy
|
|
@@ -5353,26 +5353,29 @@ class ModifyAddressPoolRequest(AbstractModel):
|
|
|
5353
5353
|
|
|
5354
5354
|
def __init__(self):
|
|
5355
5355
|
r"""
|
|
5356
|
-
:param _PoolId:
|
|
5356
|
+
:param _PoolId: <p>地址池id</p>
|
|
5357
5357
|
:type PoolId: int
|
|
5358
|
-
:param _PoolName:
|
|
5358
|
+
:param _PoolName: <p>地址池名称,不允许重复</p>
|
|
5359
5359
|
:type PoolName: str
|
|
5360
|
-
:param _TrafficStrategy:
|
|
5360
|
+
:param _TrafficStrategy: <p>流量策略: WEIGHT负载均衡,ALL解析全部</p>
|
|
5361
5361
|
:type TrafficStrategy: str
|
|
5362
|
-
:param _MonitorId:
|
|
5362
|
+
:param _MonitorId: <p>监控器id,当监控器已关联策略时,此字段必传</p>
|
|
5363
5363
|
:type MonitorId: int
|
|
5364
|
-
:param _AddressSet:
|
|
5364
|
+
:param _AddressSet: <p>地址列表,全量更新逻辑,对于存量不需要修改的地址信息也需要带上(其中参数里的AddressId需传入正确的值),否则会被删除。</p>
|
|
5365
5365
|
:type AddressSet: list of Address
|
|
5366
|
+
:param _KeepResource: <p>是否保留资源</p><p>枚举值:</p><ul><li>false: 全量操作,会有删除逻辑</li><li>true: 不会删除原有资源</li></ul>
|
|
5367
|
+
:type KeepResource: bool
|
|
5366
5368
|
"""
|
|
5367
5369
|
self._PoolId = None
|
|
5368
5370
|
self._PoolName = None
|
|
5369
5371
|
self._TrafficStrategy = None
|
|
5370
5372
|
self._MonitorId = None
|
|
5371
5373
|
self._AddressSet = None
|
|
5374
|
+
self._KeepResource = None
|
|
5372
5375
|
|
|
5373
5376
|
@property
|
|
5374
5377
|
def PoolId(self):
|
|
5375
|
-
r"""
|
|
5378
|
+
r"""<p>地址池id</p>
|
|
5376
5379
|
:rtype: int
|
|
5377
5380
|
"""
|
|
5378
5381
|
return self._PoolId
|
|
@@ -5383,7 +5386,7 @@ class ModifyAddressPoolRequest(AbstractModel):
|
|
|
5383
5386
|
|
|
5384
5387
|
@property
|
|
5385
5388
|
def PoolName(self):
|
|
5386
|
-
r"""
|
|
5389
|
+
r"""<p>地址池名称,不允许重复</p>
|
|
5387
5390
|
:rtype: str
|
|
5388
5391
|
"""
|
|
5389
5392
|
return self._PoolName
|
|
@@ -5394,7 +5397,7 @@ class ModifyAddressPoolRequest(AbstractModel):
|
|
|
5394
5397
|
|
|
5395
5398
|
@property
|
|
5396
5399
|
def TrafficStrategy(self):
|
|
5397
|
-
r"""
|
|
5400
|
+
r"""<p>流量策略: WEIGHT负载均衡,ALL解析全部</p>
|
|
5398
5401
|
:rtype: str
|
|
5399
5402
|
"""
|
|
5400
5403
|
return self._TrafficStrategy
|
|
@@ -5405,7 +5408,7 @@ class ModifyAddressPoolRequest(AbstractModel):
|
|
|
5405
5408
|
|
|
5406
5409
|
@property
|
|
5407
5410
|
def MonitorId(self):
|
|
5408
|
-
r"""
|
|
5411
|
+
r"""<p>监控器id,当监控器已关联策略时,此字段必传</p>
|
|
5409
5412
|
:rtype: int
|
|
5410
5413
|
"""
|
|
5411
5414
|
return self._MonitorId
|
|
@@ -5416,7 +5419,7 @@ class ModifyAddressPoolRequest(AbstractModel):
|
|
|
5416
5419
|
|
|
5417
5420
|
@property
|
|
5418
5421
|
def AddressSet(self):
|
|
5419
|
-
r"""
|
|
5422
|
+
r"""<p>地址列表,全量更新逻辑,对于存量不需要修改的地址信息也需要带上(其中参数里的AddressId需传入正确的值),否则会被删除。</p>
|
|
5420
5423
|
:rtype: list of Address
|
|
5421
5424
|
"""
|
|
5422
5425
|
return self._AddressSet
|
|
@@ -5425,6 +5428,17 @@ class ModifyAddressPoolRequest(AbstractModel):
|
|
|
5425
5428
|
def AddressSet(self, AddressSet):
|
|
5426
5429
|
self._AddressSet = AddressSet
|
|
5427
5430
|
|
|
5431
|
+
@property
|
|
5432
|
+
def KeepResource(self):
|
|
5433
|
+
r"""<p>是否保留资源</p><p>枚举值:</p><ul><li>false: 全量操作,会有删除逻辑</li><li>true: 不会删除原有资源</li></ul>
|
|
5434
|
+
:rtype: bool
|
|
5435
|
+
"""
|
|
5436
|
+
return self._KeepResource
|
|
5437
|
+
|
|
5438
|
+
@KeepResource.setter
|
|
5439
|
+
def KeepResource(self, KeepResource):
|
|
5440
|
+
self._KeepResource = KeepResource
|
|
5441
|
+
|
|
5428
5442
|
|
|
5429
5443
|
def _deserialize(self, params):
|
|
5430
5444
|
self._PoolId = params.get("PoolId")
|
|
@@ -5437,6 +5451,7 @@ class ModifyAddressPoolRequest(AbstractModel):
|
|
|
5437
5451
|
obj = Address()
|
|
5438
5452
|
obj._deserialize(item)
|
|
5439
5453
|
self._AddressSet.append(obj)
|
|
5454
|
+
self._KeepResource = params.get("KeepResource")
|
|
5440
5455
|
memeber_set = set(params.keys())
|
|
5441
5456
|
for name, value in vars(self).items():
|
|
5442
5457
|
property_name = name[1:]
|
|
@@ -5454,7 +5469,7 @@ class ModifyAddressPoolResponse(AbstractModel):
|
|
|
5454
5469
|
|
|
5455
5470
|
def __init__(self):
|
|
5456
5471
|
r"""
|
|
5457
|
-
:param _Msg:
|
|
5472
|
+
:param _Msg: <p>是否修改成功</p>
|
|
5458
5473
|
:type Msg: str
|
|
5459
5474
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5460
5475
|
:type RequestId: str
|
|
@@ -5464,7 +5479,7 @@ class ModifyAddressPoolResponse(AbstractModel):
|
|
|
5464
5479
|
|
|
5465
5480
|
@property
|
|
5466
5481
|
def Msg(self):
|
|
5467
|
-
r"""
|
|
5482
|
+
r"""<p>是否修改成功</p>
|
|
5468
5483
|
:rtype: str
|
|
5469
5484
|
"""
|
|
5470
5485
|
return self._Msg
|
|
@@ -6023,24 +6038,26 @@ class ModifyStrategyRequest(AbstractModel):
|
|
|
6023
6038
|
|
|
6024
6039
|
def __init__(self):
|
|
6025
6040
|
r"""
|
|
6026
|
-
:param _InstanceId:
|
|
6041
|
+
:param _InstanceId: <p>实例id</p>
|
|
6027
6042
|
:type InstanceId: str
|
|
6028
|
-
:param _StrategyId:
|
|
6043
|
+
:param _StrategyId: <p>策略id</p>
|
|
6029
6044
|
:type StrategyId: int
|
|
6030
|
-
:param _Source:
|
|
6045
|
+
:param _Source: <p>解析线路,需要全量传参</p>
|
|
6031
6046
|
:type Source: list of Source
|
|
6032
|
-
:param _MainAddressPoolSet:
|
|
6047
|
+
:param _MainAddressPoolSet: <p>主力地址池集合,需要全量传参</p>
|
|
6033
6048
|
:type MainAddressPoolSet: list of MainAddressPool
|
|
6034
|
-
:param _FallbackAddressPoolSet:
|
|
6049
|
+
:param _FallbackAddressPoolSet: <p>兜底地址池集合,需要全量传参</p>
|
|
6035
6050
|
:type FallbackAddressPoolSet: list of MainAddressPool
|
|
6036
|
-
:param _StrategyName:
|
|
6051
|
+
:param _StrategyName: <p>策略名称,不允许重复</p>
|
|
6037
6052
|
:type StrategyName: str
|
|
6038
|
-
:param _IsEnabled:
|
|
6053
|
+
:param _IsEnabled: <p>策略开启状态:ENABLED开启;DISABLED关闭</p>
|
|
6039
6054
|
:type IsEnabled: str
|
|
6040
|
-
:param _KeepDomainRecords:
|
|
6055
|
+
:param _KeepDomainRecords: <p>是否开启策略强制保留默认线路 disabled, enabled,默认不开启且只有一个策略能开启</p>
|
|
6041
6056
|
:type KeepDomainRecords: str
|
|
6042
|
-
:param _SwitchPoolType:
|
|
6057
|
+
:param _SwitchPoolType: <p>调度模式:AUTO默认;STOP仅暂停不切换</p>
|
|
6043
6058
|
:type SwitchPoolType: str
|
|
6059
|
+
:param _KeepResource: <p>是否保留资源</p><p>枚举值:</p><ul><li>false: 全量操作,会有删除逻辑</li><li>true: 不会删除原有资源</li></ul>
|
|
6060
|
+
:type KeepResource: bool
|
|
6044
6061
|
"""
|
|
6045
6062
|
self._InstanceId = None
|
|
6046
6063
|
self._StrategyId = None
|
|
@@ -6051,10 +6068,11 @@ class ModifyStrategyRequest(AbstractModel):
|
|
|
6051
6068
|
self._IsEnabled = None
|
|
6052
6069
|
self._KeepDomainRecords = None
|
|
6053
6070
|
self._SwitchPoolType = None
|
|
6071
|
+
self._KeepResource = None
|
|
6054
6072
|
|
|
6055
6073
|
@property
|
|
6056
6074
|
def InstanceId(self):
|
|
6057
|
-
r"""
|
|
6075
|
+
r"""<p>实例id</p>
|
|
6058
6076
|
:rtype: str
|
|
6059
6077
|
"""
|
|
6060
6078
|
return self._InstanceId
|
|
@@ -6065,7 +6083,7 @@ class ModifyStrategyRequest(AbstractModel):
|
|
|
6065
6083
|
|
|
6066
6084
|
@property
|
|
6067
6085
|
def StrategyId(self):
|
|
6068
|
-
r"""
|
|
6086
|
+
r"""<p>策略id</p>
|
|
6069
6087
|
:rtype: int
|
|
6070
6088
|
"""
|
|
6071
6089
|
return self._StrategyId
|
|
@@ -6076,7 +6094,7 @@ class ModifyStrategyRequest(AbstractModel):
|
|
|
6076
6094
|
|
|
6077
6095
|
@property
|
|
6078
6096
|
def Source(self):
|
|
6079
|
-
r"""
|
|
6097
|
+
r"""<p>解析线路,需要全量传参</p>
|
|
6080
6098
|
:rtype: list of Source
|
|
6081
6099
|
"""
|
|
6082
6100
|
return self._Source
|
|
@@ -6087,7 +6105,7 @@ class ModifyStrategyRequest(AbstractModel):
|
|
|
6087
6105
|
|
|
6088
6106
|
@property
|
|
6089
6107
|
def MainAddressPoolSet(self):
|
|
6090
|
-
r"""
|
|
6108
|
+
r"""<p>主力地址池集合,需要全量传参</p>
|
|
6091
6109
|
:rtype: list of MainAddressPool
|
|
6092
6110
|
"""
|
|
6093
6111
|
return self._MainAddressPoolSet
|
|
@@ -6098,7 +6116,7 @@ class ModifyStrategyRequest(AbstractModel):
|
|
|
6098
6116
|
|
|
6099
6117
|
@property
|
|
6100
6118
|
def FallbackAddressPoolSet(self):
|
|
6101
|
-
r"""
|
|
6119
|
+
r"""<p>兜底地址池集合,需要全量传参</p>
|
|
6102
6120
|
:rtype: list of MainAddressPool
|
|
6103
6121
|
"""
|
|
6104
6122
|
return self._FallbackAddressPoolSet
|
|
@@ -6109,7 +6127,7 @@ class ModifyStrategyRequest(AbstractModel):
|
|
|
6109
6127
|
|
|
6110
6128
|
@property
|
|
6111
6129
|
def StrategyName(self):
|
|
6112
|
-
r"""
|
|
6130
|
+
r"""<p>策略名称,不允许重复</p>
|
|
6113
6131
|
:rtype: str
|
|
6114
6132
|
"""
|
|
6115
6133
|
return self._StrategyName
|
|
@@ -6120,7 +6138,7 @@ class ModifyStrategyRequest(AbstractModel):
|
|
|
6120
6138
|
|
|
6121
6139
|
@property
|
|
6122
6140
|
def IsEnabled(self):
|
|
6123
|
-
r"""
|
|
6141
|
+
r"""<p>策略开启状态:ENABLED开启;DISABLED关闭</p>
|
|
6124
6142
|
:rtype: str
|
|
6125
6143
|
"""
|
|
6126
6144
|
return self._IsEnabled
|
|
@@ -6131,7 +6149,7 @@ class ModifyStrategyRequest(AbstractModel):
|
|
|
6131
6149
|
|
|
6132
6150
|
@property
|
|
6133
6151
|
def KeepDomainRecords(self):
|
|
6134
|
-
r"""
|
|
6152
|
+
r"""<p>是否开启策略强制保留默认线路 disabled, enabled,默认不开启且只有一个策略能开启</p>
|
|
6135
6153
|
:rtype: str
|
|
6136
6154
|
"""
|
|
6137
6155
|
return self._KeepDomainRecords
|
|
@@ -6142,7 +6160,7 @@ class ModifyStrategyRequest(AbstractModel):
|
|
|
6142
6160
|
|
|
6143
6161
|
@property
|
|
6144
6162
|
def SwitchPoolType(self):
|
|
6145
|
-
r"""
|
|
6163
|
+
r"""<p>调度模式:AUTO默认;STOP仅暂停不切换</p>
|
|
6146
6164
|
:rtype: str
|
|
6147
6165
|
"""
|
|
6148
6166
|
return self._SwitchPoolType
|
|
@@ -6151,6 +6169,17 @@ class ModifyStrategyRequest(AbstractModel):
|
|
|
6151
6169
|
def SwitchPoolType(self, SwitchPoolType):
|
|
6152
6170
|
self._SwitchPoolType = SwitchPoolType
|
|
6153
6171
|
|
|
6172
|
+
@property
|
|
6173
|
+
def KeepResource(self):
|
|
6174
|
+
r"""<p>是否保留资源</p><p>枚举值:</p><ul><li>false: 全量操作,会有删除逻辑</li><li>true: 不会删除原有资源</li></ul>
|
|
6175
|
+
:rtype: bool
|
|
6176
|
+
"""
|
|
6177
|
+
return self._KeepResource
|
|
6178
|
+
|
|
6179
|
+
@KeepResource.setter
|
|
6180
|
+
def KeepResource(self, KeepResource):
|
|
6181
|
+
self._KeepResource = KeepResource
|
|
6182
|
+
|
|
6154
6183
|
|
|
6155
6184
|
def _deserialize(self, params):
|
|
6156
6185
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -6177,6 +6206,7 @@ class ModifyStrategyRequest(AbstractModel):
|
|
|
6177
6206
|
self._IsEnabled = params.get("IsEnabled")
|
|
6178
6207
|
self._KeepDomainRecords = params.get("KeepDomainRecords")
|
|
6179
6208
|
self._SwitchPoolType = params.get("SwitchPoolType")
|
|
6209
|
+
self._KeepResource = params.get("KeepResource")
|
|
6180
6210
|
memeber_set = set(params.keys())
|
|
6181
6211
|
for name, value in vars(self).items():
|
|
6182
6212
|
property_name = name[1:]
|
|
@@ -6194,7 +6224,7 @@ class ModifyStrategyResponse(AbstractModel):
|
|
|
6194
6224
|
|
|
6195
6225
|
def __init__(self):
|
|
6196
6226
|
r"""
|
|
6197
|
-
:param _Msg:
|
|
6227
|
+
:param _Msg: <p>是否成功</p>
|
|
6198
6228
|
:type Msg: str
|
|
6199
6229
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6200
6230
|
:type RequestId: str
|
|
@@ -6204,7 +6234,7 @@ class ModifyStrategyResponse(AbstractModel):
|
|
|
6204
6234
|
|
|
6205
6235
|
@property
|
|
6206
6236
|
def Msg(self):
|
|
6207
|
-
r"""
|
|
6237
|
+
r"""<p>是否成功</p>
|
|
6208
6238
|
:rtype: str
|
|
6209
6239
|
"""
|
|
6210
6240
|
return self._Msg
|
|
@@ -6779,8 +6809,8 @@ class ResourceFilter(AbstractModel):
|
|
|
6779
6809
|
def __init__(self):
|
|
6780
6810
|
r"""
|
|
6781
6811
|
:param _Name: 过滤字段名,支持的列表如下:
|
|
6782
|
-
-
|
|
6783
|
-
-
|
|
6812
|
+
- MonitorName:监控器名称。
|
|
6813
|
+
- MonitorId:监控器名称
|
|
6784
6814
|
:type Name: str
|
|
6785
6815
|
:param _Value: 过滤字段值。
|
|
6786
6816
|
|
|
@@ -6796,8 +6826,8 @@ class ResourceFilter(AbstractModel):
|
|
|
6796
6826
|
@property
|
|
6797
6827
|
def Name(self):
|
|
6798
6828
|
r"""过滤字段名,支持的列表如下:
|
|
6799
|
-
-
|
|
6800
|
-
-
|
|
6829
|
+
- MonitorName:监控器名称。
|
|
6830
|
+
- MonitorId:监控器名称
|
|
6801
6831
|
:rtype: str
|
|
6802
6832
|
"""
|
|
6803
6833
|
return self._Name
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-igtm
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.177
|
|
4
4
|
Summary: Tencent Cloud Igtm 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.177
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.177
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.28
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|