tencentcloud-sdk-python 3.0.1077__py2.py3-none-any.whl → 3.0.1079__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


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

Files changed (37) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/antiddos/v20200309/antiddos_client.py +23 -0
  3. tencentcloud/antiddos/v20200309/models.py +552 -0
  4. tencentcloud/billing/v20180709/billing_client.py +23 -0
  5. tencentcloud/billing/v20180709/models.py +106 -0
  6. tencentcloud/cfg/v20210820/models.py +17 -13
  7. tencentcloud/cls/v20201016/models.py +51 -14
  8. tencentcloud/csip/v20221121/csip_client.py +23 -0
  9. tencentcloud/csip/v20221121/models.py +70 -0
  10. tencentcloud/cvm/v20170312/errorcodes.py +24 -0
  11. tencentcloud/cvm/v20170312/models.py +6 -6
  12. tencentcloud/cynosdb/v20190107/cynosdb_client.py +2 -2
  13. tencentcloud/cynosdb/v20190107/models.py +470 -5
  14. tencentcloud/emr/v20190103/emr_client.py +23 -0
  15. tencentcloud/emr/v20190103/models.py +341 -0
  16. tencentcloud/ess/v20201111/ess_client.py +9 -3
  17. tencentcloud/ess/v20201111/models.py +9 -1
  18. tencentcloud/essbasic/v20210526/essbasic_client.py +7 -11
  19. tencentcloud/essbasic/v20210526/models.py +3 -0
  20. tencentcloud/iotvideo/v20211125/models.py +36 -0
  21. tencentcloud/live/v20180801/models.py +5 -2
  22. tencentcloud/monitor/v20180724/monitor_client.py +3 -0
  23. tencentcloud/oceanus/v20190422/models.py +38 -0
  24. tencentcloud/privatedns/v20201028/models.py +20 -1
  25. tencentcloud/ssl/v20191205/errorcodes.py +0 -6
  26. tencentcloud/ssl/v20191205/models.py +0 -156
  27. tencentcloud/ssl/v20191205/ssl_client.py +0 -25
  28. tencentcloud/teo/v20220901/errorcodes.py +15 -0
  29. tencentcloud/teo/v20220901/models.py +12 -0
  30. tencentcloud/trocket/v20230308/models.py +800 -43
  31. tencentcloud/trocket/v20230308/trocket_client.py +75 -0
  32. tencentcloud/wedata/v20210820/models.py +412 -0
  33. {tencentcloud_sdk_python-3.0.1077.dist-info → tencentcloud_sdk_python-3.0.1079.dist-info}/METADATA +1 -1
  34. {tencentcloud_sdk_python-3.0.1077.dist-info → tencentcloud_sdk_python-3.0.1079.dist-info}/RECORD +37 -37
  35. {tencentcloud_sdk_python-3.0.1077.dist-info → tencentcloud_sdk_python-3.0.1079.dist-info}/LICENSE +0 -0
  36. {tencentcloud_sdk_python-3.0.1077.dist-info → tencentcloud_sdk_python-3.0.1079.dist-info}/WHEEL +0 -0
  37. {tencentcloud_sdk_python-3.0.1077.dist-info → tencentcloud_sdk_python-3.0.1079.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1077'
17
+ __version__ = '3.0.1079'
@@ -877,6 +877,29 @@ class AntiddosClient(AbstractClient):
877
877
  raise TencentCloudSDKException(type(e).__name__, str(e))
878
878
 
879
879
 
880
+ def DescribeBGPIPL7Rules(self, request):
881
+ """高防IP获取7层规则
882
+
883
+ :param request: Request instance for DescribeBGPIPL7Rules.
884
+ :type request: :class:`tencentcloud.antiddos.v20200309.models.DescribeBGPIPL7RulesRequest`
885
+ :rtype: :class:`tencentcloud.antiddos.v20200309.models.DescribeBGPIPL7RulesResponse`
886
+
887
+ """
888
+ try:
889
+ params = request._serialize()
890
+ headers = request.headers
891
+ body = self.call("DescribeBGPIPL7Rules", params, headers=headers)
892
+ response = json.loads(body)
893
+ model = models.DescribeBGPIPL7RulesResponse()
894
+ model._deserialize(response["Response"])
895
+ return model
896
+ except Exception as e:
897
+ if isinstance(e, TencentCloudSDKException):
898
+ raise
899
+ else:
900
+ raise TencentCloudSDKException(type(e).__name__, str(e))
901
+
902
+
880
903
  def DescribeBasicDeviceStatus(self, request):
881
904
  """获取基础防护攻击状态
882
905
 
@@ -1004,6 +1004,358 @@ class BGPIPInstanceUsages(AbstractModel):
1004
1004
 
1005
1005
 
1006
1006
 
1007
+ class BGPIPL7RuleEntry(AbstractModel):
1008
+ """L7规则
1009
+
1010
+ """
1011
+
1012
+ def __init__(self):
1013
+ r"""
1014
+ :param _Protocol: 转发协议,取值[http, https]
1015
+ :type Protocol: str
1016
+ :param _Domain: 转发域名
1017
+ :type Domain: str
1018
+ :param _LbType: 负载均衡方式,取值[1(加权轮询)]
1019
+ :type LbType: int
1020
+ :param _KeepEnable: 会话保持开关,取值[0(会话保持关闭),1(会话保持开启)]
1021
+ :type KeepEnable: int
1022
+ :param _KeepTime: 会话保持时间,单位秒
1023
+ :type KeepTime: int
1024
+ :param _SourceType: 回源方式,取值[1(域名回源),2(IP回源)]
1025
+ :type SourceType: int
1026
+ :param _SourceList: 回源列表
1027
+ :type SourceList: list of L4RuleSource
1028
+ :param _Region: 区域码
1029
+ :type Region: int
1030
+ :param _Id: 资源Id
1031
+ :type Id: str
1032
+ :param _Ip: 资源Ip
1033
+ :type Ip: str
1034
+ :param _RuleId: 规则ID,当添加新规则时可以不用填写此字段;当修改或者删除规则时需要填写此字段;
1035
+ :type RuleId: str
1036
+ :param _RuleName: 规则描述
1037
+ :type RuleName: str
1038
+ :param _CertType: 证书来源,当转发协议为https时必须填,取值[2(腾讯云托管证书)],当转发协议为http时也可以填0
1039
+ :type CertType: int
1040
+ :param _SSLId: 当证书来源为腾讯云托管证书时,此字段必须填写托管证书ID
1041
+ :type SSLId: str
1042
+ :param _Cert: 当证书来源为自有证书时,此字段必须填写证书内容;(因已不再支持自有证书,此字段已弃用,请不用填写此字段)
1043
+ :type Cert: str
1044
+ :param _PrivateKey: 当证书来源为自有证书时,此字段必须填写证书密钥;(因已不再支持自有证书,此字段已弃用,请不用填写此字段)
1045
+ :type PrivateKey: str
1046
+ :param _Status: 规则状态,取值[0(规则配置成功),1(规则配置生效中),2(规则配置失败),3(规则删除生效中),5(规则删除失败),6(规则等待配置),7(规则等待删除),8(规则待配置证书)]
1047
+ :type Status: int
1048
+ :param _CCStatus: cc防护状态,取值[0(关闭), 1(开启)]
1049
+ :type CCStatus: int
1050
+ :param _CCEnable: HTTPS协议的CC防护状态,取值[0(关闭), 1(开启)]
1051
+ :type CCEnable: int
1052
+ :param _CCThreshold: HTTPS协议的CC防护阈值(已废弃)
1053
+ :type CCThreshold: int
1054
+ :param _CCLevel: HTTPS协议的CC防护等级
1055
+ :type CCLevel: str
1056
+ :param _ModifyTime: 修改时间
1057
+ :type ModifyTime: str
1058
+ :param _HttpsToHttpEnable: 是否开启Https协议使用Http回源,取值[0(关闭), 1(开启)],不填写默认是关闭
1059
+ :type HttpsToHttpEnable: int
1060
+ :param _VirtualPort: 接入端口值
1061
+ 注意:此字段可能返回 null,表示取不到有效值。
1062
+ :type VirtualPort: int
1063
+ :param _RewriteHttps: http强制跳转https,1表示打开,0表示关闭
1064
+ :type RewriteHttps: int
1065
+ :param _ErrCode: 规则配置失败时的详细错误原因(仅当Status=2时有效),1001证书不存在,1002证书获取失败,1003证书上传失败,1004证书已过期
1066
+ :type ErrCode: int
1067
+ :param _Version: 版本
1068
+ 注意:此字段可能返回 null,表示取不到有效值。
1069
+ :type Version: int
1070
+ """
1071
+ self._Protocol = None
1072
+ self._Domain = None
1073
+ self._LbType = None
1074
+ self._KeepEnable = None
1075
+ self._KeepTime = None
1076
+ self._SourceType = None
1077
+ self._SourceList = None
1078
+ self._Region = None
1079
+ self._Id = None
1080
+ self._Ip = None
1081
+ self._RuleId = None
1082
+ self._RuleName = None
1083
+ self._CertType = None
1084
+ self._SSLId = None
1085
+ self._Cert = None
1086
+ self._PrivateKey = None
1087
+ self._Status = None
1088
+ self._CCStatus = None
1089
+ self._CCEnable = None
1090
+ self._CCThreshold = None
1091
+ self._CCLevel = None
1092
+ self._ModifyTime = None
1093
+ self._HttpsToHttpEnable = None
1094
+ self._VirtualPort = None
1095
+ self._RewriteHttps = None
1096
+ self._ErrCode = None
1097
+ self._Version = None
1098
+
1099
+ @property
1100
+ def Protocol(self):
1101
+ return self._Protocol
1102
+
1103
+ @Protocol.setter
1104
+ def Protocol(self, Protocol):
1105
+ self._Protocol = Protocol
1106
+
1107
+ @property
1108
+ def Domain(self):
1109
+ return self._Domain
1110
+
1111
+ @Domain.setter
1112
+ def Domain(self, Domain):
1113
+ self._Domain = Domain
1114
+
1115
+ @property
1116
+ def LbType(self):
1117
+ return self._LbType
1118
+
1119
+ @LbType.setter
1120
+ def LbType(self, LbType):
1121
+ self._LbType = LbType
1122
+
1123
+ @property
1124
+ def KeepEnable(self):
1125
+ return self._KeepEnable
1126
+
1127
+ @KeepEnable.setter
1128
+ def KeepEnable(self, KeepEnable):
1129
+ self._KeepEnable = KeepEnable
1130
+
1131
+ @property
1132
+ def KeepTime(self):
1133
+ return self._KeepTime
1134
+
1135
+ @KeepTime.setter
1136
+ def KeepTime(self, KeepTime):
1137
+ self._KeepTime = KeepTime
1138
+
1139
+ @property
1140
+ def SourceType(self):
1141
+ return self._SourceType
1142
+
1143
+ @SourceType.setter
1144
+ def SourceType(self, SourceType):
1145
+ self._SourceType = SourceType
1146
+
1147
+ @property
1148
+ def SourceList(self):
1149
+ return self._SourceList
1150
+
1151
+ @SourceList.setter
1152
+ def SourceList(self, SourceList):
1153
+ self._SourceList = SourceList
1154
+
1155
+ @property
1156
+ def Region(self):
1157
+ return self._Region
1158
+
1159
+ @Region.setter
1160
+ def Region(self, Region):
1161
+ self._Region = Region
1162
+
1163
+ @property
1164
+ def Id(self):
1165
+ return self._Id
1166
+
1167
+ @Id.setter
1168
+ def Id(self, Id):
1169
+ self._Id = Id
1170
+
1171
+ @property
1172
+ def Ip(self):
1173
+ return self._Ip
1174
+
1175
+ @Ip.setter
1176
+ def Ip(self, Ip):
1177
+ self._Ip = Ip
1178
+
1179
+ @property
1180
+ def RuleId(self):
1181
+ return self._RuleId
1182
+
1183
+ @RuleId.setter
1184
+ def RuleId(self, RuleId):
1185
+ self._RuleId = RuleId
1186
+
1187
+ @property
1188
+ def RuleName(self):
1189
+ return self._RuleName
1190
+
1191
+ @RuleName.setter
1192
+ def RuleName(self, RuleName):
1193
+ self._RuleName = RuleName
1194
+
1195
+ @property
1196
+ def CertType(self):
1197
+ return self._CertType
1198
+
1199
+ @CertType.setter
1200
+ def CertType(self, CertType):
1201
+ self._CertType = CertType
1202
+
1203
+ @property
1204
+ def SSLId(self):
1205
+ return self._SSLId
1206
+
1207
+ @SSLId.setter
1208
+ def SSLId(self, SSLId):
1209
+ self._SSLId = SSLId
1210
+
1211
+ @property
1212
+ def Cert(self):
1213
+ return self._Cert
1214
+
1215
+ @Cert.setter
1216
+ def Cert(self, Cert):
1217
+ self._Cert = Cert
1218
+
1219
+ @property
1220
+ def PrivateKey(self):
1221
+ return self._PrivateKey
1222
+
1223
+ @PrivateKey.setter
1224
+ def PrivateKey(self, PrivateKey):
1225
+ self._PrivateKey = PrivateKey
1226
+
1227
+ @property
1228
+ def Status(self):
1229
+ return self._Status
1230
+
1231
+ @Status.setter
1232
+ def Status(self, Status):
1233
+ self._Status = Status
1234
+
1235
+ @property
1236
+ def CCStatus(self):
1237
+ return self._CCStatus
1238
+
1239
+ @CCStatus.setter
1240
+ def CCStatus(self, CCStatus):
1241
+ self._CCStatus = CCStatus
1242
+
1243
+ @property
1244
+ def CCEnable(self):
1245
+ return self._CCEnable
1246
+
1247
+ @CCEnable.setter
1248
+ def CCEnable(self, CCEnable):
1249
+ self._CCEnable = CCEnable
1250
+
1251
+ @property
1252
+ def CCThreshold(self):
1253
+ return self._CCThreshold
1254
+
1255
+ @CCThreshold.setter
1256
+ def CCThreshold(self, CCThreshold):
1257
+ self._CCThreshold = CCThreshold
1258
+
1259
+ @property
1260
+ def CCLevel(self):
1261
+ return self._CCLevel
1262
+
1263
+ @CCLevel.setter
1264
+ def CCLevel(self, CCLevel):
1265
+ self._CCLevel = CCLevel
1266
+
1267
+ @property
1268
+ def ModifyTime(self):
1269
+ return self._ModifyTime
1270
+
1271
+ @ModifyTime.setter
1272
+ def ModifyTime(self, ModifyTime):
1273
+ self._ModifyTime = ModifyTime
1274
+
1275
+ @property
1276
+ def HttpsToHttpEnable(self):
1277
+ return self._HttpsToHttpEnable
1278
+
1279
+ @HttpsToHttpEnable.setter
1280
+ def HttpsToHttpEnable(self, HttpsToHttpEnable):
1281
+ self._HttpsToHttpEnable = HttpsToHttpEnable
1282
+
1283
+ @property
1284
+ def VirtualPort(self):
1285
+ return self._VirtualPort
1286
+
1287
+ @VirtualPort.setter
1288
+ def VirtualPort(self, VirtualPort):
1289
+ self._VirtualPort = VirtualPort
1290
+
1291
+ @property
1292
+ def RewriteHttps(self):
1293
+ return self._RewriteHttps
1294
+
1295
+ @RewriteHttps.setter
1296
+ def RewriteHttps(self, RewriteHttps):
1297
+ self._RewriteHttps = RewriteHttps
1298
+
1299
+ @property
1300
+ def ErrCode(self):
1301
+ return self._ErrCode
1302
+
1303
+ @ErrCode.setter
1304
+ def ErrCode(self, ErrCode):
1305
+ self._ErrCode = ErrCode
1306
+
1307
+ @property
1308
+ def Version(self):
1309
+ return self._Version
1310
+
1311
+ @Version.setter
1312
+ def Version(self, Version):
1313
+ self._Version = Version
1314
+
1315
+
1316
+ def _deserialize(self, params):
1317
+ self._Protocol = params.get("Protocol")
1318
+ self._Domain = params.get("Domain")
1319
+ self._LbType = params.get("LbType")
1320
+ self._KeepEnable = params.get("KeepEnable")
1321
+ self._KeepTime = params.get("KeepTime")
1322
+ self._SourceType = params.get("SourceType")
1323
+ if params.get("SourceList") is not None:
1324
+ self._SourceList = []
1325
+ for item in params.get("SourceList"):
1326
+ obj = L4RuleSource()
1327
+ obj._deserialize(item)
1328
+ self._SourceList.append(obj)
1329
+ self._Region = params.get("Region")
1330
+ self._Id = params.get("Id")
1331
+ self._Ip = params.get("Ip")
1332
+ self._RuleId = params.get("RuleId")
1333
+ self._RuleName = params.get("RuleName")
1334
+ self._CertType = params.get("CertType")
1335
+ self._SSLId = params.get("SSLId")
1336
+ self._Cert = params.get("Cert")
1337
+ self._PrivateKey = params.get("PrivateKey")
1338
+ self._Status = params.get("Status")
1339
+ self._CCStatus = params.get("CCStatus")
1340
+ self._CCEnable = params.get("CCEnable")
1341
+ self._CCThreshold = params.get("CCThreshold")
1342
+ self._CCLevel = params.get("CCLevel")
1343
+ self._ModifyTime = params.get("ModifyTime")
1344
+ self._HttpsToHttpEnable = params.get("HttpsToHttpEnable")
1345
+ self._VirtualPort = params.get("VirtualPort")
1346
+ self._RewriteHttps = params.get("RewriteHttps")
1347
+ self._ErrCode = params.get("ErrCode")
1348
+ self._Version = params.get("Version")
1349
+ memeber_set = set(params.keys())
1350
+ for name, value in vars(self).items():
1351
+ property_name = name[1:]
1352
+ if property_name in memeber_set:
1353
+ memeber_set.remove(property_name)
1354
+ if len(memeber_set) > 0:
1355
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1356
+
1357
+
1358
+
1007
1359
  class BGPInstance(AbstractModel):
1008
1360
  """高防包资产实例信息
1009
1361
 
@@ -6247,6 +6599,206 @@ class DeleteWaterPrintKeyResponse(AbstractModel):
6247
6599
  self._RequestId = params.get("RequestId")
6248
6600
 
6249
6601
 
6602
+ class DescribeBGPIPL7RulesRequest(AbstractModel):
6603
+ """DescribeBGPIPL7Rules请求参数结构体
6604
+
6605
+ """
6606
+
6607
+ def __init__(self):
6608
+ r"""
6609
+ :param _Business: DDoS防护子产品代号(bgpip表示高防IP)
6610
+ :type Business: str
6611
+ :param _StatusList: 状态搜索,选填,取值[0(规则配置成功),1(规则配置生效中),2(规则配置失败),3(规则删除生效中),5(规则删除失败),6(规则等待配置),7(规则等待删除),8(规则待配置证书)]
6612
+ :type StatusList: list of int non-negative
6613
+ :param _Domain: 域名搜索,选填,当需要搜索域名请填写
6614
+ :type Domain: str
6615
+ :param _Ip: IP搜索,选填,当需要搜索IP请填写
6616
+ :type Ip: str
6617
+ :param _Limit: 一页条数,默认值100,最大值100,超过100最大返回100条
6618
+ :type Limit: int
6619
+ :param _Offset: 规则偏移量,取值为(页码-1)*一页条数
6620
+ :type Offset: int
6621
+ :param _ProtocolList: 转发协议搜索,选填,取值[http, https, http/https]
6622
+ :type ProtocolList: list of str
6623
+ :param _Cname: 高防IP实例的Cname
6624
+ :type Cname: str
6625
+ :param _Export: 默认为false,当为true时,将不对各个规则做策略检查,直接导出所有规则
6626
+ :type Export: bool
6627
+ """
6628
+ self._Business = None
6629
+ self._StatusList = None
6630
+ self._Domain = None
6631
+ self._Ip = None
6632
+ self._Limit = None
6633
+ self._Offset = None
6634
+ self._ProtocolList = None
6635
+ self._Cname = None
6636
+ self._Export = None
6637
+
6638
+ @property
6639
+ def Business(self):
6640
+ return self._Business
6641
+
6642
+ @Business.setter
6643
+ def Business(self, Business):
6644
+ self._Business = Business
6645
+
6646
+ @property
6647
+ def StatusList(self):
6648
+ return self._StatusList
6649
+
6650
+ @StatusList.setter
6651
+ def StatusList(self, StatusList):
6652
+ self._StatusList = StatusList
6653
+
6654
+ @property
6655
+ def Domain(self):
6656
+ return self._Domain
6657
+
6658
+ @Domain.setter
6659
+ def Domain(self, Domain):
6660
+ self._Domain = Domain
6661
+
6662
+ @property
6663
+ def Ip(self):
6664
+ return self._Ip
6665
+
6666
+ @Ip.setter
6667
+ def Ip(self, Ip):
6668
+ self._Ip = Ip
6669
+
6670
+ @property
6671
+ def Limit(self):
6672
+ return self._Limit
6673
+
6674
+ @Limit.setter
6675
+ def Limit(self, Limit):
6676
+ self._Limit = Limit
6677
+
6678
+ @property
6679
+ def Offset(self):
6680
+ return self._Offset
6681
+
6682
+ @Offset.setter
6683
+ def Offset(self, Offset):
6684
+ self._Offset = Offset
6685
+
6686
+ @property
6687
+ def ProtocolList(self):
6688
+ return self._ProtocolList
6689
+
6690
+ @ProtocolList.setter
6691
+ def ProtocolList(self, ProtocolList):
6692
+ self._ProtocolList = ProtocolList
6693
+
6694
+ @property
6695
+ def Cname(self):
6696
+ return self._Cname
6697
+
6698
+ @Cname.setter
6699
+ def Cname(self, Cname):
6700
+ self._Cname = Cname
6701
+
6702
+ @property
6703
+ def Export(self):
6704
+ return self._Export
6705
+
6706
+ @Export.setter
6707
+ def Export(self, Export):
6708
+ self._Export = Export
6709
+
6710
+
6711
+ def _deserialize(self, params):
6712
+ self._Business = params.get("Business")
6713
+ self._StatusList = params.get("StatusList")
6714
+ self._Domain = params.get("Domain")
6715
+ self._Ip = params.get("Ip")
6716
+ self._Limit = params.get("Limit")
6717
+ self._Offset = params.get("Offset")
6718
+ self._ProtocolList = params.get("ProtocolList")
6719
+ self._Cname = params.get("Cname")
6720
+ self._Export = params.get("Export")
6721
+ memeber_set = set(params.keys())
6722
+ for name, value in vars(self).items():
6723
+ property_name = name[1:]
6724
+ if property_name in memeber_set:
6725
+ memeber_set.remove(property_name)
6726
+ if len(memeber_set) > 0:
6727
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6728
+
6729
+
6730
+
6731
+ class DescribeBGPIPL7RulesResponse(AbstractModel):
6732
+ """DescribeBGPIPL7Rules返回参数结构体
6733
+
6734
+ """
6735
+
6736
+ def __init__(self):
6737
+ r"""
6738
+ :param _Rules: 转发规则列表
6739
+ :type Rules: list of BGPIPL7RuleEntry
6740
+ :param _Healths: 健康检查配置列表
6741
+ :type Healths: list of L7RuleHealth
6742
+ :param _Total: 总规则数
6743
+ :type Total: int
6744
+ :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6745
+ :type RequestId: str
6746
+ """
6747
+ self._Rules = None
6748
+ self._Healths = None
6749
+ self._Total = None
6750
+ self._RequestId = None
6751
+
6752
+ @property
6753
+ def Rules(self):
6754
+ return self._Rules
6755
+
6756
+ @Rules.setter
6757
+ def Rules(self, Rules):
6758
+ self._Rules = Rules
6759
+
6760
+ @property
6761
+ def Healths(self):
6762
+ return self._Healths
6763
+
6764
+ @Healths.setter
6765
+ def Healths(self, Healths):
6766
+ self._Healths = Healths
6767
+
6768
+ @property
6769
+ def Total(self):
6770
+ return self._Total
6771
+
6772
+ @Total.setter
6773
+ def Total(self, Total):
6774
+ self._Total = Total
6775
+
6776
+ @property
6777
+ def RequestId(self):
6778
+ return self._RequestId
6779
+
6780
+ @RequestId.setter
6781
+ def RequestId(self, RequestId):
6782
+ self._RequestId = RequestId
6783
+
6784
+
6785
+ def _deserialize(self, params):
6786
+ if params.get("Rules") is not None:
6787
+ self._Rules = []
6788
+ for item in params.get("Rules"):
6789
+ obj = BGPIPL7RuleEntry()
6790
+ obj._deserialize(item)
6791
+ self._Rules.append(obj)
6792
+ if params.get("Healths") is not None:
6793
+ self._Healths = []
6794
+ for item in params.get("Healths"):
6795
+ obj = L7RuleHealth()
6796
+ obj._deserialize(item)
6797
+ self._Healths.append(obj)
6798
+ self._Total = params.get("Total")
6799
+ self._RequestId = params.get("RequestId")
6800
+
6801
+
6250
6802
  class DescribeBasicDeviceStatusRequest(AbstractModel):
6251
6803
  """DescribeBasicDeviceStatus请求参数结构体
6252
6804
 
@@ -674,6 +674,29 @@ class BillingClient(AbstractClient):
674
674
  raise TencentCloudSDKException(type(e).__name__, str(e))
675
675
 
676
676
 
677
+ def DescribeSavingPlanResourceInfo(self, request):
678
+ """查询节省计划详情
679
+
680
+ :param request: Request instance for DescribeSavingPlanResourceInfo.
681
+ :type request: :class:`tencentcloud.billing.v20180709.models.DescribeSavingPlanResourceInfoRequest`
682
+ :rtype: :class:`tencentcloud.billing.v20180709.models.DescribeSavingPlanResourceInfoResponse`
683
+
684
+ """
685
+ try:
686
+ params = request._serialize()
687
+ headers = request.headers
688
+ body = self.call("DescribeSavingPlanResourceInfo", params, headers=headers)
689
+ response = json.loads(body)
690
+ model = models.DescribeSavingPlanResourceInfoResponse()
691
+ model._deserialize(response["Response"])
692
+ return model
693
+ except Exception as e:
694
+ if isinstance(e, TencentCloudSDKException):
695
+ raise
696
+ else:
697
+ raise TencentCloudSDKException(type(e).__name__, str(e))
698
+
699
+
677
700
  def DescribeSavingPlanUsage(self, request):
678
701
  """查用当前用户明细节省计划查询时段内的使用情况
679
702