tencentcloud-sdk-python-bh 3.1.46__tar.gz → 3.1.58__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_bh-3.1.46 → tencentcloud_sdk_python_bh-3.1.58}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_bh-3.1.46 → tencentcloud_sdk_python_bh-3.1.58}/setup.py +1 -1
  3. {tencentcloud_sdk_python_bh-3.1.46 → tencentcloud_sdk_python_bh-3.1.58}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_bh-3.1.46 → tencentcloud_sdk_python_bh-3.1.58}/tencentcloud/bh/v20230418/models.py +109 -4
  5. {tencentcloud_sdk_python_bh-3.1.46 → tencentcloud_sdk_python_bh-3.1.58}/tencentcloud_sdk_python_bh.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_bh-3.1.58/tencentcloud_sdk_python_bh.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_bh-3.1.46/tencentcloud_sdk_python_bh.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_bh-3.1.46 → tencentcloud_sdk_python_bh-3.1.58}/README.rst +0 -0
  9. {tencentcloud_sdk_python_bh-3.1.46 → tencentcloud_sdk_python_bh-3.1.58}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_bh-3.1.46 → tencentcloud_sdk_python_bh-3.1.58}/tencentcloud/bh/__init__.py +0 -0
  11. {tencentcloud_sdk_python_bh-3.1.46 → tencentcloud_sdk_python_bh-3.1.58}/tencentcloud/bh/v20230418/__init__.py +0 -0
  12. {tencentcloud_sdk_python_bh-3.1.46 → tencentcloud_sdk_python_bh-3.1.58}/tencentcloud/bh/v20230418/bh_client.py +0 -0
  13. {tencentcloud_sdk_python_bh-3.1.46 → tencentcloud_sdk_python_bh-3.1.58}/tencentcloud/bh/v20230418/bh_client_async.py +0 -0
  14. {tencentcloud_sdk_python_bh-3.1.46 → tencentcloud_sdk_python_bh-3.1.58}/tencentcloud/bh/v20230418/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_bh-3.1.46 → tencentcloud_sdk_python_bh-3.1.58}/tencentcloud_sdk_python_bh.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_bh-3.1.46 → tencentcloud_sdk_python_bh-3.1.58}/tencentcloud_sdk_python_bh.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_bh-3.1.46 → tencentcloud_sdk_python_bh-3.1.58}/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.46
3
+ Version: 3.1.58
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.46
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.58
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.46,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.58,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Bh SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.46'
17
+ __version__ = '3.1.58'
@@ -840,6 +840,8 @@ class Acl(AbstractModel):
840
840
  :type TicketId: str
841
841
  :param _TicketName: 权限所属工单名称
842
842
  :type TicketName: str
