tencentcloud-sdk-python 3.0.1338__py2.py3-none-any.whl → 3.0.1372__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/advisor/v20200721/models.py +0 -26
- tencentcloud/ams/v20201229/ams_client.py +17 -6
- tencentcloud/ams/v20201229/models.py +8 -6
- tencentcloud/antiddos/v20200309/antiddos_client.py +0 -50
- tencentcloud/antiddos/v20200309/models.py +44 -837
- tencentcloud/apm/v20210622/models.py +60 -60
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +28 -1
- tencentcloud/autoscaling/v20180419/models.py +352 -210
- tencentcloud/batch/v20170312/batch_client.py +0 -46
- tencentcloud/batch/v20170312/errorcodes.py +0 -9
- tencentcloud/batch/v20170312/models.py +44 -1179
- tencentcloud/bh/v20230418/bh_client.py +253 -0
- tencentcloud/bh/v20230418/errorcodes.py +15 -0
- tencentcloud/bh/v20230418/models.py +3489 -1335
- tencentcloud/bi/v20220105/models.py +242 -2
- tencentcloud/billing/v20180709/billing_client.py +0 -23
- tencentcloud/billing/v20180709/models.py +34 -926
- tencentcloud/bpaas/v20181217/models.py +0 -54
- tencentcloud/cam/v20190116/errorcodes.py +3 -0
- tencentcloud/cam/v20190116/models.py +2 -86
- tencentcloud/captcha/v20190722/models.py +21 -54
- tencentcloud/cat/v20180409/cat_client.py +23 -0
- tencentcloud/cat/v20180409/models.py +509 -0
- tencentcloud/cbs/v20170312/cbs_client.py +1 -1
- tencentcloud/cbs/v20170312/models.py +75 -96
- tencentcloud/ccc/v20200210/ccc_client.py +184 -0
- tencentcloud/ccc/v20200210/errorcodes.py +12 -0
- tencentcloud/ccc/v20200210/models.py +2552 -1026
- tencentcloud/cdb/v20170320/cdb_client.py +27 -4
- tencentcloud/cdb/v20170320/models.py +180 -20
- tencentcloud/cdc/v20201214/cdc_client.py +46 -0
- tencentcloud/cdc/v20201214/errorcodes.py +18 -0
- tencentcloud/cdc/v20201214/models.py +202 -86
- tencentcloud/cdn/v20180606/cdn_client.py +70 -24
- tencentcloud/cdn/v20180606/models.py +19 -50
- tencentcloud/cdwch/v20200915/errorcodes.py +15 -0
- tencentcloud/cdwch/v20200915/models.py +242 -260
- tencentcloud/cdwdoris/v20211228/models.py +330 -0
- tencentcloud/cdwpg/v20201230/models.py +196 -516
- tencentcloud/cdz/v20221123/models.py +0 -12
- tencentcloud/cfg/v20210820/models.py +30 -198
- tencentcloud/cfs/v20190719/errorcodes.py +3 -0
- tencentcloud/cfs/v20190719/models.py +15 -0
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +331 -4
- tencentcloud/chc/__init__.py +0 -0
- tencentcloud/chc/v20230418/__init__.py +0 -0
- tencentcloud/chc/v20230418/chc_client.py +877 -0
- tencentcloud/chc/v20230418/errorcodes.py +15 -0
- tencentcloud/chc/v20230418/models.py +10146 -0
- tencentcloud/chdfs/v20201112/models.py +2 -2
- tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
- tencentcloud/ckafka/v20190819/models.py +371 -1230
- tencentcloud/clb/v20180317/clb_client.py +3 -3
- tencentcloud/clb/v20180317/models.py +395 -406
- tencentcloud/cls/v20201016/cls_client.py +41 -18
- tencentcloud/cls/v20201016/models.py +256 -606
- tencentcloud/cme/v20191029/cme_client.py +0 -1
- tencentcloud/cme/v20191029/errorcodes.py +3 -0
- tencentcloud/cme/v20191029/models.py +10 -14
- tencentcloud/cmq/v20190304/models.py +0 -90
- tencentcloud/common/abstract_client.py +29 -24
- tencentcloud/common/abstract_model.py +5 -1
- tencentcloud/common/common_client.py +14 -15
- tencentcloud/common/credential.py +68 -65
- tencentcloud/common/exception/tencent_cloud_sdk_exception.py +1 -1
- tencentcloud/common/profile/client_profile.py +32 -30
- tencentcloud/common/profile/http_profile.py +20 -12
- tencentcloud/common/retry.py +18 -0
- tencentcloud/controlcenter/v20230110/models.py +0 -58
- tencentcloud/cvm/v20170312/cvm_client.py +42 -10
- tencentcloud/cvm/v20170312/errorcodes.py +25 -1
- tencentcloud/cvm/v20170312/models.py +835 -290
- tencentcloud/cwp/v20180228/cwp_client.py +1 -1
- tencentcloud/cwp/v20180228/models.py +362 -58
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +69 -0
- tencentcloud/cynosdb/v20190107/models.py +451 -824
- tencentcloud/dbbrain/v20191016/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20191016/models.py +605 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +322 -0
- tencentcloud/dbbrain/v20210527/models.py +6071 -2974
- tencentcloud/dbdc/v20201029/models.py +0 -16
- tencentcloud/dc/v20180410/models.py +25 -12
- tencentcloud/dcdb/v20180411/errorcodes.py +3 -0
- tencentcloud/dcdb/v20180411/models.py +175 -114
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +1217 -592
- tencentcloud/dnspod/v20210323/dnspod_client.py +69 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +9 -0
- tencentcloud/dnspod/v20210323/models.py +718 -110
- tencentcloud/domain/v20180808/domain_client.py +4 -2
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +628 -324
- tencentcloud/dsgc/v20190723/dsgc_client.py +0 -23
- tencentcloud/dsgc/v20190723/models.py +53 -34
- tencentcloud/dts/v20180330/models.py +0 -10
- tencentcloud/dts/v20211206/models.py +118 -585
- tencentcloud/ecdn/v20191012/ecdn_client.py +24 -225
- tencentcloud/ecdn/v20191012/errorcodes.py +0 -63
- tencentcloud/ecdn/v20191012/models.py +4 -1047
- tencentcloud/emr/v20190103/emr_client.py +47 -1
- tencentcloud/emr/v20190103/models.py +1174 -146
- tencentcloud/es/v20180416/errorcodes.py +3 -0
- tencentcloud/es/v20180416/models.py +74 -6
- tencentcloud/es/v20250101/__init__.py +0 -0
- tencentcloud/es/v20250101/errorcodes.py +45 -0
- tencentcloud/es/v20250101/es_client.py +251 -0
- tencentcloud/es/v20250101/models.py +2519 -0
- tencentcloud/ess/v20201111/ess_client.py +43 -5
- tencentcloud/ess/v20201111/models.py +854 -60
- tencentcloud/essbasic/v20210526/essbasic_client.py +35 -2
- tencentcloud/essbasic/v20210526/models.py +726 -43
- tencentcloud/facefusion/v20220927/models.py +4 -2
- tencentcloud/fmu/v20191213/errorcodes.py +3 -21
- tencentcloud/fmu/v20191213/fmu_client.py +0 -75
- tencentcloud/fmu/v20191213/models.py +4 -531
- tencentcloud/gaap/v20180529/gaap_client.py +1 -1
- tencentcloud/gaap/v20180529/models.py +2 -276
- tencentcloud/goosefs/v20220519/models.py +0 -2
- tencentcloud/gs/v20191118/errorcodes.py +36 -0
- tencentcloud/gs/v20191118/gs_client.py +1074 -12
- tencentcloud/gs/v20191118/models.py +6976 -492
- tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
- tencentcloud/gwlb/v20240906/gwlb_client.py +5 -8
- tencentcloud/gwlb/v20240906/models.py +94 -84
- tencentcloud/hai/v20230812/errorcodes.py +7 -1
- tencentcloud/hai/v20230812/hai_client.py +23 -0
- tencentcloud/hai/v20230812/models.py +111 -136
- tencentcloud/hunyuan/v20230901/errorcodes.py +27 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +71 -0
- tencentcloud/hunyuan/v20230901/models.py +1089 -119
- tencentcloud/ims/v20201229/models.py +25 -4
- tencentcloud/ioa/v20220601/ioa_client.py +92 -0
- tencentcloud/ioa/v20220601/models.py +1136 -225
- tencentcloud/iotcloud/v20210408/models.py +2 -4
- tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +234 -52
- tencentcloud/iotexplorer/v20190423/models.py +2906 -1063
- tencentcloud/iotvideo/v20191126/models.py +0 -4
- tencentcloud/iotvideo/v20201215/models.py +17 -0
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +69 -0
- tencentcloud/iotvideo/v20211125/models.py +476 -0
- tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.py +2 -2
- tencentcloud/iotvideoindustry/v20201201/models.py +30 -486
- tencentcloud/iss/v20230517/errorcodes.py +9 -0
- tencentcloud/iss/v20230517/iss_client.py +161 -0
- tencentcloud/iss/v20230517/models.py +1716 -743
- tencentcloud/kms/v20190118/models.py +101 -0
- tencentcloud/lcic/v20220817/errorcodes.py +2 -2
- tencentcloud/lcic/v20220817/lcic_client.py +47 -1
- tencentcloud/lcic/v20220817/models.py +357 -72
- tencentcloud/lighthouse/v20200324/errorcodes.py +12 -15
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +39 -76
- tencentcloud/lighthouse/v20200324/models.py +237 -259
- tencentcloud/live/v20180801/models.py +61 -46
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/lke_client.py +8 -29
- tencentcloud/lke/v20231130/models.py +561 -115
- tencentcloud/lkeap/v20240522/lkeap_client.py +33 -4
- tencentcloud/lkeap/v20240522/models.py +290 -18
- tencentcloud/lowcode/v20210108/errorcodes.py +3 -0
- tencentcloud/lowcode/v20210108/models.py +0 -2
- tencentcloud/mariadb/v20170312/models.py +155 -140
- tencentcloud/memcached/v20190318/models.py +2 -2
- tencentcloud/mmps/v20200710/models.py +0 -66
- tencentcloud/mna/v20210119/errorcodes.py +0 -36
- tencentcloud/mna/v20210119/mna_client.py +0 -75
- tencentcloud/mna/v20210119/models.py +0 -1002
- tencentcloud/mongodb/v20190725/models.py +115 -6
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/monitor/v20180724/errorcodes.py +3 -0
- tencentcloud/monitor/v20180724/models.py +1055 -74
- tencentcloud/monitor/v20180724/monitor_client.py +94 -2
- tencentcloud/mps/v20190612/errorcodes.py +36 -0
- tencentcloud/mps/v20190612/models.py +4866 -448
- tencentcloud/mps/v20190612/mps_client.py +208 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +15 -0
- tencentcloud/mqtt/v20240516/models.py +705 -372
- tencentcloud/mqtt/v20240516/mqtt_client.py +4 -4
- tencentcloud/oceanus/v20190422/models.py +14 -2
- tencentcloud/ocr/v20181119/errorcodes.py +0 -12
- tencentcloud/ocr/v20181119/models.py +311 -1042
- tencentcloud/ocr/v20181119/ocr_client.py +5 -102
- tencentcloud/organization/v20210331/errorcodes.py +3 -0
- tencentcloud/organization/v20210331/models.py +45 -82
- tencentcloud/partners/v20180321/models.py +169 -0
- tencentcloud/partners/v20180321/partners_client.py +23 -0
- tencentcloud/postgres/v20170312/models.py +36 -328
- tencentcloud/postgres/v20170312/postgres_client.py +15 -5
- tencentcloud/privatedns/v20201028/models.py +36 -28
- tencentcloud/rce/v20201103/models.py +0 -15
- tencentcloud/redis/v20180412/models.py +233 -18
- tencentcloud/redis/v20180412/redis_client.py +23 -0
- tencentcloud/rum/v20210622/models.py +0 -2
- tencentcloud/ses/v20201002/models.py +32 -4
- tencentcloud/smop/v20201203/smop_client.py +3 -1
- tencentcloud/soe/v20180724/models.py +4 -2
- tencentcloud/sqlserver/v20180328/models.py +75 -0
- tencentcloud/ssl/v20191205/models.py +7 -319
- tencentcloud/ssm/v20190923/models.py +45 -0
- tencentcloud/sts/v20180813/errorcodes.py +9 -0
- tencentcloud/sts/v20180813/models.py +171 -0
- tencentcloud/sts/v20180813/sts_client.py +23 -0
- tencentcloud/svp/v20240125/errorcodes.py +3 -0
- tencentcloud/svp/v20240125/models.py +506 -44
- tencentcloud/svp/v20240125/svp_client.py +23 -0
- tencentcloud/tan/v20220420/tan_client.py +3 -1
- tencentcloud/tat/v20201028/errorcodes.py +12 -0
- tencentcloud/tat/v20201028/models.py +138 -42
- tencentcloud/tbaas/v20180416/models.py +0 -58
- tencentcloud/tcb/v20180608/errorcodes.py +3 -0
- tencentcloud/tcb/v20180608/models.py +189 -582
- tencentcloud/tcb/v20180608/tcb_client.py +23 -23
- tencentcloud/tcbr/v20220217/models.py +45 -0
- tencentcloud/tchd/v20230306/models.py +166 -0
- tencentcloud/tchd/v20230306/tchd_client.py +24 -0
- tencentcloud/tcr/v20190924/models.py +44 -174
- tencentcloud/tcss/v20201101/models.py +1458 -2066
- tencentcloud/tcss/v20201101/tcss_client.py +92 -125
- tencentcloud/tdid/v20210519/models.py +0 -10
- tencentcloud/tdmq/v20200217/models.py +405 -575
- tencentcloud/tdmq/v20200217/tdmq_client.py +12 -54
- tencentcloud/tds/v20220801/models.py +441 -0
- tencentcloud/tds/v20220801/tds_client.py +23 -0
- tencentcloud/tem/v20210701/models.py +0 -498
- tencentcloud/teo/v20220106/teo_client.py +6 -2
- tencentcloud/teo/v20220901/errorcodes.py +9 -0
- tencentcloud/teo/v20220901/models.py +1828 -472
- tencentcloud/teo/v20220901/teo_client.py +54 -4
- tencentcloud/thpc/v20211109/models.py +0 -6
- tencentcloud/thpc/v20220401/models.py +0 -14
- tencentcloud/thpc/v20230321/models.py +64 -52
- tencentcloud/tione/v20211111/errorcodes.py +114 -0
- tencentcloud/tione/v20211111/models.py +2288 -160
- tencentcloud/tione/v20211111/tione_client.py +138 -0
- tencentcloud/tiw/v20190919/errorcodes.py +3 -24
- tencentcloud/tiw/v20190919/models.py +3657 -8172
- tencentcloud/tiw/v20190919/tiw_client.py +1 -580
- tencentcloud/tke/v20180525/models.py +705 -721
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/tke/v20220501/models.py +0 -34
- tencentcloud/trocket/v20230308/models.py +1630 -160
- tencentcloud/trocket/v20230308/trocket_client.py +238 -0
- tencentcloud/trro/v20220325/models.py +1132 -44
- tencentcloud/trro/v20220325/trro_client.py +142 -0
- tencentcloud/trtc/v20190722/models.py +94 -90
- tencentcloud/trtc/v20190722/trtc_client.py +4 -0
- tencentcloud/tse/v20201207/models.py +90 -1010
- tencentcloud/tsf/v20180326/errorcodes.py +6 -0
- tencentcloud/tsf/v20180326/models.py +350 -582
- tencentcloud/tsf/v20180326/tsf_client.py +26 -1
- tencentcloud/tts/v20190823/models.py +15 -15
- tencentcloud/tts/v20190823/tts_client.py +6 -5
- tencentcloud/vclm/v20240523/models.py +2 -2
- tencentcloud/vcube/v20220410/models.py +66 -158
- tencentcloud/vcube/v20220410/vcube_client.py +2 -2
- tencentcloud/vdb/v20230616/models.py +1487 -29
- tencentcloud/vdb/v20230616/vdb_client.py +185 -1
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vm/v20210922/vm_client.py +16 -8
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +106 -417
- tencentcloud/vod/v20180717/vod_client.py +2 -1
- tencentcloud/vod/v20240718/errorcodes.py +33 -0
- tencentcloud/vod/v20240718/models.py +1839 -0
- tencentcloud/vod/v20240718/vod_client.py +146 -0
- tencentcloud/vpc/v20170312/errorcodes.py +12 -0
- tencentcloud/vpc/v20170312/models.py +2052 -519
- tencentcloud/vpc/v20170312/vpc_client.py +229 -11
- tencentcloud/vrs/v20200824/models.py +49 -0
- tencentcloud/waf/v20180125/errorcodes.py +9 -0
- tencentcloud/waf/v20180125/models.py +4191 -0
- tencentcloud/waf/v20180125/waf_client.py +276 -0
- tencentcloud/wedata/v20210820/models.py +5404 -394
- tencentcloud/wedata/v20210820/wedata_client.py +161 -0
- tencentcloud/weilingwith/v20230427/models.py +0 -964
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +3 -1
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/RECORD +284 -275
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/top_level.txt +0 -0
@@ -42,10 +42,8 @@ class Activity(AbstractModel):
|
|
42
42
|
:param _StartTime: 活动开始时间
|
43
43
|
:type StartTime: str
|
44
44
|
:param _EndTime: 活动结束时间
|
45
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
46
45
|
:type EndTime: str
|
47
46
|
:param _InstanceId: 云服务器实例ID
|
48
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
49
47
|
:type InstanceId: str
|
50
48
|
"""
|
51
49
|
self._ActivityId = None
|
@@ -150,7 +148,6 @@ class Activity(AbstractModel):
|
|
150
148
|
@property
|
151
149
|
def EndTime(self):
|
152
150
|
"""活动结束时间
|
153
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
154
151
|
:rtype: str
|
155
152
|
"""
|
156
153
|
return self._EndTime
|
@@ -162,7 +159,6 @@ class Activity(AbstractModel):
|
|
162
159
|
@property
|
163
160
|
def InstanceId(self):
|
164
161
|
"""云服务器实例ID
|
165
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
166
162
|
:rtype: str
|
167
163
|
"""
|
168
164
|
return self._InstanceId
|
@@ -201,13 +197,10 @@ class AgentRunningMode(AbstractModel):
|
|
201
197
|
def __init__(self):
|
202
198
|
r"""
|
203
199
|
:param _Scene: 场景类型,支持WINDOWS
|
204
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
205
200
|
:type Scene: str
|
206
201
|
:param _User: 运行Agent的User
|
207
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
208
202
|
:type User: str
|
209
203
|
:param _Session: 运行Agent的Session
|
210
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
211
204
|
:type Session: str
|
212
205
|
"""
|
213
206
|
self._Scene = None
|
@@ -217,7 +210,6 @@ class AgentRunningMode(AbstractModel):
|
|
217
210
|
@property
|
218
211
|
def Scene(self):
|
219
212
|
"""场景类型,支持WINDOWS
|
220
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
221
213
|
:rtype: str
|
222
214
|
"""
|
223
215
|
return self._Scene
|
@@ -229,7 +221,6 @@ class AgentRunningMode(AbstractModel):
|
|
229
221
|
@property
|
230
222
|
def User(self):
|
231
223
|
"""运行Agent的User
|
232
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
233
224
|
:rtype: str
|
234
225
|
"""
|
235
226
|
return self._User
|
@@ -241,7 +232,6 @@ class AgentRunningMode(AbstractModel):
|
|
241
232
|
@property
|
242
233
|
def Session(self):
|
243
234
|
"""运行Agent的Session
|
244
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
245
235
|
:rtype: str
|
246
236
|
"""
|
247
237
|
return self._Session
|
@@ -363,19 +353,14 @@ class Application(AbstractModel):
|
|
363
353
|
def __init__(self):
|
364
354
|
r"""
|
365
355
|
:param _DeliveryForm: 应用程序的交付方式,包括PACKAGE、LOCAL 两种取值,分别指远程存储的软件包、计算环境本地。
|
366
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
367
356
|
:type DeliveryForm: str
|
368
357
|
:param _Command: 任务执行命令。与Commands不能同时指定。
|
369
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
370
358
|
:type Command: str
|
371
359
|
:param _PackagePath: 应用程序软件包的远程存储路径
|
372
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
373
360
|
:type PackagePath: str
|
374
361
|
:param _Docker: 应用使用Docker的相关配置。在使用Docker配置的情况下,DeliveryForm 为 LOCAL 表示直接使用Docker镜像内部的应用软件,通过Docker方式运行;DeliveryForm 为 PACKAGE,表示将远程应用包注入到Docker镜像后,通过Docker方式运行。为避免Docker不同版本的兼容性问题,Docker安装包及相关依赖由Batch统一负责,对于已安装Docker的自定义镜像,请卸载后再使用Docker特性。
|
375
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
376
362
|
:type Docker: :class:`tencentcloud.batch.v20170312.models.Docker`
|
377
363
|
:param _Commands: 任务执行命令信息。与Command不能同时指定。
|
378
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
379
364
|
:type Commands: list of CommandLine
|
380
365
|
"""
|
381
366
|
self._DeliveryForm = None
|
@@ -387,7 +372,6 @@ class Application(AbstractModel):
|
|
387
372
|
@property
|
388
373
|
def DeliveryForm(self):
|
389
374
|
"""应用程序的交付方式,包括PACKAGE、LOCAL 两种取值,分别指远程存储的软件包、计算环境本地。
|
390
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
391
375
|
:rtype: str
|
392
376
|
"""
|
393
377
|
return self._DeliveryForm
|
@@ -399,7 +383,6 @@ class Application(AbstractModel):
|
|
399
383
|
@property
|
400
384
|
def Command(self):
|
401
385
|
"""任务执行命令。与Commands不能同时指定。
|
402
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
403
386
|
:rtype: str
|
404
387
|
"""
|
405
388
|
return self._Command
|
@@ -411,7 +394,6 @@ class Application(AbstractModel):
|
|
411
394
|
@property
|
412
395
|
def PackagePath(self):
|
413
396
|
"""应用程序软件包的远程存储路径
|
414
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
415
397
|
:rtype: str
|
416
398
|
"""
|
417
399
|
return self._PackagePath
|
@@ -423,7 +405,6 @@ class Application(AbstractModel):
|
|
423
405
|
@property
|
424
406
|
def Docker(self):
|
425
407
|
"""应用使用Docker的相关配置。在使用Docker配置的情况下,DeliveryForm 为 LOCAL 表示直接使用Docker镜像内部的应用软件,通过Docker方式运行;DeliveryForm 为 PACKAGE,表示将远程应用包注入到Docker镜像后,通过Docker方式运行。为避免Docker不同版本的兼容性问题,Docker安装包及相关依赖由Batch统一负责,对于已安装Docker的自定义镜像,请卸载后再使用Docker特性。
|
426
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
427
408
|
:rtype: :class:`tencentcloud.batch.v20170312.models.Docker`
|
428
409
|
"""
|
429
410
|
return self._Docker
|
@@ -435,7 +416,6 @@ class Application(AbstractModel):
|
|
435
416
|
@property
|
436
417
|
def Commands(self):
|
437
418
|
"""任务执行命令信息。与Command不能同时指定。
|
438
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
439
419
|
:rtype: list of CommandLine
|
440
420
|
"""
|
441
421
|
return self._Commands
|
@@ -560,13 +540,10 @@ class Authentication(AbstractModel):
|
|
560
540
|
def __init__(self):
|
561
541
|
r"""
|
562
542
|
:param _Scene: 授权场景,例如COS
|
563
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
564
543
|
:type Scene: str
|
565
544
|
:param _SecretId: SecretId
|
566
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
567
545
|
:type SecretId: str
|
568
546
|
:param _SecretKey: SecretKey
|
569
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
570
547
|
:type SecretKey: str
|
571
548
|
"""
|
572
549
|
self._Scene = None
|
@@ -576,7 +553,6 @@ class Authentication(AbstractModel):
|
|
576
553
|
@property
|
577
554
|
def Scene(self):
|
578
555
|
"""授权场景,例如COS
|
579
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
580
556
|
:rtype: str
|
581
557
|
"""
|
582
558
|
return self._Scene
|
@@ -588,7 +564,6 @@ class Authentication(AbstractModel):
|
|
588
564
|
@property
|
589
565
|
def SecretId(self):
|
590
566
|
"""SecretId
|
591
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
592
567
|
:rtype: str
|
593
568
|
"""
|
594
569
|
return self._SecretId
|
@@ -600,7 +575,6 @@ class Authentication(AbstractModel):
|
|
600
575
|
@property
|
601
576
|
def SecretKey(self):
|
602
577
|
"""SecretKey
|
603
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
604
578
|
:rtype: str
|
605
579
|
"""
|
606
580
|
return self._SecretKey
|
@@ -632,7 +606,6 @@ class CommandLine(AbstractModel):
|
|
632
606
|
def __init__(self):
|
633
607
|
r"""
|
634
608
|
:param _Command: 任务执行命令。
|
635
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
636
609
|
:type Command: str
|
637
610
|
"""
|
638
611
|
self._Command = None
|
@@ -640,7 +613,6 @@ class CommandLine(AbstractModel):
|
|
640
613
|
@property
|
641
614
|
def Command(self):
|
642
615
|
"""任务执行命令。
|
643
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
644
616
|
:rtype: str
|
645
617
|
"""
|
646
618
|
return self._Command
|
@@ -672,31 +644,24 @@ class ComputeEnvCreateInfo(AbstractModel):
|
|
672
644
|
:param _EnvId: 计算环境 ID
|
673
645
|
:type EnvId: str
|
674
646
|
:param _EnvName: 计算环境名称
|
675
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
676
647
|
:type EnvName: str
|
677
648
|
:param _EnvDescription: 计算环境描述
|
678
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
679
649
|
:type EnvDescription: str
|
680
650
|
:param _EnvType: 计算环境类型,仅支持“MANAGED”类型
|
681
651
|
:type EnvType: str
|
682
652
|
:param _EnvData: 计算环境参数
|
683
653
|
:type EnvData: :class:`tencentcloud.batch.v20170312.models.EnvData`
|
684
654
|
:param _MountDataDisks: 数据盘挂载选项
|
685
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
686
655
|
:type MountDataDisks: list of MountDataDisk
|
687
656
|
:param _InputMappings: 输入映射
|
688
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
689
657
|
:type InputMappings: list of InputMapping
|
690
658
|
:param _Authentications: 授权信息
|
691
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
692
659
|
:type Authentications: list of Authentication
|
693
660
|
:param _Notifications: 通知信息
|
694
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
695
661
|
:type Notifications: list of Notification
|
696
662
|
:param _DesiredComputeNodeCount: 计算节点期望个数
|
697
663
|
:type DesiredComputeNodeCount: int
|
698
664
|
:param _Tags: 计算环境标签列表
|
699
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
700
665
|
:type Tags: list of Tag
|
701
666
|
"""
|
702
667
|
self._EnvId = None
|
@@ -725,7 +690,6 @@ class ComputeEnvCreateInfo(AbstractModel):
|
|
725
690
|
@property
|
726
691
|
def EnvName(self):
|
727
692
|
"""计算环境名称
|
728
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
729
693
|
:rtype: str
|
730
694
|
"""
|
731
695
|
return self._EnvName
|
@@ -737,7 +701,6 @@ class ComputeEnvCreateInfo(AbstractModel):
|
|
737
701
|
@property
|
738
702
|
def EnvDescription(self):
|
739
703
|
"""计算环境描述
|
740
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
741
704
|
:rtype: str
|
742
705
|
"""
|
743
706
|
return self._EnvDescription
|
@@ -771,7 +734,6 @@ class ComputeEnvCreateInfo(AbstractModel):
|
|
771
734
|
@property
|
772
735
|
def MountDataDisks(self):
|
773
736
|
"""数据盘挂载选项
|
774
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
775
737
|
:rtype: list of MountDataDisk
|
776
738
|
"""
|
777
739
|
return self._MountDataDisks
|
@@ -783,7 +745,6 @@ class ComputeEnvCreateInfo(AbstractModel):
|
|
783
745
|
@property
|
784
746
|
def InputMappings(self):
|
785
747
|
"""输入映射
|
786
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
787
748
|
:rtype: list of InputMapping
|
788
749
|
"""
|
789
750
|
return self._InputMappings
|
@@ -795,7 +756,6 @@ class ComputeEnvCreateInfo(AbstractModel):
|
|
795
756
|
@property
|
796
757
|
def Authentications(self):
|
797
758
|
"""授权信息
|
798
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
799
759
|
:rtype: list of Authentication
|
800
760
|
"""
|
801
761
|
return self._Authentications
|
@@ -807,7 +767,6 @@ class ComputeEnvCreateInfo(AbstractModel):
|
|
807
767
|
@property
|
808
768
|
def Notifications(self):
|
809
769
|
"""通知信息
|
810
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
811
770
|
:rtype: list of Notification
|
812
771
|
"""
|
813
772
|
return self._Notifications
|
@@ -830,7 +789,6 @@ class ComputeEnvCreateInfo(AbstractModel):
|
|
830
789
|
@property
|
831
790
|
def Tags(self):
|
832
791
|
"""计算环境标签列表
|
833
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
834
792
|
:rtype: list of Tag
|
835
793
|
"""
|
836
794
|
return self._Tags
|
@@ -1451,57 +1409,6 @@ class ComputeNodeMetrics(AbstractModel):
|
|
1451
1409
|
|
1452
1410
|
|
1453
1411
|
|
1454
|
-
class CpmVirtualPrivateCloud(AbstractModel):
|
1455
|
-
"""黑石私有网络
|
1456
|
-
|
1457
|
-
"""
|
1458
|
-
|
1459
|
-
def __init__(self):
|
1460
|
-
r"""
|
1461
|
-
:param _VpcId: 黑石私有网络ID
|
1462
|
-
:type VpcId: str
|
1463
|
-
:param _SubnetId: 黑石子网ID
|
1464
|
-
:type SubnetId: str
|
1465
|
-
"""
|
1466
|
-
self._VpcId = None
|
1467
|
-
self._SubnetId = None
|
1468
|
-
|
1469
|
-
@property
|
1470
|
-
def VpcId(self):
|
1471
|
-
"""黑石私有网络ID
|
1472
|
-
:rtype: str
|
1473
|
-
"""
|
1474
|
-
return self._VpcId
|
1475
|
-
|
1476
|
-
@VpcId.setter
|
1477
|
-
def VpcId(self, VpcId):
|
1478
|
-
self._VpcId = VpcId
|
1479
|
-
|
1480
|
-
@property
|
1481
|
-
def SubnetId(self):
|
1482
|
-
"""黑石子网ID
|
1483
|
-
:rtype: str
|
1484
|
-
"""
|
1485
|
-
return self._SubnetId
|
1486
|
-
|
1487
|
-
@SubnetId.setter
|
1488
|
-
def SubnetId(self, SubnetId):
|
1489
|
-
self._SubnetId = SubnetId
|
1490
|
-
|
1491
|
-
|
1492
|
-
def _deserialize(self, params):
|
1493
|
-
self._VpcId = params.get("VpcId")
|
1494
|
-
self._SubnetId = params.get("SubnetId")
|
1495
|
-
memeber_set = set(params.keys())
|
1496
|
-
for name, value in vars(self).items():
|
1497
|
-
property_name = name[1:]
|
1498
|
-
if property_name in memeber_set:
|
1499
|
-
memeber_set.remove(property_name)
|
1500
|
-
if len(memeber_set) > 0:
|
1501
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1502
|
-
|
1503
|
-
|
1504
|
-
|
1505
1412
|
class CreateComputeEnvRequest(AbstractModel):
|
1506
1413
|
"""CreateComputeEnv请求参数结构体
|
1507
1414
|
|
@@ -1615,119 +1522,6 @@ class CreateComputeEnvResponse(AbstractModel):
|
|
1615
1522
|
self._RequestId = params.get("RequestId")
|
1616
1523
|
|
1617
1524
|
|
1618
|
-
class CreateCpmComputeEnvRequest(AbstractModel):
|
1619
|
-
"""CreateCpmComputeEnv请求参数结构体
|
1620
|
-
|
1621
|
-
"""
|
1622
|
-
|
1623
|
-
def __init__(self):
|
1624
|
-
r"""
|
1625
|
-
:param _ComputeEnv: 计算环境信息
|
1626
|
-
:type ComputeEnv: :class:`tencentcloud.batch.v20170312.models.NamedCpmComputeEnv`
|
1627
|
-
:param _Placement: 位置信息
|
1628
|
-
:type Placement: :class:`tencentcloud.batch.v20170312.models.Placement`
|
1629
|
-
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由用户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
1630
|
-
:type ClientToken: str
|
1631
|
-
"""
|
1632
|
-
self._ComputeEnv = None
|
1633
|
-
self._Placement = None
|
1634
|
-
self._ClientToken = None
|
1635
|
-
|
1636
|
-
@property
|
1637
|
-
def ComputeEnv(self):
|
1638
|
-
"""计算环境信息
|
1639
|
-
:rtype: :class:`tencentcloud.batch.v20170312.models.NamedCpmComputeEnv`
|
1640
|
-
"""
|
1641
|
-
return self._ComputeEnv
|
1642
|
-
|
1643
|
-
@ComputeEnv.setter
|
1644
|
-
def ComputeEnv(self, ComputeEnv):
|
1645
|
-
self._ComputeEnv = ComputeEnv
|
1646
|
-
|
1647
|
-
@property
|
1648
|
-
def Placement(self):
|
1649
|
-
"""位置信息
|
1650
|
-
:rtype: :class:`tencentcloud.batch.v20170312.models.Placement`
|
1651
|
-
"""
|
1652
|
-
return self._Placement
|
1653
|
-
|
1654
|
-
@Placement.setter
|
1655
|
-
def Placement(self, Placement):
|
1656
|
-
self._Placement = Placement
|
1657
|
-
|
1658
|
-
@property
|
1659
|
-
def ClientToken(self):
|
1660
|
-
"""用于保证请求幂等性的字符串。该字符串由用户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
1661
|
-
:rtype: str
|
1662
|
-
"""
|
1663
|
-
return self._ClientToken
|
1664
|
-
|
1665
|
-
@ClientToken.setter
|
1666
|
-
def ClientToken(self, ClientToken):
|
1667
|
-
self._ClientToken = ClientToken
|
1668
|
-
|
1669
|
-
|
1670
|
-
def _deserialize(self, params):
|
1671
|
-
if params.get("ComputeEnv") is not None:
|
1672
|
-
self._ComputeEnv = NamedCpmComputeEnv()
|
1673
|
-
self._ComputeEnv._deserialize(params.get("ComputeEnv"))
|
1674
|
-
if params.get("Placement") is not None:
|
1675
|
-
self._Placement = Placement()
|
1676
|
-
self._Placement._deserialize(params.get("Placement"))
|
1677
|
-
self._ClientToken = params.get("ClientToken")
|
1678
|
-
memeber_set = set(params.keys())
|
1679
|
-
for name, value in vars(self).items():
|
1680
|
-
property_name = name[1:]
|
1681
|
-
if property_name in memeber_set:
|
1682
|
-
memeber_set.remove(property_name)
|
1683
|
-
if len(memeber_set) > 0:
|
1684
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1685
|
-
|
1686
|
-
|
1687
|
-
|
1688
|
-
class CreateCpmComputeEnvResponse(AbstractModel):
|
1689
|
-
"""CreateCpmComputeEnv返回参数结构体
|
1690
|
-
|
1691
|
-
"""
|
1692
|
-
|
1693
|
-
def __init__(self):
|
1694
|
-
r"""
|
1695
|
-
:param _EnvId: 计算环境ID
|
1696
|
-
:type EnvId: str
|
1697
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1698
|
-
:type RequestId: str
|
1699
|
-
"""
|
1700
|
-
self._EnvId = None
|
1701
|
-
self._RequestId = None
|
1702
|
-
|
1703
|
-
@property
|
1704
|
-
def EnvId(self):
|
1705
|
-
"""计算环境ID
|
1706
|
-
:rtype: str
|
1707
|
-
"""
|
1708
|
-
return self._EnvId
|
1709
|
-
|
1710
|
-
@EnvId.setter
|
1711
|
-
def EnvId(self, EnvId):
|
1712
|
-
self._EnvId = EnvId
|
1713
|
-
|
1714
|
-
@property
|
1715
|
-
def RequestId(self):
|
1716
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1717
|
-
:rtype: str
|
1718
|
-
"""
|
1719
|
-
return self._RequestId
|
1720
|
-
|
1721
|
-
@RequestId.setter
|
1722
|
-
def RequestId(self, RequestId):
|
1723
|
-
self._RequestId = RequestId
|
1724
|
-
|
1725
|
-
|
1726
|
-
def _deserialize(self, params):
|
1727
|
-
self._EnvId = params.get("EnvId")
|
1728
|
-
self._RequestId = params.get("RequestId")
|
1729
|
-
|
1730
|
-
|
1731
1525
|
class CreateTaskTemplateRequest(AbstractModel):
|
1732
1526
|
"""CreateTaskTemplate请求参数结构体
|
1733
1527
|
|
@@ -1866,36 +1660,25 @@ class DataDisk(AbstractModel):
|
|
1866
1660
|
|
1867
1661
|
def __init__(self):
|
1868
1662
|
r"""
|
1869
|
-
:param _DiskSize: 数据盘大小,单位:
|
1663
|
+
:param _DiskSize: 数据盘大小,单位:GiB。最小调整步长为10GiB,不同数据盘类型取值范围不同,具体限制详见:[存储概述](https://cloud.tencent.com/document/product/213/4952)。默认值为0,表示不购买数据盘。更多限制详见产品文档。
|
1870
1664
|
:type DiskSize: int
|
1871
1665
|
:param _DiskType: 数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br /><li>LOCAL_BASIC:本地硬盘<br /> <li>LOCAL_SSD:本地SSD硬盘<br /><li>LOCAL_NVME:本地NVME硬盘,与InstanceType强相关,不支持指定<br /><li>LOCAL_PRO:本地HDD硬盘,与InstanceType强相关,不支持指定<br /><li>CLOUD_BASIC:普通云硬盘<br /><li> CLOUD_PREMIUM:高性能云硬盘<br /><li>CLOUD_SSD:SSD云硬盘<br /><li> CLOUD_HSSD:增强型SSD云硬盘<br /> <li>CLOUD_TSSD:极速型SSD云硬盘<br /><li>CLOUD_BSSD:通用型SSD云硬盘<br /><br />默认取值:LOCAL_BASIC。<br /><br />该参数对`ResizeInstanceDisk`接口无效。</li></li></li> </li> </li></li></li></li></li></li>
|
1872
1666
|
:type DiskType: str
|
1873
1667
|
:param _DiskId: 数据盘ID。
|
1874
1668
|
该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`RunInstances`等写接口的入参。
|
1875
1669
|
:type DiskId: str
|
1876
|
-
:param _DeleteWithInstance:
|
1877
|
-
<li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>
|
1878
|
-
<li>
|
1879
|
-
false:子机销毁时,保留数据盘<br />
|
1880
|
-
默认取值:true<br />
|
1881
|
-
该参数目前仅用于 `RunInstances` 接口。
|
1882
|
-
</li>
|
1670
|
+
:param _DeleteWithInstance: 数据盘是否随子机销毁。取值范围:<li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li><li>false:子机销毁时,保留数据盘</li><br/>默认取值:true <br/>该参数目前仅用于 `RunInstances` 接口。
|
1883
1671
|
:type DeleteWithInstance: bool
|
1884
1672
|
:param _SnapshotId: 数据盘快照ID。选择的数据盘快照大小需小于数据盘大小。
|
1885
1673
|
:type SnapshotId: str
|
1886
|
-
:param _Encrypt:
|
1887
|
-
<li>true:加密</li>
|
1888
|
-
<li>
|
1889
|
-
false:不加密<br />
|
1890
|
-
默认取值:false<br />
|
1891
|
-
该参数目前仅用于 `RunInstances` 接口。
|
1892
|
-
</li>
|
1674
|
+
:param _Encrypt: 数据盘是否加密。取值范围:<li>true:加密</li><li>false:不加密</li><br/>默认取值:false<br/>该参数目前仅用于 `RunInstances` 接口。
|
1893
1675
|
:type Encrypt: bool
|
1894
1676
|
:param _KmsKeyId: 自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。
|
1895
1677
|
|
1896
1678
|
该参数目前仅用于 `RunInstances` 接口。
|
1897
1679
|
:type KmsKeyId: str
|
1898
|
-
:param _ThroughputPerformance: 云硬盘性能,单位:
|
1680
|
+
:param _ThroughputPerformance: 云硬盘性能,单位:MiB/s。使用此参数可给云硬盘购买额外的性能。
|
1681
|
+
当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)
|
1899
1682
|
:type ThroughputPerformance: int
|
1900
1683
|
:param _CdcId: 所属的独享集群ID。
|
1901
1684
|
:type CdcId: str
|
@@ -1904,8 +1687,6 @@ class DataDisk(AbstractModel):
|
|
1904
1687
|
<b>注:内测中。</b>
|
1905
1688
|
:type BurstPerformance: bool
|
1906
1689
|
:param _DiskName: 磁盘名称,长度不超过128 个字符。
|
1907
|
-
|
1908
|
-
该参数正在邀测中,暂未开放使用。
|
1909
1690
|
:type DiskName: str
|
1910
1691
|
"""
|
1911
1692
|
self._DiskSize = None
|
@@ -1922,7 +1703,7 @@ class DataDisk(AbstractModel):
|
|
1922
1703
|
|
1923
1704
|
@property
|
1924
1705
|
def DiskSize(self):
|
1925
|
-
"""数据盘大小,单位:
|
1706
|
+
"""数据盘大小,单位:GiB。最小调整步长为10GiB,不同数据盘类型取值范围不同,具体限制详见:[存储概述](https://cloud.tencent.com/document/product/213/4952)。默认值为0,表示不购买数据盘。更多限制详见产品文档。
|
1926
1707
|
:rtype: int
|
1927
1708
|
"""
|
1928
1709
|
return self._DiskSize
|
@@ -1956,13 +1737,7 @@ class DataDisk(AbstractModel):
|
|
1956
1737
|
|
1957
1738
|
@property
|
1958
1739
|
def DeleteWithInstance(self):
|
1959
|
-
"""
|
1960
|
-
<li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>
|
1961
|
-
<li>
|
1962
|
-
false:子机销毁时,保留数据盘<br />
|
1963
|
-
默认取值:true<br />
|
1964
|
-
该参数目前仅用于 `RunInstances` 接口。
|
1965
|
-
</li>
|
1740
|
+
"""数据盘是否随子机销毁。取值范围:<li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li><li>false:子机销毁时,保留数据盘</li><br/>默认取值:true <br/>该参数目前仅用于 `RunInstances` 接口。
|
1966
1741
|
:rtype: bool
|
1967
1742
|
"""
|
1968
1743
|
return self._DeleteWithInstance
|
@@ -1984,13 +1759,7 @@ class DataDisk(AbstractModel):
|
|
1984
1759
|
|
1985
1760
|
@property
|
1986
1761
|
def Encrypt(self):
|
1987
|
-
"""
|
1988
|
-
<li>true:加密</li>
|
1989
|
-
<li>
|
1990
|
-
false:不加密<br />
|
1991
|
-
默认取值:false<br />
|
1992
|
-
该参数目前仅用于 `RunInstances` 接口。
|
1993
|
-
</li>
|
1762
|
+
"""数据盘是否加密。取值范围:<li>true:加密</li><li>false:不加密</li><br/>默认取值:false<br/>该参数目前仅用于 `RunInstances` 接口。
|
1994
1763
|
:rtype: bool
|
1995
1764
|
"""
|
1996
1765
|
return self._Encrypt
|
@@ -2014,7 +1783,8 @@ class DataDisk(AbstractModel):
|
|
2014
1783
|
|
2015
1784
|
@property
|
2016
1785
|
def ThroughputPerformance(self):
|
2017
|
-
"""云硬盘性能,单位:
|
1786
|
+
"""云硬盘性能,单位:MiB/s。使用此参数可给云硬盘购买额外的性能。
|
1787
|
+
当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)
|
2018
1788
|
:rtype: int
|
2019
1789
|
"""
|
2020
1790
|
return self._ThroughputPerformance
|
@@ -2050,8 +1820,6 @@ class DataDisk(AbstractModel):
|
|
2050
1820
|
@property
|
2051
1821
|
def DiskName(self):
|
2052
1822
|
"""磁盘名称,长度不超过128 个字符。
|
2053
|
-
|
2054
|
-
该参数正在邀测中,暂未开放使用。
|
2055
1823
|
:rtype: str
|
2056
1824
|
"""
|
2057
1825
|
return self._DiskName
|
@@ -2283,10 +2051,8 @@ class Dependence(AbstractModel):
|
|
2283
2051
|
def __init__(self):
|
2284
2052
|
r"""
|
2285
2053
|
:param _StartTask: 依赖关系的起点任务名称
|
2286
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2287
2054
|
:type StartTask: str
|
2288
2055
|
:param _EndTask: 依赖关系的终点任务名称
|
2289
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2290
2056
|
:type EndTask: str
|
2291
2057
|
"""
|
2292
2058
|
self._StartTask = None
|
@@ -2295,7 +2061,6 @@ class Dependence(AbstractModel):
|
|
2295
2061
|
@property
|
2296
2062
|
def StartTask(self):
|
2297
2063
|
"""依赖关系的起点任务名称
|
2298
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2299
2064
|
:rtype: str
|
2300
2065
|
"""
|
2301
2066
|
return self._StartTask
|
@@ -2307,7 +2072,6 @@ class Dependence(AbstractModel):
|
|
2307
2072
|
@property
|
2308
2073
|
def EndTask(self):
|
2309
2074
|
"""依赖关系的终点任务名称
|
2310
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2311
2075
|
:rtype: str
|
2312
2076
|
"""
|
2313
2077
|
return self._EndTask
|
@@ -2619,7 +2383,6 @@ class DescribeComputeEnvCreateInfoResponse(AbstractModel):
|
|
2619
2383
|
:param _EnvName: 计算环境名称
|
2620
2384
|
:type EnvName: str
|
2621
2385
|
:param _EnvDescription: 计算环境描述
|
2622
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2623
2386
|
:type EnvDescription: str
|
2624
2387
|
:param _EnvType: 计算环境类型,仅支持“MANAGED”类型
|
2625
2388
|
:type EnvType: str
|
@@ -2679,7 +2442,6 @@ class DescribeComputeEnvCreateInfoResponse(AbstractModel):
|
|
2679
2442
|
@property
|
2680
2443
|
def EnvDescription(self):
|
2681
2444
|
"""计算环境描述
|
2682
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2683
2445
|
:rtype: str
|
2684
2446
|
"""
|
2685
2447
|
return self._EnvDescription
|
@@ -3413,90 +3175,6 @@ class DescribeComputeEnvsResponse(AbstractModel):
|
|
3413
3175
|
self._RequestId = params.get("RequestId")
|
3414
3176
|
|
3415
3177
|
|
3416
|
-
class DescribeCpmOsInfoRequest(AbstractModel):
|
3417
|
-
"""DescribeCpmOsInfo请求参数结构体
|
3418
|
-
|
3419
|
-
"""
|
3420
|
-
|
3421
|
-
def __init__(self):
|
3422
|
-
r"""
|
3423
|
-
:param _DeviceClassCode: 黑石设备类型代号。 可以从[DescribeDeviceClass](https://cloud.tencent.com/document/api/386/32911)查询设备类型列表。
|
3424
|
-
:type DeviceClassCode: str
|
3425
|
-
"""
|
3426
|
-
self._DeviceClassCode = None
|
3427
|
-
|
3428
|
-
@property
|
3429
|
-
def DeviceClassCode(self):
|
3430
|
-
"""黑石设备类型代号。 可以从[DescribeDeviceClass](https://cloud.tencent.com/document/api/386/32911)查询设备类型列表。
|
3431
|
-
:rtype: str
|
3432
|
-
"""
|
3433
|
-
return self._DeviceClassCode
|
3434
|
-
|
3435
|
-
@DeviceClassCode.setter
|
3436
|
-
def DeviceClassCode(self, DeviceClassCode):
|
3437
|
-
self._DeviceClassCode = DeviceClassCode
|
3438
|
-
|
3439
|
-
|
3440
|
-
def _deserialize(self, params):
|
3441
|
-
self._DeviceClassCode = params.get("DeviceClassCode")
|
3442
|
-
memeber_set = set(params.keys())
|
3443
|
-
for name, value in vars(self).items():
|
3444
|
-
property_name = name[1:]
|
3445
|
-
if property_name in memeber_set:
|
3446
|
-
memeber_set.remove(property_name)
|
3447
|
-
if len(memeber_set) > 0:
|
3448
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3449
|
-
|
3450
|
-
|
3451
|
-
|
3452
|
-
class DescribeCpmOsInfoResponse(AbstractModel):
|
3453
|
-
"""DescribeCpmOsInfo返回参数结构体
|
3454
|
-
|
3455
|
-
"""
|
3456
|
-
|
3457
|
-
def __init__(self):
|
3458
|
-
r"""
|
3459
|
-
:param _OsInfoSet: 操作系统信息列表。
|
3460
|
-
:type OsInfoSet: list of OsInfo
|
3461
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3462
|
-
:type RequestId: str
|
3463
|
-
"""
|
3464
|
-
self._OsInfoSet = None
|
3465
|
-
self._RequestId = None
|
3466
|
-
|
3467
|
-
@property
|
3468
|
-
def OsInfoSet(self):
|
3469
|
-
"""操作系统信息列表。
|
3470
|
-
:rtype: list of OsInfo
|
3471
|
-
"""
|
3472
|
-
return self._OsInfoSet
|
3473
|
-
|
3474
|
-
@OsInfoSet.setter
|
3475
|
-
def OsInfoSet(self, OsInfoSet):
|
3476
|
-
self._OsInfoSet = OsInfoSet
|
3477
|
-
|
3478
|
-
@property
|
3479
|
-
def RequestId(self):
|
3480
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3481
|
-
:rtype: str
|
3482
|
-
"""
|
3483
|
-
return self._RequestId
|
3484
|
-
|
3485
|
-
@RequestId.setter
|
3486
|
-
def RequestId(self, RequestId):
|
3487
|
-
self._RequestId = RequestId
|
3488
|
-
|
3489
|
-
|
3490
|
-
def _deserialize(self, params):
|
3491
|
-
if params.get("OsInfoSet") is not None:
|
3492
|
-
self._OsInfoSet = []
|
3493
|
-
for item in params.get("OsInfoSet"):
|
3494
|
-
obj = OsInfo()
|
3495
|
-
obj._deserialize(item)
|
3496
|
-
self._OsInfoSet.append(obj)
|
3497
|
-
self._RequestId = params.get("RequestId")
|
3498
|
-
|
3499
|
-
|
3500
3178
|
class DescribeCvmZoneInstanceConfigInfosRequest(AbstractModel):
|
3501
3179
|
"""DescribeCvmZoneInstanceConfigInfos请求参数结构体
|
3502
3180
|
|
@@ -3719,7 +3397,6 @@ class DescribeJobResponse(AbstractModel):
|
|
3719
3397
|
注意:此字段可能返回 null,表示取不到有效值。
|
3720
3398
|
:type Tags: list of Tag
|
3721
3399
|
:param _NextAction: 下一步动作
|
3722
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3723
3400
|
:type NextAction: str
|
3724
3401
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3725
3402
|
:type RequestId: str
|
@@ -3887,7 +3564,6 @@ class DescribeJobResponse(AbstractModel):
|
|
3887
3564
|
@property
|
3888
3565
|
def NextAction(self):
|
3889
3566
|
"""下一步动作
|
3890
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3891
3567
|
:rtype: str
|
3892
3568
|
"""
|
3893
3569
|
return self._NextAction
|
@@ -4971,7 +4647,6 @@ class Docker(AbstractModel):
|
|
4971
4647
|
:param _DelayOnRetry: 拉取Docker镜像失败时延迟时间。单位:秒。
|
4972
4648
|
:type DelayOnRetry: int
|
4973
4649
|
:param _DockerRunOption: Docker命令运行参数。
|
4974
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4975
4650
|
:type DockerRunOption: str
|
4976
4651
|
"""
|
4977
4652
|
self._Image = None
|
@@ -5051,7 +4726,6 @@ class Docker(AbstractModel):
|
|
5051
4726
|
@property
|
5052
4727
|
def DockerRunOption(self):
|
5053
4728
|
"""Docker命令运行参数。
|
5054
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5055
4729
|
:rtype: str
|
5056
4730
|
"""
|
5057
4731
|
return self._DockerRunOption
|
@@ -5436,347 +5110,6 @@ class EnvData(AbstractModel):
|
|
5436
5110
|
|
5437
5111
|
|
5438
5112
|
|
5439
|
-
class EnvDataCpm(AbstractModel):
|
5440
|
-
"""黑石计算环境数据
|
5441
|
-
|
5442
|
-
"""
|
5443
|
-
|
5444
|
-
def __init__(self):
|
5445
|
-
r"""
|
5446
|
-
:param _Zones: 黑石可用区名称列表。如ap-guangzhou-bls-1, 可通过黑石接口[DescribeRegions]( https://cloud.tencent.com/document/api/386/33564)接口获取。不是Batch可用区名称。目前仅支持一个可用区名称。
|
5447
|
-
:type Zones: list of str
|
5448
|
-
:param _InstanceTypes: 购买的机型ID。通过黑石接口[DescribeDeviceClass]( https://cloud.tencent.com/document/api/386/32911)查询设备型号,获取机型信息。
|
5449
|
-
:type InstanceTypes: list of str
|
5450
|
-
:param _TimeUnit: 购买时长单位,取值:m(月)。
|
5451
|
-
:type TimeUnit: str
|
5452
|
-
:param _TimeSpan: 购买时长。
|
5453
|
-
:type TimeSpan: int
|
5454
|
-
:param _RaidId: RAID类型ID。通过黑石接口[DescribeDeviceClassPartition]( https://cloud.tencent.com/document/api/386/32910)查询机型RAID方式以及系统盘大小,获取RAID信息。
|
5455
|
-
:type RaidId: int
|
5456
|
-
:param _OsTypeId: 部署服务器的操作系统ID。通过批量计算接口DescribeCpmOsInfo查询操作系统信息。
|
5457
|
-
:type OsTypeId: int
|
5458
|
-
:param _VirtualPrivateClouds: 黑石VPC列表,目前仅支持一个VPC。
|
5459
|
-
:type VirtualPrivateClouds: list of CpmVirtualPrivateCloud
|
5460
|
-
:param _NeedSecurityAgent: 是否安装安全Agent,取值:1(安装) 0(不安装),默认取值0。
|
5461
|
-
:type NeedSecurityAgent: int
|
5462
|
-
:param _NeedMonitorAgent: 是否安装监控Agent,取值:1(安装) 0(不安装),默认取值0。
|
5463
|
-
:type NeedMonitorAgent: int
|
5464
|
-
:param _AutoRenewFlag: 自动续费标志位,取值:1(自动续费) 0(不自动续费),默认取值0。
|
5465
|
-
:type AutoRenewFlag: int
|
5466
|
-
:param _IsZoning: 数据盘是否格式化,取值:1(格式化) 0(不格式化),默认取值为1。
|
5467
|
-
:type IsZoning: int
|
5468
|
-
:param _FileSystem: 指定数据盘的文件系统格式,当前支持 ext4和xfs选项, 默认为ext4。 参数适用于数据盘和Linux, 且在IsZoning为1时生效。
|
5469
|
-
:type FileSystem: str
|
5470
|
-
:param _Password: 设置Linux root或Windows Administrator的密码。若不设置此参数,默认情况下会随机生成密码,并以站内信方式通知到用户。
|
5471
|
-
:type Password: str
|
5472
|
-
:param _ApplyEip: 是否分配弹性公网IP,取值:1(分配) 0(不分配),默认取值0。
|
5473
|
-
:type ApplyEip: int
|
5474
|
-
:param _EipPayMode: 弹性公网IP计费模式,取值:flow(按流量计费) bandwidth(按带宽计费),默认取值flow。
|
5475
|
-
:type EipPayMode: str
|
5476
|
-
:param _EipBandwidth: 弹性公网IP带宽限制,单位Mb。
|
5477
|
-
:type EipBandwidth: int
|
5478
|
-
:param _ImageId: 自定义镜像ID,取值生效时用自定义镜像部署物理机。
|
5479
|
-
:type ImageId: str
|
5480
|
-
:param _SysRootSpace: 系统盘根分区大小,单位为G,默认取值10G。通过黑石接口[DescribeDeviceClassPartition]( https://cloud.tencent.com/document/api/386/32910)查询机型RAID方式以及系统盘大小,获取根分区信息。
|
5481
|
-
:type SysRootSpace: int
|
5482
|
-
:param _SysDataSpace: /data分区大小,单位为G。如果系统盘还有剩余大小,会分配给/data分区。(特殊情况:如果剩余空间不足10G,并且没有指定/data分区,则剩余空间会分配给Root分区)。
|
5483
|
-
:type SysDataSpace: int
|
5484
|
-
:param _HyperThreading: 是否开启超线程,取值:1(开启) 0(关闭),默认取值1。
|
5485
|
-
:type HyperThreading: int
|
5486
|
-
:param _LanIps: 指定的内网IP列表,不指定时自动分配。
|
5487
|
-
:type LanIps: list of str
|
5488
|
-
"""
|
5489
|
-
self._Zones = None
|
5490
|
-
self._InstanceTypes = None
|
5491
|
-
self._TimeUnit = None
|
5492
|
-
self._TimeSpan = None
|
5493
|
-
self._RaidId = None
|
5494
|
-
self._OsTypeId = None
|
5495
|
-
self._VirtualPrivateClouds = None
|
5496
|
-
self._NeedSecurityAgent = None
|
5497
|
-
self._NeedMonitorAgent = None
|
5498
|
-
self._AutoRenewFlag = None
|
5499
|
-
self._IsZoning = None
|
5500
|
-
self._FileSystem = None
|
5501
|
-
self._Password = None
|
5502
|
-
self._ApplyEip = None
|
5503
|
-
self._EipPayMode = None
|
5504
|
-
self._EipBandwidth = None
|
5505
|
-
self._ImageId = None
|
5506
|
-
self._SysRootSpace = None
|
5507
|
-
self._SysDataSpace = None
|
5508
|
-
self._HyperThreading = None
|
5509
|
-
self._LanIps = None
|
5510
|
-
|
5511
|
-
@property
|
5512
|
-
def Zones(self):
|
5513
|
-
"""黑石可用区名称列表。如ap-guangzhou-bls-1, 可通过黑石接口[DescribeRegions]( https://cloud.tencent.com/document/api/386/33564)接口获取。不是Batch可用区名称。目前仅支持一个可用区名称。
|
5514
|
-
:rtype: list of str
|
5515
|
-
"""
|
5516
|
-
return self._Zones
|
5517
|
-
|
5518
|
-
@Zones.setter
|
5519
|
-
def Zones(self, Zones):
|
5520
|
-
self._Zones = Zones
|
5521
|
-
|
5522
|
-
@property
|
5523
|
-
def InstanceTypes(self):
|
5524
|
-
"""购买的机型ID。通过黑石接口[DescribeDeviceClass]( https://cloud.tencent.com/document/api/386/32911)查询设备型号,获取机型信息。
|
5525
|
-
:rtype: list of str
|
5526
|
-
"""
|
5527
|
-
return self._InstanceTypes
|
5528
|
-
|
5529
|
-
@InstanceTypes.setter
|
5530
|
-
def InstanceTypes(self, InstanceTypes):
|
5531
|
-
self._InstanceTypes = InstanceTypes
|
5532
|
-
|
5533
|
-
@property
|
5534
|
-
def TimeUnit(self):
|
5535
|
-
"""购买时长单位,取值:m(月)。
|
5536
|
-
:rtype: str
|
5537
|
-
"""
|
5538
|
-
return self._TimeUnit
|
5539
|
-
|
5540
|
-
@TimeUnit.setter
|
5541
|
-
def TimeUnit(self, TimeUnit):
|
5542
|
-
self._TimeUnit = TimeUnit
|
5543
|
-
|
5544
|
-
@property
|
5545
|
-
def TimeSpan(self):
|
5546
|
-
"""购买时长。
|
5547
|
-
:rtype: int
|
5548
|
-
"""
|
5549
|
-
return self._TimeSpan
|
5550
|
-
|
5551
|
-
@TimeSpan.setter
|
5552
|
-
def TimeSpan(self, TimeSpan):
|
5553
|
-
self._TimeSpan = TimeSpan
|
5554
|
-
|
5555
|
-
@property
|
5556
|
-
def RaidId(self):
|
5557
|
-
"""RAID类型ID。通过黑石接口[DescribeDeviceClassPartition]( https://cloud.tencent.com/document/api/386/32910)查询机型RAID方式以及系统盘大小,获取RAID信息。
|
5558
|
-
:rtype: int
|
5559
|
-
"""
|
5560
|
-
return self._RaidId
|
5561
|
-
|
5562
|
-
@RaidId.setter
|
5563
|
-
def RaidId(self, RaidId):
|
5564
|
-
self._RaidId = RaidId
|
5565
|
-
|
5566
|
-
@property
|
5567
|
-
def OsTypeId(self):
|
5568
|
-
"""部署服务器的操作系统ID。通过批量计算接口DescribeCpmOsInfo查询操作系统信息。
|
5569
|
-
:rtype: int
|
5570
|
-
"""
|
5571
|
-
return self._OsTypeId
|
5572
|
-
|
5573
|
-
@OsTypeId.setter
|
5574
|
-
def OsTypeId(self, OsTypeId):
|
5575
|
-
self._OsTypeId = OsTypeId
|
5576
|
-
|
5577
|
-
@property
|
5578
|
-
def VirtualPrivateClouds(self):
|
5579
|
-
"""黑石VPC列表,目前仅支持一个VPC。
|
5580
|
-
:rtype: list of CpmVirtualPrivateCloud
|
5581
|
-
"""
|
5582
|
-
return self._VirtualPrivateClouds
|
5583
|
-
|
5584
|
-
@VirtualPrivateClouds.setter
|
5585
|
-
def VirtualPrivateClouds(self, VirtualPrivateClouds):
|
5586
|
-
self._VirtualPrivateClouds = VirtualPrivateClouds
|
5587
|
-
|
5588
|
-
@property
|
5589
|
-
def NeedSecurityAgent(self):
|
5590
|
-
"""是否安装安全Agent,取值:1(安装) 0(不安装),默认取值0。
|
5591
|
-
:rtype: int
|
5592
|
-
"""
|
5593
|
-
return self._NeedSecurityAgent
|
5594
|
-
|
5595
|
-
@NeedSecurityAgent.setter
|
5596
|
-
def NeedSecurityAgent(self, NeedSecurityAgent):
|
5597
|
-
self._NeedSecurityAgent = NeedSecurityAgent
|
5598
|
-
|
5599
|
-
@property
|
5600
|
-
def NeedMonitorAgent(self):
|
5601
|
-
"""是否安装监控Agent,取值:1(安装) 0(不安装),默认取值0。
|
5602
|
-
:rtype: int
|
5603
|
-
"""
|
5604
|
-
return self._NeedMonitorAgent
|
5605
|
-
|
5606
|
-
@NeedMonitorAgent.setter
|
5607
|
-
def NeedMonitorAgent(self, NeedMonitorAgent):
|
5608
|
-
self._NeedMonitorAgent = NeedMonitorAgent
|
5609
|
-
|
5610
|
-
@property
|
5611
|
-
def AutoRenewFlag(self):
|
5612
|
-
"""自动续费标志位,取值:1(自动续费) 0(不自动续费),默认取值0。
|
5613
|
-
:rtype: int
|
5614
|
-
"""
|
5615
|
-
return self._AutoRenewFlag
|
5616
|
-
|
5617
|
-
@AutoRenewFlag.setter
|
5618
|
-
def AutoRenewFlag(self, AutoRenewFlag):
|
5619
|
-
self._AutoRenewFlag = AutoRenewFlag
|
5620
|
-
|
5621
|
-
@property
|
5622
|
-
def IsZoning(self):
|
5623
|
-
"""数据盘是否格式化,取值:1(格式化) 0(不格式化),默认取值为1。
|
5624
|
-
:rtype: int
|
5625
|
-
"""
|
5626
|
-
return self._IsZoning
|
5627
|
-
|
5628
|
-
@IsZoning.setter
|
5629
|
-
def IsZoning(self, IsZoning):
|
5630
|
-
self._IsZoning = IsZoning
|
5631
|
-
|
5632
|
-
@property
|
5633
|
-
def FileSystem(self):
|
5634
|
-
"""指定数据盘的文件系统格式,当前支持 ext4和xfs选项, 默认为ext4。 参数适用于数据盘和Linux, 且在IsZoning为1时生效。
|
5635
|
-
:rtype: str
|
5636
|
-
"""
|
5637
|
-
return self._FileSystem
|
5638
|
-
|
5639
|
-
@FileSystem.setter
|
5640
|
-
def FileSystem(self, FileSystem):
|
5641
|
-
self._FileSystem = FileSystem
|
5642
|
-
|
5643
|
-
@property
|
5644
|
-
def Password(self):
|
5645
|
-
"""设置Linux root或Windows Administrator的密码。若不设置此参数,默认情况下会随机生成密码,并以站内信方式通知到用户。
|
5646
|
-
:rtype: str
|
5647
|
-
"""
|
5648
|
-
return self._Password
|
5649
|
-
|
5650
|
-
@Password.setter
|
5651
|
-
def Password(self, Password):
|
5652
|
-
self._Password = Password
|
5653
|
-
|
5654
|
-
@property
|
5655
|
-
def ApplyEip(self):
|
5656
|
-
"""是否分配弹性公网IP,取值:1(分配) 0(不分配),默认取值0。
|
5657
|
-
:rtype: int
|
5658
|
-
"""
|
5659
|
-
return self._ApplyEip
|
5660
|
-
|
5661
|
-
@ApplyEip.setter
|
5662
|
-
def ApplyEip(self, ApplyEip):
|
5663
|
-
self._ApplyEip = ApplyEip
|
5664
|
-
|
5665
|
-
@property
|
5666
|
-
def EipPayMode(self):
|
5667
|
-
"""弹性公网IP计费模式,取值:flow(按流量计费) bandwidth(按带宽计费),默认取值flow。
|
5668
|
-
:rtype: str
|
5669
|
-
"""
|
5670
|
-
return self._EipPayMode
|
5671
|
-
|
5672
|
-
@EipPayMode.setter
|
5673
|
-
def EipPayMode(self, EipPayMode):
|
5674
|
-
self._EipPayMode = EipPayMode
|
5675
|
-
|
5676
|
-
@property
|
5677
|
-
def EipBandwidth(self):
|
5678
|
-
"""弹性公网IP带宽限制,单位Mb。
|
5679
|
-
:rtype: int
|
5680
|
-
"""
|
5681
|
-
return self._EipBandwidth
|
5682
|
-
|
5683
|
-
@EipBandwidth.setter
|
5684
|
-
def EipBandwidth(self, EipBandwidth):
|
5685
|
-
self._EipBandwidth = EipBandwidth
|
5686
|
-
|
5687
|
-
@property
|
5688
|
-
def ImageId(self):
|
5689
|
-
"""自定义镜像ID,取值生效时用自定义镜像部署物理机。
|
5690
|
-
:rtype: str
|
5691
|
-
"""
|
5692
|
-
return self._ImageId
|
5693
|
-
|
5694
|
-
@ImageId.setter
|
5695
|
-
def ImageId(self, ImageId):
|
5696
|
-
self._ImageId = ImageId
|
5697
|
-
|
5698
|
-
@property
|
5699
|
-
def SysRootSpace(self):
|
5700
|
-
"""系统盘根分区大小,单位为G,默认取值10G。通过黑石接口[DescribeDeviceClassPartition]( https://cloud.tencent.com/document/api/386/32910)查询机型RAID方式以及系统盘大小,获取根分区信息。
|
5701
|
-
:rtype: int
|
5702
|
-
"""
|
5703
|
-
return self._SysRootSpace
|
5704
|
-
|
5705
|
-
@SysRootSpace.setter
|
5706
|
-
def SysRootSpace(self, SysRootSpace):
|
5707
|
-
self._SysRootSpace = SysRootSpace
|
5708
|
-
|
5709
|
-
@property
|
5710
|
-
def SysDataSpace(self):
|
5711
|
-
"""/data分区大小,单位为G。如果系统盘还有剩余大小,会分配给/data分区。(特殊情况:如果剩余空间不足10G,并且没有指定/data分区,则剩余空间会分配给Root分区)。
|
5712
|
-
:rtype: int
|
5713
|
-
"""
|
5714
|
-
return self._SysDataSpace
|
5715
|
-
|
5716
|
-
@SysDataSpace.setter
|
5717
|
-
def SysDataSpace(self, SysDataSpace):
|
5718
|
-
self._SysDataSpace = SysDataSpace
|
5719
|
-
|
5720
|
-
@property
|
5721
|
-
def HyperThreading(self):
|
5722
|
-
"""是否开启超线程,取值:1(开启) 0(关闭),默认取值1。
|
5723
|
-
:rtype: int
|
5724
|
-
"""
|
5725
|
-
return self._HyperThreading
|
5726
|
-
|
5727
|
-
@HyperThreading.setter
|
5728
|
-
def HyperThreading(self, HyperThreading):
|
5729
|
-
self._HyperThreading = HyperThreading
|
5730
|
-
|
5731
|
-
@property
|
5732
|
-
def LanIps(self):
|
5733
|
-
"""指定的内网IP列表,不指定时自动分配。
|
5734
|
-
:rtype: list of str
|
5735
|
-
"""
|
5736
|
-
return self._LanIps
|
5737
|
-
|
5738
|
-
@LanIps.setter
|
5739
|
-
def LanIps(self, LanIps):
|
5740
|
-
self._LanIps = LanIps
|
5741
|
-
|
5742
|
-
|
5743
|
-
def _deserialize(self, params):
|
5744
|
-
self._Zones = params.get("Zones")
|
5745
|
-
self._InstanceTypes = params.get("InstanceTypes")
|
5746
|
-
self._TimeUnit = params.get("TimeUnit")
|
5747
|
-
self._TimeSpan = params.get("TimeSpan")
|
5748
|
-
self._RaidId = params.get("RaidId")
|
5749
|
-
self._OsTypeId = params.get("OsTypeId")
|
5750
|
-
if params.get("VirtualPrivateClouds") is not None:
|
5751
|
-
self._VirtualPrivateClouds = []
|
5752
|
-
for item in params.get("VirtualPrivateClouds"):
|
5753
|
-
obj = CpmVirtualPrivateCloud()
|
5754
|
-
obj._deserialize(item)
|
5755
|
-
self._VirtualPrivateClouds.append(obj)
|
5756
|
-
self._NeedSecurityAgent = params.get("NeedSecurityAgent")
|
5757
|
-
self._NeedMonitorAgent = params.get("NeedMonitorAgent")
|
5758
|
-
self._AutoRenewFlag = params.get("AutoRenewFlag")
|
5759
|
-
self._IsZoning = params.get("IsZoning")
|
5760
|
-
self._FileSystem = params.get("FileSystem")
|
5761
|
-
self._Password = params.get("Password")
|
5762
|
-
self._ApplyEip = params.get("ApplyEip")
|
5763
|
-
self._EipPayMode = params.get("EipPayMode")
|
5764
|
-
self._EipBandwidth = params.get("EipBandwidth")
|
5765
|
-
self._ImageId = params.get("ImageId")
|
5766
|
-
self._SysRootSpace = params.get("SysRootSpace")
|
5767
|
-
self._SysDataSpace = params.get("SysDataSpace")
|
5768
|
-
self._HyperThreading = params.get("HyperThreading")
|
5769
|
-
self._LanIps = params.get("LanIps")
|
5770
|
-
memeber_set = set(params.keys())
|
5771
|
-
for name, value in vars(self).items():
|
5772
|
-
property_name = name[1:]
|
5773
|
-
if property_name in memeber_set:
|
5774
|
-
memeber_set.remove(property_name)
|
5775
|
-
if len(memeber_set) > 0:
|
5776
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5777
|
-
|
5778
|
-
|
5779
|
-
|
5780
5113
|
class EnvVar(AbstractModel):
|
5781
5114
|
"""环境变量
|
5782
5115
|
|
@@ -5785,10 +5118,8 @@ class EnvVar(AbstractModel):
|
|
5785
5118
|
def __init__(self):
|
5786
5119
|
r"""
|
5787
5120
|
:param _Name: 环境变量名称
|
5788
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5789
5121
|
:type Name: str
|
5790
5122
|
:param _Value: 环境变量取值
|
5791
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5792
5123
|
:type Value: str
|
5793
5124
|
"""
|
5794
5125
|
self._Name = None
|
@@ -5797,7 +5128,6 @@ class EnvVar(AbstractModel):
|
|
5797
5128
|
@property
|
5798
5129
|
def Name(self):
|
5799
5130
|
"""环境变量名称
|
5800
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5801
5131
|
:rtype: str
|
5802
5132
|
"""
|
5803
5133
|
return self._Name
|
@@ -5809,7 +5139,6 @@ class EnvVar(AbstractModel):
|
|
5809
5139
|
@property
|
5810
5140
|
def Value(self):
|
5811
5141
|
"""环境变量取值
|
5812
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5813
5142
|
:rtype: str
|
5814
5143
|
"""
|
5815
5144
|
return self._Value
|
@@ -5896,10 +5225,8 @@ class EventVar(AbstractModel):
|
|
5896
5225
|
def __init__(self):
|
5897
5226
|
r"""
|
5898
5227
|
:param _Name: 自定义键
|
5899
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5900
5228
|
:type Name: str
|
5901
5229
|
:param _Value: 自定义值
|
5902
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5903
5230
|
:type Value: str
|
5904
5231
|
"""
|
5905
5232
|
self._Name = None
|
@@ -5908,7 +5235,6 @@ class EventVar(AbstractModel):
|
|
5908
5235
|
@property
|
5909
5236
|
def Name(self):
|
5910
5237
|
"""自定义键
|
5911
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5912
5238
|
:rtype: str
|
5913
5239
|
"""
|
5914
5240
|
return self._Name
|
@@ -5920,7 +5246,6 @@ class EventVar(AbstractModel):
|
|
5920
5246
|
@property
|
5921
5247
|
def Value(self):
|
5922
5248
|
"""自定义值
|
5923
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5924
5249
|
:rtype: str
|
5925
5250
|
"""
|
5926
5251
|
return self._Value
|
@@ -6081,13 +5406,10 @@ class InputMapping(AbstractModel):
|
|
6081
5406
|
def __init__(self):
|
6082
5407
|
r"""
|
6083
5408
|
:param _SourcePath: 源端路径
|
6084
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6085
5409
|
:type SourcePath: str
|
6086
5410
|
:param _DestinationPath: 目的端路径
|
6087
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6088
5411
|
:type DestinationPath: str
|
6089
5412
|
:param _MountOptionParameter: 挂载配置项参数
|
6090
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6091
5413
|
:type MountOptionParameter: str
|
6092
5414
|
"""
|
6093
5415
|
self._SourcePath = None
|
@@ -6097,7 +5419,6 @@ class InputMapping(AbstractModel):
|
|
6097
5419
|
@property
|
6098
5420
|
def SourcePath(self):
|
6099
5421
|
"""源端路径
|
6100
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6101
5422
|
:rtype: str
|
6102
5423
|
"""
|
6103
5424
|
return self._SourcePath
|
@@ -6109,7 +5430,6 @@ class InputMapping(AbstractModel):
|
|
6109
5430
|
@property
|
6110
5431
|
def DestinationPath(self):
|
6111
5432
|
"""目的端路径
|
6112
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6113
5433
|
:rtype: str
|
6114
5434
|
"""
|
6115
5435
|
return self._DestinationPath
|
@@ -6121,7 +5441,6 @@ class InputMapping(AbstractModel):
|
|
6121
5441
|
@property
|
6122
5442
|
def MountOptionParameter(self):
|
6123
5443
|
"""挂载配置项参数
|
6124
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6125
5444
|
:rtype: str
|
6126
5445
|
"""
|
6127
5446
|
return self._MountOptionParameter
|
@@ -6490,7 +5809,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
6490
5809
|
:type Zone: str
|
6491
5810
|
:param _InstanceType: 实例机型。
|
6492
5811
|
:type InstanceType: str
|
6493
|
-
:param _InstanceChargeType: 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br></li>POSTPAID_BY_HOUR
|
5812
|
+
:param _InstanceChargeType: 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br></li><li>POSTPAID_BY_HOUR:表示后付费,即按量计费</li><li>CDHPAID:表示[专用宿主机](https://cloud.tencent.com/document/product/416)付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br></li><li>SPOTPAID:表示竞价实例付费。</li>
|
6494
5813
|
:type InstanceChargeType: str
|
6495
5814
|
:param _NetworkCard: 网卡类型,例如:25代表25G网卡
|
6496
5815
|
:type NetworkCard: int
|
@@ -6506,7 +5825,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
6506
5825
|
:type TypeName: str
|
6507
5826
|
:param _LocalDiskTypeList: 本地磁盘规格列表。当该参数返回为空值时,表示当前情况下无法创建本地盘。
|
6508
5827
|
:type LocalDiskTypeList: list of LocalDiskType
|
6509
|
-
:param _Status: 实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li>SOLD_OUT
|
5828
|
+
:param _Status: 实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li><li>SOLD_OUT:表示实例已售罄。</li>
|
6510
5829
|
:type Status: str
|
6511
5830
|
:param _Price: 实例的售卖价格。
|
6512
5831
|
:type Price: :class:`tencentcloud.batch.v20170312.models.ItemPrice`
|
@@ -6531,10 +5850,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
6531
5850
|
:param _Frequency: 实例的CPU主频信息
|
6532
5851
|
:type Frequency: str
|
6533
5852
|
:param _StatusCategory: 描述库存情况。取值范围:
|
6534
|
-
<li> EnoughStock:表示对应库存非常充足</li>
|
6535
|
-
<li>NormalStock:表示对应库存供应有保障</li>
|
6536
|
-
<li> UnderStock:表示对应库存即将售罄</li>
|
6537
|
-
<li>WithoutStock:表示对应库存已经售罄</li>
|
5853
|
+
<li> EnoughStock:表示对应库存非常充足</li> <li>NormalStock:表示对应库存供应有保障</li><li> UnderStock:表示对应库存即将售罄</li> <li>WithoutStock:表示对应库存已经售罄</li>
|
6538
5854
|
:type StatusCategory: str
|
6539
5855
|
"""
|
6540
5856
|
self._Zone = None
|
@@ -6585,7 +5901,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
6585
5901
|
|
6586
5902
|
@property
|
6587
5903
|
def InstanceChargeType(self):
|
6588
|
-
"""实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br></li>POSTPAID_BY_HOUR
|
5904
|
+
"""实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br></li><li>POSTPAID_BY_HOUR:表示后付费,即按量计费</li><li>CDHPAID:表示[专用宿主机](https://cloud.tencent.com/document/product/416)付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br></li><li>SPOTPAID:表示竞价实例付费。</li>
|
6589
5905
|
:rtype: str
|
6590
5906
|
"""
|
6591
5907
|
return self._InstanceChargeType
|
@@ -6673,7 +5989,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
6673
5989
|
|
6674
5990
|
@property
|
6675
5991
|
def Status(self):
|
6676
|
-
"""实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li>SOLD_OUT
|
5992
|
+
"""实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li><li>SOLD_OUT:表示实例已售罄。</li>
|
6677
5993
|
:rtype: str
|
6678
5994
|
"""
|
6679
5995
|
return self._Status
|
@@ -6806,10 +6122,7 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
6806
6122
|
@property
|
6807
6123
|
def StatusCategory(self):
|
6808
6124
|
"""描述库存情况。取值范围:
|
6809
|
-
<li> EnoughStock:表示对应库存非常充足</li>
|
6810
|
-
<li>NormalStock:表示对应库存供应有保障</li>
|
6811
|
-
<li> UnderStock:表示对应库存即将售罄</li>
|
6812
|
-
<li>WithoutStock:表示对应库存已经售罄</li>
|
6125
|
+
<li> EnoughStock:表示对应库存非常充足</li> <li>NormalStock:表示对应库存供应有保障</li><li> UnderStock:表示对应库存即将售罄</li> <li>WithoutStock:表示对应库存已经售罄</li>
|
6813
6126
|
:rtype: str
|
6814
6127
|
"""
|
6815
6128
|
return self._StatusCategory
|
@@ -6875,7 +6188,7 @@ class InternetAccessible(AbstractModel):
|
|
6875
6188
|
:type InternetMaxBandwidthOut: int
|
6876
6189
|
:param _PublicIpAssigned: 是否分配公网IP。取值范围:<br><li>true:表示分配公网IP</li><li>false:表示不分配公网IP</li><br>当公网带宽大于0Mbps时,可自由选择开通与否,默认开通公网IP;当公网带宽为0,则不允许分配公网IP。该参数仅在RunInstances接口中作为入参使用。
|
6877
6190
|
:type PublicIpAssigned: bool
|
6878
|
-
:param _BandwidthPackageId: 带宽包ID。可通过[
|
6191
|
+
:param _BandwidthPackageId: 带宽包ID。可通过[ DescribeBandwidthPackages ](https://cloud.tencent.com/document/api/215/19209)接口返回值中的`BandwidthPackageId`获取。该参数仅在RunInstances接口中作为入参使用。
|
6879
6192
|
:type BandwidthPackageId: str
|
6880
6193
|
"""
|
6881
6194
|
self._InternetChargeType = None
|
@@ -6918,7 +6231,7 @@ class InternetAccessible(AbstractModel):
|
|
6918
6231
|
|
6919
6232
|
@property
|
6920
6233
|
def BandwidthPackageId(self):
|
6921
|
-
"""带宽包ID。可通过[
|
6234
|
+
"""带宽包ID。可通过[ DescribeBandwidthPackages ](https://cloud.tencent.com/document/api/215/19209)接口返回值中的`BandwidthPackageId`获取。该参数仅在RunInstances接口中作为入参使用。
|
6922
6235
|
:rtype: str
|
6923
6236
|
"""
|
6924
6237
|
return self._BandwidthPackageId
|
@@ -7480,17 +6793,14 @@ class JobView(AbstractModel):
|
|
7480
6793
|
:param _Priority: 作业优先级
|
7481
6794
|
:type Priority: int
|
7482
6795
|
:param _Placement: 位置信息
|
7483
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7484
6796
|
:type Placement: :class:`tencentcloud.batch.v20170312.models.Placement`
|
7485
6797
|
:param _CreateTime: 创建时间
|
7486
6798
|
:type CreateTime: str
|
7487
6799
|
:param _EndTime: 结束时间
|
7488
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7489
6800
|
:type EndTime: str
|
7490
6801
|
:param _TaskMetrics: 任务统计指标
|
7491
6802
|
:type TaskMetrics: :class:`tencentcloud.batch.v20170312.models.TaskMetrics`
|
7492
6803
|
:param _Tags: 作业绑定的标签列表。
|
7493
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7494
6804
|
:type Tags: list of Tag
|
7495
6805
|
"""
|
7496
6806
|
self._JobId = None
|
@@ -7550,7 +6860,6 @@ class JobView(AbstractModel):
|
|
7550
6860
|
@property
|
7551
6861
|
def Placement(self):
|
7552
6862
|
"""位置信息
|
7553
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7554
6863
|
:rtype: :class:`tencentcloud.batch.v20170312.models.Placement`
|
7555
6864
|
"""
|
7556
6865
|
return self._Placement
|
@@ -7573,7 +6882,6 @@ class JobView(AbstractModel):
|
|
7573
6882
|
@property
|
7574
6883
|
def EndTime(self):
|
7575
6884
|
"""结束时间
|
7576
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7577
6885
|
:rtype: str
|
7578
6886
|
"""
|
7579
6887
|
return self._EndTime
|
@@ -7596,7 +6904,6 @@ class JobView(AbstractModel):
|
|
7596
6904
|
@property
|
7597
6905
|
def Tags(self):
|
7598
6906
|
"""作业绑定的标签列表。
|
7599
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7600
6907
|
:rtype: list of Tag
|
7601
6908
|
"""
|
7602
6909
|
return self._Tags
|
@@ -8044,10 +7351,8 @@ class MountDataDisk(AbstractModel):
|
|
8044
7351
|
def __init__(self):
|
8045
7352
|
r"""
|
8046
7353
|
:param _LocalPath: 挂载点,Linux系统合法路径,或Windows系统盘符,比如"H:\\"
|
8047
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8048
7354
|
:type LocalPath: str
|
8049
7355
|
:param _FileSystemType: 文件系统类型,Linux系统下支持"EXT3"和"EXT4"两种,默认"EXT3";Windows系统下仅支持"NTFS"
|
8050
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8051
7356
|
:type FileSystemType: str
|
8052
7357
|
"""
|
8053
7358
|
self._LocalPath = None
|
@@ -8056,7 +7361,6 @@ class MountDataDisk(AbstractModel):
|
|
8056
7361
|
@property
|
8057
7362
|
def LocalPath(self):
|
8058
7363
|
"""挂载点,Linux系统合法路径,或Windows系统盘符,比如"H:\\"
|
8059
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8060
7364
|
:rtype: str
|
8061
7365
|
"""
|
8062
7366
|
return self._LocalPath
|
@@ -8068,7 +7372,6 @@ class MountDataDisk(AbstractModel):
|
|
8068
7372
|
@property
|
8069
7373
|
def FileSystemType(self):
|
8070
7374
|
"""文件系统类型,Linux系统下支持"EXT3"和"EXT4"两种,默认"EXT3";Windows系统下仅支持"NTFS"
|
8071
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8072
7375
|
:rtype: str
|
8073
7376
|
"""
|
8074
7377
|
return self._FileSystemType
|
@@ -8357,268 +7660,38 @@ TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>
|
|
8357
7660
|
|
8358
7661
|
|
8359
7662
|
|
8360
|
-
class
|
8361
|
-
"""
|
7663
|
+
class Notification(AbstractModel):
|
7664
|
+
"""通知信息
|
8362
7665
|
|
8363
7666
|
"""
|
8364
7667
|
|
8365
7668
|
def __init__(self):
|
8366
7669
|
r"""
|
8367
|
-
:param
|
8368
|
-
:type
|
8369
|
-
:param
|
8370
|
-
:type
|
8371
|
-
:param _DesiredComputeNodeCount: 计算节点期望个数
|
8372
|
-
:type DesiredComputeNodeCount: int
|
8373
|
-
:param _EnvDescription: 计算环境描述
|
8374
|
-
:type EnvDescription: str
|
8375
|
-
:param _EnvType: 计算环境管理类型, 取值MANAGED。
|
8376
|
-
:type EnvType: str
|
8377
|
-
:param _Authentications: 授权信息
|
8378
|
-
:type Authentications: list of Authentication
|
8379
|
-
:param _InputMappings: 输入映射信息
|
8380
|
-
:type InputMappings: list of InputMapping
|
8381
|
-
:param _Notifications: 通知信息
|
8382
|
-
:type Notifications: :class:`tencentcloud.batch.v20170312.models.Notification`
|
8383
|
-
:param _ActionIfComputeNodeInactive: 非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。
|
8384
|
-
:type ActionIfComputeNodeInactive: str
|
8385
|
-
:param _ResourceMaxRetryCount: 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值100,如果不设置的话,系统会设置一个默认值,当前为7。
|
8386
|
-
:type ResourceMaxRetryCount: int
|
8387
|
-
:param _Tags: 标签列表。通过指定该参数可以支持绑定标签到黑石计算环境。每个黑石计算环境最多绑定10个标签。
|
8388
|
-
:type Tags: list of Tag
|
8389
|
-
:param _NotificationTarget: 表示通知信息的通知目标类型。
|
8390
|
-
取值范围:CMQ,TDMQ_CMQ。
|
8391
|
-
CMQ:表示向腾讯云CMQ发送消息。
|
8392
|
-
TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:[CMQ迁移到TDMQ_CMQ](https://cloud.tencent.com/document/product/406/60860)
|
8393
|
-
:type NotificationTarget: str
|
7670
|
+
:param _TopicName: CMQ主题名字,要求主题名有效且关联订阅
|
7671
|
+
:type TopicName: str
|
7672
|
+
:param _EventConfigs: 事件配置
|
7673
|
+
:type EventConfigs: list of EventConfig
|
8394
7674
|
"""
|
8395
|
-
self.
|
8396
|
-
self.
|
8397
|
-
self._DesiredComputeNodeCount = None
|
8398
|
-
self._EnvDescription = None
|
8399
|
-
self._EnvType = None
|
8400
|
-
self._Authentications = None
|
8401
|
-
self._InputMappings = None
|
8402
|
-
self._Notifications = None
|
8403
|
-
self._ActionIfComputeNodeInactive = None
|
8404
|
-
self._ResourceMaxRetryCount = None
|
8405
|
-
self._Tags = None
|
8406
|
-
self._NotificationTarget = None
|
7675
|
+
self._TopicName = None
|
7676
|
+
self._EventConfigs = None
|
8407
7677
|
|
8408
7678
|
@property
|
8409
|
-
def
|
8410
|
-
"""
|
7679
|
+
def TopicName(self):
|
7680
|
+
"""CMQ主题名字,要求主题名有效且关联订阅
|
8411
7681
|
:rtype: str
|
8412
7682
|
"""
|
8413
|
-
return self.
|
7683
|
+
return self._TopicName
|
8414
7684
|
|
8415
|
-
@
|
8416
|
-
def
|
8417
|
-
self.
|
7685
|
+
@TopicName.setter
|
7686
|
+
def TopicName(self, TopicName):
|
7687
|
+
self._TopicName = TopicName
|
8418
7688
|
|
8419
7689
|
@property
|
8420
|
-
def
|
8421
|
-
"""
|
8422
|
-
:rtype:
|
7690
|
+
def EventConfigs(self):
|
7691
|
+
"""事件配置
|
7692
|
+
:rtype: list of EventConfig
|
8423
7693
|
"""
|
8424
|
-
return self.
|
8425
|
-
|
8426
|
-
@EnvData.setter
|
8427
|
-
def EnvData(self, EnvData):
|
8428
|
-
self._EnvData = EnvData
|
8429
|
-
|
8430
|
-
@property
|
8431
|
-
def DesiredComputeNodeCount(self):
|
8432
|
-
"""计算节点期望个数
|
8433
|
-
:rtype: int
|
8434
|
-
"""
|
8435
|
-
return self._DesiredComputeNodeCount
|
8436
|
-
|
8437
|
-
@DesiredComputeNodeCount.setter
|
8438
|
-
def DesiredComputeNodeCount(self, DesiredComputeNodeCount):
|
8439
|
-
self._DesiredComputeNodeCount = DesiredComputeNodeCount
|
8440
|
-
|
8441
|
-
@property
|
8442
|
-
def EnvDescription(self):
|
8443
|
-
"""计算环境描述
|
8444
|
-
:rtype: str
|
8445
|
-
"""
|
8446
|
-
return self._EnvDescription
|
8447
|
-
|
8448
|
-
@EnvDescription.setter
|
8449
|
-
def EnvDescription(self, EnvDescription):
|
8450
|
-
self._EnvDescription = EnvDescription
|
8451
|
-
|
8452
|
-
@property
|
8453
|
-
def EnvType(self):
|
8454
|
-
"""计算环境管理类型, 取值MANAGED。
|
8455
|
-
:rtype: str
|
8456
|
-
"""
|
8457
|
-
return self._EnvType
|
8458
|
-
|
8459
|
-
@EnvType.setter
|
8460
|
-
def EnvType(self, EnvType):
|
8461
|
-
self._EnvType = EnvType
|
8462
|
-
|
8463
|
-
@property
|
8464
|
-
def Authentications(self):
|
8465
|
-
"""授权信息
|
8466
|
-
:rtype: list of Authentication
|
8467
|
-
"""
|
8468
|
-
return self._Authentications
|
8469
|
-
|
8470
|
-
@Authentications.setter
|
8471
|
-
def Authentications(self, Authentications):
|
8472
|
-
self._Authentications = Authentications
|
8473
|
-
|
8474
|
-
@property
|
8475
|
-
def InputMappings(self):
|
8476
|
-
"""输入映射信息
|
8477
|
-
:rtype: list of InputMapping
|
8478
|
-
"""
|
8479
|
-
return self._InputMappings
|
8480
|
-
|
8481
|
-
@InputMappings.setter
|
8482
|
-
def InputMappings(self, InputMappings):
|
8483
|
-
self._InputMappings = InputMappings
|
8484
|
-
|
8485
|
-
@property
|
8486
|
-
def Notifications(self):
|
8487
|
-
"""通知信息
|
8488
|
-
:rtype: :class:`tencentcloud.batch.v20170312.models.Notification`
|
8489
|
-
"""
|
8490
|
-
return self._Notifications
|
8491
|
-
|
8492
|
-
@Notifications.setter
|
8493
|
-
def Notifications(self, Notifications):
|
8494
|
-
self._Notifications = Notifications
|
8495
|
-
|
8496
|
-
@property
|
8497
|
-
def ActionIfComputeNodeInactive(self):
|
8498
|
-
"""非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。
|
8499
|
-
:rtype: str
|
8500
|
-
"""
|
8501
|
-
return self._ActionIfComputeNodeInactive
|
8502
|
-
|
8503
|
-
@ActionIfComputeNodeInactive.setter
|
8504
|
-
def ActionIfComputeNodeInactive(self, ActionIfComputeNodeInactive):
|
8505
|
-
self._ActionIfComputeNodeInactive = ActionIfComputeNodeInactive
|
8506
|
-
|
8507
|
-
@property
|
8508
|
-
def ResourceMaxRetryCount(self):
|
8509
|
-
"""对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值100,如果不设置的话,系统会设置一个默认值,当前为7。
|
8510
|
-
:rtype: int
|
8511
|
-
"""
|
8512
|
-
return self._ResourceMaxRetryCount
|
8513
|
-
|
8514
|
-
@ResourceMaxRetryCount.setter
|
8515
|
-
def ResourceMaxRetryCount(self, ResourceMaxRetryCount):
|
8516
|
-
self._ResourceMaxRetryCount = ResourceMaxRetryCount
|
8517
|
-
|
8518
|
-
@property
|
8519
|
-
def Tags(self):
|
8520
|
-
"""标签列表。通过指定该参数可以支持绑定标签到黑石计算环境。每个黑石计算环境最多绑定10个标签。
|
8521
|
-
:rtype: list of Tag
|
8522
|
-
"""
|
8523
|
-
return self._Tags
|
8524
|
-
|
8525
|
-
@Tags.setter
|
8526
|
-
def Tags(self, Tags):
|
8527
|
-
self._Tags = Tags
|
8528
|
-
|
8529
|
-
@property
|
8530
|
-
def NotificationTarget(self):
|
8531
|
-
"""表示通知信息的通知目标类型。
|
8532
|
-
取值范围:CMQ,TDMQ_CMQ。
|
8533
|
-
CMQ:表示向腾讯云CMQ发送消息。
|
8534
|
-
TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:[CMQ迁移到TDMQ_CMQ](https://cloud.tencent.com/document/product/406/60860)
|
8535
|
-
:rtype: str
|
8536
|
-
"""
|
8537
|
-
return self._NotificationTarget
|
8538
|
-
|
8539
|
-
@NotificationTarget.setter
|
8540
|
-
def NotificationTarget(self, NotificationTarget):
|
8541
|
-
self._NotificationTarget = NotificationTarget
|
8542
|
-
|
8543
|
-
|
8544
|
-
def _deserialize(self, params):
|
8545
|
-
self._EnvName = params.get("EnvName")
|
8546
|
-
if params.get("EnvData") is not None:
|
8547
|
-
self._EnvData = EnvDataCpm()
|
8548
|
-
self._EnvData._deserialize(params.get("EnvData"))
|
8549
|
-
self._DesiredComputeNodeCount = params.get("DesiredComputeNodeCount")
|
8550
|
-
self._EnvDescription = params.get("EnvDescription")
|
8551
|
-
self._EnvType = params.get("EnvType")
|
8552
|
-
if params.get("Authentications") is not None:
|
8553
|
-
self._Authentications = []
|
8554
|
-
for item in params.get("Authentications"):
|
8555
|
-
obj = Authentication()
|
8556
|
-
obj._deserialize(item)
|
8557
|
-
self._Authentications.append(obj)
|
8558
|
-
if params.get("InputMappings") is not None:
|
8559
|
-
self._InputMappings = []
|
8560
|
-
for item in params.get("InputMappings"):
|
8561
|
-
obj = InputMapping()
|
8562
|
-
obj._deserialize(item)
|
8563
|
-
self._InputMappings.append(obj)
|
8564
|
-
if params.get("Notifications") is not None:
|
8565
|
-
self._Notifications = Notification()
|
8566
|
-
self._Notifications._deserialize(params.get("Notifications"))
|
8567
|
-
self._ActionIfComputeNodeInactive = params.get("ActionIfComputeNodeInactive")
|
8568
|
-
self._ResourceMaxRetryCount = params.get("ResourceMaxRetryCount")
|
8569
|
-
if params.get("Tags") is not None:
|
8570
|
-
self._Tags = []
|
8571
|
-
for item in params.get("Tags"):
|
8572
|
-
obj = Tag()
|
8573
|
-
obj._deserialize(item)
|
8574
|
-
self._Tags.append(obj)
|
8575
|
-
self._NotificationTarget = params.get("NotificationTarget")
|
8576
|
-
memeber_set = set(params.keys())
|
8577
|
-
for name, value in vars(self).items():
|
8578
|
-
property_name = name[1:]
|
8579
|
-
if property_name in memeber_set:
|
8580
|
-
memeber_set.remove(property_name)
|
8581
|
-
if len(memeber_set) > 0:
|
8582
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8583
|
-
|
8584
|
-
|
8585
|
-
|
8586
|
-
class Notification(AbstractModel):
|
8587
|
-
"""通知信息
|
8588
|
-
|
8589
|
-
"""
|
8590
|
-
|
8591
|
-
def __init__(self):
|
8592
|
-
r"""
|
8593
|
-
:param _TopicName: CMQ主题名字,要求主题名有效且关联订阅
|
8594
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8595
|
-
:type TopicName: str
|
8596
|
-
:param _EventConfigs: 事件配置
|
8597
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8598
|
-
:type EventConfigs: list of EventConfig
|
8599
|
-
"""
|
8600
|
-
self._TopicName = None
|
8601
|
-
self._EventConfigs = None
|
8602
|
-
|
8603
|
-
@property
|
8604
|
-
def TopicName(self):
|
8605
|
-
"""CMQ主题名字,要求主题名有效且关联订阅
|
8606
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8607
|
-
:rtype: str
|
8608
|
-
"""
|
8609
|
-
return self._TopicName
|
8610
|
-
|
8611
|
-
@TopicName.setter
|
8612
|
-
def TopicName(self, TopicName):
|
8613
|
-
self._TopicName = TopicName
|
8614
|
-
|
8615
|
-
@property
|
8616
|
-
def EventConfigs(self):
|
8617
|
-
"""事件配置
|
8618
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8619
|
-
:rtype: list of EventConfig
|
8620
|
-
"""
|
8621
|
-
return self._EventConfigs
|
7694
|
+
return self._EventConfigs
|
8622
7695
|
|
8623
7696
|
@EventConfigs.setter
|
8624
7697
|
def EventConfigs(self, EventConfigs):
|
@@ -8643,132 +7716,6 @@ class Notification(AbstractModel):
|
|
8643
7716
|
|
8644
7717
|
|
8645
7718
|
|
8646
|
-
class OsInfo(AbstractModel):
|
8647
|
-
"""操作系统类型
|
8648
|
-
|
8649
|
-
"""
|
8650
|
-
|
8651
|
-
def __init__(self):
|
8652
|
-
r"""
|
8653
|
-
:param _OsTypeId: 操作系统ID。
|
8654
|
-
:type OsTypeId: int
|
8655
|
-
:param _OsName: 操作系统名称。
|
8656
|
-
:type OsName: str
|
8657
|
-
:param _OsDescription: 操作系统名称描述。
|
8658
|
-
:type OsDescription: str
|
8659
|
-
:param _OsEnglishDescription: 操作系统英文名称。
|
8660
|
-
:type OsEnglishDescription: str
|
8661
|
-
:param _OsClass: 操作系统的分类,如CentOs Debian。
|
8662
|
-
:type OsClass: str
|
8663
|
-
:param _ImageTag: 标识镜像分类。public:公共镜像; private: 专属镜像。
|
8664
|
-
:type ImageTag: str
|
8665
|
-
:param _MaxPartitionSize: 操作系统,ext4文件下所支持的最大的磁盘大小。单位为T。
|
8666
|
-
:type MaxPartitionSize: int
|
8667
|
-
"""
|
8668
|
-
self._OsTypeId = None
|
8669
|
-
self._OsName = None
|
8670
|
-
self._OsDescription = None
|
8671
|
-
self._OsEnglishDescription = None
|
8672
|
-
self._OsClass = None
|
8673
|
-
self._ImageTag = None
|
8674
|
-
self._MaxPartitionSize = None
|
8675
|
-
|
8676
|
-
@property
|
8677
|
-
def OsTypeId(self):
|
8678
|
-
"""操作系统ID。
|
8679
|
-
:rtype: int
|
8680
|
-
"""
|
8681
|
-
return self._OsTypeId
|
8682
|
-
|
8683
|
-
@OsTypeId.setter
|
8684
|
-
def OsTypeId(self, OsTypeId):
|
8685
|
-
self._OsTypeId = OsTypeId
|
8686
|
-
|
8687
|
-
@property
|
8688
|
-
def OsName(self):
|
8689
|
-
"""操作系统名称。
|
8690
|
-
:rtype: str
|
8691
|
-
"""
|
8692
|
-
return self._OsName
|
8693
|
-
|
8694
|
-
@OsName.setter
|
8695
|
-
def OsName(self, OsName):
|
8696
|
-
self._OsName = OsName
|
8697
|
-
|
8698
|
-
@property
|
8699
|
-
def OsDescription(self):
|
8700
|
-
"""操作系统名称描述。
|
8701
|
-
:rtype: str
|
8702
|
-
"""
|
8703
|
-
return self._OsDescription
|
8704
|
-
|
8705
|
-
@OsDescription.setter
|
8706
|
-
def OsDescription(self, OsDescription):
|
8707
|
-
self._OsDescription = OsDescription
|
8708
|
-
|
8709
|
-
@property
|
8710
|
-
def OsEnglishDescription(self):
|
8711
|
-
"""操作系统英文名称。
|
8712
|
-
:rtype: str
|
8713
|
-
"""
|
8714
|
-
return self._OsEnglishDescription
|
8715
|
-
|
8716
|
-
@OsEnglishDescription.setter
|
8717
|
-
def OsEnglishDescription(self, OsEnglishDescription):
|
8718
|
-
self._OsEnglishDescription = OsEnglishDescription
|
8719
|
-
|
8720
|
-
@property
|
8721
|
-
def OsClass(self):
|
8722
|
-
"""操作系统的分类,如CentOs Debian。
|
8723
|
-
:rtype: str
|
8724
|
-
"""
|
8725
|
-
return self._OsClass
|
8726
|
-
|
8727
|
-
@OsClass.setter
|
8728
|
-
def OsClass(self, OsClass):
|
8729
|
-
self._OsClass = OsClass
|
8730
|
-
|
8731
|
-
@property
|
8732
|
-
def ImageTag(self):
|
8733
|
-
"""标识镜像分类。public:公共镜像; private: 专属镜像。
|
8734
|
-
:rtype: str
|
8735
|
-
"""
|
8736
|
-
return self._ImageTag
|
8737
|
-
|
8738
|
-
@ImageTag.setter
|
8739
|
-
def ImageTag(self, ImageTag):
|
8740
|
-
self._ImageTag = ImageTag
|
8741
|
-
|
8742
|
-
@property
|
8743
|
-
def MaxPartitionSize(self):
|
8744
|
-
"""操作系统,ext4文件下所支持的最大的磁盘大小。单位为T。
|
8745
|
-
:rtype: int
|
8746
|
-
"""
|
8747
|
-
return self._MaxPartitionSize
|
8748
|
-
|
8749
|
-
@MaxPartitionSize.setter
|
8750
|
-
def MaxPartitionSize(self, MaxPartitionSize):
|
8751
|
-
self._MaxPartitionSize = MaxPartitionSize
|
8752
|
-
|
8753
|
-
|
8754
|
-
def _deserialize(self, params):
|
8755
|
-
self._OsTypeId = params.get("OsTypeId")
|
8756
|
-
self._OsName = params.get("OsName")
|
8757
|
-
self._OsDescription = params.get("OsDescription")
|
8758
|
-
self._OsEnglishDescription = params.get("OsEnglishDescription")
|
8759
|
-
self._OsClass = params.get("OsClass")
|
8760
|
-
self._ImageTag = params.get("ImageTag")
|
8761
|
-
self._MaxPartitionSize = params.get("MaxPartitionSize")
|
8762
|
-
memeber_set = set(params.keys())
|
8763
|
-
for name, value in vars(self).items():
|
8764
|
-
property_name = name[1:]
|
8765
|
-
if property_name in memeber_set:
|
8766
|
-
memeber_set.remove(property_name)
|
8767
|
-
if len(memeber_set) > 0:
|
8768
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8769
|
-
|
8770
|
-
|
8771
|
-
|
8772
7719
|
class OutputMapping(AbstractModel):
|
8773
7720
|
"""输出映射
|
8774
7721
|
|
@@ -8781,7 +7728,6 @@ class OutputMapping(AbstractModel):
|
|
8781
7728
|
:param _DestinationPath: 目的端路径
|
8782
7729
|
:type DestinationPath: str
|
8783
7730
|
:param _OutputMappingOption: 输出映射选项
|
8784
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8785
7731
|
:type OutputMappingOption: :class:`tencentcloud.batch.v20170312.models.OutputMappingOption`
|
8786
7732
|
"""
|
8787
7733
|
self._SourcePath = None
|
@@ -8813,7 +7759,6 @@ class OutputMapping(AbstractModel):
|
|
8813
7759
|
@property
|
8814
7760
|
def OutputMappingOption(self):
|
8815
7761
|
"""输出映射选项
|
8816
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8817
7762
|
:rtype: :class:`tencentcloud.batch.v20170312.models.OutputMappingOption`
|
8818
7763
|
"""
|
8819
7764
|
return self._OutputMappingOption
|
@@ -8915,7 +7860,6 @@ class OutputMappingOption(AbstractModel):
|
|
8915
7860
|
:param _Workspace: 容器场景下,输出选项从实例映射到容器内的实例侧的工作空间。
|
8916
7861
|
BATCH_WORKSPACE: 工作空间为BATCH在实例内定义的工作空间,BATCH侧保证作业之间的隔离。(默认)
|
8917
7862
|
GLOBAL_WORKSPACE: 工作空间为实例操作系统空间。
|
8918
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8919
7863
|
:type Workspace: str
|
8920
7864
|
"""
|
8921
7865
|
self._Workspace = None
|
@@ -8925,7 +7869,6 @@ GLOBAL_WORKSPACE: 工作空间为实例操作系统空间。
|
|
8925
7869
|
"""容器场景下,输出选项从实例映射到容器内的实例侧的工作空间。
|
8926
7870
|
BATCH_WORKSPACE: 工作空间为BATCH在实例内定义的工作空间,BATCH侧保证作业之间的隔离。(默认)
|
8927
7871
|
GLOBAL_WORKSPACE: 工作空间为实例操作系统空间。
|
8928
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8929
7872
|
:rtype: str
|
8930
7873
|
"""
|
8931
7874
|
return self._Workspace
|
@@ -9036,16 +7979,12 @@ class RedirectInfo(AbstractModel):
|
|
9036
7979
|
def __init__(self):
|
9037
7980
|
r"""
|
9038
7981
|
:param _StdoutRedirectPath: 标准输出重定向路径;
|
9039
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9040
7982
|
:type StdoutRedirectPath: str
|
9041
7983
|
:param _StderrRedirectPath: 标准错误重定向路径
|
9042
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9043
7984
|
:type StderrRedirectPath: str
|
9044
7985
|
:param _StdoutRedirectFileName: 标准输出重定向文件名,支持三个占位符${BATCH_JOB_ID}、${BATCH_TASK_NAME}、${BATCH_TASK_INSTANCE_INDEX}
|
9045
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9046
7986
|
:type StdoutRedirectFileName: str
|
9047
7987
|
:param _StderrRedirectFileName: 标准错误重定向文件名,支持三个占位符${BATCH_JOB_ID}、${BATCH_TASK_NAME}、${BATCH_TASK_INSTANCE_INDEX}
|
9048
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9049
7988
|
:type StderrRedirectFileName: str
|
9050
7989
|
"""
|
9051
7990
|
self._StdoutRedirectPath = None
|
@@ -9056,7 +7995,6 @@ class RedirectInfo(AbstractModel):
|
|
9056
7995
|
@property
|
9057
7996
|
def StdoutRedirectPath(self):
|
9058
7997
|
"""标准输出重定向路径;
|
9059
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9060
7998
|
:rtype: str
|
9061
7999
|
"""
|
9062
8000
|
return self._StdoutRedirectPath
|
@@ -9068,7 +8006,6 @@ class RedirectInfo(AbstractModel):
|
|
9068
8006
|
@property
|
9069
8007
|
def StderrRedirectPath(self):
|
9070
8008
|
"""标准错误重定向路径
|
9071
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9072
8009
|
:rtype: str
|
9073
8010
|
"""
|
9074
8011
|
return self._StderrRedirectPath
|
@@ -9080,7 +8017,6 @@ class RedirectInfo(AbstractModel):
|
|
9080
8017
|
@property
|
9081
8018
|
def StdoutRedirectFileName(self):
|
9082
8019
|
"""标准输出重定向文件名,支持三个占位符${BATCH_JOB_ID}、${BATCH_TASK_NAME}、${BATCH_TASK_INSTANCE_INDEX}
|
9083
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9084
8020
|
:rtype: str
|
9085
8021
|
"""
|
9086
8022
|
return self._StdoutRedirectFileName
|
@@ -9092,7 +8028,6 @@ class RedirectInfo(AbstractModel):
|
|
9092
8028
|
@property
|
9093
8029
|
def StderrRedirectFileName(self):
|
9094
8030
|
"""标准错误重定向文件名,支持三个占位符${BATCH_JOB_ID}、${BATCH_TASK_NAME}、${BATCH_TASK_INSTANCE_INDEX}
|
9095
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9096
8031
|
:rtype: str
|
9097
8032
|
"""
|
9098
8033
|
return self._StderrRedirectFileName
|
@@ -9125,16 +8060,12 @@ class RedirectLocalInfo(AbstractModel):
|
|
9125
8060
|
def __init__(self):
|
9126
8061
|
r"""
|
9127
8062
|
:param _StdoutLocalPath: 标准输出重定向本地路径
|
9128
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9129
8063
|
:type StdoutLocalPath: str
|
9130
8064
|
:param _StderrLocalPath: 标准错误重定向本地路径
|
9131
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9132
8065
|
:type StderrLocalPath: str
|
9133
8066
|
:param _StdoutLocalFileName: 标准输出重定向本地文件名,支持三个占位符${BATCH_JOB_ID}、${BATCH_TASK_NAME}、${BATCH_TASK_INSTANCE_INDEX}
|
9134
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9135
8067
|
:type StdoutLocalFileName: str
|
9136
8068
|
:param _StderrLocalFileName: 标准错误重定向本地文件名,支持三个占位符${BATCH_JOB_ID}、${BATCH_TASK_NAME}、${BATCH_TASK_INSTANCE_INDEX}
|
9137
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9138
8069
|
:type StderrLocalFileName: str
|
9139
8070
|
"""
|
9140
8071
|
self._StdoutLocalPath = None
|
@@ -9145,7 +8076,6 @@ class RedirectLocalInfo(AbstractModel):
|
|
9145
8076
|
@property
|
9146
8077
|
def StdoutLocalPath(self):
|
9147
8078
|
"""标准输出重定向本地路径
|
9148
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9149
8079
|
:rtype: str
|
9150
8080
|
"""
|
9151
8081
|
return self._StdoutLocalPath
|
@@ -9157,7 +8087,6 @@ class RedirectLocalInfo(AbstractModel):
|
|
9157
8087
|
@property
|
9158
8088
|
def StderrLocalPath(self):
|
9159
8089
|
"""标准错误重定向本地路径
|
9160
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9161
8090
|
:rtype: str
|
9162
8091
|
"""
|
9163
8092
|
return self._StderrLocalPath
|
@@ -9169,7 +8098,6 @@ class RedirectLocalInfo(AbstractModel):
|
|
9169
8098
|
@property
|
9170
8099
|
def StdoutLocalFileName(self):
|
9171
8100
|
"""标准输出重定向本地文件名,支持三个占位符${BATCH_JOB_ID}、${BATCH_TASK_NAME}、${BATCH_TASK_INSTANCE_INDEX}
|
9172
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9173
8101
|
:rtype: str
|
9174
8102
|
"""
|
9175
8103
|
return self._StdoutLocalFileName
|
@@ -9181,7 +8109,6 @@ class RedirectLocalInfo(AbstractModel):
|
|
9181
8109
|
@property
|
9182
8110
|
def StderrLocalFileName(self):
|
9183
8111
|
"""标准错误重定向本地文件名,支持三个占位符${BATCH_JOB_ID}、${BATCH_TASK_NAME}、${BATCH_TASK_INSTANCE_INDEX}
|
9184
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9185
8112
|
:rtype: str
|
9186
8113
|
"""
|
9187
8114
|
return self._StderrLocalFileName
|
@@ -9438,9 +8365,9 @@ class StorageBlock(AbstractModel):
|
|
9438
8365
|
r"""
|
9439
8366
|
:param _Type: HDD本地存储类型,值为:LOCAL_PRO.
|
9440
8367
|
:type Type: str
|
9441
|
-
:param _MinSize: HDD
|
8368
|
+
:param _MinSize: HDD本地存储的最小容量。单位:GiB。
|
9442
8369
|
:type MinSize: int
|
9443
|
-
:param _MaxSize: HDD
|
8370
|
+
:param _MaxSize: HDD本地存储的最大容量。单位:GiB。
|
9444
8371
|
:type MaxSize: int
|
9445
8372
|
"""
|
9446
8373
|
self._Type = None
|
@@ -9460,7 +8387,7 @@ class StorageBlock(AbstractModel):
|
|
9460
8387
|
|
9461
8388
|
@property
|
9462
8389
|
def MinSize(self):
|
9463
|
-
"""HDD
|
8390
|
+
"""HDD本地存储的最小容量。单位:GiB。
|
9464
8391
|
:rtype: int
|
9465
8392
|
"""
|
9466
8393
|
return self._MinSize
|
@@ -9471,7 +8398,7 @@ class StorageBlock(AbstractModel):
|
|
9471
8398
|
|
9472
8399
|
@property
|
9473
8400
|
def MaxSize(self):
|
9474
|
-
"""HDD
|
8401
|
+
"""HDD本地存储的最大容量。单位:GiB。
|
9475
8402
|
:rtype: int
|
9476
8403
|
"""
|
9477
8404
|
return self._MaxSize
|
@@ -9629,13 +8556,11 @@ class SystemDisk(AbstractModel):
|
|
9629
8556
|
:param _DiskId: 系统盘ID。
|
9630
8557
|
该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`RunInstances`等写接口的入参。
|
9631
8558
|
:type DiskId: str
|
9632
|
-
:param _DiskSize: 系统盘大小,单位:
|
8559
|
+
:param _DiskSize: 系统盘大小,单位:GiB。默认值为 50
|
9633
8560
|
:type DiskSize: int
|
9634
8561
|
:param _CdcId: 所属的独享集群ID。
|
9635
8562
|
:type CdcId: str
|
9636
8563
|
:param _DiskName: 磁盘名称,长度不超过128 个字符。
|
9637
|
-
|
9638
|
-
该参数正在邀测中,暂未开放使用。
|
9639
8564
|
:type DiskName: str
|
9640
8565
|
"""
|
9641
8566
|
self._DiskType = None
|
@@ -9678,7 +8603,7 @@ class SystemDisk(AbstractModel):
|
|
9678
8603
|
|
9679
8604
|
@property
|
9680
8605
|
def DiskSize(self):
|
9681
|
-
"""系统盘大小,单位:
|
8606
|
+
"""系统盘大小,单位:GiB。默认值为 50
|
9682
8607
|
:rtype: int
|
9683
8608
|
"""
|
9684
8609
|
return self._DiskSize
|
@@ -9701,8 +8626,6 @@ class SystemDisk(AbstractModel):
|
|
9701
8626
|
@property
|
9702
8627
|
def DiskName(self):
|
9703
8628
|
"""磁盘名称,长度不超过128 个字符。
|
9704
|
-
|
9705
|
-
该参数正在邀测中,暂未开放使用。
|
9706
8629
|
:rtype: str
|
9707
8630
|
"""
|
9708
8631
|
return self._DiskName
|
@@ -9736,10 +8659,8 @@ class Tag(AbstractModel):
|
|
9736
8659
|
def __init__(self):
|
9737
8660
|
r"""
|
9738
8661
|
:param _Key: 标签键。
|
9739
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9740
8662
|
:type Key: str
|
9741
8663
|
:param _Value: 标签值。
|
9742
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9743
8664
|
:type Value: str
|
9744
8665
|
"""
|
9745
8666
|
self._Key = None
|
@@ -9748,7 +8669,6 @@ class Tag(AbstractModel):
|
|
9748
8669
|
@property
|
9749
8670
|
def Key(self):
|
9750
8671
|
"""标签键。
|
9751
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9752
8672
|
:rtype: str
|
9753
8673
|
"""
|
9754
8674
|
return self._Key
|
@@ -9760,7 +8680,6 @@ class Tag(AbstractModel):
|
|
9760
8680
|
@property
|
9761
8681
|
def Value(self):
|
9762
8682
|
"""标签值。
|
9763
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9764
8683
|
:rtype: str
|
9765
8684
|
"""
|
9766
8685
|
return self._Value
|
@@ -10131,22 +9050,16 @@ class TaskInstanceLog(AbstractModel):
|
|
10131
9050
|
:param _TaskInstanceIndex: 任务实例
|
10132
9051
|
:type TaskInstanceIndex: int
|
10133
9052
|
:param _StdoutLog: 标准输出日志(Base64编码,解码后最大日志长度2048字节)
|
10134
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10135
9053
|
:type StdoutLog: str
|
10136
9054
|
:param _StderrLog: 标准错误日志(Base64编码,解码后最大日志长度2048字节)
|
10137
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10138
9055
|
:type StderrLog: str
|
10139
9056
|
:param _StdoutRedirectPath: 标准输出重定向路径
|
10140
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10141
9057
|
:type StdoutRedirectPath: str
|
10142
9058
|
:param _StderrRedirectPath: 标准错误重定向路径
|
10143
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10144
9059
|
:type StderrRedirectPath: str
|
10145
9060
|
:param _StdoutRedirectFileName: 标准输出重定向文件名
|
10146
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10147
9061
|
:type StdoutRedirectFileName: str
|
10148
9062
|
:param _StderrRedirectFileName: 标准错误重定向文件名
|
10149
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10150
9063
|
:type StderrRedirectFileName: str
|
10151
9064
|
"""
|
10152
9065
|
self._TaskInstanceIndex = None
|
@@ -10171,7 +9084,6 @@ class TaskInstanceLog(AbstractModel):
|
|
10171
9084
|
@property
|
10172
9085
|
def StdoutLog(self):
|
10173
9086
|
"""标准输出日志(Base64编码,解码后最大日志长度2048字节)
|
10174
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10175
9087
|
:rtype: str
|
10176
9088
|
"""
|
10177
9089
|
return self._StdoutLog
|
@@ -10183,7 +9095,6 @@ class TaskInstanceLog(AbstractModel):
|
|
10183
9095
|
@property
|
10184
9096
|
def StderrLog(self):
|
10185
9097
|
"""标准错误日志(Base64编码,解码后最大日志长度2048字节)
|
10186
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10187
9098
|
:rtype: str
|
10188
9099
|
"""
|
10189
9100
|
return self._StderrLog
|
@@ -10195,7 +9106,6 @@ class TaskInstanceLog(AbstractModel):
|
|
10195
9106
|
@property
|
10196
9107
|
def StdoutRedirectPath(self):
|
10197
9108
|
"""标准输出重定向路径
|
10198
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10199
9109
|
:rtype: str
|
10200
9110
|
"""
|
10201
9111
|
return self._StdoutRedirectPath
|
@@ -10207,7 +9117,6 @@ class TaskInstanceLog(AbstractModel):
|
|
10207
9117
|
@property
|
10208
9118
|
def StderrRedirectPath(self):
|
10209
9119
|
"""标准错误重定向路径
|
10210
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10211
9120
|
:rtype: str
|
10212
9121
|
"""
|
10213
9122
|
return self._StderrRedirectPath
|
@@ -10219,7 +9128,6 @@ class TaskInstanceLog(AbstractModel):
|
|
10219
9128
|
@property
|
10220
9129
|
def StdoutRedirectFileName(self):
|
10221
9130
|
"""标准输出重定向文件名
|
10222
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10223
9131
|
:rtype: str
|
10224
9132
|
"""
|
10225
9133
|
return self._StdoutRedirectFileName
|
@@ -10231,7 +9139,6 @@ class TaskInstanceLog(AbstractModel):
|
|
10231
9139
|
@property
|
10232
9140
|
def StderrRedirectFileName(self):
|
10233
9141
|
"""标准错误重定向文件名
|
10234
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10235
9142
|
:rtype: str
|
10236
9143
|
"""
|
10237
9144
|
return self._StderrRedirectFileName
|
@@ -10267,28 +9174,20 @@ class TaskInstanceMetrics(AbstractModel):
|
|
10267
9174
|
def __init__(self):
|
10268
9175
|
r"""
|
10269
9176
|
:param _SubmittedCount: Submitted个数
|
10270
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10271
9177
|
:type SubmittedCount: int
|
10272
9178
|
:param _PendingCount: Pending个数
|
10273
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10274
9179
|
:type PendingCount: int
|
10275
9180
|
:param _RunnableCount: Runnable个数
|
10276
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10277
9181
|
:type RunnableCount: int
|
10278
9182
|
:param _StartingCount: Starting个数
|
10279
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10280
9183
|
:type StartingCount: int
|
10281
9184
|
:param _RunningCount: Running个数
|
10282
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10283
9185
|
:type RunningCount: int
|
10284
9186
|
:param _SucceedCount: Succeed个数
|
10285
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10286
9187
|
:type SucceedCount: int
|
10287
9188
|
:param _FailedInterruptedCount: FailedInterrupted个数
|
10288
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10289
9189
|
:type FailedInterruptedCount: int
|
10290
9190
|
:param _FailedCount: Failed个数
|
10291
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10292
9191
|
:type FailedCount: int
|
10293
9192
|
"""
|
10294
9193
|
self._SubmittedCount = None
|
@@ -10303,7 +9202,6 @@ class TaskInstanceMetrics(AbstractModel):
|
|
10303
9202
|
@property
|
10304
9203
|
def SubmittedCount(self):
|
10305
9204
|
"""Submitted个数
|
10306
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10307
9205
|
:rtype: int
|
10308
9206
|
"""
|
10309
9207
|
return self._SubmittedCount
|
@@ -10315,7 +9213,6 @@ class TaskInstanceMetrics(AbstractModel):
|
|
10315
9213
|
@property
|
10316
9214
|
def PendingCount(self):
|
10317
9215
|
"""Pending个数
|
10318
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10319
9216
|
:rtype: int
|
10320
9217
|
"""
|
10321
9218
|
return self._PendingCount
|
@@ -10327,7 +9224,6 @@ class TaskInstanceMetrics(AbstractModel):
|
|
10327
9224
|
@property
|
10328
9225
|
def RunnableCount(self):
|
10329
9226
|
"""Runnable个数
|
10330
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10331
9227
|
:rtype: int
|
10332
9228
|
"""
|
10333
9229
|
return self._RunnableCount
|
@@ -10339,7 +9235,6 @@ class TaskInstanceMetrics(AbstractModel):
|
|
10339
9235
|
@property
|
10340
9236
|
def StartingCount(self):
|
10341
9237
|
"""Starting个数
|
10342
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10343
9238
|
:rtype: int
|
10344
9239
|
"""
|
10345
9240
|
return self._StartingCount
|
@@ -10351,7 +9246,6 @@ class TaskInstanceMetrics(AbstractModel):
|
|
10351
9246
|
@property
|
10352
9247
|
def RunningCount(self):
|
10353
9248
|
"""Running个数
|
10354
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10355
9249
|
:rtype: int
|
10356
9250
|
"""
|
10357
9251
|
return self._RunningCount
|
@@ -10363,7 +9257,6 @@ class TaskInstanceMetrics(AbstractModel):
|
|
10363
9257
|
@property
|
10364
9258
|
def SucceedCount(self):
|
10365
9259
|
"""Succeed个数
|
10366
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10367
9260
|
:rtype: int
|
10368
9261
|
"""
|
10369
9262
|
return self._SucceedCount
|
@@ -10375,7 +9268,6 @@ class TaskInstanceMetrics(AbstractModel):
|
|
10375
9268
|
@property
|
10376
9269
|
def FailedInterruptedCount(self):
|
10377
9270
|
"""FailedInterrupted个数
|
10378
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10379
9271
|
:rtype: int
|
10380
9272
|
"""
|
10381
9273
|
return self._FailedInterruptedCount
|
@@ -10387,7 +9279,6 @@ class TaskInstanceMetrics(AbstractModel):
|
|
10387
9279
|
@property
|
10388
9280
|
def FailedCount(self):
|
10389
9281
|
"""Failed个数
|
10390
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10391
9282
|
:rtype: int
|
10392
9283
|
"""
|
10393
9284
|
return self._FailedCount
|
@@ -10428,23 +9319,18 @@ class TaskInstanceView(AbstractModel):
|
|
10428
9319
|
:param _TaskInstanceState: 任务实例状态
|
10429
9320
|
:type TaskInstanceState: str
|
10430
9321
|
:param _ExitCode: 应用程序执行结束的exit code
|
10431
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10432
9322
|
:type ExitCode: int
|
10433
9323
|
:param _StateReason: 任务实例状态原因,任务实例失败时,会记录失败原因
|
10434
9324
|
:type StateReason: str
|
10435
9325
|
:param _ComputeNodeInstanceId: 任务实例运行时所在计算节点(例如CVM)的InstanceId。任务实例未运行或者完结时,本字段为空。任务实例重试时,本字段会随之变化
|
10436
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10437
9326
|
:type ComputeNodeInstanceId: str
|
10438
9327
|
:param _CreateTime: 创建时间
|
10439
9328
|
:type CreateTime: str
|
10440
9329
|
:param _LaunchTime: 启动时间
|
10441
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10442
9330
|
:type LaunchTime: str
|
10443
9331
|
:param _RunningTime: 开始运行时间
|
10444
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10445
9332
|
:type RunningTime: str
|
10446
9333
|
:param _EndTime: 结束时间
|
10447
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10448
9334
|
:type EndTime: str
|
10449
9335
|
:param _RedirectInfo: 重定向信息
|
10450
9336
|
:type RedirectInfo: :class:`tencentcloud.batch.v20170312.models.RedirectInfo`
|
@@ -10488,7 +9374,6 @@ class TaskInstanceView(AbstractModel):
|
|
10488
9374
|
@property
|
10489
9375
|
def ExitCode(self):
|
10490
9376
|
"""应用程序执行结束的exit code
|
10491
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10492
9377
|
:rtype: int
|
10493
9378
|
"""
|
10494
9379
|
return self._ExitCode
|
@@ -10511,7 +9396,6 @@ class TaskInstanceView(AbstractModel):
|
|
10511
9396
|
@property
|
10512
9397
|
def ComputeNodeInstanceId(self):
|
10513
9398
|
"""任务实例运行时所在计算节点(例如CVM)的InstanceId。任务实例未运行或者完结时,本字段为空。任务实例重试时,本字段会随之变化
|
10514
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10515
9399
|
:rtype: str
|
10516
9400
|
"""
|
10517
9401
|
return self._ComputeNodeInstanceId
|
@@ -10534,7 +9418,6 @@ class TaskInstanceView(AbstractModel):
|
|
10534
9418
|
@property
|
10535
9419
|
def LaunchTime(self):
|
10536
9420
|
"""启动时间
|
10537
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10538
9421
|
:rtype: str
|
10539
9422
|
"""
|
10540
9423
|
return self._LaunchTime
|
@@ -10546,7 +9429,6 @@ class TaskInstanceView(AbstractModel):
|
|
10546
9429
|
@property
|
10547
9430
|
def RunningTime(self):
|
10548
9431
|
"""开始运行时间
|
10549
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10550
9432
|
:rtype: str
|
10551
9433
|
"""
|
10552
9434
|
return self._RunningTime
|
@@ -10558,7 +9440,6 @@ class TaskInstanceView(AbstractModel):
|
|
10558
9440
|
@property
|
10559
9441
|
def EndTime(self):
|
10560
9442
|
"""结束时间
|
10561
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10562
9443
|
:rtype: str
|
10563
9444
|
"""
|
10564
9445
|
return self._EndTime
|
@@ -10622,28 +9503,20 @@ class TaskMetrics(AbstractModel):
|
|
10622
9503
|
def __init__(self):
|
10623
9504
|
r"""
|
10624
9505
|
:param _SubmittedCount: Submitted个数
|
10625
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10626
9506
|
:type SubmittedCount: int
|
10627
9507
|
:param _PendingCount: Pending个数
|
10628
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10629
9508
|
:type PendingCount: int
|
10630
9509
|
:param _RunnableCount: Runnable个数
|
10631
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10632
9510
|
:type RunnableCount: int
|
10633
9511
|
:param _StartingCount: Starting个数
|
10634
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10635
9512
|
:type StartingCount: int
|
10636
9513
|
:param _RunningCount: Running个数
|
10637
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10638
9514
|
:type RunningCount: int
|
10639
9515
|
:param _SucceedCount: Succeed个数
|
10640
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10641
9516
|
:type SucceedCount: int
|
10642
9517
|
:param _FailedInterruptedCount: FailedInterrupted个数
|
10643
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10644
9518
|
:type FailedInterruptedCount: int
|
10645
9519
|
:param _FailedCount: Failed个数
|
10646
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10647
9520
|
:type FailedCount: int
|
10648
9521
|
"""
|
10649
9522
|
self._SubmittedCount = None
|
@@ -10658,7 +9531,6 @@ class TaskMetrics(AbstractModel):
|
|
10658
9531
|
@property
|
10659
9532
|
def SubmittedCount(self):
|
10660
9533
|
"""Submitted个数
|
10661
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10662
9534
|
:rtype: int
|
10663
9535
|
"""
|
10664
9536
|
return self._SubmittedCount
|
@@ -10670,7 +9542,6 @@ class TaskMetrics(AbstractModel):
|
|
10670
9542
|
@property
|
10671
9543
|
def PendingCount(self):
|
10672
9544
|
"""Pending个数
|
10673
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10674
9545
|
:rtype: int
|
10675
9546
|
"""
|
10676
9547
|
return self._PendingCount
|
@@ -10682,7 +9553,6 @@ class TaskMetrics(AbstractModel):
|
|
10682
9553
|
@property
|
10683
9554
|
def RunnableCount(self):
|
10684
9555
|
"""Runnable个数
|
10685
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10686
9556
|
:rtype: int
|
10687
9557
|
"""
|
10688
9558
|
return self._RunnableCount
|
@@ -10694,7 +9564,6 @@ class TaskMetrics(AbstractModel):
|
|
10694
9564
|
@property
|
10695
9565
|
def StartingCount(self):
|
10696
9566
|
"""Starting个数
|
10697
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10698
9567
|
:rtype: int
|
10699
9568
|
"""
|
10700
9569
|
return self._StartingCount
|
@@ -10706,7 +9575,6 @@ class TaskMetrics(AbstractModel):
|
|
10706
9575
|
@property
|
10707
9576
|
def RunningCount(self):
|
10708
9577
|
"""Running个数
|
10709
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10710
9578
|
:rtype: int
|
10711
9579
|
"""
|
10712
9580
|
return self._RunningCount
|
@@ -10718,7 +9586,6 @@ class TaskMetrics(AbstractModel):
|
|
10718
9586
|
@property
|
10719
9587
|
def SucceedCount(self):
|
10720
9588
|
"""Succeed个数
|
10721
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10722
9589
|
:rtype: int
|
10723
9590
|
"""
|
10724
9591
|
return self._SucceedCount
|
@@ -10730,7 +9597,6 @@ class TaskMetrics(AbstractModel):
|
|
10730
9597
|
@property
|
10731
9598
|
def FailedInterruptedCount(self):
|
10732
9599
|
"""FailedInterrupted个数
|
10733
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10734
9600
|
:rtype: int
|
10735
9601
|
"""
|
10736
9602
|
return self._FailedInterruptedCount
|
@@ -10742,7 +9608,6 @@ class TaskMetrics(AbstractModel):
|
|
10742
9608
|
@property
|
10743
9609
|
def FailedCount(self):
|
10744
9610
|
"""Failed个数
|
10745
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10746
9611
|
:rtype: int
|
10747
9612
|
"""
|
10748
9613
|
return self._FailedCount
|
@@ -11299,7 +10164,7 @@ class VirtualPrivateCloud(AbstractModel):
|
|
11299
10164
|
r"""
|
11300
10165
|
:param _VpcId: 私有网络ID,形如`vpc-xxx`。有效的VpcId可通过登录[控制台](https://console.cloud.tencent.com/vpc/vpc?rid=1)查询;也可以调用接口 [DescribeVpcEx](/document/api/215/1372) ,从接口返回中的`unVpcId`字段获取。若在创建子机时VpcId与SubnetId同时传入`DEFAULT`,则强制使用默认vpc网络。
|
11301
10166
|
:type VpcId: str
|
11302
|
-
:param _SubnetId: 私有网络子网ID,形如`subnet-xxx`。有效的私有网络子网ID可通过登录[控制台](https://console.cloud.tencent.com/vpc/subnet?rid=1)查询;也可以调用接口 [DescribeSubnets](/document/
|
10167
|
+
:param _SubnetId: 私有网络子网ID,形如`subnet-xxx`。有效的私有网络子网ID可通过登录[控制台](https://console.cloud.tencent.com/vpc/subnet?rid=1)查询;也可以调用接口 [DescribeSubnets](https://cloud.tencent.com/document/product/215/15784) ,从接口返回中的`SubnetId `字段获取。若在创建子机时SubnetId与VpcId同时传入`DEFAULT`,则强制使用默认vpc网络。
|
11303
10168
|
:type SubnetId: str
|
11304
10169
|
:param _AsVpcGateway: 是否用作公网网关。公网网关只有在实例拥有公网IP以及处于私有网络下时才能正常使用。取值范围:<li>true:表示用作公网网关</li><li>false:表示不作为公网网关</li>默认取值:false。
|
11305
10170
|
:type AsVpcGateway: bool
|
@@ -11327,7 +10192,7 @@ class VirtualPrivateCloud(AbstractModel):
|
|
11327
10192
|
|
11328
10193
|
@property
|
11329
10194
|
def SubnetId(self):
|
11330
|
-
"""私有网络子网ID,形如`subnet-xxx`。有效的私有网络子网ID可通过登录[控制台](https://console.cloud.tencent.com/vpc/subnet?rid=1)查询;也可以调用接口 [DescribeSubnets](/document/
|
10195
|
+
"""私有网络子网ID,形如`subnet-xxx`。有效的私有网络子网ID可通过登录[控制台](https://console.cloud.tencent.com/vpc/subnet?rid=1)查询;也可以调用接口 [DescribeSubnets](https://cloud.tencent.com/document/product/215/15784) ,从接口返回中的`SubnetId `字段获取。若在创建子机时SubnetId与VpcId同时传入`DEFAULT`,则强制使用默认vpc网络。
|
11331
10196
|
:rtype: str
|
11332
10197
|
"""
|
11333
10198
|
return self._SubnetId
|