tencentcloud-sdk-python 3.0.1411__py2.py3-none-any.whl → 3.0.1413__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/ams/v20201229/models.py +2 -14
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/errorcodes.py +6 -0
- tencentcloud/apm/v20210622/models.py +184 -0
- tencentcloud/batch/v20170312/batch_client.py +23 -0
- tencentcloud/batch/v20170312/models.py +236 -0
- tencentcloud/bh/v20230418/models.py +424 -0
- tencentcloud/bi/v20220105/models.py +15 -0
- tencentcloud/ccc/v20200210/models.py +17 -0
- tencentcloud/cdb/v20170320/cdb_client.py +6 -5
- tencentcloud/cdb/v20170320/models.py +52 -44
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/models.py +700 -0
- tencentcloud/cdwdoris/v20211228/models.py +36 -2
- tencentcloud/cfg/v20210820/models.py +123 -0
- tencentcloud/ckafka/v20190819/models.py +32 -2
- tencentcloud/csip/v20221121/csip_client.py +73 -4
- tencentcloud/csip/v20221121/models.py +1510 -227
- tencentcloud/cvm/v20170312/models.py +17 -4
- tencentcloud/dlc/v20210125/models.py +101 -0
- tencentcloud/ecm/v20190719/ecm_client.py +21 -7
- tencentcloud/emr/v20190103/emr_client.py +69 -0
- tencentcloud/emr/v20190103/errorcodes.py +54 -0
- tencentcloud/emr/v20190103/models.py +1536 -98
- tencentcloud/ess/v20201111/models.py +59 -12
- tencentcloud/essbasic/v20210526/models.py +4 -4
- tencentcloud/gs/v20191118/models.py +67 -2
- tencentcloud/hai/v20230812/errorcodes.py +3 -0
- tencentcloud/igtm/__init__.py +0 -0
- tencentcloud/igtm/v20231024/__init__.py +0 -0
- tencentcloud/igtm/v20231024/errorcodes.py +264 -0
- tencentcloud/igtm/v20231024/igtm_client.py +555 -0
- tencentcloud/igtm/v20231024/models.py +6234 -0
- tencentcloud/ims/v20201229/models.py +0 -4
- tencentcloud/ioa/v20220601/errorcodes.py +9 -0
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +396 -0
- tencentcloud/iss/v20230517/models.py +17 -2
- tencentcloud/kms/v20190118/models.py +10 -22
- tencentcloud/mongodb/v20190725/errorcodes.py +9 -0
- tencentcloud/mongodb/v20190725/models.py +330 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +82 -2
- tencentcloud/ocr/v20181119/models.py +267 -842
- tencentcloud/partners/v20180321/models.py +6 -2
- tencentcloud/securitylake/__init__.py +0 -0
- tencentcloud/securitylake/v20240117/__init__.py +0 -0
- tencentcloud/securitylake/v20240117/errorcodes.py +75 -0
- tencentcloud/securitylake/v20240117/models.py +1152 -0
- tencentcloud/securitylake/v20240117/securitylake_client.py +49 -0
- tencentcloud/sms/v20190711/errorcodes.py +2 -2
- tencentcloud/sms/v20210111/errorcodes.py +2 -2
- tencentcloud/tcbr/v20220217/models.py +113 -0
- tencentcloud/tdmq/v20200217/models.py +437 -10
- tencentcloud/teo/v20220901/errorcodes.py +15 -0
- tencentcloud/teo/v20220901/models.py +1027 -130
- tencentcloud/teo/v20220901/teo_client.py +122 -1
- tencentcloud/tione/v20211111/models.py +491 -2
- tencentcloud/tione/v20211111/tione_client.py +23 -0
- tencentcloud/tiw/v20190919/errorcodes.py +1 -1
- tencentcloud/tke/v20180525/models.py +79 -54
- tencentcloud/tms/v20201229/models.py +6 -60
- tencentcloud/trocket/v20230308/models.py +164 -162
- tencentcloud/trocket/v20230308/trocket_client.py +46 -18
- tencentcloud/tsf/v20180326/models.py +6363 -4491
- tencentcloud/tsf/v20180326/tsf_client.py +23 -0
- tencentcloud/vdb/v20230616/models.py +75 -0
- tencentcloud/vm/v20210922/models.py +0 -8
- tencentcloud/vpc/v20170312/errorcodes.py +27 -0
- tencentcloud/wav/v20210129/models.py +6 -6
- tencentcloud/wedata/v20210820/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1411.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1411.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/RECORD +77 -67
- {tencentcloud_sdk_python-3.0.1411.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1411.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1411.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/top_level.txt +0 -0
@@ -118,6 +118,29 @@ class TeoClient(AbstractClient):
|
|
118
118
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
119
119
|
|
120
120
|
|
121
|
+
def ConfirmOriginACLUpdate(self, request):
|
122
|
+
"""本接口用于回源 IP 网段发生变更时,确认已将最新回源 IP 网段更新至源站防火墙。确认已更新至最新的回源 IP 网段后,相关变更通知将会停止推送。
|
123
|
+
|
124
|
+
:param request: Request instance for ConfirmOriginACLUpdate.
|
125
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ConfirmOriginACLUpdateRequest`
|
126
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ConfirmOriginACLUpdateResponse`
|
127
|
+
|
128
|
+
"""
|
129
|
+
try:
|
130
|
+
params = request._serialize()
|
131
|
+
headers = request.headers
|
132
|
+
body = self.call("ConfirmOriginACLUpdate", params, headers=headers)
|
133
|
+
response = json.loads(body)
|
134
|
+
model = models.ConfirmOriginACLUpdateResponse()
|
135
|
+
model._deserialize(response["Response"])
|
136
|
+
return model
|
137
|
+
except Exception as e:
|
138
|
+
if isinstance(e, TencentCloudSDKException):
|
139
|
+
raise
|
140
|
+
else:
|
141
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
142
|
+
|
143
|
+
|
121
144
|
def CreateAccelerationDomain(self, request):
|
122
145
|
"""在创建完站点之后,您可以通过本接口创建加速域名。
|
123
146
|
|
@@ -1812,6 +1835,29 @@ class TeoClient(AbstractClient):
|
|
1812
1835
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1813
1836
|
|
1814
1837
|
|
1838
|
+
def DescribeOriginACL(self, request):
|
1839
|
+
"""本接口用于查询站点下的七层加速域名/四层代理实例与回源 IP 网段的绑定关系,以及回源 IP 网段详情。如果您想通过自动化脚本定期获取回源 IP 网段的最新版本,可以较低频率(建议每三天一次)轮询本接口,若 NextOriginACL 字段有返回值,则将最新的回源 IP 网段同步到源站防火墙配置中。
|
1840
|
+
|
1841
|
+
:param request: Request instance for DescribeOriginACL.
|
1842
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeOriginACLRequest`
|
1843
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeOriginACLResponse`
|
1844
|
+
|
1845
|
+
"""
|
1846
|
+
try:
|
1847
|
+
params = request._serialize()
|
1848
|
+
headers = request.headers
|
1849
|
+
body = self.call("DescribeOriginACL", params, headers=headers)
|
1850
|
+
response = json.loads(body)
|
1851
|
+
model = models.DescribeOriginACLResponse()
|
1852
|
+
model._deserialize(response["Response"])
|
1853
|
+
return model
|
1854
|
+
except Exception as e:
|
1855
|
+
if isinstance(e, TencentCloudSDKException):
|
1856
|
+
raise
|
1857
|
+
else:
|
1858
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1859
|
+
|
1860
|
+
|
1815
1861
|
def DescribeOriginGroup(self, request):
|
1816
1862
|
"""获取源站组列表
|
1817
1863
|
|
@@ -1859,7 +1905,9 @@ class TeoClient(AbstractClient):
|
|
1859
1905
|
|
1860
1906
|
|
1861
1907
|
def DescribeOriginProtection(self, request):
|
1862
|
-
"""
|
1908
|
+
"""本接口为旧版本查询源站防护接口,EdgeOne 于 2025 年 6 月 27 日已对源站防护相关接口全面升级,新版本查询源站防护接口详情请参考 [DescribeOriginACL](https://cloud.tencent.com/document/product/1552/120408)。
|
1909
|
+
|
1910
|
+
<p style="color: red;">注意:自 2025 年 6 月 27 日起,旧版接口停止更新迭代,后续新增功能将仅在新版接口中提供。为避免在使用旧版接口时出现数据字段冲突,建议您尽早迁移到新版源站防护接口。</p>
|
1863
1911
|
|
1864
1912
|
:param request: Request instance for DescribeOriginProtection.
|
1865
1913
|
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeOriginProtectionRequest`
|
@@ -2352,6 +2400,29 @@ class TeoClient(AbstractClient):
|
|
2352
2400
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2353
2401
|
|
2354
2402
|
|
2403
|
+
def DisableOriginACL(self, request):
|
2404
|
+
"""本接口用于关闭站点的源站防护功能。停用后,相关资源不再仅使用「源站防护」提供的回源 IP 网段请求您的源站,同时停止发送回源 IP 网段更新通知。
|
2405
|
+
|
2406
|
+
:param request: Request instance for DisableOriginACL.
|
2407
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DisableOriginACLRequest`
|
2408
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DisableOriginACLResponse`
|
2409
|
+
|
2410
|
+
"""
|
2411
|
+
try:
|
2412
|
+
params = request._serialize()
|
2413
|
+
headers = request.headers
|
2414
|
+
body = self.call("DisableOriginACL", params, headers=headers)
|
2415
|
+
response = json.loads(body)
|
2416
|
+
model = models.DisableOriginACLResponse()
|
2417
|
+
model._deserialize(response["Response"])
|
2418
|
+
return model
|
2419
|
+
except Exception as e:
|
2420
|
+
if isinstance(e, TencentCloudSDKException):
|
2421
|
+
raise
|
2422
|
+
else:
|
2423
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2424
|
+
|
2425
|
+
|
2355
2426
|
def DownloadL4Logs(self, request):
|
2356
2427
|
"""本接口(DownloadL4Logs)用于下载四层离线日志。
|
2357
2428
|
|
@@ -2398,6 +2469,33 @@ class TeoClient(AbstractClient):
|
|
2398
2469
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2399
2470
|
|
2400
2471
|
|
2472
|
+
def EnableOriginACL(self, request):
|
2473
|
+
"""本接口用于站点首次开启源站防护,启用后 EdgeOne 将会使用特定的回源 IP 网段为七层加速域名/四层代理实例回源。单次支持提交的七层加速域名的数量最大为 200,四层代理实例的数量最大为 100,支持七层加速域名/四层代理实例混合提交,总实例个数最大为 200。如需要启用超过 200 个资源,可先通过指定资源的方式以最大数量启用,剩余资源通过 ModifyOriginACL 接口启用。后续新增七层加速域名/四层代理实例均请通过 ModifyOriginACL 接口配置。
|
2474
|
+
|
2475
|
+
注意:
|
2476
|
+
- 调用本接口视为同意 [源站防护启用特别约定](https://cloud.tencent.com/document/product/1552/120141);
|
2477
|
+
- 回源 IP 网段会不定期变更,EdgeOne 将在回源 IP 网段变更前 14 天、前 7 天、前 3 天和前 1 天分别通过站内信、短信、邮件等一种或多种方式发起通知,为了能正常收到回源 IP 网段的变更通知,请务必确保您在 [腾讯云消息中心控制台](https://console.cloud.tencent.com/message)内,已勾选边缘安全加速平台 EO 的产品服务相关消息通知,并配置正确的消息接收人。配置方式请参考 [消息订阅管理](https://cloud.tencent.com/document/product/567/43476)。
|
2478
|
+
|
2479
|
+
:param request: Request instance for EnableOriginACL.
|
2480
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.EnableOriginACLRequest`
|
2481
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.EnableOriginACLResponse`
|
2482
|
+
|
2483
|
+
"""
|
2484
|
+
try:
|
2485
|
+
params = request._serialize()
|
2486
|
+
headers = request.headers
|
2487
|
+
body = self.call("EnableOriginACL", params, headers=headers)
|
2488
|
+
response = json.loads(body)
|
2489
|
+
model = models.EnableOriginACLResponse()
|
2490
|
+
model._deserialize(response["Response"])
|
2491
|
+
return model
|
2492
|
+
except Exception as e:
|
2493
|
+
if isinstance(e, TencentCloudSDKException):
|
2494
|
+
raise
|
2495
|
+
else:
|
2496
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2497
|
+
|
2498
|
+
|
2401
2499
|
def ExportZoneConfig(self, request):
|
2402
2500
|
"""导出站点配置接口,本接口支持用户根据需要的配置项进行配置导出,导出的配置用于导入站点配置接口(ImportZoneConfig)进行配置导入。该功能仅支持标准版和企业版套餐站点使用。
|
2403
2501
|
|
@@ -3074,6 +3172,29 @@ class TeoClient(AbstractClient):
|
|
3074
3172
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3075
3173
|
|
3076
3174
|
|
3175
|
+
def ModifyOriginACL(self, request):
|
3176
|
+
"""本接口用于对七层加速域名/四层代理实例启用/关闭特定回源 IP 网段回源。单次支持提交的七层加速域名的数量最大为 200,四层代理实例的数量最大为 100,支持七层加速域名/四层代理实例混合提交,总实例个数最大为 200。如需变更超过 200 个实例,请通过本接口分批提交。
|
3177
|
+
|
3178
|
+
:param request: Request instance for ModifyOriginACL.
|
3179
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyOriginACLRequest`
|
3180
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyOriginACLResponse`
|
3181
|
+
|
3182
|
+
"""
|
3183
|
+
try:
|
3184
|
+
params = request._serialize()
|
3185
|
+
headers = request.headers
|
3186
|
+
body = self.call("ModifyOriginACL", params, headers=headers)
|
3187
|
+
response = json.loads(body)
|
3188
|
+
model = models.ModifyOriginACLResponse()
|
3189
|
+
model._deserialize(response["Response"])
|
3190
|
+
return model
|
3191
|
+
except Exception as e:
|
3192
|
+
if isinstance(e, TencentCloudSDKException):
|
3193
|
+
raise
|
3194
|
+
else:
|
3195
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3196
|
+
|
3197
|
+
|
3077
3198
|
def ModifyOriginGroup(self, request):
|
3078
3199
|
"""修改源站组配置,新提交的源站记录将会覆盖原有源站组中的源站记录。
|
3079
3200
|
|
@@ -18,6 +18,95 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class Attribute(AbstractModel):
|
22
|
+
"""镜像属性
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _Type: 为‘List’时属性值取Values 否则取Value
|
29
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30
|
+
:type Type: str
|
31
|
+
:param _Key: 属性key
|
32
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
33
|
+
:type Key: str
|
34
|
+
:param _Value: 属性值
|
35
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
36
|
+
:type Value: str
|
37
|
+
:param _Values: 属性值列表
|
38
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
39
|
+
:type Values: list of str
|
40
|
+
"""
|
41
|
+
self._Type = None
|
42
|
+
self._Key = None
|
43
|
+
self._Value = None
|
44
|
+
self._Values = None
|
45
|
+
|
46
|
+
@property
|
47
|
+
def Type(self):
|
48
|
+
"""为‘List’时属性值取Values 否则取Value
|
49
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._Type
|
53
|
+
|
54
|
+
@Type.setter
|
55
|
+
def Type(self, Type):
|
56
|
+
self._Type = Type
|
57
|
+
|
58
|
+
@property
|
59
|
+
def Key(self):
|
60
|
+
"""属性key
|
61
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
62
|
+
:rtype: str
|
63
|
+
"""
|
64
|
+
return self._Key
|
65
|
+
|
66
|
+
@Key.setter
|
67
|
+
def Key(self, Key):
|
68
|
+
self._Key = Key
|
69
|
+
|
70
|
+
@property
|
71
|
+
def Value(self):
|
72
|
+
"""属性值
|
73
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
74
|
+
:rtype: str
|
75
|
+
"""
|
76
|
+
return self._Value
|
77
|
+
|
78
|
+
@Value.setter
|
79
|
+
def Value(self, Value):
|
80
|
+
self._Value = Value
|
81
|
+
|
82
|
+
@property
|
83
|
+
def Values(self):
|
84
|
+
"""属性值列表
|
85
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
86
|
+
:rtype: list of str
|
87
|
+
"""
|
88
|
+
return self._Values
|
89
|
+
|
90
|
+
@Values.setter
|
91
|
+
def Values(self, Values):
|
92
|
+
self._Values = Values
|
93
|
+
|
94
|
+
|
95
|
+
def _deserialize(self, params):
|
96
|
+
self._Type = params.get("Type")
|
97
|
+
self._Key = params.get("Key")
|
98
|
+
self._Value = params.get("Value")
|
99
|
+
self._Values = params.get("Values")
|
100
|
+
memeber_set = set(params.keys())
|
101
|
+
for name, value in vars(self).items():
|
102
|
+
property_name = name[1:]
|
103
|
+
if property_name in memeber_set:
|
104
|
+
memeber_set.remove(property_name)
|
105
|
+
if len(memeber_set) > 0:
|
106
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
107
|
+
|
108
|
+
|
109
|
+
|
21
110
|
class AuthToken(AbstractModel):
|
22
111
|
"""在线服务的 AuthToken 数据
|
23
112
|
|
@@ -9113,6 +9202,140 @@ class DescribeNotebooksResponse(AbstractModel):
|
|
9113
9202
|
self._RequestId = params.get("RequestId")
|
9114
9203
|
|
9115
9204
|
|
9205
|
+
class DescribePlatformImagesRequest(AbstractModel):
|
9206
|
+
"""DescribePlatformImages请求参数结构体
|
9207
|
+
|
9208
|
+
"""
|
9209
|
+
|
9210
|
+
def __init__(self):
|
9211
|
+
r"""
|
9212
|
+
:param _Filters: 过滤器, Name支持ImageId/ImageName/SupportDataPipeline/AllowSaveAllContent/ImageRange,其中ImageRange支持枚举值Train,Inference,Notebook
|
9213
|
+
:type Filters: list of Filter
|
9214
|
+
:param _Offset: 偏移信息
|
9215
|
+
:type Offset: int
|
9216
|
+
:param _Limit: 返回数量, 默认100
|
9217
|
+
:type Limit: int
|
9218
|
+
"""
|
9219
|
+
self._Filters = None
|
9220
|
+
self._Offset = None
|
9221
|
+
self._Limit = None
|
9222
|
+
|
9223
|
+
@property
|
9224
|
+
def Filters(self):
|
9225
|
+
"""过滤器, Name支持ImageId/ImageName/SupportDataPipeline/AllowSaveAllContent/ImageRange,其中ImageRange支持枚举值Train,Inference,Notebook
|
9226
|
+
:rtype: list of Filter
|
9227
|
+
"""
|
9228
|
+
return self._Filters
|
9229
|
+
|
9230
|
+
@Filters.setter
|
9231
|
+
def Filters(self, Filters):
|
9232
|
+
self._Filters = Filters
|
9233
|
+
|
9234
|
+
@property
|
9235
|
+
def Offset(self):
|
9236
|
+
"""偏移信息
|
9237
|
+
:rtype: int
|
9238
|
+
"""
|
9239
|
+
return self._Offset
|
9240
|
+
|
9241
|
+
@Offset.setter
|
9242
|
+
def Offset(self, Offset):
|
9243
|
+
self._Offset = Offset
|
9244
|
+
|
9245
|
+
@property
|
9246
|
+
def Limit(self):
|
9247
|
+
"""返回数量, 默认100
|
9248
|
+
:rtype: int
|
9249
|
+
"""
|
9250
|
+
return self._Limit
|
9251
|
+
|
9252
|
+
@Limit.setter
|
9253
|
+
def Limit(self, Limit):
|
9254
|
+
self._Limit = Limit
|
9255
|
+
|
9256
|
+
|
9257
|
+
def _deserialize(self, params):
|
9258
|
+
if params.get("Filters") is not None:
|
9259
|
+
self._Filters = []
|
9260
|
+
for item in params.get("Filters"):
|
9261
|
+
obj = Filter()
|
9262
|
+
obj._deserialize(item)
|
9263
|
+
self._Filters.append(obj)
|
9264
|
+
self._Offset = params.get("Offset")
|
9265
|
+
self._Limit = params.get("Limit")
|
9266
|
+
memeber_set = set(params.keys())
|
9267
|
+
for name, value in vars(self).items():
|
9268
|
+
property_name = name[1:]
|
9269
|
+
if property_name in memeber_set:
|
9270
|
+
memeber_set.remove(property_name)
|
9271
|
+
if len(memeber_set) > 0:
|
9272
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
9273
|
+
|
9274
|
+
|
9275
|
+
|
9276
|
+
class DescribePlatformImagesResponse(AbstractModel):
|
9277
|
+
"""DescribePlatformImages返回参数结构体
|
9278
|
+
|
9279
|
+
"""
|
9280
|
+
|
9281
|
+
def __init__(self):
|
9282
|
+
r"""
|
9283
|
+
:param _TotalCount: 数量
|
9284
|
+
:type TotalCount: int
|
9285
|
+
:param _PlatformImageInfos: 镜像列表
|
9286
|
+
:type PlatformImageInfos: list of PlatformImageInfo
|
9287
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9288
|
+
:type RequestId: str
|
9289
|
+
"""
|
9290
|
+
self._TotalCount = None
|
9291
|
+
self._PlatformImageInfos = None
|
9292
|
+
self._RequestId = None
|
9293
|
+
|
9294
|
+
@property
|
9295
|
+
def TotalCount(self):
|
9296
|
+
"""数量
|
9297
|
+
:rtype: int
|
9298
|
+
"""
|
9299
|
+
return self._TotalCount
|
9300
|
+
|
9301
|
+
@TotalCount.setter
|
9302
|
+
def TotalCount(self, TotalCount):
|
9303
|
+
self._TotalCount = TotalCount
|
9304
|
+
|
9305
|
+
@property
|
9306
|
+
def PlatformImageInfos(self):
|
9307
|
+
"""镜像列表
|
9308
|
+
:rtype: list of PlatformImageInfo
|
9309
|
+
"""
|
9310
|
+
return self._PlatformImageInfos
|
9311
|
+
|
9312
|
+
@PlatformImageInfos.setter
|
9313
|
+
def PlatformImageInfos(self, PlatformImageInfos):
|
9314
|
+
self._PlatformImageInfos = PlatformImageInfos
|
9315
|
+
|
9316
|
+
@property
|
9317
|
+
def RequestId(self):
|
9318
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9319
|
+
:rtype: str
|
9320
|
+
"""
|
9321
|
+
return self._RequestId
|
9322
|
+
|
9323
|
+
@RequestId.setter
|
9324
|
+
def RequestId(self, RequestId):
|
9325
|
+
self._RequestId = RequestId
|
9326
|
+
|
9327
|
+
|
9328
|
+
def _deserialize(self, params):
|
9329
|
+
self._TotalCount = params.get("TotalCount")
|
9330
|
+
if params.get("PlatformImageInfos") is not None:
|
9331
|
+
self._PlatformImageInfos = []
|
9332
|
+
for item in params.get("PlatformImageInfos"):
|
9333
|
+
obj = PlatformImageInfo()
|
9334
|
+
obj._deserialize(item)
|
9335
|
+
self._PlatformImageInfos.append(obj)
|
9336
|
+
self._RequestId = params.get("RequestId")
|
9337
|
+
|
9338
|
+
|
9116
9339
|
class DescribeTrainingModelVersionRequest(AbstractModel):
|
9117
9340
|
"""DescribeTrainingModelVersion请求参数结构体
|
9118
9341
|
|
@@ -11482,9 +11705,10 @@ class Instance(AbstractModel):
|
|
11482
11705
|
DEPLOYING: 部署中
|
11483
11706
|
RUNNING: 运行中
|
11484
11707
|
DEPLOY_FAILED: 部署失败
|
11485
|
-
|
11708
|
+
RELEASING 释放中
|
11486
11709
|
RELEASED:已释放
|
11487
11710
|
EXCEPTION:异常
|
11711
|
+
DEBT_OR_EXPIRED: 欠费过期
|
11488
11712
|
注意:此字段可能返回 null,表示取不到有效值。
|
11489
11713
|
:type InstanceStatus: str
|
11490
11714
|
:param _SubUin: 创建人
|
@@ -11579,9 +11803,10 @@ DISABLE_NOTIFY_AND_MANUAL_RENEW:手动续费(取消自动续费)且到期不
|
|
11579
11803
|
DEPLOYING: 部署中
|
11580
11804
|
RUNNING: 运行中
|
11581
11805
|
DEPLOY_FAILED: 部署失败
|
11582
|
-
|
11806
|
+
RELEASING 释放中
|
11583
11807
|
RELEASED:已释放
|
11584
11808
|
EXCEPTION:异常
|
11809
|
+
DEBT_OR_EXPIRED: 欠费过期
|
11585
11810
|
注意:此字段可能返回 null,表示取不到有效值。
|
11586
11811
|
:rtype: str
|
11587
11812
|
"""
|
@@ -15990,6 +16215,270 @@ class Option(AbstractModel):
|
|
15990
16215
|
|
15991
16216
|
|
15992
16217
|
|
16218
|
+
class PlatformImageInfo(AbstractModel):
|
16219
|
+
"""平台镜像信息详情
|
16220
|
+
|
16221
|
+
"""
|
16222
|
+
|
16223
|
+
def __init__(self):
|
16224
|
+
r"""
|
16225
|
+
:param _Framework: 框架名
|
16226
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16227
|
+
:type Framework: str
|
16228
|
+
:param _ImageType: 镜像类型: ccr or tcr
|
16229
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16230
|
+
:type ImageType: str
|
16231
|
+
:param _ImageUrl: 镜像地址
|
16232
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16233
|
+
:type ImageUrl: str
|
16234
|
+
:param _RegistryRegion: TCR镜像示例所属地域
|
16235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16236
|
+
:type RegistryRegion: str
|
16237
|
+
:param _RegistryId: TCR镜像所属实例ID
|
16238
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16239
|
+
:type RegistryId: str
|
16240
|
+
:param _ImageName: 镜像名称
|
16241
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16242
|
+
:type ImageName: str
|
16243
|
+
:param _ImageId: 镜像Id
|
16244
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16245
|
+
:type ImageId: str
|
16246
|
+
:param _FrameworkVersion: 框架版本
|
16247
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16248
|
+
:type FrameworkVersion: str
|
16249
|
+
:param _SupportGpuList: 支持的gpu列表
|
16250
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16251
|
+
:type SupportGpuList: list of str
|
16252
|
+
:param _Description: 描述信息
|
16253
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16254
|
+
:type Description: str
|
16255
|
+
:param _ExtraAttributes: 业务属性
|
16256
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16257
|
+
:type ExtraAttributes: list of Attribute
|
16258
|
+
:param _ImageRange: 镜像适用场景Train/Inference/Notebook
|
16259
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16260
|
+
:type ImageRange: list of str
|
16261
|
+
:param _SupportDistributedDeploy: 是否支持分布式部署
|
16262
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16263
|
+
:type SupportDistributedDeploy: bool
|
16264
|
+
:param _RegionScope: 支持的地域 all(所有地域)/autonomous(自动驾驶地域)/general(通用地域)
|
16265
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16266
|
+
:type RegionScope: str
|
16267
|
+
"""
|
16268
|
+
self._Framework = None
|
16269
|
+
self._ImageType = None
|
16270
|
+
self._ImageUrl = None
|
16271
|
+
self._RegistryRegion = None
|
16272
|
+
self._RegistryId = None
|
16273
|
+
self._ImageName = None
|
16274
|
+
self._ImageId = None
|
16275
|
+
self._FrameworkVersion = None
|
16276
|
+
self._SupportGpuList = None
|
16277
|
+
self._Description = None
|
16278
|
+
self._ExtraAttributes = None
|
16279
|
+
self._ImageRange = None
|
16280
|
+
self._SupportDistributedDeploy = None
|
16281
|
+
self._RegionScope = None
|
16282
|
+
|
16283
|
+
@property
|
16284
|
+
def Framework(self):
|
16285
|
+
"""框架名
|
16286
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16287
|
+
:rtype: str
|
16288
|
+
"""
|
16289
|
+
return self._Framework
|
16290
|
+
|
16291
|
+
@Framework.setter
|
16292
|
+
def Framework(self, Framework):
|
16293
|
+
self._Framework = Framework
|
16294
|
+
|
16295
|
+
@property
|
16296
|
+
def ImageType(self):
|
16297
|
+
"""镜像类型: ccr or tcr
|
16298
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16299
|
+
:rtype: str
|
16300
|
+
"""
|
16301
|
+
return self._ImageType
|
16302
|
+
|
16303
|
+
@ImageType.setter
|
16304
|
+
def ImageType(self, ImageType):
|
16305
|
+
self._ImageType = ImageType
|
16306
|
+
|
16307
|
+
@property
|
16308
|
+
def ImageUrl(self):
|
16309
|
+
"""镜像地址
|
16310
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16311
|
+
:rtype: str
|
16312
|
+
"""
|
16313
|
+
return self._ImageUrl
|
16314
|
+
|
16315
|
+
@ImageUrl.setter
|
16316
|
+
def ImageUrl(self, ImageUrl):
|
16317
|
+
self._ImageUrl = ImageUrl
|
16318
|
+
|
16319
|
+
@property
|
16320
|
+
def RegistryRegion(self):
|
16321
|
+
"""TCR镜像示例所属地域
|
16322
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16323
|
+
:rtype: str
|
16324
|
+
"""
|
16325
|
+
return self._RegistryRegion
|
16326
|
+
|
16327
|
+
@RegistryRegion.setter
|
16328
|
+
def RegistryRegion(self, RegistryRegion):
|
16329
|
+
self._RegistryRegion = RegistryRegion
|
16330
|
+
|
16331
|
+
@property
|
16332
|
+
def RegistryId(self):
|
16333
|
+
"""TCR镜像所属实例ID
|
16334
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16335
|
+
:rtype: str
|
16336
|
+
"""
|
16337
|
+
return self._RegistryId
|
16338
|
+
|
16339
|
+
@RegistryId.setter
|
16340
|
+
def RegistryId(self, RegistryId):
|
16341
|
+
self._RegistryId = RegistryId
|
16342
|
+
|
16343
|
+
@property
|
16344
|
+
def ImageName(self):
|
16345
|
+
"""镜像名称
|
16346
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16347
|
+
:rtype: str
|
16348
|
+
"""
|
16349
|
+
return self._ImageName
|
16350
|
+
|
16351
|
+
@ImageName.setter
|
16352
|
+
def ImageName(self, ImageName):
|
16353
|
+
self._ImageName = ImageName
|
16354
|
+
|
16355
|
+
@property
|
16356
|
+
def ImageId(self):
|
16357
|
+
"""镜像Id
|
16358
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16359
|
+
:rtype: str
|
16360
|
+
"""
|
16361
|
+
return self._ImageId
|
16362
|
+
|
16363
|
+
@ImageId.setter
|
16364
|
+
def ImageId(self, ImageId):
|
16365
|
+
self._ImageId = ImageId
|
16366
|
+
|
16367
|
+
@property
|
16368
|
+
def FrameworkVersion(self):
|
16369
|
+
"""框架版本
|
16370
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16371
|
+
:rtype: str
|
16372
|
+
"""
|
16373
|
+
return self._FrameworkVersion
|
16374
|
+
|
16375
|
+
@FrameworkVersion.setter
|
16376
|
+
def FrameworkVersion(self, FrameworkVersion):
|
16377
|
+
self._FrameworkVersion = FrameworkVersion
|
16378
|
+
|
16379
|
+
@property
|
16380
|
+
def SupportGpuList(self):
|
16381
|
+
"""支持的gpu列表
|
16382
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16383
|
+
:rtype: list of str
|
16384
|
+
"""
|
16385
|
+
return self._SupportGpuList
|
16386
|
+
|
16387
|
+
@SupportGpuList.setter
|
16388
|
+
def SupportGpuList(self, SupportGpuList):
|
16389
|
+
self._SupportGpuList = SupportGpuList
|
16390
|
+
|
16391
|
+
@property
|
16392
|
+
def Description(self):
|
16393
|
+
"""描述信息
|
16394
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16395
|
+
:rtype: str
|
16396
|
+
"""
|
16397
|
+
return self._Description
|
16398
|
+
|
16399
|
+
@Description.setter
|
16400
|
+
def Description(self, Description):
|
16401
|
+
self._Description = Description
|
16402
|
+
|
16403
|
+
@property
|
16404
|
+
def ExtraAttributes(self):
|
16405
|
+
"""业务属性
|
16406
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16407
|
+
:rtype: list of Attribute
|
16408
|
+
"""
|
16409
|
+
return self._ExtraAttributes
|
16410
|
+
|
16411
|
+
@ExtraAttributes.setter
|
16412
|
+
def ExtraAttributes(self, ExtraAttributes):
|
16413
|
+
self._ExtraAttributes = ExtraAttributes
|
16414
|
+
|
16415
|
+
@property
|
16416
|
+
def ImageRange(self):
|
16417
|
+
"""镜像适用场景Train/Inference/Notebook
|
16418
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16419
|
+
:rtype: list of str
|
16420
|
+
"""
|
16421
|
+
return self._ImageRange
|
16422
|
+
|
16423
|
+
@ImageRange.setter
|
16424
|
+
def ImageRange(self, ImageRange):
|
16425
|
+
self._ImageRange = ImageRange
|
16426
|
+
|
16427
|
+
@property
|
16428
|
+
def SupportDistributedDeploy(self):
|
16429
|
+
"""是否支持分布式部署
|
16430
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16431
|
+
:rtype: bool
|
16432
|
+
"""
|
16433
|
+
return self._SupportDistributedDeploy
|
16434
|
+
|
16435
|
+
@SupportDistributedDeploy.setter
|
16436
|
+
def SupportDistributedDeploy(self, SupportDistributedDeploy):
|
16437
|
+
self._SupportDistributedDeploy = SupportDistributedDeploy
|
16438
|
+
|
16439
|
+
@property
|
16440
|
+
def RegionScope(self):
|
16441
|
+
"""支持的地域 all(所有地域)/autonomous(自动驾驶地域)/general(通用地域)
|
16442
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16443
|
+
:rtype: str
|
16444
|
+
"""
|
16445
|
+
return self._RegionScope
|
16446
|
+
|
16447
|
+
@RegionScope.setter
|
16448
|
+
def RegionScope(self, RegionScope):
|
16449
|
+
self._RegionScope = RegionScope
|
16450
|
+
|
16451
|
+
|
16452
|
+
def _deserialize(self, params):
|
16453
|
+
self._Framework = params.get("Framework")
|
16454
|
+
self._ImageType = params.get("ImageType")
|
16455
|
+
self._ImageUrl = params.get("ImageUrl")
|
16456
|
+
self._RegistryRegion = params.get("RegistryRegion")
|
16457
|
+
self._RegistryId = params.get("RegistryId")
|
16458
|
+
self._ImageName = params.get("ImageName")
|
16459
|
+
self._ImageId = params.get("ImageId")
|
16460
|
+
self._FrameworkVersion = params.get("FrameworkVersion")
|
16461
|
+
self._SupportGpuList = params.get("SupportGpuList")
|
16462
|
+
self._Description = params.get("Description")
|
16463
|
+
if params.get("ExtraAttributes") is not None:
|
16464
|
+
self._ExtraAttributes = []
|
16465
|
+
for item in params.get("ExtraAttributes"):
|
16466
|
+
obj = Attribute()
|
16467
|
+
obj._deserialize(item)
|
16468
|
+
self._ExtraAttributes.append(obj)
|
16469
|
+
self._ImageRange = params.get("ImageRange")
|
16470
|
+
self._SupportDistributedDeploy = params.get("SupportDistributedDeploy")
|
16471
|
+
self._RegionScope = params.get("RegionScope")
|
16472
|
+
memeber_set = set(params.keys())
|
16473
|
+
for name, value in vars(self).items():
|
16474
|
+
property_name = name[1:]
|
16475
|
+
if property_name in memeber_set:
|
16476
|
+
memeber_set.remove(property_name)
|
16477
|
+
if len(memeber_set) > 0:
|
16478
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16479
|
+
|
16480
|
+
|
16481
|
+
|
15993
16482
|
class Pod(AbstractModel):
|
15994
16483
|
"""Pod信息展示
|
15995
16484
|
|