tencentcloud-sdk-python-ags 3.1.132__tar.gz → 3.1.149__tar.gz
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_sdk_python_ags-3.1.132 → tencentcloud_sdk_python_ags-3.1.149}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ags-3.1.132 → tencentcloud_sdk_python_ags-3.1.149}/setup.py +1 -1
- {tencentcloud_sdk_python_ags-3.1.132 → tencentcloud_sdk_python_ags-3.1.149}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ags-3.1.132 → tencentcloud_sdk_python_ags-3.1.149}/tencentcloud/ags/v20250920/errorcodes.py +12 -0
- {tencentcloud_sdk_python_ags-3.1.132 → tencentcloud_sdk_python_ags-3.1.149}/tencentcloud/ags/v20250920/models.py +159 -59
- {tencentcloud_sdk_python_ags-3.1.132 → tencentcloud_sdk_python_ags-3.1.149}/tencentcloud_sdk_python_ags.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ags-3.1.149/tencentcloud_sdk_python_ags.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ags-3.1.132/tencentcloud_sdk_python_ags.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ags-3.1.132 → tencentcloud_sdk_python_ags-3.1.149}/README.rst +0 -0
- {tencentcloud_sdk_python_ags-3.1.132 → tencentcloud_sdk_python_ags-3.1.149}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ags-3.1.132 → tencentcloud_sdk_python_ags-3.1.149}/tencentcloud/ags/__init__.py +0 -0
- {tencentcloud_sdk_python_ags-3.1.132 → tencentcloud_sdk_python_ags-3.1.149}/tencentcloud/ags/v20250920/__init__.py +0 -0
- {tencentcloud_sdk_python_ags-3.1.132 → tencentcloud_sdk_python_ags-3.1.149}/tencentcloud/ags/v20250920/ags_client.py +0 -0
- {tencentcloud_sdk_python_ags-3.1.132 → tencentcloud_sdk_python_ags-3.1.149}/tencentcloud/ags/v20250920/ags_client_async.py +0 -0
- {tencentcloud_sdk_python_ags-3.1.132 → tencentcloud_sdk_python_ags-3.1.149}/tencentcloud_sdk_python_ags.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ags-3.1.132 → tencentcloud_sdk_python_ags-3.1.149}/tencentcloud_sdk_python_ags.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ags-3.1.132 → tencentcloud_sdk_python_ags-3.1.149}/tencentcloud_sdk_python_ags.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ags
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.149
|
|
4
4
|
Summary: Tencent Cloud Ags SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.149
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ags',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.149,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ags SDK for Python',
|
|
@@ -23,6 +23,9 @@ AUTHFAILURE_UNAUTHORIZEDOPERATION = 'AuthFailure.UnauthorizedOperation'
|
|
|
23
23
|
# 操作失败。
|
|
24
24
|
FAILEDOPERATION = 'FailedOperation'
|
|
25
25
|
|
|
26
|
+
# 依赖服务不可用或超时
|
|
27
|
+
FAILEDOPERATION_DEPENDENCYUNAVAILABLE = 'FailedOperation.DependencyUnavailable'
|
|
28
|
+
|
|
26
29
|
# 重复请求(幂等性检查)
|
|
27
30
|
FAILEDOPERATION_DUPLICATEREQUEST = 'FailedOperation.DuplicateRequest'
|
|
28
31
|
|
|
@@ -38,6 +41,9 @@ INTERNALERROR = 'InternalError'
|
|
|
38
41
|
# 网络初始化失败
|
|
39
42
|
INTERNALERROR_NETWORKSETUPFAILED = 'InternalError.NetworkSetupFailed'
|
|
40
43
|
|
|
44
|
+
# 未分类内部错误
|
|
45
|
+
INTERNALERROR_UNKNOWN = 'InternalError.Unknown'
|
|
46
|
+
|
|
41
47
|
# VPC服务不可用
|
|
42
48
|
INTERNALERROR_VPCSERVICEUNAVAILABLE = 'InternalError.VPCServiceUnavailable'
|
|
43
49
|
|
|
@@ -92,6 +98,9 @@ MISSINGPARAMETER_ROLEARN = 'MissingParameter.RoleArn'
|
|
|
92
98
|
# VPC网络模式缺少必需参数
|
|
93
99
|
MISSINGPARAMETER_VPCPARAMETERS = 'MissingParameter.VPCParameters'
|
|
94
100
|
|
|
101
|
+
# 资源被占用。
|
|
102
|
+
RESOURCEINUSE = 'ResourceInUse'
|
|
103
|
+
|
|
95
104
|
# 沙箱工具正在使用中
|
|
96
105
|
RESOURCEINUSE_SANDBOXTOOL = 'ResourceInUse.SandboxTool'
|
|
97
106
|
|
|
@@ -113,6 +122,9 @@ RESOURCENOTFOUND_STORAGEMOUNT = 'ResourceNotFound.StorageMount'
|
|
|
113
122
|
# 子网不存在或不属于用户
|
|
114
123
|
RESOURCENOTFOUND_SUBNET = 'ResourceNotFound.Subnet'
|
|
115
124
|
|
|
125
|
+
# 资源不可用。
|
|
126
|
+
RESOURCEUNAVAILABLE = 'ResourceUnavailable'
|
|
127
|
+
|
|
116
128
|
# 沙箱工具不可用
|
|
117
129
|
RESOURCEUNAVAILABLE_SANDBOXTOOL = 'ResourceUnavailable.SandboxTool'
|
|
118
130
|
|
|
@@ -223,6 +223,72 @@ class AcquireSandboxInstanceTokenResponse(AbstractModel):
|
|
|
223
223
|
self._RequestId = params.get("RequestId")
|
|
224
224
|
|
|
225
225
|
|
|
226
|
+
class AgentBucketStorageSource(AbstractModel):
|
|
227
|
+
r"""用于记录 Agent Bucket 的 Storage Source
|
|
228
|
+
|
|
229
|
+
"""
|
|
230
|
+
|
|
231
|
+
def __init__(self):
|
|
232
|
+
r"""
|
|
233
|
+
:param _LibraryId: <p>用于传入 AgentBucket 的 LibraryID</p>
|
|
234
|
+
:type LibraryId: str
|
|
235
|
+
:param _SpaceId: <p>用于传入 AgentBucket 的 spaceId</p>
|
|
236
|
+
:type SpaceId: str
|
|
237
|
+
:param _AccessDomain: <p>用于传入 AgentBucket 的 AccessDomain</p>
|
|
238
|
+
:type AccessDomain: str
|
|
239
|
+
"""
|
|
240
|
+
self._LibraryId = None
|
|
241
|
+
self._SpaceId = None
|
|
242
|
+
self._AccessDomain = None
|
|
243
|
+
|
|
244
|
+
@property
|
|
245
|
+
def LibraryId(self):
|
|
246
|
+
r"""<p>用于传入 AgentBucket 的 LibraryID</p>
|
|
247
|
+
:rtype: str
|
|
248
|
+
"""
|
|
249
|
+
return self._LibraryId
|
|
250
|
+
|
|
251
|
+
@LibraryId.setter
|
|
252
|
+
def LibraryId(self, LibraryId):
|
|
253
|
+
self._LibraryId = LibraryId
|
|
254
|
+
|
|
255
|
+
@property
|
|
256
|
+
def SpaceId(self):
|
|
257
|
+
r"""<p>用于传入 AgentBucket 的 spaceId</p>
|
|
258
|
+
:rtype: str
|
|
259
|
+
"""
|
|
260
|
+
return self._SpaceId
|
|
261
|
+
|
|
262
|
+
@SpaceId.setter
|
|
263
|
+
def SpaceId(self, SpaceId):
|
|
264
|
+
self._SpaceId = SpaceId
|
|
265
|
+
|
|
266
|
+
@property
|
|
267
|
+
def AccessDomain(self):
|
|
268
|
+
r"""<p>用于传入 AgentBucket 的 AccessDomain</p>
|
|
269
|
+
:rtype: str
|
|
270
|
+
"""
|
|
271
|
+
return self._AccessDomain
|
|
272
|
+
|
|
273
|
+
@AccessDomain.setter
|
|
274
|
+
def AccessDomain(self, AccessDomain):
|
|
275
|
+
self._AccessDomain = AccessDomain
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
def _deserialize(self, params):
|
|
279
|
+
self._LibraryId = params.get("LibraryId")
|
|
280
|
+
self._SpaceId = params.get("SpaceId")
|
|
281
|
+
self._AccessDomain = params.get("AccessDomain")
|
|
282
|
+
memeber_set = set(params.keys())
|
|
283
|
+
for name, value in vars(self).items():
|
|
284
|
+
property_name = name[1:]
|
|
285
|
+
if property_name in memeber_set:
|
|
286
|
+
memeber_set.remove(property_name)
|
|
287
|
+
if len(memeber_set) > 0:
|
|
288
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
226
292
|
class CLSConfig(AbstractModel):
|
|
227
293
|
r"""沙箱工具日志推送CLS相关配置
|
|
228
294
|
|
|
@@ -496,12 +562,9 @@ class CreatePreCacheImageTaskRequest(AbstractModel):
|
|
|
496
562
|
:type Image: str
|
|
497
563
|
:param _ImageRegistryType: <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>、<code>custom</code></p><p>枚举值:</p><ul><li>enterprise: tcr 企业容器镜像服务</li><li>personal: ccr 个人容器镜像服务</li></ul>
|
|
498
564
|
:type ImageRegistryType: str
|
|
499
|
-
:param _TimeoutMinutes: <p>预热超时时长</p>
|
|
500
|
-
:type TimeoutMinutes: int
|
|
501
565
|
"""
|
|
502
566
|
self._Image = None
|
|
503
567
|
self._ImageRegistryType = None
|
|
504
|
-
self._TimeoutMinutes = None
|
|
505
568
|
|
|
506
569
|
@property
|
|
507
570
|
def Image(self):
|
|
@@ -525,22 +588,10 @@ class CreatePreCacheImageTaskRequest(AbstractModel):
|
|
|
525
588
|
def ImageRegistryType(self, ImageRegistryType):
|
|
526
589
|
self._ImageRegistryType = ImageRegistryType
|
|
527
590
|
|
|
528
|
-
@property
|
|
529
|
-
def TimeoutMinutes(self):
|
|
530
|
-
r"""<p>预热超时时长</p>
|
|
531
|
-
:rtype: int
|
|
532
|
-
"""
|
|
533
|
-
return self._TimeoutMinutes
|
|
534
|
-
|
|
535
|
-
@TimeoutMinutes.setter
|
|
536
|
-
def TimeoutMinutes(self, TimeoutMinutes):
|
|
537
|
-
self._TimeoutMinutes = TimeoutMinutes
|
|
538
|
-
|
|
539
591
|
|
|
540
592
|
def _deserialize(self, params):
|
|
541
593
|
self._Image = params.get("Image")
|
|
542
594
|
self._ImageRegistryType = params.get("ImageRegistryType")
|
|
543
|
-
self._TimeoutMinutes = params.get("TimeoutMinutes")
|
|
544
595
|
memeber_set = set(params.keys())
|
|
545
596
|
for name, value in vars(self).items():
|
|
546
597
|
property_name = name[1:]
|
|
@@ -893,7 +944,7 @@ class CustomConfiguration(AbstractModel):
|
|
|
893
944
|
r"""
|
|
894
945
|
:param _Image: <p>镜像地址</p>
|
|
895
946
|
:type Image: str
|
|
896
|
-
:param _ImageRegistryType: <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code
|
|
947
|
+
:param _ImageRegistryType: <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>、<code>custom</code></p><p>枚举值:</p><ul><li>enterprise: tcr 企业容器镜像服务</li><li>personal: ccr 个人容器镜像服务</li></ul>
|
|
897
948
|
:type ImageRegistryType: str
|
|
898
949
|
:param _Command: <p>启动命令</p>
|
|
899
950
|
:type Command: list of str
|
|
@@ -933,7 +984,7 @@ class CustomConfiguration(AbstractModel):
|
|
|
933
984
|
|
|
934
985
|
@property
|
|
935
986
|
def ImageRegistryType(self):
|
|
936
|
-
r"""<p>镜像仓库类型:<code>enterprise</code>、<code>personal</code
|
|
987
|
+
r"""<p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>、<code>custom</code></p><p>枚举值:</p><ul><li>enterprise: tcr 企业容器镜像服务</li><li>personal: ccr 个人容器镜像服务</li></ul>
|
|
937
988
|
:rtype: str
|
|
938
989
|
"""
|
|
939
990
|
return self._ImageRegistryType
|
|
@@ -1065,7 +1116,7 @@ class CustomConfigurationDetail(AbstractModel):
|
|
|
1065
1116
|
r"""
|
|
1066
1117
|
:param _Image: <p>镜像地址</p>
|
|
1067
1118
|
:type Image: str
|
|
1068
|
-
:param _ImageRegistryType: <p>镜像仓库类型:<code>
|
|
1119
|
+
:param _ImageRegistryType: <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>、<code>custom</code>。</p><p>枚举值:</p><ul><li>enterprise: TCR 企业容器镜像服务</li><li>personal: CCR 个人容器镜像服务</li></ul>
|
|
1069
1120
|
:type ImageRegistryType: str
|
|
1070
1121
|
:param _ImageDigest: <p>镜像 Digest</p>
|
|
1071
1122
|
:type ImageDigest: str
|
|
@@ -1108,7 +1159,7 @@ class CustomConfigurationDetail(AbstractModel):
|
|
|
1108
1159
|
|
|
1109
1160
|
@property
|
|
1110
1161
|
def ImageRegistryType(self):
|
|
1111
|
-
r"""<p>镜像仓库类型:<code>
|
|
1162
|
+
r"""<p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>、<code>custom</code>。</p><p>枚举值:</p><ul><li>enterprise: TCR 企业容器镜像服务</li><li>personal: CCR 个人容器镜像服务</li></ul>
|
|
1112
1163
|
:rtype: str
|
|
1113
1164
|
"""
|
|
1114
1165
|
return self._ImageRegistryType
|
|
@@ -1513,11 +1564,11 @@ class DescribePreCacheImageTaskRequest(AbstractModel):
|
|
|
1513
1564
|
|
|
1514
1565
|
def __init__(self):
|
|
1515
1566
|
r"""
|
|
1516
|
-
:param _Image:
|
|
1567
|
+
:param _Image: <p>镜像地址</p>
|
|
1517
1568
|
:type Image: str
|
|
1518
|
-
:param _ImageDigest:
|
|
1569
|
+
:param _ImageDigest: <p>镜像 Digest</p>
|
|
1519
1570
|
:type ImageDigest: str
|
|
1520
|
-
:param _ImageRegistryType:
|
|
1571
|
+
:param _ImageRegistryType: <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>、<code>custom</code> 。</p><p>枚举值:</p><ul><li>enterprise: tcr 企业容器镜像服务</li><li>personal: ccr 个人容器镜像服务</li></ul>
|
|
1521
1572
|
:type ImageRegistryType: str
|
|
1522
1573
|
"""
|
|
1523
1574
|
self._Image = None
|
|
@@ -1526,7 +1577,7 @@ class DescribePreCacheImageTaskRequest(AbstractModel):
|
|
|
1526
1577
|
|
|
1527
1578
|
@property
|
|
1528
1579
|
def Image(self):
|
|
1529
|
-
r"""
|
|
1580
|
+
r"""<p>镜像地址</p>
|
|
1530
1581
|
:rtype: str
|
|
1531
1582
|
"""
|
|
1532
1583
|
return self._Image
|
|
@@ -1537,7 +1588,7 @@ class DescribePreCacheImageTaskRequest(AbstractModel):
|
|
|
1537
1588
|
|
|
1538
1589
|
@property
|
|
1539
1590
|
def ImageDigest(self):
|
|
1540
|
-
r"""
|
|
1591
|
+
r"""<p>镜像 Digest</p>
|
|
1541
1592
|
:rtype: str
|
|
1542
1593
|
"""
|
|
1543
1594
|
return self._ImageDigest
|
|
@@ -1548,7 +1599,7 @@ class DescribePreCacheImageTaskRequest(AbstractModel):
|
|
|
1548
1599
|
|
|
1549
1600
|
@property
|
|
1550
1601
|
def ImageRegistryType(self):
|
|
1551
|
-
r"""
|
|
1602
|
+
r"""<p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>、<code>custom</code> 。</p><p>枚举值:</p><ul><li>enterprise: tcr 企业容器镜像服务</li><li>personal: ccr 个人容器镜像服务</li></ul>
|
|
1552
1603
|
:rtype: str
|
|
1553
1604
|
"""
|
|
1554
1605
|
return self._ImageRegistryType
|
|
@@ -1579,15 +1630,15 @@ class DescribePreCacheImageTaskResponse(AbstractModel):
|
|
|
1579
1630
|
|
|
1580
1631
|
def __init__(self):
|
|
1581
1632
|
r"""
|
|
1582
|
-
:param _Image:
|
|
1633
|
+
:param _Image: <p>镜像地址</p>
|
|
1583
1634
|
:type Image: str
|
|
1584
|
-
:param _ImageDigest:
|
|
1635
|
+
:param _ImageDigest: <p>镜像 Digest</p>
|
|
1585
1636
|
:type ImageDigest: str
|
|
1586
|
-
:param _ImageRegistryType:
|
|
1637
|
+
:param _ImageRegistryType: <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>。</p>
|
|
1587
1638
|
:type ImageRegistryType: str
|
|
1588
|
-
:param _Status:
|
|
1639
|
+
:param _Status: <p>镜像预热状态</p>
|
|
1589
1640
|
:type Status: str
|
|
1590
|
-
:param _Message:
|
|
1641
|
+
:param _Message: <p>镜像预热状态描述</p>
|
|
1591
1642
|
:type Message: str
|
|
1592
1643
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1593
1644
|
:type RequestId: str
|
|
@@ -1601,7 +1652,7 @@ class DescribePreCacheImageTaskResponse(AbstractModel):
|
|
|
1601
1652
|
|
|
1602
1653
|
@property
|
|
1603
1654
|
def Image(self):
|
|
1604
|
-
r"""
|
|
1655
|
+
r"""<p>镜像地址</p>
|
|
1605
1656
|
:rtype: str
|
|
1606
1657
|
"""
|
|
1607
1658
|
return self._Image
|
|
@@ -1612,7 +1663,7 @@ class DescribePreCacheImageTaskResponse(AbstractModel):
|
|
|
1612
1663
|
|
|
1613
1664
|
@property
|
|
1614
1665
|
def ImageDigest(self):
|
|
1615
|
-
r"""
|
|
1666
|
+
r"""<p>镜像 Digest</p>
|
|
1616
1667
|
:rtype: str
|
|
1617
1668
|
"""
|
|
1618
1669
|
return self._ImageDigest
|
|
@@ -1623,7 +1674,7 @@ class DescribePreCacheImageTaskResponse(AbstractModel):
|
|
|
1623
1674
|
|
|
1624
1675
|
@property
|
|
1625
1676
|
def ImageRegistryType(self):
|
|
1626
|
-
r"""
|
|
1677
|
+
r"""<p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>。</p>
|
|
1627
1678
|
:rtype: str
|
|
1628
1679
|
"""
|
|
1629
1680
|
return self._ImageRegistryType
|
|
@@ -1634,7 +1685,7 @@ class DescribePreCacheImageTaskResponse(AbstractModel):
|
|
|
1634
1685
|
|
|
1635
1686
|
@property
|
|
1636
1687
|
def Status(self):
|
|
1637
|
-
r"""
|
|
1688
|
+
r"""<p>镜像预热状态</p>
|
|
1638
1689
|
:rtype: str
|
|
1639
1690
|
"""
|
|
1640
1691
|
return self._Status
|
|
@@ -1645,7 +1696,7 @@ class DescribePreCacheImageTaskResponse(AbstractModel):
|
|
|
1645
1696
|
|
|
1646
1697
|
@property
|
|
1647
1698
|
def Message(self):
|
|
1648
|
-
r"""
|
|
1699
|
+
r"""<p>镜像预热状态描述</p>
|
|
1649
1700
|
:rtype: str
|
|
1650
1701
|
"""
|
|
1651
1702
|
return self._Message
|
|
@@ -2163,13 +2214,13 @@ class ImageStorageSource(AbstractModel):
|
|
|
2163
2214
|
|
|
2164
2215
|
def __init__(self):
|
|
2165
2216
|
r"""
|
|
2166
|
-
:param _Reference:
|
|
2217
|
+
:param _Reference: <p>镜像地址</p>
|
|
2167
2218
|
:type Reference: str
|
|
2168
|
-
:param _ImageRegistryType:
|
|
2219
|
+
:param _ImageRegistryType: <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>。</p>
|
|
2169
2220
|
:type ImageRegistryType: str
|
|
2170
|
-
:param _SubPath:
|
|
2221
|
+
:param _SubPath: <p>镜像内部的路径</p>
|
|
2171
2222
|
:type SubPath: str
|
|
2172
|
-
:param _Digest:
|
|
2223
|
+
:param _Digest: <p>镜像 Digest,请求时无需传入</p>
|
|
2173
2224
|
:type Digest: str
|
|
2174
2225
|
"""
|
|
2175
2226
|
self._Reference = None
|
|
@@ -2179,7 +2230,7 @@ class ImageStorageSource(AbstractModel):
|
|
|
2179
2230
|
|
|
2180
2231
|
@property
|
|
2181
2232
|
def Reference(self):
|
|
2182
|
-
r"""
|
|
2233
|
+
r"""<p>镜像地址</p>
|
|
2183
2234
|
:rtype: str
|
|
2184
2235
|
"""
|
|
2185
2236
|
return self._Reference
|
|
@@ -2190,7 +2241,7 @@ class ImageStorageSource(AbstractModel):
|
|
|
2190
2241
|
|
|
2191
2242
|
@property
|
|
2192
2243
|
def ImageRegistryType(self):
|
|
2193
|
-
r"""
|
|
2244
|
+
r"""<p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>。</p>
|
|
2194
2245
|
:rtype: str
|
|
2195
2246
|
"""
|
|
2196
2247
|
return self._ImageRegistryType
|
|
@@ -2201,7 +2252,7 @@ class ImageStorageSource(AbstractModel):
|
|
|
2201
2252
|
|
|
2202
2253
|
@property
|
|
2203
2254
|
def SubPath(self):
|
|
2204
|
-
r"""
|
|
2255
|
+
r"""<p>镜像内部的路径</p>
|
|
2205
2256
|
:rtype: str
|
|
2206
2257
|
"""
|
|
2207
2258
|
return self._SubPath
|
|
@@ -2212,7 +2263,7 @@ class ImageStorageSource(AbstractModel):
|
|
|
2212
2263
|
|
|
2213
2264
|
@property
|
|
2214
2265
|
def Digest(self):
|
|
2215
|
-
r"""
|
|
2266
|
+
r"""<p>镜像 Digest,请求时无需传入</p>
|
|
2216
2267
|
:rtype: str
|
|
2217
2268
|
"""
|
|
2218
2269
|
return self._Digest
|
|
@@ -2524,8 +2575,11 @@ class PauseSandboxInstanceRequest(AbstractModel):
|
|
|
2524
2575
|
r"""
|
|
2525
2576
|
:param _InstanceId: <p>沙箱实例ID</p>
|
|
2526
2577
|
:type InstanceId: str
|
|
2578
|
+
:param _Memory: <p>可选。带内存暂停,恢复后保留进程和内存状态。true=带内存;false=仅磁盘;不传=系统默认(当前默认 true,带内存)。</p>
|
|
2579
|
+
:type Memory: bool
|
|
2527
2580
|
"""
|
|
2528
2581
|
self._InstanceId = None
|
|
2582
|
+
self._Memory = None
|
|
2529
2583
|
|
|
2530
2584
|
@property
|
|
2531
2585
|
def InstanceId(self):
|
|
@@ -2538,9 +2592,21 @@ class PauseSandboxInstanceRequest(AbstractModel):
|
|
|
2538
2592
|
def InstanceId(self, InstanceId):
|
|
2539
2593
|
self._InstanceId = InstanceId
|
|
2540
2594
|
|
|
2595
|
+
@property
|
|
2596
|
+
def Memory(self):
|
|
2597
|
+
r"""<p>可选。带内存暂停,恢复后保留进程和内存状态。true=带内存;false=仅磁盘;不传=系统默认(当前默认 true,带内存)。</p>
|
|
2598
|
+
:rtype: bool
|
|
2599
|
+
"""
|
|
2600
|
+
return self._Memory
|
|
2601
|
+
|
|
2602
|
+
@Memory.setter
|
|
2603
|
+
def Memory(self, Memory):
|
|
2604
|
+
self._Memory = Memory
|
|
2605
|
+
|
|
2541
2606
|
|
|
2542
2607
|
def _deserialize(self, params):
|
|
2543
2608
|
self._InstanceId = params.get("InstanceId")
|
|
2609
|
+
self._Memory = params.get("Memory")
|
|
2544
2610
|
memeber_set = set(params.keys())
|
|
2545
2611
|
for name, value in vars(self).items():
|
|
2546
2612
|
property_name = name[1:]
|
|
@@ -2848,14 +2914,17 @@ class ResumeSandboxInstanceRequest(AbstractModel):
|
|
|
2848
2914
|
|
|
2849
2915
|
def __init__(self):
|
|
2850
2916
|
r"""
|
|
2851
|
-
:param _InstanceId:
|
|
2917
|
+
:param _InstanceId: <p>沙箱实例ID</p>
|
|
2852
2918
|
:type InstanceId: str
|
|
2919
|
+
:param _Timeout: <p>超时时间,超过这个时间就自动回收实例。支持格式:5m、300s、1h 等,默认 5m。最小 30s,最大 24h</p>
|
|
2920
|
+
:type Timeout: str
|
|
2853
2921
|
"""
|
|
2854
2922
|
self._InstanceId = None
|
|
2923
|
+
self._Timeout = None
|
|
2855
2924
|
|
|
2856
2925
|
@property
|
|
2857
2926
|
def InstanceId(self):
|
|
2858
|
-
r"""
|
|
2927
|
+
r"""<p>沙箱实例ID</p>
|
|
2859
2928
|
:rtype: str
|
|
2860
2929
|
"""
|
|
2861
2930
|
return self._InstanceId
|
|
@@ -2864,9 +2933,21 @@ class ResumeSandboxInstanceRequest(AbstractModel):
|
|
|
2864
2933
|
def InstanceId(self, InstanceId):
|
|
2865
2934
|
self._InstanceId = InstanceId
|
|
2866
2935
|
|
|
2936
|
+
@property
|
|
2937
|
+
def Timeout(self):
|
|
2938
|
+
r"""<p>超时时间,超过这个时间就自动回收实例。支持格式:5m、300s、1h 等,默认 5m。最小 30s,最大 24h</p>
|
|
2939
|
+
:rtype: str
|
|
2940
|
+
"""
|
|
2941
|
+
return self._Timeout
|
|
2942
|
+
|
|
2943
|
+
@Timeout.setter
|
|
2944
|
+
def Timeout(self, Timeout):
|
|
2945
|
+
self._Timeout = Timeout
|
|
2946
|
+
|
|
2867
2947
|
|
|
2868
2948
|
def _deserialize(self, params):
|
|
2869
2949
|
self._InstanceId = params.get("InstanceId")
|
|
2950
|
+
self._Timeout = params.get("Timeout")
|
|
2870
2951
|
memeber_set = set(params.keys())
|
|
2871
2952
|
for name, value in vars(self).items():
|
|
2872
2953
|
property_name = name[1:]
|
|
@@ -3459,7 +3540,7 @@ class StartSandboxInstanceRequest(AbstractModel):
|
|
|
3459
3540
|
:type MountOptions: list of MountOption
|
|
3460
3541
|
:param _CustomConfiguration: <p>沙箱实例自定义配置</p>
|
|
3461
3542
|
:type CustomConfiguration: :class:`tencentcloud.ags.v20250920.models.CustomConfiguration`
|
|
3462
|
-
:param _AuthMode: <p>沙箱访问认证模式</p><p>枚举值:</p><ul><li>DEFAULT: 默认,即
|
|
3543
|
+
:param _AuthMode: <p>沙箱访问认证模式</p><p>枚举值:</p><ul><li>DEFAULT: 默认,即TOKEN认证</li><li>TOKEN: Token认证,即所有端口访问都需携带Token</li><li>NONE: 免认证,即所有端口访问无需携带Token</li><li>PUBLIC: 公开模式,即ENVD管理端口(49983)访问需携带Token,其他端口无需携带Token</li></ul><p>默认值:DEFAULT</p>
|
|
3463
3544
|
:type AuthMode: str
|
|
3464
3545
|
:param _Metadata: <p>沙箱元数据</p>
|
|
3465
3546
|
:type Metadata: list of MetadataVar
|
|
@@ -3541,7 +3622,7 @@ class StartSandboxInstanceRequest(AbstractModel):
|
|
|
3541
3622
|
|
|
3542
3623
|
@property
|
|
3543
3624
|
def AuthMode(self):
|
|
3544
|
-
r"""<p>沙箱访问认证模式</p><p>枚举值:</p><ul><li>DEFAULT: 默认,即
|
|
3625
|
+
r"""<p>沙箱访问认证模式</p><p>枚举值:</p><ul><li>DEFAULT: 默认,即TOKEN认证</li><li>TOKEN: Token认证,即所有端口访问都需携带Token</li><li>NONE: 免认证,即所有端口访问无需携带Token</li><li>PUBLIC: 公开模式,即ENVD管理端口(49983)访问需携带Token,其他端口无需携带Token</li></ul><p>默认值:DEFAULT</p>
|
|
3545
3626
|
:rtype: str
|
|
3546
3627
|
"""
|
|
3547
3628
|
return self._AuthMode
|
|
@@ -3709,13 +3790,14 @@ class StorageMount(AbstractModel):
|
|
|
3709
3790
|
|
|
3710
3791
|
def __init__(self):
|
|
3711
3792
|
r"""
|
|
3712
|
-
:param _Name:
|
|
3793
|
+
:param _Name: <p>存储挂载配置名称</p>
|
|
3713
3794
|
:type Name: str
|
|
3714
|
-
:param _StorageSource:
|
|
3795
|
+
:param _StorageSource: <p>存储配置</p>
|
|
3796
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3715
3797
|
:type StorageSource: :class:`tencentcloud.ags.v20250920.models.StorageSource`
|
|
3716
|
-
:param _MountPath:
|
|
3798
|
+
:param _MountPath: <p>沙箱实例本地挂载路径</p>
|
|
3717
3799
|
:type MountPath: str
|
|
3718
|
-
:param _ReadOnly:
|
|
3800
|
+
:param _ReadOnly: <p>存储挂载读写权限配置,默认为false</p>
|
|
3719
3801
|
:type ReadOnly: bool
|
|
3720
3802
|
"""
|
|
3721
3803
|
self._Name = None
|
|
@@ -3725,7 +3807,7 @@ class StorageMount(AbstractModel):
|
|
|
3725
3807
|
|
|
3726
3808
|
@property
|
|
3727
3809
|
def Name(self):
|
|
3728
|
-
r"""
|
|
3810
|
+
r"""<p>存储挂载配置名称</p>
|
|
3729
3811
|
:rtype: str
|
|
3730
3812
|
"""
|
|
3731
3813
|
return self._Name
|
|
@@ -3736,7 +3818,8 @@ class StorageMount(AbstractModel):
|
|
|
3736
3818
|
|
|
3737
3819
|
@property
|
|
3738
3820
|
def StorageSource(self):
|
|
3739
|
-
r"""
|
|
3821
|
+
r"""<p>存储配置</p>
|
|
3822
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3740
3823
|
:rtype: :class:`tencentcloud.ags.v20250920.models.StorageSource`
|
|
3741
3824
|
"""
|
|
3742
3825
|
return self._StorageSource
|
|
@@ -3747,7 +3830,7 @@ class StorageMount(AbstractModel):
|
|
|
3747
3830
|
|
|
3748
3831
|
@property
|
|
3749
3832
|
def MountPath(self):
|
|
3750
|
-
r"""
|
|
3833
|
+
r"""<p>沙箱实例本地挂载路径</p>
|
|
3751
3834
|
:rtype: str
|
|
3752
3835
|
"""
|
|
3753
3836
|
return self._MountPath
|
|
@@ -3758,7 +3841,7 @@ class StorageMount(AbstractModel):
|
|
|
3758
3841
|
|
|
3759
3842
|
@property
|
|
3760
3843
|
def ReadOnly(self):
|
|
3761
|
-
r"""
|
|
3844
|
+
r"""<p>存储挂载读写权限配置,默认为false</p>
|
|
3762
3845
|
:rtype: bool
|
|
3763
3846
|
"""
|
|
3764
3847
|
return self._ReadOnly
|
|
@@ -3798,10 +3881,13 @@ class StorageSource(AbstractModel):
|
|
|
3798
3881
|
:type Image: :class:`tencentcloud.ags.v20250920.models.ImageStorageSource`
|
|
3799
3882
|
:param _Cfs: <p>文件存储配置</p>
|
|
3800
3883
|
:type Cfs: :class:`tencentcloud.ags.v20250920.models.CfsStorageSource`
|
|
3884
|
+
:param _AgentBucket: <p>AgentBucket 存储配置</p>
|
|
3885
|
+
:type AgentBucket: :class:`tencentcloud.ags.v20250920.models.AgentBucketStorageSource`
|
|
3801
3886
|
"""
|
|
3802
3887
|
self._Cos = None
|
|
3803
3888
|
self._Image = None
|
|
3804
3889
|
self._Cfs = None
|
|
3890
|
+
self._AgentBucket = None
|
|
3805
3891
|
|
|
3806
3892
|
@property
|
|
3807
3893
|
def Cos(self):
|
|
@@ -3836,6 +3922,17 @@ class StorageSource(AbstractModel):
|
|
|
3836
3922
|
def Cfs(self, Cfs):
|
|
3837
3923
|
self._Cfs = Cfs
|
|
3838
3924
|
|
|
3925
|
+
@property
|
|
3926
|
+
def AgentBucket(self):
|
|
3927
|
+
r"""<p>AgentBucket 存储配置</p>
|
|
3928
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.AgentBucketStorageSource`
|
|
3929
|
+
"""
|
|
3930
|
+
return self._AgentBucket
|
|
3931
|
+
|
|
3932
|
+
@AgentBucket.setter
|
|
3933
|
+
def AgentBucket(self, AgentBucket):
|
|
3934
|
+
self._AgentBucket = AgentBucket
|
|
3935
|
+
|
|
3839
3936
|
|
|
3840
3937
|
def _deserialize(self, params):
|
|
3841
3938
|
if params.get("Cos") is not None:
|
|
@@ -3847,6 +3944,9 @@ class StorageSource(AbstractModel):
|
|
|
3847
3944
|
if params.get("Cfs") is not None:
|
|
3848
3945
|
self._Cfs = CfsStorageSource()
|
|
3849
3946
|
self._Cfs._deserialize(params.get("Cfs"))
|
|
3947
|
+
if params.get("AgentBucket") is not None:
|
|
3948
|
+
self._AgentBucket = AgentBucketStorageSource()
|
|
3949
|
+
self._AgentBucket._deserialize(params.get("AgentBucket"))
|
|
3850
3950
|
memeber_set = set(params.keys())
|
|
3851
3951
|
for name, value in vars(self).items():
|
|
3852
3952
|
property_name = name[1:]
|
|
@@ -4147,9 +4247,9 @@ class VPCConfig(AbstractModel):
|
|
|
4147
4247
|
|
|
4148
4248
|
def __init__(self):
|
|
4149
4249
|
r"""
|
|
4150
|
-
:param _SubnetIds: VPC子网ID
|
|
4250
|
+
:param _SubnetIds: <p>VPC子网ID列表</p>
|
|
4151
4251
|
:type SubnetIds: list of str
|
|
4152
|
-
:param _SecurityGroupIds:
|
|
4252
|
+
:param _SecurityGroupIds: <p>安全组ID列表</p>
|
|
4153
4253
|
:type SecurityGroupIds: list of str
|
|
4154
4254
|
"""
|
|
4155
4255
|
self._SubnetIds = None
|
|
@@ -4157,7 +4257,7 @@ class VPCConfig(AbstractModel):
|
|
|
4157
4257
|
|
|
4158
4258
|
@property
|
|
4159
4259
|
def SubnetIds(self):
|
|
4160
|
-
r"""VPC子网ID
|
|
4260
|
+
r"""<p>VPC子网ID列表</p>
|
|
4161
4261
|
:rtype: list of str
|
|
4162
4262
|
"""
|
|
4163
4263
|
return self._SubnetIds
|
|
@@ -4168,7 +4268,7 @@ class VPCConfig(AbstractModel):
|
|
|
4168
4268
|
|
|
4169
4269
|
@property
|
|
4170
4270
|
def SecurityGroupIds(self):
|
|
4171
|
-
r"""
|
|
4271
|
+
r"""<p>安全组ID列表</p>
|
|
4172
4272
|
:rtype: list of str
|
|
4173
4273
|
"""
|
|
4174
4274
|
return self._SecurityGroupIds
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ags
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.149
|
|
4
4
|
Summary: Tencent Cloud Ags SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.149
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.149
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.132
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|