tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ags/v20250920/ags_client.py +46 -0
- tencentcloud/ags/v20250920/ags_client_async.py +36 -0
- tencentcloud/ags/v20250920/errorcodes.py +45 -0
- tencentcloud/ags/v20250920/models.py +1704 -110
- tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
- tencentcloud/ai3d/v20250513/models.py +78 -36
- tencentcloud/aiart/v20221229/aiart_client.py +46 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
- tencentcloud/aiart/v20221229/models.py +289 -0
- tencentcloud/ams/v20201229/models.py +101 -0
- tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
- tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
- tencentcloud/antiddos/v20200309/models.py +1671 -97
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/apm_client_async.py +18 -0
- tencentcloud/apm/v20210622/errorcodes.py +3 -0
- tencentcloud/apm/v20210622/models.py +1678 -78
- tencentcloud/asr/v20190614/models.py +100 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +475 -338
- tencentcloud/bh/v20230418/models.py +179 -6
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/billing_client_async.py +18 -0
- tencentcloud/billing/v20180709/models.py +328 -6
- tencentcloud/cam/v20190116/models.py +111 -2
- tencentcloud/car/v20220110/car_client.py +23 -0
- tencentcloud/car/v20220110/car_client_async.py +18 -0
- tencentcloud/car/v20220110/models.py +109 -0
- tencentcloud/cbs/v20170312/models.py +14 -14
- tencentcloud/ccc/v20200210/ccc_client.py +42 -13
- tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +256 -4
- tencentcloud/cdb/v20170320/models.py +37 -16
- tencentcloud/cdc/v20201214/models.py +92 -124
- tencentcloud/cdn/v20180606/cdn_client.py +0 -78
- tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +464 -1028
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
- tencentcloud/cdwch/v20200915/models.py +555 -0
- tencentcloud/cdwdoris/v20211228/models.py +505 -0
- tencentcloud/cfs/v20190719/errorcodes.py +1 -1
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/cfw/v20190904/cfw_client.py +278 -23
- tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
- tencentcloud/cfw/v20190904/models.py +3319 -1154
- tencentcloud/chdfs/v20201112/models.py +150 -0
- tencentcloud/ckafka/v20190819/models.py +458 -282
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/clb_client_async.py +18 -0
- tencentcloud/clb/v20180317/models.py +230 -130
- tencentcloud/cloudapp/v20220530/models.py +190 -36
- tencentcloud/cloudaudit/v20190319/models.py +32 -4
- tencentcloud/cloudmate/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
- tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
- tencentcloud/cloudmate/v20251030/models.py +387 -0
- tencentcloud/cls/v20201016/cls_client.py +1064 -0
- tencentcloud/cls/v20201016/cls_client_async.py +860 -26
- tencentcloud/cls/v20201016/models.py +10246 -384
- tencentcloud/cme/v20191029/models.py +23 -0
- tencentcloud/csip/v20221121/models.py +317 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +28 -8
- tencentcloud/cwp/v20180228/cwp_client.py +0 -188
- tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
- tencentcloud/cwp/v20180228/models.py +1097 -1814
- tencentcloud/cynosdb/v20190107/models.py +181 -48
- tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
- tencentcloud/dataagent/v20250513/models.py +1477 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
- tencentcloud/dbbrain/v20210527/models.py +261 -15
- tencentcloud/dbs/v20211108/dbs_client.py +69 -0
- tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
- tencentcloud/dbs/v20211108/errorcodes.py +15 -0
- tencentcloud/dbs/v20211108/models.py +1173 -27
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
- tencentcloud/dlc/v20210125/errorcodes.py +15 -0
- tencentcloud/dlc/v20210125/models.py +1016 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
- tencentcloud/dnspod/v20210323/models.py +4 -4
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/emr_client_async.py +36 -0
- tencentcloud/emr/v20190103/models.py +625 -2
- tencentcloud/es/v20180416/errorcodes.py +15 -0
- tencentcloud/es/v20180416/es_client.py +115 -0
- tencentcloud/es/v20180416/es_client_async.py +90 -0
- tencentcloud/es/v20180416/models.py +498 -4
- tencentcloud/ess/v20201111/ess_client.py +153 -6
- tencentcloud/ess/v20201111/ess_client_async.py +128 -6
- tencentcloud/ess/v20201111/models.py +1496 -58
- tencentcloud/essbasic/v20210526/models.py +129 -23
- tencentcloud/evt/v20250217/evt_client.py +46 -0
- tencentcloud/evt/v20250217/evt_client_async.py +36 -0
- tencentcloud/evt/v20250217/models.py +188 -0
- tencentcloud/faceid/v20180301/models.py +10 -4
- tencentcloud/gaap/v20180529/models.py +260 -352
- tencentcloud/gs/v20191118/models.py +150 -4
- tencentcloud/gwlb/v20240906/models.py +48 -70
- tencentcloud/iai/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/models.py +4 -4
- tencentcloud/igtm/v20231024/errorcodes.py +1 -1
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/ims/v20201229/ims_client_async.py +1 -1
- tencentcloud/ioa/v20220601/models.py +60 -0
- tencentcloud/keewidb/v20220308/models.py +52 -68
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +8 -0
- tencentcloud/live/v20180801/errorcodes.py +6 -0
- tencentcloud/live/v20180801/live_client.py +143 -0
- tencentcloud/live/v20180801/live_client_async.py +113 -0
- tencentcloud/live/v20180801/models.py +914 -311
- tencentcloud/lke/v20231130/lke_client.py +48 -1
- tencentcloud/lke/v20231130/lke_client_async.py +43 -1
- tencentcloud/lke/v20231130/models.py +2940 -459
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +2 -6
- tencentcloud/lowcode/v20210108/models.py +30 -0
- tencentcloud/mna/v20210119/models.py +18 -2
- tencentcloud/mongodb/v20190725/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +258 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +3007 -140
- tencentcloud/mps/v20190612/mps_client.py +115 -0
- tencentcloud/mps/v20190612/mps_client_async.py +90 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +210 -4
- tencentcloud/ocr/v20181119/models.py +72 -4
- tencentcloud/ocr/v20181119/ocr_client.py +12 -8
- tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
- tencentcloud/partners/v20180321/models.py +88 -92
- tencentcloud/pts/v20210728/models.py +206 -0
- tencentcloud/rce/v20250425/__init__.py +0 -0
- tencentcloud/rce/v20250425/errorcodes.py +15 -0
- tencentcloud/rce/v20250425/models.py +301 -0
- tencentcloud/rce/v20250425/rce_client.py +49 -0
- tencentcloud/rce/v20250425/rce_client_async.py +44 -0
- tencentcloud/redis/v20180412/models.py +65 -70
- tencentcloud/rum/v20210622/models.py +548 -0
- tencentcloud/rum/v20210622/rum_client.py +23 -0
- tencentcloud/rum/v20210622/rum_client_async.py +18 -0
- tencentcloud/scf/v20180416/models.py +28 -2
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +991 -70
- tencentcloud/ssl/v20191205/ssl_client.py +2 -2
- tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
- tencentcloud/ssm/v20190923/models.py +134 -0
- tencentcloud/svp/v20240125/models.py +35 -20
- tencentcloud/tag/v20180813/models.py +34 -54
- tencentcloud/tat/v20201028/models.py +2 -0
- tencentcloud/tcaplusdb/v20190823/models.py +0 -337
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
- tencentcloud/tcb/v20180608/errorcodes.py +15 -12
- tencentcloud/tcb/v20180608/models.py +5761 -8383
- tencentcloud/tcb/v20180608/tcb_client.py +0 -276
- tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
- tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
- tencentcloud/tcbr/v20220217/models.py +4193 -1389
- tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
- tencentcloud/tcr/v20190924/models.py +727 -61
- tencentcloud/tcr/v20190924/tcr_client.py +92 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
- tencentcloud/tcss/v20201101/models.py +30 -0
- tencentcloud/tdai/v20250717/models.py +440 -2
- tencentcloud/tdai/v20250717/tdai_client.py +23 -0
- tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +432 -4
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
- tencentcloud/teo/v20220901/errorcodes.py +39 -0
- tencentcloud/teo/v20220901/models.py +596 -79
- tencentcloud/teo/v20220901/teo_client.py +107 -1
- tencentcloud/teo/v20220901/teo_client_async.py +97 -1
- tencentcloud/thpc/v20211109/models.py +14 -14
- tencentcloud/thpc/v20220401/models.py +14 -14
- tencentcloud/thpc/v20230321/models.py +20 -54
- tencentcloud/tione/v20211111/errorcodes.py +9 -0
- tencentcloud/tione/v20211111/models.py +910 -73
- tencentcloud/tione/v20211111/tione_client.py +69 -0
- tencentcloud/tione/v20211111/tione_client_async.py +54 -0
- tencentcloud/tke/v20180525/models.py +468 -18
- tencentcloud/tke/v20180525/tke_client.py +69 -0
- tencentcloud/tke/v20180525/tke_client_async.py +54 -0
- tencentcloud/tke/v20220501/models.py +539 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- tencentcloud/trocket/v20230308/models.py +42 -21
- tencentcloud/trocket/v20230308/trocket_client.py +2 -1
- tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +173 -30
- tencentcloud/tse/v20201207/models.py +42 -0
- tencentcloud/tsf/v20180326/errorcodes.py +4 -4
- tencentcloud/tsf/v20180326/models.py +15 -510
- tencentcloud/tsf/v20180326/tsf_client.py +66 -47
- tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/tts/v20190823/tts_client_async.py +1 -1
- tencentcloud/vclm/v20240523/models.py +383 -0
- tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
- tencentcloud/vcube/v20220410/models.py +30 -0
- tencentcloud/vdb/v20230616/models.py +567 -0
- tencentcloud/vdb/v20230616/vdb_client.py +69 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
- tencentcloud/vm/v20210922/models.py +116 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +4107 -622
- tencentcloud/vod/v20180717/vod_client.py +72 -3
- tencentcloud/vod/v20180717/vod_client_async.py +57 -3
- tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- tencentcloud/vpc/v20170312/models.py +387 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
- tencentcloud/waf/v20180125/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +970 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/waf/v20180125/waf_client_async.py +36 -0
- tencentcloud/wedata/v20210820/models.py +2851 -29
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
- tencentcloud/wedata/v20250806/errorcodes.py +21 -0
- tencentcloud/wedata/v20250806/models.py +40999 -15704
- tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
- tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
- tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
- tencentcloud/weilingwith/v20230427/models.py +17 -336
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
- tencentcloud/wimgs/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
- tencentcloud/wimgs/v20251106/models.py +132 -0
- tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
- tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
- tencentcloud/wsa/v20250508/errorcodes.py +6 -0
- tencentcloud/wsa/v20250508/models.py +17 -2
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
|
@@ -1751,6 +1751,29 @@ class TkeClient(AbstractClient):
|
|
|
1751
1751
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1752
1752
|
|
|
1753
1753
|
|
|
1754
|
+
def DeleteUserPermissions(self, request):
|
|
1755
|
+
r"""使用请求中提供的权限集合,删除用户对应的权限
|
|
1756
|
+
|
|
1757
|
+
:param request: Request instance for DeleteUserPermissions.
|
|
1758
|
+
:type request: :class:`tencentcloud.tke.v20180525.models.DeleteUserPermissionsRequest`
|
|
1759
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.DeleteUserPermissionsResponse`
|
|
1760
|
+
|
|
1761
|
+
"""
|
|
1762
|
+
try:
|
|
1763
|
+
params = request._serialize()
|
|
1764
|
+
headers = request.headers
|
|
1765
|
+
body = self.call("DeleteUserPermissions", params, headers=headers)
|
|
1766
|
+
response = json.loads(body)
|
|
1767
|
+
model = models.DeleteUserPermissionsResponse()
|
|
1768
|
+
model._deserialize(response["Response"])
|
|
1769
|
+
return model
|
|
1770
|
+
except Exception as e:
|
|
1771
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1772
|
+
raise
|
|
1773
|
+
else:
|
|
1774
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1775
|
+
|
|
1776
|
+
|
|
1754
1777
|
def DescribeAddon(self, request):
|
|
1755
1778
|
r"""获取addon列表
|
|
1756
1779
|
|
|
@@ -4097,6 +4120,29 @@ class TkeClient(AbstractClient):
|
|
|
4097
4120
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4098
4121
|
|
|
4099
4122
|
|
|
4123
|
+
def DescribeUserPermissions(self, request):
|
|
4124
|
+
r"""查询一个指定用户在当前地域下所有 TKE 集群中的聚合权限信息。返回用户在各集群中的 ClusterRoleBinding 和 RoleBinding 信息。
|
|
4125
|
+
|
|
4126
|
+
:param request: Request instance for DescribeUserPermissions.
|
|
4127
|
+
:type request: :class:`tencentcloud.tke.v20180525.models.DescribeUserPermissionsRequest`
|
|
4128
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.DescribeUserPermissionsResponse`
|
|
4129
|
+
|
|
4130
|
+
"""
|
|
4131
|
+
try:
|
|
4132
|
+
params = request._serialize()
|
|
4133
|
+
headers = request.headers
|
|
4134
|
+
body = self.call("DescribeUserPermissions", params, headers=headers)
|
|
4135
|
+
response = json.loads(body)
|
|
4136
|
+
model = models.DescribeUserPermissionsResponse()
|
|
4137
|
+
model._deserialize(response["Response"])
|
|
4138
|
+
return model
|
|
4139
|
+
except Exception as e:
|
|
4140
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4141
|
+
raise
|
|
4142
|
+
else:
|
|
4143
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4144
|
+
|
|
4145
|
+
|
|
4100
4146
|
def DescribeVersions(self, request):
|
|
4101
4147
|
r"""获取集群版本信息
|
|
4102
4148
|
|
|
@@ -4557,6 +4603,29 @@ class TkeClient(AbstractClient):
|
|
|
4557
4603
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4558
4604
|
|
|
4559
4605
|
|
|
4606
|
+
def GrantUserPermissions(self, request):
|
|
4607
|
+
r"""使用请求中提供的权限集合,为用户授予对应的 RBAC 权限。
|
|
4608
|
+
|
|
4609
|
+
:param request: Request instance for GrantUserPermissions.
|
|
4610
|
+
:type request: :class:`tencentcloud.tke.v20180525.models.GrantUserPermissionsRequest`
|
|
4611
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.GrantUserPermissionsResponse`
|
|
4612
|
+
|
|
4613
|
+
"""
|
|
4614
|
+
try:
|
|
4615
|
+
params = request._serialize()
|
|
4616
|
+
headers = request.headers
|
|
4617
|
+
body = self.call("GrantUserPermissions", params, headers=headers)
|
|
4618
|
+
response = json.loads(body)
|
|
4619
|
+
model = models.GrantUserPermissionsResponse()
|
|
4620
|
+
model._deserialize(response["Response"])
|
|
4621
|
+
return model
|
|
4622
|
+
except Exception as e:
|
|
4623
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4624
|
+
raise
|
|
4625
|
+
else:
|
|
4626
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4627
|
+
|
|
4628
|
+
|
|
4560
4629
|
def InstallAddon(self, request):
|
|
4561
4630
|
r"""为目标集群安装一个addon
|
|
4562
4631
|
|
|
@@ -1375,6 +1375,24 @@ class TkeClient(AbstractClient):
|
|
|
1375
1375
|
|
|
1376
1376
|
return await self.call_and_deserialize(**kwargs)
|
|
1377
1377
|
|
|
1378
|
+
async def DeleteUserPermissions(
|
|
1379
|
+
self,
|
|
1380
|
+
request: models.DeleteUserPermissionsRequest,
|
|
1381
|
+
opts: Dict = None,
|
|
1382
|
+
) -> models.DeleteUserPermissionsResponse:
|
|
1383
|
+
"""
|
|
1384
|
+
使用请求中提供的权限集合,删除用户对应的权限
|
|
1385
|
+
"""
|
|
1386
|
+
|
|
1387
|
+
kwargs = {}
|
|
1388
|
+
kwargs["action"] = "DeleteUserPermissions"
|
|
1389
|
+
kwargs["params"] = request._serialize()
|
|
1390
|
+
kwargs["resp_cls"] = models.DeleteUserPermissionsResponse
|
|
1391
|
+
kwargs["headers"] = request.headers
|
|
1392
|
+
kwargs["opts"] = opts or {}
|
|
1393
|
+
|
|
1394
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1395
|
+
|
|
1378
1396
|
async def DescribeAddon(
|
|
1379
1397
|
self,
|
|
1380
1398
|
request: models.DescribeAddonRequest,
|
|
@@ -3211,6 +3229,24 @@ class TkeClient(AbstractClient):
|
|
|
3211
3229
|
|
|
3212
3230
|
return await self.call_and_deserialize(**kwargs)
|
|
3213
3231
|
|
|
3232
|
+
async def DescribeUserPermissions(
|
|
3233
|
+
self,
|
|
3234
|
+
request: models.DescribeUserPermissionsRequest,
|
|
3235
|
+
opts: Dict = None,
|
|
3236
|
+
) -> models.DescribeUserPermissionsResponse:
|
|
3237
|
+
"""
|
|
3238
|
+
查询一个指定用户在当前地域下所有 TKE 集群中的聚合权限信息。返回用户在各集群中的 ClusterRoleBinding 和 RoleBinding 信息。
|
|
3239
|
+
"""
|
|
3240
|
+
|
|
3241
|
+
kwargs = {}
|
|
3242
|
+
kwargs["action"] = "DescribeUserPermissions"
|
|
3243
|
+
kwargs["params"] = request._serialize()
|
|
3244
|
+
kwargs["resp_cls"] = models.DescribeUserPermissionsResponse
|
|
3245
|
+
kwargs["headers"] = request.headers
|
|
3246
|
+
kwargs["opts"] = opts or {}
|
|
3247
|
+
|
|
3248
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3249
|
+
|
|
3214
3250
|
async def DescribeVersions(
|
|
3215
3251
|
self,
|
|
3216
3252
|
request: models.DescribeVersionsRequest,
|
|
@@ -3571,6 +3607,24 @@ class TkeClient(AbstractClient):
|
|
|
3571
3607
|
|
|
3572
3608
|
return await self.call_and_deserialize(**kwargs)
|
|
3573
3609
|
|
|
3610
|
+
async def GrantUserPermissions(
|
|
3611
|
+
self,
|
|
3612
|
+
request: models.GrantUserPermissionsRequest,
|
|
3613
|
+
opts: Dict = None,
|
|
3614
|
+
) -> models.GrantUserPermissionsResponse:
|
|
3615
|
+
"""
|
|
3616
|
+
使用请求中提供的权限集合,为用户授予对应的 RBAC 权限。
|
|
3617
|
+
"""
|
|
3618
|
+
|
|
3619
|
+
kwargs = {}
|
|
3620
|
+
kwargs["action"] = "GrantUserPermissions"
|
|
3621
|
+
kwargs["params"] = request._serialize()
|
|
3622
|
+
kwargs["resp_cls"] = models.GrantUserPermissionsResponse
|
|
3623
|
+
kwargs["headers"] = request.headers
|
|
3624
|
+
kwargs["opts"] = opts or {}
|
|
3625
|
+
|
|
3626
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3627
|
+
|
|
3574
3628
|
async def InstallAddon(
|
|
3575
3629
|
self,
|
|
3576
3630
|
request: models.InstallAddonRequest,
|