843
+ :param _MaxAccessCredentialDuration: 访问串有效期最大时长,秒数,允许使用访问串时需大于0且必须为86400整数倍
844
+ :type MaxAccessCredentialDuration: int
843
845
  """
844
846
  self._Id = None
845
847
  self._Name = None
@@ -876,6 +878,7 @@ class Acl(AbstractModel):
876
878
  self._AclType = None
877
879
  self._TicketId = None
878
880
  self._TicketName = None
881
+ self._MaxAccessCredentialDuration = None
879
882
 
880
883
  @property
881
884
  def Id(self):
@@ -1264,6 +1267,17 @@ class Acl(AbstractModel):
1264
1267
  def TicketName(self, TicketName):
1265
1268
  self._TicketName = TicketName
1266
1269
 
1270
+ @property
1271
+ def MaxAccessCredentialDuration(self):
1272
+ r"""访问串有效期最大时长,秒数,允许使用访问串时需大于0且必须为86400整数倍
1273
+ :rtype: int
1274
+ """
1275
+ return self._MaxAccessCredentialDuration
1276
+
1277
+ @MaxAccessCredentialDuration.setter
1278
+ def MaxAccessCredentialDuration(self, MaxAccessCredentialDuration):
1279
+ self._MaxAccessCredentialDuration = MaxAccessCredentialDuration
1280
+
1267
1281
 
1268
1282
  def _deserialize(self, params):
1269
1283
  self._Id = params.get("Id")
@@ -1338,6 +1352,7 @@ class Acl(AbstractModel):
1338
1352
  self._AclType = params.get("AclType")
1339
1353
  self._TicketId = params.get("TicketId")
1340
1354
  self._TicketName = params.get("TicketName")
1355
+ self._MaxAccessCredentialDuration = params.get("MaxAccessCredentialDuration")
1341
1356
  memeber_set = set(params.keys())
1342
1357
  for name, value in vars(self).items():
1343
1358
  property_name = name[1:]
@@ -3555,6 +3570,8 @@ class CreateAclRequest(AbstractModel):
3555
3570
  :type AllowAccessCredential: bool
3556
3571
  :param _AllowKeyboardLogger: 是否允许键盘记录
3557
3572
  :type AllowKeyboardLogger: bool
3573
+ :param _MaxAccessCredentialDuration: 访问串有效期最大时长,秒数,允许使用访问串时需大于0且必须为86400整数倍
3574
+ :type MaxAccessCredentialDuration: int
3558
3575
  """
3559
3576
  self._Name = None
3560
3577
  self._AllowDiskRedirect = None
@@ -3585,6 +3602,7 @@ class CreateAclRequest(AbstractModel):
3585
3602
  self._DepartmentId = None
3586
3603
  self._AllowAccessCredential = None
3587
3604
  self._AllowKeyboardLogger = None
3605
+ self._MaxAccessCredentialDuration = None
3588
3606
 
3589
3607
  @property
3590
3608
  def Name(self):
@@ -3907,6 +3925,17 @@ class CreateAclRequest(AbstractModel):
3907
3925
  def AllowKeyboardLogger(self, AllowKeyboardLogger):
3908
3926
  self._AllowKeyboardLogger = AllowKeyboardLogger
3909
3927
 
3928
+ @property
3929
+ def MaxAccessCredentialDuration(self):
3930
+ r"""访问串有效期最大时长,秒数,允许使用访问串时需大于0且必须为86400整数倍
3931
+ :rtype: int
3932
+ """
3933
+ return self._MaxAccessCredentialDuration
3934
+
3935
+ @MaxAccessCredentialDuration.setter
3936
+ def MaxAccessCredentialDuration(self, MaxAccessCredentialDuration):
3937
+ self._MaxAccessCredentialDuration = MaxAccessCredentialDuration
3938
+
3910
3939
 
3911
3940
  def _deserialize(self, params):
3912
3941
  self._Name = params.get("Name")
@@ -3938,6 +3967,7 @@ class CreateAclRequest(AbstractModel):
3938
3967
  self._DepartmentId = params.get("DepartmentId")
3939
3968
  self._AllowAccessCredential = params.get("AllowAccessCredential")
3940
3969
  self._AllowKeyboardLogger = params.get("AllowKeyboardLogger")
3970
+ self._MaxAccessCredentialDuration = params.get("MaxAccessCredentialDuration")
3941
3971
  memeber_set = set(params.keys())
3942
3972
  for name, value in vars(self).items():
3943
3973
  property_name = name[1:]
@@ -9645,7 +9675,7 @@ class DescribeLoginEventRequest(AbstractModel):
9645
9675
  :type ResultSet: list of int non-negative
9646
9676
  :param _Offset: 分页偏移位置,默认值为0
9647
9677
  :type Offset: int
9648
- :param _Limit: 分页每页记录数,默认20
9678
+ :param _Limit: 分页每页记录数,默认20,最大200
9649
9679
  :type Limit: int
