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
|
@@ -208,6 +208,72 @@ class AcquireSandboxInstanceTokenResponse(AbstractModel):
|
|
|
208
208
|
self._RequestId = params.get("RequestId")
|
|
209
209
|
|
|
210
210
|
|
|
211
|
+
class CosStorageSource(AbstractModel):
|
|
212
|
+
r"""沙箱实例对象存储挂载配置
|
|
213
|
+
|
|
214
|
+
"""
|
|
215
|
+
|
|
216
|
+
def __init__(self):
|
|
217
|
+
r"""
|
|
218
|
+
:param _Endpoint: 对象存储访问域名
|
|
219
|
+
:type Endpoint: str
|
|
220
|
+
:param _BucketName: 对象存储桶名称
|
|
221
|
+
:type BucketName: str
|
|
222
|
+
:param _BucketPath: 对象存储桶路径,必须为以/起始的绝对路径
|
|
223
|
+
:type BucketPath: str
|
|
224
|
+
"""
|
|
225
|
+
self._Endpoint = None
|
|
226
|
+
self._BucketName = None
|
|
227
|
+
self._BucketPath = None
|
|
228
|
+
|
|
229
|
+
@property
|
|
230
|
+
def Endpoint(self):
|
|
231
|
+
r"""对象存储访问域名
|
|
232
|
+
:rtype: str
|
|
233
|
+
"""
|
|
234
|
+
return self._Endpoint
|
|
235
|
+
|
|
236
|
+
@Endpoint.setter
|
|
237
|
+
def Endpoint(self, Endpoint):
|
|
238
|
+
self._Endpoint = Endpoint
|
|
239
|
+
|
|
240
|
+
@property
|
|
241
|
+
def BucketName(self):
|
|
242
|
+
r"""对象存储桶名称
|
|
243
|
+
:rtype: str
|
|
244
|
+
"""
|
|
245
|
+
return self._BucketName
|
|
246
|
+
|
|
247
|
+
@BucketName.setter
|
|
248
|
+
def BucketName(self, BucketName):
|
|
249
|
+
self._BucketName = BucketName
|
|
250
|
+
|
|
251
|
+
@property
|
|
252
|
+
def BucketPath(self):
|
|
253
|
+
r"""对象存储桶路径,必须为以/起始的绝对路径
|
|
254
|
+
:rtype: str
|
|
255
|
+
"""
|
|
256
|
+
return self._BucketPath
|
|
257
|
+
|
|
258
|
+
@BucketPath.setter
|
|
259
|
+
def BucketPath(self, BucketPath):
|
|
260
|
+
self._BucketPath = BucketPath
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
def _deserialize(self, params):
|
|
264
|
+
self._Endpoint = params.get("Endpoint")
|
|
265
|
+
self._BucketName = params.get("BucketName")
|
|
266
|
+
self._BucketPath = params.get("BucketPath")
|
|
267
|
+
memeber_set = set(params.keys())
|
|
268
|
+
for name, value in vars(self).items():
|
|
269
|
+
property_name = name[1:]
|
|
270
|
+
if property_name in memeber_set:
|
|
271
|
+
memeber_set.remove(property_name)
|
|
272
|
+
if len(memeber_set) > 0:
|
|
273
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
211
277
|
class CreateAPIKeyRequest(AbstractModel):
|
|
212
278
|
r"""CreateAPIKey请求参数结构体
|
|
213
279
|
|
|
@@ -317,6 +383,130 @@ class CreateAPIKeyResponse(AbstractModel):
|
|
|
317
383
|
self._RequestId = params.get("RequestId")
|
|
318
384
|
|
|
319
385
|
|
|
386
|
+
class CreatePreCacheImageTaskRequest(AbstractModel):
|
|
387
|
+
r"""CreatePreCacheImageTask请求参数结构体
|
|
388
|
+
|
|
389
|
+
"""
|
|
390
|
+
|
|
391
|
+
def __init__(self):
|
|
392
|
+
r"""
|
|
393
|
+
:param _Image: 镜像地址
|
|
394
|
+
:type Image: str
|
|
395
|
+
:param _ImageRegistryType: 镜像仓库类型:`enterprise`、`personal`。
|
|
396
|
+
:type ImageRegistryType: str
|
|
397
|
+
"""
|
|
398
|
+
self._Image = None
|
|
399
|
+
self._ImageRegistryType = None
|
|
400
|
+
|
|
401
|
+
@property
|
|
402
|
+
def Image(self):
|
|
403
|
+
r"""镜像地址
|
|
404
|
+
:rtype: str
|
|
405
|
+
"""
|
|
406
|
+
return self._Image
|
|
407
|
+
|
|
408
|
+
@Image.setter
|
|
409
|
+
def Image(self, Image):
|
|
410
|
+
self._Image = Image
|
|
411
|
+
|
|
412
|
+
@property
|
|
413
|
+
def ImageRegistryType(self):
|
|
414
|
+
r"""镜像仓库类型:`enterprise`、`personal`。
|
|
415
|
+
:rtype: str
|
|
416
|
+
"""
|
|
417
|
+
return self._ImageRegistryType
|
|
418
|
+
|
|
419
|
+
@ImageRegistryType.setter
|
|
420
|
+
def ImageRegistryType(self, ImageRegistryType):
|
|
421
|
+
self._ImageRegistryType = ImageRegistryType
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
def _deserialize(self, params):
|
|
425
|
+
self._Image = params.get("Image")
|
|
426
|
+
self._ImageRegistryType = params.get("ImageRegistryType")
|
|
427
|
+
memeber_set = set(params.keys())
|
|
428
|
+
for name, value in vars(self).items():
|
|
429
|
+
property_name = name[1:]
|
|
430
|
+
if property_name in memeber_set:
|
|
431
|
+
memeber_set.remove(property_name)
|
|
432
|
+
if len(memeber_set) > 0:
|
|
433
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
class CreatePreCacheImageTaskResponse(AbstractModel):
|
|
438
|
+
r"""CreatePreCacheImageTask返回参数结构体
|
|
439
|
+
|
|
440
|
+
"""
|
|
441
|
+
|
|
442
|
+
def __init__(self):
|
|
443
|
+
r"""
|
|
444
|
+
:param _Image: 镜像地址
|
|
445
|
+
:type Image: str
|
|
446
|
+
:param _ImageDigest: 镜像 Digest
|
|
447
|
+
:type ImageDigest: str
|
|
448
|
+
:param _ImageRegistryType: 镜像仓库类型:`enterprise`、`personal`。
|
|
449
|
+
:type ImageRegistryType: str
|
|
450
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
451
|
+
:type RequestId: str
|
|
452
|
+
"""
|
|
453
|
+
self._Image = None
|
|
454
|
+
self._ImageDigest = None
|
|
455
|
+
self._ImageRegistryType = None
|
|
456
|
+
self._RequestId = None
|
|
457
|
+
|
|
458
|
+
@property
|
|
459
|
+
def Image(self):
|
|
460
|
+
r"""镜像地址
|
|
461
|
+
:rtype: str
|
|
462
|
+
"""
|
|
463
|
+
return self._Image
|
|
464
|
+
|
|
465
|
+
@Image.setter
|
|
466
|
+
def Image(self, Image):
|
|
467
|
+
self._Image = Image
|
|
468
|
+
|
|
469
|
+
@property
|
|
470
|
+
def ImageDigest(self):
|
|
471
|
+
r"""镜像 Digest
|
|
472
|
+
:rtype: str
|
|
473
|
+
"""
|
|
474
|
+
return self._ImageDigest
|
|
475
|
+
|
|
476
|
+
@ImageDigest.setter
|
|
477
|
+
def ImageDigest(self, ImageDigest):
|
|
478
|
+
self._ImageDigest = ImageDigest
|
|
479
|
+
|
|
480
|
+
@property
|
|
481
|
+
def ImageRegistryType(self):
|
|
482
|
+
r"""镜像仓库类型:`enterprise`、`personal`。
|
|
483
|
+
:rtype: str
|
|
484
|
+
"""
|
|
485
|
+
return self._ImageRegistryType
|
|
486
|
+
|
|
487
|
+
@ImageRegistryType.setter
|
|
488
|
+
def ImageRegistryType(self, ImageRegistryType):
|
|
489
|
+
self._ImageRegistryType = ImageRegistryType
|
|
490
|
+
|
|
491
|
+
@property
|
|
492
|
+
def RequestId(self):
|
|
493
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
494
|
+
:rtype: str
|
|
495
|
+
"""
|
|
496
|
+
return self._RequestId
|
|
497
|
+
|
|
498
|
+
@RequestId.setter
|
|
499
|
+
def RequestId(self, RequestId):
|
|
500
|
+
self._RequestId = RequestId
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
def _deserialize(self, params):
|
|
504
|
+
self._Image = params.get("Image")
|
|
505
|
+
self._ImageDigest = params.get("ImageDigest")
|
|
506
|
+
self._ImageRegistryType = params.get("ImageRegistryType")
|
|
507
|
+
self._RequestId = params.get("RequestId")
|
|
508
|
+
|
|
509
|
+
|
|
320
510
|
class CreateSandboxToolRequest(AbstractModel):
|
|
321
511
|
r"""CreateSandboxTool请求参数结构体
|
|
322
512
|
|
|
@@ -326,7 +516,7 @@ class CreateSandboxToolRequest(AbstractModel):
|
|
|
326
516
|
r"""
|
|
327
517
|
:param _ToolName: 沙箱工具名称,长度 1-50 字符,支持英文、数字、下划线和连接线。同一 AppId 下沙箱工具名称必须唯一
|
|
328
518
|
:type ToolName: str
|
|
329
|
-
:param _ToolType: 沙箱工具类型,目前支持:browser、code-interpreter
|
|
519
|
+
:param _ToolType: 沙箱工具类型,目前支持:browser、code-interpreter、custom
|
|
330
520
|
:type ToolType: str
|
|
331
521
|
:param _NetworkConfiguration: 网络配置
|
|
332
522
|
:type NetworkConfiguration: :class:`tencentcloud.ags.v20250920.models.NetworkConfiguration`
|
|
@@ -338,6 +528,12 @@ class CreateSandboxToolRequest(AbstractModel):
|
|
|
338
528
|
:type Tags: list of Tag
|
|
339
529
|
:param _ClientToken: 幂等性 Token,长度不超过 64 字符
|
|
340
530
|
:type ClientToken: str
|
|
531
|
+
:param _RoleArn: 角色ARN
|
|
532
|
+
:type RoleArn: str
|
|
533
|
+
:param _StorageMounts: 沙箱工具存储配置
|
|
534
|
+
:type StorageMounts: list of StorageMount
|
|
535
|
+
:param _CustomConfiguration: 沙箱工具自定义配置
|
|
536
|
+
:type CustomConfiguration: :class:`tencentcloud.ags.v20250920.models.CustomConfiguration`
|
|
341
537
|
"""
|
|
342
538
|
self._ToolName = None
|
|
343
539
|
self._ToolType = None
|
|
@@ -346,6 +542,9 @@ class CreateSandboxToolRequest(AbstractModel):
|
|
|
346
542
|
self._DefaultTimeout = None
|
|
347
543
|
self._Tags = None
|
|
348
544
|
self._ClientToken = None
|
|
545
|
+
self._RoleArn = None
|
|
546
|
+
self._StorageMounts = None
|
|
547
|
+
self._CustomConfiguration = None
|
|
349
548
|
|
|
350
549
|
@property
|
|
351
550
|
def ToolName(self):
|
|
@@ -360,7 +559,7 @@ class CreateSandboxToolRequest(AbstractModel):
|
|
|
360
559
|
|
|
361
560
|
@property
|
|
362
561
|
def ToolType(self):
|
|
363
|
-
r"""沙箱工具类型,目前支持:browser、code-interpreter
|
|
562
|
+
r"""沙箱工具类型,目前支持:browser、code-interpreter、custom
|
|
364
563
|
:rtype: str
|
|
365
564
|
"""
|
|
366
565
|
return self._ToolType
|
|
@@ -424,6 +623,39 @@ class CreateSandboxToolRequest(AbstractModel):
|
|
|
424
623
|
def ClientToken(self, ClientToken):
|
|
425
624
|
self._ClientToken = ClientToken
|
|
426
625
|
|
|
626
|
+
@property
|
|
627
|
+
def RoleArn(self):
|
|
628
|
+
r"""角色ARN
|
|
629
|
+
:rtype: str
|
|
630
|
+
"""
|
|
631
|
+
return self._RoleArn
|
|
632
|
+
|
|
633
|
+
@RoleArn.setter
|
|
634
|
+
def RoleArn(self, RoleArn):
|
|
635
|
+
self._RoleArn = RoleArn
|
|
636
|
+
|
|
637
|
+
@property
|
|
638
|
+
def StorageMounts(self):
|
|
639
|
+
r"""沙箱工具存储配置
|
|
640
|
+
:rtype: list of StorageMount
|
|
641
|
+
"""
|
|
642
|
+
return self._StorageMounts
|
|
643
|
+
|
|
644
|
+
@StorageMounts.setter
|
|
645
|
+
def StorageMounts(self, StorageMounts):
|
|
646
|
+
self._StorageMounts = StorageMounts
|
|
647
|
+
|
|
648
|
+
@property
|
|
649
|
+
def CustomConfiguration(self):
|
|
650
|
+
r"""沙箱工具自定义配置
|
|
651
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.CustomConfiguration`
|
|
652
|
+
"""
|
|
653
|
+
return self._CustomConfiguration
|
|
654
|
+
|
|
655
|
+
@CustomConfiguration.setter
|
|
656
|
+
def CustomConfiguration(self, CustomConfiguration):
|
|
657
|
+
self._CustomConfiguration = CustomConfiguration
|
|
658
|
+
|
|
427
659
|
|
|
428
660
|
def _deserialize(self, params):
|
|
429
661
|
self._ToolName = params.get("ToolName")
|
|
@@ -440,6 +672,16 @@ class CreateSandboxToolRequest(AbstractModel):
|
|
|
440
672
|
obj._deserialize(item)
|
|
441
673
|
self._Tags.append(obj)
|
|
442
674
|
self._ClientToken = params.get("ClientToken")
|
|
675
|
+
self._RoleArn = params.get("RoleArn")
|
|
676
|
+
if params.get("StorageMounts") is not None:
|
|
677
|
+
self._StorageMounts = []
|
|
678
|
+
for item in params.get("StorageMounts"):
|
|
679
|
+
obj = StorageMount()
|
|
680
|
+
obj._deserialize(item)
|
|
681
|
+
self._StorageMounts.append(obj)
|
|
682
|
+
if params.get("CustomConfiguration") is not None:
|
|
683
|
+
self._CustomConfiguration = CustomConfiguration()
|
|
684
|
+
self._CustomConfiguration._deserialize(params.get("CustomConfiguration"))
|
|
443
685
|
memeber_set = set(params.keys())
|
|
444
686
|
for name, value in vars(self).items():
|
|
445
687
|
property_name = name[1:]
|
|
@@ -493,6 +735,331 @@ class CreateSandboxToolResponse(AbstractModel):
|
|
|
493
735
|
self._RequestId = params.get("RequestId")
|
|
494
736
|
|
|
495
737
|
|
|
738
|
+
class CustomConfiguration(AbstractModel):
|
|
739
|
+
r"""沙箱自定义配置
|
|
740
|
+
|
|
741
|
+
"""
|
|
742
|
+
|
|
743
|
+
def __init__(self):
|
|
744
|
+
r"""
|
|
745
|
+
:param _Image: 镜像地址
|
|
746
|
+
:type Image: str
|
|
747
|
+
:param _ImageRegistryType: 镜像仓库类型:`enterprise`、`personal`。
|
|
748
|
+
:type ImageRegistryType: str
|
|
749
|
+
:param _Command: 启动命令
|
|
750
|
+
:type Command: list of str
|
|
751
|
+
:param _Args: 启动参数
|
|
752
|
+
:type Args: list of str
|
|
753
|
+
:param _Env: 环境变量
|
|
754
|
+
:type Env: list of EnvVar
|
|
755
|
+
:param _Ports: 端口配置
|
|
756
|
+
:type Ports: list of PortConfiguration
|
|
757
|
+
:param _Resources: 资源配置
|
|
758
|
+
:type Resources: :class:`tencentcloud.ags.v20250920.models.ResourceConfiguration`
|
|
759
|
+
:param _Probe: 探针配置
|
|
760
|
+
:type Probe: :class:`tencentcloud.ags.v20250920.models.ProbeConfiguration`
|
|
761
|
+
"""
|
|
762
|
+
self._Image = None
|
|
763
|
+
self._ImageRegistryType = None
|
|
764
|
+
self._Command = None
|
|
765
|
+
self._Args = None
|
|
766
|
+
self._Env = None
|
|
767
|
+
self._Ports = None
|
|
768
|
+
self._Resources = None
|
|
769
|
+
self._Probe = None
|
|
770
|
+
|
|
771
|
+
@property
|
|
772
|
+
def Image(self):
|
|
773
|
+
r"""镜像地址
|
|
774
|
+
:rtype: str
|
|
775
|
+
"""
|
|
776
|
+
return self._Image
|
|
777
|
+
|
|
778
|
+
@Image.setter
|
|
779
|
+
def Image(self, Image):
|
|
780
|
+
self._Image = Image
|
|
781
|
+
|
|
782
|
+
@property
|
|
783
|
+
def ImageRegistryType(self):
|
|
784
|
+
r"""镜像仓库类型:`enterprise`、`personal`。
|
|
785
|
+
:rtype: str
|
|
786
|
+
"""
|
|
787
|
+
return self._ImageRegistryType
|
|
788
|
+
|
|
789
|
+
@ImageRegistryType.setter
|
|
790
|
+
def ImageRegistryType(self, ImageRegistryType):
|
|
791
|
+
self._ImageRegistryType = ImageRegistryType
|
|
792
|
+
|
|
793
|
+
@property
|
|
794
|
+
def Command(self):
|
|
795
|
+
r"""启动命令
|
|
796
|
+
:rtype: list of str
|
|
797
|
+
"""
|
|
798
|
+
return self._Command
|
|
799
|
+
|
|
800
|
+
@Command.setter
|
|
801
|
+
def Command(self, Command):
|
|
802
|
+
self._Command = Command
|
|
803
|
+
|
|
804
|
+
@property
|
|
805
|
+
def Args(self):
|
|
806
|
+
r"""启动参数
|
|
807
|
+
:rtype: list of str
|
|
808
|
+
"""
|
|
809
|
+
return self._Args
|
|
810
|
+
|
|
811
|
+
@Args.setter
|
|
812
|
+
def Args(self, Args):
|
|
813
|
+
self._Args = Args
|
|
814
|
+
|
|
815
|
+
@property
|
|
816
|
+
def Env(self):
|
|
817
|
+
r"""环境变量
|
|
818
|
+
:rtype: list of EnvVar
|
|
819
|
+
"""
|
|
820
|
+
return self._Env
|
|
821
|
+
|
|
822
|
+
@Env.setter
|
|
823
|
+
def Env(self, Env):
|
|
824
|
+
self._Env = Env
|
|
825
|
+
|
|
826
|
+
@property
|
|
827
|
+
def Ports(self):
|
|
828
|
+
r"""端口配置
|
|
829
|
+
:rtype: list of PortConfiguration
|
|
830
|
+
"""
|
|
831
|
+
return self._Ports
|
|
832
|
+
|
|
833
|
+
@Ports.setter
|
|
834
|
+
def Ports(self, Ports):
|
|
835
|
+
self._Ports = Ports
|
|
836
|
+
|
|
837
|
+
@property
|
|
838
|
+
def Resources(self):
|
|
839
|
+
r"""资源配置
|
|
840
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.ResourceConfiguration`
|
|
841
|
+
"""
|
|
842
|
+
return self._Resources
|
|
843
|
+
|
|
844
|
+
@Resources.setter
|
|
845
|
+
def Resources(self, Resources):
|
|
846
|
+
self._Resources = Resources
|
|
847
|
+
|
|
848
|
+
@property
|
|
849
|
+
def Probe(self):
|
|
850
|
+
r"""探针配置
|
|
851
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.ProbeConfiguration`
|
|
852
|
+
"""
|
|
853
|
+
return self._Probe
|
|
854
|
+
|
|
855
|
+
@Probe.setter
|
|
856
|
+
def Probe(self, Probe):
|
|
857
|
+
self._Probe = Probe
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
def _deserialize(self, params):
|
|
861
|
+
self._Image = params.get("Image")
|
|
862
|
+
self._ImageRegistryType = params.get("ImageRegistryType")
|
|
863
|
+
self._Command = params.get("Command")
|
|
864
|
+
self._Args = params.get("Args")
|
|
865
|
+
if params.get("Env") is not None:
|
|
866
|
+
self._Env = []
|
|
867
|
+
for item in params.get("Env"):
|
|
868
|
+
obj = EnvVar()
|
|
869
|
+
obj._deserialize(item)
|
|
870
|
+
self._Env.append(obj)
|
|
871
|
+
if params.get("Ports") is not None:
|
|
872
|
+
self._Ports = []
|
|
873
|
+
for item in params.get("Ports"):
|
|
874
|
+
obj = PortConfiguration()
|
|
875
|
+
obj._deserialize(item)
|
|
876
|
+
self._Ports.append(obj)
|
|
877
|
+
if params.get("Resources") is not None:
|
|
878
|
+
self._Resources = ResourceConfiguration()
|
|
879
|
+
self._Resources._deserialize(params.get("Resources"))
|
|
880
|
+
if params.get("Probe") is not None:
|
|
881
|
+
self._Probe = ProbeConfiguration()
|
|
882
|
+
self._Probe._deserialize(params.get("Probe"))
|
|
883
|
+
memeber_set = set(params.keys())
|
|
884
|
+
for name, value in vars(self).items():
|
|
885
|
+
property_name = name[1:]
|
|
886
|
+
if property_name in memeber_set:
|
|
887
|
+
memeber_set.remove(property_name)
|
|
888
|
+
if len(memeber_set) > 0:
|
|
889
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
class CustomConfigurationDetail(AbstractModel):
|
|
894
|
+
r"""沙箱自定义配置详细信息
|
|
895
|
+
|
|
896
|
+
"""
|
|
897
|
+
|
|
898
|
+
def __init__(self):
|
|
899
|
+
r"""
|
|
900
|
+
:param _Image: 镜像地址
|
|
901
|
+
:type Image: str
|
|
902
|
+
:param _ImageRegistryType: 镜像仓库类型:`TCR`、`CCR`。
|
|
903
|
+
:type ImageRegistryType: str
|
|
904
|
+
:param _ImageDigest: 镜像 Digest
|
|
905
|
+
:type ImageDigest: str
|
|
906
|
+
:param _Command: 启动命令
|
|
907
|
+
:type Command: list of str
|
|
908
|
+
:param _Args: 启动参数
|
|
909
|
+
:type Args: list of str
|
|
910
|
+
:param _Env: 环境变量
|
|
911
|
+
:type Env: list of EnvVar
|
|
912
|
+
:param _Ports: 端口配置
|
|
913
|
+
:type Ports: list of PortConfiguration
|
|
914
|
+
:param _Resources: 资源配置
|
|
915
|
+
:type Resources: :class:`tencentcloud.ags.v20250920.models.ResourceConfiguration`
|
|
916
|
+
:param _Probe: 探针配置
|
|
917
|
+
:type Probe: :class:`tencentcloud.ags.v20250920.models.ProbeConfiguration`
|
|
918
|
+
"""
|
|
919
|
+
self._Image = None
|
|
920
|
+
self._ImageRegistryType = None
|
|
921
|
+
self._ImageDigest = None
|
|
922
|
+
self._Command = None
|
|
923
|
+
self._Args = None
|
|
924
|
+
self._Env = None
|
|
925
|
+
self._Ports = None
|
|
926
|
+
self._Resources = None
|
|
927
|
+
self._Probe = None
|
|
928
|
+
|
|
929
|
+
@property
|
|
930
|
+
def Image(self):
|
|
931
|
+
r"""镜像地址
|
|
932
|
+
:rtype: str
|
|
933
|
+
"""
|
|
934
|
+
return self._Image
|
|
935
|
+
|
|
936
|
+
@Image.setter
|
|
937
|
+
def Image(self, Image):
|
|
938
|
+
self._Image = Image
|
|
939
|
+
|
|
940
|
+
@property
|
|
941
|
+
def ImageRegistryType(self):
|
|
942
|
+
r"""镜像仓库类型:`TCR`、`CCR`。
|
|
943
|
+
:rtype: str
|
|
944
|
+
"""
|
|
945
|
+
return self._ImageRegistryType
|
|
946
|
+
|
|
947
|
+
@ImageRegistryType.setter
|
|
948
|
+
def ImageRegistryType(self, ImageRegistryType):
|
|
949
|
+
self._ImageRegistryType = ImageRegistryType
|
|
950
|
+
|
|
951
|
+
@property
|
|
952
|
+
def ImageDigest(self):
|
|
953
|
+
r"""镜像 Digest
|
|
954
|
+
:rtype: str
|
|
955
|
+
"""
|
|
956
|
+
return self._ImageDigest
|
|
957
|
+
|
|
958
|
+
@ImageDigest.setter
|
|
959
|
+
def ImageDigest(self, ImageDigest):
|
|
960
|
+
self._ImageDigest = ImageDigest
|
|
961
|
+
|
|
962
|
+
@property
|
|
963
|
+
def Command(self):
|
|
964
|
+
r"""启动命令
|
|
965
|
+
:rtype: list of str
|
|
966
|
+
"""
|
|
967
|
+
return self._Command
|
|
968
|
+
|
|
969
|
+
@Command.setter
|
|
970
|
+
def Command(self, Command):
|
|
971
|
+
self._Command = Command
|
|
972
|
+
|
|
973
|
+
@property
|
|
974
|
+
def Args(self):
|
|
975
|
+
r"""启动参数
|
|
976
|
+
:rtype: list of str
|
|
977
|
+
"""
|
|
978
|
+
return self._Args
|
|
979
|
+
|
|
980
|
+
@Args.setter
|
|
981
|
+
def Args(self, Args):
|
|
982
|
+
self._Args = Args
|
|
983
|
+
|
|
984
|
+
@property
|
|
985
|
+
def Env(self):
|
|
986
|
+
r"""环境变量
|
|
987
|
+
:rtype: list of EnvVar
|
|
988
|
+
"""
|
|
989
|
+
return self._Env
|
|
990
|
+
|
|
991
|
+
@Env.setter
|
|
992
|
+
def Env(self, Env):
|
|
993
|
+
self._Env = Env
|
|
994
|
+
|
|
995
|
+
@property
|
|
996
|
+
def Ports(self):
|
|
997
|
+
r"""端口配置
|
|
998
|
+
:rtype: list of PortConfiguration
|
|
999
|
+
"""
|
|
1000
|
+
return self._Ports
|
|
1001
|
+
|
|
1002
|
+
@Ports.setter
|
|
1003
|
+
def Ports(self, Ports):
|
|
1004
|
+
self._Ports = Ports
|
|
1005
|
+
|
|
1006
|
+
@property
|
|
1007
|
+
def Resources(self):
|
|
1008
|
+
r"""资源配置
|
|
1009
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.ResourceConfiguration`
|
|
1010
|
+
"""
|
|
1011
|
+
return self._Resources
|
|
1012
|
+
|
|
1013
|
+
@Resources.setter
|
|
1014
|
+
def Resources(self, Resources):
|
|
1015
|
+
self._Resources = Resources
|
|
1016
|
+
|
|
1017
|
+
@property
|
|
1018
|
+
def Probe(self):
|
|
1019
|
+
r"""探针配置
|
|
1020
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.ProbeConfiguration`
|
|
1021
|
+
"""
|
|
1022
|
+
return self._Probe
|
|
1023
|
+
|
|
1024
|
+
@Probe.setter
|
|
1025
|
+
def Probe(self, Probe):
|
|
1026
|
+
self._Probe = Probe
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
def _deserialize(self, params):
|
|
1030
|
+
self._Image = params.get("Image")
|
|
1031
|
+
self._ImageRegistryType = params.get("ImageRegistryType")
|
|
1032
|
+
self._ImageDigest = params.get("ImageDigest")
|
|
1033
|
+
self._Command = params.get("Command")
|
|
1034
|
+
self._Args = params.get("Args")
|
|
1035
|
+
if params.get("Env") is not None:
|
|
1036
|
+
self._Env = []
|
|
1037
|
+
for item in params.get("Env"):
|
|
1038
|
+
obj = EnvVar()
|
|
1039
|
+
obj._deserialize(item)
|
|
1040
|
+
self._Env.append(obj)
|
|
1041
|
+
if params.get("Ports") is not None:
|
|
1042
|
+
self._Ports = []
|
|
1043
|
+
for item in params.get("Ports"):
|
|
1044
|
+
obj = PortConfiguration()
|
|
1045
|
+
obj._deserialize(item)
|
|
1046
|
+
self._Ports.append(obj)
|
|
1047
|
+
if params.get("Resources") is not None:
|
|
1048
|
+
self._Resources = ResourceConfiguration()
|
|
1049
|
+
self._Resources._deserialize(params.get("Resources"))
|
|
1050
|
+
if params.get("Probe") is not None:
|
|
1051
|
+
self._Probe = ProbeConfiguration()
|
|
1052
|
+
self._Probe._deserialize(params.get("Probe"))
|
|
1053
|
+
memeber_set = set(params.keys())
|
|
1054
|
+
for name, value in vars(self).items():
|
|
1055
|
+
property_name = name[1:]
|
|
1056
|
+
if property_name in memeber_set:
|
|
1057
|
+
memeber_set.remove(property_name)
|
|
1058
|
+
if len(memeber_set) > 0:
|
|
1059
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
|
|
496
1063
|
class DeleteAPIKeyRequest(AbstractModel):
|
|
497
1064
|
r"""DeleteAPIKey请求参数结构体
|
|
498
1065
|
|
|
@@ -690,40 +1257,209 @@ class DescribeAPIKeyListResponse(AbstractModel):
|
|
|
690
1257
|
self._RequestId = params.get("RequestId")
|
|
691
1258
|
|
|
692
1259
|
|
|
693
|
-
class
|
|
694
|
-
r"""
|
|
1260
|
+
class DescribePreCacheImageTaskRequest(AbstractModel):
|
|
1261
|
+
r"""DescribePreCacheImageTask请求参数结构体
|
|
695
1262
|
|
|
696
1263
|
"""
|
|
697
1264
|
|
|
698
1265
|
def __init__(self):
|
|
699
1266
|
r"""
|
|
700
|
-
:param
|
|
701
|
-
:type
|
|
702
|
-
:param
|
|
703
|
-
:type
|
|
704
|
-
:param
|
|
705
|
-
:type
|
|
706
|
-
:param _Limit: 返回数量,默认为20,最大值为100
|
|
707
|
-
:type Limit: int
|
|
708
|
-
:param _Filters: 过滤条件
|
|
709
|
-
:type Filters: list of Filter
|
|
1267
|
+
:param _Image: 镜像地址
|
|
1268
|
+
:type Image: str
|
|
1269
|
+
:param _ImageDigest: 镜像 Digest
|
|
1270
|
+
:type ImageDigest: str
|
|
1271
|
+
:param _ImageRegistryType: 镜像仓库类型:`enterprise`、`personal`。
|
|
1272
|
+
:type ImageRegistryType: str
|
|
710
1273
|
"""
|
|
711
|
-
self.
|
|
712
|
-
self.
|
|
713
|
-
self.
|
|
714
|
-
self._Limit = None
|
|
715
|
-
self._Filters = None
|
|
1274
|
+
self._Image = None
|
|
1275
|
+
self._ImageDigest = None
|
|
1276
|
+
self._ImageRegistryType = None
|
|
716
1277
|
|
|
717
1278
|
@property
|
|
718
|
-
def
|
|
719
|
-
r"""
|
|
720
|
-
:rtype:
|
|
1279
|
+
def Image(self):
|
|
1280
|
+
r"""镜像地址
|
|
1281
|
+
:rtype: str
|
|
721
1282
|
"""
|
|
722
|
-
return self.
|
|
1283
|
+
return self._Image
|
|
723
1284
|
|
|
724
|
-
@
|
|
725
|
-
def
|
|
726
|
-
self.
|
|
1285
|
+
@Image.setter
|
|
1286
|
+
def Image(self, Image):
|
|
1287
|
+
self._Image = Image
|
|
1288
|
+
|
|
1289
|
+
@property
|
|
1290
|
+
def ImageDigest(self):
|
|
1291
|
+
r"""镜像 Digest
|
|
1292
|
+
:rtype: str
|
|
1293
|
+
"""
|
|
1294
|
+
return self._ImageDigest
|
|
1295
|
+
|
|
1296
|
+
@ImageDigest.setter
|
|
1297
|
+
def ImageDigest(self, ImageDigest):
|
|
1298
|
+
self._ImageDigest = ImageDigest
|
|
1299
|
+
|
|
1300
|
+
@property
|
|
1301
|
+
def ImageRegistryType(self):
|
|
1302
|
+
r"""镜像仓库类型:`enterprise`、`personal`。
|
|
1303
|
+
:rtype: str
|
|
1304
|
+
"""
|
|
1305
|
+
return self._ImageRegistryType
|
|
1306
|
+
|
|
1307
|
+
@ImageRegistryType.setter
|
|
1308
|
+
def ImageRegistryType(self, ImageRegistryType):
|
|
1309
|
+
self._ImageRegistryType = ImageRegistryType
|
|
1310
|
+
|
|
1311
|
+
|
|
1312
|
+
def _deserialize(self, params):
|
|
1313
|
+
self._Image = params.get("Image")
|
|
1314
|
+
self._ImageDigest = params.get("ImageDigest")
|
|
1315
|
+
self._ImageRegistryType = params.get("ImageRegistryType")
|
|
1316
|
+
memeber_set = set(params.keys())
|
|
1317
|
+
for name, value in vars(self).items():
|
|
1318
|
+
property_name = name[1:]
|
|
1319
|
+
if property_name in memeber_set:
|
|
1320
|
+
memeber_set.remove(property_name)
|
|
1321
|
+
if len(memeber_set) > 0:
|
|
1322
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1323
|
+
|
|
1324
|
+
|
|
1325
|
+
|
|
1326
|
+
class DescribePreCacheImageTaskResponse(AbstractModel):
|
|
1327
|
+
r"""DescribePreCacheImageTask返回参数结构体
|
|
1328
|
+
|
|
1329
|
+
"""
|
|
1330
|
+
|
|
1331
|
+
def __init__(self):
|
|
1332
|
+
r"""
|
|
1333
|
+
:param _Image: 镜像地址
|
|
1334
|
+
:type Image: str
|
|
1335
|
+
:param _ImageDigest: 镜像 Digest
|
|
1336
|
+
:type ImageDigest: str
|
|
1337
|
+
:param _ImageRegistryType: 镜像仓库类型:`enterprise`、`personal`。
|
|
1338
|
+
:type ImageRegistryType: str
|
|
1339
|
+
:param _Status: 镜像预热状态
|
|
1340
|
+
:type Status: str
|
|
1341
|
+
:param _Message: 镜像预热状态描述
|
|
1342
|
+
:type Message: str
|
|
1343
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1344
|
+
:type RequestId: str
|
|
1345
|
+
"""
|
|
1346
|
+
self._Image = None
|
|
1347
|
+
self._ImageDigest = None
|
|
1348
|
+
self._ImageRegistryType = None
|
|
1349
|
+
self._Status = None
|
|
1350
|
+
self._Message = None
|
|
1351
|
+
self._RequestId = None
|
|
1352
|
+
|
|
1353
|
+
@property
|
|
1354
|
+
def Image(self):
|
|
1355
|
+
r"""镜像地址
|
|
1356
|
+
:rtype: str
|
|
1357
|
+
"""
|
|
1358
|
+
return self._Image
|
|
1359
|
+
|
|
1360
|
+
@Image.setter
|
|
1361
|
+
def Image(self, Image):
|
|
1362
|
+
self._Image = Image
|
|
1363
|
+
|
|
1364
|
+
@property
|
|
1365
|
+
def ImageDigest(self):
|
|
1366
|
+
r"""镜像 Digest
|
|
1367
|
+
:rtype: str
|
|
1368
|
+
"""
|
|
1369
|
+
return self._ImageDigest
|
|
1370
|
+
|
|
1371
|
+
@ImageDigest.setter
|
|
1372
|
+
def ImageDigest(self, ImageDigest):
|
|
1373
|
+
self._ImageDigest = ImageDigest
|
|
1374
|
+
|
|
1375
|
+
@property
|
|
1376
|
+
def ImageRegistryType(self):
|
|
1377
|
+
r"""镜像仓库类型:`enterprise`、`personal`。
|
|
1378
|
+
:rtype: str
|
|
1379
|
+
"""
|
|
1380
|
+
return self._ImageRegistryType
|
|
1381
|
+
|
|
1382
|
+
@ImageRegistryType.setter
|
|
1383
|
+
def ImageRegistryType(self, ImageRegistryType):
|
|
1384
|
+
self._ImageRegistryType = ImageRegistryType
|
|
1385
|
+
|
|
1386
|
+
@property
|
|
1387
|
+
def Status(self):
|
|
1388
|
+
r"""镜像预热状态
|
|
1389
|
+
:rtype: str
|
|
1390
|
+
"""
|
|
1391
|
+
return self._Status
|
|
1392
|
+
|
|
1393
|
+
@Status.setter
|
|
1394
|
+
def Status(self, Status):
|
|
1395
|
+
self._Status = Status
|
|
1396
|
+
|
|
1397
|
+
@property
|
|
1398
|
+
def Message(self):
|
|
1399
|
+
r"""镜像预热状态描述
|
|
1400
|
+
:rtype: str
|
|
1401
|
+
"""
|
|
1402
|
+
return self._Message
|
|
1403
|
+
|
|
1404
|
+
@Message.setter
|
|
1405
|
+
def Message(self, Message):
|
|
1406
|
+
self._Message = Message
|
|
1407
|
+
|
|
1408
|
+
@property
|
|
1409
|
+
def RequestId(self):
|
|
1410
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1411
|
+
:rtype: str
|
|
1412
|
+
"""
|
|
1413
|
+
return self._RequestId
|
|
1414
|
+
|
|
1415
|
+
@RequestId.setter
|
|
1416
|
+
def RequestId(self, RequestId):
|
|
1417
|
+
self._RequestId = RequestId
|
|
1418
|
+
|
|
1419
|
+
|
|
1420
|
+
def _deserialize(self, params):
|
|
1421
|
+
self._Image = params.get("Image")
|
|
1422
|
+
self._ImageDigest = params.get("ImageDigest")
|
|
1423
|
+
self._ImageRegistryType = params.get("ImageRegistryType")
|
|
1424
|
+
self._Status = params.get("Status")
|
|
1425
|
+
self._Message = params.get("Message")
|
|
1426
|
+
self._RequestId = params.get("RequestId")
|
|
1427
|
+
|
|
1428
|
+
|
|
1429
|
+
class DescribeSandboxInstanceListRequest(AbstractModel):
|
|
1430
|
+
r"""DescribeSandboxInstanceList请求参数结构体
|
|
1431
|
+
|
|
1432
|
+
"""
|
|
1433
|
+
|
|
1434
|
+
def __init__(self):
|
|
1435
|
+
r"""
|
|
1436
|
+
:param _InstanceIds: 沙箱实例ID列表,指定要查询的实例。如果为空则查询所有实例。最大支持100个ID
|
|
1437
|
+
:type InstanceIds: list of str
|
|
1438
|
+
:param _ToolId: 沙箱工具ID,指定时查询该沙箱模板下的实例,为空则查询所有沙箱模板的实例
|
|
1439
|
+
:type ToolId: str
|
|
1440
|
+
:param _Offset: 偏移量,默认为0
|
|
1441
|
+
:type Offset: int
|
|
1442
|
+
:param _Limit: 返回数量,默认为20,最大值为100
|
|
1443
|
+
:type Limit: int
|
|
1444
|
+
:param _Filters: 过滤条件
|
|
1445
|
+
:type Filters: list of Filter
|
|
1446
|
+
"""
|
|
1447
|
+
self._InstanceIds = None
|
|
1448
|
+
self._ToolId = None
|
|
1449
|
+
self._Offset = None
|
|
1450
|
+
self._Limit = None
|
|
1451
|
+
self._Filters = None
|
|
1452
|
+
|
|
1453
|
+
@property
|
|
1454
|
+
def InstanceIds(self):
|
|
1455
|
+
r"""沙箱实例ID列表,指定要查询的实例。如果为空则查询所有实例。最大支持100个ID
|
|
1456
|
+
:rtype: list of str
|
|
1457
|
+
"""
|
|
1458
|
+
return self._InstanceIds
|
|
1459
|
+
|
|
1460
|
+
@InstanceIds.setter
|
|
1461
|
+
def InstanceIds(self, InstanceIds):
|
|
1462
|
+
self._InstanceIds = InstanceIds
|
|
727
1463
|
|
|
728
1464
|
@property
|
|
729
1465
|
def ToolId(self):
|
|
@@ -921,15 +1657,461 @@ class DescribeSandboxToolListRequest(AbstractModel):
|
|
|
921
1657
|
|
|
922
1658
|
|
|
923
1659
|
def _deserialize(self, params):
|
|
924
|
-
self._ToolIds = params.get("ToolIds")
|
|
925
|
-
self._Offset = params.get("Offset")
|
|
926
|
-
self._Limit = params.get("Limit")
|
|
927
|
-
if params.get("Filters") is not None:
|
|
928
|
-
self._Filters = []
|
|
929
|
-
for item in params.get("Filters"):
|
|
930
|
-
obj = Filter()
|
|
931
|
-
obj._deserialize(item)
|
|
932
|
-
self._Filters.append(obj)
|
|
1660
|
+
self._ToolIds = params.get("ToolIds")
|
|
1661
|
+
self._Offset = params.get("Offset")
|
|
1662
|
+
self._Limit = params.get("Limit")
|
|
1663
|
+
if params.get("Filters") is not None:
|
|
1664
|
+
self._Filters = []
|
|
1665
|
+
for item in params.get("Filters"):
|
|
1666
|
+
obj = Filter()
|
|
1667
|
+
obj._deserialize(item)
|
|
1668
|
+
self._Filters.append(obj)
|
|
1669
|
+
memeber_set = set(params.keys())
|
|
1670
|
+
for name, value in vars(self).items():
|
|
1671
|
+
property_name = name[1:]
|
|
1672
|
+
if property_name in memeber_set:
|
|
1673
|
+
memeber_set.remove(property_name)
|
|
1674
|
+
if len(memeber_set) > 0:
|
|
1675
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1676
|
+
|
|
1677
|
+
|
|
1678
|
+
|
|
1679
|
+
class DescribeSandboxToolListResponse(AbstractModel):
|
|
1680
|
+
r"""DescribeSandboxToolList返回参数结构体
|
|
1681
|
+
|
|
1682
|
+
"""
|
|
1683
|
+
|
|
1684
|
+
def __init__(self):
|
|
1685
|
+
r"""
|
|
1686
|
+
:param _SandboxToolSet: 沙箱工具列表
|
|
1687
|
+
:type SandboxToolSet: list of SandboxTool
|
|
1688
|
+
:param _TotalCount: 符合条件的沙箱工具总数
|
|
1689
|
+
:type TotalCount: int
|
|
1690
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1691
|
+
:type RequestId: str
|
|
1692
|
+
"""
|
|
1693
|
+
self._SandboxToolSet = None
|
|
1694
|
+
self._TotalCount = None
|
|
1695
|
+
self._RequestId = None
|
|
1696
|
+
|
|
1697
|
+
@property
|
|
1698
|
+
def SandboxToolSet(self):
|
|
1699
|
+
r"""沙箱工具列表
|
|
1700
|
+
:rtype: list of SandboxTool
|
|
1701
|
+
"""
|
|
1702
|
+
return self._SandboxToolSet
|
|
1703
|
+
|
|
1704
|
+
@SandboxToolSet.setter
|
|
1705
|
+
def SandboxToolSet(self, SandboxToolSet):
|
|
1706
|
+
self._SandboxToolSet = SandboxToolSet
|
|
1707
|
+
|
|
1708
|
+
@property
|
|
1709
|
+
def TotalCount(self):
|
|
1710
|
+
r"""符合条件的沙箱工具总数
|
|
1711
|
+
:rtype: int
|
|
1712
|
+
"""
|
|
1713
|
+
return self._TotalCount
|
|
1714
|
+
|
|
1715
|
+
@TotalCount.setter
|
|
1716
|
+
def TotalCount(self, TotalCount):
|
|
1717
|
+
self._TotalCount = TotalCount
|
|
1718
|
+
|
|
1719
|
+
@property
|
|
1720
|
+
def RequestId(self):
|
|
1721
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1722
|
+
:rtype: str
|
|
1723
|
+
"""
|
|
1724
|
+
return self._RequestId
|
|
1725
|
+
|
|
1726
|
+
@RequestId.setter
|
|
1727
|
+
def RequestId(self, RequestId):
|
|
1728
|
+
self._RequestId = RequestId
|
|
1729
|
+
|
|
1730
|
+
|
|
1731
|
+
def _deserialize(self, params):
|
|
1732
|
+
if params.get("SandboxToolSet") is not None:
|
|
1733
|
+
self._SandboxToolSet = []
|
|
1734
|
+
for item in params.get("SandboxToolSet"):
|
|
1735
|
+
obj = SandboxTool()
|
|
1736
|
+
obj._deserialize(item)
|
|
1737
|
+
self._SandboxToolSet.append(obj)
|
|
1738
|
+
self._TotalCount = params.get("TotalCount")
|
|
1739
|
+
self._RequestId = params.get("RequestId")
|
|
1740
|
+
|
|
1741
|
+
|
|
1742
|
+
class EnvVar(AbstractModel):
|
|
1743
|
+
r"""环境变量
|
|
1744
|
+
|
|
1745
|
+
"""
|
|
1746
|
+
|
|
1747
|
+
def __init__(self):
|
|
1748
|
+
r"""
|
|
1749
|
+
:param _Name: 环境变量名
|
|
1750
|
+
:type Name: str
|
|
1751
|
+
:param _Value: 环境变量值
|
|
1752
|
+
:type Value: str
|
|
1753
|
+
"""
|
|
1754
|
+
self._Name = None
|
|
1755
|
+
self._Value = None
|
|
1756
|
+
|
|
1757
|
+
@property
|
|
1758
|
+
def Name(self):
|
|
1759
|
+
r"""环境变量名
|
|
1760
|
+
:rtype: str
|
|
1761
|
+
"""
|
|
1762
|
+
return self._Name
|
|
1763
|
+
|
|
1764
|
+
@Name.setter
|
|
1765
|
+
def Name(self, Name):
|
|
1766
|
+
self._Name = Name
|
|
1767
|
+
|
|
1768
|
+
@property
|
|
1769
|
+
def Value(self):
|
|
1770
|
+
r"""环境变量值
|
|
1771
|
+
:rtype: str
|
|
1772
|
+
"""
|
|
1773
|
+
return self._Value
|
|
1774
|
+
|
|
1775
|
+
@Value.setter
|
|
1776
|
+
def Value(self, Value):
|
|
1777
|
+
self._Value = Value
|
|
1778
|
+
|
|
1779
|
+
|
|
1780
|
+
def _deserialize(self, params):
|
|
1781
|
+
self._Name = params.get("Name")
|
|
1782
|
+
self._Value = params.get("Value")
|
|
1783
|
+
memeber_set = set(params.keys())
|
|
1784
|
+
for name, value in vars(self).items():
|
|
1785
|
+
property_name = name[1:]
|
|
1786
|
+
if property_name in memeber_set:
|
|
1787
|
+
memeber_set.remove(property_name)
|
|
1788
|
+
if len(memeber_set) > 0:
|
|
1789
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1790
|
+
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
class Filter(AbstractModel):
|
|
1794
|
+
r"""过滤列表规则
|
|
1795
|
+
|
|
1796
|
+
"""
|
|
1797
|
+
|
|
1798
|
+
def __init__(self):
|
|
1799
|
+
r"""
|
|
1800
|
+
:param _Name: 属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
|
1801
|
+
:type Name: str
|
|
1802
|
+
:param _Values: 属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
|
|
1803
|
+
:type Values: list of str
|
|
1804
|
+
"""
|
|
1805
|
+
self._Name = None
|
|
1806
|
+
self._Values = None
|
|
1807
|
+
|
|
1808
|
+
@property
|
|
1809
|
+
def Name(self):
|
|
1810
|
+
r"""属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
|
1811
|
+
:rtype: str
|
|
1812
|
+
"""
|
|
1813
|
+
return self._Name
|
|
1814
|
+
|
|
1815
|
+
@Name.setter
|
|
1816
|
+
def Name(self, Name):
|
|
1817
|
+
self._Name = Name
|
|
1818
|
+
|
|
1819
|
+
@property
|
|
1820
|
+
def Values(self):
|
|
1821
|
+
r"""属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
|
|
1822
|
+
:rtype: list of str
|
|
1823
|
+
"""
|
|
1824
|
+
return self._Values
|
|
1825
|
+
|
|
1826
|
+
@Values.setter
|
|
1827
|
+
def Values(self, Values):
|
|
1828
|
+
self._Values = Values
|
|
1829
|
+
|
|
1830
|
+
|
|
1831
|
+
def _deserialize(self, params):
|
|
1832
|
+
self._Name = params.get("Name")
|
|
1833
|
+
self._Values = params.get("Values")
|
|
1834
|
+
memeber_set = set(params.keys())
|
|
1835
|
+
for name, value in vars(self).items():
|
|
1836
|
+
property_name = name[1:]
|
|
1837
|
+
if property_name in memeber_set:
|
|
1838
|
+
memeber_set.remove(property_name)
|
|
1839
|
+
if len(memeber_set) > 0:
|
|
1840
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1841
|
+
|
|
1842
|
+
|
|
1843
|
+
|
|
1844
|
+
class HttpGetAction(AbstractModel):
|
|
1845
|
+
r"""HTTP GET 探测动作配置
|
|
1846
|
+
|
|
1847
|
+
"""
|
|
1848
|
+
|
|
1849
|
+
def __init__(self):
|
|
1850
|
+
r"""
|
|
1851
|
+
:param _Path: 路径
|
|
1852
|
+
:type Path: str
|
|
1853
|
+
:param _Port: 端口
|
|
1854
|
+
:type Port: int
|
|
1855
|
+
:param _Scheme: 协议
|
|
1856
|
+
:type Scheme: str
|
|
1857
|
+
"""
|
|
1858
|
+
self._Path = None
|
|
1859
|
+
self._Port = None
|
|
1860
|
+
self._Scheme = None
|
|
1861
|
+
|
|
1862
|
+
@property
|
|
1863
|
+
def Path(self):
|
|
1864
|
+
r"""路径
|
|
1865
|
+
:rtype: str
|
|
1866
|
+
"""
|
|
1867
|
+
return self._Path
|
|
1868
|
+
|
|
1869
|
+
@Path.setter
|
|
1870
|
+
def Path(self, Path):
|
|
1871
|
+
self._Path = Path
|
|
1872
|
+
|
|
1873
|
+
@property
|
|
1874
|
+
def Port(self):
|
|
1875
|
+
r"""端口
|
|
1876
|
+
:rtype: int
|
|
1877
|
+
"""
|
|
1878
|
+
return self._Port
|
|
1879
|
+
|
|
1880
|
+
@Port.setter
|
|
1881
|
+
def Port(self, Port):
|
|
1882
|
+
self._Port = Port
|
|
1883
|
+
|
|
1884
|
+
@property
|
|
1885
|
+
def Scheme(self):
|
|
1886
|
+
r"""协议
|
|
1887
|
+
:rtype: str
|
|
1888
|
+
"""
|
|
1889
|
+
return self._Scheme
|
|
1890
|
+
|
|
1891
|
+
@Scheme.setter
|
|
1892
|
+
def Scheme(self, Scheme):
|
|
1893
|
+
self._Scheme = Scheme
|
|
1894
|
+
|
|
1895
|
+
|
|
1896
|
+
def _deserialize(self, params):
|
|
1897
|
+
self._Path = params.get("Path")
|
|
1898
|
+
self._Port = params.get("Port")
|
|
1899
|
+
self._Scheme = params.get("Scheme")
|
|
1900
|
+
memeber_set = set(params.keys())
|
|
1901
|
+
for name, value in vars(self).items():
|
|
1902
|
+
property_name = name[1:]
|
|
1903
|
+
if property_name in memeber_set:
|
|
1904
|
+
memeber_set.remove(property_name)
|
|
1905
|
+
if len(memeber_set) > 0:
|
|
1906
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1907
|
+
|
|
1908
|
+
|
|
1909
|
+
|
|
1910
|
+
class ImageStorageSource(AbstractModel):
|
|
1911
|
+
r"""镜像卷挂载源配置
|
|
1912
|
+
|
|
1913
|
+
"""
|
|
1914
|
+
|
|
1915
|
+
def __init__(self):
|
|
1916
|
+
r"""
|
|
1917
|
+
:param _Reference: 镜像地址
|
|
1918
|
+
:type Reference: str
|
|
1919
|
+
:param _ImageRegistryType: 镜像仓库类型:`enterprise`、`personal`。
|
|
1920
|
+
:type ImageRegistryType: str
|
|
1921
|
+
:param _SubPath: 镜像内部的路径
|
|
1922
|
+
:type SubPath: str
|
|
1923
|
+
:param _Digest: 镜像 Digest,请求时无需传入
|
|
1924
|
+
:type Digest: str
|
|
1925
|
+
"""
|
|
1926
|
+
self._Reference = None
|
|
1927
|
+
self._ImageRegistryType = None
|
|
1928
|
+
self._SubPath = None
|
|
1929
|
+
self._Digest = None
|
|
1930
|
+
|
|
1931
|
+
@property
|
|
1932
|
+
def Reference(self):
|
|
1933
|
+
r"""镜像地址
|
|
1934
|
+
:rtype: str
|
|
1935
|
+
"""
|
|
1936
|
+
return self._Reference
|
|
1937
|
+
|
|
1938
|
+
@Reference.setter
|
|
1939
|
+
def Reference(self, Reference):
|
|
1940
|
+
self._Reference = Reference
|
|
1941
|
+
|
|
1942
|
+
@property
|
|
1943
|
+
def ImageRegistryType(self):
|
|
1944
|
+
r"""镜像仓库类型:`enterprise`、`personal`。
|
|
1945
|
+
:rtype: str
|
|
1946
|
+
"""
|
|
1947
|
+
return self._ImageRegistryType
|
|
1948
|
+
|
|
1949
|
+
@ImageRegistryType.setter
|
|
1950
|
+
def ImageRegistryType(self, ImageRegistryType):
|
|
1951
|
+
self._ImageRegistryType = ImageRegistryType
|
|
1952
|
+
|
|
1953
|
+
@property
|
|
1954
|
+
def SubPath(self):
|
|
1955
|
+
r"""镜像内部的路径
|
|
1956
|
+
:rtype: str
|
|
1957
|
+
"""
|
|
1958
|
+
return self._SubPath
|
|
1959
|
+
|
|
1960
|
+
@SubPath.setter
|
|
1961
|
+
def SubPath(self, SubPath):
|
|
1962
|
+
self._SubPath = SubPath
|
|
1963
|
+
|
|
1964
|
+
@property
|
|
1965
|
+
def Digest(self):
|
|
1966
|
+
r"""镜像 Digest,请求时无需传入
|
|
1967
|
+
:rtype: str
|
|
1968
|
+
"""
|
|
1969
|
+
return self._Digest
|
|
1970
|
+
|
|
1971
|
+
@Digest.setter
|
|
1972
|
+
def Digest(self, Digest):
|
|
1973
|
+
self._Digest = Digest
|
|
1974
|
+
|
|
1975
|
+
|
|
1976
|
+
def _deserialize(self, params):
|
|
1977
|
+
self._Reference = params.get("Reference")
|
|
1978
|
+
self._ImageRegistryType = params.get("ImageRegistryType")
|
|
1979
|
+
self._SubPath = params.get("SubPath")
|
|
1980
|
+
self._Digest = params.get("Digest")
|
|
1981
|
+
memeber_set = set(params.keys())
|
|
1982
|
+
for name, value in vars(self).items():
|
|
1983
|
+
property_name = name[1:]
|
|
1984
|
+
if property_name in memeber_set:
|
|
1985
|
+
memeber_set.remove(property_name)
|
|
1986
|
+
if len(memeber_set) > 0:
|
|
1987
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1988
|
+
|
|
1989
|
+
|
|
1990
|
+
|
|
1991
|
+
class MountOption(AbstractModel):
|
|
1992
|
+
r"""沙箱实例存储挂载配置可选项,用于覆盖沙箱工具的存储配置的部分选项,并提供子路径挂载配置。
|
|
1993
|
+
|
|
1994
|
+
"""
|
|
1995
|
+
|
|
1996
|
+
def __init__(self):
|
|
1997
|
+
r"""
|
|
1998
|
+
:param _Name: 指定沙箱工具中的存储配置名称
|
|
1999
|
+
:type Name: str
|
|
2000
|
+
:param _MountPath: 沙箱实例本地挂载路径(可选),默认继承工具中的存储配置
|
|
2001
|
+
:type MountPath: str
|
|
2002
|
+
:param _SubPath: 沙箱实例存储挂载子路径(可选)
|
|
2003
|
+
:type SubPath: str
|
|
2004
|
+
:param _ReadOnly: 沙箱实例存储挂载读写权限(可选),默认继承工具存储配置
|
|
2005
|
+
:type ReadOnly: bool
|
|
2006
|
+
"""
|
|
2007
|
+
self._Name = None
|
|
2008
|
+
self._MountPath = None
|
|
2009
|
+
self._SubPath = None
|
|
2010
|
+
self._ReadOnly = None
|
|
2011
|
+
|
|
2012
|
+
@property
|
|
2013
|
+
def Name(self):
|
|
2014
|
+
r"""指定沙箱工具中的存储配置名称
|
|
2015
|
+
:rtype: str
|
|
2016
|
+
"""
|
|
2017
|
+
return self._Name
|
|
2018
|
+
|
|
2019
|
+
@Name.setter
|
|
2020
|
+
def Name(self, Name):
|
|
2021
|
+
self._Name = Name
|
|
2022
|
+
|
|
2023
|
+
@property
|
|
2024
|
+
def MountPath(self):
|
|
2025
|
+
r"""沙箱实例本地挂载路径(可选),默认继承工具中的存储配置
|
|
2026
|
+
:rtype: str
|
|
2027
|
+
"""
|
|
2028
|
+
return self._MountPath
|
|
2029
|
+
|
|
2030
|
+
@MountPath.setter
|
|
2031
|
+
def MountPath(self, MountPath):
|
|
2032
|
+
self._MountPath = MountPath
|
|
2033
|
+
|
|
2034
|
+
@property
|
|
2035
|
+
def SubPath(self):
|
|
2036
|
+
r"""沙箱实例存储挂载子路径(可选)
|
|
2037
|
+
:rtype: str
|
|
2038
|
+
"""
|
|
2039
|
+
return self._SubPath
|
|
2040
|
+
|
|
2041
|
+
@SubPath.setter
|
|
2042
|
+
def SubPath(self, SubPath):
|
|
2043
|
+
self._SubPath = SubPath
|
|
2044
|
+
|
|
2045
|
+
@property
|
|
2046
|
+
def ReadOnly(self):
|
|
2047
|
+
r"""沙箱实例存储挂载读写权限(可选),默认继承工具存储配置
|
|
2048
|
+
:rtype: bool
|
|
2049
|
+
"""
|
|
2050
|
+
return self._ReadOnly
|
|
2051
|
+
|
|
2052
|
+
@ReadOnly.setter
|
|
2053
|
+
def ReadOnly(self, ReadOnly):
|
|
2054
|
+
self._ReadOnly = ReadOnly
|
|
2055
|
+
|
|
2056
|
+
|
|
2057
|
+
def _deserialize(self, params):
|
|
2058
|
+
self._Name = params.get("Name")
|
|
2059
|
+
self._MountPath = params.get("MountPath")
|
|
2060
|
+
self._SubPath = params.get("SubPath")
|
|
2061
|
+
self._ReadOnly = params.get("ReadOnly")
|
|
2062
|
+
memeber_set = set(params.keys())
|
|
2063
|
+
for name, value in vars(self).items():
|
|
2064
|
+
property_name = name[1:]
|
|
2065
|
+
if property_name in memeber_set:
|
|
2066
|
+
memeber_set.remove(property_name)
|
|
2067
|
+
if len(memeber_set) > 0:
|
|
2068
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2069
|
+
|
|
2070
|
+
|
|
2071
|
+
|
|
2072
|
+
class NetworkConfiguration(AbstractModel):
|
|
2073
|
+
r"""沙箱网络配置
|
|
2074
|
+
|
|
2075
|
+
"""
|
|
2076
|
+
|
|
2077
|
+
def __init__(self):
|
|
2078
|
+
r"""
|
|
2079
|
+
:param _NetworkMode: 网络模式(当前支持 PUBLIC, VPC, SANDBOX)
|
|
2080
|
+
:type NetworkMode: str
|
|
2081
|
+
:param _VpcConfig: VPC网络相关配置
|
|
2082
|
+
:type VpcConfig: :class:`tencentcloud.ags.v20250920.models.VPCConfig`
|
|
2083
|
+
"""
|
|
2084
|
+
self._NetworkMode = None
|
|
2085
|
+
self._VpcConfig = None
|
|
2086
|
+
|
|
2087
|
+
@property
|
|
2088
|
+
def NetworkMode(self):
|
|
2089
|
+
r"""网络模式(当前支持 PUBLIC, VPC, SANDBOX)
|
|
2090
|
+
:rtype: str
|
|
2091
|
+
"""
|
|
2092
|
+
return self._NetworkMode
|
|
2093
|
+
|
|
2094
|
+
@NetworkMode.setter
|
|
2095
|
+
def NetworkMode(self, NetworkMode):
|
|
2096
|
+
self._NetworkMode = NetworkMode
|
|
2097
|
+
|
|
2098
|
+
@property
|
|
2099
|
+
def VpcConfig(self):
|
|
2100
|
+
r"""VPC网络相关配置
|
|
2101
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.VPCConfig`
|
|
2102
|
+
"""
|
|
2103
|
+
return self._VpcConfig
|
|
2104
|
+
|
|
2105
|
+
@VpcConfig.setter
|
|
2106
|
+
def VpcConfig(self, VpcConfig):
|
|
2107
|
+
self._VpcConfig = VpcConfig
|
|
2108
|
+
|
|
2109
|
+
|
|
2110
|
+
def _deserialize(self, params):
|
|
2111
|
+
self._NetworkMode = params.get("NetworkMode")
|
|
2112
|
+
if params.get("VpcConfig") is not None:
|
|
2113
|
+
self._VpcConfig = VPCConfig()
|
|
2114
|
+
self._VpcConfig._deserialize(params.get("VpcConfig"))
|
|
933
2115
|
memeber_set = set(params.keys())
|
|
934
2116
|
for name, value in vars(self).items():
|
|
935
2117
|
property_name = name[1:]
|
|
@@ -940,110 +2122,175 @@ class DescribeSandboxToolListRequest(AbstractModel):
|
|
|
940
2122
|
|
|
941
2123
|
|
|
942
2124
|
|
|
943
|
-
class
|
|
944
|
-
r"""
|
|
2125
|
+
class PortConfiguration(AbstractModel):
|
|
2126
|
+
r"""端口配置
|
|
945
2127
|
|
|
946
2128
|
"""
|
|
947
2129
|
|
|
948
2130
|
def __init__(self):
|
|
949
2131
|
r"""
|
|
950
|
-
:param
|
|
951
|
-
:type
|
|
952
|
-
:param
|
|
953
|
-
:type
|
|
954
|
-
:param
|
|
955
|
-
:type
|
|
2132
|
+
:param _Name: 端口名
|
|
2133
|
+
:type Name: str
|
|
2134
|
+
:param _Port: 端口
|
|
2135
|
+
:type Port: int
|
|
2136
|
+
:param _Protocol: 协议
|
|
2137
|
+
:type Protocol: str
|
|
956
2138
|
"""
|
|
957
|
-
self.
|
|
958
|
-
self.
|
|
959
|
-
self.
|
|
2139
|
+
self._Name = None
|
|
2140
|
+
self._Port = None
|
|
2141
|
+
self._Protocol = None
|
|
960
2142
|
|
|
961
2143
|
@property
|
|
962
|
-
def
|
|
963
|
-
r"""
|
|
964
|
-
:rtype:
|
|
2144
|
+
def Name(self):
|
|
2145
|
+
r"""端口名
|
|
2146
|
+
:rtype: str
|
|
965
2147
|
"""
|
|
966
|
-
return self.
|
|
2148
|
+
return self._Name
|
|
967
2149
|
|
|
968
|
-
@
|
|
969
|
-
def
|
|
970
|
-
self.
|
|
2150
|
+
@Name.setter
|
|
2151
|
+
def Name(self, Name):
|
|
2152
|
+
self._Name = Name
|
|
971
2153
|
|
|
972
2154
|
@property
|
|
973
|
-
def
|
|
974
|
-
r"""
|
|
2155
|
+
def Port(self):
|
|
2156
|
+
r"""端口
|
|
975
2157
|
:rtype: int
|
|
976
2158
|
"""
|
|
977
|
-
return self.
|
|
2159
|
+
return self._Port
|
|
978
2160
|
|
|
979
|
-
@
|
|
980
|
-
def
|
|
981
|
-
self.
|
|
2161
|
+
@Port.setter
|
|
2162
|
+
def Port(self, Port):
|
|
2163
|
+
self._Port = Port
|
|
982
2164
|
|
|
983
2165
|
@property
|
|
984
|
-
def
|
|
985
|
-
r"""
|
|
2166
|
+
def Protocol(self):
|
|
2167
|
+
r"""协议
|
|
986
2168
|
:rtype: str
|
|
987
2169
|
"""
|
|
988
|
-
return self.
|
|
2170
|
+
return self._Protocol
|
|
989
2171
|
|
|
990
|
-
@
|
|
991
|
-
def
|
|
992
|
-
self.
|
|
2172
|
+
@Protocol.setter
|
|
2173
|
+
def Protocol(self, Protocol):
|
|
2174
|
+
self._Protocol = Protocol
|
|
993
2175
|
|
|
994
2176
|
|
|
995
2177
|
def _deserialize(self, params):
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
2178
|
+
self._Name = params.get("Name")
|
|
2179
|
+
self._Port = params.get("Port")
|
|
2180
|
+
self._Protocol = params.get("Protocol")
|
|
2181
|
+
memeber_set = set(params.keys())
|
|
2182
|
+
for name, value in vars(self).items():
|
|
2183
|
+
property_name = name[1:]
|
|
2184
|
+
if property_name in memeber_set:
|
|
2185
|
+
memeber_set.remove(property_name)
|
|
2186
|
+
if len(memeber_set) > 0:
|
|
2187
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2188
|
+
|
|
1004
2189
|
|
|
1005
2190
|
|
|
1006
|
-
class
|
|
1007
|
-
r"""
|
|
2191
|
+
class ProbeConfiguration(AbstractModel):
|
|
2192
|
+
r"""健康检查探针配置
|
|
1008
2193
|
|
|
1009
2194
|
"""
|
|
1010
2195
|
|
|
1011
2196
|
def __init__(self):
|
|
1012
2197
|
r"""
|
|
1013
|
-
:param
|
|
1014
|
-
:type
|
|
1015
|
-
:param
|
|
1016
|
-
:type
|
|
2198
|
+
:param _HttpGet: HTTP GET 探测配置
|
|
2199
|
+
:type HttpGet: :class:`tencentcloud.ags.v20250920.models.HttpGetAction`
|
|
2200
|
+
:param _ReadyTimeoutMs: 健康检查就绪超时
|
|
2201
|
+
:type ReadyTimeoutMs: int
|
|
2202
|
+
:param _ProbeTimeoutMs: 健康检查单次探测超时
|
|
2203
|
+
:type ProbeTimeoutMs: int
|
|
2204
|
+
:param _ProbePeriodMs: 健康检查间隔
|
|
2205
|
+
:type ProbePeriodMs: int
|
|
2206
|
+
:param _SuccessThreshold: 健康检查成功阈值
|
|
2207
|
+
:type SuccessThreshold: int
|
|
2208
|
+
:param _FailureThreshold: 健康检查失败阈值
|
|
2209
|
+
:type FailureThreshold: int
|
|
2210
|
+
"""
|
|
2211
|
+
self._HttpGet = None
|
|
2212
|
+
self._ReadyTimeoutMs = None
|
|
2213
|
+
self._ProbeTimeoutMs = None
|
|
2214
|
+
self._ProbePeriodMs = None
|
|
2215
|
+
self._SuccessThreshold = None
|
|
2216
|
+
self._FailureThreshold = None
|
|
2217
|
+
|
|
2218
|
+
@property
|
|
2219
|
+
def HttpGet(self):
|
|
2220
|
+
r"""HTTP GET 探测配置
|
|
2221
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.HttpGetAction`
|
|
2222
|
+
"""
|
|
2223
|
+
return self._HttpGet
|
|
2224
|
+
|
|
2225
|
+
@HttpGet.setter
|
|
2226
|
+
def HttpGet(self, HttpGet):
|
|
2227
|
+
self._HttpGet = HttpGet
|
|
2228
|
+
|
|
2229
|
+
@property
|
|
2230
|
+
def ReadyTimeoutMs(self):
|
|
2231
|
+
r"""健康检查就绪超时
|
|
2232
|
+
:rtype: int
|
|
1017
2233
|
"""
|
|
1018
|
-
self.
|
|
1019
|
-
|
|
2234
|
+
return self._ReadyTimeoutMs
|
|
2235
|
+
|
|
2236
|
+
@ReadyTimeoutMs.setter
|
|
2237
|
+
def ReadyTimeoutMs(self, ReadyTimeoutMs):
|
|
2238
|
+
self._ReadyTimeoutMs = ReadyTimeoutMs
|
|
1020
2239
|
|
|
1021
2240
|
@property
|
|
1022
|
-
def
|
|
1023
|
-
r"""
|
|
1024
|
-
:rtype:
|
|
2241
|
+
def ProbeTimeoutMs(self):
|
|
2242
|
+
r"""健康检查单次探测超时
|
|
2243
|
+
:rtype: int
|
|
1025
2244
|
"""
|
|
1026
|
-
return self.
|
|
2245
|
+
return self._ProbeTimeoutMs
|
|
1027
2246
|
|
|
1028
|
-
@
|
|
1029
|
-
def
|
|
1030
|
-
self.
|
|
2247
|
+
@ProbeTimeoutMs.setter
|
|
2248
|
+
def ProbeTimeoutMs(self, ProbeTimeoutMs):
|
|
2249
|
+
self._ProbeTimeoutMs = ProbeTimeoutMs
|
|
1031
2250
|
|
|
1032
2251
|
@property
|
|
1033
|
-
def
|
|
1034
|
-
r"""
|
|
1035
|
-
:rtype:
|
|
2252
|
+
def ProbePeriodMs(self):
|
|
2253
|
+
r"""健康检查间隔
|
|
2254
|
+
:rtype: int
|
|
1036
2255
|
"""
|
|
1037
|
-
return self.
|
|
2256
|
+
return self._ProbePeriodMs
|
|
1038
2257
|
|
|
1039
|
-
@
|
|
1040
|
-
def
|
|
1041
|
-
self.
|
|
2258
|
+
@ProbePeriodMs.setter
|
|
2259
|
+
def ProbePeriodMs(self, ProbePeriodMs):
|
|
2260
|
+
self._ProbePeriodMs = ProbePeriodMs
|
|
2261
|
+
|
|
2262
|
+
@property
|
|
2263
|
+
def SuccessThreshold(self):
|
|
2264
|
+
r"""健康检查成功阈值
|
|
2265
|
+
:rtype: int
|
|
2266
|
+
"""
|
|
2267
|
+
return self._SuccessThreshold
|
|
2268
|
+
|
|
2269
|
+
@SuccessThreshold.setter
|
|
2270
|
+
def SuccessThreshold(self, SuccessThreshold):
|
|
2271
|
+
self._SuccessThreshold = SuccessThreshold
|
|
2272
|
+
|
|
2273
|
+
@property
|
|
2274
|
+
def FailureThreshold(self):
|
|
2275
|
+
r"""健康检查失败阈值
|
|
2276
|
+
:rtype: int
|
|
2277
|
+
"""
|
|
2278
|
+
return self._FailureThreshold
|
|
2279
|
+
|
|
2280
|
+
@FailureThreshold.setter
|
|
2281
|
+
def FailureThreshold(self, FailureThreshold):
|
|
2282
|
+
self._FailureThreshold = FailureThreshold
|
|
1042
2283
|
|
|
1043
2284
|
|
|
1044
2285
|
def _deserialize(self, params):
|
|
1045
|
-
|
|
1046
|
-
|
|
2286
|
+
if params.get("HttpGet") is not None:
|
|
2287
|
+
self._HttpGet = HttpGetAction()
|
|
2288
|
+
self._HttpGet._deserialize(params.get("HttpGet"))
|
|
2289
|
+
self._ReadyTimeoutMs = params.get("ReadyTimeoutMs")
|
|
2290
|
+
self._ProbeTimeoutMs = params.get("ProbeTimeoutMs")
|
|
2291
|
+
self._ProbePeriodMs = params.get("ProbePeriodMs")
|
|
2292
|
+
self._SuccessThreshold = params.get("SuccessThreshold")
|
|
2293
|
+
self._FailureThreshold = params.get("FailureThreshold")
|
|
1047
2294
|
memeber_set = set(params.keys())
|
|
1048
2295
|
for name, value in vars(self).items():
|
|
1049
2296
|
property_name = name[1:]
|
|
@@ -1054,32 +2301,47 @@ class Filter(AbstractModel):
|
|
|
1054
2301
|
|
|
1055
2302
|
|
|
1056
2303
|
|
|
1057
|
-
class
|
|
1058
|
-
r"""
|
|
2304
|
+
class ResourceConfiguration(AbstractModel):
|
|
2305
|
+
r"""资源配置
|
|
1059
2306
|
|
|
1060
2307
|
"""
|
|
1061
2308
|
|
|
1062
2309
|
def __init__(self):
|
|
1063
2310
|
r"""
|
|
1064
|
-
:param
|
|
1065
|
-
:type
|
|
2311
|
+
:param _CPU: cpu 资源量
|
|
2312
|
+
:type CPU: str
|
|
2313
|
+
:param _Memory: 内存资源量
|
|
2314
|
+
:type Memory: str
|
|
1066
2315
|
"""
|
|
1067
|
-
self.
|
|
2316
|
+
self._CPU = None
|
|
2317
|
+
self._Memory = None
|
|
1068
2318
|
|
|
1069
2319
|
@property
|
|
1070
|
-
def
|
|
1071
|
-
r"""
|
|
2320
|
+
def CPU(self):
|
|
2321
|
+
r"""cpu 资源量
|
|
1072
2322
|
:rtype: str
|
|
1073
2323
|
"""
|
|
1074
|
-
return self.
|
|
2324
|
+
return self._CPU
|
|
1075
2325
|
|
|
1076
|
-
@
|
|
1077
|
-
def
|
|
1078
|
-
self.
|
|
2326
|
+
@CPU.setter
|
|
2327
|
+
def CPU(self, CPU):
|
|
2328
|
+
self._CPU = CPU
|
|
2329
|
+
|
|
2330
|
+
@property
|
|
2331
|
+
def Memory(self):
|
|
2332
|
+
r"""内存资源量
|
|
2333
|
+
:rtype: str
|
|
2334
|
+
"""
|
|
2335
|
+
return self._Memory
|
|
2336
|
+
|
|
2337
|
+
@Memory.setter
|
|
2338
|
+
def Memory(self, Memory):
|
|
2339
|
+
self._Memory = Memory
|
|
1079
2340
|
|
|
1080
2341
|
|
|
1081
2342
|
def _deserialize(self, params):
|
|
1082
|
-
self.
|
|
2343
|
+
self._CPU = params.get("CPU")
|
|
2344
|
+
self._Memory = params.get("Memory")
|
|
1083
2345
|
memeber_set = set(params.keys())
|
|
1084
2346
|
for name, value in vars(self).items():
|
|
1085
2347
|
property_name = name[1:]
|
|
@@ -1115,6 +2377,10 @@ class SandboxInstance(AbstractModel):
|
|
|
1115
2377
|
:type CreateTime: str
|
|
1116
2378
|
:param _UpdateTime: 更新时间(ISO 8601 格式)
|
|
1117
2379
|
:type UpdateTime: str
|
|
2380
|
+
:param _MountOptions: 存储挂载选项
|
|
2381
|
+
:type MountOptions: list of MountOption
|
|
2382
|
+
:param _CustomConfiguration: 沙箱实例自定义配置
|
|
2383
|
+
:type CustomConfiguration: :class:`tencentcloud.ags.v20250920.models.CustomConfigurationDetail`
|
|
1118
2384
|
"""
|
|
1119
2385
|
self._InstanceId = None
|
|
1120
2386
|
self._ToolId = None
|
|
@@ -1125,6 +2391,8 @@ class SandboxInstance(AbstractModel):
|
|
|
1125
2391
|
self._StopReason = None
|
|
1126
2392
|
self._CreateTime = None
|
|
1127
2393
|
self._UpdateTime = None
|
|
2394
|
+
self._MountOptions = None
|
|
2395
|
+
self._CustomConfiguration = None
|
|
1128
2396
|
|
|
1129
2397
|
@property
|
|
1130
2398
|
def InstanceId(self):
|
|
@@ -1225,6 +2493,28 @@ class SandboxInstance(AbstractModel):
|
|
|
1225
2493
|
def UpdateTime(self, UpdateTime):
|
|
1226
2494
|
self._UpdateTime = UpdateTime
|
|
1227
2495
|
|
|
2496
|
+
@property
|
|
2497
|
+
def MountOptions(self):
|
|
2498
|
+
r"""存储挂载选项
|
|
2499
|
+
:rtype: list of MountOption
|
|
2500
|
+
"""
|
|
2501
|
+
return self._MountOptions
|
|
2502
|
+
|
|
2503
|
+
@MountOptions.setter
|
|
2504
|
+
def MountOptions(self, MountOptions):
|
|
2505
|
+
self._MountOptions = MountOptions
|
|
2506
|
+
|
|
2507
|
+
@property
|
|
2508
|
+
def CustomConfiguration(self):
|
|
2509
|
+
r"""沙箱实例自定义配置
|
|
2510
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.CustomConfigurationDetail`
|
|
2511
|
+
"""
|
|
2512
|
+
return self._CustomConfiguration
|
|
2513
|
+
|
|
2514
|
+
@CustomConfiguration.setter
|
|
2515
|
+
def CustomConfiguration(self, CustomConfiguration):
|
|
2516
|
+
self._CustomConfiguration = CustomConfiguration
|
|
2517
|
+
|
|
1228
2518
|
|
|
1229
2519
|
def _deserialize(self, params):
|
|
1230
2520
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -1236,6 +2526,15 @@ class SandboxInstance(AbstractModel):
|
|
|
1236
2526
|
self._StopReason = params.get("StopReason")
|
|
1237
2527
|
self._CreateTime = params.get("CreateTime")
|
|
1238
2528
|
self._UpdateTime = params.get("UpdateTime")
|
|
2529
|
+
if params.get("MountOptions") is not None:
|
|
2530
|
+
self._MountOptions = []
|
|
2531
|
+
for item in params.get("MountOptions"):
|
|
2532
|
+
obj = MountOption()
|
|
2533
|
+
obj._deserialize(item)
|
|
2534
|
+
self._MountOptions.append(obj)
|
|
2535
|
+
if params.get("CustomConfiguration") is not None:
|
|
2536
|
+
self._CustomConfiguration = CustomConfigurationDetail()
|
|
2537
|
+
self._CustomConfiguration._deserialize(params.get("CustomConfiguration"))
|
|
1239
2538
|
memeber_set = set(params.keys())
|
|
1240
2539
|
for name, value in vars(self).items():
|
|
1241
2540
|
property_name = name[1:]
|
|
@@ -1273,6 +2572,12 @@ class SandboxTool(AbstractModel):
|
|
|
1273
2572
|
:type CreateTime: str
|
|
1274
2573
|
:param _UpdateTime: 沙箱工具更新时间,格式:ISO8601
|
|
1275
2574
|
:type UpdateTime: str
|
|
2575
|
+
:param _RoleArn: 沙箱工具绑定角色ARN
|
|
2576
|
+
:type RoleArn: str
|
|
2577
|
+
:param _StorageMounts: 沙箱工具中实例存储挂载配置
|
|
2578
|
+
:type StorageMounts: list of StorageMount
|
|
2579
|
+
:param _CustomConfiguration: 沙箱工具自定义配置
|
|
2580
|
+
:type CustomConfiguration: :class:`tencentcloud.ags.v20250920.models.CustomConfigurationDetail`
|
|
1276
2581
|
"""
|
|
1277
2582
|
self._ToolId = None
|
|
1278
2583
|
self._ToolName = None
|
|
@@ -1284,6 +2589,9 @@ class SandboxTool(AbstractModel):
|
|
|
1284
2589
|
self._Tags = None
|
|
1285
2590
|
self._CreateTime = None
|
|
1286
2591
|
self._UpdateTime = None
|
|
2592
|
+
self._RoleArn = None
|
|
2593
|
+
self._StorageMounts = None
|
|
2594
|
+
self._CustomConfiguration = None
|
|
1287
2595
|
|
|
1288
2596
|
@property
|
|
1289
2597
|
def ToolId(self):
|
|
@@ -1395,6 +2703,39 @@ class SandboxTool(AbstractModel):
|
|
|
1395
2703
|
def UpdateTime(self, UpdateTime):
|
|
1396
2704
|
self._UpdateTime = UpdateTime
|
|
1397
2705
|
|
|
2706
|
+
@property
|
|
2707
|
+
def RoleArn(self):
|
|
2708
|
+
r"""沙箱工具绑定角色ARN
|
|
2709
|
+
:rtype: str
|
|
2710
|
+
"""
|
|
2711
|
+
return self._RoleArn
|
|
2712
|
+
|
|
2713
|
+
@RoleArn.setter
|
|
2714
|
+
def RoleArn(self, RoleArn):
|
|
2715
|
+
self._RoleArn = RoleArn
|
|
2716
|
+
|
|
2717
|
+
@property
|
|
2718
|
+
def StorageMounts(self):
|
|
2719
|
+
r"""沙箱工具中实例存储挂载配置
|
|
2720
|
+
:rtype: list of StorageMount
|
|
2721
|
+
"""
|
|
2722
|
+
return self._StorageMounts
|
|
2723
|
+
|
|
2724
|
+
@StorageMounts.setter
|
|
2725
|
+
def StorageMounts(self, StorageMounts):
|
|
2726
|
+
self._StorageMounts = StorageMounts
|
|
2727
|
+
|
|
2728
|
+
@property
|
|
2729
|
+
def CustomConfiguration(self):
|
|
2730
|
+
r"""沙箱工具自定义配置
|
|
2731
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.CustomConfigurationDetail`
|
|
2732
|
+
"""
|
|
2733
|
+
return self._CustomConfiguration
|
|
2734
|
+
|
|
2735
|
+
@CustomConfiguration.setter
|
|
2736
|
+
def CustomConfiguration(self, CustomConfiguration):
|
|
2737
|
+
self._CustomConfiguration = CustomConfiguration
|
|
2738
|
+
|
|
1398
2739
|
|
|
1399
2740
|
def _deserialize(self, params):
|
|
1400
2741
|
self._ToolId = params.get("ToolId")
|
|
@@ -1414,6 +2755,16 @@ class SandboxTool(AbstractModel):
|
|
|
1414
2755
|
self._Tags.append(obj)
|
|
1415
2756
|
self._CreateTime = params.get("CreateTime")
|
|
1416
2757
|
self._UpdateTime = params.get("UpdateTime")
|
|
2758
|
+
self._RoleArn = params.get("RoleArn")
|
|
2759
|
+
if params.get("StorageMounts") is not None:
|
|
2760
|
+
self._StorageMounts = []
|
|
2761
|
+
for item in params.get("StorageMounts"):
|
|
2762
|
+
obj = StorageMount()
|
|
2763
|
+
obj._deserialize(item)
|
|
2764
|
+
self._StorageMounts.append(obj)
|
|
2765
|
+
if params.get("CustomConfiguration") is not None:
|
|
2766
|
+
self._CustomConfiguration = CustomConfigurationDetail()
|
|
2767
|
+
self._CustomConfiguration._deserialize(params.get("CustomConfiguration"))
|
|
1417
2768
|
memeber_set = set(params.keys())
|
|
1418
2769
|
for name, value in vars(self).items():
|
|
1419
2770
|
property_name = name[1:]
|
|
@@ -1439,11 +2790,17 @@ class StartSandboxInstanceRequest(AbstractModel):
|
|
|
1439
2790
|
:type Timeout: str
|
|
1440
2791
|
:param _ClientToken: 幂等性 Token,长度不超过 64 字符
|
|
1441
2792
|
:type ClientToken: str
|
|
2793
|
+
:param _MountOptions: 沙箱实例存储挂载配置
|
|
2794
|
+
:type MountOptions: list of MountOption
|
|
2795
|
+
:param _CustomConfiguration: 沙箱实例自定义配置
|
|
2796
|
+
:type CustomConfiguration: :class:`tencentcloud.ags.v20250920.models.CustomConfiguration`
|
|
1442
2797
|
"""
|
|
1443
2798
|
self._ToolId = None
|
|
1444
2799
|
self._ToolName = None
|
|
1445
2800
|
self._Timeout = None
|
|
1446
2801
|
self._ClientToken = None
|
|
2802
|
+
self._MountOptions = None
|
|
2803
|
+
self._CustomConfiguration = None
|
|
1447
2804
|
|
|
1448
2805
|
@property
|
|
1449
2806
|
def ToolId(self):
|
|
@@ -1489,12 +2846,43 @@ class StartSandboxInstanceRequest(AbstractModel):
|
|
|
1489
2846
|
def ClientToken(self, ClientToken):
|
|
1490
2847
|
self._ClientToken = ClientToken
|
|
1491
2848
|
|
|
2849
|
+
@property
|
|
2850
|
+
def MountOptions(self):
|
|
2851
|
+
r"""沙箱实例存储挂载配置
|
|
2852
|
+
:rtype: list of MountOption
|
|
2853
|
+
"""
|
|
2854
|
+
return self._MountOptions
|
|
2855
|
+
|
|
2856
|
+
@MountOptions.setter
|
|
2857
|
+
def MountOptions(self, MountOptions):
|
|
2858
|
+
self._MountOptions = MountOptions
|
|
2859
|
+
|
|
2860
|
+
@property
|
|
2861
|
+
def CustomConfiguration(self):
|
|
2862
|
+
r"""沙箱实例自定义配置
|
|
2863
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.CustomConfiguration`
|
|
2864
|
+
"""
|
|
2865
|
+
return self._CustomConfiguration
|
|
2866
|
+
|
|
2867
|
+
@CustomConfiguration.setter
|
|
2868
|
+
def CustomConfiguration(self, CustomConfiguration):
|
|
2869
|
+
self._CustomConfiguration = CustomConfiguration
|
|
2870
|
+
|
|
1492
2871
|
|
|
1493
2872
|
def _deserialize(self, params):
|
|
1494
2873
|
self._ToolId = params.get("ToolId")
|
|
1495
2874
|
self._ToolName = params.get("ToolName")
|
|
1496
2875
|
self._Timeout = params.get("Timeout")
|
|
1497
2876
|
self._ClientToken = params.get("ClientToken")
|
|
2877
|
+
if params.get("MountOptions") is not None:
|
|
2878
|
+
self._MountOptions = []
|
|
2879
|
+
for item in params.get("MountOptions"):
|
|
2880
|
+
obj = MountOption()
|
|
2881
|
+
obj._deserialize(item)
|
|
2882
|
+
self._MountOptions.append(obj)
|
|
2883
|
+
if params.get("CustomConfiguration") is not None:
|
|
2884
|
+
self._CustomConfiguration = CustomConfiguration()
|
|
2885
|
+
self._CustomConfiguration._deserialize(params.get("CustomConfiguration"))
|
|
1498
2886
|
memeber_set = set(params.keys())
|
|
1499
2887
|
for name, value in vars(self).items():
|
|
1500
2888
|
property_name = name[1:]
|
|
@@ -1614,6 +3002,144 @@ class StopSandboxInstanceResponse(AbstractModel):
|
|
|
1614
3002
|
self._RequestId = params.get("RequestId")
|
|
1615
3003
|
|
|
1616
3004
|
|
|
3005
|
+
class StorageMount(AbstractModel):
|
|
3006
|
+
r"""沙箱工具中实例存储挂载配置
|
|
3007
|
+
|
|
3008
|
+
"""
|
|
3009
|
+
|
|
3010
|
+
def __init__(self):
|
|
3011
|
+
r"""
|
|
3012
|
+
:param _Name: 存储挂载配置名称
|
|
3013
|
+
:type Name: str
|
|
3014
|
+
:param _StorageSource: 存储配置
|
|
3015
|
+
:type StorageSource: :class:`tencentcloud.ags.v20250920.models.StorageSource`
|
|
3016
|
+
:param _MountPath: 沙箱实例本地挂载路径
|
|
3017
|
+
:type MountPath: str
|
|
3018
|
+
:param _ReadOnly: 存储挂载读写权限配置,默认为false
|
|
3019
|
+
:type ReadOnly: bool
|
|
3020
|
+
"""
|
|
3021
|
+
self._Name = None
|
|
3022
|
+
self._StorageSource = None
|
|
3023
|
+
self._MountPath = None
|
|
3024
|
+
self._ReadOnly = None
|
|
3025
|
+
|
|
3026
|
+
@property
|
|
3027
|
+
def Name(self):
|
|
3028
|
+
r"""存储挂载配置名称
|
|
3029
|
+
:rtype: str
|
|
3030
|
+
"""
|
|
3031
|
+
return self._Name
|
|
3032
|
+
|
|
3033
|
+
@Name.setter
|
|
3034
|
+
def Name(self, Name):
|
|
3035
|
+
self._Name = Name
|
|
3036
|
+
|
|
3037
|
+
@property
|
|
3038
|
+
def StorageSource(self):
|
|
3039
|
+
r"""存储配置
|
|
3040
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.StorageSource`
|
|
3041
|
+
"""
|
|
3042
|
+
return self._StorageSource
|
|
3043
|
+
|
|
3044
|
+
@StorageSource.setter
|
|
3045
|
+
def StorageSource(self, StorageSource):
|
|
3046
|
+
self._StorageSource = StorageSource
|
|
3047
|
+
|
|
3048
|
+
@property
|
|
3049
|
+
def MountPath(self):
|
|
3050
|
+
r"""沙箱实例本地挂载路径
|
|
3051
|
+
:rtype: str
|
|
3052
|
+
"""
|
|
3053
|
+
return self._MountPath
|
|
3054
|
+
|
|
3055
|
+
@MountPath.setter
|
|
3056
|
+
def MountPath(self, MountPath):
|
|
3057
|
+
self._MountPath = MountPath
|
|
3058
|
+
|
|
3059
|
+
@property
|
|
3060
|
+
def ReadOnly(self):
|
|
3061
|
+
r"""存储挂载读写权限配置,默认为false
|
|
3062
|
+
:rtype: bool
|
|
3063
|
+
"""
|
|
3064
|
+
return self._ReadOnly
|
|
3065
|
+
|
|
3066
|
+
@ReadOnly.setter
|
|
3067
|
+
def ReadOnly(self, ReadOnly):
|
|
3068
|
+
self._ReadOnly = ReadOnly
|
|
3069
|
+
|
|
3070
|
+
|
|
3071
|
+
def _deserialize(self, params):
|
|
3072
|
+
self._Name = params.get("Name")
|
|
3073
|
+
if params.get("StorageSource") is not None:
|
|
3074
|
+
self._StorageSource = StorageSource()
|
|
3075
|
+
self._StorageSource._deserialize(params.get("StorageSource"))
|
|
3076
|
+
self._MountPath = params.get("MountPath")
|
|
3077
|
+
self._ReadOnly = params.get("ReadOnly")
|
|
3078
|
+
memeber_set = set(params.keys())
|
|
3079
|
+
for name, value in vars(self).items():
|
|
3080
|
+
property_name = name[1:]
|
|
3081
|
+
if property_name in memeber_set:
|
|
3082
|
+
memeber_set.remove(property_name)
|
|
3083
|
+
if len(memeber_set) > 0:
|
|
3084
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3085
|
+
|
|
3086
|
+
|
|
3087
|
+
|
|
3088
|
+
class StorageSource(AbstractModel):
|
|
3089
|
+
r"""挂载存储配置
|
|
3090
|
+
|
|
3091
|
+
"""
|
|
3092
|
+
|
|
3093
|
+
def __init__(self):
|
|
3094
|
+
r"""
|
|
3095
|
+
:param _Cos: 对象存储桶配置
|
|
3096
|
+
:type Cos: :class:`tencentcloud.ags.v20250920.models.CosStorageSource`
|
|
3097
|
+
:param _Image: 镜像卷配置
|
|
3098
|
+
:type Image: :class:`tencentcloud.ags.v20250920.models.ImageStorageSource`
|
|
3099
|
+
"""
|
|
3100
|
+
self._Cos = None
|
|
3101
|
+
self._Image = None
|
|
3102
|
+
|
|
3103
|
+
@property
|
|
3104
|
+
def Cos(self):
|
|
3105
|
+
r"""对象存储桶配置
|
|
3106
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.CosStorageSource`
|
|
3107
|
+
"""
|
|
3108
|
+
return self._Cos
|
|
3109
|
+
|
|
3110
|
+
@Cos.setter
|
|
3111
|
+
def Cos(self, Cos):
|
|
3112
|
+
self._Cos = Cos
|
|
3113
|
+
|
|
3114
|
+
@property
|
|
3115
|
+
def Image(self):
|
|
3116
|
+
r"""镜像卷配置
|
|
3117
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.ImageStorageSource`
|
|
3118
|
+
"""
|
|
3119
|
+
return self._Image
|
|
3120
|
+
|
|
3121
|
+
@Image.setter
|
|
3122
|
+
def Image(self, Image):
|
|
3123
|
+
self._Image = Image
|
|
3124
|
+
|
|
3125
|
+
|
|
3126
|
+
def _deserialize(self, params):
|
|
3127
|
+
if params.get("Cos") is not None:
|
|
3128
|
+
self._Cos = CosStorageSource()
|
|
3129
|
+
self._Cos._deserialize(params.get("Cos"))
|
|
3130
|
+
if params.get("Image") is not None:
|
|
3131
|
+
self._Image = ImageStorageSource()
|
|
3132
|
+
self._Image._deserialize(params.get("Image"))
|
|
3133
|
+
memeber_set = set(params.keys())
|
|
3134
|
+
for name, value in vars(self).items():
|
|
3135
|
+
property_name = name[1:]
|
|
3136
|
+
if property_name in memeber_set:
|
|
3137
|
+
memeber_set.remove(property_name)
|
|
3138
|
+
if len(memeber_set) > 0:
|
|
3139
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3140
|
+
|
|
3141
|
+
|
|
3142
|
+
|
|
1617
3143
|
class Tag(AbstractModel):
|
|
1618
3144
|
r"""标签
|
|
1619
3145
|
|
|
@@ -1759,11 +3285,14 @@ class UpdateSandboxToolRequest(AbstractModel):
|
|
|
1759
3285
|
:type NetworkConfiguration: :class:`tencentcloud.ags.v20250920.models.NetworkConfiguration`
|
|
1760
3286
|
:param _Tags: 标签
|
|
1761
3287
|
:type Tags: list of Tag
|
|
3288
|
+
:param _CustomConfiguration: 沙箱工具自定义配置
|
|
3289
|
+
:type CustomConfiguration: :class:`tencentcloud.ags.v20250920.models.CustomConfiguration`
|
|
1762
3290
|
"""
|
|
1763
3291
|
self._ToolId = None
|
|
1764
3292
|
self._Description = None
|
|
1765
3293
|
self._NetworkConfiguration = None
|
|
1766
3294
|
self._Tags = None
|
|
3295
|
+
self._CustomConfiguration = None
|
|
1767
3296
|
|
|
1768
3297
|
@property
|
|
1769
3298
|
def ToolId(self):
|
|
@@ -1809,6 +3338,17 @@ class UpdateSandboxToolRequest(AbstractModel):
|
|
|
1809
3338
|
def Tags(self, Tags):
|
|
1810
3339
|
self._Tags = Tags
|
|
1811
3340
|
|
|
3341
|
+
@property
|
|
3342
|
+
def CustomConfiguration(self):
|
|
3343
|
+
r"""沙箱工具自定义配置
|
|
3344
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.CustomConfiguration`
|
|
3345
|
+
"""
|
|
3346
|
+
return self._CustomConfiguration
|
|
3347
|
+
|
|
3348
|
+
@CustomConfiguration.setter
|
|
3349
|
+
def CustomConfiguration(self, CustomConfiguration):
|
|
3350
|
+
self._CustomConfiguration = CustomConfiguration
|
|
3351
|
+
|
|
1812
3352
|
|
|
1813
3353
|
def _deserialize(self, params):
|
|
1814
3354
|
self._ToolId = params.get("ToolId")
|
|
@@ -1822,6 +3362,9 @@ class UpdateSandboxToolRequest(AbstractModel):
|
|
|
1822
3362
|
obj = Tag()
|
|
1823
3363
|
obj._deserialize(item)
|
|
1824
3364
|
self._Tags.append(obj)
|
|
3365
|
+
if params.get("CustomConfiguration") is not None:
|
|
3366
|
+
self._CustomConfiguration = CustomConfiguration()
|
|
3367
|
+
self._CustomConfiguration._deserialize(params.get("CustomConfiguration"))
|
|
1825
3368
|
memeber_set = set(params.keys())
|
|
1826
3369
|
for name, value in vars(self).items():
|
|
1827
3370
|
property_name = name[1:]
|
|
@@ -1857,4 +3400,55 @@ class UpdateSandboxToolResponse(AbstractModel):
|
|
|
1857
3400
|
|
|
1858
3401
|
|
|
1859
3402
|
def _deserialize(self, params):
|
|
1860
|
-
self._RequestId = params.get("RequestId")
|
|
3403
|
+
self._RequestId = params.get("RequestId")
|
|
3404
|
+
|
|
3405
|
+
|
|
3406
|
+
class VPCConfig(AbstractModel):
|
|
3407
|
+
r"""沙箱工具VPC相关配置
|
|
3408
|
+
|
|
3409
|
+
"""
|
|
3410
|
+
|
|
3411
|
+
def __init__(self):
|
|
3412
|
+
r"""
|
|
3413
|
+
:param _SubnetIds: VPC子网ID列表
|
|
3414
|
+
:type SubnetIds: list of str
|
|
3415
|
+
:param _SecurityGroupIds: 安全组ID列表
|
|
3416
|
+
:type SecurityGroupIds: list of str
|
|
3417
|
+
"""
|
|
3418
|
+
self._SubnetIds = None
|
|
3419
|
+
self._SecurityGroupIds = None
|
|
3420
|
+
|
|
3421
|
+
@property
|
|
3422
|
+
def SubnetIds(self):
|
|
3423
|
+
r"""VPC子网ID列表
|
|
3424
|
+
:rtype: list of str
|
|
3425
|
+
"""
|
|
3426
|
+
return self._SubnetIds
|
|
3427
|
+
|
|
3428
|
+
@SubnetIds.setter
|
|
3429
|
+
def SubnetIds(self, SubnetIds):
|
|
3430
|
+
self._SubnetIds = SubnetIds
|
|
3431
|
+
|
|
3432
|
+
@property
|
|
3433
|
+
def SecurityGroupIds(self):
|
|
3434
|
+
r"""安全组ID列表
|
|
3435
|
+
:rtype: list of str
|
|
3436
|
+
"""
|
|
3437
|
+
return self._SecurityGroupIds
|
|
3438
|
+
|
|
3439
|
+
@SecurityGroupIds.setter
|
|
3440
|
+
def SecurityGroupIds(self, SecurityGroupIds):
|
|
3441
|
+
self._SecurityGroupIds = SecurityGroupIds
|
|
3442
|
+
|
|
3443
|
+
|
|
3444
|
+
def _deserialize(self, params):
|
|
3445
|
+
self._SubnetIds = params.get("SubnetIds")
|
|
3446
|
+
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
|
3447
|
+
memeber_set = set(params.keys())
|
|
3448
|
+
for name, value in vars(self).items():
|
|
3449
|
+
property_name = name[1:]
|
|
3450
|
+
if property_name in memeber_set:
|
|
3451
|
+
memeber_set.remove(property_name)
|
|
3452
|
+
if len(memeber_set) > 0:
|
|
3453
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3454
|
+
|