tencentcloud-sdk-python-organization 3.1.78__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.
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/setup.py +1 -1
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/tencentcloud/organization/v20210331/errorcodes.py +3 -0
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/tencentcloud/organization/v20210331/models.py +79 -0
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/tencentcloud/organization/v20210331/organization_client.py +23 -0
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/tencentcloud/organization/v20210331/organization_client_async.py +18 -0
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/tencentcloud_sdk_python_organization.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_organization-3.1.108/tencentcloud_sdk_python_organization.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_organization-3.1.78/tencentcloud_sdk_python_organization.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/README.rst +0 -0
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/setup.cfg +0 -0
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/tencentcloud/organization/__init__.py +0 -0
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/tencentcloud/organization/v20181225/__init__.py +0 -0
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/tencentcloud/organization/v20181225/errorcodes.py +0 -0
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/tencentcloud/organization/v20181225/models.py +0 -0
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/tencentcloud/organization/v20181225/organization_client.py +0 -0
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/tencentcloud/organization/v20181225/organization_client_async.py +0 -0
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/tencentcloud/organization/v20210331/__init__.py +0 -0
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/tencentcloud_sdk_python_organization.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/tencentcloud_sdk_python_organization.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_organization-3.1.78 → tencentcloud_sdk_python_organization-3.1.108}/tencentcloud_sdk_python_organization.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-organization
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.108
|
|
4
4
|
Summary: Tencent Cloud Organization 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.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-organization',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
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 Organization SDK for Python',
|
|
@@ -926,6 +926,9 @@ UNSUPPORTEDOPERATION_MEMBERNOTALLOWQUIT = 'UnsupportedOperation.MemberNotAllowQu
|
|
|
926
926
|
# 成员不支持操作。
|
|
927
927
|
UNSUPPORTEDOPERATION_MEMBERUNSUPPORTEDOPERATION = 'UnsupportedOperation.MemberUnsupportedOperation'
|
|
928
928
|
|
|
929
|
+
# 操作被禁止。
|
|
930
|
+
UNSUPPORTEDOPERATION_OPERATIONFORBIDDEN = 'UnsupportedOperation.OperationForbidden'
|
|
931
|
+
|
|
929
932
|
# 存在在途订单。
|
|
930
933
|
UNSUPPORTEDOPERATION_ORDERINPROGRESSEXISTED = 'UnsupportedOperation.OrderInProgressExisted'
|
|
931
934
|
|
|
@@ -9387,6 +9387,85 @@ class GetGroupResponse(AbstractModel):
|
|
|
9387
9387
|
self._RequestId = params.get("RequestId")
|
|
9388
9388
|
|
|
9389
9389
|
|
|
9390
|
+
class GetIPWhitelistRequest(AbstractModel):
|
|
9391
|
+
r"""GetIPWhitelist请求参数结构体
|
|
9392
|
+
|
|
9393
|
+
"""
|
|
9394
|
+
|
|
9395
|
+
def __init__(self):
|
|
9396
|
+
r"""
|
|
9397
|
+
:param _ZoneId: 空间ID
|
|
9398
|
+
:type ZoneId: str
|
|
9399
|
+
"""
|
|
9400
|
+
self._ZoneId = None
|
|
9401
|
+
|
|
9402
|
+
@property
|
|
9403
|
+
def ZoneId(self):
|
|
9404
|
+
r"""空间ID
|
|
9405
|
+
:rtype: str
|
|
9406
|
+
"""
|
|
9407
|
+
return self._ZoneId
|
|
9408
|
+
|
|
9409
|
+
@ZoneId.setter
|
|
9410
|
+
def ZoneId(self, ZoneId):
|
|
9411
|
+
self._ZoneId = ZoneId
|
|
9412
|
+
|
|
9413
|
+
|
|
9414
|
+
def _deserialize(self, params):
|
|
9415
|
+
self._ZoneId = params.get("ZoneId")
|
|
9416
|
+
memeber_set = set(params.keys())
|
|
9417
|
+
for name, value in vars(self).items():
|
|
9418
|
+
property_name = name[1:]
|
|
9419
|
+
if property_name in memeber_set:
|
|
9420
|
+
memeber_set.remove(property_name)
|
|
9421
|
+
if len(memeber_set) > 0:
|
|
9422
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9423
|
+
|
|
9424
|
+
|
|
9425
|
+
|
|
9426
|
+
class GetIPWhitelistResponse(AbstractModel):
|
|
9427
|
+
r"""GetIPWhitelist返回参数结构体
|
|
9428
|
+
|
|
9429
|
+
"""
|
|
9430
|
+
|
|
9431
|
+
def __init__(self):
|
|
9432
|
+
r"""
|
|
9433
|
+
:param _IpWhitelist: ip白名单
|
|
9434
|
+
:type IpWhitelist: list of str
|
|
9435
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9436
|
+
:type RequestId: str
|
|
9437
|
+
"""
|
|
9438
|
+
self._IpWhitelist = None
|
|
9439
|
+
self._RequestId = None
|
|
9440
|
+
|
|
9441
|
+
@property
|
|
9442
|
+
def IpWhitelist(self):
|
|
9443
|
+
r"""ip白名单
|
|
9444
|
+
:rtype: list of str
|
|
9445
|
+
"""
|
|
9446
|
+
return self._IpWhitelist
|
|
9447
|
+
|
|
9448
|
+
@IpWhitelist.setter
|
|
9449
|
+
def IpWhitelist(self, IpWhitelist):
|
|
9450
|
+
self._IpWhitelist = IpWhitelist
|
|
9451
|
+
|
|
9452
|
+
@property
|
|
9453
|
+
def RequestId(self):
|
|
9454
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9455
|
+
:rtype: str
|
|
9456
|
+
"""
|
|
9457
|
+
return self._RequestId
|
|
9458
|
+
|
|
9459
|
+
@RequestId.setter
|
|
9460
|
+
def RequestId(self, RequestId):
|
|
9461
|
+
self._RequestId = RequestId
|
|
9462
|
+
|
|
9463
|
+
|
|
9464
|
+
def _deserialize(self, params):
|
|
9465
|
+
self._IpWhitelist = params.get("IpWhitelist")
|
|
9466
|
+
self._RequestId = params.get("RequestId")
|
|
9467
|
+
|
|
9468
|
+
|
|
9390
9469
|
class GetProvisioningTaskStatusRequest(AbstractModel):
|
|
9391
9470
|
r"""GetProvisioningTaskStatus请求参数结构体
|
|
9392
9471
|
|
|
@@ -1820,6 +1820,29 @@ class OrganizationClient(AbstractClient):
|
|
|
1820
1820
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1821
1821
|
|
|
1822
1822
|
|
|
1823
|
+
def GetIPWhitelist(self, request):
|
|
1824
|
+
r"""获取CIC的ip白名单
|
|
1825
|
+
|
|
1826
|
+
:param request: Request instance for GetIPWhitelist.
|
|
1827
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.GetIPWhitelistRequest`
|
|
1828
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.GetIPWhitelistResponse`
|
|
1829
|
+
|
|
1830
|
+
"""
|
|
1831
|
+
try:
|
|
1832
|
+
params = request._serialize()
|
|
1833
|
+
headers = request.headers
|
|
1834
|
+
body = self.call("GetIPWhitelist", params, headers=headers)
|
|
1835
|
+
response = json.loads(body)
|
|
1836
|
+
model = models.GetIPWhitelistResponse()
|
|
1837
|
+
model._deserialize(response["Response"])
|
|
1838
|
+
return model
|
|
1839
|
+
except Exception as e:
|
|
1840
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1841
|
+
raise
|
|
1842
|
+
else:
|
|
1843
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1844
|
+
|
|
1845
|
+
|
|
1823
1846
|
def GetProvisioningTaskStatus(self, request):
|
|
1824
1847
|
r"""查询用户同步异步任务的状态
|
|
1825
1848
|
|
|
@@ -1429,6 +1429,24 @@ class OrganizationClient(AbstractClient):
|
|
|
1429
1429
|
|
|
1430
1430
|
return await self.call_and_deserialize(**kwargs)
|
|
1431
1431
|
|
|
1432
|
+
async def GetIPWhitelist(
|
|
1433
|
+
self,
|
|
1434
|
+
request: models.GetIPWhitelistRequest,
|
|
1435
|
+
opts: Dict = None,
|
|
1436
|
+
) -> models.GetIPWhitelistResponse:
|
|
1437
|
+
"""
|
|
1438
|
+
获取CIC的ip白名单
|
|
1439
|
+
"""
|
|
1440
|
+
|
|
1441
|
+
kwargs = {}
|
|
1442
|
+
kwargs["action"] = "GetIPWhitelist"
|
|
1443
|
+
kwargs["params"] = request._serialize()
|
|
1444
|
+
kwargs["resp_cls"] = models.GetIPWhitelistResponse
|
|
1445
|
+
kwargs["headers"] = request.headers
|
|
1446
|
+
kwargs["opts"] = opts or {}
|
|
1447
|
+
|
|
1448
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1449
|
+
|
|
1432
1450
|
async def GetProvisioningTaskStatus(
|
|
1433
1451
|
self,
|
|
1434
1452
|
request: models.GetProvisioningTaskStatusRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-organization
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.108
|
|
4
4
|
Summary: Tencent Cloud Organization 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.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.78
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|