tencentcloud-sdk-python 3.0.1168__py2.py3-none-any.whl → 3.0.1170__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cdb/v20170320/models.py +4 -2
- tencentcloud/cds/v20180420/cds_client.py +0 -25
- tencentcloud/cds/v20180420/models.py +0 -55
- tencentcloud/cdwch/v20200915/models.py +39 -0
- tencentcloud/ciam/v20220331/models.py +26 -1
- tencentcloud/cls/v20201016/cls_client.py +3 -3
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +3 -1
- tencentcloud/cynosdb/v20190107/models.py +70 -0
- tencentcloud/domain/v20180808/models.py +6 -6
- tencentcloud/ess/v20201111/ess_client.py +1 -0
- tencentcloud/ess/v20201111/models.py +17 -14
- tencentcloud/essbasic/v20210526/models.py +23 -2
- tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/models.py +37 -0
- tencentcloud/redis/v20180412/models.py +342 -2
- tencentcloud/redis/v20180412/redis_client.py +92 -0
- tencentcloud/ssl/v20191205/models.py +1 -1
- tencentcloud/tcaplusdb/v20190823/models.py +66 -0
- tencentcloud/tcm/v20210413/models.py +45 -0
- tencentcloud/tdmq/v20200217/models.py +13 -0
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +1 -1
- tencentcloud/tke/v20180525/tke_client.py +3 -1
- tencentcloud/trtc/v20190722/models.py +10 -2
- tencentcloud/trtc/v20190722/trtc_client.py +1 -3
- tencentcloud/tse/v20201207/models.py +337 -0
- tencentcloud/tsf/v20180326/models.py +18 -0
- tencentcloud/tts/v20190823/models.py +1 -1
- tencentcloud/waf/v20180125/models.py +172 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +107 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1168.dist-info → tencentcloud_sdk_python-3.0.1170.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1168.dist-info → tencentcloud_sdk_python-3.0.1170.dist-info}/RECORD +38 -38
- {tencentcloud_sdk_python-3.0.1168.dist-info → tencentcloud_sdk_python-3.0.1170.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1168.dist-info → tencentcloud_sdk_python-3.0.1170.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1168.dist-info → tencentcloud_sdk_python-3.0.1170.dist-info}/top_level.txt +0 -0
@@ -13338,11 +13338,22 @@ class DescribePublicAddressConfigResponse(AbstractModel):
|
|
13338
13338
|
|
13339
13339
|
def __init__(self):
|
13340
13340
|
r"""
|
13341
|
+
:param _Result: 公网地址信息
|
13342
|
+
:type Result: :class:`tencentcloud.tse.v20201207.models.DescribePublicAddressConfigResult`
|
13341
13343
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13342
13344
|
:type RequestId: str
|
13343
13345
|
"""
|
13346
|
+
self._Result = None
|
13344
13347
|
self._RequestId = None
|
13345
13348
|
|
13349
|
+
@property
|
13350
|
+
def Result(self):
|
13351
|
+
return self._Result
|
13352
|
+
|
13353
|
+
@Result.setter
|
13354
|
+
def Result(self, Result):
|
13355
|
+
self._Result = Result
|
13356
|
+
|
13346
13357
|
@property
|
13347
13358
|
def RequestId(self):
|
13348
13359
|
return self._RequestId
|
@@ -13353,9 +13364,77 @@ class DescribePublicAddressConfigResponse(AbstractModel):
|
|
13353
13364
|
|
13354
13365
|
|
13355
13366
|
def _deserialize(self, params):
|
13367
|
+
if params.get("Result") is not None:
|
13368
|
+
self._Result = DescribePublicAddressConfigResult()
|
13369
|
+
self._Result._deserialize(params.get("Result"))
|
13356
13370
|
self._RequestId = params.get("RequestId")
|
13357
13371
|
|
13358
13372
|
|
13373
|
+
class DescribePublicAddressConfigResult(AbstractModel):
|
13374
|
+
"""获取云原生api网关公网地址信息响应结果
|
13375
|
+
|
13376
|
+
"""
|
13377
|
+
|
13378
|
+
def __init__(self):
|
13379
|
+
r"""
|
13380
|
+
:param _GatewayId: 网关实例id
|
13381
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13382
|
+
:type GatewayId: str
|
13383
|
+
:param _ConfigList: 公网地址信息
|
13384
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13385
|
+
:type ConfigList: list of PublicAddressConfig
|
13386
|
+
:param _TotalCount: 总个数
|
13387
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13388
|
+
:type TotalCount: int
|
13389
|
+
"""
|
13390
|
+
self._GatewayId = None
|
13391
|
+
self._ConfigList = None
|
13392
|
+
self._TotalCount = None
|
13393
|
+
|
13394
|
+
@property
|
13395
|
+
def GatewayId(self):
|
13396
|
+
return self._GatewayId
|
13397
|
+
|
13398
|
+
@GatewayId.setter
|
13399
|
+
def GatewayId(self, GatewayId):
|
13400
|
+
self._GatewayId = GatewayId
|
13401
|
+
|
13402
|
+
@property
|
13403
|
+
def ConfigList(self):
|
13404
|
+
return self._ConfigList
|
13405
|
+
|
13406
|
+
@ConfigList.setter
|
13407
|
+
def ConfigList(self, ConfigList):
|
13408
|
+
self._ConfigList = ConfigList
|
13409
|
+
|
13410
|
+
@property
|
13411
|
+
def TotalCount(self):
|
13412
|
+
return self._TotalCount
|
13413
|
+
|
13414
|
+
@TotalCount.setter
|
13415
|
+
def TotalCount(self, TotalCount):
|
13416
|
+
self._TotalCount = TotalCount
|
13417
|
+
|
13418
|
+
|
13419
|
+
def _deserialize(self, params):
|
13420
|
+
self._GatewayId = params.get("GatewayId")
|
13421
|
+
if params.get("ConfigList") is not None:
|
13422
|
+
self._ConfigList = []
|
13423
|
+
for item in params.get("ConfigList"):
|
13424
|
+
obj = PublicAddressConfig()
|
13425
|
+
obj._deserialize(item)
|
13426
|
+
self._ConfigList.append(obj)
|
13427
|
+
self._TotalCount = params.get("TotalCount")
|
13428
|
+
memeber_set = set(params.keys())
|
13429
|
+
for name, value in vars(self).items():
|
13430
|
+
property_name = name[1:]
|
13431
|
+
if property_name in memeber_set:
|
13432
|
+
memeber_set.remove(property_name)
|
13433
|
+
if len(memeber_set) > 0:
|
13434
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
13435
|
+
|
13436
|
+
|
13437
|
+
|
13359
13438
|
class DescribePublicNetworkRequest(AbstractModel):
|
13360
13439
|
"""DescribePublicNetwork请求参数结构体
|
13361
13440
|
|
@@ -22004,6 +22083,92 @@ class PolarisLimiterAddress(AbstractModel):
|
|
22004
22083
|
|
22005
22084
|
|
22006
22085
|
|
22086
|
+
class PublicAddressConfig(AbstractModel):
|
22087
|
+
"""公网地址信息
|
22088
|
+
|
22089
|
+
"""
|
22090
|
+
|
22091
|
+
def __init__(self):
|
22092
|
+
r"""
|
22093
|
+
:param _Vip: 公网 ip
|
22094
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
22095
|
+
:type Vip: str
|
22096
|
+
:param _InternetMaxBandwidthOut: 公网最大带宽
|
22097
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
22098
|
+
:type InternetMaxBandwidthOut: int
|
22099
|
+
:param _GroupId: 公网所属分组 id
|
22100
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
22101
|
+
:type GroupId: str
|
22102
|
+
:param _GroupName: 公网所属分组名
|
22103
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
22104
|
+
:type GroupName: str
|
22105
|
+
:param _NetworkId: 公网负载均衡 id
|
22106
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
22107
|
+
:type NetworkId: str
|
22108
|
+
"""
|
22109
|
+
self._Vip = None
|
22110
|
+
self._InternetMaxBandwidthOut = None
|
22111
|
+
self._GroupId = None
|
22112
|
+
self._GroupName = None
|
22113
|
+
self._NetworkId = None
|
22114
|
+
|
22115
|
+
@property
|
22116
|
+
def Vip(self):
|
22117
|
+
return self._Vip
|
22118
|
+
|
22119
|
+
@Vip.setter
|
22120
|
+
def Vip(self, Vip):
|
22121
|
+
self._Vip = Vip
|
22122
|
+
|
22123
|
+
@property
|
22124
|
+
def InternetMaxBandwidthOut(self):
|
22125
|
+
return self._InternetMaxBandwidthOut
|
22126
|
+
|
22127
|
+
@InternetMaxBandwidthOut.setter
|
22128
|
+
def InternetMaxBandwidthOut(self, InternetMaxBandwidthOut):
|
22129
|
+
self._InternetMaxBandwidthOut = InternetMaxBandwidthOut
|
22130
|
+
|
22131
|
+
@property
|
22132
|
+
def GroupId(self):
|
22133
|
+
return self._GroupId
|
22134
|
+
|
22135
|
+
@GroupId.setter
|
22136
|
+
def GroupId(self, GroupId):
|
22137
|
+
self._GroupId = GroupId
|
22138
|
+
|
22139
|
+
@property
|
22140
|
+
def GroupName(self):
|
22141
|
+
return self._GroupName
|
22142
|
+
|
22143
|
+
@GroupName.setter
|
22144
|
+
def GroupName(self, GroupName):
|
22145
|
+
self._GroupName = GroupName
|
22146
|
+
|
22147
|
+
@property
|
22148
|
+
def NetworkId(self):
|
22149
|
+
return self._NetworkId
|
22150
|
+
|
22151
|
+
@NetworkId.setter
|
22152
|
+
def NetworkId(self, NetworkId):
|
22153
|
+
self._NetworkId = NetworkId
|
22154
|
+
|
22155
|
+
|
22156
|
+
def _deserialize(self, params):
|
22157
|
+
self._Vip = params.get("Vip")
|
22158
|
+
self._InternetMaxBandwidthOut = params.get("InternetMaxBandwidthOut")
|
22159
|
+
self._GroupId = params.get("GroupId")
|
22160
|
+
self._GroupName = params.get("GroupName")
|
22161
|
+
self._NetworkId = params.get("NetworkId")
|
22162
|
+
memeber_set = set(params.keys())
|
22163
|
+
for name, value in vars(self).items():
|
22164
|
+
property_name = name[1:]
|
22165
|
+
if property_name in memeber_set:
|
22166
|
+
memeber_set.remove(property_name)
|
22167
|
+
if len(memeber_set) > 0:
|
22168
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
22169
|
+
|
22170
|
+
|
22171
|
+
|
22007
22172
|
class PublishConfigFilesRequest(AbstractModel):
|
22008
22173
|
"""PublishConfigFiles请求参数结构体
|
22009
22174
|
|
@@ -22605,6 +22770,12 @@ class SREInstance(AbstractModel):
|
|
22605
22770
|
:param _StorageOption: 存储额外配置选项
|
22606
22771
|
注意:此字段可能返回 null,表示取不到有效值。
|
22607
22772
|
:type StorageOption: list of StorageOption
|
22773
|
+
:param _ZookeeperRegionInfo: Zookeeper的额外环境数据信息
|
22774
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
22775
|
+
:type ZookeeperRegionInfo: :class:`tencentcloud.tse.v20201207.models.ZookeeperRegionInfo`
|
22776
|
+
:param _DeployMode: 部署架构
|
22777
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
22778
|
+
:type DeployMode: str
|
22608
22779
|
"""
|
22609
22780
|
self._InstanceId = None
|
22610
22781
|
self._Name = None
|
@@ -22640,6 +22811,8 @@ class SREInstance(AbstractModel):
|
|
22640
22811
|
self._FeatureVersion = None
|
22641
22812
|
self._EnableClientIntranet = None
|
22642
22813
|
self._StorageOption = None
|
22814
|
+
self._ZookeeperRegionInfo = None
|
22815
|
+
self._DeployMode = None
|
22643
22816
|
|
22644
22817
|
@property
|
22645
22818
|
def InstanceId(self):
|
@@ -22913,6 +23086,22 @@ class SREInstance(AbstractModel):
|
|
22913
23086
|
def StorageOption(self, StorageOption):
|
22914
23087
|
self._StorageOption = StorageOption
|
22915
23088
|
|
23089
|
+
@property
|
23090
|
+
def ZookeeperRegionInfo(self):
|
23091
|
+
return self._ZookeeperRegionInfo
|
23092
|
+
|
23093
|
+
@ZookeeperRegionInfo.setter
|
23094
|
+
def ZookeeperRegionInfo(self, ZookeeperRegionInfo):
|
23095
|
+
self._ZookeeperRegionInfo = ZookeeperRegionInfo
|
23096
|
+
|
23097
|
+
@property
|
23098
|
+
def DeployMode(self):
|
23099
|
+
return self._DeployMode
|
23100
|
+
|
23101
|
+
@DeployMode.setter
|
23102
|
+
def DeployMode(self, DeployMode):
|
23103
|
+
self._DeployMode = DeployMode
|
23104
|
+
|
22916
23105
|
|
22917
23106
|
def _deserialize(self, params):
|
22918
23107
|
self._InstanceId = params.get("InstanceId")
|
@@ -22979,6 +23168,10 @@ class SREInstance(AbstractModel):
|
|
22979
23168
|
obj = StorageOption()
|
22980
23169
|
obj._deserialize(item)
|
22981
23170
|
self._StorageOption.append(obj)
|
23171
|
+
if params.get("ZookeeperRegionInfo") is not None:
|
23172
|
+
self._ZookeeperRegionInfo = ZookeeperRegionInfo()
|
23173
|
+
self._ZookeeperRegionInfo._deserialize(params.get("ZookeeperRegionInfo"))
|
23174
|
+
self._DeployMode = params.get("DeployMode")
|
22982
23175
|
memeber_set = set(params.keys())
|
22983
23176
|
for name, value in vars(self).items():
|
22984
23177
|
property_name = name[1:]
|
@@ -24070,10 +24263,14 @@ class VpcInfo(AbstractModel):
|
|
24070
24263
|
:param _IntranetAddress: 内网访问地址
|
24071
24264
|
注意:此字段可能返回 null,表示取不到有效值。
|
24072
24265
|
:type IntranetAddress: str
|
24266
|
+
:param _LbSubnetId: 负载均衡均衡接入点子网ID
|
24267
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
24268
|
+
:type LbSubnetId: str
|
24073
24269
|
"""
|
24074
24270
|
self._VpcId = None
|
24075
24271
|
self._SubnetId = None
|
24076
24272
|
self._IntranetAddress = None
|
24273
|
+
self._LbSubnetId = None
|
24077
24274
|
|
24078
24275
|
@property
|
24079
24276
|
def VpcId(self):
|
@@ -24099,11 +24296,151 @@ class VpcInfo(AbstractModel):
|
|
24099
24296
|
def IntranetAddress(self, IntranetAddress):
|
24100
24297
|
self._IntranetAddress = IntranetAddress
|
24101
24298
|
|
24299
|
+
@property
|
24300
|
+
def LbSubnetId(self):
|
24301
|
+
return self._LbSubnetId
|
24302
|
+
|
24303
|
+
@LbSubnetId.setter
|
24304
|
+
def LbSubnetId(self, LbSubnetId):
|
24305
|
+
self._LbSubnetId = LbSubnetId
|
24306
|
+
|
24102
24307
|
|
24103
24308
|
def _deserialize(self, params):
|
24104
24309
|
self._VpcId = params.get("VpcId")
|
24105
24310
|
self._SubnetId = params.get("SubnetId")
|
24106
24311
|
self._IntranetAddress = params.get("IntranetAddress")
|
24312
|
+
self._LbSubnetId = params.get("LbSubnetId")
|
24313
|
+
memeber_set = set(params.keys())
|
24314
|
+
for name, value in vars(self).items():
|
24315
|
+
property_name = name[1:]
|
24316
|
+
if property_name in memeber_set:
|
24317
|
+
memeber_set.remove(property_name)
|
24318
|
+
if len(memeber_set) > 0:
|
24319
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
24320
|
+
|
24321
|
+
|
24322
|
+
|
24323
|
+
class ZookeeperRegionInfo(AbstractModel):
|
24324
|
+
"""Zookeeper的地域额外信息记录
|
24325
|
+
|
24326
|
+
"""
|
24327
|
+
|
24328
|
+
def __init__(self):
|
24329
|
+
r"""
|
24330
|
+
:param _DeployMode: 部署架构信息
|
24331
|
+
|
24332
|
+
- SingleRegion: 普通单地域
|
24333
|
+
- MultiRegion: 普通多地域场景
|
24334
|
+
- MasterSlave: 两地域,主备地域场景
|
24335
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
24336
|
+
:type DeployMode: str
|
24337
|
+
:param _MainRegion: 主地域的额外信息
|
24338
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
24339
|
+
:type MainRegion: :class:`tencentcloud.tse.v20201207.models.ZookeeperRegionMyIdInfo`
|
24340
|
+
:param _OtherRegions: 其他地域的额外信息
|
24341
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
24342
|
+
:type OtherRegions: list of ZookeeperRegionMyIdInfo
|
24343
|
+
"""
|
24344
|
+
self._DeployMode = None
|
24345
|
+
self._MainRegion = None
|
24346
|
+
self._OtherRegions = None
|
24347
|
+
|
24348
|
+
@property
|
24349
|
+
def DeployMode(self):
|
24350
|
+
return self._DeployMode
|
24351
|
+
|
24352
|
+
@DeployMode.setter
|
24353
|
+
def DeployMode(self, DeployMode):
|
24354
|
+
self._DeployMode = DeployMode
|
24355
|
+
|
24356
|
+
@property
|
24357
|
+
def MainRegion(self):
|
24358
|
+
return self._MainRegion
|
24359
|
+
|
24360
|
+
@MainRegion.setter
|
24361
|
+
def MainRegion(self, MainRegion):
|
24362
|
+
self._MainRegion = MainRegion
|
24363
|
+
|
24364
|
+
@property
|
24365
|
+
def OtherRegions(self):
|
24366
|
+
return self._OtherRegions
|
24367
|
+
|
24368
|
+
@OtherRegions.setter
|
24369
|
+
def OtherRegions(self, OtherRegions):
|
24370
|
+
self._OtherRegions = OtherRegions
|
24371
|
+
|
24372
|
+
|
24373
|
+
def _deserialize(self, params):
|
24374
|
+
self._DeployMode = params.get("DeployMode")
|
24375
|
+
if params.get("MainRegion") is not None:
|
24376
|
+
self._MainRegion = ZookeeperRegionMyIdInfo()
|
24377
|
+
self._MainRegion._deserialize(params.get("MainRegion"))
|
24378
|
+
if params.get("OtherRegions") is not None:
|
24379
|
+
self._OtherRegions = []
|
24380
|
+
for item in params.get("OtherRegions"):
|
24381
|
+
obj = ZookeeperRegionMyIdInfo()
|
24382
|
+
obj._deserialize(item)
|
24383
|
+
self._OtherRegions.append(obj)
|
24384
|
+
memeber_set = set(params.keys())
|
24385
|
+
for name, value in vars(self).items():
|
24386
|
+
property_name = name[1:]
|
24387
|
+
if property_name in memeber_set:
|
24388
|
+
memeber_set.remove(property_name)
|
24389
|
+
if len(memeber_set) > 0:
|
24390
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
24391
|
+
|
24392
|
+
|
24393
|
+
|
24394
|
+
class ZookeeperRegionMyIdInfo(AbstractModel):
|
24395
|
+
"""Zookeeper的地域信息的 myid 信息记录
|
24396
|
+
|
24397
|
+
"""
|
24398
|
+
|
24399
|
+
def __init__(self):
|
24400
|
+
r"""
|
24401
|
+
:param _Region: 地域信息
|
24402
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
24403
|
+
:type Region: str
|
24404
|
+
:param _MyIdStart: myid 的起始号段
|
24405
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
24406
|
+
:type MyIdStart: int
|
24407
|
+
:param _MyIdEnd: myid 的结束号段
|
24408
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
24409
|
+
:type MyIdEnd: int
|
24410
|
+
"""
|
24411
|
+
self._Region = None
|
24412
|
+
self._MyIdStart = None
|
24413
|
+
self._MyIdEnd = None
|
24414
|
+
|
24415
|
+
@property
|
24416
|
+
def Region(self):
|
24417
|
+
return self._Region
|
24418
|
+
|
24419
|
+
@Region.setter
|
24420
|
+
def Region(self, Region):
|
24421
|
+
self._Region = Region
|
24422
|
+
|
24423
|
+
@property
|
24424
|
+
def MyIdStart(self):
|
24425
|
+
return self._MyIdStart
|
24426
|
+
|
24427
|
+
@MyIdStart.setter
|
24428
|
+
def MyIdStart(self, MyIdStart):
|
24429
|
+
self._MyIdStart = MyIdStart
|
24430
|
+
|
24431
|
+
@property
|
24432
|
+
def MyIdEnd(self):
|
24433
|
+
return self._MyIdEnd
|
24434
|
+
|
24435
|
+
@MyIdEnd.setter
|
24436
|
+
def MyIdEnd(self, MyIdEnd):
|
24437
|
+
self._MyIdEnd = MyIdEnd
|
24438
|
+
|
24439
|
+
|
24440
|
+
def _deserialize(self, params):
|
24441
|
+
self._Region = params.get("Region")
|
24442
|
+
self._MyIdStart = params.get("MyIdStart")
|
24443
|
+
self._MyIdEnd = params.get("MyIdEnd")
|
24107
24444
|
memeber_set = set(params.keys())
|
24108
24445
|
for name, value in vars(self).items():
|
24109
24446
|
property_name = name[1:]
|
@@ -26781,6 +26781,9 @@ class FileConfigRelease(AbstractModel):
|
|
26781
26781
|
:param _ClusterName: 集群名称
|
26782
26782
|
注意:此字段可能返回 null,表示取不到有效值。
|
26783
26783
|
:type ClusterName: str
|
26784
|
+
:param _ConfigCenters: 配置中心发布详情
|
26785
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26786
|
+
:type ConfigCenters: list of TsfConfigCenter
|
26784
26787
|
"""
|
26785
26788
|
self._ConfigReleaseId = None
|
26786
26789
|
self._ConfigId = None
|
@@ -26794,6 +26797,7 @@ class FileConfigRelease(AbstractModel):
|
|
26794
26797
|
self._NamespaceName = None
|
26795
26798
|
self._ClusterId = None
|
26796
26799
|
self._ClusterName = None
|
26800
|
+
self._ConfigCenters = None
|
26797
26801
|
|
26798
26802
|
@property
|
26799
26803
|
def ConfigReleaseId(self):
|
@@ -26891,6 +26895,14 @@ class FileConfigRelease(AbstractModel):
|
|
26891
26895
|
def ClusterName(self, ClusterName):
|
26892
26896
|
self._ClusterName = ClusterName
|
26893
26897
|
|
26898
|
+
@property
|
26899
|
+
def ConfigCenters(self):
|
26900
|
+
return self._ConfigCenters
|
26901
|
+
|
26902
|
+
@ConfigCenters.setter
|
26903
|
+
def ConfigCenters(self, ConfigCenters):
|
26904
|
+
self._ConfigCenters = ConfigCenters
|
26905
|
+
|
26894
26906
|
|
26895
26907
|
def _deserialize(self, params):
|
26896
26908
|
self._ConfigReleaseId = params.get("ConfigReleaseId")
|
@@ -26905,6 +26917,12 @@ class FileConfigRelease(AbstractModel):
|
|
26905
26917
|
self._NamespaceName = params.get("NamespaceName")
|
26906
26918
|
self._ClusterId = params.get("ClusterId")
|
26907
26919
|
self._ClusterName = params.get("ClusterName")
|
26920
|
+
if params.get("ConfigCenters") is not None:
|
26921
|
+
self._ConfigCenters = []
|
26922
|
+
for item in params.get("ConfigCenters"):
|
26923
|
+
obj = TsfConfigCenter()
|
26924
|
+
obj._deserialize(item)
|
26925
|
+
self._ConfigCenters.append(obj)
|
26908
26926
|
memeber_set = set(params.keys())
|
26909
26927
|
for name, value in vars(self).items():
|
26910
26928
|
property_name = name[1:]
|
@@ -583,7 +583,7 @@ class TextToVoiceRequest(AbstractModel):
|
|
583
583
|
:type EmotionCategory: str
|
584
584
|
:param _EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效;
|
585
585
|
:type EmotionIntensity: int
|
586
|
-
:param _FastVoiceType:
|
586
|
+
:param _FastVoiceType: 预留参数,暂未使用
|
587
587
|
:type FastVoiceType: str
|
588
588
|
"""
|
589
589
|
self._Text = None
|
@@ -7818,6 +7818,178 @@ class DescribeAntiLeakageItem(AbstractModel):
|
|
7818
7818
|
|
7819
7819
|
|
7820
7820
|
|
7821
|
+
class DescribeAreaBanAreasRequest(AbstractModel):
|
7822
|
+
"""DescribeAreaBanAreas请求参数结构体
|
7823
|
+
|
7824
|
+
"""
|
7825
|
+
|
7826
|
+
def __init__(self):
|
7827
|
+
r"""
|
7828
|
+
:param _Domain: 需要查询的域名
|
7829
|
+
:type Domain: str
|
7830
|
+
"""
|
7831
|
+
self._Domain = None
|
7832
|
+
|
7833
|
+
@property
|
7834
|
+
def Domain(self):
|
7835
|
+
return self._Domain
|
7836
|
+
|
7837
|
+
@Domain.setter
|
7838
|
+
def Domain(self, Domain):
|
7839
|
+
self._Domain = Domain
|
7840
|
+
|
7841
|
+
|
7842
|
+
def _deserialize(self, params):
|
7843
|
+
self._Domain = params.get("Domain")
|
7844
|
+
memeber_set = set(params.keys())
|
7845
|
+
for name, value in vars(self).items():
|
7846
|
+
property_name = name[1:]
|
7847
|
+
if property_name in memeber_set:
|
7848
|
+
memeber_set.remove(property_name)
|
7849
|
+
if len(memeber_set) > 0:
|
7850
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7851
|
+
|
7852
|
+
|
7853
|
+
|
7854
|
+
class DescribeAreaBanAreasResponse(AbstractModel):
|
7855
|
+
"""DescribeAreaBanAreas返回参数结构体
|
7856
|
+
|
7857
|
+
"""
|
7858
|
+
|
7859
|
+
def __init__(self):
|
7860
|
+
r"""
|
7861
|
+
:param _Data: 回包内容
|
7862
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7863
|
+
:type Data: :class:`tencentcloud.waf.v20180125.models.DescribeAreaBanAreasRsp`
|
7864
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7865
|
+
:type RequestId: str
|
7866
|
+
"""
|
7867
|
+
self._Data = None
|
7868
|
+
self._RequestId = None
|
7869
|
+
|
7870
|
+
@property
|
7871
|
+
def Data(self):
|
7872
|
+
return self._Data
|
7873
|
+
|
7874
|
+
@Data.setter
|
7875
|
+
def Data(self, Data):
|
7876
|
+
self._Data = Data
|
7877
|
+
|
7878
|
+
@property
|
7879
|
+
def RequestId(self):
|
7880
|
+
return self._RequestId
|
7881
|
+
|
7882
|
+
@RequestId.setter
|
7883
|
+
def RequestId(self, RequestId):
|
7884
|
+
self._RequestId = RequestId
|
7885
|
+
|
7886
|
+
|
7887
|
+
def _deserialize(self, params):
|
7888
|
+
if params.get("Data") is not None:
|
7889
|
+
self._Data = DescribeAreaBanAreasRsp()
|
7890
|
+
self._Data._deserialize(params.get("Data"))
|
7891
|
+
self._RequestId = params.get("RequestId")
|
7892
|
+
|
7893
|
+
|
7894
|
+
class DescribeAreaBanAreasRsp(AbstractModel):
|
7895
|
+
"""DescribeAreaBanAreas接口的回包
|
7896
|
+
|
7897
|
+
"""
|
7898
|
+
|
7899
|
+
def __init__(self):
|
7900
|
+
r"""
|
7901
|
+
:param _Status: 状态 "0":未开启地域封禁 "1":开启地域封禁
|
7902
|
+
:type Status: str
|
7903
|
+
:param _Source: 数据来源 custom-自定义(默认)、batch-批量防护
|
7904
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7905
|
+
:type Source: str
|
7906
|
+
:param _Areas: 字符串数据,配置的地域列表
|
7907
|
+
:type Areas: list of str
|
7908
|
+
:param _JobType: 定时任务类型
|
7909
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7910
|
+
:type JobType: str
|
7911
|
+
:param _JobDateTime: 定时任务详细配置
|
7912
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7913
|
+
:type JobDateTime: :class:`tencentcloud.waf.v20180125.models.JobDateTime`
|
7914
|
+
:param _CronType: 周期任务配置
|
7915
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7916
|
+
:type CronType: str
|
7917
|
+
"""
|
7918
|
+
self._Status = None
|
7919
|
+
self._Source = None
|
7920
|
+
self._Areas = None
|
7921
|
+
self._JobType = None
|
7922
|
+
self._JobDateTime = None
|
7923
|
+
self._CronType = None
|
7924
|
+
|
7925
|
+
@property
|
7926
|
+
def Status(self):
|
7927
|
+
return self._Status
|
7928
|
+
|
7929
|
+
@Status.setter
|
7930
|
+
def Status(self, Status):
|
7931
|
+
self._Status = Status
|
7932
|
+
|
7933
|
+
@property
|
7934
|
+
def Source(self):
|
7935
|
+
return self._Source
|
7936
|
+
|
7937
|
+
@Source.setter
|
7938
|
+
def Source(self, Source):
|
7939
|
+
self._Source = Source
|
7940
|
+
|
7941
|
+
@property
|
7942
|
+
def Areas(self):
|
7943
|
+
return self._Areas
|
7944
|
+
|
7945
|
+
@Areas.setter
|
7946
|
+
def Areas(self, Areas):
|
7947
|
+
self._Areas = Areas
|
7948
|
+
|
7949
|
+
@property
|
7950
|
+
def JobType(self):
|
7951
|
+
return self._JobType
|
7952
|
+
|
7953
|
+
@JobType.setter
|
7954
|
+
def JobType(self, JobType):
|
7955
|
+
self._JobType = JobType
|
7956
|
+
|
7957
|
+
@property
|
7958
|
+
def JobDateTime(self):
|
7959
|
+
return self._JobDateTime
|
7960
|
+
|
7961
|
+
@JobDateTime.setter
|
7962
|
+
def JobDateTime(self, JobDateTime):
|
7963
|
+
self._JobDateTime = JobDateTime
|
7964
|
+
|
7965
|
+
@property
|
7966
|
+
def CronType(self):
|
7967
|
+
return self._CronType
|
7968
|
+
|
7969
|
+
@CronType.setter
|
7970
|
+
def CronType(self, CronType):
|
7971
|
+
self._CronType = CronType
|
7972
|
+
|
7973
|
+
|
7974
|
+
def _deserialize(self, params):
|
7975
|
+
self._Status = params.get("Status")
|
7976
|
+
self._Source = params.get("Source")
|
7977
|
+
self._Areas = params.get("Areas")
|
7978
|
+
self._JobType = params.get("JobType")
|
7979
|
+
if params.get("JobDateTime") is not None:
|
7980
|
+
self._JobDateTime = JobDateTime()
|
7981
|
+
self._JobDateTime._deserialize(params.get("JobDateTime"))
|
7982
|
+
self._CronType = params.get("CronType")
|
7983
|
+
memeber_set = set(params.keys())
|
7984
|
+
for name, value in vars(self).items():
|
7985
|
+
property_name = name[1:]
|
7986
|
+
if property_name in memeber_set:
|
7987
|
+
memeber_set.remove(property_name)
|
7988
|
+
if len(memeber_set) > 0:
|
7989
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7990
|
+
|
7991
|
+
|
7992
|
+
|
7821
7993
|
class DescribeAreaBanSupportAreasRequest(AbstractModel):
|
7822
7994
|
"""DescribeAreaBanSupportAreas请求参数结构体
|
7823
7995
|
|
@@ -814,6 +814,29 @@ class WafClient(AbstractClient):
|
|
814
814
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
815
815
|
|
816
816
|
|
817
|
+
def DescribeAreaBanAreas(self, request):
|
818
|
+
"""获取地域封禁配置包括地域封禁开关,设置封禁的地区信息
|
819
|
+
|
820
|
+
:param request: Request instance for DescribeAreaBanAreas.
|
821
|
+
:type request: :class:`tencentcloud.waf.v20180125.models.DescribeAreaBanAreasRequest`
|
822
|
+
:rtype: :class:`tencentcloud.waf.v20180125.models.DescribeAreaBanAreasResponse`
|
823
|
+
|
824
|
+
"""
|
825
|
+
try:
|
826
|
+
params = request._serialize()
|
827
|
+
headers = request.headers
|
828
|
+
body = self.call("DescribeAreaBanAreas", params, headers=headers)
|
829
|
+
response = json.loads(body)
|
830
|
+
model = models.DescribeAreaBanAreasResponse()
|
831
|
+
model._deserialize(response["Response"])
|
832
|
+
return model
|
833
|
+
except Exception as e:
|
834
|
+
if isinstance(e, TencentCloudSDKException):
|
835
|
+
raise
|
836
|
+
else:
|
837
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
838
|
+
|
839
|
+
|
817
840
|
def DescribeAreaBanSupportAreas(self, request):
|
818
841
|
"""获取WAF地域封禁支持的地域列表
|
819
842
|
|