tencentcloud-sdk-python-ags 3.1.59__tar.gz → 3.1.67__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.59 → tencentcloud_sdk_python_ags-3.1.67}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ags-3.1.59 → tencentcloud_sdk_python_ags-3.1.67}/setup.py +1 -1
- {tencentcloud_sdk_python_ags-3.1.59 → tencentcloud_sdk_python_ags-3.1.67}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ags-3.1.59 → tencentcloud_sdk_python_ags-3.1.67}/tencentcloud/ags/v20250920/models.py +295 -54
- {tencentcloud_sdk_python_ags-3.1.59 → tencentcloud_sdk_python_ags-3.1.67}/tencentcloud_sdk_python_ags.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ags-3.1.67/tencentcloud_sdk_python_ags.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ags-3.1.59/tencentcloud_sdk_python_ags.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ags-3.1.59 → tencentcloud_sdk_python_ags-3.1.67}/README.rst +0 -0
- {tencentcloud_sdk_python_ags-3.1.59 → tencentcloud_sdk_python_ags-3.1.67}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ags-3.1.59 → tencentcloud_sdk_python_ags-3.1.67}/tencentcloud/ags/__init__.py +0 -0
- {tencentcloud_sdk_python_ags-3.1.59 → tencentcloud_sdk_python_ags-3.1.67}/tencentcloud/ags/v20250920/__init__.py +0 -0
- {tencentcloud_sdk_python_ags-3.1.59 → tencentcloud_sdk_python_ags-3.1.67}/tencentcloud/ags/v20250920/ags_client.py +0 -0
- {tencentcloud_sdk_python_ags-3.1.59 → tencentcloud_sdk_python_ags-3.1.67}/tencentcloud/ags/v20250920/ags_client_async.py +0 -0
- {tencentcloud_sdk_python_ags-3.1.59 → tencentcloud_sdk_python_ags-3.1.67}/tencentcloud/ags/v20250920/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ags-3.1.59 → tencentcloud_sdk_python_ags-3.1.67}/tencentcloud_sdk_python_ags.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ags-3.1.59 → tencentcloud_sdk_python_ags-3.1.67}/tencentcloud_sdk_python_ags.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ags-3.1.59 → tencentcloud_sdk_python_ags-3.1.67}/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.67
|
|
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.67
|
|
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.67,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ags SDK for Python',
|
|
@@ -846,22 +846,24 @@ class CustomConfiguration(AbstractModel):
|
|
|
846
846
|
|
|
847
847
|
def __init__(self):
|
|
848
848
|
r"""
|
|
849
|
-
:param _Image:
|
|
849
|
+
:param _Image: <p>镜像地址</p>
|
|
850
850
|
:type Image: str
|
|
851
|
-
:param _ImageRegistryType:
|
|
851
|
+
:param _ImageRegistryType: <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>。</p>
|
|
852
852
|
:type ImageRegistryType: str
|
|
853
|
-
:param _Command:
|
|
853
|
+
:param _Command: <p>启动命令</p>
|
|
854
854
|
:type Command: list of str
|
|
855
|
-
:param _Args:
|
|
855
|
+
:param _Args: <p>启动参数</p>
|
|
856
856
|
:type Args: list of str
|
|
857
|
-
:param _Env:
|
|
857
|
+
:param _Env: <p>环境变量</p>
|
|
858
858
|
:type Env: list of EnvVar
|
|
859
|
-
:param _Ports:
|
|
859
|
+
:param _Ports: <p>端口配置</p>
|
|
860
860
|
:type Ports: list of PortConfiguration
|
|
861
|
-
:param _Resources:
|
|
861
|
+
:param _Resources: <p>资源配置</p>
|
|
862
862
|
:type Resources: :class:`tencentcloud.ags.v20250920.models.ResourceConfiguration`
|
|
863
|
-
:param _Probe:
|
|
863
|
+
:param _Probe: <p>探针配置</p>
|
|
864
864
|
:type Probe: :class:`tencentcloud.ags.v20250920.models.ProbeConfiguration`
|
|
865
|
+
:param _DNSConfig: <p>沙箱 DNS 配置</p>
|
|
866
|
+
:type DNSConfig: :class:`tencentcloud.ags.v20250920.models.DNSConfig`
|
|
865
867
|
"""
|
|
866
868
|
self._Image = None
|
|
867
869
|
self._ImageRegistryType = None
|
|
@@ -871,10 +873,11 @@ class CustomConfiguration(AbstractModel):
|
|
|
871
873
|
self._Ports = None
|
|
872
874
|
self._Resources = None
|
|
873
875
|
self._Probe = None
|
|
876
|
+
self._DNSConfig = None
|
|
874
877
|
|
|
875
878
|
@property
|
|
876
879
|
def Image(self):
|
|
877
|
-
r"""
|
|
880
|
+
r"""<p>镜像地址</p>
|
|
878
881
|
:rtype: str
|
|
879
882
|
"""
|
|
880
883
|
return self._Image
|
|
@@ -885,7 +888,7 @@ class CustomConfiguration(AbstractModel):
|
|
|
885
888
|
|
|
886
889
|
@property
|
|
887
890
|
def ImageRegistryType(self):
|
|
888
|
-
r"""
|
|
891
|
+
r"""<p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>。</p>
|
|
889
892
|
:rtype: str
|
|
890
893
|
"""
|
|
891
894
|
return self._ImageRegistryType
|
|
@@ -896,7 +899,7 @@ class CustomConfiguration(AbstractModel):
|
|
|
896
899
|
|
|
897
900
|
@property
|
|
898
901
|
def Command(self):
|
|
899
|
-
r"""
|
|
902
|
+
r"""<p>启动命令</p>
|
|
900
903
|
:rtype: list of str
|
|
901
904
|
"""
|
|
902
905
|
return self._Command
|
|
@@ -907,7 +910,7 @@ class CustomConfiguration(AbstractModel):
|
|
|
907
910
|
|
|
908
911
|
@property
|
|
909
912
|
def Args(self):
|
|
910
|
-
r"""
|
|
913
|
+
r"""<p>启动参数</p>
|
|
911
914
|
:rtype: list of str
|
|
912
915
|
"""
|
|
913
916
|
return self._Args
|
|
@@ -918,7 +921,7 @@ class CustomConfiguration(AbstractModel):
|
|
|
918
921
|
|
|
919
922
|
@property
|
|
920
923
|
def Env(self):
|
|
921
|
-
r"""
|
|
924
|
+
r"""<p>环境变量</p>
|
|
922
925
|
:rtype: list of EnvVar
|
|
923
926
|
"""
|
|
924
927
|
return self._Env
|
|
@@ -929,7 +932,7 @@ class CustomConfiguration(AbstractModel):
|
|
|
929
932
|
|
|
930
933
|
@property
|
|
931
934
|
def Ports(self):
|
|
932
|
-
r"""
|
|
935
|
+
r"""<p>端口配置</p>
|
|
933
936
|
:rtype: list of PortConfiguration
|
|
934
937
|
"""
|
|
935
938
|
return self._Ports
|
|
@@ -940,7 +943,7 @@ class CustomConfiguration(AbstractModel):
|
|
|
940
943
|
|
|
941
944
|
@property
|
|
942
945
|
def Resources(self):
|
|
943
|
-
r"""
|
|
946
|
+
r"""<p>资源配置</p>
|
|
944
947
|
:rtype: :class:`tencentcloud.ags.v20250920.models.ResourceConfiguration`
|
|
945
948
|
"""
|
|
946
949
|
return self._Resources
|
|
@@ -951,7 +954,7 @@ class CustomConfiguration(AbstractModel):
|
|
|
951
954
|
|
|
952
955
|
@property
|
|
953
956
|
def Probe(self):
|
|
954
|
-
r"""
|
|
957
|
+
r"""<p>探针配置</p>
|
|
955
958
|
:rtype: :class:`tencentcloud.ags.v20250920.models.ProbeConfiguration`
|
|
956
959
|
"""
|
|
957
960
|
return self._Probe
|
|
@@ -960,6 +963,17 @@ class CustomConfiguration(AbstractModel):
|
|
|
960
963
|
def Probe(self, Probe):
|
|
961
964
|
self._Probe = Probe
|
|
962
965
|
|
|
966
|
+
@property
|
|
967
|
+
def DNSConfig(self):
|
|
968
|
+
r"""<p>沙箱 DNS 配置</p>
|
|
969
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.DNSConfig`
|
|
970
|
+
"""
|
|
971
|
+
return self._DNSConfig
|
|
972
|
+
|
|
973
|
+
@DNSConfig.setter
|
|
974
|
+
def DNSConfig(self, DNSConfig):
|
|
975
|
+
self._DNSConfig = DNSConfig
|
|
976
|
+
|
|
963
977
|
|
|
964
978
|
def _deserialize(self, params):
|
|
965
979
|
self._Image = params.get("Image")
|
|
@@ -984,6 +998,9 @@ class CustomConfiguration(AbstractModel):
|
|
|
984
998
|
if params.get("Probe") is not None:
|
|
985
999
|
self._Probe = ProbeConfiguration()
|
|
986
1000
|
self._Probe._deserialize(params.get("Probe"))
|
|
1001
|
+
if params.get("DNSConfig") is not None:
|
|
1002
|
+
self._DNSConfig = DNSConfig()
|
|
1003
|
+
self._DNSConfig._deserialize(params.get("DNSConfig"))
|
|
987
1004
|
memeber_set = set(params.keys())
|
|
988
1005
|
for name, value in vars(self).items():
|
|
989
1006
|
property_name = name[1:]
|
|
@@ -1001,24 +1018,26 @@ class CustomConfigurationDetail(AbstractModel):
|
|
|
1001
1018
|
|
|
1002
1019
|
def __init__(self):
|
|
1003
1020
|
r"""
|
|
1004
|
-
:param _Image:
|
|
1021
|
+
:param _Image: <p>镜像地址</p>
|
|
1005
1022
|
:type Image: str
|
|
1006
|
-
:param _ImageRegistryType:
|
|
1023
|
+
:param _ImageRegistryType: <p>镜像仓库类型:<code>TCR</code>、<code>CCR</code>。</p>
|
|
1007
1024
|
:type ImageRegistryType: str
|
|
1008
|
-
:param _ImageDigest:
|
|
1025
|
+
:param _ImageDigest: <p>镜像 Digest</p>
|
|
1009
1026
|
:type ImageDigest: str
|
|
1010
|
-
:param _Command:
|
|
1027
|
+
:param _Command: <p>启动命令</p>
|
|
1011
1028
|
:type Command: list of str
|
|
1012
|
-
:param _Args:
|
|
1029
|
+
:param _Args: <p>启动参数</p>
|
|
1013
1030
|
:type Args: list of str
|
|
1014
|
-
:param _Env:
|
|
1031
|
+
:param _Env: <p>环境变量</p>
|
|
1015
1032
|
:type Env: list of EnvVar
|
|
1016
|
-
:param _Ports:
|
|
1033
|
+
:param _Ports: <p>端口配置</p>
|
|
1017
1034
|
:type Ports: list of PortConfiguration
|
|
1018
|
-
:param _Resources:
|
|
1035
|
+
:param _Resources: <p>资源配置</p>
|
|
1019
1036
|
:type Resources: :class:`tencentcloud.ags.v20250920.models.ResourceConfiguration`
|
|
1020
|
-
:param _Probe:
|
|
1037
|
+
:param _Probe: <p>探针配置</p>
|
|
1021
1038
|
:type Probe: :class:`tencentcloud.ags.v20250920.models.ProbeConfiguration`
|
|
1039
|
+
:param _DNSConfig: <p>沙箱 DNS 配置</p>
|
|
1040
|
+
:type DNSConfig: :class:`tencentcloud.ags.v20250920.models.DNSConfig`
|
|
1022
1041
|
"""
|
|
1023
1042
|
self._Image = None
|
|
1024
1043
|
self._ImageRegistryType = None
|
|
@@ -1029,10 +1048,11 @@ class CustomConfigurationDetail(AbstractModel):
|
|
|
1029
1048
|
self._Ports = None
|
|
1030
1049
|
self._Resources = None
|
|
1031
1050
|
self._Probe = None
|
|
1051
|
+
self._DNSConfig = None
|
|
1032
1052
|
|
|
1033
1053
|
@property
|
|
1034
1054
|
def Image(self):
|
|
1035
|
-
r"""
|
|
1055
|
+
r"""<p>镜像地址</p>
|
|
1036
1056
|
:rtype: str
|
|
1037
1057
|
"""
|
|
1038
1058
|
return self._Image
|
|
@@ -1043,7 +1063,7 @@ class CustomConfigurationDetail(AbstractModel):
|
|
|
1043
1063
|
|
|
1044
1064
|
@property
|
|
1045
1065
|
def ImageRegistryType(self):
|
|
1046
|
-
r"""
|
|
1066
|
+
r"""<p>镜像仓库类型:<code>TCR</code>、<code>CCR</code>。</p>
|
|
1047
1067
|
:rtype: str
|
|
1048
1068
|
"""
|
|
1049
1069
|
return self._ImageRegistryType
|
|
@@ -1054,7 +1074,7 @@ class CustomConfigurationDetail(AbstractModel):
|
|
|
1054
1074
|
|
|
1055
1075
|
@property
|
|
1056
1076
|
def ImageDigest(self):
|
|
1057
|
-
r"""
|
|
1077
|
+
r"""<p>镜像 Digest</p>
|
|
1058
1078
|
:rtype: str
|
|
1059
1079
|
"""
|
|
1060
1080
|
return self._ImageDigest
|
|
@@ -1065,7 +1085,7 @@ class CustomConfigurationDetail(AbstractModel):
|
|
|
1065
1085
|
|
|
1066
1086
|
@property
|
|
1067
1087
|
def Command(self):
|
|
1068
|
-
r"""
|
|
1088
|
+
r"""<p>启动命令</p>
|
|
1069
1089
|
:rtype: list of str
|
|
1070
1090
|
"""
|
|
1071
1091
|
return self._Command
|
|
@@ -1076,7 +1096,7 @@ class CustomConfigurationDetail(AbstractModel):
|
|
|
1076
1096
|
|
|
1077
1097
|
@property
|
|
1078
1098
|
def Args(self):
|
|
1079
|
-
r"""
|
|
1099
|
+
r"""<p>启动参数</p>
|
|
1080
1100
|
:rtype: list of str
|
|
1081
1101
|
"""
|
|
1082
1102
|
return self._Args
|
|
@@ -1087,7 +1107,7 @@ class CustomConfigurationDetail(AbstractModel):
|
|
|
1087
1107
|
|
|
1088
1108
|
@property
|
|
1089
1109
|
def Env(self):
|
|
1090
|
-
r"""
|
|
1110
|
+
r"""<p>环境变量</p>
|
|
1091
1111
|
:rtype: list of EnvVar
|
|
1092
1112
|
"""
|
|
1093
1113
|
return self._Env
|
|
@@ -1098,7 +1118,7 @@ class CustomConfigurationDetail(AbstractModel):
|
|
|
1098
1118
|
|
|
1099
1119
|
@property
|
|
1100
1120
|
def Ports(self):
|
|
1101
|
-
r"""
|
|
1121
|
+
r"""<p>端口配置</p>
|
|
1102
1122
|
:rtype: list of PortConfiguration
|
|
1103
1123
|
"""
|
|
1104
1124
|
return self._Ports
|
|
@@ -1109,7 +1129,7 @@ class CustomConfigurationDetail(AbstractModel):
|
|
|
1109
1129
|
|
|
1110
1130
|
@property
|
|
1111
1131
|
def Resources(self):
|
|
1112
|
-
r"""
|
|
1132
|
+
r"""<p>资源配置</p>
|
|
1113
1133
|
:rtype: :class:`tencentcloud.ags.v20250920.models.ResourceConfiguration`
|
|
1114
1134
|
"""
|
|
1115
1135
|
return self._Resources
|
|
@@ -1120,7 +1140,7 @@ class CustomConfigurationDetail(AbstractModel):
|
|
|
1120
1140
|
|
|
1121
1141
|
@property
|
|
1122
1142
|
def Probe(self):
|
|
1123
|
-
r"""
|
|
1143
|
+
r"""<p>探针配置</p>
|
|
1124
1144
|
:rtype: :class:`tencentcloud.ags.v20250920.models.ProbeConfiguration`
|
|
1125
1145
|
"""
|
|
1126
1146
|
return self._Probe
|
|
@@ -1129,6 +1149,17 @@ class CustomConfigurationDetail(AbstractModel):
|
|
|
1129
1149
|
def Probe(self, Probe):
|
|
1130
1150
|
self._Probe = Probe
|
|
1131
1151
|
|
|
1152
|
+
@property
|
|
1153
|
+
def DNSConfig(self):
|
|
1154
|
+
r"""<p>沙箱 DNS 配置</p>
|
|
1155
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.DNSConfig`
|
|
1156
|
+
"""
|
|
1157
|
+
return self._DNSConfig
|
|
1158
|
+
|
|
1159
|
+
@DNSConfig.setter
|
|
1160
|
+
def DNSConfig(self, DNSConfig):
|
|
1161
|
+
self._DNSConfig = DNSConfig
|
|
1162
|
+
|
|
1132
1163
|
|
|
1133
1164
|
def _deserialize(self, params):
|
|
1134
1165
|
self._Image = params.get("Image")
|
|
@@ -1154,6 +1185,75 @@ class CustomConfigurationDetail(AbstractModel):
|
|
|
1154
1185
|
if params.get("Probe") is not None:
|
|
1155
1186
|
self._Probe = ProbeConfiguration()
|
|
1156
1187
|
self._Probe._deserialize(params.get("Probe"))
|
|
1188
|
+
if params.get("DNSConfig") is not None:
|
|
1189
|
+
self._DNSConfig = DNSConfig()
|
|
1190
|
+
self._DNSConfig._deserialize(params.get("DNSConfig"))
|
|
1191
|
+
memeber_set = set(params.keys())
|
|
1192
|
+
for name, value in vars(self).items():
|
|
1193
|
+
property_name = name[1:]
|
|
1194
|
+
if property_name in memeber_set:
|
|
1195
|
+
memeber_set.remove(property_name)
|
|
1196
|
+
if len(memeber_set) > 0:
|
|
1197
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1198
|
+
|
|
1199
|
+
|
|
1200
|
+
|
|
1201
|
+
class DNSConfig(AbstractModel):
|
|
1202
|
+
r"""沙箱自定义 dns 配置
|
|
1203
|
+
|
|
1204
|
+
"""
|
|
1205
|
+
|
|
1206
|
+
def __init__(self):
|
|
1207
|
+
r"""
|
|
1208
|
+
:param _Servers: <p>DNS 服务器地址</p><p>参数格式:需要有效 IP 地址</p><p>默认值:10.0.0.1</p>
|
|
1209
|
+
:type Servers: list of str
|
|
1210
|
+
:param _Searches: <p>搜索域(对应 resolv.conf 的 search 指令)</p>
|
|
1211
|
+
:type Searches: list of str
|
|
1212
|
+
:param _Options: <p>配置项(对应 resolv.conf 选项)</p>
|
|
1213
|
+
:type Options: list of str
|
|
1214
|
+
"""
|
|
1215
|
+
self._Servers = None
|
|
1216
|
+
self._Searches = None
|
|
1217
|
+
self._Options = None
|
|
1218
|
+
|
|
1219
|
+
@property
|
|
1220
|
+
def Servers(self):
|
|
1221
|
+
r"""<p>DNS 服务器地址</p><p>参数格式:需要有效 IP 地址</p><p>默认值:10.0.0.1</p>
|
|
1222
|
+
:rtype: list of str
|
|
1223
|
+
"""
|
|
1224
|
+
return self._Servers
|
|
1225
|
+
|
|
1226
|
+
@Servers.setter
|
|
1227
|
+
def Servers(self, Servers):
|
|
1228
|
+
self._Servers = Servers
|
|
1229
|
+
|
|
1230
|
+
@property
|
|
1231
|
+
def Searches(self):
|
|
1232
|
+
r"""<p>搜索域(对应 resolv.conf 的 search 指令)</p>
|
|
1233
|
+
:rtype: list of str
|
|
1234
|
+
"""
|
|
1235
|
+
return self._Searches
|
|
1236
|
+
|
|
1237
|
+
@Searches.setter
|
|
1238
|
+
def Searches(self, Searches):
|
|
1239
|
+
self._Searches = Searches
|
|
1240
|
+
|
|
1241
|
+
@property
|
|
1242
|
+
def Options(self):
|
|
1243
|
+
r"""<p>配置项(对应 resolv.conf 选项)</p>
|
|
1244
|
+
:rtype: list of str
|
|
1245
|
+
"""
|
|
1246
|
+
return self._Options
|
|
1247
|
+
|
|
1248
|
+
@Options.setter
|
|
1249
|
+
def Options(self, Options):
|
|
1250
|
+
self._Options = Options
|
|
1251
|
+
|
|
1252
|
+
|
|
1253
|
+
def _deserialize(self, params):
|
|
1254
|
+
self._Servers = params.get("Servers")
|
|
1255
|
+
self._Searches = params.get("Searches")
|
|
1256
|
+
self._Options = params.get("Options")
|
|
1157
1257
|
memeber_set = set(params.keys())
|
|
1158
1258
|
for name, value in vars(self).items():
|
|
1159
1259
|
property_name = name[1:]
|
|
@@ -2130,6 +2230,57 @@ class LogConfiguration(AbstractModel):
|
|
|
2130
2230
|
|
|
2131
2231
|
|
|
2132
2232
|
|
|
2233
|
+
class MetadataVar(AbstractModel):
|
|
2234
|
+
r"""metadata 项
|
|
2235
|
+
|
|
2236
|
+
"""
|
|
2237
|
+
|
|
2238
|
+
def __init__(self):
|
|
2239
|
+
r"""
|
|
2240
|
+
:param _Name: <p>沙箱元数据名</p>
|
|
2241
|
+
:type Name: str
|
|
2242
|
+
:param _Value: <p>沙箱元数据值</p>
|
|
2243
|
+
:type Value: str
|
|
2244
|
+
"""
|
|
2245
|
+
self._Name = None
|
|
2246
|
+
self._Value = None
|
|
2247
|
+
|
|
2248
|
+
@property
|
|
2249
|
+
def Name(self):
|
|
2250
|
+
r"""<p>沙箱元数据名</p>
|
|
2251
|
+
:rtype: str
|
|
2252
|
+
"""
|
|
2253
|
+
return self._Name
|
|
2254
|
+
|
|
2255
|
+
@Name.setter
|
|
2256
|
+
def Name(self, Name):
|
|
2257
|
+
self._Name = Name
|
|
2258
|
+
|
|
2259
|
+
@property
|
|
2260
|
+
def Value(self):
|
|
2261
|
+
r"""<p>沙箱元数据值</p>
|
|
2262
|
+
:rtype: str
|
|
2263
|
+
"""
|
|
2264
|
+
return self._Value
|
|
2265
|
+
|
|
2266
|
+
@Value.setter
|
|
2267
|
+
def Value(self, Value):
|
|
2268
|
+
self._Value = Value
|
|
2269
|
+
|
|
2270
|
+
|
|
2271
|
+
def _deserialize(self, params):
|
|
2272
|
+
self._Name = params.get("Name")
|
|
2273
|
+
self._Value = params.get("Value")
|
|
2274
|
+
memeber_set = set(params.keys())
|
|
2275
|
+
for name, value in vars(self).items():
|
|
2276
|
+
property_name = name[1:]
|
|
2277
|
+
if property_name in memeber_set:
|
|
2278
|
+
memeber_set.remove(property_name)
|
|
2279
|
+
if len(memeber_set) > 0:
|
|
2280
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2281
|
+
|
|
2282
|
+
|
|
2283
|
+
|
|
2133
2284
|
class MountOption(AbstractModel):
|
|
2134
2285
|
r"""沙箱实例存储挂载配置可选项,用于覆盖沙箱工具的存储配置的部分选项,并提供子路径挂载配置。
|
|
2135
2286
|
|
|
@@ -2271,14 +2422,14 @@ class PauseSandboxInstanceRequest(AbstractModel):
|
|
|
2271
2422
|
|
|
2272
2423
|
def __init__(self):
|
|
2273
2424
|
r"""
|
|
2274
|
-
:param _InstanceId:
|
|
2425
|
+
:param _InstanceId: <p>沙箱实例ID</p>
|
|
2275
2426
|
:type InstanceId: str
|
|
2276
2427
|
"""
|
|
2277
2428
|
self._InstanceId = None
|
|
2278
2429
|
|
|
2279
2430
|
@property
|
|
2280
2431
|
def InstanceId(self):
|
|
2281
|
-
r"""
|
|
2432
|
+
r"""<p>沙箱实例ID</p>
|
|
2282
2433
|
:rtype: str
|
|
2283
2434
|
"""
|
|
2284
2435
|
return self._InstanceId
|
|
@@ -2651,6 +2802,10 @@ class SandboxInstance(AbstractModel):
|
|
|
2651
2802
|
:type MountOptions: list of MountOption
|
|
2652
2803
|
:param _CustomConfiguration: <p>沙箱实例自定义配置</p>
|
|
2653
2804
|
:type CustomConfiguration: :class:`tencentcloud.ags.v20250920.models.CustomConfigurationDetail`
|
|
2805
|
+
:param _NetworkMode: <p>网络模式</p><p>枚举值:</p><ul><li>PUBLIC: 公网访问</li><li>SANDBOX: 无网络</li><li>INTERNAL_SERVICE: 腾讯云内部公共服务</li></ul><p>可以覆盖工具级别的网络配置。但如果一个工具本身就不支持 VPC 网络,那么即便在实例设置里选了 VPC 模式,也是无效的</p>
|
|
2806
|
+
:type NetworkMode: str
|
|
2807
|
+
:param _Metadata: <p>沙箱实例元数据</p>
|
|
2808
|
+
:type Metadata: list of MetadataVar
|
|
2654
2809
|
"""
|
|
2655
2810
|
self._InstanceId = None
|
|
2656
2811
|
self._ToolId = None
|
|
@@ -2663,6 +2818,8 @@ class SandboxInstance(AbstractModel):
|
|
|
2663
2818
|
self._UpdateTime = None
|
|
2664
2819
|
self._MountOptions = None
|
|
2665
2820
|
self._CustomConfiguration = None
|
|
2821
|
+
self._NetworkMode = None
|
|
2822
|
+
self._Metadata = None
|
|
2666
2823
|
|
|
2667
2824
|
@property
|
|
2668
2825
|
def InstanceId(self):
|
|
@@ -2785,6 +2942,28 @@ class SandboxInstance(AbstractModel):
|
|
|
2785
2942
|
def CustomConfiguration(self, CustomConfiguration):
|
|
2786
2943
|
self._CustomConfiguration = CustomConfiguration
|
|
2787
2944
|
|
|
2945
|
+
@property
|
|
2946
|
+
def NetworkMode(self):
|
|
2947
|
+
r"""<p>网络模式</p><p>枚举值:</p><ul><li>PUBLIC: 公网访问</li><li>SANDBOX: 无网络</li><li>INTERNAL_SERVICE: 腾讯云内部公共服务</li></ul><p>可以覆盖工具级别的网络配置。但如果一个工具本身就不支持 VPC 网络,那么即便在实例设置里选了 VPC 模式,也是无效的</p>
|
|
2948
|
+
:rtype: str
|
|
2949
|
+
"""
|
|
2950
|
+
return self._NetworkMode
|
|
2951
|
+
|
|
2952
|
+
@NetworkMode.setter
|
|
2953
|
+
def NetworkMode(self, NetworkMode):
|
|
2954
|
+
self._NetworkMode = NetworkMode
|
|
2955
|
+
|
|
2956
|
+
@property
|
|
2957
|
+
def Metadata(self):
|
|
2958
|
+
r"""<p>沙箱实例元数据</p>
|
|
2959
|
+
:rtype: list of MetadataVar
|
|
2960
|
+
"""
|
|
2961
|
+
return self._Metadata
|
|
2962
|
+
|
|
2963
|
+
@Metadata.setter
|
|
2964
|
+
def Metadata(self, Metadata):
|
|
2965
|
+
self._Metadata = Metadata
|
|
2966
|
+
|
|
2788
2967
|
|
|
2789
2968
|
def _deserialize(self, params):
|
|
2790
2969
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -2805,6 +2984,13 @@ class SandboxInstance(AbstractModel):
|
|
|
2805
2984
|
if params.get("CustomConfiguration") is not None:
|
|
2806
2985
|
self._CustomConfiguration = CustomConfigurationDetail()
|
|
2807
2986
|
self._CustomConfiguration._deserialize(params.get("CustomConfiguration"))
|
|
2987
|
+
self._NetworkMode = params.get("NetworkMode")
|
|
2988
|
+
if params.get("Metadata") is not None:
|
|
2989
|
+
self._Metadata = []
|
|
2990
|
+
for item in params.get("Metadata"):
|
|
2991
|
+
obj = MetadataVar()
|
|
2992
|
+
obj._deserialize(item)
|
|
2993
|
+
self._Metadata.append(obj)
|
|
2808
2994
|
memeber_set = set(params.keys())
|
|
2809
2995
|
for name, value in vars(self).items():
|
|
2810
2996
|
property_name = name[1:]
|
|
@@ -3084,18 +3270,22 @@ class StartSandboxInstanceRequest(AbstractModel):
|
|
|
3084
3270
|
|
|
3085
3271
|
def __init__(self):
|
|
3086
3272
|
r"""
|
|
3087
|
-
:param _ToolId:
|
|
3273
|
+
:param _ToolId: <p>沙箱工具 ID,与 ToolName 至少有一个要填</p>
|
|
3088
3274
|
:type ToolId: str
|
|
3089
|
-
:param _ToolName:
|
|
3275
|
+
:param _ToolName: <p>沙箱工具名称,与 ToolId 至少有一个要填</p>
|
|
3090
3276
|
:type ToolName: str
|
|
3091
|
-
:param _Timeout:
|
|
3277
|
+
:param _Timeout: <p>超时时间,超过这个时间就自动回收实例。支持格式:5m、300s、1h 等,默认 5m。最小 30s,最大 24h</p>
|
|
3092
3278
|
:type Timeout: str
|
|
3093
|
-
:param _ClientToken:
|
|
3279
|
+
:param _ClientToken: <p>幂等性 Token,长度不超过 64 字符</p>
|
|
3094
3280
|
:type ClientToken: str
|
|
3095
|
-
:param _MountOptions:
|
|
3281
|
+
:param _MountOptions: <p>沙箱实例存储挂载配置</p>
|
|
3096
3282
|
:type MountOptions: list of MountOption
|
|
3097
|
-
:param _CustomConfiguration:
|
|
3283
|
+
:param _CustomConfiguration: <p>沙箱实例自定义配置</p>
|
|
3098
3284
|
:type CustomConfiguration: :class:`tencentcloud.ags.v20250920.models.CustomConfiguration`
|
|
3285
|
+
:param _AuthMode: <p>沙箱访问认证模式</p><p>枚举值:</p><ul><li>DEFAULT: 跟随系统策略</li><li>TOKEN: Token认证</li><li>NONE: 免认证 </li></ul><p>默认值:DEFAULT</p>
|
|
3286
|
+
:type AuthMode: str
|
|
3287
|
+
:param _Metadata: <p>沙箱元数据</p>
|
|
3288
|
+
:type Metadata: list of MetadataVar
|
|
3099
3289
|
"""
|
|
3100
3290
|
self._ToolId = None
|
|
3101
3291
|
self._ToolName = None
|
|
@@ -3103,10 +3293,12 @@ class StartSandboxInstanceRequest(AbstractModel):
|
|
|
3103
3293
|
self._ClientToken = None
|
|
3104
3294
|
self._MountOptions = None
|
|
3105
3295
|
self._CustomConfiguration = None
|
|
3296
|
+
self._AuthMode = None
|
|
3297
|
+
self._Metadata = None
|
|
3106
3298
|
|
|
3107
3299
|
@property
|
|
3108
3300
|
def ToolId(self):
|
|
3109
|
-
r"""
|
|
3301
|
+
r"""<p>沙箱工具 ID,与 ToolName 至少有一个要填</p>
|
|
3110
3302
|
:rtype: str
|
|
3111
3303
|
"""
|
|
3112
3304
|
return self._ToolId
|
|
@@ -3117,7 +3309,7 @@ class StartSandboxInstanceRequest(AbstractModel):
|
|
|
3117
3309
|
|
|
3118
3310
|
@property
|
|
3119
3311
|
def ToolName(self):
|
|
3120
|
-
r"""
|
|
3312
|
+
r"""<p>沙箱工具名称,与 ToolId 至少有一个要填</p>
|
|
3121
3313
|
:rtype: str
|
|
3122
3314
|
"""
|
|
3123
3315
|
return self._ToolName
|
|
@@ -3128,7 +3320,7 @@ class StartSandboxInstanceRequest(AbstractModel):
|
|
|
3128
3320
|
|
|
3129
3321
|
@property
|
|
3130
3322
|
def Timeout(self):
|
|
3131
|
-
r"""
|
|
3323
|
+
r"""<p>超时时间,超过这个时间就自动回收实例。支持格式:5m、300s、1h 等,默认 5m。最小 30s,最大 24h</p>
|
|
3132
3324
|
:rtype: str
|
|
3133
3325
|
"""
|
|
3134
3326
|
return self._Timeout
|
|
@@ -3139,7 +3331,7 @@ class StartSandboxInstanceRequest(AbstractModel):
|
|
|
3139
3331
|
|
|
3140
3332
|
@property
|
|
3141
3333
|
def ClientToken(self):
|
|
3142
|
-
r"""
|
|
3334
|
+
r"""<p>幂等性 Token,长度不超过 64 字符</p>
|
|
3143
3335
|
:rtype: str
|
|
3144
3336
|
"""
|
|
3145
3337
|
return self._ClientToken
|
|
@@ -3150,7 +3342,7 @@ class StartSandboxInstanceRequest(AbstractModel):
|
|
|
3150
3342
|
|
|
3151
3343
|
@property
|
|
3152
3344
|
def MountOptions(self):
|
|
3153
|
-
r"""
|
|
3345
|
+
r"""<p>沙箱实例存储挂载配置</p>
|
|
3154
3346
|
:rtype: list of MountOption
|
|
3155
3347
|
"""
|
|
3156
3348
|
return self._MountOptions
|
|
@@ -3161,7 +3353,7 @@ class StartSandboxInstanceRequest(AbstractModel):
|
|
|
3161
3353
|
|
|
3162
3354
|
@property
|
|
3163
3355
|
def CustomConfiguration(self):
|
|
3164
|
-
r"""
|
|
3356
|
+
r"""<p>沙箱实例自定义配置</p>
|
|
3165
3357
|
:rtype: :class:`tencentcloud.ags.v20250920.models.CustomConfiguration`
|
|
3166
3358
|
"""
|
|
3167
3359
|
return self._CustomConfiguration
|
|
@@ -3170,6 +3362,28 @@ class StartSandboxInstanceRequest(AbstractModel):
|
|
|
3170
3362
|
def CustomConfiguration(self, CustomConfiguration):
|
|
3171
3363
|
self._CustomConfiguration = CustomConfiguration
|
|
3172
3364
|
|
|
3365
|
+
@property
|
|
3366
|
+
def AuthMode(self):
|
|
3367
|
+
r"""<p>沙箱访问认证模式</p><p>枚举值:</p><ul><li>DEFAULT: 跟随系统策略</li><li>TOKEN: Token认证</li><li>NONE: 免认证 </li></ul><p>默认值:DEFAULT</p>
|
|
3368
|
+
:rtype: str
|
|
3369
|
+
"""
|
|
3370
|
+
return self._AuthMode
|
|
3371
|
+
|
|
3372
|
+
@AuthMode.setter
|
|
3373
|
+
def AuthMode(self, AuthMode):
|
|
3374
|
+
self._AuthMode = AuthMode
|
|
3375
|
+
|
|
3376
|
+
@property
|
|
3377
|
+
def Metadata(self):
|
|
3378
|
+
r"""<p>沙箱元数据</p>
|
|
3379
|
+
:rtype: list of MetadataVar
|
|
3380
|
+
"""
|
|
3381
|
+
return self._Metadata
|
|
3382
|
+
|
|
3383
|
+
@Metadata.setter
|
|
3384
|
+
def Metadata(self, Metadata):
|
|
3385
|
+
self._Metadata = Metadata
|
|
3386
|
+
|
|
3173
3387
|
|
|
3174
3388
|
def _deserialize(self, params):
|
|
3175
3389
|
self._ToolId = params.get("ToolId")
|
|
@@ -3185,6 +3399,13 @@ class StartSandboxInstanceRequest(AbstractModel):
|
|
|
3185
3399
|
if params.get("CustomConfiguration") is not None:
|
|
3186
3400
|
self._CustomConfiguration = CustomConfiguration()
|
|
3187
3401
|
self._CustomConfiguration._deserialize(params.get("CustomConfiguration"))
|
|
3402
|
+
self._AuthMode = params.get("AuthMode")
|
|
3403
|
+
if params.get("Metadata") is not None:
|
|
3404
|
+
self._Metadata = []
|
|
3405
|
+
for item in params.get("Metadata"):
|
|
3406
|
+
obj = MetadataVar()
|
|
3407
|
+
obj._deserialize(item)
|
|
3408
|
+
self._Metadata.append(obj)
|
|
3188
3409
|
memeber_set = set(params.keys())
|
|
3189
3410
|
for name, value in vars(self).items():
|
|
3190
3411
|
property_name = name[1:]
|
|
@@ -3202,7 +3423,7 @@ class StartSandboxInstanceResponse(AbstractModel):
|
|
|
3202
3423
|
|
|
3203
3424
|
def __init__(self):
|
|
3204
3425
|
r"""
|
|
3205
|
-
:param _Instance:
|
|
3426
|
+
:param _Instance: <p>创建的沙箱实例完整信息</p>
|
|
3206
3427
|
:type Instance: :class:`tencentcloud.ags.v20250920.models.SandboxInstance`
|
|
3207
3428
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3208
3429
|
:type RequestId: str
|
|
@@ -3212,7 +3433,7 @@ class StartSandboxInstanceResponse(AbstractModel):
|
|
|
3212
3433
|
|
|
3213
3434
|
@property
|
|
3214
3435
|
def Instance(self):
|
|
3215
|
-
r"""
|
|
3436
|
+
r"""<p>创建的沙箱实例完整信息</p>
|
|
3216
3437
|
:rtype: :class:`tencentcloud.ags.v20250920.models.SandboxInstance`
|
|
3217
3438
|
"""
|
|
3218
3439
|
return self._Instance
|
|
@@ -3517,17 +3738,20 @@ class UpdateSandboxInstanceRequest(AbstractModel):
|
|
|
3517
3738
|
|
|
3518
3739
|
def __init__(self):
|
|
3519
3740
|
r"""
|
|
3520
|
-
:param _InstanceId:
|
|
3741
|
+
:param _InstanceId: <p>沙箱实例ID</p>
|
|
3521
3742
|
:type InstanceId: str
|
|
3522
|
-
:param _Timeout:
|
|
3743
|
+
:param _Timeout: <p>新的超时时间(从设置时开始重新计算超时),支持格式:5m、300s、1h等。最小30s,最大24h。如果不指定则保持原有超时设置</p>
|
|
3523
3744
|
:type Timeout: str
|
|
3745
|
+
:param _Metadata: <p>沙箱实例元数据</p>
|
|
3746
|
+
:type Metadata: list of MetadataVar
|
|
3524
3747
|
"""
|
|
3525
3748
|
self._InstanceId = None
|
|
3526
3749
|
self._Timeout = None
|
|
3750
|
+
self._Metadata = None
|
|
3527
3751
|
|
|
3528
3752
|
@property
|
|
3529
3753
|
def InstanceId(self):
|
|
3530
|
-
r"""
|
|
3754
|
+
r"""<p>沙箱实例ID</p>
|
|
3531
3755
|
:rtype: str
|
|
3532
3756
|
"""
|
|
3533
3757
|
return self._InstanceId
|
|
@@ -3538,7 +3762,7 @@ class UpdateSandboxInstanceRequest(AbstractModel):
|
|
|
3538
3762
|
|
|
3539
3763
|
@property
|
|
3540
3764
|
def Timeout(self):
|
|
3541
|
-
r"""
|
|
3765
|
+
r"""<p>新的超时时间(从设置时开始重新计算超时),支持格式:5m、300s、1h等。最小30s,最大24h。如果不指定则保持原有超时设置</p>
|
|
3542
3766
|
:rtype: str
|
|
3543
3767
|
"""
|
|
3544
3768
|
return self._Timeout
|
|
@@ -3547,10 +3771,27 @@ class UpdateSandboxInstanceRequest(AbstractModel):
|
|
|
3547
3771
|
def Timeout(self, Timeout):
|
|
3548
3772
|
self._Timeout = Timeout
|
|
3549
3773
|
|
|
3774
|
+
@property
|
|
3775
|
+
def Metadata(self):
|
|
3776
|
+
r"""<p>沙箱实例元数据</p>
|
|
3777
|
+
:rtype: list of MetadataVar
|
|
3778
|
+
"""
|
|
3779
|
+
return self._Metadata
|
|
3780
|
+
|
|
3781
|
+
@Metadata.setter
|
|
3782
|
+
def Metadata(self, Metadata):
|
|
3783
|
+
self._Metadata = Metadata
|
|
3784
|
+
|
|
3550
3785
|
|
|
3551
3786
|
def _deserialize(self, params):
|
|
3552
3787
|
self._InstanceId = params.get("InstanceId")
|
|
3553
3788
|
self._Timeout = params.get("Timeout")
|
|
3789
|
+
if params.get("Metadata") is not None:
|
|
3790
|
+
self._Metadata = []
|
|
3791
|
+
for item in params.get("Metadata"):
|
|
3792
|
+
obj = MetadataVar()
|
|
3793
|
+
obj._deserialize(item)
|
|
3794
|
+
self._Metadata.append(obj)
|
|
3554
3795
|
memeber_set = set(params.keys())
|
|
3555
3796
|
for name, value in vars(self).items():
|
|
3556
3797
|
property_name = name[1:]
|
|
@@ -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.67
|
|
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.67
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.67
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.59
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|