tencentcloud-sdk-python 3.0.1126__py2.py3-none-any.whl → 3.0.1128__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aiart/v20221229/aiart_client.py +4 -11
- tencentcloud/aiart/v20221229/models.py +6 -5
- tencentcloud/antiddos/v20200309/models.py +13 -0
- tencentcloud/asr/v20190614/asr_client.py +1 -1
- tencentcloud/asr/v20190614/models.py +15 -4
- tencentcloud/cdb/v20170320/cdb_client.py +46 -0
- tencentcloud/cdb/v20170320/errorcodes.py +3 -0
- tencentcloud/cdb/v20170320/models.py +360 -0
- tencentcloud/csip/v20221121/models.py +3 -0
- tencentcloud/es/v20180416/models.py +12 -12
- tencentcloud/faceid/v20180301/faceid_client.py +1 -1
- tencentcloud/faceid/v20180301/models.py +12 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +8 -8
- tencentcloud/hunyuan/v20230901/models.py +121 -30
- tencentcloud/iss/v20230517/models.py +50 -0
- tencentcloud/lke/__init__.py +0 -0
- tencentcloud/lke/v20231130/__init__.py +0 -0
- tencentcloud/lke/v20231130/errorcodes.py +30 -0
- tencentcloud/lke/v20231130/lke_client.py +1751 -0
- tencentcloud/lke/v20231130/models.py +13358 -0
- tencentcloud/mna/v20210119/errorcodes.py +12 -0
- tencentcloud/mna/v20210119/models.py +301 -5
- tencentcloud/monitor/v20180724/models.py +0 -82
- tencentcloud/monitor/v20180724/monitor_client.py +0 -23
- tencentcloud/redis/v20180412/models.py +1 -1
- tencentcloud/sms/v20210111/models.py +1 -0
- tencentcloud/soe/v20180724/models.py +1 -1
- tencentcloud/tione/v20211111/models.py +48 -1
- tencentcloud/trtc/v20190722/models.py +97 -2
- tencentcloud/trtc/v20190722/trtc_client.py +3 -3
- tencentcloud/wedata/v20210820/models.py +345 -2088
- tencentcloud/wedata/v20210820/wedata_client.py +0 -253
- {tencentcloud_sdk_python-3.0.1126.dist-info → tencentcloud_sdk_python-3.0.1128.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1126.dist-info → tencentcloud_sdk_python-3.0.1128.dist-info}/RECORD +38 -33
- {tencentcloud_sdk_python-3.0.1126.dist-info → tencentcloud_sdk_python-3.0.1128.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1126.dist-info → tencentcloud_sdk_python-3.0.1128.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1126.dist-info → tencentcloud_sdk_python-3.0.1128.dist-info}/top_level.txt +0 -0
|
@@ -80,15 +80,24 @@ OPERATIONDENIED_HARDWAREHASACTIVATED = 'OperationDenied.HardwareHasActivated'
|
|
|
80
80
|
# 输入SN对应的硬件不存在。
|
|
81
81
|
OPERATIONDENIED_HARDWARENOTEXIST = 'OperationDenied.HardwareNotExist'
|
|
82
82
|
|
|
83
|
+
# 非法请求,可能是重放攻击、伪造攻击。
|
|
84
|
+
OPERATIONDENIED_ILLEGALREQUEST = 'OperationDenied.IllegalRequest'
|
|
85
|
+
|
|
83
86
|
# 余额不足
|
|
84
87
|
OPERATIONDENIED_INSUFFICIENTBALANCE = 'OperationDenied.InsufficientBalance'
|
|
85
88
|
|
|
89
|
+
# 资源包已经变配或续费
|
|
90
|
+
OPERATIONDENIED_MODIFIEDORRENEWED = 'OperationDenied.ModifiedOrRenewed'
|
|
91
|
+
|
|
86
92
|
# 无支付权限
|
|
87
93
|
OPERATIONDENIED_NOTALLOWEDTOPAY = 'OperationDenied.NotAllowedToPay'
|
|
88
94
|
|
|
89
95
|
# 请求运营商加速超时。
|
|
90
96
|
OPERATIONDENIED_REQUESTQOSTIMEOUT = 'OperationDenied.RequestQosTimeout'
|
|
91
97
|
|
|
98
|
+
# 截断开关已经被开启
|
|
99
|
+
OPERATIONDENIED_TRUNCFLAGON = 'OperationDenied.TruncFlagOn'
|
|
100
|
+
|
|
92
101
|
# 未实名认证
|
|
93
102
|
OPERATIONDENIED_UNAUTHORIZEDUSER = 'OperationDenied.UnauthorizedUser'
|
|
94
103
|
|
|
@@ -113,6 +122,9 @@ REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
|
|
|
113
122
|
# 资源被占用。
|
|
114
123
|
RESOURCEINUSE = 'ResourceInUse'
|
|
115
124
|
|
|
125
|
+
# 资源不存在。
|
|
126
|
+
RESOURCENOTFOUND = 'ResourceNotFound'
|
|
127
|
+
|
|
116
128
|
# 资源不可用。
|
|
117
129
|
RESOURCEUNAVAILABLE = 'ResourceUnavailable'
|
|
118
130
|
|
|
@@ -40,6 +40,20 @@ class ActivateHardware(AbstractModel):
|
|
|
40
40
|
:type DataKey: str
|
|
41
41
|
:param _AccessScope: 接入环境。0:公有云网关;1:自有网关;2:公有云网关和自有网关。不填默认公有云网关。 具体含义: 公有云网关:即该设备只能接入公有云网关(就近接入) 自有网关:即该设备只能接入已经注册上线的自有网关(就近接入或固定ip接入) 公有云网关和自有网关:即该设备同时可以接入公有云网关和已经注册上线的自有网关(就近接入或固定ip接入)
|
|
42
42
|
:type AccessScope: int
|
|
43
|
+
:param _LicensePayMode: 当付费方为租户时,可选择租户license付费方式:
|
|
44
|
+
0,月度授权
|
|
45
|
+
1,永久授权
|
|
46
|
+
若不传则默认为月度授权。
|
|
47
|
+
当付费方为厂商时,此参数无效
|
|
48
|
+
|
|
49
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
50
|
+
:type LicensePayMode: int
|
|
51
|
+
:param _GroupId: 设备分组ID
|
|
52
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
53
|
+
:type GroupId: str
|
|
54
|
+
:param _GroupName: 设备分组名称,预留参数,需要分组时传入GroupId
|
|
55
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
56
|
+
:type GroupName: str
|
|
43
57
|
"""
|
|
44
58
|
self._Vendor = None
|
|
45
59
|
self._SN = None
|
|
@@ -47,6 +61,9 @@ class ActivateHardware(AbstractModel):
|
|
|
47
61
|
self._Description = None
|
|
48
62
|
self._DataKey = None
|
|
49
63
|
self._AccessScope = None
|
|
64
|
+
self._LicensePayMode = None
|
|
65
|
+
self._GroupId = None
|
|
66
|
+
self._GroupName = None
|
|
50
67
|
|
|
51
68
|
@property
|
|
52
69
|
def Vendor(self):
|
|
@@ -96,6 +113,30 @@ class ActivateHardware(AbstractModel):
|
|
|
96
113
|
def AccessScope(self, AccessScope):
|
|
97
114
|
self._AccessScope = AccessScope
|
|
98
115
|
|
|
116
|
+
@property
|
|
117
|
+
def LicensePayMode(self):
|
|
118
|
+
return self._LicensePayMode
|
|
119
|
+
|
|
120
|
+
@LicensePayMode.setter
|
|
121
|
+
def LicensePayMode(self, LicensePayMode):
|
|
122
|
+
self._LicensePayMode = LicensePayMode
|
|
123
|
+
|
|
124
|
+
@property
|
|
125
|
+
def GroupId(self):
|
|
126
|
+
return self._GroupId
|
|
127
|
+
|
|
128
|
+
@GroupId.setter
|
|
129
|
+
def GroupId(self, GroupId):
|
|
130
|
+
self._GroupId = GroupId
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
def GroupName(self):
|
|
134
|
+
return self._GroupName
|
|
135
|
+
|
|
136
|
+
@GroupName.setter
|
|
137
|
+
def GroupName(self, GroupName):
|
|
138
|
+
self._GroupName = GroupName
|
|
139
|
+
|
|
99
140
|
|
|
100
141
|
def _deserialize(self, params):
|
|
101
142
|
self._Vendor = params.get("Vendor")
|
|
@@ -104,6 +145,9 @@ class ActivateHardware(AbstractModel):
|
|
|
104
145
|
self._Description = params.get("Description")
|
|
105
146
|
self._DataKey = params.get("DataKey")
|
|
106
147
|
self._AccessScope = params.get("AccessScope")
|
|
148
|
+
self._LicensePayMode = params.get("LicensePayMode")
|
|
149
|
+
self._GroupId = params.get("GroupId")
|
|
150
|
+
self._GroupName = params.get("GroupName")
|
|
107
151
|
memeber_set = set(params.keys())
|
|
108
152
|
for name, value in vars(self).items():
|
|
109
153
|
property_name = name[1:]
|
|
@@ -216,12 +260,24 @@ class AddDeviceRequest(AbstractModel):
|
|
|
216
260
|
自有网关:即该设备只能接入已经注册上线的自有网关(就近接入或固定ip接入)
|
|
217
261
|
公有云网关和自有网关:即该设备同时可以接入公有云网关和已经注册上线的自有网关(就近接入或固定ip接入)
|
|
218
262
|
:type AccessScope: int
|
|
263
|
+
:param _LicensePayMode: license付费方式:
|
|
264
|
+
0,月度授权
|
|
265
|
+
1,永久授权
|
|
266
|
+
若不传则默认为月度授权
|
|
267
|
+
:type LicensePayMode: int
|
|
268
|
+
:param _GroupName: 设备分组名称,非必选,预留参数,需要分组时传入GroupId
|
|
269
|
+
:type GroupName: str
|
|
270
|
+
:param _GroupId: 设备分组ID,非必选,如果不填写则默认设备无分组
|
|
271
|
+
:type GroupId: str
|
|
219
272
|
"""
|
|
220
273
|
self._DeviceName = None
|
|
221
274
|
self._Remark = None
|
|
222
275
|
self._DataKey = None
|
|
223
276
|
self._Encrypted = None
|
|
224
277
|
self._AccessScope = None
|
|
278
|
+
self._LicensePayMode = None
|
|
279
|
+
self._GroupName = None
|
|
280
|
+
self._GroupId = None
|
|
225
281
|
|
|
226
282
|
@property
|
|
227
283
|
def DeviceName(self):
|
|
@@ -263,6 +319,30 @@ class AddDeviceRequest(AbstractModel):
|
|
|
263
319
|
def AccessScope(self, AccessScope):
|
|
264
320
|
self._AccessScope = AccessScope
|
|
265
321
|
|
|
322
|
+
@property
|
|
323
|
+
def LicensePayMode(self):
|
|
324
|
+
return self._LicensePayMode
|
|
325
|
+
|
|
326
|
+
@LicensePayMode.setter
|
|
327
|
+
def LicensePayMode(self, LicensePayMode):
|
|
328
|
+
self._LicensePayMode = LicensePayMode
|
|
329
|
+
|
|
330
|
+
@property
|
|
331
|
+
def GroupName(self):
|
|
332
|
+
return self._GroupName
|
|
333
|
+
|
|
334
|
+
@GroupName.setter
|
|
335
|
+
def GroupName(self, GroupName):
|
|
336
|
+
self._GroupName = GroupName
|
|
337
|
+
|
|
338
|
+
@property
|
|
339
|
+
def GroupId(self):
|
|
340
|
+
return self._GroupId
|
|
341
|
+
|
|
342
|
+
@GroupId.setter
|
|
343
|
+
def GroupId(self, GroupId):
|
|
344
|
+
self._GroupId = GroupId
|
|
345
|
+
|
|
266
346
|
|
|
267
347
|
def _deserialize(self, params):
|
|
268
348
|
self._DeviceName = params.get("DeviceName")
|
|
@@ -270,6 +350,9 @@ class AddDeviceRequest(AbstractModel):
|
|
|
270
350
|
self._DataKey = params.get("DataKey")
|
|
271
351
|
self._Encrypted = params.get("Encrypted")
|
|
272
352
|
self._AccessScope = params.get("AccessScope")
|
|
353
|
+
self._LicensePayMode = params.get("LicensePayMode")
|
|
354
|
+
self._GroupName = params.get("GroupName")
|
|
355
|
+
self._GroupId = params.get("GroupId")
|
|
273
356
|
memeber_set = set(params.keys())
|
|
274
357
|
for name, value in vars(self).items():
|
|
275
358
|
property_name = name[1:]
|
|
@@ -1100,6 +1183,18 @@ class DeviceBaseInfo(AbstractModel):
|
|
|
1100
1183
|
:type Remark: str
|
|
1101
1184
|
:param _AccessScope: 接入环境。0:公有云网关;1:自有网关;2:公有云网关和自有网关。默认公有云网关。 具体含义: 公有云网关:即该设备只能接入公有云网关(就近接入) 自有网关:即该设备只能接入已经注册上线的自有网关(就近接入或固定ip接入) 公有云网关和自有网关:即该设备同时可以接入公有云网关和已经注册上线的自有网关(就近接入或固定ip接入)
|
|
1102
1185
|
:type AccessScope: int
|
|
1186
|
+
:param _LicensePayMode: license授权有效期 0:月度授权 1:永久授权
|
|
1187
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1188
|
+
:type LicensePayMode: int
|
|
1189
|
+
:param _Payer: 付费方 0:厂商付费 1:客户付费
|
|
1190
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1191
|
+
:type Payer: int
|
|
1192
|
+
:param _GroupId: 设备分组ID
|
|
1193
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1194
|
+
:type GroupId: str
|
|
1195
|
+
:param _GroupName: 设备分组名称
|
|
1196
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1197
|
+
:type GroupName: str
|
|
1103
1198
|
"""
|
|
1104
1199
|
self._DeviceId = None
|
|
1105
1200
|
self._DeviceName = None
|
|
@@ -1107,6 +1202,10 @@ class DeviceBaseInfo(AbstractModel):
|
|
|
1107
1202
|
self._LastTime = None
|
|
1108
1203
|
self._Remark = None
|
|
1109
1204
|
self._AccessScope = None
|
|
1205
|
+
self._LicensePayMode = None
|
|
1206
|
+
self._Payer = None
|
|
1207
|
+
self._GroupId = None
|
|
1208
|
+
self._GroupName = None
|
|
1110
1209
|
|
|
1111
1210
|
@property
|
|
1112
1211
|
def DeviceId(self):
|
|
@@ -1156,6 +1255,38 @@ class DeviceBaseInfo(AbstractModel):
|
|
|
1156
1255
|
def AccessScope(self, AccessScope):
|
|
1157
1256
|
self._AccessScope = AccessScope
|
|
1158
1257
|
|
|
1258
|
+
@property
|
|
1259
|
+
def LicensePayMode(self):
|
|
1260
|
+
return self._LicensePayMode
|
|
1261
|
+
|
|
1262
|
+
@LicensePayMode.setter
|
|
1263
|
+
def LicensePayMode(self, LicensePayMode):
|
|
1264
|
+
self._LicensePayMode = LicensePayMode
|
|
1265
|
+
|
|
1266
|
+
@property
|
|
1267
|
+
def Payer(self):
|
|
1268
|
+
return self._Payer
|
|
1269
|
+
|
|
1270
|
+
@Payer.setter
|
|
1271
|
+
def Payer(self, Payer):
|
|
1272
|
+
self._Payer = Payer
|
|
1273
|
+
|
|
1274
|
+
@property
|
|
1275
|
+
def GroupId(self):
|
|
1276
|
+
return self._GroupId
|
|
1277
|
+
|
|
1278
|
+
@GroupId.setter
|
|
1279
|
+
def GroupId(self, GroupId):
|
|
1280
|
+
self._GroupId = GroupId
|
|
1281
|
+
|
|
1282
|
+
@property
|
|
1283
|
+
def GroupName(self):
|
|
1284
|
+
return self._GroupName
|
|
1285
|
+
|
|
1286
|
+
@GroupName.setter
|
|
1287
|
+
def GroupName(self, GroupName):
|
|
1288
|
+
self._GroupName = GroupName
|
|
1289
|
+
|
|
1159
1290
|
|
|
1160
1291
|
def _deserialize(self, params):
|
|
1161
1292
|
self._DeviceId = params.get("DeviceId")
|
|
@@ -1164,6 +1295,10 @@ class DeviceBaseInfo(AbstractModel):
|
|
|
1164
1295
|
self._LastTime = params.get("LastTime")
|
|
1165
1296
|
self._Remark = params.get("Remark")
|
|
1166
1297
|
self._AccessScope = params.get("AccessScope")
|
|
1298
|
+
self._LicensePayMode = params.get("LicensePayMode")
|
|
1299
|
+
self._Payer = params.get("Payer")
|
|
1300
|
+
self._GroupId = params.get("GroupId")
|
|
1301
|
+
self._GroupName = params.get("GroupName")
|
|
1167
1302
|
memeber_set = set(params.keys())
|
|
1168
1303
|
for name, value in vars(self).items():
|
|
1169
1304
|
property_name = name[1:]
|
|
@@ -1838,6 +1973,10 @@ DEVICE_5_FLOW_500G,分别代表20G、50G、100G、500G档位的流量包。
|
|
|
1838
1973
|
:type RenewFlag: bool
|
|
1839
1974
|
:param _ModifyStatus: 资源包变更状态,0:未发生变配;1:变配中;2:已变配或已续费
|
|
1840
1975
|
:type ModifyStatus: int
|
|
1976
|
+
:param _TruncFlag: 流量截断标识。true代表开启流量截断,false代表不开启流量截断
|
|
1977
|
+
:type TruncFlag: bool
|
|
1978
|
+
:param _CapacityRemainPrecise: 流量包精确余量,单位:MB
|
|
1979
|
+
:type CapacityRemainPrecise: int
|
|
1841
1980
|
"""
|
|
1842
1981
|
self._ResourceId = None
|
|
1843
1982
|
self._AppId = None
|
|
@@ -1851,6 +1990,8 @@ DEVICE_5_FLOW_500G,分别代表20G、50G、100G、500G档位的流量包。
|
|
|
1851
1990
|
self._CapacityRemain = None
|
|
1852
1991
|
self._RenewFlag = None
|
|
1853
1992
|
self._ModifyStatus = None
|
|
1993
|
+
self._TruncFlag = None
|
|
1994
|
+
self._CapacityRemainPrecise = None
|
|
1854
1995
|
|
|
1855
1996
|
@property
|
|
1856
1997
|
def ResourceId(self):
|
|
@@ -1948,6 +2089,22 @@ DEVICE_5_FLOW_500G,分别代表20G、50G、100G、500G档位的流量包。
|
|
|
1948
2089
|
def ModifyStatus(self, ModifyStatus):
|
|
1949
2090
|
self._ModifyStatus = ModifyStatus
|
|
1950
2091
|
|
|
2092
|
+
@property
|
|
2093
|
+
def TruncFlag(self):
|
|
2094
|
+
return self._TruncFlag
|
|
2095
|
+
|
|
2096
|
+
@TruncFlag.setter
|
|
2097
|
+
def TruncFlag(self, TruncFlag):
|
|
2098
|
+
self._TruncFlag = TruncFlag
|
|
2099
|
+
|
|
2100
|
+
@property
|
|
2101
|
+
def CapacityRemainPrecise(self):
|
|
2102
|
+
return self._CapacityRemainPrecise
|
|
2103
|
+
|
|
2104
|
+
@CapacityRemainPrecise.setter
|
|
2105
|
+
def CapacityRemainPrecise(self, CapacityRemainPrecise):
|
|
2106
|
+
self._CapacityRemainPrecise = CapacityRemainPrecise
|
|
2107
|
+
|
|
1951
2108
|
|
|
1952
2109
|
def _deserialize(self, params):
|
|
1953
2110
|
self._ResourceId = params.get("ResourceId")
|
|
@@ -1962,6 +2119,8 @@ DEVICE_5_FLOW_500G,分别代表20G、50G、100G、500G档位的流量包。
|
|
|
1962
2119
|
self._CapacityRemain = params.get("CapacityRemain")
|
|
1963
2120
|
self._RenewFlag = params.get("RenewFlag")
|
|
1964
2121
|
self._ModifyStatus = params.get("ModifyStatus")
|
|
2122
|
+
self._TruncFlag = params.get("TruncFlag")
|
|
2123
|
+
self._CapacityRemainPrecise = params.get("CapacityRemainPrecise")
|
|
1965
2124
|
memeber_set = set(params.keys())
|
|
1966
2125
|
for name, value in vars(self).items():
|
|
1967
2126
|
property_name = name[1:]
|
|
@@ -2406,7 +2565,7 @@ class GetFlowStatisticRequest(AbstractModel):
|
|
|
2406
2565
|
:type BeginTime: int
|
|
2407
2566
|
:param _EndTime: 截止时间
|
|
2408
2567
|
:type EndTime: int
|
|
2409
|
-
:param _Type: 流量种类(1:上行流量,2
|
|
2568
|
+
:param _Type: 流量种类(1:上行流量,2:下行流量,3:上下行总和)
|
|
2410
2569
|
:type Type: int
|
|
2411
2570
|
:param _TimeGranularity: 时间粒度(1:按小时统计,2:按天统计)
|
|
2412
2571
|
:type TimeGranularity: int
|
|
@@ -2414,6 +2573,8 @@ class GetFlowStatisticRequest(AbstractModel):
|
|
|
2414
2573
|
:type AccessRegion: str
|
|
2415
2574
|
:param _GatewayType: 网关类型。0:公有云网关;1:自有网关。不传默认为0。
|
|
2416
2575
|
:type GatewayType: int
|
|
2576
|
+
:param _DeviceList: 设备ID列表,用于查询多设备流量,该字段启用时DeviceId可传"-1"
|
|
2577
|
+
:type DeviceList: list of str
|
|
2417
2578
|
"""
|
|
2418
2579
|
self._DeviceId = None
|
|
2419
2580
|
self._BeginTime = None
|
|
@@ -2422,6 +2583,7 @@ class GetFlowStatisticRequest(AbstractModel):
|
|
|
2422
2583
|
self._TimeGranularity = None
|
|
2423
2584
|
self._AccessRegion = None
|
|
2424
2585
|
self._GatewayType = None
|
|
2586
|
+
self._DeviceList = None
|
|
2425
2587
|
|
|
2426
2588
|
@property
|
|
2427
2589
|
def DeviceId(self):
|
|
@@ -2479,6 +2641,14 @@ class GetFlowStatisticRequest(AbstractModel):
|
|
|
2479
2641
|
def GatewayType(self, GatewayType):
|
|
2480
2642
|
self._GatewayType = GatewayType
|
|
2481
2643
|
|
|
2644
|
+
@property
|
|
2645
|
+
def DeviceList(self):
|
|
2646
|
+
return self._DeviceList
|
|
2647
|
+
|
|
2648
|
+
@DeviceList.setter
|
|
2649
|
+
def DeviceList(self, DeviceList):
|
|
2650
|
+
self._DeviceList = DeviceList
|
|
2651
|
+
|
|
2482
2652
|
|
|
2483
2653
|
def _deserialize(self, params):
|
|
2484
2654
|
self._DeviceId = params.get("DeviceId")
|
|
@@ -2488,6 +2658,7 @@ class GetFlowStatisticRequest(AbstractModel):
|
|
|
2488
2658
|
self._TimeGranularity = params.get("TimeGranularity")
|
|
2489
2659
|
self._AccessRegion = params.get("AccessRegion")
|
|
2490
2660
|
self._GatewayType = params.get("GatewayType")
|
|
2661
|
+
self._DeviceList = params.get("DeviceList")
|
|
2491
2662
|
memeber_set = set(params.keys())
|
|
2492
2663
|
for name, value in vars(self).items():
|
|
2493
2664
|
property_name = name[1:]
|
|
@@ -2712,7 +2883,7 @@ class GetMultiFlowStatisticRequest(AbstractModel):
|
|
|
2712
2883
|
:type BeginTime: int
|
|
2713
2884
|
:param _EndTime: 1659515000
|
|
2714
2885
|
:type EndTime: int
|
|
2715
|
-
:param _Type: 统计流量类型(1:上行流量,2
|
|
2886
|
+
:param _Type: 统计流量类型(1:上行流量,2:下行流量, 3: 上下行总和)
|
|
2716
2887
|
:type Type: int
|
|
2717
2888
|
:param _TimeGranularity: 统计时间粒度(1:按小时统计,2:按天统计)
|
|
2718
2889
|
:type TimeGranularity: int
|
|
@@ -3050,6 +3221,10 @@ class GetStatisticDataRequest(AbstractModel):
|
|
|
3050
3221
|
:type AccessRegion: str
|
|
3051
3222
|
:param _GatewayType: 网关类型。0:公有云网关;1:自有网关。不传默认为0。
|
|
3052
3223
|
:type GatewayType: int
|
|
3224
|
+
:param _DeviceList: 设备ID列表,最多10个设备,下载多个设备流量和时使用,此时DeviceId可传"-1"
|
|
3225
|
+
:type DeviceList: list of str
|
|
3226
|
+
:param _GroupId: 设备分组ID,若不指定分组则不传,按分组下载数据时使用
|
|
3227
|
+
:type GroupId: str
|
|
3053
3228
|
"""
|
|
3054
3229
|
self._DeviceId = None
|
|
3055
3230
|
self._BeginTime = None
|
|
@@ -3057,6 +3232,8 @@ class GetStatisticDataRequest(AbstractModel):
|
|
|
3057
3232
|
self._TimeGranularity = None
|
|
3058
3233
|
self._AccessRegion = None
|
|
3059
3234
|
self._GatewayType = None
|
|
3235
|
+
self._DeviceList = None
|
|
3236
|
+
self._GroupId = None
|
|
3060
3237
|
|
|
3061
3238
|
@property
|
|
3062
3239
|
def DeviceId(self):
|
|
@@ -3106,6 +3283,22 @@ class GetStatisticDataRequest(AbstractModel):
|
|
|
3106
3283
|
def GatewayType(self, GatewayType):
|
|
3107
3284
|
self._GatewayType = GatewayType
|
|
3108
3285
|
|
|
3286
|
+
@property
|
|
3287
|
+
def DeviceList(self):
|
|
3288
|
+
return self._DeviceList
|
|
3289
|
+
|
|
3290
|
+
@DeviceList.setter
|
|
3291
|
+
def DeviceList(self, DeviceList):
|
|
3292
|
+
self._DeviceList = DeviceList
|
|
3293
|
+
|
|
3294
|
+
@property
|
|
3295
|
+
def GroupId(self):
|
|
3296
|
+
return self._GroupId
|
|
3297
|
+
|
|
3298
|
+
@GroupId.setter
|
|
3299
|
+
def GroupId(self, GroupId):
|
|
3300
|
+
self._GroupId = GroupId
|
|
3301
|
+
|
|
3109
3302
|
|
|
3110
3303
|
def _deserialize(self, params):
|
|
3111
3304
|
self._DeviceId = params.get("DeviceId")
|
|
@@ -3114,6 +3307,8 @@ class GetStatisticDataRequest(AbstractModel):
|
|
|
3114
3307
|
self._TimeGranularity = params.get("TimeGranularity")
|
|
3115
3308
|
self._AccessRegion = params.get("AccessRegion")
|
|
3116
3309
|
self._GatewayType = params.get("GatewayType")
|
|
3310
|
+
self._DeviceList = params.get("DeviceList")
|
|
3311
|
+
self._GroupId = params.get("GroupId")
|
|
3117
3312
|
memeber_set = set(params.keys())
|
|
3118
3313
|
for name, value in vars(self).items():
|
|
3119
3314
|
property_name = name[1:]
|
|
@@ -3310,9 +3505,9 @@ class Hardware(AbstractModel):
|
|
|
3310
3505
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3311
3506
|
:type SN: str
|
|
3312
3507
|
:param _LicenseChargingMode: license计费模式:
|
|
3313
|
-
1
|
|
3508
|
+
1,租户付费
|
|
3314
3509
|
2,厂商月付费
|
|
3315
|
-
3
|
|
3510
|
+
3,厂商永久授权
|
|
3316
3511
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3317
3512
|
:type LicenseChargingMode: int
|
|
3318
3513
|
:param _Description: 设备描述
|
|
@@ -3401,6 +3596,7 @@ class HardwareInfo(AbstractModel):
|
|
|
3401
3596
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3402
3597
|
:type VendorDescription: str
|
|
3403
3598
|
:param _LicenseChargingMode: license计费模式: 1,租户月付费 2,厂商月付费 3,license永久授权
|
|
3599
|
+
注:后续将废弃此参数,新接入请使用LicensePayMode和Payer
|
|
3404
3600
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3405
3601
|
:type LicenseChargingMode: int
|
|
3406
3602
|
:param _CreateTime: 创建时间
|
|
@@ -3409,6 +3605,22 @@ class HardwareInfo(AbstractModel):
|
|
|
3409
3605
|
:param _SN: 硬件序列号
|
|
3410
3606
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3411
3607
|
:type SN: str
|
|
3608
|
+
:param _LicensePayMode: license授权有效期
|
|
3609
|
+
0:月度授权
|
|
3610
|
+
1:永久授权
|
|
3611
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3612
|
+
:type LicensePayMode: int
|
|
3613
|
+
:param _Payer: 付费方
|
|
3614
|
+
0:客户付费
|
|
3615
|
+
1:厂商付费
|
|
3616
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3617
|
+
:type Payer: int
|
|
3618
|
+
:param _GroupId: 设备分组ID
|
|
3619
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3620
|
+
:type GroupId: str
|
|
3621
|
+
:param _GroupName: 设备分组名称
|
|
3622
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3623
|
+
:type GroupName: str
|
|
3412
3624
|
"""
|
|
3413
3625
|
self._DeviceId = None
|
|
3414
3626
|
self._DeviceName = None
|
|
@@ -3419,6 +3631,10 @@ class HardwareInfo(AbstractModel):
|
|
|
3419
3631
|
self._LicenseChargingMode = None
|
|
3420
3632
|
self._CreateTime = None
|
|
3421
3633
|
self._SN = None
|
|
3634
|
+
self._LicensePayMode = None
|
|
3635
|
+
self._Payer = None
|
|
3636
|
+
self._GroupId = None
|
|
3637
|
+
self._GroupName = None
|
|
3422
3638
|
|
|
3423
3639
|
@property
|
|
3424
3640
|
def DeviceId(self):
|
|
@@ -3492,6 +3708,38 @@ class HardwareInfo(AbstractModel):
|
|
|
3492
3708
|
def SN(self, SN):
|
|
3493
3709
|
self._SN = SN
|
|
3494
3710
|
|
|
3711
|
+
@property
|
|
3712
|
+
def LicensePayMode(self):
|
|
3713
|
+
return self._LicensePayMode
|
|
3714
|
+
|
|
3715
|
+
@LicensePayMode.setter
|
|
3716
|
+
def LicensePayMode(self, LicensePayMode):
|
|
3717
|
+
self._LicensePayMode = LicensePayMode
|
|
3718
|
+
|
|
3719
|
+
@property
|
|
3720
|
+
def Payer(self):
|
|
3721
|
+
return self._Payer
|
|
3722
|
+
|
|
3723
|
+
@Payer.setter
|
|
3724
|
+
def Payer(self, Payer):
|
|
3725
|
+
self._Payer = Payer
|
|
3726
|
+
|
|
3727
|
+
@property
|
|
3728
|
+
def GroupId(self):
|
|
3729
|
+
return self._GroupId
|
|
3730
|
+
|
|
3731
|
+
@GroupId.setter
|
|
3732
|
+
def GroupId(self, GroupId):
|
|
3733
|
+
self._GroupId = GroupId
|
|
3734
|
+
|
|
3735
|
+
@property
|
|
3736
|
+
def GroupName(self):
|
|
3737
|
+
return self._GroupName
|
|
3738
|
+
|
|
3739
|
+
@GroupName.setter
|
|
3740
|
+
def GroupName(self, GroupName):
|
|
3741
|
+
self._GroupName = GroupName
|
|
3742
|
+
|
|
3495
3743
|
|
|
3496
3744
|
def _deserialize(self, params):
|
|
3497
3745
|
self._DeviceId = params.get("DeviceId")
|
|
@@ -3503,6 +3751,10 @@ class HardwareInfo(AbstractModel):
|
|
|
3503
3751
|
self._LicenseChargingMode = params.get("LicenseChargingMode")
|
|
3504
3752
|
self._CreateTime = params.get("CreateTime")
|
|
3505
3753
|
self._SN = params.get("SN")
|
|
3754
|
+
self._LicensePayMode = params.get("LicensePayMode")
|
|
3755
|
+
self._Payer = params.get("Payer")
|
|
3756
|
+
self._GroupId = params.get("GroupId")
|
|
3757
|
+
self._GroupName = params.get("GroupName")
|
|
3506
3758
|
memeber_set = set(params.keys())
|
|
3507
3759
|
for name, value in vars(self).items():
|
|
3508
3760
|
property_name = name[1:]
|
|
@@ -3784,10 +4036,12 @@ DEVICE_5_FLOW_500G,分别代表20G、50G、100G、500G档位的流量包。
|
|
|
3784
4036
|
100G:最多绑定3个设备
|
|
3785
4037
|
500G:最多绑定5个设备
|
|
3786
4038
|
:type DeviceList: list of str
|
|
3787
|
-
:param _AutoRenewFlag:
|
|
4039
|
+
:param _AutoRenewFlag: 是否自动续费,该选项和流量截断冲突,只能开启一个
|
|
3788
4040
|
:type AutoRenewFlag: bool
|
|
3789
4041
|
:param _PackageRegion: 区域标识,0:国内,1:国外
|
|
3790
4042
|
:type PackageRegion: int
|
|
4043
|
+
:param _FlowTruncFlag: 是否开启流量截断功能,该选项和自动续费冲突
|
|
4044
|
+
:type FlowTruncFlag: bool
|
|
3791
4045
|
:param _AutoVoucher: 是否自动选择代金券,默认false。
|
|
3792
4046
|
有多张券时的选择策略:按照可支付订单全部金额的券,先到期的券,可抵扣金额最大的券,余额最小的券,现金券 这个优先级进行扣券,且最多只抵扣一张券。
|
|
3793
4047
|
:type AutoVoucher: bool
|
|
@@ -3799,6 +4053,7 @@ DEVICE_5_FLOW_500G,分别代表20G、50G、100G、500G档位的流量包。
|
|
|
3799
4053
|
self._DeviceList = None
|
|
3800
4054
|
self._AutoRenewFlag = None
|
|
3801
4055
|
self._PackageRegion = None
|
|
4056
|
+
self._FlowTruncFlag = None
|
|
3802
4057
|
self._AutoVoucher = None
|
|
3803
4058
|
self._VoucherIds = None
|
|
3804
4059
|
|
|
@@ -3834,6 +4089,14 @@ DEVICE_5_FLOW_500G,分别代表20G、50G、100G、500G档位的流量包。
|
|
|
3834
4089
|
def PackageRegion(self, PackageRegion):
|
|
3835
4090
|
self._PackageRegion = PackageRegion
|
|
3836
4091
|
|
|
4092
|
+
@property
|
|
4093
|
+
def FlowTruncFlag(self):
|
|
4094
|
+
return self._FlowTruncFlag
|
|
4095
|
+
|
|
4096
|
+
@FlowTruncFlag.setter
|
|
4097
|
+
def FlowTruncFlag(self, FlowTruncFlag):
|
|
4098
|
+
self._FlowTruncFlag = FlowTruncFlag
|
|
4099
|
+
|
|
3837
4100
|
@property
|
|
3838
4101
|
def AutoVoucher(self):
|
|
3839
4102
|
return self._AutoVoucher
|
|
@@ -3856,6 +4119,7 @@ DEVICE_5_FLOW_500G,分别代表20G、50G、100G、500G档位的流量包。
|
|
|
3856
4119
|
self._DeviceList = params.get("DeviceList")
|
|
3857
4120
|
self._AutoRenewFlag = params.get("AutoRenewFlag")
|
|
3858
4121
|
self._PackageRegion = params.get("PackageRegion")
|
|
4122
|
+
self._FlowTruncFlag = params.get("FlowTruncFlag")
|
|
3859
4123
|
self._AutoVoucher = params.get("AutoVoucher")
|
|
3860
4124
|
self._VoucherIds = params.get("VoucherIds")
|
|
3861
4125
|
memeber_set = set(params.keys())
|
|
@@ -4315,11 +4579,23 @@ class VendorHardware(AbstractModel):
|
|
|
4315
4579
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4316
4580
|
:type DeviceId: str
|
|
4317
4581
|
:param _LicenseChargingMode: license计费模式: 1,租户月付费 2,厂商月付费 3,license永久授权
|
|
4582
|
+
注:设备为租户付费且未激活(未选择月付还是永久付费)时,此参数返回1,仅代表租户付费。后续将废弃此参数,新接入请使用LicensePayMode和Payer
|
|
4318
4583
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4319
4584
|
:type LicenseChargingMode: int
|
|
4320
4585
|
:param _LastOnlineTime: 最后在线时间
|
|
4321
4586
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4322
4587
|
:type LastOnlineTime: str
|
|
4588
|
+
:param _LicensePayMode: license授权有效期
|
|
4589
|
+
0:月度授权
|
|
4590
|
+
1:永久授权
|
|
4591
|
+
-1:未知
|
|
4592
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4593
|
+
:type LicensePayMode: int
|
|
4594
|
+
:param _Payer: 付费方
|
|
4595
|
+
0:客户付费
|
|
4596
|
+
1:厂商付费
|
|
4597
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4598
|
+
:type Payer: int
|
|
4323
4599
|
"""
|
|
4324
4600
|
self._HardwareId = None
|
|
4325
4601
|
self._SN = None
|
|
@@ -4330,6 +4606,8 @@ class VendorHardware(AbstractModel):
|
|
|
4330
4606
|
self._DeviceId = None
|
|
4331
4607
|
self._LicenseChargingMode = None
|
|
4332
4608
|
self._LastOnlineTime = None
|
|
4609
|
+
self._LicensePayMode = None
|
|
4610
|
+
self._Payer = None
|
|
4333
4611
|
|
|
4334
4612
|
@property
|
|
4335
4613
|
def HardwareId(self):
|
|
@@ -4403,6 +4681,22 @@ class VendorHardware(AbstractModel):
|
|
|
4403
4681
|
def LastOnlineTime(self, LastOnlineTime):
|
|
4404
4682
|
self._LastOnlineTime = LastOnlineTime
|
|
4405
4683
|
|
|
4684
|
+
@property
|
|
4685
|
+
def LicensePayMode(self):
|
|
4686
|
+
return self._LicensePayMode
|
|
4687
|
+
|
|
4688
|
+
@LicensePayMode.setter
|
|
4689
|
+
def LicensePayMode(self, LicensePayMode):
|
|
4690
|
+
self._LicensePayMode = LicensePayMode
|
|
4691
|
+
|
|
4692
|
+
@property
|
|
4693
|
+
def Payer(self):
|
|
4694
|
+
return self._Payer
|
|
4695
|
+
|
|
4696
|
+
@Payer.setter
|
|
4697
|
+
def Payer(self, Payer):
|
|
4698
|
+
self._Payer = Payer
|
|
4699
|
+
|
|
4406
4700
|
|
|
4407
4701
|
def _deserialize(self, params):
|
|
4408
4702
|
self._HardwareId = params.get("HardwareId")
|
|
@@ -4414,6 +4708,8 @@ class VendorHardware(AbstractModel):
|
|
|
4414
4708
|
self._DeviceId = params.get("DeviceId")
|
|
4415
4709
|
self._LicenseChargingMode = params.get("LicenseChargingMode")
|
|
4416
4710
|
self._LastOnlineTime = params.get("LastOnlineTime")
|
|
4711
|
+
self._LicensePayMode = params.get("LicensePayMode")
|
|
4712
|
+
self._Payer = params.get("Payer")
|
|
4417
4713
|
memeber_set = set(params.keys())
|
|
4418
4714
|
for name, value in vars(self).items():
|
|
4419
4715
|
property_name = name[1:]
|
|
@@ -28788,88 +28788,6 @@ class RunPrometheusInstanceResponse(AbstractModel):
|
|
|
28788
28788
|
self._RequestId = params.get("RequestId")
|
|
28789
28789
|
|
|
28790
28790
|
|
|
28791
|
-
class SendCustomAlarmMsgRequest(AbstractModel):
|
|
28792
|
-
"""SendCustomAlarmMsg请求参数结构体
|
|
28793
|
-
|
|
28794
|
-
"""
|
|
28795
|
-
|
|
28796
|
-
def __init__(self):
|
|
28797
|
-
r"""
|
|
28798
|
-
:param _Module: 接口模块名,当前取值monitor
|
|
28799
|
-
:type Module: str
|
|
28800
|
-
:param _PolicyId: 消息策略ID,在自定义消息页面配置
|
|
28801
|
-
:type PolicyId: str
|
|
28802
|
-
:param _Msg: 用户想要发送的自定义消息内容
|
|
28803
|
-
:type Msg: str
|
|
28804
|
-
"""
|
|
28805
|
-
self._Module = None
|
|
28806
|
-
self._PolicyId = None
|
|
28807
|
-
self._Msg = None
|
|
28808
|
-
|
|
28809
|
-
@property
|
|
28810
|
-
def Module(self):
|
|
28811
|
-
return self._Module
|
|
28812
|
-
|
|
28813
|
-
@Module.setter
|
|
28814
|
-
def Module(self, Module):
|
|
28815
|
-
self._Module = Module
|
|
28816
|
-
|
|
28817
|
-
@property
|
|
28818
|
-
def PolicyId(self):
|
|
28819
|
-
return self._PolicyId
|
|
28820
|
-
|
|
28821
|
-
@PolicyId.setter
|
|
28822
|
-
def PolicyId(self, PolicyId):
|
|
28823
|
-
self._PolicyId = PolicyId
|
|
28824
|
-
|
|
28825
|
-
@property
|
|
28826
|
-
def Msg(self):
|
|
28827
|
-
return self._Msg
|
|
28828
|
-
|
|
28829
|
-
@Msg.setter
|
|
28830
|
-
def Msg(self, Msg):
|
|
28831
|
-
self._Msg = Msg
|
|
28832
|
-
|
|
28833
|
-
|
|
28834
|
-
def _deserialize(self, params):
|
|
28835
|
-
self._Module = params.get("Module")
|
|
28836
|
-
self._PolicyId = params.get("PolicyId")
|
|
28837
|
-
self._Msg = params.get("Msg")
|
|
28838
|
-
memeber_set = set(params.keys())
|
|
28839
|
-
for name, value in vars(self).items():
|
|
28840
|
-
property_name = name[1:]
|
|
28841
|
-
if property_name in memeber_set:
|
|
28842
|
-
memeber_set.remove(property_name)
|
|
28843
|
-
if len(memeber_set) > 0:
|
|
28844
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28845
|
-
|
|
28846
|
-
|
|
28847
|
-
|
|
28848
|
-
class SendCustomAlarmMsgResponse(AbstractModel):
|
|
28849
|
-
"""SendCustomAlarmMsg返回参数结构体
|
|
28850
|
-
|
|
28851
|
-
"""
|
|
28852
|
-
|
|
28853
|
-
def __init__(self):
|
|
28854
|
-
r"""
|
|
28855
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
28856
|
-
:type RequestId: str
|
|
28857
|
-
"""
|
|
28858
|
-
self._RequestId = None
|
|
28859
|
-
|
|
28860
|
-
@property
|
|
28861
|
-
def RequestId(self):
|
|
28862
|
-
return self._RequestId
|
|
28863
|
-
|
|
28864
|
-
@RequestId.setter
|
|
28865
|
-
def RequestId(self, RequestId):
|
|
28866
|
-
self._RequestId = RequestId
|
|
28867
|
-
|
|
28868
|
-
|
|
28869
|
-
def _deserialize(self, params):
|
|
28870
|
-
self._RequestId = params.get("RequestId")
|
|
28871
|
-
|
|
28872
|
-
|
|
28873
28791
|
class ServiceDiscoveryItem(AbstractModel):
|
|
28874
28792
|
"""Prometheus 服务发现信息
|
|
28875
28793
|
|