9650
9680
  """
9651
9681
  self._UserName = None
@@ -9772,7 +9802,7 @@ class DescribeLoginEventRequest(AbstractModel):
9772
9802
 
9773
9803
  @property
9774
9804
  def Limit(self):
9775
- r"""分页每页记录数,默认20
9805
+ r"""分页每页记录数,默认20,最大200
9776
9806
  :rtype: int
9777
9807
  """
9778
9808
  return self._Limit
@@ -9894,7 +9924,7 @@ class DescribeOperationEventRequest(AbstractModel):
9894
9924
  :type ResultSet: list of int non-negative
9895
9925
  :param _Offset: 分页偏移位置,默认值为0
9896
9926
  :type Offset: int
9897
- :param _Limit: 分页每页记录数,默认20
9927
+ :param _Limit: 分页每页记录数,默认20,最大200
9898
9928
  :type Limit: int
9899
9929
  """
9900
9930
  self._UserName = None
@@ -10021,7 +10051,7 @@ class DescribeOperationEventRequest(AbstractModel):
10021
10051
 
10022
10052
  @property
10023
10053
  def Limit(self):
10024
- r"""分页每页记录数,默认20
10054
+ r"""分页每页记录数,默认20,最大200
10025
10055
  :rtype: int
10026
10056
  """
10027
10057
  return self._Limit
@@ -13931,6 +13961,8 @@ class ModifyAclRequest(AbstractModel):
13931
13961
  :type AllowAccessCredential: bool
13932
13962
  :param _AllowKeyboardLogger: 是否允许键盘记录
13933
13963
  :type AllowKeyboardLogger: bool
13964
+ :param _MaxAccessCredentialDuration: 访问串有效期最大时长,秒数,允许使用访问串时需大于0且必须为86400整数倍
13965
+ :type MaxAccessCredentialDuration: int
13934
13966
  """
13935
13967
  self._Name = None
13936
13968
  self._AllowDiskRedirect = None
@@ -13962,6 +13994,7 @@ class ModifyAclRequest(AbstractModel):
13962
13994
  self._DepartmentId = None
13963
13995
  self._AllowAccessCredential = None
13964
13996
  self._AllowKeyboardLogger = None
13997
+ self._MaxAccessCredentialDuration = None
13965
13998
 
13966
13999
  @property
13967
14000
  def Name(self):
@@ -14295,6 +14328,17 @@ class ModifyAclRequest(AbstractModel):
14295
14328
  def AllowKeyboardLogger(self, AllowKeyboardLogger):
14296
14329
  self._AllowKeyboardLogger = AllowKeyboardLogger
14297
14330
 
14331
+ @property
14332
+ def MaxAccessCredentialDuration(self):
14333
+ r"""访问串有效期最大时长,秒数,允许使用访问串时需大于0且必须为86400整数倍
14334
+ :rtype: int
14335
+ """
14336
+ return self._MaxAccessCredentialDuration
14337
+
14338
+ @MaxAccessCredentialDuration.setter
14339
+ def MaxAccessCredentialDuration(self, MaxAccessCredentialDuration):
14340
+ self._MaxAccessCredentialDuration = MaxAccessCredentialDuration
14341
+
14298
14342
 
14299
14343
  def _deserialize(self, params):
14300
14344
  self._Name = params.get("Name")
@@ -14327,6 +14371,7 @@ class ModifyAclRequest(AbstractModel):
14327
14371
  self._DepartmentId = params.get("DepartmentId")
14328
14372
  self._AllowAccessCredential = params.get("AllowAccessCredential")
14329
14373
  self._AllowKeyboardLogger = params.get("AllowKeyboardLogger")
14374
+ self._MaxAccessCredentialDuration = params.get("MaxAccessCredentialDuration")
14330
14375
  memeber_set = set(params.keys())
14331
14376
  for name, value in vars(self).items():
14332
14377
  property_name = name[1:]
@@ -17611,6 +17656,14 @@ class Resource(AbstractModel):
17611
17656
  :type PackageIOABandwidth: int
17612
17657
  :param _IOAResourceId: 堡垒机实例对应的零信任实例id
17613
17658
  :type IOAResourceId: str
17659
+ :param _ResourceEdition: 资源类型 免费版/标准版/专业版 /国密版 free/standard/pro/gm
17660
+ :type ResourceEdition: str
17661
+ :param _TimeUnit: 计费周期 年:y,月:m,日:d,时:h,分:M,秒:s,一次性购买:p
17662
+ :type TimeUnit: str
17663
+ :param _TimeSpan: 计费时长
17664
+ :type TimeSpan: int
17665
+ :param _PayMode: 计费模式 0后付费,1预付费
17666
+ :type PayMode: int
17614
17667
  """
