tencentcloud-sdk-python-ioa 3.1.99__tar.gz → 3.1.108__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.99 → tencentcloud_sdk_python_ioa-3.1.108}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_ioa-3.1.99 → tencentcloud_sdk_python_ioa-3.1.108}/setup.py +1 -1
  3. {tencentcloud_sdk_python_ioa-3.1.99 → tencentcloud_sdk_python_ioa-3.1.108}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_ioa-3.1.99 → tencentcloud_sdk_python_ioa-3.1.108}/tencentcloud/ioa/v20220601/ioa_client.py +24 -1
  5. {tencentcloud_sdk_python_ioa-3.1.99 → tencentcloud_sdk_python_ioa-3.1.108}/tencentcloud/ioa/v20220601/ioa_client_async.py +19 -1
  6. {tencentcloud_sdk_python_ioa-3.1.99 → tencentcloud_sdk_python_ioa-3.1.108}/tencentcloud/ioa/v20220601/models.py +103 -9
  7. {tencentcloud_sdk_python_ioa-3.1.99 → tencentcloud_sdk_python_ioa-3.1.108}/tencentcloud_sdk_python_ioa.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_ioa-3.1.108/tencentcloud_sdk_python_ioa.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_ioa-3.1.99/tencentcloud_sdk_python_ioa.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_ioa-3.1.99 → tencentcloud_sdk_python_ioa-3.1.108}/README.rst +0 -0
  11. {tencentcloud_sdk_python_ioa-3.1.99 → tencentcloud_sdk_python_ioa-3.1.108}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_ioa-3.1.99 → tencentcloud_sdk_python_ioa-3.1.108}/tencentcloud/ioa/__init__.py +0 -0
  13. {tencentcloud_sdk_python_ioa-3.1.99 → tencentcloud_sdk_python_ioa-3.1.108}/tencentcloud/ioa/v20220601/__init__.py +0 -0
  14. {tencentcloud_sdk_python_ioa-3.1.99 → tencentcloud_sdk_python_ioa-3.1.108}/tencentcloud/ioa/v20220601/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_ioa-3.1.99 → tencentcloud_sdk_python_ioa-3.1.108}/tencentcloud_sdk_python_ioa.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_ioa-3.1.99 → tencentcloud_sdk_python_ioa-3.1.108}/tencentcloud_sdk_python_ioa.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_ioa-3.1.99 → tencentcloud_sdk_python_ioa-3.1.108}/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.99
3
+ Version: 3.1.108
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.99
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.108
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.99,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.108,<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.99'
17
+ __version__ = '3.1.108'
@@ -210,6 +210,29 @@ class IoaClient(AbstractClient):
210
210
  raise TencentCloudSDKException(type(e).__name__, str(e))
211
211
 
212
212
 
213
+ def DeleteDeviceVirtualGroup(self, request):
214
+ r"""删除终端自定义分组,私有化调用path为:/capi/Assets/Device/DeleteDeviceVirtualGroup
215
+
216
+ :param request: Request instance for DeleteDeviceVirtualGroup.
217
+ :type request: :class:`tencentcloud.ioa.v20220601.models.DeleteDeviceVirtualGroupRequest`
218
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.DeleteDeviceVirtualGroupResponse`
219
+
220
+ """
221
+ try:
222
+ params = request._serialize()
223
+ headers = request.headers
224
+ body = self.call("DeleteDeviceVirtualGroup", params, headers=headers)
225
+ response = json.loads(body)
226
+ model = models.DeleteDeviceVirtualGroupResponse()
227
+ model._deserialize(response["Response"])
228
+ return model
229
+ except Exception as e:
230
+ if isinstance(e, TencentCloudSDKException):
231
+ raise
232
+ else:
233
+ raise TencentCloudSDKException(type(e).__name__, str(e))
234
+
235
+
213
236
  def DescribeAccountGroups(self, request):
