tencentcloud-sdk-python-ioa 3.1.181__tar.gz → 3.1.188__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_ioa-3.1.181 → tencentcloud_sdk_python_ioa-3.1.188}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_ioa-3.1.181 → tencentcloud_sdk_python_ioa-3.1.188}/setup.py +1 -1
  3. {tencentcloud_sdk_python_ioa-3.1.181 → tencentcloud_sdk_python_ioa-3.1.188}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_ioa-3.1.181 → tencentcloud_sdk_python_ioa-3.1.188}/tencentcloud/ioa/v20220601/ioa_client.py +23 -0
  5. {tencentcloud_sdk_python_ioa-3.1.181 → tencentcloud_sdk_python_ioa-3.1.188}/tencentcloud/ioa/v20220601/ioa_client_async.py +18 -0
  6. {tencentcloud_sdk_python_ioa-3.1.181 → tencentcloud_sdk_python_ioa-3.1.188}/tencentcloud/ioa/v20220601/models.py +351 -0
  7. {tencentcloud_sdk_python_ioa-3.1.181 → tencentcloud_sdk_python_ioa-3.1.188}/tencentcloud_sdk_python_ioa.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_ioa-3.1.188/tencentcloud_sdk_python_ioa.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_ioa-3.1.181/tencentcloud_sdk_python_ioa.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_ioa-3.1.181 → tencentcloud_sdk_python_ioa-3.1.188}/README.rst +0 -0
  11. {tencentcloud_sdk_python_ioa-3.1.181 → tencentcloud_sdk_python_ioa-3.1.188}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_ioa-3.1.181 → tencentcloud_sdk_python_ioa-3.1.188}/tencentcloud/ioa/__init__.py +0 -0
  13. {tencentcloud_sdk_python_ioa-3.1.181 → tencentcloud_sdk_python_ioa-3.1.188}/tencentcloud/ioa/v20220601/__init__.py +0 -0
  14. {tencentcloud_sdk_python_ioa-3.1.181 → tencentcloud_sdk_python_ioa-3.1.188}/tencentcloud/ioa/v20220601/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_ioa-3.1.181 → tencentcloud_sdk_python_ioa-3.1.188}/tencentcloud_sdk_python_ioa.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_ioa-3.1.181 → tencentcloud_sdk_python_ioa-3.1.188}/tencentcloud_sdk_python_ioa.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_ioa-3.1.181 → tencentcloud_sdk_python_ioa-3.1.188}/tencentcloud_sdk_python_ioa.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ioa
3
- Version: 3.1.181
3
+ Version: 3.1.188
4
4
  Summary: Tencent Cloud Ioa 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.181
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.188
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-ioa',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.181,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.188,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Ioa SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.181'
17
+ __version__ = '3.1.188'
@@ -325,6 +325,29 @@ class IoaClient(AbstractClient):
325
325
  raise TencentCloudSDKException(type(e).__name__, str(e))
326
326
 
327
327
 
328
+ def DescribeAccountVirtualGroups(self, request):
329
+ r"""列表账户虚拟组,支持分页,名称搜索,私有化调用path为:capi/Assets/DescribeAccountVirtualGroups,从7.x版本开始支持
330
+
331
+ :param request: Request instance for DescribeAccountVirtualGroups.
332
+ :type request: :class:`tencentcloud.ioa.v20220601.models.DescribeAccountVirtualGroupsRequest`
333
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeAccountVirtualGroupsResponse`
334
+
335
+ """
336
+ try:
337
+ params = request._serialize()
338
+ headers = request.headers
339
+ body = self.call("DescribeAccountVirtualGroups", params, headers=headers)
340
+ response = json.loads(body)
341
+ model = models.DescribeAccountVirtualGroupsResponse()
342
+ model._deserialize(response["Response"])
343
+ return model
344
+ except Exception as e:
345
+ if isinstance(e, TencentCloudSDKException):
346
+ raise
347
+ else:
348
+ raise TencentCloudSDKException(type(e).__name__, str(e))
349
+
350
+
328
351
  def DescribeAggrSoftCategorySoftList(self, request):
