tencentcloud-sdk-python 3.0.1357__py2.py3-none-any.whl → 3.0.1359__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/bh/v20230418/bh_client.py +115 -0
- tencentcloud/bh/v20230418/errorcodes.py +15 -0
- tencentcloud/bh/v20230418/models.py +854 -28
- tencentcloud/bpaas/v20181217/models.py +0 -54
- tencentcloud/ccc/v20200210/ccc_client.py +69 -0
- tencentcloud/ccc/v20200210/models.py +559 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +15 -0
- tencentcloud/chc/v20230418/chc_client.py +23 -0
- tencentcloud/chc/v20230418/models.py +185 -2
- tencentcloud/clb/v20180317/models.py +17 -0
- tencentcloud/cls/v20201016/cls_client.py +23 -0
- tencentcloud/cls/v20201016/models.py +79 -0
- tencentcloud/cwp/v20180228/cwp_client.py +1 -1
- tencentcloud/cwp/v20180228/models.py +4 -4
- tencentcloud/es/v20180416/models.py +57 -6
- tencentcloud/es/v20250101/__init__.py +0 -0
- tencentcloud/es/v20250101/errorcodes.py +45 -0
- tencentcloud/es/v20250101/es_client.py +228 -0
- tencentcloud/es/v20250101/models.py +2168 -0
- tencentcloud/ess/v20201111/ess_client.py +34 -0
- tencentcloud/ess/v20201111/models.py +137 -2
- tencentcloud/essbasic/v20210526/essbasic_client.py +33 -0
- tencentcloud/essbasic/v20210526/models.py +120 -0
- tencentcloud/hunyuan/v20230901/errorcodes.py +27 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +46 -0
- tencentcloud/hunyuan/v20230901/models.py +345 -0
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/live/v20180801/models.py +2 -14
- tencentcloud/lke/v20231130/models.py +232 -2
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -3
- tencentcloud/monitor/v20180724/errorcodes.py +3 -0
- tencentcloud/monitor/v20180724/models.py +34 -0
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +38 -20
- tencentcloud/ocr/v20181119/models.py +2 -2
- tencentcloud/sts/v20180813/errorcodes.py +9 -0
- tencentcloud/sts/v20180813/models.py +171 -0
- tencentcloud/sts/v20180813/sts_client.py +23 -0
- tencentcloud/tcr/v20190924/models.py +10 -6
- tencentcloud/tdmq/v20200217/models.py +68 -0
- tencentcloud/tione/v20211111/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/models.py +384 -0
- tencentcloud/tione/v20211111/tione_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +4 -10
- tencentcloud/trtc/v20190722/trtc_client.py +4 -0
- tencentcloud/tse/v20201207/models.py +0 -298
- tencentcloud/tsf/v20180326/models.py +6 -110
- tencentcloud/tsf/v20180326/tsf_client.py +3 -1
- tencentcloud/waf/v20180125/models.py +473 -0
- tencentcloud/waf/v20180125/waf_client.py +69 -0
- {tencentcloud_sdk_python-3.0.1357.dist-info → tencentcloud_sdk_python-3.0.1359.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1357.dist-info → tencentcloud_sdk_python-3.0.1359.dist-info}/RECORD +57 -53
- {tencentcloud_sdk_python-3.0.1357.dist-info → tencentcloud_sdk_python-3.0.1359.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1357.dist-info → tencentcloud_sdk_python-3.0.1359.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1357.dist-info → tencentcloud_sdk_python-3.0.1359.dist-info}/top_level.txt +0 -0
@@ -1384,7 +1384,7 @@ class CreateQuitWorkOrderRequest(AbstractModel):
|
|
1384
1384
|
:type IdcId: int
|
1385
1385
|
:param _DeviceType: 设备类型,server, netDevice, otherDevice
|
1386
1386
|
:type DeviceType: str
|
1387
|
-
:param _StuffOption: 下架选择 1.自行解决 2.由腾讯IDC负责
|
1387
|
+
:param _StuffOption: 下架选择 1.自行解决 2.由腾讯IDC负责
|
1388
1388
|
:type StuffOption: str
|
1389
1389
|
:param _IsPowerOffConfirm: 关电确认 1.授权时关电 2.关电前需要确认
|
1390
1390
|
:type IsPowerOffConfirm: str
|
@@ -1439,7 +1439,7 @@ class CreateQuitWorkOrderRequest(AbstractModel):
|
|
1439
1439
|
|
1440
1440
|
@property
|
1441
1441
|
def StuffOption(self):
|
1442
|
-
"""下架选择 1.自行解决 2.由腾讯IDC负责
|
1442
|
+
"""下架选择 1.自行解决 2.由腾讯IDC负责
|
1443
1443
|
:rtype: str
|
1444
1444
|
"""
|
1445
1445
|
return self._StuffOption
|
@@ -2326,6 +2326,189 @@ class CreateServerModelResponse(AbstractModel):
|
|
2326
2326
|
self._RequestId = params.get("RequestId")
|
2327
2327
|
|
2328
2328
|
|
2329
|
+
class CreateSpeciallyQuitWorkOrderRequest(AbstractModel):
|
2330
|
+
"""CreateSpeciallyQuitWorkOrder请求参数结构体
|
2331
|
+
|
2332
|
+
"""
|
2333
|
+
|
2334
|
+
def __init__(self):
|
2335
|
+
r"""
|
2336
|
+
:param _IdcId: 机房id
|
2337
|
+
:type IdcId: int
|
2338
|
+
:param _DeviceType: 设备类型:otherDevice。此接口只支持其他设备
|
2339
|
+
:type DeviceType: str
|
2340
|
+
:param _HandoverMethod: 交接方式 1.物流上门收货 2.客户上门自提
|
2341
|
+
:type HandoverMethod: str
|
2342
|
+
:param _LogisticsReceipt: 物流上门收货必传
|
2343
|
+
:type LogisticsReceipt: :class:`tencentcloud.chc.v20230418.models.LogisticsReceipt`
|
2344
|
+
:param _CustomerReceipt: 客户上门自提必传
|
2345
|
+
:type CustomerReceipt: :class:`tencentcloud.chc.v20230418.models.CustomerReceipt`
|
2346
|
+
:param _Remark: 备注信息
|
2347
|
+
:type Remark: str
|
2348
|
+
:param _OtherDeviceList: 当设备类型为otherDevice,此参数必传
|
2349
|
+
:type OtherDeviceList: list of OtherDevReceivingInfo
|
2350
|
+
"""
|
2351
|
+
self._IdcId = None
|
2352
|
+
self._DeviceType = None
|
2353
|
+
self._HandoverMethod = None
|
2354
|
+
self._LogisticsReceipt = None
|
2355
|
+
self._CustomerReceipt = None
|
2356
|
+
self._Remark = None
|
2357
|
+
self._OtherDeviceList = None
|
2358
|
+
|
2359
|
+
@property
|
2360
|
+
def IdcId(self):
|
2361
|
+
"""机房id
|
2362
|
+
:rtype: int
|
2363
|
+
"""
|
2364
|
+
return self._IdcId
|
2365
|
+
|
2366
|
+
@IdcId.setter
|
2367
|
+
def IdcId(self, IdcId):
|
2368
|
+
self._IdcId = IdcId
|
2369
|
+
|
2370
|
+
@property
|
2371
|
+
def DeviceType(self):
|
2372
|
+
"""设备类型:otherDevice。此接口只支持其他设备
|
2373
|
+
:rtype: str
|
2374
|
+
"""
|
2375
|
+
return self._DeviceType
|
2376
|
+
|
2377
|
+
@DeviceType.setter
|
2378
|
+
def DeviceType(self, DeviceType):
|
2379
|
+
self._DeviceType = DeviceType
|
2380
|
+
|
2381
|
+
@property
|
2382
|
+
def HandoverMethod(self):
|
2383
|
+
"""交接方式 1.物流上门收货 2.客户上门自提
|
2384
|
+
:rtype: str
|
2385
|
+
"""
|
2386
|
+
return self._HandoverMethod
|
2387
|
+
|
2388
|
+
@HandoverMethod.setter
|
2389
|
+
def HandoverMethod(self, HandoverMethod):
|
2390
|
+
self._HandoverMethod = HandoverMethod
|
2391
|
+
|
2392
|
+
@property
|
2393
|
+
def LogisticsReceipt(self):
|
2394
|
+
"""物流上门收货必传
|
2395
|
+
:rtype: :class:`tencentcloud.chc.v20230418.models.LogisticsReceipt`
|
2396
|
+
"""
|
2397
|
+
return self._LogisticsReceipt
|
2398
|
+
|
2399
|
+
@LogisticsReceipt.setter
|
2400
|
+
def LogisticsReceipt(self, LogisticsReceipt):
|
2401
|
+
self._LogisticsReceipt = LogisticsReceipt
|
2402
|
+
|
2403
|
+
@property
|
2404
|
+
def CustomerReceipt(self):
|
2405
|
+
"""客户上门自提必传
|
2406
|
+
:rtype: :class:`tencentcloud.chc.v20230418.models.CustomerReceipt`
|
2407
|
+
"""
|
2408
|
+
return self._CustomerReceipt
|
2409
|
+
|
2410
|
+
@CustomerReceipt.setter
|
2411
|
+
def CustomerReceipt(self, CustomerReceipt):
|
2412
|
+
self._CustomerReceipt = CustomerReceipt
|
2413
|
+
|
2414
|
+
@property
|
2415
|
+
def Remark(self):
|
2416
|
+
"""备注信息
|
2417
|
+
:rtype: str
|
2418
|
+
"""
|
2419
|
+
return self._Remark
|
2420
|
+
|
2421
|
+
@Remark.setter
|
2422
|
+
def Remark(self, Remark):
|
2423
|
+
self._Remark = Remark
|
2424
|
+
|
2425
|
+
@property
|
2426
|
+
def OtherDeviceList(self):
|
2427
|
+
"""当设备类型为otherDevice,此参数必传
|
2428
|
+
:rtype: list of OtherDevReceivingInfo
|
2429
|
+
"""
|
2430
|
+
return self._OtherDeviceList
|
2431
|
+
|
2432
|
+
@OtherDeviceList.setter
|
2433
|
+
def OtherDeviceList(self, OtherDeviceList):
|
2434
|
+
self._OtherDeviceList = OtherDeviceList
|
2435
|
+
|
2436
|
+
|
2437
|
+
def _deserialize(self, params):
|
2438
|
+
self._IdcId = params.get("IdcId")
|
2439
|
+
self._DeviceType = params.get("DeviceType")
|
2440
|
+
self._HandoverMethod = params.get("HandoverMethod")
|
2441
|
+
if params.get("LogisticsReceipt") is not None:
|
2442
|
+
self._LogisticsReceipt = LogisticsReceipt()
|
2443
|
+
self._LogisticsReceipt._deserialize(params.get("LogisticsReceipt"))
|
2444
|
+
if params.get("CustomerReceipt") is not None:
|
2445
|
+
self._CustomerReceipt = CustomerReceipt()
|
2446
|
+
self._CustomerReceipt._deserialize(params.get("CustomerReceipt"))
|
2447
|
+
self._Remark = params.get("Remark")
|
2448
|
+
if params.get("OtherDeviceList") is not None:
|
2449
|
+
self._OtherDeviceList = []
|
2450
|
+
for item in params.get("OtherDeviceList"):
|
2451
|
+
obj = OtherDevReceivingInfo()
|
2452
|
+
obj._deserialize(item)
|
2453
|
+
self._OtherDeviceList.append(obj)
|
2454
|
+
memeber_set = set(params.keys())
|
2455
|
+
for name, value in vars(self).items():
|
2456
|
+
property_name = name[1:]
|
2457
|
+
if property_name in memeber_set:
|
2458
|
+
memeber_set.remove(property_name)
|
2459
|
+
if len(memeber_set) > 0:
|
2460
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2461
|
+
|
2462
|
+
|
2463
|
+
|
2464
|
+
class CreateSpeciallyQuitWorkOrderResponse(AbstractModel):
|
2465
|
+
"""CreateSpeciallyQuitWorkOrder返回参数结构体
|
2466
|
+
|
2467
|
+
"""
|
2468
|
+
|
2469
|
+
def __init__(self):
|
2470
|
+
r"""
|
2471
|
+
:param _WorkOrderSet: 创建的工单信息
|
2472
|
+
:type WorkOrderSet: list of WorkOrderTinyInfo
|
2473
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2474
|
+
:type RequestId: str
|
2475
|
+
"""
|
2476
|
+
self._WorkOrderSet = None
|
2477
|
+
self._RequestId = None
|
2478
|
+
|
2479
|
+
@property
|
2480
|
+
def WorkOrderSet(self):
|
2481
|
+
"""创建的工单信息
|
2482
|
+
:rtype: list of WorkOrderTinyInfo
|
2483
|
+
"""
|
2484
|
+
return self._WorkOrderSet
|
2485
|
+
|
2486
|
+
@WorkOrderSet.setter
|
2487
|
+
def WorkOrderSet(self, WorkOrderSet):
|
2488
|
+
self._WorkOrderSet = WorkOrderSet
|
2489
|
+
|
2490
|
+
@property
|
2491
|
+
def RequestId(self):
|
2492
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2493
|
+
:rtype: str
|
2494
|
+
"""
|
2495
|
+
return self._RequestId
|
2496
|
+
|
2497
|
+
@RequestId.setter
|
2498
|
+
def RequestId(self, RequestId):
|
2499
|
+
self._RequestId = RequestId
|
2500
|
+
|
2501
|
+
|
2502
|
+
def _deserialize(self, params):
|
2503
|
+
if params.get("WorkOrderSet") is not None:
|
2504
|
+
self._WorkOrderSet = []
|
2505
|
+
for item in params.get("WorkOrderSet"):
|
2506
|
+
obj = WorkOrderTinyInfo()
|
2507
|
+
obj._deserialize(item)
|
2508
|
+
self._WorkOrderSet.append(obj)
|
2509
|
+
self._RequestId = params.get("RequestId")
|
2510
|
+
|
2511
|
+
|
2329
2512
|
class CustomerInfo(AbstractModel):
|
2330
2513
|
"""客户信息
|
2331
2514
|
|
@@ -21872,9 +21872,13 @@ class TargetRegionInfo(AbstractModel):
|
|
21872
21872
|
:type Region: str
|
21873
21873
|
:param _VpcId: Target所属网络,私有网络格式如 vpc-abcd1234,如果是基础网络,则为"0"
|
21874
21874
|
:type VpcId: str
|
21875
|
+
:param _NumericalVpcId: Target所属网络,私有网络格式如86323,如果是基础网络,则为0
|
21876
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
21877
|
+
:type NumericalVpcId: int
|
21875
21878
|
"""
|
21876
21879
|
self._Region = None
|
21877
21880
|
self._VpcId = None
|
21881
|
+
self._NumericalVpcId = None
|
21878
21882
|
|
21879
21883
|
@property
|
21880
21884
|
def Region(self):
|
@@ -21898,10 +21902,23 @@ class TargetRegionInfo(AbstractModel):
|
|
21898
21902
|
def VpcId(self, VpcId):
|
21899
21903
|
self._VpcId = VpcId
|
21900
21904
|
|
21905
|
+
@property
|
21906
|
+
def NumericalVpcId(self):
|
21907
|
+
"""Target所属网络,私有网络格式如86323,如果是基础网络,则为0
|
21908
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
21909
|
+
:rtype: int
|
21910
|
+
"""
|
21911
|
+
return self._NumericalVpcId
|
21912
|
+
|
21913
|
+
@NumericalVpcId.setter
|
21914
|
+
def NumericalVpcId(self, NumericalVpcId):
|
21915
|
+
self._NumericalVpcId = NumericalVpcId
|
21916
|
+
|
21901
21917
|
|
21902
21918
|
def _deserialize(self, params):
|
21903
21919
|
self._Region = params.get("Region")
|
21904
21920
|
self._VpcId = params.get("VpcId")
|
21921
|
+
self._NumericalVpcId = params.get("NumericalVpcId")
|
21905
21922
|
memeber_set = set(params.keys())
|
21906
21923
|
for name, value in vars(self).items():
|
21907
21924
|
property_name = name[1:]
|
@@ -861,6 +861,29 @@ class ClsClient(AbstractClient):
|
|
861
861
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
862
862
|
|
863
863
|
|
864
|
+
def DeleteCosRecharge(self, request):
|
865
|
+
"""本接口用于删除cos导入任务
|
866
|
+
|
867
|
+
:param request: Request instance for DeleteCosRecharge.
|
868
|
+
:type request: :class:`tencentcloud.cls.v20201016.models.DeleteCosRechargeRequest`
|
869
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.DeleteCosRechargeResponse`
|
870
|
+
|
871
|
+
"""
|
872
|
+
try:
|
873
|
+
params = request._serialize()
|
874
|
+
headers = request.headers
|
875
|
+
body = self.call("DeleteCosRecharge", params, headers=headers)
|
876
|
+
response = json.loads(body)
|
877
|
+
model = models.DeleteCosRechargeResponse()
|
878
|
+
model._deserialize(response["Response"])
|
879
|
+
return model
|
880
|
+
except Exception as e:
|
881
|
+
if isinstance(e, TencentCloudSDKException):
|
882
|
+
raise
|
883
|
+
else:
|
884
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
885
|
+
|
886
|
+
|
864
887
|
def DeleteDashboardSubscribe(self, request):
|
865
888
|
"""此接口用于删除仪表盘订阅
|
866
889
|
|
@@ -11154,6 +11154,85 @@ class DeleteConsumerResponse(AbstractModel):
|
|
11154
11154
|
self._RequestId = params.get("RequestId")
|
11155
11155
|
|
11156
11156
|
|
11157
|
+
class DeleteCosRechargeRequest(AbstractModel):
|
11158
|
+
"""DeleteCosRecharge请求参数结构体
|
11159
|
+
|
11160
|
+
"""
|
11161
|
+
|
11162
|
+
def __init__(self):
|
11163
|
+
r"""
|
11164
|
+
:param _Id: COS导入配置Id
|
11165
|
+
:type Id: str
|
11166
|
+
:param _TopicId: 日志主题Id
|
11167
|
+
:type TopicId: str
|
11168
|
+
"""
|
11169
|
+
self._Id = None
|
11170
|
+
self._TopicId = None
|
11171
|
+
|
11172
|
+
@property
|
11173
|
+
def Id(self):
|
11174
|
+
"""COS导入配置Id
|
11175
|
+
:rtype: str
|
11176
|
+
"""
|
11177
|
+
return self._Id
|
11178
|
+
|
11179
|
+
@Id.setter
|
11180
|
+
def Id(self, Id):
|
11181
|
+
self._Id = Id
|
11182
|
+
|
11183
|
+
@property
|
11184
|
+
def TopicId(self):
|
11185
|
+
"""日志主题Id
|
11186
|
+
:rtype: str
|
11187
|
+
"""
|
11188
|
+
return self._TopicId
|
11189
|
+
|
11190
|
+
@TopicId.setter
|
11191
|
+
def TopicId(self, TopicId):
|
11192
|
+
self._TopicId = TopicId
|
11193
|
+
|
11194
|
+
|
11195
|
+
def _deserialize(self, params):
|
11196
|
+
self._Id = params.get("Id")
|
11197
|
+
self._TopicId = params.get("TopicId")
|
11198
|
+
memeber_set = set(params.keys())
|
11199
|
+
for name, value in vars(self).items():
|
11200
|
+
property_name = name[1:]
|
11201
|
+
if property_name in memeber_set:
|
11202
|
+
memeber_set.remove(property_name)
|
11203
|
+
if len(memeber_set) > 0:
|
11204
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
11205
|
+
|
11206
|
+
|
11207
|
+
|
11208
|
+
class DeleteCosRechargeResponse(AbstractModel):
|
11209
|
+
"""DeleteCosRecharge返回参数结构体
|
11210
|
+
|
11211
|
+
"""
|
11212
|
+
|
11213
|
+
def __init__(self):
|
11214
|
+
r"""
|
11215
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11216
|
+
:type RequestId: str
|
11217
|
+
"""
|
11218
|
+
self._RequestId = None
|
11219
|
+
|
11220
|
+
@property
|
11221
|
+
def RequestId(self):
|
11222
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11223
|
+
:rtype: str
|
11224
|
+
"""
|
11225
|
+
return self._RequestId
|
11226
|
+
|
11227
|
+
@RequestId.setter
|
11228
|
+
def RequestId(self, RequestId):
|
11229
|
+
self._RequestId = RequestId
|
11230
|
+
|
11231
|
+
|
11232
|
+
def _deserialize(self, params):
|
11233
|
+
self._RequestId = params.get("RequestId")
|
11234
|
+
|
11235
|
+
|
11157
11236
|
class DeleteDashboardSubscribeRequest(AbstractModel):
|
11158
11237
|
"""DeleteDashboardSubscribe请求参数结构体
|
11159
11238
|
|
@@ -4400,7 +4400,7 @@ class CwpClient(AbstractClient):
|
|
4400
4400
|
|
4401
4401
|
|
4402
4402
|
def DescribeHostLoginList(self, request):
|
4403
|
-
"""
|
4403
|
+
"""获取异常登录列表
|
4404
4404
|
|
4405
4405
|
:param request: Request instance for DescribeHostLoginList.
|
4406
4406
|
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeHostLoginListRequest`
|
@@ -39376,7 +39376,7 @@ class DescribeHostLoginListRequest(AbstractModel):
|
|
39376
39376
|
:type Limit: int
|
39377
39377
|
:param _Offset: 偏移量,默认为0。
|
39378
39378
|
:type Offset: int
|
39379
|
-
:param _Filters: 过滤条件。<li>Quuid - String - 是否必填:否 - 云服务器uuid</li><li>Uuid - String - 是否必填:否 - 主机安全唯一Uuid</li><li>MachineName - String - 是否必填:否 - 主机别名</li><li>Ip - String - 是否必填:否 - 主机ip</li><li>InstanceID - String - 是否必填:否 - 主机实例ID</li><li>SrcIp - String - 是否必填:否 - 来源ip筛选</li><li>UserName - String - 是否必填:否 - 用户名筛选</li><li>Status - string - 是否必填:否 -
|
39379
|
+
:param _Filters: 过滤条件。<li>Quuid - String - 是否必填:否 - 云服务器uuid</li><li>Uuid - String - 是否必填:否 - 主机安全唯一Uuid</li><li>MachineName - String - 是否必填:否 - 主机别名</li><li>Ip - String - 是否必填:否 - 主机ip</li><li>InstanceID - String - 是否必填:否 - 主机实例ID</li><li>SrcIp - String - 是否必填:否 - 来源ip筛选</li><li>UserName - String - 是否必填:否 - 用户名筛选</li><li>Status - string - 是否必填:否 - 状态筛选:2:待处理;5:已加白,14:已处理,15:已忽略</li><li>LoginTimeBegin - String - 是否必填:否 - 按照修改时间段筛选,开始时间</li><li>LoginTimeEnd - String - 是否必填:否 - 按照修改时间段筛选,结束时间</li><li>RiskLevel - string - 是否必填:否 - 状态筛选0:高危;1:可疑</li>
|
39380
39380
|
:type Filters: list of Filter
|
39381
39381
|
:param _Order: 排序方式:根据请求次数排序:asc-升序/desc-降序
|
39382
39382
|
:type Order: str
|
@@ -39413,7 +39413,7 @@ class DescribeHostLoginListRequest(AbstractModel):
|
|
39413
39413
|
|
39414
39414
|
@property
|
39415
39415
|
def Filters(self):
|
39416
|
-
"""过滤条件。<li>Quuid - String - 是否必填:否 - 云服务器uuid</li><li>Uuid - String - 是否必填:否 - 主机安全唯一Uuid</li><li>MachineName - String - 是否必填:否 - 主机别名</li><li>Ip - String - 是否必填:否 - 主机ip</li><li>InstanceID - String - 是否必填:否 - 主机实例ID</li><li>SrcIp - String - 是否必填:否 - 来源ip筛选</li><li>UserName - String - 是否必填:否 - 用户名筛选</li><li>Status - string - 是否必填:否 -
|
39416
|
+
"""过滤条件。<li>Quuid - String - 是否必填:否 - 云服务器uuid</li><li>Uuid - String - 是否必填:否 - 主机安全唯一Uuid</li><li>MachineName - String - 是否必填:否 - 主机别名</li><li>Ip - String - 是否必填:否 - 主机ip</li><li>InstanceID - String - 是否必填:否 - 主机实例ID</li><li>SrcIp - String - 是否必填:否 - 来源ip筛选</li><li>UserName - String - 是否必填:否 - 用户名筛选</li><li>Status - string - 是否必填:否 - 状态筛选:2:待处理;5:已加白,14:已处理,15:已忽略</li><li>LoginTimeBegin - String - 是否必填:否 - 按照修改时间段筛选,开始时间</li><li>LoginTimeEnd - String - 是否必填:否 - 按照修改时间段筛选,结束时间</li><li>RiskLevel - string - 是否必填:否 - 状态筛选0:高危;1:可疑</li>
|
39417
39417
|
:rtype: list of Filter
|
39418
39418
|
"""
|
39419
39419
|
return self._Filters
|
@@ -39475,7 +39475,7 @@ class DescribeHostLoginListResponse(AbstractModel):
|
|
39475
39475
|
r"""
|
39476
39476
|
:param _TotalCount: 总数
|
39477
39477
|
:type TotalCount: int
|
39478
|
-
:param _HostLoginList:
|
39478
|
+
:param _HostLoginList: 异常登录列表
|
39479
39479
|
:type HostLoginList: list of HostLoginList
|
39480
39480
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
39481
39481
|
:type RequestId: str
|
@@ -39497,7 +39497,7 @@ class DescribeHostLoginListResponse(AbstractModel):
|
|
39497
39497
|
|
39498
39498
|
@property
|
39499
39499
|
def HostLoginList(self):
|
39500
|
-
"""
|
39500
|
+
"""异常登录列表
|
39501
39501
|
:rtype: list of HostLoginList
|
39502
39502
|
"""
|
39503
39503
|
return self._HostLoginList
|
@@ -806,7 +806,7 @@ class CosSnapShotInfo(AbstractModel):
|
|
806
806
|
:param _Version: 快照版本
|
807
807
|
注意:此字段可能返回 null,表示取不到有效值。
|
808
808
|
:type Version: str
|
809
|
-
:param _CommonIndexArr:
|
809
|
+
:param _CommonIndexArr: 普通[{"DataStreamName":"ilm-history-5","Is索引信息列表
|
810
810
|
注意:此字段可能返回 null,表示取不到有效值。
|
811
811
|
:type CommonIndexArr: list of CommonIndexInfo
|
812
812
|
:param _DataStreamArr: 自治索引信息列表
|
@@ -883,7 +883,7 @@ class CosSnapShotInfo(AbstractModel):
|
|
883
883
|
|
884
884
|
@property
|
885
885
|
def CommonIndexArr(self):
|
886
|
-
"""
|
886
|
+
"""普通[{"DataStreamName":"ilm-history-5","Is索引信息列表
|
887
887
|
注意:此字段可能返回 null,表示取不到有效值。
|
888
888
|
:rtype: list of CommonIndexInfo
|
889
889
|
"""
|
@@ -13337,6 +13337,12 @@ class LogstashPipelineInfo(AbstractModel):
|
|
13337
13337
|
:param _QueueCheckPointWrites: 管道缓冲队列检查点写入数
|
13338
13338
|
注意:此字段可能返回 null,表示取不到有效值。
|
13339
13339
|
:type QueueCheckPointWrites: int
|
13340
|
+
:param _CreateTime: 创建时间
|
13341
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13342
|
+
:type CreateTime: str
|
13343
|
+
:param _UpdateTime: 更新时间
|
13344
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13345
|
+
:type UpdateTime: str
|
13340
13346
|
"""
|
13341
13347
|
self._PipelineId = None
|
13342
13348
|
self._PipelineDesc = None
|
@@ -13348,6 +13354,8 @@ class LogstashPipelineInfo(AbstractModel):
|
|
13348
13354
|
self._QueueType = None
|
13349
13355
|
self._QueueMaxBytes = None
|
13350
13356
|
self._QueueCheckPointWrites = None
|
13357
|
+
self._CreateTime = None
|
13358
|
+
self._UpdateTime = None
|
13351
13359
|
|
13352
13360
|
@property
|
13353
13361
|
def PipelineId(self):
|
@@ -13467,6 +13475,30 @@ class LogstashPipelineInfo(AbstractModel):
|
|
13467
13475
|
def QueueCheckPointWrites(self, QueueCheckPointWrites):
|
13468
13476
|
self._QueueCheckPointWrites = QueueCheckPointWrites
|
13469
13477
|
|
13478
|
+
@property
|
13479
|
+
def CreateTime(self):
|
13480
|
+
"""创建时间
|
13481
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13482
|
+
:rtype: str
|
13483
|
+
"""
|
13484
|
+
return self._CreateTime
|
13485
|
+
|
13486
|
+
@CreateTime.setter
|
13487
|
+
def CreateTime(self, CreateTime):
|
13488
|
+
self._CreateTime = CreateTime
|
13489
|
+
|
13490
|
+
@property
|
13491
|
+
def UpdateTime(self):
|
13492
|
+
"""更新时间
|
13493
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13494
|
+
:rtype: str
|
13495
|
+
"""
|
13496
|
+
return self._UpdateTime
|
13497
|
+
|
13498
|
+
@UpdateTime.setter
|
13499
|
+
def UpdateTime(self, UpdateTime):
|
13500
|
+
self._UpdateTime = UpdateTime
|
13501
|
+
|
13470
13502
|
|
13471
13503
|
def _deserialize(self, params):
|
13472
13504
|
self._PipelineId = params.get("PipelineId")
|
@@ -13479,6 +13511,8 @@ class LogstashPipelineInfo(AbstractModel):
|
|
13479
13511
|
self._QueueType = params.get("QueueType")
|
13480
13512
|
self._QueueMaxBytes = params.get("QueueMaxBytes")
|
13481
13513
|
self._QueueCheckPointWrites = params.get("QueueCheckPointWrites")
|
13514
|
+
self._CreateTime = params.get("CreateTime")
|
13515
|
+
self._UpdateTime = params.get("UpdateTime")
|
13482
13516
|
memeber_set = set(params.keys())
|
13483
13517
|
for name, value in vars(self).items():
|
13484
13518
|
property_name = name[1:]
|
@@ -16112,7 +16146,7 @@ class ServerlessIndexMetaField(AbstractModel):
|
|
16112
16146
|
:type StorageType: int
|
16113
16147
|
:param _TagList: 标签信息
|
16114
16148
|
:type TagList: list of TagInfo
|
16115
|
-
:param _IndexTraffic:
|
16149
|
+
:param _IndexTraffic: 索引流量,单位byte
|
16116
16150
|
注意:此字段可能返回 null,表示取不到有效值。
|
16117
16151
|
:type IndexTraffic: float
|
16118
16152
|
"""
|
@@ -16353,7 +16387,7 @@ class ServerlessIndexMetaField(AbstractModel):
|
|
16353
16387
|
|
16354
16388
|
@property
|
16355
16389
|
def IndexTraffic(self):
|
16356
|
-
"""
|
16390
|
+
"""索引流量,单位byte
|
16357
16391
|
注意:此字段可能返回 null,表示取不到有效值。
|
16358
16392
|
:rtype: float
|
16359
16393
|
"""
|
@@ -16746,7 +16780,7 @@ class ServerlessSpace(AbstractModel):
|
|
16746
16780
|
:param _ClusterType: 0
|
16747
16781
|
注意:此字段可能返回 null,表示取不到有效值。
|
16748
16782
|
:type ClusterType: int
|
16749
|
-
:param _TagList:
|
16783
|
+
:param _TagList: 空间标签信息
|
16750
16784
|
注意:此字段可能返回 null,表示取不到有效值。
|
16751
16785
|
:type TagList: list of TagInfo
|
16752
16786
|
"""
|
@@ -16996,7 +17030,7 @@ class ServerlessSpace(AbstractModel):
|
|
16996
17030
|
|
16997
17031
|
@property
|
16998
17032
|
def TagList(self):
|
16999
|
-
"""
|
17033
|
+
"""空间标签信息
|
17000
17034
|
注意:此字段可能返回 null,表示取不到有效值。
|
17001
17035
|
:rtype: list of TagInfo
|
17002
17036
|
"""
|
@@ -17295,6 +17329,9 @@ SUCCESS 备份成功
|
|
17295
17329
|
:param _Failures: 备份失败的索引分片和失败原因
|
17296
17330
|
注意:此字段可能返回 null,表示取不到有效值。
|
17297
17331
|
:type Failures: list of Failures
|
17332
|
+
:param _UserBackUp: 是否用户备份
|
17333
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17334
|
+
:type UserBackUp: str
|
17298
17335
|
"""
|
17299
17336
|
self._SnapshotName = None
|
17300
17337
|
self._Uuid = None
|
@@ -17309,6 +17346,7 @@ SUCCESS 备份成功
|
|
17309
17346
|
self._FailedShards = None
|
17310
17347
|
self._SuccessfulShards = None
|
17311
17348
|
self._Failures = None
|
17349
|
+
self._UserBackUp = None
|
17312
17350
|
|
17313
17351
|
@property
|
17314
17352
|
def SnapshotName(self):
|
@@ -17474,6 +17512,18 @@ SUCCESS 备份成功
|
|
17474
17512
|
def Failures(self, Failures):
|
17475
17513
|
self._Failures = Failures
|
17476
17514
|
|
17515
|
+
@property
|
17516
|
+
def UserBackUp(self):
|
17517
|
+
"""是否用户备份
|
17518
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17519
|
+
:rtype: str
|
17520
|
+
"""
|
17521
|
+
return self._UserBackUp
|
17522
|
+
|
17523
|
+
@UserBackUp.setter
|
17524
|
+
def UserBackUp(self, UserBackUp):
|
17525
|
+
self._UserBackUp = UserBackUp
|
17526
|
+
|
17477
17527
|
|
17478
17528
|
def _deserialize(self, params):
|
17479
17529
|
self._SnapshotName = params.get("SnapshotName")
|
@@ -17494,6 +17544,7 @@ SUCCESS 备份成功
|
|
17494
17544
|
obj = Failures()
|
17495
17545
|
obj._deserialize(item)
|
17496
17546
|
self._Failures.append(obj)
|
17547
|
+
self._UserBackUp = params.get("UserBackUp")
|
17497
17548
|
memeber_set = set(params.keys())
|
17498
17549
|
for name, value in vars(self).items():
|
17499
17550
|
property_name = name[1:]
|
File without changes
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
|
17
|
+
# 内部错误。
|
18
|
+
INTERNALERROR = 'InternalError'
|
19
|
+
|
20
|
+
# 参数错误。
|
21
|
+
INVALIDPARAMETER = 'InvalidParameter'
|
22
|
+
|
23
|
+
# 参数取值错误。
|
24
|
+
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
25
|
+
|
26
|
+
# 超过配额限制。
|
27
|
+
LIMITEXCEEDED = 'LimitExceeded'
|
28
|
+
|
29
|
+
# 缺少参数错误。
|
30
|
+
MISSINGPARAMETER = 'MissingParameter'
|
31
|
+
|
32
|
+
# 请求的次数超过了频率限制。
|
33
|
+
REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
|
34
|
+
|
35
|
+
# 资源不存在。
|
36
|
+
RESOURCENOTFOUND = 'ResourceNotFound'
|
37
|
+
|
38
|
+
# 未授权操作。
|
39
|
+
UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|
40
|
+
|
41
|
+
# 未知参数错误。
|
42
|
+
UNKNOWNPARAMETER = 'UnknownParameter'
|
43
|
+
|
44
|
+
# 操作不支持。
|
45
|
+
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|