17615
17668
  self._ResourceId = None
17616
17669
  self._ApCode = None
@@ -17666,6 +17719,10 @@ class Resource(AbstractModel):
17666
17719
  self._PackageIOAUserCount = None
17667
17720
  self._PackageIOABandwidth = None
17668
17721
  self._IOAResourceId = None
17722
+ self._ResourceEdition = None
17723
+ self._TimeUnit = None
17724
+ self._TimeSpan = None
17725
+ self._PayMode = None
17669
17726
 
17670
17727
  @property
17671
17728
  def ResourceId(self):
@@ -18261,6 +18318,50 @@ class Resource(AbstractModel):
18261
18318
  def IOAResourceId(self, IOAResourceId):
18262
18319
  self._IOAResourceId = IOAResourceId
18263
18320
 
18321
+ @property
18322
+ def ResourceEdition(self):
18323
+ r"""资源类型 免费版/标准版/专业版 /国密版 free/standard/pro/gm
18324
+ :rtype: str
18325
+ """
18326
+ return self._ResourceEdition
18327
+
18328
+ @ResourceEdition.setter
18329
+ def ResourceEdition(self, ResourceEdition):
18330
+ self._ResourceEdition = ResourceEdition
18331
+
18332
+ @property
18333
+ def TimeUnit(self):
18334
+ r"""计费周期 年:y,月:m,日:d,时:h,分:M,秒:s,一次性购买:p
18335
+ :rtype: str
18336
+ """
18337
+ return self._TimeUnit
18338
+
18339
+ @TimeUnit.setter
18340
+ def TimeUnit(self, TimeUnit):
18341
+ self._TimeUnit = TimeUnit
18342
+
18343
+ @property
18344
+ def TimeSpan(self):
18345
+ r"""计费时长
18346
+ :rtype: int
18347
+ """
18348
+ return self._TimeSpan
18349
+
18350
+ @TimeSpan.setter
18351
+ def TimeSpan(self, TimeSpan):
18352
+ self._TimeSpan = TimeSpan
18353
+
18354
+ @property
18355
+ def PayMode(self):
18356
+ r"""计费模式 0后付费,1预付费
18357
+ :rtype: int
18358
+ """
18359
+ return self._PayMode
18360
+
18361
+ @PayMode.setter
18362
+ def PayMode(self, PayMode):
18363
+ self._PayMode = PayMode
18364
+
18264
18365
 
18265
18366
  def _deserialize(self, params):
18266
18367
  self._ResourceId = params.get("ResourceId")
@@ -18322,6 +18423,10 @@ class Resource(AbstractModel):
18322
18423
  self._PackageIOAUserCount = params.get("PackageIOAUserCount")
18323
18424
  self._PackageIOABandwidth = params.get("PackageIOABandwidth")
18324
18425
  self._IOAResourceId = params.get("IOAResourceId")
18426
+ self._ResourceEdition = params.get("ResourceEdition")
18427
+ self._TimeUnit = params.get("TimeUnit")
18428
+ self._TimeSpan = params.get("TimeSpan")
18429
+ self._PayMode = params.get("PayMode")
18325
18430
  memeber_set = set(params.keys())
18326
18431
  for name, value in vars(self).items():
18327
18432
  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.46
3
+ Version: 3.1.58
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.46
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.58
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.58
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.46