tencentcloud-sdk-python-bh 3.1.59__tar.gz → 3.1.67__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud_sdk_python_bh-3.1.59 → tencentcloud_sdk_python_bh-3.1.67}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_bh-3.1.59 → tencentcloud_sdk_python_bh-3.1.67}/setup.py +1 -1
- {tencentcloud_sdk_python_bh-3.1.59 → tencentcloud_sdk_python_bh-3.1.67}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_bh-3.1.59 → tencentcloud_sdk_python_bh-3.1.67}/tencentcloud/bh/v20230418/bh_client.py +46 -0
- {tencentcloud_sdk_python_bh-3.1.59 → tencentcloud_sdk_python_bh-3.1.67}/tencentcloud/bh/v20230418/bh_client_async.py +36 -0
- {tencentcloud_sdk_python_bh-3.1.59 → tencentcloud_sdk_python_bh-3.1.67}/tencentcloud/bh/v20230418/models.py +326 -2
- {tencentcloud_sdk_python_bh-3.1.59 → tencentcloud_sdk_python_bh-3.1.67}/tencentcloud_sdk_python_bh.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_bh-3.1.67/tencentcloud_sdk_python_bh.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_bh-3.1.59/tencentcloud_sdk_python_bh.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_bh-3.1.59 → tencentcloud_sdk_python_bh-3.1.67}/README.rst +0 -0
- {tencentcloud_sdk_python_bh-3.1.59 → tencentcloud_sdk_python_bh-3.1.67}/setup.cfg +0 -0
- {tencentcloud_sdk_python_bh-3.1.59 → tencentcloud_sdk_python_bh-3.1.67}/tencentcloud/bh/__init__.py +0 -0
- {tencentcloud_sdk_python_bh-3.1.59 → tencentcloud_sdk_python_bh-3.1.67}/tencentcloud/bh/v20230418/__init__.py +0 -0
- {tencentcloud_sdk_python_bh-3.1.59 → tencentcloud_sdk_python_bh-3.1.67}/tencentcloud/bh/v20230418/errorcodes.py +0 -0
- {tencentcloud_sdk_python_bh-3.1.59 → tencentcloud_sdk_python_bh-3.1.67}/tencentcloud_sdk_python_bh.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_bh-3.1.59 → tencentcloud_sdk_python_bh-3.1.67}/tencentcloud_sdk_python_bh.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_bh-3.1.59 → tencentcloud_sdk_python_bh-3.1.67}/tencentcloud_sdk_python_bh.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-bh
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.67
|
|
4
4
|
Summary: Tencent Cloud Bh SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.67
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-bh',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.67,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Bh SDK for Python',
|
|
@@ -1038,6 +1038,52 @@ class BhClient(AbstractClient):
|
|
|
1038
1038
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1039
1039
|
|
|
1040
1040
|
|
|
1041
|
+
def DescribeDeviceCount(self, request):
|
|
1042
|
+
r"""查询用户导入的主机数
|
|
1043
|
+
|
|
1044
|
+
:param request: Request instance for DescribeDeviceCount.
|
|
1045
|
+
:type request: :class:`tencentcloud.bh.v20230418.models.DescribeDeviceCountRequest`
|
|
1046
|
+
:rtype: :class:`tencentcloud.bh.v20230418.models.DescribeDeviceCountResponse`
|
|
1047
|
+
|
|
1048
|
+
"""
|
|
1049
|
+
try:
|
|
1050
|
+
params = request._serialize()
|
|
1051
|
+
headers = request.headers
|
|
1052
|
+
body = self.call("DescribeDeviceCount", params, headers=headers)
|
|
1053
|
+
response = json.loads(body)
|
|
1054
|
+
model = models.DescribeDeviceCountResponse()
|
|
1055
|
+
model._deserialize(response["Response"])
|
|
1056
|
+
return model
|
|
1057
|
+
except Exception as e:
|
|
1058
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1059
|
+
raise
|
|
1060
|
+
else:
|
|
1061
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
def DescribeDeviceCountSummary(self, request):
|
|
1065
|
+
r"""查询用户导入的主机数
|
|
1066
|
+
|
|
1067
|
+
:param request: Request instance for DescribeDeviceCountSummary.
|
|
1068
|
+
:type request: :class:`tencentcloud.bh.v20230418.models.DescribeDeviceCountSummaryRequest`
|
|
1069
|
+
:rtype: :class:`tencentcloud.bh.v20230418.models.DescribeDeviceCountSummaryResponse`
|
|
1070
|
+
|
|
1071
|
+
"""
|
|
1072
|
+
try:
|
|
1073
|
+
params = request._serialize()
|
|
1074
|
+
headers = request.headers
|
|
1075
|
+
body = self.call("DescribeDeviceCountSummary", params, headers=headers)
|
|
1076
|
+
response = json.loads(body)
|
|
1077
|
+
model = models.DescribeDeviceCountSummaryResponse()
|
|
1078
|
+
model._deserialize(response["Response"])
|
|
1079
|
+
return model
|
|
1080
|
+
except Exception as e:
|
|
1081
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1082
|
+
raise
|
|
1083
|
+
else:
|
|
1084
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1085
|
+
|
|
1086
|
+
|
|
1041
1087
|
def DescribeDeviceGroupMembers(self, request):
|
|
1042
1088
|
r"""查询资产组成员列表
|
|
1043
1089
|
|
|
@@ -817,6 +817,42 @@ class BhClient(AbstractClient):
|
|
|
817
817
|
|
|
818
818
|
return await self.call_and_deserialize(**kwargs)
|
|
819
819
|
|
|
820
|
+
async def DescribeDeviceCount(
|
|
821
|
+
self,
|
|
822
|
+
request: models.DescribeDeviceCountRequest,
|
|
823
|
+
opts: Dict = None,
|
|
824
|
+
) -> models.DescribeDeviceCountResponse:
|
|
825
|
+
"""
|
|
826
|
+
查询用户导入的主机数
|
|
827
|
+
"""
|
|
828
|
+
|
|
829
|
+
kwargs = {}
|
|
830
|
+
kwargs["action"] = "DescribeDeviceCount"
|
|
831
|
+
kwargs["params"] = request._serialize()
|
|
832
|
+
kwargs["resp_cls"] = models.DescribeDeviceCountResponse
|
|
833
|
+
kwargs["headers"] = request.headers
|
|
834
|
+
kwargs["opts"] = opts or {}
|
|
835
|
+
|
|
836
|
+
return await self.call_and_deserialize(**kwargs)
|
|
837
|
+
|
|
838
|
+
async def DescribeDeviceCountSummary(
|
|
839
|
+
self,
|
|
840
|
+
request: models.DescribeDeviceCountSummaryRequest,
|
|
841
|
+
opts: Dict = None,
|
|
842
|
+
) -> models.DescribeDeviceCountSummaryResponse:
|
|
843
|
+
"""
|
|
844
|
+
查询用户导入的主机数
|
|
845
|
+
"""
|
|
846
|
+
|
|
847
|
+
kwargs = {}
|
|
848
|
+
kwargs["action"] = "DescribeDeviceCountSummary"
|
|
849
|
+
kwargs["params"] = request._serialize()
|
|
850
|
+
kwargs["resp_cls"] = models.DescribeDeviceCountSummaryResponse
|
|
851
|
+
kwargs["headers"] = request.headers
|
|
852
|
+
kwargs["opts"] = opts or {}
|
|
853
|
+
|
|
854
|
+
return await self.call_and_deserialize(**kwargs)
|
|
855
|
+
|
|
820
856
|
async def DescribeDeviceGroupMembers(
|
|
821
857
|
self,
|
|
822
858
|
request: models.DescribeDeviceGroupMembersRequest,
|
|
@@ -2372,12 +2372,15 @@ class ChangePwdTaskDetail(AbstractModel):
|
|
|
2372
2372
|
:type Device: :class:`tencentcloud.bh.v20230418.models.Device`
|
|
2373
2373
|
:param _Account: 资产账号
|
|
2374
2374
|
:type Account: str
|
|
2375
|
-
:param _LastChangeStatus: 上次改密结果。0-未改密 1-改密成功 2
|
|
2375
|
+
:param _LastChangeStatus: 上次改密结果。0-未改密 1-改密成功 2-改密失败,3-改密中,4-改密超时
|
|
2376
2376
|
:type LastChangeStatus: int
|
|
2377
|
+
:param _TaskStatus: 改密任务状态,0-待执行,1-执行完成,2-执行失败,3-执行中,4-执行超时
|
|
2378
|
+
:type TaskStatus: int
|
|
2377
2379
|
"""
|
|
2378
2380
|
self._Device = None
|
|
2379
2381
|
self._Account = None
|
|
2380
2382
|
self._LastChangeStatus = None
|
|
2383
|
+
self._TaskStatus = None
|
|
2381
2384
|
|
|
2382
2385
|
@property
|
|
2383
2386
|
def Device(self):
|
|
@@ -2403,7 +2406,7 @@ class ChangePwdTaskDetail(AbstractModel):
|
|
|
2403
2406
|
|
|
2404
2407
|
@property
|
|
2405
2408
|
def LastChangeStatus(self):
|
|
2406
|
-
r"""上次改密结果。0-未改密 1-改密成功 2
|
|
2409
|
+
r"""上次改密结果。0-未改密 1-改密成功 2-改密失败,3-改密中,4-改密超时
|
|
2407
2410
|
:rtype: int
|
|
2408
2411
|
"""
|
|
2409
2412
|
return self._LastChangeStatus
|
|
@@ -2412,6 +2415,17 @@ class ChangePwdTaskDetail(AbstractModel):
|
|
|
2412
2415
|
def LastChangeStatus(self, LastChangeStatus):
|
|
2413
2416
|
self._LastChangeStatus = LastChangeStatus
|
|
2414
2417
|
|
|
2418
|
+
@property
|
|
2419
|
+
def TaskStatus(self):
|
|
2420
|
+
r"""改密任务状态,0-待执行,1-执行完成,2-执行失败,3-执行中,4-执行超时
|
|
2421
|
+
:rtype: int
|
|
2422
|
+
"""
|
|
2423
|
+
return self._TaskStatus
|
|
2424
|
+
|
|
2425
|
+
@TaskStatus.setter
|
|
2426
|
+
def TaskStatus(self, TaskStatus):
|
|
2427
|
+
self._TaskStatus = TaskStatus
|
|
2428
|
+
|
|
2415
2429
|
|
|
2416
2430
|
def _deserialize(self, params):
|
|
2417
2431
|
if params.get("Device") is not None:
|
|
@@ -2419,6 +2433,7 @@ class ChangePwdTaskDetail(AbstractModel):
|
|
|
2419
2433
|
self._Device._deserialize(params.get("Device"))
|
|
2420
2434
|
self._Account = params.get("Account")
|
|
2421
2435
|
self._LastChangeStatus = params.get("LastChangeStatus")
|
|
2436
|
+
self._TaskStatus = params.get("TaskStatus")
|
|
2422
2437
|
memeber_set = set(params.keys())
|
|
2423
2438
|
for name, value in vars(self).items():
|
|
2424
2439
|
property_name = name[1:]
|
|
@@ -2480,6 +2495,8 @@ class ChangePwdTaskInfo(AbstractModel):
|
|
|
2480
2495
|
:type NextTime: str
|
|
2481
2496
|
:param _LastTime: 上次执行时间
|
|
2482
2497
|
:type LastTime: str
|
|
2498
|
+
:param _Status: 改密任务状态,0-待执行,1-执行完成,2-执行失败,3-执行中,4-执行超时
|
|
2499
|
+
:type Status: int
|
|
2483
2500
|
"""
|
|
2484
2501
|
self._Id = None
|
|
2485
2502
|
self._OperationId = None
|
|
@@ -2503,6 +2520,7 @@ class ChangePwdTaskInfo(AbstractModel):
|
|
|
2503
2520
|
self._FirstTime = None
|
|
2504
2521
|
self._NextTime = None
|
|
2505
2522
|
self._LastTime = None
|
|
2523
|
+
self._Status = None
|
|
2506
2524
|
|
|
2507
2525
|
@property
|
|
2508
2526
|
def Id(self):
|
|
@@ -2746,6 +2764,17 @@ class ChangePwdTaskInfo(AbstractModel):
|
|
|
2746
2764
|
def LastTime(self, LastTime):
|
|
2747
2765
|
self._LastTime = LastTime
|
|
2748
2766
|
|
|
2767
|
+
@property
|
|
2768
|
+
def Status(self):
|
|
2769
|
+
r"""改密任务状态,0-待执行,1-执行完成,2-执行失败,3-执行中,4-执行超时
|
|
2770
|
+
:rtype: int
|
|
2771
|
+
"""
|
|
2772
|
+
return self._Status
|
|
2773
|
+
|
|
2774
|
+
@Status.setter
|
|
2775
|
+
def Status(self, Status):
|
|
2776
|
+
self._Status = Status
|
|
2777
|
+
|
|
2749
2778
|
|
|
2750
2779
|
def _deserialize(self, params):
|
|
2751
2780
|
self._Id = params.get("Id")
|
|
@@ -2777,6 +2806,7 @@ class ChangePwdTaskInfo(AbstractModel):
|
|
|
2777
2806
|
self._FirstTime = params.get("FirstTime")
|
|
2778
2807
|
self._NextTime = params.get("NextTime")
|
|
2779
2808
|
self._LastTime = params.get("LastTime")
|
|
2809
|
+
self._Status = params.get("Status")
|
|
2780
2810
|
memeber_set = set(params.keys())
|
|
2781
2811
|
for name, value in vars(self).items():
|
|
2782
2812
|
property_name = name[1:]
|
|
@@ -8501,6 +8531,219 @@ class DescribeDeviceAccountsResponse(AbstractModel):
|
|
|
8501
8531
|
self._RequestId = params.get("RequestId")
|
|
8502
8532
|
|
|
8503
8533
|
|
|
8534
|
+
class DescribeDeviceCountRequest(AbstractModel):
|
|
8535
|
+
r"""DescribeDeviceCount请求参数结构体
|
|
8536
|
+
|
|
8537
|
+
"""
|
|
8538
|
+
|
|
8539
|
+
def __init__(self):
|
|
8540
|
+
r"""
|
|
8541
|
+
:param _ApCode: 地域码
|
|
8542
|
+
:type ApCode: str
|
|
8543
|
+
:param _VpcId: 用户VPC实例ID
|
|
8544
|
+
:type VpcId: str
|
|
8545
|
+
:param _ResourceId: 堡垒机服务ID
|
|
8546
|
+
:type ResourceId: str
|
|
8547
|
+
:param _Kind: 资产类型,1-Linux, 2-Windows,3-MySQL,4-SqlServer 不传-全部
|
|
8548
|
+
:type Kind: int
|
|
8549
|
+
:param _BindResource: 是否绑定服务,1-已绑定, 2-未绑定, 不传-全部
|
|
8550
|
+
:type BindResource: int
|
|
8551
|
+
"""
|
|
8552
|
+
self._ApCode = None
|
|
8553
|
+
self._VpcId = None
|
|
8554
|
+
self._ResourceId = None
|
|
8555
|
+
self._Kind = None
|
|
8556
|
+
self._BindResource = None
|
|
8557
|
+
|
|
8558
|
+
@property
|
|
8559
|
+
def ApCode(self):
|
|
8560
|
+
r"""地域码
|
|
8561
|
+
:rtype: str
|
|
8562
|
+
"""
|
|
8563
|
+
return self._ApCode
|
|
8564
|
+
|
|
8565
|
+
@ApCode.setter
|
|
8566
|
+
def ApCode(self, ApCode):
|
|
8567
|
+
self._ApCode = ApCode
|
|
8568
|
+
|
|
8569
|
+
@property
|
|
8570
|
+
def VpcId(self):
|
|
8571
|
+
r"""用户VPC实例ID
|
|
8572
|
+
:rtype: str
|
|
8573
|
+
"""
|
|
8574
|
+
return self._VpcId
|
|
8575
|
+
|
|
8576
|
+
@VpcId.setter
|
|
8577
|
+
def VpcId(self, VpcId):
|
|
8578
|
+
self._VpcId = VpcId
|
|
8579
|
+
|
|
8580
|
+
@property
|
|
8581
|
+
def ResourceId(self):
|
|
8582
|
+
r"""堡垒机服务ID
|
|
8583
|
+
:rtype: str
|
|
8584
|
+
"""
|
|
8585
|
+
return self._ResourceId
|
|
8586
|
+
|
|
8587
|
+
@ResourceId.setter
|
|
8588
|
+
def ResourceId(self, ResourceId):
|
|
8589
|
+
self._ResourceId = ResourceId
|
|
8590
|
+
|
|
8591
|
+
@property
|
|
8592
|
+
def Kind(self):
|
|
8593
|
+
r"""资产类型,1-Linux, 2-Windows,3-MySQL,4-SqlServer 不传-全部
|
|
8594
|
+
:rtype: int
|
|
8595
|
+
"""
|
|
8596
|
+
return self._Kind
|
|
8597
|
+
|
|
8598
|
+
@Kind.setter
|
|
8599
|
+
def Kind(self, Kind):
|
|
8600
|
+
self._Kind = Kind
|
|
8601
|
+
|
|
8602
|
+
@property
|
|
8603
|
+
def BindResource(self):
|
|
8604
|
+
r"""是否绑定服务,1-已绑定, 2-未绑定, 不传-全部
|
|
8605
|
+
:rtype: int
|
|
8606
|
+
"""
|
|
8607
|
+
return self._BindResource
|
|
8608
|
+
|
|
8609
|
+
@BindResource.setter
|
|
8610
|
+
def BindResource(self, BindResource):
|
|
8611
|
+
self._BindResource = BindResource
|
|
8612
|
+
|
|
8613
|
+
|
|
8614
|
+
def _deserialize(self, params):
|
|
8615
|
+
self._ApCode = params.get("ApCode")
|
|
8616
|
+
self._VpcId = params.get("VpcId")
|
|
8617
|
+
self._ResourceId = params.get("ResourceId")
|
|
8618
|
+
self._Kind = params.get("Kind")
|
|
8619
|
+
self._BindResource = params.get("BindResource")
|
|
8620
|
+
memeber_set = set(params.keys())
|
|
8621
|
+
for name, value in vars(self).items():
|
|
8622
|
+
property_name = name[1:]
|
|
8623
|
+
if property_name in memeber_set:
|
|
8624
|
+
memeber_set.remove(property_name)
|
|
8625
|
+
if len(memeber_set) > 0:
|
|
8626
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8627
|
+
|
|
8628
|
+
|
|
8629
|
+
|
|
8630
|
+
class DescribeDeviceCountResponse(AbstractModel):
|
|
8631
|
+
r"""DescribeDeviceCount返回参数结构体
|
|
8632
|
+
|
|
8633
|
+
"""
|
|
8634
|
+
|
|
8635
|
+
def __init__(self):
|
|
8636
|
+
r"""
|
|
8637
|
+
:param _TotalCount: 主机总数
|
|
8638
|
+
:type TotalCount: int
|
|
8639
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8640
|
+
:type RequestId: str
|
|
8641
|
+
"""
|
|
8642
|
+
self._TotalCount = None
|
|
8643
|
+
self._RequestId = None
|
|
8644
|
+
|
|
8645
|
+
@property
|
|
8646
|
+
def TotalCount(self):
|
|
8647
|
+
r"""主机总数
|
|
8648
|
+
:rtype: int
|
|
8649
|
+
"""
|
|
8650
|
+
return self._TotalCount
|
|
8651
|
+
|
|
8652
|
+
@TotalCount.setter
|
|
8653
|
+
def TotalCount(self, TotalCount):
|
|
8654
|
+
self._TotalCount = TotalCount
|
|
8655
|
+
|
|
8656
|
+
@property
|
|
8657
|
+
def RequestId(self):
|
|
8658
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8659
|
+
:rtype: str
|
|
8660
|
+
"""
|
|
8661
|
+
return self._RequestId
|
|
8662
|
+
|
|
8663
|
+
@RequestId.setter
|
|
8664
|
+
def RequestId(self, RequestId):
|
|
8665
|
+
self._RequestId = RequestId
|
|
8666
|
+
|
|
8667
|
+
|
|
8668
|
+
def _deserialize(self, params):
|
|
8669
|
+
self._TotalCount = params.get("TotalCount")
|
|
8670
|
+
self._RequestId = params.get("RequestId")
|
|
8671
|
+
|
|
8672
|
+
|
|
8673
|
+
class DescribeDeviceCountSummaryRequest(AbstractModel):
|
|
8674
|
+
r"""DescribeDeviceCountSummary请求参数结构体
|
|
8675
|
+
|
|
8676
|
+
"""
|
|
8677
|
+
|
|
8678
|
+
|
|
8679
|
+
class DescribeDeviceCountSummaryResponse(AbstractModel):
|
|
8680
|
+
r"""DescribeDeviceCountSummary返回参数结构体
|
|
8681
|
+
|
|
8682
|
+
"""
|
|
8683
|
+
|
|
8684
|
+
def __init__(self):
|
|
8685
|
+
r"""
|
|
8686
|
+
:param _DeviceCountSet: 各种类型的资产总数
|
|
8687
|
+
:type DeviceCountSet: list of DeviceCount
|
|
8688
|
+
:param _AppAssetCountSet: 各种类型应用资产总数
|
|
8689
|
+
:type AppAssetCountSet: list of DeviceCount
|
|
8690
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8691
|
+
:type RequestId: str
|
|
8692
|
+
"""
|
|
8693
|
+
self._DeviceCountSet = None
|
|
8694
|
+
self._AppAssetCountSet = None
|
|
8695
|
+
self._RequestId = None
|
|
8696
|
+
|
|
8697
|
+
@property
|
|
8698
|
+
def DeviceCountSet(self):
|
|
8699
|
+
r"""各种类型的资产总数
|
|
8700
|
+
:rtype: list of DeviceCount
|
|
8701
|
+
"""
|
|
8702
|
+
return self._DeviceCountSet
|
|
8703
|
+
|
|
8704
|
+
@DeviceCountSet.setter
|
|
8705
|
+
def DeviceCountSet(self, DeviceCountSet):
|
|
8706
|
+
self._DeviceCountSet = DeviceCountSet
|
|
8707
|
+
|
|
8708
|
+
@property
|
|
8709
|
+
def AppAssetCountSet(self):
|
|
8710
|
+
r"""各种类型应用资产总数
|
|
8711
|
+
:rtype: list of DeviceCount
|
|
8712
|
+
"""
|
|
8713
|
+
return self._AppAssetCountSet
|
|
8714
|
+
|
|
8715
|
+
@AppAssetCountSet.setter
|
|
8716
|
+
def AppAssetCountSet(self, AppAssetCountSet):
|
|
8717
|
+
self._AppAssetCountSet = AppAssetCountSet
|
|
8718
|
+
|
|
8719
|
+
@property
|
|
8720
|
+
def RequestId(self):
|
|
8721
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8722
|
+
:rtype: str
|
|
8723
|
+
"""
|
|
8724
|
+
return self._RequestId
|
|
8725
|
+
|
|
8726
|
+
@RequestId.setter
|
|
8727
|
+
def RequestId(self, RequestId):
|
|
8728
|
+
self._RequestId = RequestId
|
|
8729
|
+
|
|
8730
|
+
|
|
8731
|
+
def _deserialize(self, params):
|
|
8732
|
+
if params.get("DeviceCountSet") is not None:
|
|
8733
|
+
self._DeviceCountSet = []
|
|
8734
|
+
for item in params.get("DeviceCountSet"):
|
|
8735
|
+
obj = DeviceCount()
|
|
8736
|
+
obj._deserialize(item)
|
|
8737
|
+
self._DeviceCountSet.append(obj)
|
|
8738
|
+
if params.get("AppAssetCountSet") is not None:
|
|
8739
|
+
self._AppAssetCountSet = []
|
|
8740
|
+
for item in params.get("AppAssetCountSet"):
|
|
8741
|
+
obj = DeviceCount()
|
|
8742
|
+
obj._deserialize(item)
|
|
8743
|
+
self._AppAssetCountSet.append(obj)
|
|
8744
|
+
self._RequestId = params.get("RequestId")
|
|
8745
|
+
|
|
8746
|
+
|
|
8504
8747
|
class DescribeDeviceGroupMembersRequest(AbstractModel):
|
|
8505
8748
|
r"""DescribeDeviceGroupMembers请求参数结构体
|
|
8506
8749
|
|
|
@@ -12051,6 +12294,57 @@ class DeviceAccount(AbstractModel):
|
|
|
12051
12294
|
|
|
12052
12295
|
|
|
12053
12296
|
|
|
12297
|
+
class DeviceCount(AbstractModel):
|
|
12298
|
+
r"""资产数目
|
|
12299
|
+
|
|
12300
|
+
"""
|
|
12301
|
+
|
|
12302
|
+
def __init__(self):
|
|
12303
|
+
r"""
|
|
12304
|
+
:param _Kind: 资产类型
|
|
12305
|
+
:type Kind: int
|
|
12306
|
+
:param _Count: 资产数目
|
|
12307
|
+
:type Count: int
|
|
12308
|
+
"""
|
|
12309
|
+
self._Kind = None
|
|
12310
|
+
self._Count = None
|
|
12311
|
+
|
|
12312
|
+
@property
|
|
12313
|
+
def Kind(self):
|
|
12314
|
+
r"""资产类型
|
|
12315
|
+
:rtype: int
|
|
12316
|
+
"""
|
|
12317
|
+
return self._Kind
|
|
12318
|
+
|
|
12319
|
+
@Kind.setter
|
|
12320
|
+
def Kind(self, Kind):
|
|
12321
|
+
self._Kind = Kind
|
|
12322
|
+
|
|
12323
|
+
@property
|
|
12324
|
+
def Count(self):
|
|
12325
|
+
r"""资产数目
|
|
12326
|
+
:rtype: int
|
|
12327
|
+
"""
|
|
12328
|
+
return self._Count
|
|
12329
|
+
|
|
12330
|
+
@Count.setter
|
|
12331
|
+
def Count(self, Count):
|
|
12332
|
+
self._Count = Count
|
|
12333
|
+
|
|
12334
|
+
|
|
12335
|
+
def _deserialize(self, params):
|
|
12336
|
+
self._Kind = params.get("Kind")
|
|
12337
|
+
self._Count = params.get("Count")
|
|
12338
|
+
memeber_set = set(params.keys())
|
|
12339
|
+
for name, value in vars(self).items():
|
|
12340
|
+
property_name = name[1:]
|
|
12341
|
+
if property_name in memeber_set:
|
|
12342
|
+
memeber_set.remove(property_name)
|
|
12343
|
+
if len(memeber_set) > 0:
|
|
12344
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12345
|
+
|
|
12346
|
+
|
|
12347
|
+
|
|
12054
12348
|
class DisableClientTcpAccessRequest(AbstractModel):
|
|
12055
12349
|
r"""DisableClientTcpAccess请求参数结构体
|
|
12056
12350
|
|
|
@@ -17920,6 +18214,10 @@ class Resource(AbstractModel):
|
|
|
17920
18214
|
:type TimeSpan: int
|
|
17921
18215
|
:param _PayMode: 计费模式 0后付费,1预付费
|
|
17922
18216
|
:type PayMode: int
|
|
18217
|
+
:param _BillingRegion: 计费侧地域
|
|
18218
|
+
:type BillingRegion: str
|
|
18219
|
+
:param _BillingZone: 计费侧可用区
|
|
18220
|
+
:type BillingZone: str
|
|
17923
18221
|
"""
|
|
17924
18222
|
self._ResourceId = None
|
|
17925
18223
|
self._ApCode = None
|
|
@@ -17979,6 +18277,8 @@ class Resource(AbstractModel):
|
|
|
17979
18277
|
self._TimeUnit = None
|
|
17980
18278
|
self._TimeSpan = None
|
|
17981
18279
|
self._PayMode = None
|
|
18280
|
+
self._BillingRegion = None
|
|
18281
|
+
self._BillingZone = None
|
|
17982
18282
|
|
|
17983
18283
|
@property
|
|
17984
18284
|
def ResourceId(self):
|
|
@@ -18618,6 +18918,28 @@ class Resource(AbstractModel):
|
|
|
18618
18918
|
def PayMode(self, PayMode):
|
|
18619
18919
|
self._PayMode = PayMode
|
|
18620
18920
|
|
|
18921
|
+
@property
|
|
18922
|
+
def BillingRegion(self):
|
|
18923
|
+
r"""计费侧地域
|
|
18924
|
+
:rtype: str
|
|
18925
|
+
"""
|
|
18926
|
+
return self._BillingRegion
|
|
18927
|
+
|
|
18928
|
+
@BillingRegion.setter
|
|
18929
|
+
def BillingRegion(self, BillingRegion):
|
|
18930
|
+
self._BillingRegion = BillingRegion
|
|
18931
|
+
|
|
18932
|
+
@property
|
|
18933
|
+
def BillingZone(self):
|
|
18934
|
+
r"""计费侧可用区
|
|
18935
|
+
:rtype: str
|
|
18936
|
+
"""
|
|
18937
|
+
return self._BillingZone
|
|
18938
|
+
|
|
18939
|
+
@BillingZone.setter
|
|
18940
|
+
def BillingZone(self, BillingZone):
|
|
18941
|
+
self._BillingZone = BillingZone
|
|
18942
|
+
|
|
18621
18943
|
|
|
18622
18944
|
def _deserialize(self, params):
|
|
18623
18945
|
self._ResourceId = params.get("ResourceId")
|
|
@@ -18683,6 +19005,8 @@ class Resource(AbstractModel):
|
|
|
18683
19005
|
self._TimeUnit = params.get("TimeUnit")
|
|
18684
19006
|
self._TimeSpan = params.get("TimeSpan")
|
|
18685
19007
|
self._PayMode = params.get("PayMode")
|
|
19008
|
+
self._BillingRegion = params.get("BillingRegion")
|
|
19009
|
+
self._BillingZone = params.get("BillingZone")
|
|
18686
19010
|
memeber_set = set(params.keys())
|
|
18687
19011
|
for name, value in vars(self).items():
|
|
18688
19012
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-bh
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.67
|
|
4
4
|
Summary: Tencent Cloud Bh SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.67
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.67
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.59
|
|
File without changes
|
|
File without changes
|
{tencentcloud_sdk_python_bh-3.1.59 → tencentcloud_sdk_python_bh-3.1.67}/tencentcloud/bh/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|