tencentcloud-sdk-python-ioa 3.1.92__tar.gz → 3.1.93__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.92 → tencentcloud_sdk_python_ioa-3.1.93}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_ioa-3.1.92 → tencentcloud_sdk_python_ioa-3.1.93}/setup.py +1 -1
  3. {tencentcloud_sdk_python_ioa-3.1.92 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_ioa-3.1.92 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud/ioa/v20220601/errorcodes.py +6 -0
  5. {tencentcloud_sdk_python_ioa-3.1.92 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud/ioa/v20220601/ioa_client.py +23 -0
  6. {tencentcloud_sdk_python_ioa-3.1.92 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud/ioa/v20220601/ioa_client_async.py +18 -0
  7. {tencentcloud_sdk_python_ioa-3.1.92 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud/ioa/v20220601/models.py +79 -0
  8. {tencentcloud_sdk_python_ioa-3.1.92 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud_sdk_python_ioa.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_ioa-3.1.93/tencentcloud_sdk_python_ioa.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_ioa-3.1.92/tencentcloud_sdk_python_ioa.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_ioa-3.1.92 → tencentcloud_sdk_python_ioa-3.1.93}/README.rst +0 -0
  12. {tencentcloud_sdk_python_ioa-3.1.92 → tencentcloud_sdk_python_ioa-3.1.93}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_ioa-3.1.92 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud/ioa/__init__.py +0 -0
  14. {tencentcloud_sdk_python_ioa-3.1.92 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud/ioa/v20220601/__init__.py +0 -0
  15. {tencentcloud_sdk_python_ioa-3.1.92 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud_sdk_python_ioa.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_ioa-3.1.92 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud_sdk_python_ioa.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_ioa-3.1.92 → tencentcloud_sdk_python_ioa-3.1.93}/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.92
3
+ Version: 3.1.93
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.92
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.93
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.92,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.93,<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.92'
17
+ __version__ = '3.1.93'
@@ -32,6 +32,9 @@ INTERNALERROR_DATABASEQUERYFAILED = 'InternalError.DatabaseQueryFailed'
32
32
  # 没有零信任网关数据。
33
33
  INTERNALERROR_NOTZEROTRUSTGATEWAY = 'InternalError.NotZeroTrustGateway'
34
34
 
35
+ # 后台服务系统类型错误。
36
+ INTERNALERROR_SERVICETYPEERROR = 'InternalError.ServiceTypeError'
37
+
35
38
  # 内部未知错误。
36
39
  INTERNALERROR_UNKNOWN = 'InternalError.Unknown'
37
40
 
@@ -107,6 +110,9 @@ RESOURCENOTFOUND_NOMODULEDATA = 'ResourceNotFound.NoModuleData'
107
110
  # 没有业务资源数据。
108
111
  RESOURCENOTFOUND_NORESOURCEDATA = 'ResourceNotFound.NoResourceData'
109
112
 
113
+ # 没有连接器分组信息。
114
+ RESOURCENOTFOUND_NOTCONNECTORGROUPINFO = 'ResourceNotFound.NotConnectorGroupInfo'
115
+
110
116
  # 资源不存在。
111
117
  RESOURCENOTFOUND_NOTFOUND = 'ResourceNotFound.NotFound'
112
118
 
@@ -26,6 +26,29 @@ class IoaClient(AbstractClient):
26
26
  _service = 'ioa'
27
27
 
28
28
 
29
+ def BindBusinessResourceConnectorGroup(self, request):
30
+ r"""saas版本,创建/修改业务资源后,调用绑定连接器接口,私有化调用path为:capi/GatewayResource/BindBusinessResourceConnectorGroup
31
+
32
+ :param request: Request instance for BindBusinessResourceConnectorGroup.
33
+ :type request: :class:`tencentcloud.ioa.v20220601.models.BindBusinessResourceConnectorGroupRequest`
34
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.BindBusinessResourceConnectorGroupResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("BindBusinessResourceConnectorGroup", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.BindBusinessResourceConnectorGroupResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
50
+
51
+
29
52
  def CreateBusinessResource(self, request):
30
53
  r"""创建业务资源,会对一些必填参数进行校验和参数合法性校验,创建业务资源时,先调用下校验相同业务资源接口,看资源是不是有冲突。创建时也会做校验,但没有返回对应的异常信息,私有化调用path为:capi/GatewayResource/CreateBusinessResource
31
54
 
@@ -25,6 +25,24 @@ class IoaClient(AbstractClient):
25
25
  _endpoint = 'ioa.tencentcloudapi.com'
26
26
  _service = 'ioa'
27
27
 
28
+ async def BindBusinessResourceConnectorGroup(
29
+ self,
30
+ request: models.BindBusinessResourceConnectorGroupRequest,
31
+ opts: Dict = None,
32
+ ) -> models.BindBusinessResourceConnectorGroupResponse:
33
+ """
34
+ saas版本,创建/修改业务资源后,调用绑定连接器接口,私有化调用path为:capi/GatewayResource/BindBusinessResourceConnectorGroup
35
+ """
36
+
37
+ kwargs = {}
38
+ kwargs["action"] = "BindBusinessResourceConnectorGroup"
39
+ kwargs["params"] = request._serialize()
40
+ kwargs["resp_cls"] = models.BindBusinessResourceConnectorGroupResponse
41
+ kwargs["headers"] = request.headers
42
+ kwargs["opts"] = opts or {}
43
+
44
+ return await self.call_and_deserialize(**kwargs)
45
+
28
46
  async def CreateBusinessResource(
29
47
  self,
30
48
  request: models.CreateBusinessResourceRequest,
@@ -622,6 +622,85 @@ class AggrSoftDeviceRow(AbstractModel):
622
622
 
623
623
 
624
624
 
625
+ class BindBusinessResourceConnectorGroupRequest(AbstractModel):
626
+ r"""BindBusinessResourceConnectorGroup请求参数结构体
627
+
628
+ """
629
+
630
+ def __init__(self):
631
+ r"""
632
+ :param _ServiceId: 要绑定连接器的业务资源id,创建时候响应会返回,修改调用端自己获取传递
633
+ :type ServiceId: int
634
+ :param _ConnectorGroupId: 业务资源要绑定的连接器id
635
+ :type ConnectorGroupId: str
636
+ """
637
+ self._ServiceId = None
638
+ self._ConnectorGroupId = None
639
+
640
+ @property
641
+ def ServiceId(self):
642
+ r"""要绑定连接器的业务资源id,创建时候响应会返回,修改调用端自己获取传递
643
+ :rtype: int
644
+ """
645
+ return self._ServiceId
646
+
647
+ @ServiceId.setter
648
+ def ServiceId(self, ServiceId):
649
+ self._ServiceId = ServiceId
650
+
651
+ @property
652
+ def ConnectorGroupId(self):
653
+ r"""业务资源要绑定的连接器id
654
+ :rtype: str
655
+ """
656
+ return self._ConnectorGroupId
657
+
658
+ @ConnectorGroupId.setter
659
+ def ConnectorGroupId(self, ConnectorGroupId):
660
+ self._ConnectorGroupId = ConnectorGroupId
661
+
662
+
663
+ def _deserialize(self, params):
664
+ self._ServiceId = params.get("ServiceId")
665
+ self._ConnectorGroupId = params.get("ConnectorGroupId")
666
+ memeber_set = set(params.keys())
667
+ for name, value in vars(self).items():
668
+ property_name = name[1:]
669
+ if property_name in memeber_set:
670
+ memeber_set.remove(property_name)
671
+ if len(memeber_set) > 0:
672
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
673
+
674
+
675
+
676
+ class BindBusinessResourceConnectorGroupResponse(AbstractModel):
677
+ r"""BindBusinessResourceConnectorGroup返回参数结构体
678
+
679
+ """
680
+
681
+ def __init__(self):
682
+ r"""
683
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
684
+ :type RequestId: str
685
+ """
686
+ self._RequestId = None
687
+
688
+ @property
689
+ def RequestId(self):
690
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
691
+ :rtype: str
692
+ """
693
+ return self._RequestId
694
+
695
+ @RequestId.setter
696
+ def RequestId(self, RequestId):
697
+ self._RequestId = RequestId
698
+
699
+
700
+ def _deserialize(self, params):
701
+ self._RequestId = params.get("RequestId")
702
+
703
+
625
704
  class ComplexRule(AbstractModel):
626
705
  r"""自动划分规则数据
627
706
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ioa
3
- Version: 3.1.92
3
+ Version: 3.1.93
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.92
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.93
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.93
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.92