214
237
  r"""以分页的方式查询账号分组列表,私有化调用path为:/capi/Assets/DescribeAccountGroups
215
238
 
@@ -579,7 +602,7 @@ class IoaClient(AbstractClient):
579
602
 
580
603
 
581
604
  def DescribeDirectAccountGroupResources(self, request):
582
- r"""列表账户组直接关联的资源,私有化调用path为:capi/Assets/DescribeDirectAccountGroupResources
605
+ r"""列表账户组直接关联的资源,私有化调用path为:capi/NGN/DescribeDirectAccountGroupResources
583
606
 
584
607
  :param request: Request instance for DescribeDirectAccountGroupResources.
585
608
  :type request: :class:`tencentcloud.ioa.v20220601.models.DescribeDirectAccountGroupResourcesRequest`
@@ -169,6 +169,24 @@ class IoaClient(AbstractClient):
169
169
 
170
170
  return await self.call_and_deserialize(**kwargs)
171
171
 
172
+ async def DeleteDeviceVirtualGroup(
173
+ self,
174
+ request: models.DeleteDeviceVirtualGroupRequest,
175
+ opts: Dict = None,
176
+ ) -> models.DeleteDeviceVirtualGroupResponse:
177
+ """
178
+ 删除终端自定义分组,私有化调用path为:/capi/Assets/Device/DeleteDeviceVirtualGroup
179
+ """
180
+
181
+ kwargs = {}
182
+ kwargs["action"] = "DeleteDeviceVirtualGroup"
183
+ kwargs["params"] = request._serialize()
184
+ kwargs["resp_cls"] = models.DeleteDeviceVirtualGroupResponse
185
+ kwargs["headers"] = request.headers
186
+ kwargs["opts"] = opts or {}
187
+
188
+ return await self.call_and_deserialize(**kwargs)
189
+
172
190
  async def DescribeAccountGroups(
173
191
  self,
174
192
  request: models.DescribeAccountGroupsRequest,
@@ -463,7 +481,7 @@ class IoaClient(AbstractClient):
463
481
  opts: Dict = None,
464
482
  ) -> models.DescribeDirectAccountGroupResourcesResponse:
465
483
  """
466
- 列表账户组直接关联的资源,私有化调用path为:capi/Assets/DescribeDirectAccountGroupResources
484
+ 列表账户组直接关联的资源,私有化调用path为:capi/NGN/DescribeDirectAccountGroupResources
467
485
  """
468
486
 
469
487
  kwargs = {}
@@ -2168,6 +2168,100 @@ class CreatePrivilegeCodeRspData(AbstractModel):
2168
2168
 
2169
2169
 
2170
2170
 
2171
+ class DeleteDeviceVirtualGroupRequest(AbstractModel):
2172
+ r"""DeleteDeviceVirtualGroup请求参数结构体
2173
+
2174
+ """
2175
+
2176
+ def __init__(self):
2177
+ r"""
2178
+ :param _DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
2179
+ :type DomainInstanceId: str
2180
+ :param _DeviceVirtualGroupId: 必填,终端自定义分组id
2181
+ :type DeviceVirtualGroupId: int
2182
+ :param _OsType: 必填,系统类型(0: win,1:linux,2: mac,4:android,5:ios,-1:全系统(SaaS一体化版本) ; 不传默认为0)(只支持32位)
2183
+ :type OsType: int
2184
+ """
2185
+ self._DomainInstanceId = None
2186
+ self._DeviceVirtualGroupId = None
2187
+ self._OsType = None
2188
+
2189
+ @property
2190
+ def DomainInstanceId(self):
2191
+ r"""管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
2192
+ :rtype: str
2193
+ """
2194
+ return self._DomainInstanceId
2195
+
2196
+ @DomainInstanceId.setter
2197
+ def DomainInstanceId(self, DomainInstanceId):
2198
+ self._DomainInstanceId = DomainInstanceId
2199
+
2200
+ @property
2201
+ def DeviceVirtualGroupId(self):
2202
+ r"""必填,终端自定义分组id
2203
+ :rtype: int
2204
+ """
2205
+ return self._DeviceVirtualGroupId
2206
+
2207
+ @DeviceVirtualGroupId.setter
2208
+ def DeviceVirtualGroupId(self, DeviceVirtualGroupId):
2209
+ self._DeviceVirtualGroupId = DeviceVirtualGroupId
2210
+
2211
+ @property
2212
+ def OsType(self):
2213
+ r"""必填,系统类型(0: win,1:linux,2: mac,4:android,5:ios,-1:全系统(SaaS一体化版本) ; 不传默认为0)(只支持32位)
2214
+ :rtype: int
2215
+ """
2216
+ return self._OsType
2217
+
2218
+ @OsType.setter
2219
+ def OsType(self, OsType):
2220
+ self._OsType = OsType
2221
+
2222
+
2223
+ def _deserialize(self, params):
2224
+ self._DomainInstanceId = params.get("DomainInstanceId")
2225
+ self._DeviceVirtualGroupId = params.get("DeviceVirtualGroupId")
2226
+ self._OsType = params.get("OsType")
2227
+ memeber_set = set(params.keys())
2228
+ for name, value in vars(self).items():
2229
+ property_name = name[1:]
2230
+ if property_name in memeber_set:
2231
+ memeber_set.remove(property_name)
2232
+ if len(memeber_set) > 0:
2233
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2234
+
2235
+
2236
+
2237
+ class DeleteDeviceVirtualGroupResponse(AbstractModel):
2238
+ r"""DeleteDeviceVirtualGroup返回参数结构体
2239
+
2240
+ """
2241
+
2242
+ def __init__(self):
2243
+ r"""
2244
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2245
+ :type RequestId: str
2246
+ """
2247
+ self._RequestId = None
2248
+
2249
+ @property
2250
+ def RequestId(self):
2251
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2252
+ :rtype: str
2253
+ """
2254
+ return self._RequestId
2255
+
2256
+ @RequestId.setter
2257
+ def RequestId(self, RequestId):
2258
+ self._RequestId = RequestId
2259
+
2260
+
2261
+ def _deserialize(self, params):
2262
+ self._RequestId = params.get("RequestId")
2263
+
2264
+
2171
2265
  class DescribeAccountGroupsData(AbstractModel):
