tencentcloud-sdk-python-bh 3.1.188__tar.gz → 3.1.189__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.188 → tencentcloud_sdk_python_bh-3.1.189}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_bh-3.1.188 → tencentcloud_sdk_python_bh-3.1.189}/setup.py +1 -1
- {tencentcloud_sdk_python_bh-3.1.188 → tencentcloud_sdk_python_bh-3.1.189}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_bh-3.1.188 → tencentcloud_sdk_python_bh-3.1.189}/tencentcloud/bh/v20230418/models.py +127 -54
- {tencentcloud_sdk_python_bh-3.1.188 → tencentcloud_sdk_python_bh-3.1.189}/tencentcloud_sdk_python_bh.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_bh-3.1.189/tencentcloud_sdk_python_bh.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_bh-3.1.188/tencentcloud_sdk_python_bh.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_bh-3.1.188 → tencentcloud_sdk_python_bh-3.1.189}/README.rst +0 -0
- {tencentcloud_sdk_python_bh-3.1.188 → tencentcloud_sdk_python_bh-3.1.189}/setup.cfg +0 -0
- {tencentcloud_sdk_python_bh-3.1.188 → tencentcloud_sdk_python_bh-3.1.189}/tencentcloud/bh/__init__.py +0 -0
- {tencentcloud_sdk_python_bh-3.1.188 → tencentcloud_sdk_python_bh-3.1.189}/tencentcloud/bh/v20230418/__init__.py +0 -0
- {tencentcloud_sdk_python_bh-3.1.188 → tencentcloud_sdk_python_bh-3.1.189}/tencentcloud/bh/v20230418/bh_client.py +0 -0
- {tencentcloud_sdk_python_bh-3.1.188 → tencentcloud_sdk_python_bh-3.1.189}/tencentcloud/bh/v20230418/bh_client_async.py +0 -0
- {tencentcloud_sdk_python_bh-3.1.188 → tencentcloud_sdk_python_bh-3.1.189}/tencentcloud/bh/v20230418/errorcodes.py +0 -0
- {tencentcloud_sdk_python_bh-3.1.188 → tencentcloud_sdk_python_bh-3.1.189}/tencentcloud_sdk_python_bh.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_bh-3.1.188 → tencentcloud_sdk_python_bh-3.1.189}/tencentcloud_sdk_python_bh.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_bh-3.1.188 → tencentcloud_sdk_python_bh-3.1.189}/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.189
|
|
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.189
|
|
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.189,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Bh SDK for Python',
|
|
@@ -9543,41 +9543,42 @@ class DescribeDevicesRequest(AbstractModel):
|
|
|
9543
9543
|
|
|
9544
9544
|
def __init__(self):
|
|
9545
9545
|
r"""
|
|
9546
|
-
:param _IdSet:
|
|
9546
|
+
:param _IdSet: <p>资产ID集合</p>
|
|
9547
9547
|
:type IdSet: list of int non-negative
|
|
9548
|
-
:param _Name:
|
|
9548
|
+
:param _Name: <p>资产名或资产IP,模糊查询</p>
|
|
9549
9549
|
:type Name: str
|
|
9550
|
-
:param _Ip:
|
|
9550
|
+
:param _Ip: <p>暂未使用</p>
|
|
9551
9551
|
:type Ip: str
|
|
9552
|
-
:param _ApCodeSet:
|
|
9552
|
+
:param _ApCodeSet: <p>地域码集合</p>
|
|
9553
9553
|
:type ApCodeSet: list of str
|
|
9554
|
-
:param _Kind:
|
|
9554
|
+
:param _Kind: <p>操作系统类型, 1 - Linux, 2 - Windows, 3 - MySQL, 4 - SQLServer</p>
|
|
9555
9555
|
:type Kind: int
|
|
9556
|
-
:param _Offset:
|
|
9556
|
+
:param _Offset: <p>分页偏移位置,默认值为0</p>
|
|
9557
9557
|
:type Offset: int
|
|
9558
|
-
:param _Limit:
|
|
9558
|
+
:param _Limit: <p>每页条目数量</p><p>取值范围:[0, 500]</p><p>默认值:20</p>
|
|
9559
9559
|
:type Limit: int
|
|
9560
|
-
:param _AuthorizedUserIdSet:
|
|
9560
|
+
:param _AuthorizedUserIdSet: <p>有该资产访问权限的用户ID集合</p>
|
|
9561
9561
|
:type AuthorizedUserIdSet: list of int non-negative
|
|
9562
|
-
:param _ResourceIdSet:
|
|
9562
|
+
:param _ResourceIdSet: <p>过滤条件,资产绑定的堡垒机服务ID集合</p>
|
|
9563
9563
|
:type ResourceIdSet: list of str
|
|
9564
|
-
:param _KindSet:
|
|
9564
|
+
:param _KindSet: <p>可提供按照多种类型过滤, 1 - Linux, 2 - Windows, 3 - MySQL, 4 - SQLServer</p>
|
|
9565
9565
|
:type KindSet: list of int non-negative
|
|
9566
|
-
:param _ManagedAccount:
|
|
9566
|
+
:param _ManagedAccount: <p>资产是否包含托管账号。1,包含;0,不包含</p>
|
|
9567
9567
|
:type ManagedAccount: str
|
|
9568
|
-
:param _DepartmentId:
|
|
9568
|
+
:param _DepartmentId: <p>过滤条件,可按照部门ID进行过滤</p>
|
|
9569
9569
|
:type DepartmentId: str
|
|
9570
|
-
:param _AccountIdSet:
|
|
9570
|
+
:param _AccountIdSet: <p>资产所属云账号id</p>
|
|
9571
9571
|
:type AccountIdSet: list of int non-negative
|
|
9572
|
-
:param _ProviderTypeSet:
|
|
9572
|
+
:param _ProviderTypeSet: <p>云厂商类型,1-腾讯云,2-阿里云</p>
|
|
9573
9573
|
:type ProviderTypeSet: list of int non-negative
|
|
9574
|
-
:param _CloudDeviceStatusSet:
|
|
9574
|
+
:param _CloudDeviceStatusSet: <p>同步的云资产状态,标记同步的资产的状态情况,0-已删除,1-正常,2-已隔离,3-已过期</p>
|
|
9575
9575
|
:type CloudDeviceStatusSet: list of int non-negative
|
|
9576
|
-
:param _TagFilters:
|
|
9576
|
+
:param _TagFilters: <p>过滤条件,可按照标签键、标签进行过滤。如果同时指定标签键和标签过滤条件,它们之间为“AND”的关系</p>
|
|
9577
9577
|
:type TagFilters: list of TagFilter
|
|
9578
|
-
:param _Filters:
|
|
9579
|
-
BindingStatus 绑定状态
|
|
9578
|
+
:param _Filters: <p>过滤数组。支持的Name:<br>BindingStatus 绑定状态</p>
|
|
9580
9579
|
:type Filters: list of Filter
|
|
9580
|
+
:param _OwnerAppIds: <p>所属成员 AppId</p>
|
|
9581
|
+
:type OwnerAppIds: list of int non-negative
|
|
9581
9582
|
"""
|
|
9582
9583
|
self._IdSet = None
|
|
9583
9584
|
self._Name = None
|
|
@@ -9596,10 +9597,11 @@ BindingStatus 绑定状态
|
|
|
9596
9597
|
self._CloudDeviceStatusSet = None
|
|
9597
9598
|
self._TagFilters = None
|
|
9598
9599
|
self._Filters = None
|
|
9600
|
+
self._OwnerAppIds = None
|
|
9599
9601
|
|
|
9600
9602
|
@property
|
|
9601
9603
|
def IdSet(self):
|
|
9602
|
-
r"""
|
|
9604
|
+
r"""<p>资产ID集合</p>
|
|
9603
9605
|
:rtype: list of int non-negative
|
|
9604
9606
|
"""
|
|
9605
9607
|
return self._IdSet
|
|
@@ -9610,7 +9612,7 @@ BindingStatus 绑定状态
|
|
|
9610
9612
|
|
|
9611
9613
|
@property
|
|
9612
9614
|
def Name(self):
|
|
9613
|
-
r"""
|
|
9615
|
+
r"""<p>资产名或资产IP,模糊查询</p>
|
|
9614
9616
|
:rtype: str
|
|
9615
9617
|
"""
|
|
9616
9618
|
return self._Name
|
|
@@ -9621,7 +9623,7 @@ BindingStatus 绑定状态
|
|
|
9621
9623
|
|
|
9622
9624
|
@property
|
|
9623
9625
|
def Ip(self):
|
|
9624
|
-
r"""
|
|
9626
|
+
r"""<p>暂未使用</p>
|
|
9625
9627
|
:rtype: str
|
|
9626
9628
|
"""
|
|
9627
9629
|
return self._Ip
|
|
@@ -9632,7 +9634,7 @@ BindingStatus 绑定状态
|
|
|
9632
9634
|
|
|
9633
9635
|
@property
|
|
9634
9636
|
def ApCodeSet(self):
|
|
9635
|
-
r"""
|
|
9637
|
+
r"""<p>地域码集合</p>
|
|
9636
9638
|
:rtype: list of str
|
|
9637
9639
|
"""
|
|
9638
9640
|
return self._ApCodeSet
|
|
@@ -9643,7 +9645,7 @@ BindingStatus 绑定状态
|
|
|
9643
9645
|
|
|
9644
9646
|
@property
|
|
9645
9647
|
def Kind(self):
|
|
9646
|
-
r"""
|
|
9648
|
+
r"""<p>操作系统类型, 1 - Linux, 2 - Windows, 3 - MySQL, 4 - SQLServer</p>
|
|
9647
9649
|
:rtype: int
|
|
9648
9650
|
"""
|
|
9649
9651
|
return self._Kind
|
|
@@ -9654,7 +9656,7 @@ BindingStatus 绑定状态
|
|
|
9654
9656
|
|
|
9655
9657
|
@property
|
|
9656
9658
|
def Offset(self):
|
|
9657
|
-
r"""
|
|
9659
|
+
r"""<p>分页偏移位置,默认值为0</p>
|
|
9658
9660
|
:rtype: int
|
|
9659
9661
|
"""
|
|
9660
9662
|
return self._Offset
|
|
@@ -9665,7 +9667,7 @@ BindingStatus 绑定状态
|
|
|
9665
9667
|
|
|
9666
9668
|
@property
|
|
9667
9669
|
def Limit(self):
|
|
9668
|
-
r"""
|
|
9670
|
+
r"""<p>每页条目数量</p><p>取值范围:[0, 500]</p><p>默认值:20</p>
|
|
9669
9671
|
:rtype: int
|
|
9670
9672
|
"""
|
|
9671
9673
|
return self._Limit
|
|
@@ -9676,7 +9678,7 @@ BindingStatus 绑定状态
|
|
|
9676
9678
|
|
|
9677
9679
|
@property
|
|
9678
9680
|
def AuthorizedUserIdSet(self):
|
|
9679
|
-
r"""
|
|
9681
|
+
r"""<p>有该资产访问权限的用户ID集合</p>
|
|
9680
9682
|
:rtype: list of int non-negative
|
|
9681
9683
|
"""
|
|
9682
9684
|
return self._AuthorizedUserIdSet
|
|
@@ -9687,7 +9689,7 @@ BindingStatus 绑定状态
|
|
|
9687
9689
|
|
|
9688
9690
|
@property
|
|
9689
9691
|
def ResourceIdSet(self):
|
|
9690
|
-
r"""
|
|
9692
|
+
r"""<p>过滤条件,资产绑定的堡垒机服务ID集合</p>
|
|
9691
9693
|
:rtype: list of str
|
|
9692
9694
|
"""
|
|
9693
9695
|
return self._ResourceIdSet
|
|
@@ -9698,7 +9700,7 @@ BindingStatus 绑定状态
|
|
|
9698
9700
|
|
|
9699
9701
|
@property
|
|
9700
9702
|
def KindSet(self):
|
|
9701
|
-
r"""
|
|
9703
|
+
r"""<p>可提供按照多种类型过滤, 1 - Linux, 2 - Windows, 3 - MySQL, 4 - SQLServer</p>
|
|
9702
9704
|
:rtype: list of int non-negative
|
|
9703
9705
|
"""
|
|
9704
9706
|
return self._KindSet
|
|
@@ -9709,7 +9711,7 @@ BindingStatus 绑定状态
|
|
|
9709
9711
|
|
|
9710
9712
|
@property
|
|
9711
9713
|
def ManagedAccount(self):
|
|
9712
|
-
r"""
|
|
9714
|
+
r"""<p>资产是否包含托管账号。1,包含;0,不包含</p>
|
|
9713
9715
|
:rtype: str
|
|
9714
9716
|
"""
|
|
9715
9717
|
return self._ManagedAccount
|
|
@@ -9720,7 +9722,7 @@ BindingStatus 绑定状态
|
|
|
9720
9722
|
|
|
9721
9723
|
@property
|
|
9722
9724
|
def DepartmentId(self):
|
|
9723
|
-
r"""
|
|
9725
|
+
r"""<p>过滤条件,可按照部门ID进行过滤</p>
|
|
9724
9726
|
:rtype: str
|
|
9725
9727
|
"""
|
|
9726
9728
|
return self._DepartmentId
|
|
@@ -9731,7 +9733,7 @@ BindingStatus 绑定状态
|
|
|
9731
9733
|
|
|
9732
9734
|
@property
|
|
9733
9735
|
def AccountIdSet(self):
|
|
9734
|
-
r"""
|
|
9736
|
+
r"""<p>资产所属云账号id</p>
|
|
9735
9737
|
:rtype: list of int non-negative
|
|
9736
9738
|
"""
|
|
9737
9739
|
return self._AccountIdSet
|
|
@@ -9742,7 +9744,7 @@ BindingStatus 绑定状态
|
|
|
9742
9744
|
|
|
9743
9745
|
@property
|
|
9744
9746
|
def ProviderTypeSet(self):
|
|
9745
|
-
r"""
|
|
9747
|
+
r"""<p>云厂商类型,1-腾讯云,2-阿里云</p>
|
|
9746
9748
|
:rtype: list of int non-negative
|
|
9747
9749
|
"""
|
|
9748
9750
|
return self._ProviderTypeSet
|
|
@@ -9753,7 +9755,7 @@ BindingStatus 绑定状态
|
|
|
9753
9755
|
|
|
9754
9756
|
@property
|
|
9755
9757
|
def CloudDeviceStatusSet(self):
|
|
9756
|
-
r"""
|
|
9758
|
+
r"""<p>同步的云资产状态,标记同步的资产的状态情况,0-已删除,1-正常,2-已隔离,3-已过期</p>
|
|
9757
9759
|
:rtype: list of int non-negative
|
|
9758
9760
|
"""
|
|
9759
9761
|
return self._CloudDeviceStatusSet
|
|
@@ -9764,7 +9766,7 @@ BindingStatus 绑定状态
|
|
|
9764
9766
|
|
|
9765
9767
|
@property
|
|
9766
9768
|
def TagFilters(self):
|
|
9767
|
-
r"""
|
|
9769
|
+
r"""<p>过滤条件,可按照标签键、标签进行过滤。如果同时指定标签键和标签过滤条件,它们之间为“AND”的关系</p>
|
|
9768
9770
|
:rtype: list of TagFilter
|
|
9769
9771
|
"""
|
|
9770
9772
|
return self._TagFilters
|
|
@@ -9775,8 +9777,7 @@ BindingStatus 绑定状态
|
|
|
9775
9777
|
|
|
9776
9778
|
@property
|
|
9777
9779
|
def Filters(self):
|
|
9778
|
-
r"""
|
|
9779
|
-
BindingStatus 绑定状态
|
|
9780
|
+
r"""<p>过滤数组。支持的Name:<br>BindingStatus 绑定状态</p>
|
|
9780
9781
|
:rtype: list of Filter
|
|
9781
9782
|
"""
|
|
9782
9783
|
return self._Filters
|
|
@@ -9785,6 +9786,17 @@ BindingStatus 绑定状态
|
|
|
9785
9786
|
def Filters(self, Filters):
|
|
9786
9787
|
self._Filters = Filters
|
|
9787
9788
|
|
|
9789
|
+
@property
|
|
9790
|
+
def OwnerAppIds(self):
|
|
9791
|
+
r"""<p>所属成员 AppId</p>
|
|
9792
|
+
:rtype: list of int non-negative
|
|
9793
|
+
"""
|
|
9794
|
+
return self._OwnerAppIds
|
|
9795
|
+
|
|
9796
|
+
@OwnerAppIds.setter
|
|
9797
|
+
def OwnerAppIds(self, OwnerAppIds):
|
|
9798
|
+
self._OwnerAppIds = OwnerAppIds
|
|
9799
|
+
|
|
9788
9800
|
|
|
9789
9801
|
def _deserialize(self, params):
|
|
9790
9802
|
self._IdSet = params.get("IdSet")
|
|
@@ -9814,6 +9826,7 @@ BindingStatus 绑定状态
|
|
|
9814
9826
|
obj = Filter()
|
|
9815
9827
|
obj._deserialize(item)
|
|
9816
9828
|
self._Filters.append(obj)
|
|
9829
|
+
self._OwnerAppIds = params.get("OwnerAppIds")
|
|
9817
9830
|
memeber_set = set(params.keys())
|
|
9818
9831
|
for name, value in vars(self).items():
|
|
9819
9832
|
property_name = name[1:]
|
|
@@ -9831,9 +9844,9 @@ class DescribeDevicesResponse(AbstractModel):
|
|
|
9831
9844
|
|
|
9832
9845
|
def __init__(self):
|
|
9833
9846
|
r"""
|
|
9834
|
-
:param _TotalCount:
|
|
9847
|
+
:param _TotalCount: <p>资产总数</p>
|
|
9835
9848
|
:type TotalCount: int
|
|
9836
|
-
:param _DeviceSet:
|
|
9849
|
+
:param _DeviceSet: <p>资产信息列表</p>
|
|
9837
9850
|
:type DeviceSet: list of Device
|
|
9838
9851
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9839
9852
|
:type RequestId: str
|
|
@@ -9844,7 +9857,7 @@ class DescribeDevicesResponse(AbstractModel):
|
|
|
9844
9857
|
|
|
9845
9858
|
@property
|
|
9846
9859
|
def TotalCount(self):
|
|
9847
|
-
r"""
|
|
9860
|
+
r"""<p>资产总数</p>
|
|
9848
9861
|
:rtype: int
|
|
9849
9862
|
"""
|
|
9850
9863
|
return self._TotalCount
|
|
@@ -9855,7 +9868,7 @@ class DescribeDevicesResponse(AbstractModel):
|
|
|
9855
9868
|
|
|
9856
9869
|
@property
|
|
9857
9870
|
def DeviceSet(self):
|
|
9858
|
-
r"""
|
|
9871
|
+
r"""<p>资产信息列表</p>
|
|
9859
9872
|
:rtype: list of Device
|
|
9860
9873
|
"""
|
|
9861
9874
|
return self._DeviceSet
|
|
@@ -10899,15 +10912,15 @@ class DescribeResourcesRequest(AbstractModel):
|
|
|
10899
10912
|
|
|
10900
10913
|
def __init__(self):
|
|
10901
10914
|
r"""
|
|
10902
|
-
:param _ApCode:
|
|
10915
|
+
:param _ApCode: <p>地域码, 如: ap-guangzhou</p>
|
|
10903
10916
|
:type ApCode: str
|
|
10904
|
-
:param _VpcId:
|
|
10917
|
+
:param _VpcId: <p>按照堡垒机开通的 VPC 实例ID查询</p>
|
|
10905
10918
|
:type VpcId: str
|
|
10906
|
-
:param _ResourceIds:
|
|
10919
|
+
:param _ResourceIds: <p>资源ID集合,当传入ID集合时忽略 ApCode 和 VpcId</p>
|
|
10907
10920
|
:type ResourceIds: list of str
|
|
10908
|
-
:param _Limit:
|
|
10921
|
+
:param _Limit: <p>每页条目数量</p>
|
|
10909
10922
|
:type Limit: int
|
|
10910
|
-
:param _Offset:
|
|
10923
|
+
:param _Offset: <p>分页偏移位置</p>
|
|
10911
10924
|
:type Offset: int
|
|
10912
10925
|
"""
|
|
10913
10926
|
self._ApCode = None
|
|
@@ -10918,7 +10931,7 @@ class DescribeResourcesRequest(AbstractModel):
|
|
|
10918
10931
|
|
|
10919
10932
|
@property
|
|
10920
10933
|
def ApCode(self):
|
|
10921
|
-
r"""
|
|
10934
|
+
r"""<p>地域码, 如: ap-guangzhou</p>
|
|
10922
10935
|
:rtype: str
|
|
10923
10936
|
"""
|
|
10924
10937
|
return self._ApCode
|
|
@@ -10929,7 +10942,7 @@ class DescribeResourcesRequest(AbstractModel):
|
|
|
10929
10942
|
|
|
10930
10943
|
@property
|
|
10931
10944
|
def VpcId(self):
|
|
10932
|
-
r"""
|
|
10945
|
+
r"""<p>按照堡垒机开通的 VPC 实例ID查询</p>
|
|
10933
10946
|
:rtype: str
|
|
10934
10947
|
"""
|
|
10935
10948
|
return self._VpcId
|
|
@@ -10940,7 +10953,7 @@ class DescribeResourcesRequest(AbstractModel):
|
|
|
10940
10953
|
|
|
10941
10954
|
@property
|
|
10942
10955
|
def ResourceIds(self):
|
|
10943
|
-
r"""
|
|
10956
|
+
r"""<p>资源ID集合,当传入ID集合时忽略 ApCode 和 VpcId</p>
|
|
10944
10957
|
:rtype: list of str
|
|
10945
10958
|
"""
|
|
10946
10959
|
return self._ResourceIds
|
|
@@ -10951,7 +10964,7 @@ class DescribeResourcesRequest(AbstractModel):
|
|
|
10951
10964
|
|
|
10952
10965
|
@property
|
|
10953
10966
|
def Limit(self):
|
|
10954
|
-
r"""
|
|
10967
|
+
r"""<p>每页条目数量</p>
|
|
10955
10968
|
:rtype: int
|
|
10956
10969
|
"""
|
|
10957
10970
|
return self._Limit
|
|
@@ -10962,7 +10975,7 @@ class DescribeResourcesRequest(AbstractModel):
|
|
|
10962
10975
|
|
|
10963
10976
|
@property
|
|
10964
10977
|
def Offset(self):
|
|
10965
|
-
r"""
|
|
10978
|
+
r"""<p>分页偏移位置</p>
|
|
10966
10979
|
:rtype: int
|
|
10967
10980
|
"""
|
|
10968
10981
|
return self._Offset
|
|
@@ -10995,9 +11008,9 @@ class DescribeResourcesResponse(AbstractModel):
|
|
|
10995
11008
|
|
|
10996
11009
|
def __init__(self):
|
|
10997
11010
|
r"""
|
|
10998
|
-
:param _ResourceSet:
|
|
11011
|
+
:param _ResourceSet: <p>堡垒机资源列表</p>
|
|
10999
11012
|
:type ResourceSet: list of Resource
|
|
11000
|
-
:param _TotalCount:
|
|
11013
|
+
:param _TotalCount: <p>堡垒机资源数量</p>
|
|
11001
11014
|
:type TotalCount: int
|
|
11002
11015
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11003
11016
|
:type RequestId: str
|
|
@@ -11008,7 +11021,7 @@ class DescribeResourcesResponse(AbstractModel):
|
|
|
11008
11021
|
|
|
11009
11022
|
@property
|
|
11010
11023
|
def ResourceSet(self):
|
|
11011
|
-
r"""
|
|
11024
|
+
r"""<p>堡垒机资源列表</p>
|
|
11012
11025
|
:rtype: list of Resource
|
|
11013
11026
|
"""
|
|
11014
11027
|
return self._ResourceSet
|
|
@@ -11019,7 +11032,7 @@ class DescribeResourcesResponse(AbstractModel):
|
|
|
11019
11032
|
|
|
11020
11033
|
@property
|
|
11021
11034
|
def TotalCount(self):
|
|
11022
|
-
r"""
|
|
11035
|
+
r"""<p>堡垒机资源数量</p>
|
|
11023
11036
|
:rtype: int
|
|
11024
11037
|
"""
|
|
11025
11038
|
return self._TotalCount
|
|
@@ -12075,6 +12088,12 @@ class Device(AbstractModel):
|
|
|
12075
12088
|
:type ProviderName: str
|
|
12076
12089
|
:param _SyncCloudDeviceStatus: <p>同步的云资产状态,标记同步的资产的状态情况,0-已删除,1-正常,2-已隔离,3-已过期</p>
|
|
12077
12090
|
:type SyncCloudDeviceStatus: int
|
|
12091
|
+
:param _OwnerAppId: <p>所属账号 AppId</p>
|
|
12092
|
+
:type OwnerAppId: int
|
|
12093
|
+
:param _OwnerAccountUin: <p>所属账号 UIN</p>
|
|
12094
|
+
:type OwnerAccountUin: str
|
|
12095
|
+
:param _OwnerAccountName: <p>所属账号展示名</p>
|
|
12096
|
+
:type OwnerAccountName: str
|
|
12078
12097
|
"""
|
|
12079
12098
|
self._Id = None
|
|
12080
12099
|
self._InstanceId = None
|
|
@@ -12109,6 +12128,9 @@ class Device(AbstractModel):
|
|
|
12109
12128
|
self._ProviderType = None
|
|
12110
12129
|
self._ProviderName = None
|
|
12111
12130
|
self._SyncCloudDeviceStatus = None
|
|
12131
|
+
self._OwnerAppId = None
|
|
12132
|
+
self._OwnerAccountUin = None
|
|
12133
|
+
self._OwnerAccountName = None
|
|
12112
12134
|
|
|
12113
12135
|
@property
|
|
12114
12136
|
def Id(self):
|
|
@@ -12473,6 +12495,39 @@ class Device(AbstractModel):
|
|
|
12473
12495
|
def SyncCloudDeviceStatus(self, SyncCloudDeviceStatus):
|
|
12474
12496
|
self._SyncCloudDeviceStatus = SyncCloudDeviceStatus
|
|
12475
12497
|
|
|
12498
|
+
@property
|
|
12499
|
+
def OwnerAppId(self):
|
|
12500
|
+
r"""<p>所属账号 AppId</p>
|
|
12501
|
+
:rtype: int
|
|
12502
|
+
"""
|
|
12503
|
+
return self._OwnerAppId
|
|
12504
|
+
|
|
12505
|
+
@OwnerAppId.setter
|
|
12506
|
+
def OwnerAppId(self, OwnerAppId):
|
|
12507
|
+
self._OwnerAppId = OwnerAppId
|
|
12508
|
+
|
|
12509
|
+
@property
|
|
12510
|
+
def OwnerAccountUin(self):
|
|
12511
|
+
r"""<p>所属账号 UIN</p>
|
|
12512
|
+
:rtype: str
|
|
12513
|
+
"""
|
|
12514
|
+
return self._OwnerAccountUin
|
|
12515
|
+
|
|
12516
|
+
@OwnerAccountUin.setter
|
|
12517
|
+
def OwnerAccountUin(self, OwnerAccountUin):
|
|
12518
|
+
self._OwnerAccountUin = OwnerAccountUin
|
|
12519
|
+
|
|
12520
|
+
@property
|
|
12521
|
+
def OwnerAccountName(self):
|
|
12522
|
+
r"""<p>所属账号展示名</p>
|
|
12523
|
+
:rtype: str
|
|
12524
|
+
"""
|
|
12525
|
+
return self._OwnerAccountName
|
|
12526
|
+
|
|
12527
|
+
@OwnerAccountName.setter
|
|
12528
|
+
def OwnerAccountName(self, OwnerAccountName):
|
|
12529
|
+
self._OwnerAccountName = OwnerAccountName
|
|
12530
|
+
|
|
12476
12531
|
|
|
12477
12532
|
def _deserialize(self, params):
|
|
12478
12533
|
self._Id = params.get("Id")
|
|
@@ -12517,6 +12572,9 @@ class Device(AbstractModel):
|
|
|
12517
12572
|
self._ProviderType = params.get("ProviderType")
|
|
12518
12573
|
self._ProviderName = params.get("ProviderName")
|
|
12519
12574
|
self._SyncCloudDeviceStatus = params.get("SyncCloudDeviceStatus")
|
|
12575
|
+
self._OwnerAppId = params.get("OwnerAppId")
|
|
12576
|
+
self._OwnerAccountUin = params.get("OwnerAccountUin")
|
|
12577
|
+
self._OwnerAccountName = params.get("OwnerAccountName")
|
|
12520
12578
|
memeber_set = set(params.keys())
|
|
12521
12579
|
for name, value in vars(self).items():
|
|
12522
12580
|
property_name = name[1:]
|
|
@@ -18791,6 +18849,8 @@ class Resource(AbstractModel):
|
|
|
18791
18849
|
:type DeployCvmCount: int
|
|
18792
18850
|
:param _ResourceZoneSet: <p>堡垒机实例的可用区信息</p>
|
|
18793
18851
|
:type ResourceZoneSet: list of ResourceDeployZone
|
|
18852
|
+
:param _OrgAccountQuota: <p>多账号额度</p>
|
|
18853
|
+
:type OrgAccountQuota: int
|
|
18794
18854
|
"""
|
|
18795
18855
|
self._ResourceId = None
|
|
18796
18856
|
self._ApCode = None
|
|
@@ -18856,6 +18916,7 @@ class Resource(AbstractModel):
|
|
|
18856
18916
|
self._BillingZone = None
|
|
18857
18917
|
self._DeployCvmCount = None
|
|
18858
18918
|
self._ResourceZoneSet = None
|
|
18919
|
+
self._OrgAccountQuota = None
|
|
18859
18920
|
|
|
18860
18921
|
@property
|
|
18861
18922
|
def ResourceId(self):
|
|
@@ -19565,6 +19626,17 @@ class Resource(AbstractModel):
|
|
|
19565
19626
|
def ResourceZoneSet(self, ResourceZoneSet):
|
|
19566
19627
|
self._ResourceZoneSet = ResourceZoneSet
|
|
19567
19628
|
|
|
19629
|
+
@property
|
|
19630
|
+
def OrgAccountQuota(self):
|
|
19631
|
+
r"""<p>多账号额度</p>
|
|
19632
|
+
:rtype: int
|
|
19633
|
+
"""
|
|
19634
|
+
return self._OrgAccountQuota
|
|
19635
|
+
|
|
19636
|
+
@OrgAccountQuota.setter
|
|
19637
|
+
def OrgAccountQuota(self, OrgAccountQuota):
|
|
19638
|
+
self._OrgAccountQuota = OrgAccountQuota
|
|
19639
|
+
|
|
19568
19640
|
|
|
19569
19641
|
def _deserialize(self, params):
|
|
19570
19642
|
self._ResourceId = params.get("ResourceId")
|
|
@@ -19641,6 +19713,7 @@ class Resource(AbstractModel):
|
|
|
19641
19713
|
obj = ResourceDeployZone()
|
|
19642
19714
|
obj._deserialize(item)
|
|
19643
19715
|
self._ResourceZoneSet.append(obj)
|
|
19716
|
+
self._OrgAccountQuota = params.get("OrgAccountQuota")
|
|
19644
19717
|
memeber_set = set(params.keys())
|
|
19645
19718
|
for name, value in vars(self).items():
|
|
19646
19719
|
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.189
|
|
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.189
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.189
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.188
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|