tencentcloud-sdk-python-bh 3.1.69__tar.gz → 3.1.112__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.69 → tencentcloud_sdk_python_bh-3.1.112}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_bh-3.1.69 → tencentcloud_sdk_python_bh-3.1.112}/setup.py +1 -1
- {tencentcloud_sdk_python_bh-3.1.69 → tencentcloud_sdk_python_bh-3.1.112}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_bh-3.1.69 → tencentcloud_sdk_python_bh-3.1.112}/tencentcloud/bh/v20230418/bh_client.py +23 -0
- {tencentcloud_sdk_python_bh-3.1.69 → tencentcloud_sdk_python_bh-3.1.112}/tencentcloud/bh/v20230418/bh_client_async.py +18 -0
- {tencentcloud_sdk_python_bh-3.1.69 → tencentcloud_sdk_python_bh-3.1.112}/tencentcloud/bh/v20230418/models.py +267 -38
- {tencentcloud_sdk_python_bh-3.1.69 → tencentcloud_sdk_python_bh-3.1.112}/tencentcloud_sdk_python_bh.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_bh-3.1.112/tencentcloud_sdk_python_bh.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_bh-3.1.69/tencentcloud_sdk_python_bh.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_bh-3.1.69 → tencentcloud_sdk_python_bh-3.1.112}/README.rst +0 -0
- {tencentcloud_sdk_python_bh-3.1.69 → tencentcloud_sdk_python_bh-3.1.112}/setup.cfg +0 -0
- {tencentcloud_sdk_python_bh-3.1.69 → tencentcloud_sdk_python_bh-3.1.112}/tencentcloud/bh/__init__.py +0 -0
- {tencentcloud_sdk_python_bh-3.1.69 → tencentcloud_sdk_python_bh-3.1.112}/tencentcloud/bh/v20230418/__init__.py +0 -0
- {tencentcloud_sdk_python_bh-3.1.69 → tencentcloud_sdk_python_bh-3.1.112}/tencentcloud/bh/v20230418/errorcodes.py +0 -0
- {tencentcloud_sdk_python_bh-3.1.69 → tencentcloud_sdk_python_bh-3.1.112}/tencentcloud_sdk_python_bh.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_bh-3.1.69 → tencentcloud_sdk_python_bh-3.1.112}/tencentcloud_sdk_python_bh.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_bh-3.1.69 → tencentcloud_sdk_python_bh-3.1.112}/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.112
|
|
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.112
|
|
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.112,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Bh SDK for Python',
|
|
@@ -95,6 +95,29 @@ class BhClient(AbstractClient):
|
|
|
95
95
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
96
96
|
|
|
97
97
|
|
|
98
|
+
def BindDeviceAccountKubeconfig(self, request):
|
|
99
|
+
r"""绑定容器账号凭据
|
|
100
|
+
|
|
101
|
+
:param request: Request instance for BindDeviceAccountKubeconfig.
|
|
102
|
+
:type request: :class:`tencentcloud.bh.v20230418.models.BindDeviceAccountKubeconfigRequest`
|
|
103
|
+
:rtype: :class:`tencentcloud.bh.v20230418.models.BindDeviceAccountKubeconfigResponse`
|
|
104
|
+
|
|
105
|
+
"""
|
|
106
|
+
try:
|
|
107
|
+
params = request._serialize()
|
|
108
|
+
headers = request.headers
|
|
109
|
+
body = self.call("BindDeviceAccountKubeconfig", params, headers=headers)
|
|
110
|
+
response = json.loads(body)
|
|
111
|
+
model = models.BindDeviceAccountKubeconfigResponse()
|
|
112
|
+
model._deserialize(response["Response"])
|
|
113
|
+
return model
|
|
114
|
+
except Exception as e:
|
|
115
|
+
if isinstance(e, TencentCloudSDKException):
|
|
116
|
+
raise
|
|
117
|
+
else:
|
|
118
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
119
|
+
|
|
120
|
+
|
|
98
121
|
def BindDeviceAccountPassword(self, request):
|
|
99
122
|
r"""绑定主机账号密码
|
|
100
123
|
|
|
@@ -79,6 +79,24 @@ class BhClient(AbstractClient):
|
|
|
79
79
|
|
|
80
80
|
return await self.call_and_deserialize(**kwargs)
|
|
81
81
|
|
|
82
|
+
async def BindDeviceAccountKubeconfig(
|
|
83
|
+
self,
|
|
84
|
+
request: models.BindDeviceAccountKubeconfigRequest,
|
|
85
|
+
opts: Dict = None,
|
|
86
|
+
) -> models.BindDeviceAccountKubeconfigResponse:
|
|
87
|
+
"""
|
|
88
|
+
绑定容器账号凭据
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
kwargs = {}
|
|
92
|
+
kwargs["action"] = "BindDeviceAccountKubeconfig"
|
|
93
|
+
kwargs["params"] = request._serialize()
|
|
94
|
+
kwargs["resp_cls"] = models.BindDeviceAccountKubeconfigResponse
|
|
95
|
+
kwargs["headers"] = request.headers
|
|
96
|
+
kwargs["opts"] = opts or {}
|
|
97
|
+
|
|
98
|
+
return await self.call_and_deserialize(**kwargs)
|
|
99
|
+
|
|
82
100
|
async def BindDeviceAccountPassword(
|
|
83
101
|
self,
|
|
84
102
|
request: models.BindDeviceAccountPasswordRequest,
|
|
@@ -1528,44 +1528,62 @@ class AppAsset(AbstractModel):
|
|
|
1528
1528
|
|
|
1529
1529
|
def __init__(self):
|
|
1530
1530
|
r"""
|
|
1531
|
-
:param _Id:
|
|
1531
|
+
:param _Id: <p>应用资产id</p>
|
|
1532
1532
|
:type Id: int
|
|
1533
|
-
:param _InstanceId:
|
|
1533
|
+
:param _InstanceId: <p>实例id</p>
|
|
1534
1534
|
:type InstanceId: str
|
|
1535
|
-
:param _Name:
|
|
1535
|
+
:param _Name: <p>资产名称</p>
|
|
1536
1536
|
:type Name: str
|
|
1537
|
-
:param _DeviceId:
|
|
1537
|
+
:param _DeviceId: <p>应用服务器id</p>
|
|
1538
1538
|
:type DeviceId: int
|
|
1539
|
-
:param _DeviceAccountId:
|
|
1539
|
+
:param _DeviceAccountId: <p>应用服务器账号id</p>
|
|
1540
1540
|
:type DeviceAccountId: int
|
|
1541
|
-
:param _Kind:
|
|
1541
|
+
:param _Kind: <p>应用资产类型。1-web应用</p>
|
|
1542
1542
|
:type Kind: int
|
|
1543
|
-
:param _ClientAppPath:
|
|
1543
|
+
:param _ClientAppPath: <p>客户端工具路径</p>
|
|
1544
1544
|
:type ClientAppPath: str
|
|
1545
|
-
:param _ClientAppKind:
|
|
1545
|
+
:param _ClientAppKind: <p>客户端工具类型</p>
|
|
1546
1546
|
:type ClientAppKind: str
|
|
1547
|
-
:param _Url:
|
|
1547
|
+
:param _Url: <p>应用资产url</p>
|
|
1548
1548
|
:type Url: str
|
|
1549
|
-
:param _BindStatus:
|
|
1549
|
+
:param _BindStatus: <p>托管状态</p><p>枚举值:</p><ul><li>0: 未托管</li><li>1: 已托管</li></ul>
|
|
1550
1550
|
:type BindStatus: int
|
|
1551
|
-
:param _DeviceInstanceId:
|
|
1551
|
+
:param _DeviceInstanceId: <p>应用服务器实例id</p>
|
|
1552
1552
|
:type DeviceInstanceId: str
|
|
1553
|
-
:param _DeviceName:
|
|
1553
|
+
:param _DeviceName: <p>应用服务器名称</p>
|
|
1554
1554
|
:type DeviceName: str
|
|
1555
|
-
:param _DeviceAccountName:
|
|
1555
|
+
:param _DeviceAccountName: <p>应用服务器账号名称</p>
|
|
1556
1556
|
:type DeviceAccountName: str
|
|
1557
|
-
:param _ResourceId:
|
|
1557
|
+
:param _ResourceId: <p>堡垒机实例id</p>
|
|
1558
1558
|
:type ResourceId: str
|
|
1559
|
-
:param _Resource:
|
|
1559
|
+
:param _Resource: <p>堡垒机实例信息</p>
|
|
1560
1560
|
:type Resource: :class:`tencentcloud.bh.v20230418.models.Resource`
|
|
1561
|
-
:param _DomainId:
|
|
1561
|
+
:param _DomainId: <p>网络域id</p>
|
|
1562
1562
|
:type DomainId: str
|
|
1563
|
-
:param _DomainName:
|
|
1563
|
+
:param _DomainName: <p>网络域名称</p>
|
|
1564
1564
|
:type DomainName: str
|
|
1565
|
-
:param _GroupSet:
|
|
1565
|
+
:param _GroupSet: <p>资产组信息</p>
|
|
1566
1566
|
:type GroupSet: list of Group
|
|
1567
|
-
:param _Department:
|
|
1567
|
+
:param _Department: <p>资产所属部门</p>
|
|
1568
1568
|
:type Department: :class:`tencentcloud.bh.v20230418.models.Department`
|
|
1569
|
+
:param _AccountCount: <p>账号数量</p>
|
|
1570
|
+
:type AccountCount: int
|
|
1571
|
+
:param _AgentInputType: <p>代填类型</p><p>枚举值:</p><ul><li>0: 不支持代填</li><li>1: 元素定位代填</li></ul>
|
|
1572
|
+
:type AgentInputType: int
|
|
1573
|
+
:param _AgentInputSubmit: <p>是否自动提交</p><p>枚举值:</p><ul><li>0: 不自动提交</li><li>1: 自动提交</li></ul>
|
|
1574
|
+
:type AgentInputSubmit: int
|
|
1575
|
+
:param _UserNameType: <p>用户名输入框选择器类型</p><p>枚举值:</p><ul><li>id: html标签id属性</li><li>name: html标签name属性</li><li>selector: css选择器</li><li>xpath: xpath</li></ul>
|
|
1576
|
+
:type UserNameType: str
|
|
1577
|
+
:param _UserNameValue: <p>用户名输入框选择器属性</p>
|
|
1578
|
+
:type UserNameValue: str
|
|
1579
|
+
:param _PasswordType: <p>密码输入框选择器类型</p><p>枚举值:</p><ul><li>id: html标签id属性</li><li>name: html标签name属性</li><li>selector: css选择器</li><li>xpath: xpath</li></ul>
|
|
1580
|
+
:type PasswordType: str
|
|
1581
|
+
:param _PasswordValue: <p>密码输入框选择器属性</p>
|
|
1582
|
+
:type PasswordValue: str
|
|
1583
|
+
:param _SubmitType: <p>提交按钮选择器类型,为空表示不支持自动提交</p><p>枚举值:</p><ul><li>id: html标签id属性</li><li>name: html标签name属性</li><li>selector: css选择器</li><li>xpath: xpath</li></ul>
|
|
1584
|
+
:type SubmitType: str
|
|
1585
|
+
:param _SubmitValue: <p>提交按钮选择器属性值</p>
|
|
1586
|
+
:type SubmitValue: str
|
|
1569
1587
|
"""
|
|
1570
1588
|
self._Id = None
|
|
1571
1589
|
self._InstanceId = None
|
|
@@ -1586,10 +1604,19 @@ class AppAsset(AbstractModel):
|
|
|
1586
1604
|
self._DomainName = None
|
|
1587
1605
|
self._GroupSet = None
|
|
1588
1606
|
self._Department = None
|
|
1607
|
+
self._AccountCount = None
|
|
1608
|
+
self._AgentInputType = None
|
|
1609
|
+
self._AgentInputSubmit = None
|
|
1610
|
+
self._UserNameType = None
|
|
1611
|
+
self._UserNameValue = None
|
|
1612
|
+
self._PasswordType = None
|
|
1613
|
+
self._PasswordValue = None
|
|
1614
|
+
self._SubmitType = None
|
|
1615
|
+
self._SubmitValue = None
|
|
1589
1616
|
|
|
1590
1617
|
@property
|
|
1591
1618
|
def Id(self):
|
|
1592
|
-
r"""
|
|
1619
|
+
r"""<p>应用资产id</p>
|
|
1593
1620
|
:rtype: int
|
|
1594
1621
|
"""
|
|
1595
1622
|
return self._Id
|
|
@@ -1600,7 +1627,7 @@ class AppAsset(AbstractModel):
|
|
|
1600
1627
|
|
|
1601
1628
|
@property
|
|
1602
1629
|
def InstanceId(self):
|
|
1603
|
-
r"""
|
|
1630
|
+
r"""<p>实例id</p>
|
|
1604
1631
|
:rtype: str
|
|
1605
1632
|
"""
|
|
1606
1633
|
return self._InstanceId
|
|
@@ -1611,7 +1638,7 @@ class AppAsset(AbstractModel):
|
|
|
1611
1638
|
|
|
1612
1639
|
@property
|
|
1613
1640
|
def Name(self):
|
|
1614
|
-
r"""
|
|
1641
|
+
r"""<p>资产名称</p>
|
|
1615
1642
|
:rtype: str
|
|
1616
1643
|
"""
|
|
1617
1644
|
return self._Name
|
|
@@ -1622,7 +1649,7 @@ class AppAsset(AbstractModel):
|
|
|
1622
1649
|
|
|
1623
1650
|
@property
|
|
1624
1651
|
def DeviceId(self):
|
|
1625
|
-
r"""
|
|
1652
|
+
r"""<p>应用服务器id</p>
|
|
1626
1653
|
:rtype: int
|
|
1627
1654
|
"""
|
|
1628
1655
|
return self._DeviceId
|
|
@@ -1633,7 +1660,7 @@ class AppAsset(AbstractModel):
|
|
|
1633
1660
|
|
|
1634
1661
|
@property
|
|
1635
1662
|
def DeviceAccountId(self):
|
|
1636
|
-
r"""
|
|
1663
|
+
r"""<p>应用服务器账号id</p>
|
|
1637
1664
|
:rtype: int
|
|
1638
1665
|
"""
|
|
1639
1666
|
return self._DeviceAccountId
|
|
@@ -1644,7 +1671,7 @@ class AppAsset(AbstractModel):
|
|
|
1644
1671
|
|
|
1645
1672
|
@property
|
|
1646
1673
|
def Kind(self):
|
|
1647
|
-
r"""
|
|
1674
|
+
r"""<p>应用资产类型。1-web应用</p>
|
|
1648
1675
|
:rtype: int
|
|
1649
1676
|
"""
|
|
1650
1677
|
return self._Kind
|
|
@@ -1655,7 +1682,7 @@ class AppAsset(AbstractModel):
|
|
|
1655
1682
|
|
|
1656
1683
|
@property
|
|
1657
1684
|
def ClientAppPath(self):
|
|
1658
|
-
r"""
|
|
1685
|
+
r"""<p>客户端工具路径</p>
|
|
1659
1686
|
:rtype: str
|
|
1660
1687
|
"""
|
|
1661
1688
|
return self._ClientAppPath
|
|
@@ -1666,7 +1693,7 @@ class AppAsset(AbstractModel):
|
|
|
1666
1693
|
|
|
1667
1694
|
@property
|
|
1668
1695
|
def ClientAppKind(self):
|
|
1669
|
-
r"""
|
|
1696
|
+
r"""<p>客户端工具类型</p>
|
|
1670
1697
|
:rtype: str
|
|
1671
1698
|
"""
|
|
1672
1699
|
return self._ClientAppKind
|
|
@@ -1677,7 +1704,7 @@ class AppAsset(AbstractModel):
|
|
|
1677
1704
|
|
|
1678
1705
|
@property
|
|
1679
1706
|
def Url(self):
|
|
1680
|
-
r"""
|
|
1707
|
+
r"""<p>应用资产url</p>
|
|
1681
1708
|
:rtype: str
|
|
1682
1709
|
"""
|
|
1683
1710
|
return self._Url
|
|
@@ -1688,7 +1715,7 @@ class AppAsset(AbstractModel):
|
|
|
1688
1715
|
|
|
1689
1716
|
@property
|
|
1690
1717
|
def BindStatus(self):
|
|
1691
|
-
r"""
|
|
1718
|
+
r"""<p>托管状态</p><p>枚举值:</p><ul><li>0: 未托管</li><li>1: 已托管</li></ul>
|
|
1692
1719
|
:rtype: int
|
|
1693
1720
|
"""
|
|
1694
1721
|
return self._BindStatus
|
|
@@ -1699,7 +1726,7 @@ class AppAsset(AbstractModel):
|
|
|
1699
1726
|
|
|
1700
1727
|
@property
|
|
1701
1728
|
def DeviceInstanceId(self):
|
|
1702
|
-
r"""
|
|
1729
|
+
r"""<p>应用服务器实例id</p>
|
|
1703
1730
|
:rtype: str
|
|
1704
1731
|
"""
|
|
1705
1732
|
return self._DeviceInstanceId
|
|
@@ -1710,7 +1737,7 @@ class AppAsset(AbstractModel):
|
|
|
1710
1737
|
|
|
1711
1738
|
@property
|
|
1712
1739
|
def DeviceName(self):
|
|
1713
|
-
r"""
|
|
1740
|
+
r"""<p>应用服务器名称</p>
|
|
1714
1741
|
:rtype: str
|
|
1715
1742
|
"""
|
|
1716
1743
|
return self._DeviceName
|
|
@@ -1721,7 +1748,7 @@ class AppAsset(AbstractModel):
|
|
|
1721
1748
|
|
|
1722
1749
|
@property
|
|
1723
1750
|
def DeviceAccountName(self):
|
|
1724
|
-
r"""
|
|
1751
|
+
r"""<p>应用服务器账号名称</p>
|
|
1725
1752
|
:rtype: str
|
|
1726
1753
|
"""
|
|
1727
1754
|
return self._DeviceAccountName
|
|
@@ -1732,7 +1759,7 @@ class AppAsset(AbstractModel):
|
|
|
1732
1759
|
|
|
1733
1760
|
@property
|
|
1734
1761
|
def ResourceId(self):
|
|
1735
|
-
r"""
|
|
1762
|
+
r"""<p>堡垒机实例id</p>
|
|
1736
1763
|
:rtype: str
|
|
1737
1764
|
"""
|
|
1738
1765
|
return self._ResourceId
|
|
@@ -1743,7 +1770,7 @@ class AppAsset(AbstractModel):
|
|
|
1743
1770
|
|
|
1744
1771
|
@property
|
|
1745
1772
|
def Resource(self):
|
|
1746
|
-
r"""
|
|
1773
|
+
r"""<p>堡垒机实例信息</p>
|
|
1747
1774
|
:rtype: :class:`tencentcloud.bh.v20230418.models.Resource`
|
|
1748
1775
|
"""
|
|
1749
1776
|
return self._Resource
|
|
@@ -1754,7 +1781,7 @@ class AppAsset(AbstractModel):
|
|
|
1754
1781
|
|
|
1755
1782
|
@property
|
|
1756
1783
|
def DomainId(self):
|
|
1757
|
-
r"""
|
|
1784
|
+
r"""<p>网络域id</p>
|
|
1758
1785
|
:rtype: str
|
|
1759
1786
|
"""
|
|
1760
1787
|
return self._DomainId
|
|
@@ -1765,7 +1792,7 @@ class AppAsset(AbstractModel):
|
|
|
1765
1792
|
|
|
1766
1793
|
@property
|
|
1767
1794
|
def DomainName(self):
|
|
1768
|
-
r"""
|
|
1795
|
+
r"""<p>网络域名称</p>
|
|
1769
1796
|
:rtype: str
|
|
1770
1797
|
"""
|
|
1771
1798
|
return self._DomainName
|
|
@@ -1776,7 +1803,7 @@ class AppAsset(AbstractModel):
|
|
|
1776
1803
|
|
|
1777
1804
|
@property
|
|
1778
1805
|
def GroupSet(self):
|
|
1779
|
-
r"""
|
|
1806
|
+
r"""<p>资产组信息</p>
|
|
1780
1807
|
:rtype: list of Group
|
|
1781
1808
|
"""
|
|
1782
1809
|
return self._GroupSet
|
|
@@ -1787,7 +1814,7 @@ class AppAsset(AbstractModel):
|
|
|
1787
1814
|
|
|
1788
1815
|
@property
|
|
1789
1816
|
def Department(self):
|
|
1790
|
-
r"""
|
|
1817
|
+
r"""<p>资产所属部门</p>
|
|
1791
1818
|
:rtype: :class:`tencentcloud.bh.v20230418.models.Department`
|
|
1792
1819
|
"""
|
|
1793
1820
|
return self._Department
|
|
@@ -1796,6 +1823,105 @@ class AppAsset(AbstractModel):
|
|
|
1796
1823
|
def Department(self, Department):
|
|
1797
1824
|
self._Department = Department
|
|
1798
1825
|
|
|
1826
|
+
@property
|
|
1827
|
+
def AccountCount(self):
|
|
1828
|
+
r"""<p>账号数量</p>
|
|
1829
|
+
:rtype: int
|
|
1830
|
+
"""
|
|
1831
|
+
return self._AccountCount
|
|
1832
|
+
|
|
1833
|
+
@AccountCount.setter
|
|
1834
|
+
def AccountCount(self, AccountCount):
|
|
1835
|
+
self._AccountCount = AccountCount
|
|
1836
|
+
|
|
1837
|
+
@property
|
|
1838
|
+
def AgentInputType(self):
|
|
1839
|
+
r"""<p>代填类型</p><p>枚举值:</p><ul><li>0: 不支持代填</li><li>1: 元素定位代填</li></ul>
|
|
1840
|
+
:rtype: int
|
|
1841
|
+
"""
|
|
1842
|
+
return self._AgentInputType
|
|
1843
|
+
|
|
1844
|
+
@AgentInputType.setter
|
|
1845
|
+
def AgentInputType(self, AgentInputType):
|
|
1846
|
+
self._AgentInputType = AgentInputType
|
|
1847
|
+
|
|
1848
|
+
@property
|
|
1849
|
+
def AgentInputSubmit(self):
|
|
1850
|
+
r"""<p>是否自动提交</p><p>枚举值:</p><ul><li>0: 不自动提交</li><li>1: 自动提交</li></ul>
|
|
1851
|
+
:rtype: int
|
|
1852
|
+
"""
|
|
1853
|
+
return self._AgentInputSubmit
|
|
1854
|
+
|
|
1855
|
+
@AgentInputSubmit.setter
|
|
1856
|
+
def AgentInputSubmit(self, AgentInputSubmit):
|
|
1857
|
+
self._AgentInputSubmit = AgentInputSubmit
|
|
1858
|
+
|
|
1859
|
+
@property
|
|
1860
|
+
def UserNameType(self):
|
|
1861
|
+
r"""<p>用户名输入框选择器类型</p><p>枚举值:</p><ul><li>id: html标签id属性</li><li>name: html标签name属性</li><li>selector: css选择器</li><li>xpath: xpath</li></ul>
|
|
1862
|
+
:rtype: str
|
|
1863
|
+
"""
|
|
1864
|
+
return self._UserNameType
|
|
1865
|
+
|
|
1866
|
+
@UserNameType.setter
|
|
1867
|
+
def UserNameType(self, UserNameType):
|
|
1868
|
+
self._UserNameType = UserNameType
|
|
1869
|
+
|
|
1870
|
+
@property
|
|
1871
|
+
def UserNameValue(self):
|
|
1872
|
+
r"""<p>用户名输入框选择器属性</p>
|
|
1873
|
+
:rtype: str
|
|
1874
|
+
"""
|
|
1875
|
+
return self._UserNameValue
|
|
1876
|
+
|
|
1877
|
+
@UserNameValue.setter
|
|
1878
|
+
def UserNameValue(self, UserNameValue):
|
|
1879
|
+
self._UserNameValue = UserNameValue
|
|
1880
|
+
|
|
1881
|
+
@property
|
|
1882
|
+
def PasswordType(self):
|
|
1883
|
+
r"""<p>密码输入框选择器类型</p><p>枚举值:</p><ul><li>id: html标签id属性</li><li>name: html标签name属性</li><li>selector: css选择器</li><li>xpath: xpath</li></ul>
|
|
1884
|
+
:rtype: str
|
|
1885
|
+
"""
|
|
1886
|
+
return self._PasswordType
|
|
1887
|
+
|
|
1888
|
+
@PasswordType.setter
|
|
1889
|
+
def PasswordType(self, PasswordType):
|
|
1890
|
+
self._PasswordType = PasswordType
|
|
1891
|
+
|
|
1892
|
+
@property
|
|
1893
|
+
def PasswordValue(self):
|
|
1894
|
+
r"""<p>密码输入框选择器属性</p>
|
|
1895
|
+
:rtype: str
|
|
1896
|
+
"""
|
|
1897
|
+
return self._PasswordValue
|
|
1898
|
+
|
|
1899
|
+
@PasswordValue.setter
|
|
1900
|
+
def PasswordValue(self, PasswordValue):
|
|
1901
|
+
self._PasswordValue = PasswordValue
|
|
1902
|
+
|
|
1903
|
+
@property
|
|
1904
|
+
def SubmitType(self):
|
|
1905
|
+
r"""<p>提交按钮选择器类型,为空表示不支持自动提交</p><p>枚举值:</p><ul><li>id: html标签id属性</li><li>name: html标签name属性</li><li>selector: css选择器</li><li>xpath: xpath</li></ul>
|
|
1906
|
+
:rtype: str
|
|
1907
|
+
"""
|
|
1908
|
+
return self._SubmitType
|
|
1909
|
+
|
|
1910
|
+
@SubmitType.setter
|
|
1911
|
+
def SubmitType(self, SubmitType):
|
|
1912
|
+
self._SubmitType = SubmitType
|
|
1913
|
+
|
|
1914
|
+
@property
|
|
1915
|
+
def SubmitValue(self):
|
|
1916
|
+
r"""<p>提交按钮选择器属性值</p>
|
|
1917
|
+
:rtype: str
|
|
1918
|
+
"""
|
|
1919
|
+
return self._SubmitValue
|
|
1920
|
+
|
|
1921
|
+
@SubmitValue.setter
|
|
1922
|
+
def SubmitValue(self, SubmitValue):
|
|
1923
|
+
self._SubmitValue = SubmitValue
|
|
1924
|
+
|
|
1799
1925
|
|
|
1800
1926
|
def _deserialize(self, params):
|
|
1801
1927
|
self._Id = params.get("Id")
|
|
@@ -1826,6 +1952,15 @@ class AppAsset(AbstractModel):
|
|
|
1826
1952
|
if params.get("Department") is not None:
|
|
1827
1953
|
self._Department = Department()
|
|
1828
1954
|
self._Department._deserialize(params.get("Department"))
|
|
1955
|
+
self._AccountCount = params.get("AccountCount")
|
|
1956
|
+
self._AgentInputType = params.get("AgentInputType")
|
|
1957
|
+
self._AgentInputSubmit = params.get("AgentInputSubmit")
|
|
1958
|
+
self._UserNameType = params.get("UserNameType")
|
|
1959
|
+
self._UserNameValue = params.get("UserNameValue")
|
|
1960
|
+
self._PasswordType = params.get("PasswordType")
|
|
1961
|
+
self._PasswordValue = params.get("PasswordValue")
|
|
1962
|
+
self._SubmitType = params.get("SubmitType")
|
|
1963
|
+
self._SubmitValue = params.get("SubmitValue")
|
|
1829
1964
|
memeber_set = set(params.keys())
|
|
1830
1965
|
for name, value in vars(self).items():
|
|
1831
1966
|
property_name = name[1:]
|
|
@@ -2004,6 +2139,100 @@ class AuthModeSetting(AbstractModel):
|
|
|
2004
2139
|
|
|
2005
2140
|
|
|
2006
2141
|
|
|
2142
|
+
class BindDeviceAccountKubeconfigRequest(AbstractModel):
|
|
2143
|
+
r"""BindDeviceAccountKubeconfig请求参数结构体
|
|
2144
|
+
|
|
2145
|
+
"""
|
|
2146
|
+
|
|
2147
|
+
def __init__(self):
|
|
2148
|
+
r"""
|
|
2149
|
+
:param _Id: 容器账号Id
|
|
2150
|
+
:type Id: int
|
|
2151
|
+
:param _Kubeconfig: 容器账号凭据
|
|
2152
|
+
:type Kubeconfig: str
|
|
2153
|
+
:param _ManageDimension: 托管维度。1-集群
|
|
2154
|
+
:type ManageDimension: int
|
|
2155
|
+
"""
|
|
2156
|
+
self._Id = None
|
|
2157
|
+
self._Kubeconfig = None
|
|
2158
|
+
self._ManageDimension = None
|
|
2159
|
+
|
|
2160
|
+
@property
|
|
2161
|
+
def Id(self):
|
|
2162
|
+
r"""容器账号Id
|
|
2163
|
+
:rtype: int
|
|
2164
|
+
"""
|
|
2165
|
+
return self._Id
|
|
2166
|
+
|
|
2167
|
+
@Id.setter
|
|
2168
|
+
def Id(self, Id):
|
|
2169
|
+
self._Id = Id
|
|
2170
|
+
|
|
2171
|
+
@property
|
|
2172
|
+
def Kubeconfig(self):
|
|
2173
|
+
r"""容器账号凭据
|
|
2174
|
+
:rtype: str
|
|
2175
|
+
"""
|
|
2176
|
+
return self._Kubeconfig
|
|
2177
|
+
|
|
2178
|
+
@Kubeconfig.setter
|
|
2179
|
+
def Kubeconfig(self, Kubeconfig):
|
|
2180
|
+
self._Kubeconfig = Kubeconfig
|
|
2181
|
+
|
|
2182
|
+
@property
|
|
2183
|
+
def ManageDimension(self):
|
|
2184
|
+
r"""托管维度。1-集群
|
|
2185
|
+
:rtype: int
|
|
2186
|
+
"""
|
|
2187
|
+
return self._ManageDimension
|
|
2188
|
+
|
|
2189
|
+
@ManageDimension.setter
|
|
2190
|
+
def ManageDimension(self, ManageDimension):
|
|
2191
|
+
self._ManageDimension = ManageDimension
|
|
2192
|
+
|
|
2193
|
+
|
|
2194
|
+
def _deserialize(self, params):
|
|
2195
|
+
self._Id = params.get("Id")
|
|
2196
|
+
self._Kubeconfig = params.get("Kubeconfig")
|
|
2197
|
+
self._ManageDimension = params.get("ManageDimension")
|
|
2198
|
+
memeber_set = set(params.keys())
|
|
2199
|
+
for name, value in vars(self).items():
|
|
2200
|
+
property_name = name[1:]
|
|
2201
|
+
if property_name in memeber_set:
|
|
2202
|
+
memeber_set.remove(property_name)
|
|
2203
|
+
if len(memeber_set) > 0:
|
|
2204
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2205
|
+
|
|
2206
|
+
|
|
2207
|
+
|
|
2208
|
+
class BindDeviceAccountKubeconfigResponse(AbstractModel):
|
|
2209
|
+
r"""BindDeviceAccountKubeconfig返回参数结构体
|
|
2210
|
+
|
|
2211
|
+
"""
|
|
2212
|
+
|
|
2213
|
+
def __init__(self):
|
|
2214
|
+
r"""
|
|
2215
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2216
|
+
:type RequestId: str
|
|
2217
|
+
"""
|
|
2218
|
+
self._RequestId = None
|
|
2219
|
+
|
|
2220
|
+
@property
|
|
2221
|
+
def RequestId(self):
|
|
2222
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2223
|
+
:rtype: str
|
|
2224
|
+
"""
|
|
2225
|
+
return self._RequestId
|
|
2226
|
+
|
|
2227
|
+
@RequestId.setter
|
|
2228
|
+
def RequestId(self, RequestId):
|
|
2229
|
+
self._RequestId = RequestId
|
|
2230
|
+
|
|
2231
|
+
|
|
2232
|
+
def _deserialize(self, params):
|
|
2233
|
+
self._RequestId = params.get("RequestId")
|
|
2234
|
+
|
|
2235
|
+
|
|
2007
2236
|
class BindDeviceAccountPasswordRequest(AbstractModel):
|
|
2008
2237
|
r"""BindDeviceAccountPassword请求参数结构体
|
|
2009
2238
|
|
|
@@ -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.112
|
|
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.112
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.112
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.69
|
|
File without changes
|
|
File without changes
|
{tencentcloud_sdk_python_bh-3.1.69 → tencentcloud_sdk_python_bh-3.1.112}/tencentcloud/bh/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|