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
|
@@ -6209,13 +6209,21 @@ class CreateClusterMaintenanceWindowAndExclusionsRequest(AbstractModel):
|
|
|
6209
6209
|
|
|
6210
6210
|
def __init__(self):
|
|
6211
6211
|
r"""
|
|
6212
|
-
:param _ClusterID: 集群ID
|
|
6212
|
+
:param _ClusterID: 集群ID,可以从容器服务集群控制台获取(https://console.cloud.tencent.com/tke2/cluster)。
|
|
6213
6213
|
:type ClusterID: str
|
|
6214
6214
|
:param _MaintenanceTime: 维护开始时间
|
|
6215
6215
|
:type MaintenanceTime: str
|
|
6216
6216
|
:param _Duration: 维护时长(小时)
|
|
6217
6217
|
:type Duration: int
|
|
6218
|
-
:param _DayOfWeek:
|
|
6218
|
+
:param _DayOfWeek: 维护周期(一周中的哪几天),支持的参数值如下:
|
|
6219
|
+
|
|
6220
|
+
- MO:周一
|
|
6221
|
+
- TU:周二
|
|
6222
|
+
- WE:周三
|
|
6223
|
+
- TH:周四
|
|
6224
|
+
- FR:周五
|
|
6225
|
+
- SA:周六
|
|
6226
|
+
- SU:周日
|
|
6219
6227
|
:type DayOfWeek: list of str
|
|
6220
6228
|
:param _Exclusions: 维护排除项
|
|
6221
6229
|
:type Exclusions: list of MaintenanceExclusion
|
|
@@ -6228,7 +6236,7 @@ class CreateClusterMaintenanceWindowAndExclusionsRequest(AbstractModel):
|
|
|
6228
6236
|
|
|
6229
6237
|
@property
|
|
6230
6238
|
def ClusterID(self):
|
|
6231
|
-
r"""集群ID
|
|
6239
|
+
r"""集群ID,可以从容器服务集群控制台获取(https://console.cloud.tencent.com/tke2/cluster)。
|
|
6232
6240
|
:rtype: str
|
|
6233
6241
|
"""
|
|
6234
6242
|
return self._ClusterID
|
|
@@ -6261,7 +6269,15 @@ class CreateClusterMaintenanceWindowAndExclusionsRequest(AbstractModel):
|
|
|
6261
6269
|
|
|
6262
6270
|
@property
|
|
6263
6271
|
def DayOfWeek(self):
|
|
6264
|
-
r"""
|
|
6272
|
+
r"""维护周期(一周中的哪几天),支持的参数值如下:
|
|
6273
|
+
|
|
6274
|
+
- MO:周一
|
|
6275
|
+
- TU:周二
|
|
6276
|
+
- WE:周三
|
|
6277
|
+
- TH:周四
|
|
6278
|
+
- FR:周五
|
|
6279
|
+
- SA:周六
|
|
6280
|
+
- SU:周日
|
|
6265
6281
|
:rtype: list of str
|
|
6266
6282
|
"""
|
|
6267
6283
|
return self._DayOfWeek
|
|
@@ -9094,11 +9110,25 @@ class CreateGlobalMaintenanceWindowAndExclusionsResponse(AbstractModel):
|
|
|
9094
9110
|
|
|
9095
9111
|
def __init__(self):
|
|
9096
9112
|
r"""
|
|
9113
|
+
:param _ID: 维护窗口ID
|
|
9114
|
+
:type ID: int
|
|
9097
9115
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9098
9116
|
:type RequestId: str
|
|
9099
9117
|
"""
|
|
9118
|
+
self._ID = None
|
|
9100
9119
|
self._RequestId = None
|
|
9101
9120
|
|
|
9121
|
+
@property
|
|
9122
|
+
def ID(self):
|
|
9123
|
+
r"""维护窗口ID
|
|
9124
|
+
:rtype: int
|
|
9125
|
+
"""
|
|
9126
|
+
return self._ID
|
|
9127
|
+
|
|
9128
|
+
@ID.setter
|
|
9129
|
+
def ID(self, ID):
|
|
9130
|
+
self._ID = ID
|
|
9131
|
+
|
|
9102
9132
|
@property
|
|
9103
9133
|
def RequestId(self):
|
|
9104
9134
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -9112,6 +9142,7 @@ class CreateGlobalMaintenanceWindowAndExclusionsResponse(AbstractModel):
|
|
|
9112
9142
|
|
|
9113
9143
|
|
|
9114
9144
|
def _deserialize(self, params):
|
|
9145
|
+
self._ID = params.get("ID")
|
|
9115
9146
|
self._RequestId = params.get("RequestId")
|
|
9116
9147
|
|
|
9117
9148
|
|
|
@@ -11699,14 +11730,14 @@ class DeleteClusterMaintenanceWindowAndExclusionRequest(AbstractModel):
|
|
|
11699
11730
|
|
|
11700
11731
|
def __init__(self):
|
|
11701
11732
|
r"""
|
|
11702
|
-
:param _ClusterID: 集群ID
|
|
11733
|
+
:param _ClusterID: 集群ID,可以从容器服务控制台计划升级功能集群维护窗口页面获取(https://console.cloud.tencent.com/tke2/upgrade-plan)。
|
|
11703
11734
|
:type ClusterID: str
|
|
11704
11735
|
"""
|
|
11705
11736
|
self._ClusterID = None
|
|
11706
11737
|
|
|
11707
11738
|
@property
|
|
11708
11739
|
def ClusterID(self):
|
|
11709
|
-
r"""集群ID
|
|
11740
|
+
r"""集群ID,可以从容器服务控制台计划升级功能集群维护窗口页面获取(https://console.cloud.tencent.com/tke2/upgrade-plan)。
|
|
11710
11741
|
:rtype: str
|
|
11711
11742
|
"""
|
|
11712
11743
|
return self._ClusterID
|
|
@@ -13905,6 +13936,90 @@ class DeleteTKEEdgeClusterResponse(AbstractModel):
|
|
|
13905
13936
|
self._RequestId = params.get("RequestId")
|
|
13906
13937
|
|
|
13907
13938
|
|
|
13939
|
+
class DeleteUserPermissionsRequest(AbstractModel):
|
|
13940
|
+
r"""DeleteUserPermissions请求参数结构体
|
|
13941
|
+
|
|
13942
|
+
"""
|
|
13943
|
+
|
|
13944
|
+
def __init__(self):
|
|
13945
|
+
r"""
|
|
13946
|
+
:param _TargetUin: 要授权的用户的唯一标识符(支持子账号 UIN和角色UIN)
|
|
13947
|
+
:type TargetUin: str
|
|
13948
|
+
:param _Permissions: 用户最终应拥有的完整权限列表。采用声明式语义,传入的列表代表用户最终应该拥有的全部权限,系统会自动计算差异并执行必要的创建/删除操作。为空或不提供时将清除该用户的所有权限。最大支持 100 个权限项。
|
|
13949
|
+
:type Permissions: list of PermissionItem
|
|
13950
|
+
"""
|
|
13951
|
+
self._TargetUin = None
|
|
13952
|
+
self._Permissions = None
|
|
13953
|
+
|
|
13954
|
+
@property
|
|
13955
|
+
def TargetUin(self):
|
|
13956
|
+
r"""要授权的用户的唯一标识符(支持子账号 UIN和角色UIN)
|
|
13957
|
+
:rtype: str
|
|
13958
|
+
"""
|
|
13959
|
+
return self._TargetUin
|
|
13960
|
+
|
|
13961
|
+
@TargetUin.setter
|
|
13962
|
+
def TargetUin(self, TargetUin):
|
|
13963
|
+
self._TargetUin = TargetUin
|
|
13964
|
+
|
|
13965
|
+
@property
|
|
13966
|
+
def Permissions(self):
|
|
13967
|
+
r"""用户最终应拥有的完整权限列表。采用声明式语义,传入的列表代表用户最终应该拥有的全部权限,系统会自动计算差异并执行必要的创建/删除操作。为空或不提供时将清除该用户的所有权限。最大支持 100 个权限项。
|
|
13968
|
+
:rtype: list of PermissionItem
|
|
13969
|
+
"""
|
|
13970
|
+
return self._Permissions
|
|
13971
|
+
|
|
13972
|
+
@Permissions.setter
|
|
13973
|
+
def Permissions(self, Permissions):
|
|
13974
|
+
self._Permissions = Permissions
|
|
13975
|
+
|
|
13976
|
+
|
|
13977
|
+
def _deserialize(self, params):
|
|
13978
|
+
self._TargetUin = params.get("TargetUin")
|
|
13979
|
+
if params.get("Permissions") is not None:
|
|
13980
|
+
self._Permissions = []
|
|
13981
|
+
for item in params.get("Permissions"):
|
|
13982
|
+
obj = PermissionItem()
|
|
13983
|
+
obj._deserialize(item)
|
|
13984
|
+
self._Permissions.append(obj)
|
|
13985
|
+
memeber_set = set(params.keys())
|
|
13986
|
+
for name, value in vars(self).items():
|
|
13987
|
+
property_name = name[1:]
|
|
13988
|
+
if property_name in memeber_set:
|
|
13989
|
+
memeber_set.remove(property_name)
|
|
13990
|
+
if len(memeber_set) > 0:
|
|
13991
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13992
|
+
|
|
13993
|
+
|
|
13994
|
+
|
|
13995
|
+
class DeleteUserPermissionsResponse(AbstractModel):
|
|
13996
|
+
r"""DeleteUserPermissions返回参数结构体
|
|
13997
|
+
|
|
13998
|
+
"""
|
|
13999
|
+
|
|
14000
|
+
def __init__(self):
|
|
14001
|
+
r"""
|
|
14002
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14003
|
+
:type RequestId: str
|
|
14004
|
+
"""
|
|
14005
|
+
self._RequestId = None
|
|
14006
|
+
|
|
14007
|
+
@property
|
|
14008
|
+
def RequestId(self):
|
|
14009
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14010
|
+
:rtype: str
|
|
14011
|
+
"""
|
|
14012
|
+
return self._RequestId
|
|
14013
|
+
|
|
14014
|
+
@RequestId.setter
|
|
14015
|
+
def RequestId(self, RequestId):
|
|
14016
|
+
self._RequestId = RequestId
|
|
14017
|
+
|
|
14018
|
+
|
|
14019
|
+
def _deserialize(self, params):
|
|
14020
|
+
self._RequestId = params.get("RequestId")
|
|
14021
|
+
|
|
14022
|
+
|
|
13908
14023
|
class DescribeAddonRequest(AbstractModel):
|
|
13909
14024
|
r"""DescribeAddon请求参数结构体
|
|
13910
14025
|
|
|
@@ -20917,7 +21032,8 @@ class DescribeGlobalMaintenanceWindowAndExclusionsRequest(AbstractModel):
|
|
|
20917
21032
|
:type Offset: int
|
|
20918
21033
|
:param _Limit: 最大输出条目数,默认为20
|
|
20919
21034
|
:type Limit: int
|
|
20920
|
-
:param _Filters:
|
|
21035
|
+
:param _Filters: 筛选项,支持按照以下字段过滤:
|
|
21036
|
+
- "ID":维护窗口ID,如:10
|
|
20921
21037
|
:type Filters: list of Filter
|
|
20922
21038
|
"""
|
|
20923
21039
|
self._Offset = None
|
|
@@ -20948,7 +21064,8 @@ class DescribeGlobalMaintenanceWindowAndExclusionsRequest(AbstractModel):
|
|
|
20948
21064
|
|
|
20949
21065
|
@property
|
|
20950
21066
|
def Filters(self):
|
|
20951
|
-
r"""
|
|
21067
|
+
r"""筛选项,支持按照以下字段过滤:
|
|
21068
|
+
- "ID":维护窗口ID,如:10
|
|
20952
21069
|
:rtype: list of Filter
|
|
20953
21070
|
"""
|
|
20954
21071
|
return self._Filters
|
|
@@ -27416,6 +27533,107 @@ class DescribeUpgradeTasksResponse(AbstractModel):
|
|
|
27416
27533
|
self._RequestId = params.get("RequestId")
|
|
27417
27534
|
|
|
27418
27535
|
|
|
27536
|
+
class DescribeUserPermissionsRequest(AbstractModel):
|
|
27537
|
+
r"""DescribeUserPermissions请求参数结构体
|
|
27538
|
+
|
|
27539
|
+
"""
|
|
27540
|
+
|
|
27541
|
+
def __init__(self):
|
|
27542
|
+
r"""
|
|
27543
|
+
:param _TargetUin: 要查询的用户的唯一标识符(支持子账号 UIN和角色UIN)
|
|
27544
|
+
:type TargetUin: str
|
|
27545
|
+
"""
|
|
27546
|
+
self._TargetUin = None
|
|
27547
|
+
|
|
27548
|
+
@property
|
|
27549
|
+
def TargetUin(self):
|
|
27550
|
+
r"""要查询的用户的唯一标识符(支持子账号 UIN和角色UIN)
|
|
27551
|
+
:rtype: str
|
|
27552
|
+
"""
|
|
27553
|
+
return self._TargetUin
|
|
27554
|
+
|
|
27555
|
+
@TargetUin.setter
|
|
27556
|
+
def TargetUin(self, TargetUin):
|
|
27557
|
+
self._TargetUin = TargetUin
|
|
27558
|
+
|
|
27559
|
+
|
|
27560
|
+
def _deserialize(self, params):
|
|
27561
|
+
self._TargetUin = params.get("TargetUin")
|
|
27562
|
+
memeber_set = set(params.keys())
|
|
27563
|
+
for name, value in vars(self).items():
|
|
27564
|
+
property_name = name[1:]
|
|
27565
|
+
if property_name in memeber_set:
|
|
27566
|
+
memeber_set.remove(property_name)
|
|
27567
|
+
if len(memeber_set) > 0:
|
|
27568
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
27569
|
+
|
|
27570
|
+
|
|
27571
|
+
|
|
27572
|
+
class DescribeUserPermissionsResponse(AbstractModel):
|
|
27573
|
+
r"""DescribeUserPermissions返回参数结构体
|
|
27574
|
+
|
|
27575
|
+
"""
|
|
27576
|
+
|
|
27577
|
+
def __init__(self):
|
|
27578
|
+
r"""
|
|
27579
|
+
:param _Permissions: 用户在当前地域下所有集群中的权限列表
|
|
27580
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
27581
|
+
:type Permissions: list of PermissionItem
|
|
27582
|
+
:param _TargetUin: 用户唯一标识符
|
|
27583
|
+
:type TargetUin: str
|
|
27584
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
27585
|
+
:type RequestId: str
|
|
27586
|
+
"""
|
|
27587
|
+
self._Permissions = None
|
|
27588
|
+
self._TargetUin = None
|
|
27589
|
+
self._RequestId = None
|
|
27590
|
+
|
|
27591
|
+
@property
|
|
27592
|
+
def Permissions(self):
|
|
27593
|
+
r"""用户在当前地域下所有集群中的权限列表
|
|
27594
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
27595
|
+
:rtype: list of PermissionItem
|
|
27596
|
+
"""
|
|
27597
|
+
return self._Permissions
|
|
27598
|
+
|
|
27599
|
+
@Permissions.setter
|
|
27600
|
+
def Permissions(self, Permissions):
|
|
27601
|
+
self._Permissions = Permissions
|
|
27602
|
+
|
|
27603
|
+
@property
|
|
27604
|
+
def TargetUin(self):
|
|
27605
|
+
r"""用户唯一标识符
|
|
27606
|
+
:rtype: str
|
|
27607
|
+
"""
|
|
27608
|
+
return self._TargetUin
|
|
27609
|
+
|
|
27610
|
+
@TargetUin.setter
|
|
27611
|
+
def TargetUin(self, TargetUin):
|
|
27612
|
+
self._TargetUin = TargetUin
|
|
27613
|
+
|
|
27614
|
+
@property
|
|
27615
|
+
def RequestId(self):
|
|
27616
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
27617
|
+
:rtype: str
|
|
27618
|
+
"""
|
|
27619
|
+
return self._RequestId
|
|
27620
|
+
|
|
27621
|
+
@RequestId.setter
|
|
27622
|
+
def RequestId(self, RequestId):
|
|
27623
|
+
self._RequestId = RequestId
|
|
27624
|
+
|
|
27625
|
+
|
|
27626
|
+
def _deserialize(self, params):
|
|
27627
|
+
if params.get("Permissions") is not None:
|
|
27628
|
+
self._Permissions = []
|
|
27629
|
+
for item in params.get("Permissions"):
|
|
27630
|
+
obj = PermissionItem()
|
|
27631
|
+
obj._deserialize(item)
|
|
27632
|
+
self._Permissions.append(obj)
|
|
27633
|
+
self._TargetUin = params.get("TargetUin")
|
|
27634
|
+
self._RequestId = params.get("RequestId")
|
|
27635
|
+
|
|
27636
|
+
|
|
27419
27637
|
class DescribeVersionsRequest(AbstractModel):
|
|
27420
27638
|
r"""DescribeVersions请求参数结构体
|
|
27421
27639
|
|
|
@@ -27768,7 +27986,7 @@ class DisableControlPlaneLogsRequest(AbstractModel):
|
|
|
27768
27986
|
:type ClusterId: str
|
|
27769
27987
|
:param _ClusterType: 集群类型。当前只支持tke
|
|
27770
27988
|
:type ClusterType: str
|
|
27771
|
-
:param _ComponentNames: 组件名称列表,目前支持的组件有:
|
|
27989
|
+
:param _ComponentNames: 组件名称列表,目前支持的组件有:cluster-autoscaler、kapenter
|
|
27772
27990
|
:type ComponentNames: list of str
|
|
27773
27991
|
:param _DeleteLogSetAndTopic: 是否删除日志集和topic。 如果日志集和topic被其他采集规则使用,则不会被删除
|
|
27774
27992
|
:type DeleteLogSetAndTopic: bool
|
|
@@ -27802,7 +28020,7 @@ class DisableControlPlaneLogsRequest(AbstractModel):
|
|
|
27802
28020
|
|
|
27803
28021
|
@property
|
|
27804
28022
|
def ComponentNames(self):
|
|
27805
|
-
r"""组件名称列表,目前支持的组件有:
|
|
28023
|
+
r"""组件名称列表,目前支持的组件有:cluster-autoscaler、kapenter
|
|
27806
28024
|
:rtype: list of str
|
|
27807
28025
|
"""
|
|
27808
28026
|
return self._ComponentNames
|
|
@@ -30200,7 +30418,7 @@ class EnableControlPlaneLogsRequest(AbstractModel):
|
|
|
30200
30418
|
:type ClusterId: str
|
|
30201
30419
|
:param _ClusterType: 集群类型。当前只支持tke
|
|
30202
30420
|
:type ClusterType: str
|
|
30203
|
-
:param _Components:
|
|
30421
|
+
:param _Components: 组件名称列表,目前支持的组件有:cluster-autoscaler、kapenter
|
|
30204
30422
|
:type Components: list of ComponentLogConfig
|
|
30205
30423
|
"""
|
|
30206
30424
|
self._ClusterId = None
|
|
@@ -30231,7 +30449,7 @@ class EnableControlPlaneLogsRequest(AbstractModel):
|
|
|
30231
30449
|
|
|
30232
30450
|
@property
|
|
30233
30451
|
def Components(self):
|
|
30234
|
-
r"""
|
|
30452
|
+
r"""组件名称列表,目前支持的组件有:cluster-autoscaler、kapenter
|
|
30235
30453
|
:rtype: list of ComponentLogConfig
|
|
30236
30454
|
"""
|
|
30237
30455
|
return self._Components
|
|
@@ -32551,6 +32769,90 @@ class GlobalMaintenanceWindowAndExclusion(AbstractModel):
|
|
|
32551
32769
|
|
|
32552
32770
|
|
|
32553
32771
|
|
|
32772
|
+
class GrantUserPermissionsRequest(AbstractModel):
|
|
32773
|
+
r"""GrantUserPermissions请求参数结构体
|
|
32774
|
+
|
|
32775
|
+
"""
|
|
32776
|
+
|
|
32777
|
+
def __init__(self):
|
|
32778
|
+
r"""
|
|
32779
|
+
:param _TargetUin: 要授权的用户的唯一标识符(支持子账号 UIN和角色UIN)
|
|
32780
|
+
:type TargetUin: str
|
|
32781
|
+
:param _Permissions: 用户最终应拥有的完整权限列表。采用声明式语义,传入的列表代表用户最终应该拥有的全部权限,系统会自动计算差异并执行必要的创建/删除操作。为空或不提供时将清除该用户的所有权限。最大支持 100 个权限项。
|
|
32782
|
+
:type Permissions: list of PermissionItem
|
|
32783
|
+
"""
|
|
32784
|
+
self._TargetUin = None
|
|
32785
|
+
self._Permissions = None
|
|
32786
|
+
|
|
32787
|
+
@property
|
|
32788
|
+
def TargetUin(self):
|
|
32789
|
+
r"""要授权的用户的唯一标识符(支持子账号 UIN和角色UIN)
|
|
32790
|
+
:rtype: str
|
|
32791
|
+
"""
|
|
32792
|
+
return self._TargetUin
|
|
32793
|
+
|
|
32794
|
+
@TargetUin.setter
|
|
32795
|
+
def TargetUin(self, TargetUin):
|
|
32796
|
+
self._TargetUin = TargetUin
|
|
32797
|
+
|
|
32798
|
+
@property
|
|
32799
|
+
def Permissions(self):
|
|
32800
|
+
r"""用户最终应拥有的完整权限列表。采用声明式语义,传入的列表代表用户最终应该拥有的全部权限,系统会自动计算差异并执行必要的创建/删除操作。为空或不提供时将清除该用户的所有权限。最大支持 100 个权限项。
|
|
32801
|
+
:rtype: list of PermissionItem
|
|
32802
|
+
"""
|
|
32803
|
+
return self._Permissions
|
|
32804
|
+
|
|
32805
|
+
@Permissions.setter
|
|
32806
|
+
def Permissions(self, Permissions):
|
|
32807
|
+
self._Permissions = Permissions
|
|
32808
|
+
|
|
32809
|
+
|
|
32810
|
+
def _deserialize(self, params):
|
|
32811
|
+
self._TargetUin = params.get("TargetUin")
|
|
32812
|
+
if params.get("Permissions") is not None:
|
|
32813
|
+
self._Permissions = []
|
|
32814
|
+
for item in params.get("Permissions"):
|
|
32815
|
+
obj = PermissionItem()
|
|
32816
|
+
obj._deserialize(item)
|
|
32817
|
+
self._Permissions.append(obj)
|
|
32818
|
+
memeber_set = set(params.keys())
|
|
32819
|
+
for name, value in vars(self).items():
|
|
32820
|
+
property_name = name[1:]
|
|
32821
|
+
if property_name in memeber_set:
|
|
32822
|
+
memeber_set.remove(property_name)
|
|
32823
|
+
if len(memeber_set) > 0:
|
|
32824
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
32825
|
+
|
|
32826
|
+
|
|
32827
|
+
|
|
32828
|
+
class GrantUserPermissionsResponse(AbstractModel):
|
|
32829
|
+
r"""GrantUserPermissions返回参数结构体
|
|
32830
|
+
|
|
32831
|
+
"""
|
|
32832
|
+
|
|
32833
|
+
def __init__(self):
|
|
32834
|
+
r"""
|
|
32835
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
32836
|
+
:type RequestId: str
|
|
32837
|
+
"""
|
|
32838
|
+
self._RequestId = None
|
|
32839
|
+
|
|
32840
|
+
@property
|
|
32841
|
+
def RequestId(self):
|
|
32842
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
32843
|
+
:rtype: str
|
|
32844
|
+
"""
|
|
32845
|
+
return self._RequestId
|
|
32846
|
+
|
|
32847
|
+
@RequestId.setter
|
|
32848
|
+
def RequestId(self, RequestId):
|
|
32849
|
+
self._RequestId = RequestId
|
|
32850
|
+
|
|
32851
|
+
|
|
32852
|
+
def _deserialize(self, params):
|
|
32853
|
+
self._RequestId = params.get("RequestId")
|
|
32854
|
+
|
|
32855
|
+
|
|
32554
32856
|
class HttpGet(AbstractModel):
|
|
32555
32857
|
r"""Probe中的HttpGet
|
|
32556
32858
|
|
|
@@ -36942,7 +37244,15 @@ class ModifyClusterMaintenanceWindowAndExclusionsRequest(AbstractModel):
|
|
|
36942
37244
|
:type MaintenanceTime: str
|
|
36943
37245
|
:param _Duration: 维护时长(小时)
|
|
36944
37246
|
:type Duration: int
|
|
36945
|
-
:param _DayOfWeek:
|
|
37247
|
+
:param _DayOfWeek: 维护周期(一周中的哪几天),支持的参数值如下:
|
|
37248
|
+
|
|
37249
|
+
- MO:周一
|
|
37250
|
+
- TU:周二
|
|
37251
|
+
- WE:周三
|
|
37252
|
+
- TH:周四
|
|
37253
|
+
- FR:周五
|
|
37254
|
+
- SA:周六
|
|
37255
|
+
- SU:周日
|
|
36946
37256
|
:type DayOfWeek: list of str
|
|
36947
37257
|
:param _Exclusions: 维护排除项
|
|
36948
37258
|
:type Exclusions: list of MaintenanceExclusion
|
|
@@ -36988,7 +37298,15 @@ class ModifyClusterMaintenanceWindowAndExclusionsRequest(AbstractModel):
|
|
|
36988
37298
|
|
|
36989
37299
|
@property
|
|
36990
37300
|
def DayOfWeek(self):
|
|
36991
|
-
r"""
|
|
37301
|
+
r"""维护周期(一周中的哪几天),支持的参数值如下:
|
|
37302
|
+
|
|
37303
|
+
- MO:周一
|
|
37304
|
+
- TU:周二
|
|
37305
|
+
- WE:周三
|
|
37306
|
+
- TH:周四
|
|
37307
|
+
- FR:周五
|
|
37308
|
+
- SA:周六
|
|
37309
|
+
- SU:周日
|
|
36992
37310
|
:rtype: list of str
|
|
36993
37311
|
"""
|
|
36994
37312
|
return self._DayOfWeek
|
|
@@ -37438,9 +37756,11 @@ class ModifyClusterRollOutSequenceTagsRequest(AbstractModel):
|
|
|
37438
37756
|
|
|
37439
37757
|
def __init__(self):
|
|
37440
37758
|
r"""
|
|
37441
|
-
:param _ClusterID: 集群ID
|
|
37759
|
+
:param _ClusterID: 集群ID,可以从容器服务集群控制台获取(https://console.cloud.tencent.com/tke2/cluster)。
|
|
37442
37760
|
:type ClusterID: str
|
|
37443
|
-
:param _Tags:
|
|
37761
|
+
:param _Tags: 集群发布序列标签(为空时表示移除集群标签)。支持以下集群标签:
|
|
37762
|
+
- 标签键:"Env",支持的标签值:["Test","Pre-Production","Production"]
|
|
37763
|
+
- 标签键:"Protection-Level",支持的标签值:["Low","Medium","High"]
|
|
37444
37764
|
:type Tags: list of Tag
|
|
37445
37765
|
"""
|
|
37446
37766
|
self._ClusterID = None
|
|
@@ -37448,7 +37768,7 @@ class ModifyClusterRollOutSequenceTagsRequest(AbstractModel):
|
|
|
37448
37768
|
|
|
37449
37769
|
@property
|
|
37450
37770
|
def ClusterID(self):
|
|
37451
|
-
r"""集群ID
|
|
37771
|
+
r"""集群ID,可以从容器服务集群控制台获取(https://console.cloud.tencent.com/tke2/cluster)。
|
|
37452
37772
|
:rtype: str
|
|
37453
37773
|
"""
|
|
37454
37774
|
return self._ClusterID
|
|
@@ -37459,7 +37779,9 @@ class ModifyClusterRollOutSequenceTagsRequest(AbstractModel):
|
|
|
37459
37779
|
|
|
37460
37780
|
@property
|
|
37461
37781
|
def Tags(self):
|
|
37462
|
-
r"""
|
|
37782
|
+
r"""集群发布序列标签(为空时表示移除集群标签)。支持以下集群标签:
|
|
37783
|
+
- 标签键:"Env",支持的标签值:["Test","Pre-Production","Production"]
|
|
37784
|
+
- 标签键:"Protection-Level",支持的标签值:["Low","Medium","High"]
|
|
37463
37785
|
:rtype: list of Tag
|
|
37464
37786
|
"""
|
|
37465
37787
|
return self._Tags
|
|
@@ -41156,6 +41478,104 @@ class PendingRelease(AbstractModel):
|
|
|
41156
41478
|
|
|
41157
41479
|
|
|
41158
41480
|
|
|
41481
|
+
class PermissionItem(AbstractModel):
|
|
41482
|
+
r"""用户权限项,定义用户在集群中的 RBAC 权限绑定
|
|
41483
|
+
|
|
41484
|
+
"""
|
|
41485
|
+
|
|
41486
|
+
def __init__(self):
|
|
41487
|
+
r"""
|
|
41488
|
+
:param _ClusterId: 集群 ID
|
|
41489
|
+
:type ClusterId: str
|
|
41490
|
+
:param _RoleName: 角色名称。预置角色包括:tke:admin(集群管理员)、tke:ops(运维人员)、tke:dev(开发人员)、tke:ro(只读用户)、tke:ns:dev(命名空间开发人员)、tke:ns:ro(命名空间只读用户),其余为用户自定义角色
|
|
41491
|
+
:type RoleName: str
|
|
41492
|
+
:param _RoleType: 授权类型。枚举值:cluster(集群级别权限,对应 ClusterRoleBinding)、namespace(命名空间级别权限,对应 RoleBinding)
|
|
41493
|
+
:type RoleType: str
|
|
41494
|
+
:param _IsCustom: 是否为自定义角色,默认 false
|
|
41495
|
+
:type IsCustom: bool
|
|
41496
|
+
:param _Namespace: 命名空间。当 RoleType 为 namespace 时必填
|
|
41497
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
41498
|
+
:type Namespace: str
|
|
41499
|
+
"""
|
|
41500
|
+
self._ClusterId = None
|
|
41501
|
+
self._RoleName = None
|
|
41502
|
+
self._RoleType = None
|
|
41503
|
+
self._IsCustom = None
|
|
41504
|
+
self._Namespace = None
|
|
41505
|
+
|
|
41506
|
+
@property
|
|
41507
|
+
def ClusterId(self):
|
|
41508
|
+
r"""集群 ID
|
|
41509
|
+
:rtype: str
|
|
41510
|
+
"""
|
|
41511
|
+
return self._ClusterId
|
|
41512
|
+
|
|
41513
|
+
@ClusterId.setter
|
|
41514
|
+
def ClusterId(self, ClusterId):
|
|
41515
|
+
self._ClusterId = ClusterId
|
|
41516
|
+
|
|
41517
|
+
@property
|
|
41518
|
+
def RoleName(self):
|
|
41519
|
+
r"""角色名称。预置角色包括:tke:admin(集群管理员)、tke:ops(运维人员)、tke:dev(开发人员)、tke:ro(只读用户)、tke:ns:dev(命名空间开发人员)、tke:ns:ro(命名空间只读用户),其余为用户自定义角色
|
|
41520
|
+
:rtype: str
|
|
41521
|
+
"""
|
|
41522
|
+
return self._RoleName
|
|
41523
|
+
|
|
41524
|
+
@RoleName.setter
|
|
41525
|
+
def RoleName(self, RoleName):
|
|
41526
|
+
self._RoleName = RoleName
|
|
41527
|
+
|
|
41528
|
+
@property
|
|
41529
|
+
def RoleType(self):
|
|
41530
|
+
r"""授权类型。枚举值:cluster(集群级别权限,对应 ClusterRoleBinding)、namespace(命名空间级别权限,对应 RoleBinding)
|
|
41531
|
+
:rtype: str
|
|
41532
|
+
"""
|
|
41533
|
+
return self._RoleType
|
|
41534
|
+
|
|
41535
|
+
@RoleType.setter
|
|
41536
|
+
def RoleType(self, RoleType):
|
|
41537
|
+
self._RoleType = RoleType
|
|
41538
|
+
|
|
41539
|
+
@property
|
|
41540
|
+
def IsCustom(self):
|
|
41541
|
+
r"""是否为自定义角色,默认 false
|
|
41542
|
+
:rtype: bool
|
|
41543
|
+
"""
|
|
41544
|
+
return self._IsCustom
|
|
41545
|
+
|
|
41546
|
+
@IsCustom.setter
|
|
41547
|
+
def IsCustom(self, IsCustom):
|
|
41548
|
+
self._IsCustom = IsCustom
|
|
41549
|
+
|
|
41550
|
+
@property
|
|
41551
|
+
def Namespace(self):
|
|
41552
|
+
r"""命名空间。当 RoleType 为 namespace 时必填
|
|
41553
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
41554
|
+
:rtype: str
|
|
41555
|
+
"""
|
|
41556
|
+
return self._Namespace
|
|
41557
|
+
|
|
41558
|
+
@Namespace.setter
|
|
41559
|
+
def Namespace(self, Namespace):
|
|
41560
|
+
self._Namespace = Namespace
|
|
41561
|
+
|
|
41562
|
+
|
|
41563
|
+
def _deserialize(self, params):
|
|
41564
|
+
self._ClusterId = params.get("ClusterId")
|
|
41565
|
+
self._RoleName = params.get("RoleName")
|
|
41566
|
+
self._RoleType = params.get("RoleType")
|
|
41567
|
+
self._IsCustom = params.get("IsCustom")
|
|
41568
|
+
self._Namespace = params.get("Namespace")
|
|
41569
|
+
memeber_set = set(params.keys())
|
|
41570
|
+
for name, value in vars(self).items():
|
|
41571
|
+
property_name = name[1:]
|
|
41572
|
+
if property_name in memeber_set:
|
|
41573
|
+
memeber_set.remove(property_name)
|
|
41574
|
+
if len(memeber_set) > 0:
|
|
41575
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
41576
|
+
|
|
41577
|
+
|
|
41578
|
+
|
|
41159
41579
|
class PodChargeInfo(AbstractModel):
|
|
41160
41580
|
r"""Pod计费信息
|
|
41161
41581
|
|
|
@@ -49071,6 +49491,8 @@ class SuperNodeResource(AbstractModel):
|
|
|
49071
49491
|
:type ResourceType: str
|
|
49072
49492
|
:param _DisasterRecoverGroupId: 置放群组 ID,QuotaType为 exact 时有效,表示购买的精确配额需满足置放群组。可通过 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810) 接口返回值中的DisasterRecoverGroupId获取。
|
|
49073
49493
|
:type DisasterRecoverGroupId: str
|
|
49494
|
+
:param _PriceType: 定价类型
|
|
49495
|
+
:type PriceType: str
|
|
49074
49496
|
"""
|
|
49075
49497
|
self._NodeName = None
|
|
49076
49498
|
self._Num = None
|
|
@@ -49081,6 +49503,7 @@ class SuperNodeResource(AbstractModel):
|
|
|
49081
49503
|
self._ChargeType = None
|
|
49082
49504
|
self._ResourceType = None
|
|
49083
49505
|
self._DisasterRecoverGroupId = None
|
|
49506
|
+
self._PriceType = None
|
|
49084
49507
|
|
|
49085
49508
|
@property
|
|
49086
49509
|
def NodeName(self):
|
|
@@ -49181,6 +49604,17 @@ class SuperNodeResource(AbstractModel):
|
|
|
49181
49604
|
def DisasterRecoverGroupId(self, DisasterRecoverGroupId):
|
|
49182
49605
|
self._DisasterRecoverGroupId = DisasterRecoverGroupId
|
|
49183
49606
|
|
|
49607
|
+
@property
|
|
49608
|
+
def PriceType(self):
|
|
49609
|
+
r"""定价类型
|
|
49610
|
+
:rtype: str
|
|
49611
|
+
"""
|
|
49612
|
+
return self._PriceType
|
|
49613
|
+
|
|
49614
|
+
@PriceType.setter
|
|
49615
|
+
def PriceType(self, PriceType):
|
|
49616
|
+
self._PriceType = PriceType
|
|
49617
|
+
|
|
49184
49618
|
|
|
49185
49619
|
def _deserialize(self, params):
|
|
49186
49620
|
self._NodeName = params.get("NodeName")
|
|
@@ -49192,6 +49626,7 @@ class SuperNodeResource(AbstractModel):
|
|
|
49192
49626
|
self._ChargeType = params.get("ChargeType")
|
|
49193
49627
|
self._ResourceType = params.get("ResourceType")
|
|
49194
49628
|
self._DisasterRecoverGroupId = params.get("DisasterRecoverGroupId")
|
|
49629
|
+
self._PriceType = params.get("PriceType")
|
|
49195
49630
|
memeber_set = set(params.keys())
|
|
49196
49631
|
for name, value in vars(self).items():
|
|
49197
49632
|
property_name = name[1:]
|
|
@@ -52517,6 +52952,8 @@ class UpgradePlan(AbstractModel):
|
|
|
52517
52952
|
:type ClusterID: str
|
|
52518
52953
|
:param _ClusterName: 集群名称
|
|
52519
52954
|
:type ClusterName: str
|
|
52955
|
+
:param _Region: 集群地域
|
|
52956
|
+
:type Region: str
|
|
52520
52957
|
:param _PlanedStartAt: 预计开始时间
|
|
52521
52958
|
:type PlanedStartAt: str
|
|
52522
52959
|
:param _UpgradeStartAt: 升级开始时间
|
|
@@ -52531,6 +52968,7 @@ class UpgradePlan(AbstractModel):
|
|
|
52531
52968
|
self._ID = None
|
|
52532
52969
|
self._ClusterID = None
|
|
52533
52970
|
self._ClusterName = None
|
|
52971
|
+
self._Region = None
|
|
52534
52972
|
self._PlanedStartAt = None
|
|
52535
52973
|
self._UpgradeStartAt = None
|
|
52536
52974
|
self._UpgradeEndAt = None
|
|
@@ -52570,6 +53008,17 @@ class UpgradePlan(AbstractModel):
|
|
|
52570
53008
|
def ClusterName(self, ClusterName):
|
|
52571
53009
|
self._ClusterName = ClusterName
|
|
52572
53010
|
|
|
53011
|
+
@property
|
|
53012
|
+
def Region(self):
|
|
53013
|
+
r"""集群地域
|
|
53014
|
+
:rtype: str
|
|
53015
|
+
"""
|
|
53016
|
+
return self._Region
|
|
53017
|
+
|
|
53018
|
+
@Region.setter
|
|
53019
|
+
def Region(self, Region):
|
|
53020
|
+
self._Region = Region
|
|
53021
|
+
|
|
52573
53022
|
@property
|
|
52574
53023
|
def PlanedStartAt(self):
|
|
52575
53024
|
r"""预计开始时间
|
|
@@ -52630,6 +53079,7 @@ class UpgradePlan(AbstractModel):
|
|
|
52630
53079
|
self._ID = params.get("ID")
|
|
52631
53080
|
self._ClusterID = params.get("ClusterID")
|
|
52632
53081
|
self._ClusterName = params.get("ClusterName")
|
|
53082
|
+
self._Region = params.get("Region")
|
|
52633
53083
|
self._PlanedStartAt = params.get("PlanedStartAt")
|
|
52634
53084
|
self._UpgradeStartAt = params.get("UpgradeStartAt")
|
|
52635
53085
|
self._UpgradeEndAt = params.get("UpgradeEndAt")
|