2172
2266
  r"""账号分组信息
2173
2267
 
@@ -8437,20 +8531,20 @@ class DescribeLocalAccountsResponse(AbstractModel):
8437
8531
 
8438
8532
 
8439
8533
  class DescribeResourceGrantedAccountGroupsData(AbstractModel):
8440
- r"""DescribeResourceGrantedAccountsData
8534
+ r"""账号分组授权信息
8441
8535
 
8442
8536
  """
8443
8537
 
8444
8538
  def __init__(self):
8445
8539
  r"""
8446
- :param _Items:
8540
+ :param _Items: <p>授权信息</p>
8447
8541
  :type Items: list of GrantedAccountGroupItem
8448
8542
  """
8449
8543
  self._Items = None
8450
8544
 
8451
8545
  @property
8452
8546
  def Items(self):
8453
- r"""
8547
+ r"""<p>授权信息</p>
8454
8548
  :rtype: list of GrantedAccountGroupItem
8455
8549
  """
8456
8550
  return self._Items
@@ -8567,9 +8661,9 @@ class DescribeResourceGrantedAccountsData(AbstractModel):
8567
8661
 
8568
8662
  def __init__(self):
8569
8663
  r"""
8570
- :param _TotalCount: 总数
8664
+ :param _TotalCount: <p>总数</p>
8571
8665
  :type TotalCount: int
8572
- :param _Items:
8666
+ :param _Items: <p>授权信息</p>
8573
8667
  :type Items: list of GrantedAccountItem
8574
8668
  """
8575
8669
  self._TotalCount = None
@@ -8577,7 +8671,7 @@ class DescribeResourceGrantedAccountsData(AbstractModel):
8577
8671
 
8578
8672
  @property
8579
8673
  def TotalCount(self):
8580
- r"""总数
8674
+ r"""<p>总数</p>
8581
8675
  :rtype: int
8582
8676
  """
8583
8677
  return self._TotalCount
@@ -8588,7 +8682,7 @@ class DescribeResourceGrantedAccountsData(AbstractModel):
8588
8682
 
8589
8683
  @property
8590
8684
  def Items(self):
8591
- r"""
8685
+ r"""<p>授权信息</p>
8592
8686
  :rtype: list of GrantedAccountItem
8593
8687
  """
8594
8688
  return self._Items
@@ -8704,14 +8798,14 @@ class DescribeResourceGrantedVirtualGroupsData(AbstractModel):
8704
8798
 
8705
8799
  def __init__(self):
8706
8800
  r"""
8707
- :param _Items:
8801
+ :param _Items: <p>授权信息</p>
8708
8802
  :type Items: list of GrantedVirtualGroupItem
8709
8803
  """
8710
8804
  self._Items = None
8711
8805
 
8712
8806
  @property
8713
8807
  def Items(self):
8714
- r"""
8808
+ r"""<p>授权信息</p>
8715
8809
  :rtype: list of GrantedVirtualGroupItem
8716
8810
  """
8717
8811
  return self._Items
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ioa
3
- Version: 3.1.99
3
+ Version: 3.1.108
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.99
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.108
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.108
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.99