329
352
  r"""聚合的分类软件列表
330
353
 
@@ -259,6 +259,24 @@ class IoaClient(AbstractClient):
259
259
 
260
260
  return await self.call_and_deserialize(**kwargs)
261
261
 
262
+ async def DescribeAccountVirtualGroups(
263
+ self,
264
+ request: models.DescribeAccountVirtualGroupsRequest,
265
+ opts: Dict = None,
266
+ ) -> models.DescribeAccountVirtualGroupsResponse:
267
+ """
268
+ 列表账户虚拟组,支持分页,名称搜索,私有化调用path为:capi/Assets/DescribeAccountVirtualGroups,从7.x版本开始支持
269
+ """
270
+
271
+ kwargs = {}
272
+ kwargs["action"] = "DescribeAccountVirtualGroups"
273
+ kwargs["params"] = request._serialize()
274
+ kwargs["resp_cls"] = models.DescribeAccountVirtualGroupsResponse
275
+ kwargs["headers"] = request.headers
276
+ kwargs["opts"] = opts or {}
277
+
278
+ return await self.call_and_deserialize(**kwargs)
279
+
262
280
  async def DescribeAggrSoftCategorySoftList(
263
281
  self,
264
282
  request: models.DescribeAggrSoftCategorySoftListRequest,
@@ -3759,6 +3759,357 @@ class DescribeAccountResourcesItems(AbstractModel):
3759
3759
 
3760
3760
 
3761
3761
 
3762
+ class DescribeAccountVirtualGroupsData(AbstractModel):
3763
+ r"""列表账户虚拟组分页数据集
3764
+
3765
+ """
3766
+
3767
+ def __init__(self):
3768
+ r"""
3769
+ :param _Id: <p>id(只支持32位)</p>
3770
+ 注意:此字段可能返回 null,表示取不到有效值。
3771
+ :type Id: int
3772
+ :param _AccountGroupId: <p>分组id(只支持32位)</p>
3773
+ 注意:此字段可能返回 null,表示取不到有效值。
3774
+ :type AccountGroupId: int
3775
+ :param _Name: <p>账户虚拟组名称</p>
3776
+ 注意:此字段可能返回 null,表示取不到有效值。
3777
+ :type Name: str
3778
+ :param _Description: <p>描述</p>
3779
+ 注意:此字段可能返回 null,表示取不到有效值。
3780
+ :type Description: str
3781
+ :param _SourceType: <p>源类型,手动、自动(只支持32位)</p>
3782
+ 注意:此字段可能返回 null,表示取不到有效值。
3783
+ :type SourceType: int
3784
+ :param _ExtraInfo: <p>扩展信息</p>
3785
+ 注意:此字段可能返回 null,表示取不到有效值。
3786
+ :type ExtraInfo: str
3787
+ :param _UserTotal: <p>用户总数</p>
3788
+ 注意:此字段可能返回 null,表示取不到有效值。
3789
+ :type UserTotal: int
3790
+ :param _Itime: <p>创建时间</p>
3791
+ 注意:此字段可能返回 null,表示取不到有效值。
3792
+ :type Itime: str
3793
+ :param _Utime: <p>最后更新时间</p>
3794
+ 注意:此字段可能返回 null,表示取不到有效值。
3795
+ :type Utime: str
3796
+ """
3797
+ self._Id = None
3798
+ self._AccountGroupId = None
3799
+ self._Name = None
3800
+ self._Description = None
3801
+ self._SourceType = None
3802
+ self._ExtraInfo = None
3803
+ self._UserTotal = None
3804
+ self._Itime = None
3805
+ self._Utime = None
3806
+
3807
+ @property
3808
+ def Id(self):
3809
+ r"""<p>id(只支持32位)</p>
3810
+ 注意:此字段可能返回 null,表示取不到有效值。
3811
+ :rtype: int
3812
+ """
3813
+ return self._Id
3814
+
3815
+ @Id.setter
3816
+ def Id(self, Id):
3817
+ self._Id = Id
3818
+
3819
+ @property
3820
+ def AccountGroupId(self):
3821
+ r"""<p>分组id(只支持32位)</p>
3822
+ 注意:此字段可能返回 null,表示取不到有效值。
3823
+ :rtype: int
3824
+ """
3825
+ return self._AccountGroupId
3826
+
3827
+ @AccountGroupId.setter
3828
+ def AccountGroupId(self, AccountGroupId):
3829
+ self._AccountGroupId = AccountGroupId
3830
+
3831
+ @property
3832
+ def Name(self):
3833
+ r"""<p>账户虚拟组名称</p>
3834
+ 注意:此字段可能返回 null,表示取不到有效值。
3835
+ :rtype: str
3836
+ """
3837
+ return self._Name
3838
+
3839
+ @Name.setter
3840
+ def Name(self, Name):
3841
+ self._Name = Name
3842
+
3843
+ @property
3844
+ def Description(self):
3845
+ r"""<p>描述</p>
3846
+ 注意:此字段可能返回 null,表示取不到有效值。
3847
+ :rtype: str
3848
+ """
3849
+ return self._Description
3850
+
3851
+ @Description.setter
3852
+ def Description(self, Description):
3853
+ self._Description = Description
3854
+
3855
+ @property
3856
+ def SourceType(self):
3857
+ r"""<p>源类型,手动、自动(只支持32位)</p>
3858
+ 注意:此字段可能返回 null,表示取不到有效值。
3859
+ :rtype: int
3860
+ """
3861
+ return self._SourceType
3862
+
3863
+ @SourceType.setter
3864
+ def SourceType(self, SourceType):
3865
+ self._SourceType = SourceType
3866
+
3867
+ @property
3868
+ def ExtraInfo(self):
3869
+ r"""<p>扩展信息</p>
3870
+ 注意:此字段可能返回 null,表示取不到有效值。
3871
+ :rtype: str
3872
+ """
3873
+ return self._ExtraInfo
3874
+
3875
+ @ExtraInfo.setter
3876
+ def ExtraInfo(self, ExtraInfo):
3877
+ self._ExtraInfo = ExtraInfo
3878
+
3879
+ @property
3880
+ def UserTotal(self):
3881
+ r"""<p>用户总数</p>
3882
+ 注意:此字段可能返回 null,表示取不到有效值。
3883
+ :rtype: int
3884
+ """
3885
+ return self._UserTotal
3886
+
3887
+ @UserTotal.setter
3888
+ def UserTotal(self, UserTotal):
3889
+ self._UserTotal = UserTotal
3890
+
3891
+ @property
3892
+ def Itime(self):
3893
+ r"""<p>创建时间</p>
3894
+ 注意:此字段可能返回 null,表示取不到有效值。
3895
+ :rtype: str
3896
+ """
3897
+ return self._Itime
3898
+
3899
+ @Itime.setter
3900
+ def Itime(self, Itime):
3901
+ self._Itime = Itime
3902
+
3903
+ @property
3904
+ def Utime(self):
3905
+ r"""<p>最后更新时间</p>
3906
+ 注意:此字段可能返回 null,表示取不到有效值。
3907
+ :rtype: str
3908
+ """
3909
+ return self._Utime
3910
+
3911
+ @Utime.setter
3912
+ def Utime(self, Utime):
3913
+ self._Utime = Utime
3914
+
3915
+
3916
+ def _deserialize(self, params):
3917
+ self._Id = params.get("Id")
3918
+ self._AccountGroupId = params.get("AccountGroupId")
3919
+ self._Name = params.get("Name")
3920
+ self._Description = params.get("Description")
3921
+ self._SourceType = params.get("SourceType")
3922
+ self._ExtraInfo = params.get("ExtraInfo")
3923
+ self._UserTotal = params.get("UserTotal")
3924
+ self._Itime = params.get("Itime")
3925
+ self._Utime = params.get("Utime")
3926
+ memeber_set = set(params.keys())
3927
+ for name, value in vars(self).items():
3928
+ property_name = name[1:]
3929
+ if property_name in memeber_set:
3930
+ memeber_set.remove(property_name)
3931
+ if len(memeber_set) > 0:
3932
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3933
+
3934
+
3935
+
3936
+ class DescribeAccountVirtualGroupsPageData(AbstractModel):
3937
+ r"""业务响应数据
3938
+
3939
+ """
3940
+
3941
+ def __init__(self):
3942
+ r"""
3943
+ :param _Page: <p>分页公共对象</p>
3944
+ 注意:此字段可能返回 null,表示取不到有效值。
3945
+ :type Page: :class:`tencentcloud.ioa.v20220601.models.Paging`
3946
+ :param _Items: <p>列表账户虚拟组分页数据集</p>
3947
+ 注意:此字段可能返回 null,表示取不到有效值。
3948
+ :type Items: list of DescribeAccountVirtualGroupsData
3949
+ """
3950
+ self._Page = None
3951
+ self._Items = None
3952
+
3953
+ @property
3954
+ def Page(self):
3955
+ r"""<p>分页公共对象</p>
3956
+ 注意:此字段可能返回 null,表示取不到有效值。
3957
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.Paging`
3958
+ """
3959
+ return self._Page
3960
+
3961
+ @Page.setter
3962
+ def Page(self, Page):
3963
+ self._Page = Page
3964
+
3965
+ @property
3966
+ def Items(self):
3967
+ r"""<p>列表账户虚拟组分页数据集</p>
3968
+ 注意:此字段可能返回 null,表示取不到有效值。
3969
+ :rtype: list of DescribeAccountVirtualGroupsData
3970
+ """
3971
+ return self._Items
3972
+
3973
+ @Items.setter
3974
+ def Items(self, Items):
3975
+ self._Items = Items
3976
+
3977
+
3978
+ def _deserialize(self, params):
3979
+ if params.get("Page") is not None:
3980
+ self._Page = Paging()
3981
+ self._Page._deserialize(params.get("Page"))
3982
+ if params.get("Items") is not None:
3983
+ self._Items = []
3984
+ for item in params.get("Items"):
3985
+ obj = DescribeAccountVirtualGroupsData()
3986
+ obj._deserialize(item)
3987
+ self._Items.append(obj)
3988
+ memeber_set = set(params.keys())
3989
+ for name, value in vars(self).items():
3990
+ property_name = name[1:]
3991
+ if property_name in memeber_set:
3992
+ memeber_set.remove(property_name)
3993
+ if len(memeber_set) > 0:
3994
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3995
+
3996
+
3997
+
3998
+ class DescribeAccountVirtualGroupsRequest(AbstractModel):
3999
+ r"""DescribeAccountVirtualGroups请求参数结构体
4000
+
4001
+ """
4002
+
4003
+ def __init__(self):
4004
+ r"""
4005
+ :param _DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
4006
+ :type DomainInstanceId: str
4007
+ :param _Condition: <p>滤条件、分页参数</p><li>Name - String - 是否必填:否 - 操作符: eq,like - 排序支持:否- 按账号虚拟组名称过滤。</li>
4008
+ :type Condition: :class:`tencentcloud.ioa.v20220601.models.Condition`
4009
+ :param _AccountGroupId: <p>顶层目录分组ID,表示要查询哪个目录下的虚拟组</p>
4010
+ :type AccountGroupId: int
4011
+ """
4012
+ self._DomainInstanceId = None
4013
+ self._Condition = None
4014
+ self._AccountGroupId = None
4015
+
4016
+ @property
4017
+ def DomainInstanceId(self):
4018
+ r"""管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
4019
+ :rtype: str
4020
+ """
4021
+ return self._DomainInstanceId
4022
+
4023
+ @DomainInstanceId.setter
4024
+ def DomainInstanceId(self, DomainInstanceId):
4025
+ self._DomainInstanceId = DomainInstanceId
4026
+
4027
+ @property
4028
+ def Condition(self):
4029
+ r"""<p>滤条件、分页参数</p><li>Name - String - 是否必填:否 - 操作符: eq,like - 排序支持:否- 按账号虚拟组名称过滤。</li>
4030
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.Condition`
4031
+ """
4032
+ return self._Condition
4033
+
4034
+ @Condition.setter
4035
+ def Condition(self, Condition):
4036
+ self._Condition = Condition
4037
+
4038
+ @property
4039
+ def AccountGroupId(self):
4040
+ r"""<p>顶层目录分组ID,表示要查询哪个目录下的虚拟组</p>
4041
+ :rtype: int
4042
+ """
4043
+ return self._AccountGroupId
4044
+
4045
+ @AccountGroupId.setter
4046
+ def AccountGroupId(self, AccountGroupId):
4047
+ self._AccountGroupId = AccountGroupId
4048
+
4049
+
4050
+ def _deserialize(self, params):
4051
+ self._DomainInstanceId = params.get("DomainInstanceId")
4052
+ if params.get("Condition") is not None:
4053
+ self._Condition = Condition()
4054
+ self._Condition._deserialize(params.get("Condition"))
4055
+ self._AccountGroupId = params.get("AccountGroupId")
4056
+ memeber_set = set(params.keys())
4057
+ for name, value in vars(self).items():
4058
+ property_name = name[1:]
4059
+ if property_name in memeber_set:
4060
+ memeber_set.remove(property_name)
4061
+ if len(memeber_set) > 0:
4062
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4063
+
4064
+
4065
+
4066
+ class DescribeAccountVirtualGroupsResponse(AbstractModel):
4067
+ r"""DescribeAccountVirtualGroups返回参数结构体
4068
+
4069
+ """
4070
+
4071
+ def __init__(self):
4072
+ r"""
4073
+ :param _Data: <p>业务响应数据</p>
4074
+ 注意:此字段可能返回 null,表示取不到有效值。
4075
+ :type Data: :class:`tencentcloud.ioa.v20220601.models.DescribeAccountVirtualGroupsPageData`
4076
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4077
+ :type RequestId: str
4078
+ """
4079
+ self._Data = None
4080
+ self._RequestId = None
4081
+
4082
+ @property
4083
+ def Data(self):
4084
+ r"""<p>业务响应数据</p>
4085
+ 注意:此字段可能返回 null,表示取不到有效值。
4086
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeAccountVirtualGroupsPageData`
4087
+ """
4088
+ return self._Data
4089
+
4090
+ @Data.setter
4091
+ def Data(self, Data):
4092
+ self._Data = Data
4093
+
4094
+ @property
4095
+ def RequestId(self):
4096
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4097
+ :rtype: str
4098
+ """
4099
+ return self._RequestId
4100
+
4101
+ @RequestId.setter
4102
+ def RequestId(self, RequestId):
4103
+ self._RequestId = RequestId
4104
+
4105
+
4106
+ def _deserialize(self, params):
4107
+ if params.get("Data") is not None:
4108
+ self._Data = DescribeAccountVirtualGroupsPageData()
4109
+ self._Data._deserialize(params.get("Data"))
4110
+ self._RequestId = params.get("RequestId")
4111
+
4112
+
3762
4113
  class DescribeAggrSoftCategorySoftListData(AbstractModel):
3763
4114
  r"""业务响应数据
3764
4115
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ioa
3
- Version: 3.1.181
3
+ Version: 3.1.188
4
4
  Summary: Tencent Cloud Ioa 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.181
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.188
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.188
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.181