tencentcloud-sdk-python-ioa 3.1.89__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.
- {tencentcloud_sdk_python_ioa-3.1.89 → tencentcloud_sdk_python_ioa-3.1.93}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ioa-3.1.89 → tencentcloud_sdk_python_ioa-3.1.93}/setup.py +1 -1
- {tencentcloud_sdk_python_ioa-3.1.89 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ioa-3.1.89 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud/ioa/v20220601/errorcodes.py +9 -0
- {tencentcloud_sdk_python_ioa-3.1.89 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- {tencentcloud_sdk_python_ioa-3.1.89 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud/ioa/v20220601/ioa_client_async.py +36 -0
- {tencentcloud_sdk_python_ioa-3.1.89 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud/ioa/v20220601/models.py +263 -0
- {tencentcloud_sdk_python_ioa-3.1.89 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud_sdk_python_ioa.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ioa-3.1.93/tencentcloud_sdk_python_ioa.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ioa-3.1.89/tencentcloud_sdk_python_ioa.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ioa-3.1.89 → tencentcloud_sdk_python_ioa-3.1.93}/README.rst +0 -0
- {tencentcloud_sdk_python_ioa-3.1.89 → tencentcloud_sdk_python_ioa-3.1.93}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ioa-3.1.89 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud/ioa/__init__.py +0 -0
- {tencentcloud_sdk_python_ioa-3.1.89 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud/ioa/v20220601/__init__.py +0 -0
- {tencentcloud_sdk_python_ioa-3.1.89 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud_sdk_python_ioa.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ioa-3.1.89 → tencentcloud_sdk_python_ioa-3.1.93}/tencentcloud_sdk_python_ioa.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ioa-3.1.89 → 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.
|
|
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.
|
|
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.
|
|
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',
|
|
@@ -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
|
|
|
@@ -104,6 +107,12 @@ REQUESTLIMITEXCEEDED_WAITFORTHELASTOPERATIONTOCOMPLETE = 'RequestLimitExceeded.W
|
|
|
104
107
|
# 没有模块数据。
|
|
105
108
|
RESOURCENOTFOUND_NOMODULEDATA = 'ResourceNotFound.NoModuleData'
|
|
106
109
|
|
|
110
|
+
# 没有业务资源数据。
|
|
111
|
+
RESOURCENOTFOUND_NORESOURCEDATA = 'ResourceNotFound.NoResourceData'
|
|
112
|
+
|
|
113
|
+
# 没有连接器分组信息。
|
|
114
|
+
RESOURCENOTFOUND_NOTCONNECTORGROUPINFO = 'ResourceNotFound.NotConnectorGroupInfo'
|
|
115
|
+
|
|
107
116
|
# 资源不存在。
|
|
108
117
|
RESOURCENOTFOUND_NOTFOUND = 'ResourceNotFound.NotFound'
|
|
109
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
|
|
|
@@ -831,6 +854,29 @@ class IoaClient(AbstractClient):
|
|
|
831
854
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
832
855
|
|
|
833
856
|
|
|
857
|
+
def ModifyBusinessResource(self, request):
|
|
858
|
+
r"""修改业务资源,会对一些必填参数进行校验和参数合法性校验,修改业务资源时,先调用下校验相同业务资源接口,看资源是不是有冲突。修改时也会做校验,但没有返回对应的异常信息,私有化调用path为:capi/GatewayResource/ModifyBusinessResource
|
|
859
|
+
|
|
860
|
+
:param request: Request instance for ModifyBusinessResource.
|
|
861
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.ModifyBusinessResourceRequest`
|
|
862
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.ModifyBusinessResourceResponse`
|
|
863
|
+
|
|
864
|
+
"""
|
|
865
|
+
try:
|
|
866
|
+
params = request._serialize()
|
|
867
|
+
headers = request.headers
|
|
868
|
+
body = self.call("ModifyBusinessResource", params, headers=headers)
|
|
869
|
+
response = json.loads(body)
|
|
870
|
+
model = models.ModifyBusinessResourceResponse()
|
|
871
|
+
model._deserialize(response["Response"])
|
|
872
|
+
return model
|
|
873
|
+
except Exception as e:
|
|
874
|
+
if isinstance(e, TencentCloudSDKException):
|
|
875
|
+
raise
|
|
876
|
+
else:
|
|
877
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
878
|
+
|
|
879
|
+
|
|
834
880
|
def ModifyDeviceTrustStatus(self, request):
|
|
835
881
|
r"""给接入设备加黑加白,私有化调用path为:capi/NGN/ModifyDeviceTrustStatus
|
|
836
882
|
|
|
@@ -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,
|
|
@@ -655,6 +673,24 @@ class IoaClient(AbstractClient):
|
|
|
655
673
|
|
|
656
674
|
return await self.call_and_deserialize(**kwargs)
|
|
657
675
|
|
|
676
|
+
async def ModifyBusinessResource(
|
|
677
|
+
self,
|
|
678
|
+
request: models.ModifyBusinessResourceRequest,
|
|
679
|
+
opts: Dict = None,
|
|
680
|
+
) -> models.ModifyBusinessResourceResponse:
|
|
681
|
+
"""
|
|
682
|
+
修改业务资源,会对一些必填参数进行校验和参数合法性校验,修改业务资源时,先调用下校验相同业务资源接口,看资源是不是有冲突。修改时也会做校验,但没有返回对应的异常信息,私有化调用path为:capi/GatewayResource/ModifyBusinessResource
|
|
683
|
+
"""
|
|
684
|
+
|
|
685
|
+
kwargs = {}
|
|
686
|
+
kwargs["action"] = "ModifyBusinessResource"
|
|
687
|
+
kwargs["params"] = request._serialize()
|
|
688
|
+
kwargs["resp_cls"] = models.ModifyBusinessResourceResponse
|
|
689
|
+
kwargs["headers"] = request.headers
|
|
690
|
+
kwargs["opts"] = opts or {}
|
|
691
|
+
|
|
692
|
+
return await self.call_and_deserialize(**kwargs)
|
|
693
|
+
|
|
658
694
|
async def ModifyDeviceTrustStatus(
|
|
659
695
|
self,
|
|
660
696
|
request: models.ModifyDeviceTrustStatusRequest,
|
|
@@ -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
|
|
|
@@ -12599,6 +12678,190 @@ class GrantedVirtualGroupItem(AbstractModel):
|
|
|
12599
12678
|
|
|
12600
12679
|
|
|
12601
12680
|
|
|
12681
|
+
class ModifyBusinessResourceRequest(AbstractModel):
|
|
12682
|
+
r"""ModifyBusinessResource请求参数结构体
|
|
12683
|
+
|
|
12684
|
+
"""
|
|
12685
|
+
|
|
12686
|
+
def __init__(self):
|
|
12687
|
+
r"""
|
|
12688
|
+
:param _AreaId: 业务资源所在的模块id,没有资源模块先创建资源模块(只支持32位)
|
|
12689
|
+
:type AreaId: int
|
|
12690
|
+
:param _Protocol: 业务资源协议类型,3:所有,2:UDP,1:TCP(只支持32位)
|
|
12691
|
+
:type Protocol: int
|
|
12692
|
+
:param _ServiceName: 业务资源名称,同一个资源模块下面不可重复
|
|
12693
|
+
:type ServiceName: str
|
|
12694
|
+
:param _Levels: 业务资源优先级 1-65535(只支持32位)
|
|
12695
|
+
:type Levels: int
|
|
12696
|
+
:param _ServiceType: 业务资源类型:ip,domain,ip_section,对应ip、域名、ip段
|
|
12697
|
+
:type ServiceType: str
|
|
12698
|
+
:param _ServicePort: 业务资源端口 all,1-65535
|
|
12699
|
+
:type ServicePort: str
|
|
12700
|
+
:param _ServiceId: 修改业务资源的id(只支持32位)
|
|
12701
|
+
:type ServiceId: int
|
|
12702
|
+
:param _ServiceAddress: 业务资源地址(ip、域名、ip段)
|
|
12703
|
+
:type ServiceAddress: str
|
|
12704
|
+
:param _DirectConn: 是否走代理,该参数不传,默认为0, 2:内外网直连,1:内网直连, 0:不启用代理配置(只支持32位)
|
|
12705
|
+
:type DirectConn: int
|
|
12706
|
+
"""
|
|
12707
|
+
self._AreaId = None
|
|
12708
|
+
self._Protocol = None
|
|
12709
|
+
self._ServiceName = None
|
|
12710
|
+
self._Levels = None
|
|
12711
|
+
self._ServiceType = None
|
|
12712
|
+
self._ServicePort = None
|
|
12713
|
+
self._ServiceId = None
|
|
12714
|
+
self._ServiceAddress = None
|
|
12715
|
+
self._DirectConn = None
|
|
12716
|
+
|
|
12717
|
+
@property
|
|
12718
|
+
def AreaId(self):
|
|
12719
|
+
r"""业务资源所在的模块id,没有资源模块先创建资源模块(只支持32位)
|
|
12720
|
+
:rtype: int
|
|
12721
|
+
"""
|
|
12722
|
+
return self._AreaId
|
|
12723
|
+
|
|
12724
|
+
@AreaId.setter
|
|
12725
|
+
def AreaId(self, AreaId):
|
|
12726
|
+
self._AreaId = AreaId
|
|
12727
|
+
|
|
12728
|
+
@property
|
|
12729
|
+
def Protocol(self):
|
|
12730
|
+
r"""业务资源协议类型,3:所有,2:UDP,1:TCP(只支持32位)
|
|
12731
|
+
:rtype: int
|
|
12732
|
+
"""
|
|
12733
|
+
return self._Protocol
|
|
12734
|
+
|
|
12735
|
+
@Protocol.setter
|
|
12736
|
+
def Protocol(self, Protocol):
|
|
12737
|
+
self._Protocol = Protocol
|
|
12738
|
+
|
|
12739
|
+
@property
|
|
12740
|
+
def ServiceName(self):
|
|
12741
|
+
r"""业务资源名称,同一个资源模块下面不可重复
|
|
12742
|
+
:rtype: str
|
|
12743
|
+
"""
|
|
12744
|
+
return self._ServiceName
|
|
12745
|
+
|
|
12746
|
+
@ServiceName.setter
|
|
12747
|
+
def ServiceName(self, ServiceName):
|
|
12748
|
+
self._ServiceName = ServiceName
|
|
12749
|
+
|
|
12750
|
+
@property
|
|
12751
|
+
def Levels(self):
|
|
12752
|
+
r"""业务资源优先级 1-65535(只支持32位)
|
|
12753
|
+
:rtype: int
|
|
12754
|
+
"""
|
|
12755
|
+
return self._Levels
|
|
12756
|
+
|
|
12757
|
+
@Levels.setter
|
|
12758
|
+
def Levels(self, Levels):
|
|
12759
|
+
self._Levels = Levels
|
|
12760
|
+
|
|
12761
|
+
@property
|
|
12762
|
+
def ServiceType(self):
|
|
12763
|
+
r"""业务资源类型:ip,domain,ip_section,对应ip、域名、ip段
|
|
12764
|
+
:rtype: str
|
|
12765
|
+
"""
|
|
12766
|
+
return self._ServiceType
|
|
12767
|
+
|
|
12768
|
+
@ServiceType.setter
|
|
12769
|
+
def ServiceType(self, ServiceType):
|
|
12770
|
+
self._ServiceType = ServiceType
|
|
12771
|
+
|
|
12772
|
+
@property
|
|
12773
|
+
def ServicePort(self):
|
|
12774
|
+
r"""业务资源端口 all,1-65535
|
|
12775
|
+
:rtype: str
|
|
12776
|
+
"""
|
|
12777
|
+
return self._ServicePort
|
|
12778
|
+
|
|
12779
|
+
@ServicePort.setter
|
|
12780
|
+
def ServicePort(self, ServicePort):
|
|
12781
|
+
self._ServicePort = ServicePort
|
|
12782
|
+
|
|
12783
|
+
@property
|
|
12784
|
+
def ServiceId(self):
|
|
12785
|
+
r"""修改业务资源的id(只支持32位)
|
|
12786
|
+
:rtype: int
|
|
12787
|
+
"""
|
|
12788
|
+
return self._ServiceId
|
|
12789
|
+
|
|
12790
|
+
@ServiceId.setter
|
|
12791
|
+
def ServiceId(self, ServiceId):
|
|
12792
|
+
self._ServiceId = ServiceId
|
|
12793
|
+
|
|
12794
|
+
@property
|
|
12795
|
+
def ServiceAddress(self):
|
|
12796
|
+
r"""业务资源地址(ip、域名、ip段)
|
|
12797
|
+
:rtype: str
|
|
12798
|
+
"""
|
|
12799
|
+
return self._ServiceAddress
|
|
12800
|
+
|
|
12801
|
+
@ServiceAddress.setter
|
|
12802
|
+
def ServiceAddress(self, ServiceAddress):
|
|
12803
|
+
self._ServiceAddress = ServiceAddress
|
|
12804
|
+
|
|
12805
|
+
@property
|
|
12806
|
+
def DirectConn(self):
|
|
12807
|
+
r"""是否走代理,该参数不传,默认为0, 2:内外网直连,1:内网直连, 0:不启用代理配置(只支持32位)
|
|
12808
|
+
:rtype: int
|
|
12809
|
+
"""
|
|
12810
|
+
return self._DirectConn
|
|
12811
|
+
|
|
12812
|
+
@DirectConn.setter
|
|
12813
|
+
def DirectConn(self, DirectConn):
|
|
12814
|
+
self._DirectConn = DirectConn
|
|
12815
|
+
|
|
12816
|
+
|
|
12817
|
+
def _deserialize(self, params):
|
|
12818
|
+
self._AreaId = params.get("AreaId")
|
|
12819
|
+
self._Protocol = params.get("Protocol")
|
|
12820
|
+
self._ServiceName = params.get("ServiceName")
|
|
12821
|
+
self._Levels = params.get("Levels")
|
|
12822
|
+
self._ServiceType = params.get("ServiceType")
|
|
12823
|
+
self._ServicePort = params.get("ServicePort")
|
|
12824
|
+
self._ServiceId = params.get("ServiceId")
|
|
12825
|
+
self._ServiceAddress = params.get("ServiceAddress")
|
|
12826
|
+
self._DirectConn = params.get("DirectConn")
|
|
12827
|
+
memeber_set = set(params.keys())
|
|
12828
|
+
for name, value in vars(self).items():
|
|
12829
|
+
property_name = name[1:]
|
|
12830
|
+
if property_name in memeber_set:
|
|
12831
|
+
memeber_set.remove(property_name)
|
|
12832
|
+
if len(memeber_set) > 0:
|
|
12833
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12834
|
+
|
|
12835
|
+
|
|
12836
|
+
|
|
12837
|
+
class ModifyBusinessResourceResponse(AbstractModel):
|
|
12838
|
+
r"""ModifyBusinessResource返回参数结构体
|
|
12839
|
+
|
|
12840
|
+
"""
|
|
12841
|
+
|
|
12842
|
+
def __init__(self):
|
|
12843
|
+
r"""
|
|
12844
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12845
|
+
:type RequestId: str
|
|
12846
|
+
"""
|
|
12847
|
+
self._RequestId = None
|
|
12848
|
+
|
|
12849
|
+
@property
|
|
12850
|
+
def RequestId(self):
|
|
12851
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12852
|
+
:rtype: str
|
|
12853
|
+
"""
|
|
12854
|
+
return self._RequestId
|
|
12855
|
+
|
|
12856
|
+
@RequestId.setter
|
|
12857
|
+
def RequestId(self, RequestId):
|
|
12858
|
+
self._RequestId = RequestId
|
|
12859
|
+
|
|
12860
|
+
|
|
12861
|
+
def _deserialize(self, params):
|
|
12862
|
+
self._RequestId = params.get("RequestId")
|
|
12863
|
+
|
|
12864
|
+
|
|
12602
12865
|
class ModifyDeviceTrustStatusRequest(AbstractModel):
|
|
12603
12866
|
r"""ModifyDeviceTrustStatus请求参数结构体
|
|
12604
12867
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ioa
|
|
3
|
-
Version: 3.1.
|
|
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.
|
|
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.89
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|