tencentcloud-sdk-python 3.0.972__py2.py3-none-any.whl → 3.0.973__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cdwch/v20200915/cdwch_client.py +1 -1
- tencentcloud/cfs/v20190719/models.py +36 -0
- tencentcloud/csip/v20221121/csip_client.py +92 -0
- tencentcloud/csip/v20221121/models.py +2712 -904
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +46 -0
- tencentcloud/dbbrain/v20210527/models.py +165 -1
- tencentcloud/dts/v20211206/models.py +145 -2
- tencentcloud/ecm/v20190719/models.py +13 -1
- tencentcloud/ess/v20201111/ess_client.py +10 -7
- tencentcloud/ess/v20201111/models.py +48 -30
- tencentcloud/live/v20180801/errorcodes.py +3 -0
- tencentcloud/mps/v20190612/models.py +125 -0
- tencentcloud/tiia/v20190529/models.py +2 -1
- tencentcloud/tiia/v20190529/tiia_client.py +9 -4
- tencentcloud/tione/v20211111/models.py +454 -34
- tencentcloud/tione/v20211111/tione_client.py +5 -3
- tencentcloud/tiw/v20190919/tiw_client.py +12 -4
- tencentcloud/tse/v20201207/models.py +223 -0
- tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- tencentcloud/vpc/v20170312/models.py +71 -11
- tencentcloud/vpc/v20170312/vpc_client.py +3 -3
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.973.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.973.dist-info}/RECORD +27 -27
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.973.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.973.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.973.dist-info}/top_level.txt +0 -0
|
@@ -27,7 +27,9 @@ class TioneClient(AbstractClient):
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
def ChatCompletion(self, request):
|
|
30
|
-
"""
|
|
30
|
+
"""该接口支持与两种类型大模型的聊天。
|
|
31
|
+
1. 与多行业多场景大模型的在线体验聊天
|
|
32
|
+
2. 与自行部署的开源大模型的聊天
|
|
31
33
|
|
|
32
34
|
:param request: Request instance for ChatCompletion.
|
|
33
35
|
:type request: :class:`tencentcloud.tione.v20211111.models.ChatCompletionRequest`
|
|
@@ -763,7 +765,7 @@ class TioneClient(AbstractClient):
|
|
|
763
765
|
|
|
764
766
|
|
|
765
767
|
def DescribeLogs(self, request):
|
|
766
|
-
"""获取训练、推理、Notebook服务的日志
|
|
768
|
+
"""获取训练、推理、Notebook服务的日志 API
|
|
767
769
|
|
|
768
770
|
:param request: Request instance for DescribeLogs.
|
|
769
771
|
:type request: :class:`tencentcloud.tione.v20211111.models.DescribeLogsRequest`
|
|
@@ -1453,7 +1455,7 @@ class TioneClient(AbstractClient):
|
|
|
1453
1455
|
|
|
1454
1456
|
|
|
1455
1457
|
def SendChatMessage(self, request):
|
|
1456
|
-
"""
|
|
1458
|
+
"""这是一个供您体验大模型聊天的接口。
|
|
1457
1459
|
|
|
1458
1460
|
:param request: Request instance for SendChatMessage.
|
|
1459
1461
|
:type request: :class:`tencentcloud.tione.v20211111.models.SendChatMessageRequest`
|
|
@@ -73,7 +73,9 @@ class TiwClient(AbstractClient):
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
def CreateOfflineRecord(self, request):
|
|
76
|
-
"""
|
|
76
|
+
"""课后录制服务已下线
|
|
77
|
+
|
|
78
|
+
创建课后录制任务
|
|
77
79
|
|
|
78
80
|
:param request: Request instance for CreateOfflineRecord.
|
|
79
81
|
:type request: :class:`tencentcloud.tiw.v20190919.models.CreateOfflineRecordRequest`
|
|
@@ -303,7 +305,9 @@ class TiwClient(AbstractClient):
|
|
|
303
305
|
|
|
304
306
|
|
|
305
307
|
def DescribeOfflineRecord(self, request):
|
|
306
|
-
"""
|
|
308
|
+
"""课后录制服务已下线
|
|
309
|
+
|
|
310
|
+
查询课后录制任务的进度与录制结果等相关信息
|
|
307
311
|
|
|
308
312
|
:param request: Request instance for DescribeOfflineRecord.
|
|
309
313
|
:type request: :class:`tencentcloud.tiw.v20190919.models.DescribeOfflineRecordRequest`
|
|
@@ -326,7 +330,9 @@ class TiwClient(AbstractClient):
|
|
|
326
330
|
|
|
327
331
|
|
|
328
332
|
def DescribeOfflineRecordCallback(self, request):
|
|
329
|
-
"""
|
|
333
|
+
"""课后录制服务已下线
|
|
334
|
+
|
|
335
|
+
查询课后录制回调地址
|
|
330
336
|
|
|
331
337
|
:param request: Request instance for DescribeOfflineRecordCallback.
|
|
332
338
|
:type request: :class:`tencentcloud.tiw.v20190919.models.DescribeOfflineRecordCallbackRequest`
|
|
@@ -1135,7 +1141,9 @@ class TiwClient(AbstractClient):
|
|
|
1135
1141
|
|
|
1136
1142
|
|
|
1137
1143
|
def SetOfflineRecordCallback(self, request):
|
|
1138
|
-
"""
|
|
1144
|
+
"""课后录制服务已下线
|
|
1145
|
+
|
|
1146
|
+
设置课后录制回调地址
|
|
1139
1147
|
|
|
1140
1148
|
:param request: Request instance for SetOfflineRecordCallback.
|
|
1141
1149
|
:type request: :class:`tencentcloud.tiw.v20190919.models.SetOfflineRecordCallbackRequest`
|
|
@@ -126,6 +126,182 @@ class ApolloEnvParam(AbstractModel):
|
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
|
|
129
|
+
class AutoScalerBehavior(AbstractModel):
|
|
130
|
+
"""指标伸缩行为
|
|
131
|
+
|
|
132
|
+
"""
|
|
133
|
+
|
|
134
|
+
def __init__(self):
|
|
135
|
+
r"""
|
|
136
|
+
:param _ScaleUp: 扩容行为配置
|
|
137
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
138
|
+
:type ScaleUp: :class:`tencentcloud.tse.v20201207.models.AutoScalerRules`
|
|
139
|
+
:param _ScaleDown: 缩容行为配置
|
|
140
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
141
|
+
:type ScaleDown: :class:`tencentcloud.tse.v20201207.models.AutoScalerRules`
|
|
142
|
+
"""
|
|
143
|
+
self._ScaleUp = None
|
|
144
|
+
self._ScaleDown = None
|
|
145
|
+
|
|
146
|
+
@property
|
|
147
|
+
def ScaleUp(self):
|
|
148
|
+
return self._ScaleUp
|
|
149
|
+
|
|
150
|
+
@ScaleUp.setter
|
|
151
|
+
def ScaleUp(self, ScaleUp):
|
|
152
|
+
self._ScaleUp = ScaleUp
|
|
153
|
+
|
|
154
|
+
@property
|
|
155
|
+
def ScaleDown(self):
|
|
156
|
+
return self._ScaleDown
|
|
157
|
+
|
|
158
|
+
@ScaleDown.setter
|
|
159
|
+
def ScaleDown(self, ScaleDown):
|
|
160
|
+
self._ScaleDown = ScaleDown
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
def _deserialize(self, params):
|
|
164
|
+
if params.get("ScaleUp") is not None:
|
|
165
|
+
self._ScaleUp = AutoScalerRules()
|
|
166
|
+
self._ScaleUp._deserialize(params.get("ScaleUp"))
|
|
167
|
+
if params.get("ScaleDown") is not None:
|
|
168
|
+
self._ScaleDown = AutoScalerRules()
|
|
169
|
+
self._ScaleDown._deserialize(params.get("ScaleDown"))
|
|
170
|
+
memeber_set = set(params.keys())
|
|
171
|
+
for name, value in vars(self).items():
|
|
172
|
+
property_name = name[1:]
|
|
173
|
+
if property_name in memeber_set:
|
|
174
|
+
memeber_set.remove(property_name)
|
|
175
|
+
if len(memeber_set) > 0:
|
|
176
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
class AutoScalerPolicy(AbstractModel):
|
|
181
|
+
"""扩容策略
|
|
182
|
+
|
|
183
|
+
"""
|
|
184
|
+
|
|
185
|
+
def __init__(self):
|
|
186
|
+
r"""
|
|
187
|
+
:param _Type: 类型,Pods或Percent
|
|
188
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
189
|
+
:type Type: str
|
|
190
|
+
:param _Value: 数量
|
|
191
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
192
|
+
:type Value: int
|
|
193
|
+
:param _PeriodSeconds: 扩容周期
|
|
194
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
195
|
+
:type PeriodSeconds: int
|
|
196
|
+
"""
|
|
197
|
+
self._Type = None
|
|
198
|
+
self._Value = None
|
|
199
|
+
self._PeriodSeconds = None
|
|
200
|
+
|
|
201
|
+
@property
|
|
202
|
+
def Type(self):
|
|
203
|
+
return self._Type
|
|
204
|
+
|
|
205
|
+
@Type.setter
|
|
206
|
+
def Type(self, Type):
|
|
207
|
+
self._Type = Type
|
|
208
|
+
|
|
209
|
+
@property
|
|
210
|
+
def Value(self):
|
|
211
|
+
return self._Value
|
|
212
|
+
|
|
213
|
+
@Value.setter
|
|
214
|
+
def Value(self, Value):
|
|
215
|
+
self._Value = Value
|
|
216
|
+
|
|
217
|
+
@property
|
|
218
|
+
def PeriodSeconds(self):
|
|
219
|
+
return self._PeriodSeconds
|
|
220
|
+
|
|
221
|
+
@PeriodSeconds.setter
|
|
222
|
+
def PeriodSeconds(self, PeriodSeconds):
|
|
223
|
+
self._PeriodSeconds = PeriodSeconds
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
def _deserialize(self, params):
|
|
227
|
+
self._Type = params.get("Type")
|
|
228
|
+
self._Value = params.get("Value")
|
|
229
|
+
self._PeriodSeconds = params.get("PeriodSeconds")
|
|
230
|
+
memeber_set = set(params.keys())
|
|
231
|
+
for name, value in vars(self).items():
|
|
232
|
+
property_name = name[1:]
|
|
233
|
+
if property_name in memeber_set:
|
|
234
|
+
memeber_set.remove(property_name)
|
|
235
|
+
if len(memeber_set) > 0:
|
|
236
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
class AutoScalerRules(AbstractModel):
|
|
241
|
+
"""指标伸缩的规则
|
|
242
|
+
|
|
243
|
+
"""
|
|
244
|
+
|
|
245
|
+
def __init__(self):
|
|
246
|
+
r"""
|
|
247
|
+
:param _StabilizationWindowSeconds: 稳定窗口时间
|
|
248
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
249
|
+
:type StabilizationWindowSeconds: int
|
|
250
|
+
:param _SelectPolicy: 选择策略依据
|
|
251
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
252
|
+
:type SelectPolicy: str
|
|
253
|
+
:param _Policies: 扩容策略
|
|
254
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
255
|
+
:type Policies: list of AutoScalerPolicy
|
|
256
|
+
"""
|
|
257
|
+
self._StabilizationWindowSeconds = None
|
|
258
|
+
self._SelectPolicy = None
|
|
259
|
+
self._Policies = None
|
|
260
|
+
|
|
261
|
+
@property
|
|
262
|
+
def StabilizationWindowSeconds(self):
|
|
263
|
+
return self._StabilizationWindowSeconds
|
|
264
|
+
|
|
265
|
+
@StabilizationWindowSeconds.setter
|
|
266
|
+
def StabilizationWindowSeconds(self, StabilizationWindowSeconds):
|
|
267
|
+
self._StabilizationWindowSeconds = StabilizationWindowSeconds
|
|
268
|
+
|
|
269
|
+
@property
|
|
270
|
+
def SelectPolicy(self):
|
|
271
|
+
return self._SelectPolicy
|
|
272
|
+
|
|
273
|
+
@SelectPolicy.setter
|
|
274
|
+
def SelectPolicy(self, SelectPolicy):
|
|
275
|
+
self._SelectPolicy = SelectPolicy
|
|
276
|
+
|
|
277
|
+
@property
|
|
278
|
+
def Policies(self):
|
|
279
|
+
return self._Policies
|
|
280
|
+
|
|
281
|
+
@Policies.setter
|
|
282
|
+
def Policies(self, Policies):
|
|
283
|
+
self._Policies = Policies
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
def _deserialize(self, params):
|
|
287
|
+
self._StabilizationWindowSeconds = params.get("StabilizationWindowSeconds")
|
|
288
|
+
self._SelectPolicy = params.get("SelectPolicy")
|
|
289
|
+
if params.get("Policies") is not None:
|
|
290
|
+
self._Policies = []
|
|
291
|
+
for item in params.get("Policies"):
|
|
292
|
+
obj = AutoScalerPolicy()
|
|
293
|
+
obj._deserialize(item)
|
|
294
|
+
self._Policies.append(obj)
|
|
295
|
+
memeber_set = set(params.keys())
|
|
296
|
+
for name, value in vars(self).items():
|
|
297
|
+
property_name = name[1:]
|
|
298
|
+
if property_name in memeber_set:
|
|
299
|
+
memeber_set.remove(property_name)
|
|
300
|
+
if len(memeber_set) > 0:
|
|
301
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
129
305
|
class BoundK8SInfo(AbstractModel):
|
|
130
306
|
"""服务治理引擎绑定的kubernetes信息
|
|
131
307
|
|
|
@@ -1000,10 +1176,14 @@ class CloudNativeAPIGatewayStrategy(AbstractModel):
|
|
|
1000
1176
|
|
|
1001
1177
|
@property
|
|
1002
1178
|
def MaxReplicas(self):
|
|
1179
|
+
warnings.warn("parameter `MaxReplicas` is deprecated", DeprecationWarning)
|
|
1180
|
+
|
|
1003
1181
|
return self._MaxReplicas
|
|
1004
1182
|
|
|
1005
1183
|
@MaxReplicas.setter
|
|
1006
1184
|
def MaxReplicas(self, MaxReplicas):
|
|
1185
|
+
warnings.warn("parameter `MaxReplicas` is deprecated", DeprecationWarning)
|
|
1186
|
+
|
|
1007
1187
|
self._MaxReplicas = MaxReplicas
|
|
1008
1188
|
|
|
1009
1189
|
|
|
@@ -1059,6 +1239,9 @@ class CloudNativeAPIGatewayStrategyAutoScalerConfig(AbstractModel):
|
|
|
1059
1239
|
:param _AutoScalerId: 指标配置ID
|
|
1060
1240
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1061
1241
|
:type AutoScalerId: str
|
|
1242
|
+
:param _Behavior: 指标伸缩行为配置
|
|
1243
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1244
|
+
:type Behavior: :class:`tencentcloud.tse.v20201207.models.AutoScalerBehavior`
|
|
1062
1245
|
"""
|
|
1063
1246
|
self._MaxReplicas = None
|
|
1064
1247
|
self._Metrics = None
|
|
@@ -1067,6 +1250,7 @@ class CloudNativeAPIGatewayStrategyAutoScalerConfig(AbstractModel):
|
|
|
1067
1250
|
self._ModifyTime = None
|
|
1068
1251
|
self._StrategyId = None
|
|
1069
1252
|
self._AutoScalerId = None
|
|
1253
|
+
self._Behavior = None
|
|
1070
1254
|
|
|
1071
1255
|
@property
|
|
1072
1256
|
def MaxReplicas(self):
|
|
@@ -1094,36 +1278,60 @@ class CloudNativeAPIGatewayStrategyAutoScalerConfig(AbstractModel):
|
|
|
1094
1278
|
|
|
1095
1279
|
@property
|
|
1096
1280
|
def CreateTime(self):
|
|
1281
|
+
warnings.warn("parameter `CreateTime` is deprecated", DeprecationWarning)
|
|
1282
|
+
|
|
1097
1283
|
return self._CreateTime
|
|
1098
1284
|
|
|
1099
1285
|
@CreateTime.setter
|
|
1100
1286
|
def CreateTime(self, CreateTime):
|
|
1287
|
+
warnings.warn("parameter `CreateTime` is deprecated", DeprecationWarning)
|
|
1288
|
+
|
|
1101
1289
|
self._CreateTime = CreateTime
|
|
1102
1290
|
|
|
1103
1291
|
@property
|
|
1104
1292
|
def ModifyTime(self):
|
|
1293
|
+
warnings.warn("parameter `ModifyTime` is deprecated", DeprecationWarning)
|
|
1294
|
+
|
|
1105
1295
|
return self._ModifyTime
|
|
1106
1296
|
|
|
1107
1297
|
@ModifyTime.setter
|
|
1108
1298
|
def ModifyTime(self, ModifyTime):
|
|
1299
|
+
warnings.warn("parameter `ModifyTime` is deprecated", DeprecationWarning)
|
|
1300
|
+
|
|
1109
1301
|
self._ModifyTime = ModifyTime
|
|
1110
1302
|
|
|
1111
1303
|
@property
|
|
1112
1304
|
def StrategyId(self):
|
|
1305
|
+
warnings.warn("parameter `StrategyId` is deprecated", DeprecationWarning)
|
|
1306
|
+
|
|
1113
1307
|
return self._StrategyId
|
|
1114
1308
|
|
|
1115
1309
|
@StrategyId.setter
|
|
1116
1310
|
def StrategyId(self, StrategyId):
|
|
1311
|
+
warnings.warn("parameter `StrategyId` is deprecated", DeprecationWarning)
|
|
1312
|
+
|
|
1117
1313
|
self._StrategyId = StrategyId
|
|
1118
1314
|
|
|
1119
1315
|
@property
|
|
1120
1316
|
def AutoScalerId(self):
|
|
1317
|
+
warnings.warn("parameter `AutoScalerId` is deprecated", DeprecationWarning)
|
|
1318
|
+
|
|
1121
1319
|
return self._AutoScalerId
|
|
1122
1320
|
|
|
1123
1321
|
@AutoScalerId.setter
|
|
1124
1322
|
def AutoScalerId(self, AutoScalerId):
|
|
1323
|
+
warnings.warn("parameter `AutoScalerId` is deprecated", DeprecationWarning)
|
|
1324
|
+
|
|
1125
1325
|
self._AutoScalerId = AutoScalerId
|
|
1126
1326
|
|
|
1327
|
+
@property
|
|
1328
|
+
def Behavior(self):
|
|
1329
|
+
return self._Behavior
|
|
1330
|
+
|
|
1331
|
+
@Behavior.setter
|
|
1332
|
+
def Behavior(self, Behavior):
|
|
1333
|
+
self._Behavior = Behavior
|
|
1334
|
+
|
|
1127
1335
|
|
|
1128
1336
|
def _deserialize(self, params):
|
|
1129
1337
|
self._MaxReplicas = params.get("MaxReplicas")
|
|
@@ -1138,6 +1346,9 @@ class CloudNativeAPIGatewayStrategyAutoScalerConfig(AbstractModel):
|
|
|
1138
1346
|
self._ModifyTime = params.get("ModifyTime")
|
|
1139
1347
|
self._StrategyId = params.get("StrategyId")
|
|
1140
1348
|
self._AutoScalerId = params.get("AutoScalerId")
|
|
1349
|
+
if params.get("Behavior") is not None:
|
|
1350
|
+
self._Behavior = AutoScalerBehavior()
|
|
1351
|
+
self._Behavior._deserialize(params.get("Behavior"))
|
|
1141
1352
|
memeber_set = set(params.keys())
|
|
1142
1353
|
for name, value in vars(self).items():
|
|
1143
1354
|
property_name = name[1:]
|
|
@@ -1268,26 +1479,38 @@ class CloudNativeAPIGatewayStrategyCronScalerConfig(AbstractModel):
|
|
|
1268
1479
|
|
|
1269
1480
|
@property
|
|
1270
1481
|
def CreateTime(self):
|
|
1482
|
+
warnings.warn("parameter `CreateTime` is deprecated", DeprecationWarning)
|
|
1483
|
+
|
|
1271
1484
|
return self._CreateTime
|
|
1272
1485
|
|
|
1273
1486
|
@CreateTime.setter
|
|
1274
1487
|
def CreateTime(self, CreateTime):
|
|
1488
|
+
warnings.warn("parameter `CreateTime` is deprecated", DeprecationWarning)
|
|
1489
|
+
|
|
1275
1490
|
self._CreateTime = CreateTime
|
|
1276
1491
|
|
|
1277
1492
|
@property
|
|
1278
1493
|
def ModifyTime(self):
|
|
1494
|
+
warnings.warn("parameter `ModifyTime` is deprecated", DeprecationWarning)
|
|
1495
|
+
|
|
1279
1496
|
return self._ModifyTime
|
|
1280
1497
|
|
|
1281
1498
|
@ModifyTime.setter
|
|
1282
1499
|
def ModifyTime(self, ModifyTime):
|
|
1500
|
+
warnings.warn("parameter `ModifyTime` is deprecated", DeprecationWarning)
|
|
1501
|
+
|
|
1283
1502
|
self._ModifyTime = ModifyTime
|
|
1284
1503
|
|
|
1285
1504
|
@property
|
|
1286
1505
|
def StrategyId(self):
|
|
1506
|
+
warnings.warn("parameter `StrategyId` is deprecated", DeprecationWarning)
|
|
1507
|
+
|
|
1287
1508
|
return self._StrategyId
|
|
1288
1509
|
|
|
1289
1510
|
@StrategyId.setter
|
|
1290
1511
|
def StrategyId(self, StrategyId):
|
|
1512
|
+
warnings.warn("parameter `StrategyId` is deprecated", DeprecationWarning)
|
|
1513
|
+
|
|
1291
1514
|
self._StrategyId = StrategyId
|
|
1292
1515
|
|
|
1293
1516
|
|
|
@@ -773,6 +773,12 @@ UNSUPPORTEDOPERATION_FLOWLOGSNOTSUPPORTKOINSTANCEENI = 'UnsupportedOperation.Flo
|
|
|
773
773
|
# 不支持创建流日志:当前弹性网卡未绑定实例。
|
|
774
774
|
UNSUPPORTEDOPERATION_FLOWLOGSNOTSUPPORTNULLINSTANCEENI = 'UnsupportedOperation.FlowLogsNotSupportNullInstanceEni'
|
|
775
775
|
|
|
776
|
+
# 指定的客户令牌已经被使用。
|
|
777
|
+
UNSUPPORTEDOPERATION_IDEMPOTENTPARAMETERMISMATCH = 'UnsupportedOperation.IdempotentParameterMismatch'
|
|
778
|
+
|
|
779
|
+
# 先前的幂等请求仍在处理中,请稍后重试。
|
|
780
|
+
UNSUPPORTEDOPERATION_IDEMPOTENTPROCESSING = 'UnsupportedOperation.IdempotentProcessing'
|
|
781
|
+
|
|
776
782
|
# 该种类型地址不支持此操作。
|
|
777
783
|
UNSUPPORTEDOPERATION_INCORRECTADDRESSRESOURCETYPE = 'UnsupportedOperation.IncorrectAddressResourceType'
|
|
778
784
|
|
|
@@ -2046,11 +2046,14 @@ class AssignPrivateIpAddressesRequest(AbstractModel):
|
|
|
2046
2046
|
:type SecondaryPrivateIpAddressCount: int
|
|
2047
2047
|
:param _QosLevel: IP服务质量等级,和SecondaryPrivateIpAddressCount配合使用,可选值:PT、AU、AG、DEFAULT,分别代表云金、云银、云铜、默认四个等级。
|
|
2048
2048
|
:type QosLevel: str
|
|
2049
|
+
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
|
2050
|
+
:type ClientToken: str
|
|
2049
2051
|
"""
|
|
2050
2052
|
self._NetworkInterfaceId = None
|
|
2051
2053
|
self._PrivateIpAddresses = None
|
|
2052
2054
|
self._SecondaryPrivateIpAddressCount = None
|
|
2053
2055
|
self._QosLevel = None
|
|
2056
|
+
self._ClientToken = None
|
|
2054
2057
|
|
|
2055
2058
|
@property
|
|
2056
2059
|
def NetworkInterfaceId(self):
|
|
@@ -2084,6 +2087,14 @@ class AssignPrivateIpAddressesRequest(AbstractModel):
|
|
|
2084
2087
|
def QosLevel(self, QosLevel):
|
|
2085
2088
|
self._QosLevel = QosLevel
|
|
2086
2089
|
|
|
2090
|
+
@property
|
|
2091
|
+
def ClientToken(self):
|
|
2092
|
+
return self._ClientToken
|
|
2093
|
+
|
|
2094
|
+
@ClientToken.setter
|
|
2095
|
+
def ClientToken(self, ClientToken):
|
|
2096
|
+
self._ClientToken = ClientToken
|
|
2097
|
+
|
|
2087
2098
|
|
|
2088
2099
|
def _deserialize(self, params):
|
|
2089
2100
|
self._NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
@@ -2095,6 +2106,7 @@ class AssignPrivateIpAddressesRequest(AbstractModel):
|
|
|
2095
2106
|
self._PrivateIpAddresses.append(obj)
|
|
2096
2107
|
self._SecondaryPrivateIpAddressCount = params.get("SecondaryPrivateIpAddressCount")
|
|
2097
2108
|
self._QosLevel = params.get("QosLevel")
|
|
2109
|
+
self._ClientToken = params.get("ClientToken")
|
|
2098
2110
|
memeber_set = set(params.keys())
|
|
2099
2111
|
for name, value in vars(self).items():
|
|
2100
2112
|
property_name = name[1:]
|
|
@@ -2932,10 +2944,13 @@ class AttachNetworkInterfaceRequest(AbstractModel):
|
|
|
2932
2944
|
:type InstanceId: str
|
|
2933
2945
|
:param _AttachType: 网卡的挂载类型:0 标准型,1扩展型,默认值0。
|
|
2934
2946
|
:type AttachType: int
|
|
2947
|
+
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
|
2948
|
+
:type ClientToken: str
|
|
2935
2949
|
"""
|
|
2936
2950
|
self._NetworkInterfaceId = None
|
|
2937
2951
|
self._InstanceId = None
|
|
2938
2952
|
self._AttachType = None
|
|
2953
|
+
self._ClientToken = None
|
|
2939
2954
|
|
|
2940
2955
|
@property
|
|
2941
2956
|
def NetworkInterfaceId(self):
|
|
@@ -2961,11 +2976,20 @@ class AttachNetworkInterfaceRequest(AbstractModel):
|
|
|
2961
2976
|
def AttachType(self, AttachType):
|
|
2962
2977
|
self._AttachType = AttachType
|
|
2963
2978
|
|
|
2979
|
+
@property
|
|
2980
|
+
def ClientToken(self):
|
|
2981
|
+
return self._ClientToken
|
|
2982
|
+
|
|
2983
|
+
@ClientToken.setter
|
|
2984
|
+
def ClientToken(self, ClientToken):
|
|
2985
|
+
self._ClientToken = ClientToken
|
|
2986
|
+
|
|
2964
2987
|
|
|
2965
2988
|
def _deserialize(self, params):
|
|
2966
2989
|
self._NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
2967
2990
|
self._InstanceId = params.get("InstanceId")
|
|
2968
2991
|
self._AttachType = params.get("AttachType")
|
|
2992
|
+
self._ClientToken = params.get("ClientToken")
|
|
2969
2993
|
memeber_set = set(params.keys())
|
|
2970
2994
|
for name, value in vars(self).items():
|
|
2971
2995
|
property_name = name[1:]
|
|
@@ -5489,6 +5513,8 @@ class CreateAndAttachNetworkInterfaceRequest(AbstractModel):
|
|
|
5489
5513
|
:type Tags: list of Tag
|
|
5490
5514
|
:param _AttachType: 绑定类型:0 标准型 1 扩展型。
|
|
5491
5515
|
:type AttachType: int
|
|
5516
|
+
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
|
5517
|
+
:type ClientToken: str
|
|
5492
5518
|
"""
|
|
5493
5519
|
self._VpcId = None
|
|
5494
5520
|
self._NetworkInterfaceName = None
|
|
@@ -5501,6 +5527,7 @@ class CreateAndAttachNetworkInterfaceRequest(AbstractModel):
|
|
|
5501
5527
|
self._NetworkInterfaceDescription = None
|
|
5502
5528
|
self._Tags = None
|
|
5503
5529
|
self._AttachType = None
|
|
5530
|
+
self._ClientToken = None
|
|
5504
5531
|
|
|
5505
5532
|
@property
|
|
5506
5533
|
def VpcId(self):
|
|
@@ -5590,6 +5617,14 @@ class CreateAndAttachNetworkInterfaceRequest(AbstractModel):
|
|
|
5590
5617
|
def AttachType(self, AttachType):
|
|
5591
5618
|
self._AttachType = AttachType
|
|
5592
5619
|
|
|
5620
|
+
@property
|
|
5621
|
+
def ClientToken(self):
|
|
5622
|
+
return self._ClientToken
|
|
5623
|
+
|
|
5624
|
+
@ClientToken.setter
|
|
5625
|
+
def ClientToken(self, ClientToken):
|
|
5626
|
+
self._ClientToken = ClientToken
|
|
5627
|
+
|
|
5593
5628
|
|
|
5594
5629
|
def _deserialize(self, params):
|
|
5595
5630
|
self._VpcId = params.get("VpcId")
|
|
@@ -5613,6 +5648,7 @@ class CreateAndAttachNetworkInterfaceRequest(AbstractModel):
|
|
|
5613
5648
|
obj._deserialize(item)
|
|
5614
5649
|
self._Tags.append(obj)
|
|
5615
5650
|
self._AttachType = params.get("AttachType")
|
|
5651
|
+
self._ClientToken = params.get("ClientToken")
|
|
5616
5652
|
memeber_set = set(params.keys())
|
|
5617
5653
|
for name, value in vars(self).items():
|
|
5618
5654
|
property_name = name[1:]
|
|
@@ -7986,6 +8022,8 @@ class CreateNetworkInterfaceRequest(AbstractModel):
|
|
|
7986
8022
|
:type Tags: list of Tag
|
|
7987
8023
|
:param _TrunkingFlag: 网卡trunking模式设置,Enable-开启,Disable--关闭,默认关闭。
|
|
7988
8024
|
:type TrunkingFlag: str
|
|
8025
|
+
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
|
8026
|
+
:type ClientToken: str
|
|
7989
8027
|
"""
|
|
7990
8028
|
self._VpcId = None
|
|
7991
8029
|
self._NetworkInterfaceName = None
|
|
@@ -7997,6 +8035,7 @@ class CreateNetworkInterfaceRequest(AbstractModel):
|
|
|
7997
8035
|
self._PrivateIpAddresses = None
|
|
7998
8036
|
self._Tags = None
|
|
7999
8037
|
self._TrunkingFlag = None
|
|
8038
|
+
self._ClientToken = None
|
|
8000
8039
|
|
|
8001
8040
|
@property
|
|
8002
8041
|
def VpcId(self):
|
|
@@ -8078,6 +8117,14 @@ class CreateNetworkInterfaceRequest(AbstractModel):
|
|
|
8078
8117
|
def TrunkingFlag(self, TrunkingFlag):
|
|
8079
8118
|
self._TrunkingFlag = TrunkingFlag
|
|
8080
8119
|
|
|
8120
|
+
@property
|
|
8121
|
+
def ClientToken(self):
|
|
8122
|
+
return self._ClientToken
|
|
8123
|
+
|
|
8124
|
+
@ClientToken.setter
|
|
8125
|
+
def ClientToken(self, ClientToken):
|
|
8126
|
+
self._ClientToken = ClientToken
|
|
8127
|
+
|
|
8081
8128
|
|
|
8082
8129
|
def _deserialize(self, params):
|
|
8083
8130
|
self._VpcId = params.get("VpcId")
|
|
@@ -8100,6 +8147,7 @@ class CreateNetworkInterfaceRequest(AbstractModel):
|
|
|
8100
8147
|
obj._deserialize(item)
|
|
8101
8148
|
self._Tags.append(obj)
|
|
8102
8149
|
self._TrunkingFlag = params.get("TrunkingFlag")
|
|
8150
|
+
self._ClientToken = params.get("ClientToken")
|
|
8103
8151
|
memeber_set = set(params.keys())
|
|
8104
8152
|
for name, value in vars(self).items():
|
|
8105
8153
|
property_name = name[1:]
|
|
@@ -8361,7 +8409,7 @@ class CreateSecurityGroupPoliciesRequest(AbstractModel):
|
|
|
8361
8409
|
|
|
8362
8410
|
def __init__(self):
|
|
8363
8411
|
r"""
|
|
8364
|
-
:param _SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n
|
|
8412
|
+
:param _SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
|
8365
8413
|
:type SecurityGroupId: str
|
|
8366
8414
|
:param _SecurityGroupPolicySet: 安全组规则集合。
|
|
8367
8415
|
:type SecurityGroupPolicySet: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
|
|
@@ -8437,7 +8485,7 @@ class CreateSecurityGroupRequest(AbstractModel):
|
|
|
8437
8485
|
:type GroupName: str
|
|
8438
8486
|
:param _GroupDescription: 安全组备注,最多100个字符。
|
|
8439
8487
|
:type GroupDescription: str
|
|
8440
|
-
:param _ProjectId: 项目ID,默认0
|
|
8488
|
+
:param _ProjectId: 项目ID,默认0。可在<a href="https://console.cloud.tencent.com/project">控制台项目管理页面</a>查询到。
|
|
8441
8489
|
:type ProjectId: str
|
|
8442
8490
|
:param _Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
|
8443
8491
|
:type Tags: list of Tag
|
|
@@ -8550,7 +8598,7 @@ class CreateSecurityGroupWithPoliciesRequest(AbstractModel):
|
|
|
8550
8598
|
:type GroupName: str
|
|
8551
8599
|
:param _GroupDescription: 安全组备注,最多100个字符。
|
|
8552
8600
|
:type GroupDescription: str
|
|
8553
|
-
:param _ProjectId: 项目ID,默认0。可在<a href="https://console.cloud.tencent.com/project"
|
|
8601
|
+
:param _ProjectId: 项目ID,默认0。可在<a href="https://console.cloud.tencent.com/project">控制台项目管理页面</a>查询到。
|
|
8554
8602
|
:type ProjectId: str
|
|
8555
8603
|
:param _SecurityGroupPolicySet: 安全组规则集合。
|
|
8556
8604
|
:type SecurityGroupPolicySet: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
|
|
@@ -12878,7 +12926,7 @@ class DeleteSecurityGroupPoliciesRequest(AbstractModel):
|
|
|
12878
12926
|
|
|
12879
12927
|
def __init__(self):
|
|
12880
12928
|
r"""
|
|
12881
|
-
:param _SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n
|
|
12929
|
+
:param _SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
|
12882
12930
|
:type SecurityGroupId: str
|
|
12883
12931
|
:param _SecurityGroupPolicySet: 安全组规则集合。一个请求中只能删除单个方向的一条或多条规则。支持指定索引(PolicyIndex) 匹配删除和安全组规则匹配删除两种方式,一个请求中只能使用一种匹配方式。
|
|
12884
12932
|
:type SecurityGroupPolicySet: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
|
|
@@ -12950,7 +12998,7 @@ class DeleteSecurityGroupRequest(AbstractModel):
|
|
|
12950
12998
|
|
|
12951
12999
|
def __init__(self):
|
|
12952
13000
|
r"""
|
|
12953
|
-
:param _SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n
|
|
13001
|
+
:param _SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
|
12954
13002
|
:type SecurityGroupId: str
|
|
12955
13003
|
"""
|
|
12956
13004
|
self._SecurityGroupId = None
|
|
@@ -19794,7 +19842,7 @@ LOCAL_GATEWAY:本地网关。
|
|
|
19794
19842
|
:type RouteTableIds: list of str
|
|
19795
19843
|
:param _Offset: 偏移量。
|
|
19796
19844
|
:type Offset: str
|
|
19797
|
-
:param _Limit:
|
|
19845
|
+
:param _Limit: 返回数量,默认为20,最大值为100。
|
|
19798
19846
|
:type Limit: str
|
|
19799
19847
|
"""
|
|
19800
19848
|
self._Filters = None
|
|
@@ -19916,7 +19964,7 @@ class DescribeSecurityGroupAssociationStatisticsRequest(AbstractModel):
|
|
|
19916
19964
|
|
|
19917
19965
|
def __init__(self):
|
|
19918
19966
|
r"""
|
|
19919
|
-
:param _SecurityGroupIds: 安全实例ID,例如sg-33ocnj9n
|
|
19967
|
+
:param _SecurityGroupIds: 安全实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
|
19920
19968
|
:type SecurityGroupIds: list of str
|
|
19921
19969
|
"""
|
|
19922
19970
|
self._SecurityGroupIds = None
|
|
@@ -24413,9 +24461,12 @@ class DetachNetworkInterfaceRequest(AbstractModel):
|
|
|
24413
24461
|
:type NetworkInterfaceId: str
|
|
24414
24462
|
:param _InstanceId: CVM实例ID。形如:ins-r8hr2upy。
|
|
24415
24463
|
:type InstanceId: str
|
|
24464
|
+
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
|
24465
|
+
:type ClientToken: str
|
|
24416
24466
|
"""
|
|
24417
24467
|
self._NetworkInterfaceId = None
|
|
24418
24468
|
self._InstanceId = None
|
|
24469
|
+
self._ClientToken = None
|
|
24419
24470
|
|
|
24420
24471
|
@property
|
|
24421
24472
|
def NetworkInterfaceId(self):
|
|
@@ -24433,10 +24484,19 @@ class DetachNetworkInterfaceRequest(AbstractModel):
|
|
|
24433
24484
|
def InstanceId(self, InstanceId):
|
|
24434
24485
|
self._InstanceId = InstanceId
|
|
24435
24486
|
|
|
24487
|
+
@property
|
|
24488
|
+
def ClientToken(self):
|
|
24489
|
+
return self._ClientToken
|
|
24490
|
+
|
|
24491
|
+
@ClientToken.setter
|
|
24492
|
+
def ClientToken(self, ClientToken):
|
|
24493
|
+
self._ClientToken = ClientToken
|
|
24494
|
+
|
|
24436
24495
|
|
|
24437
24496
|
def _deserialize(self, params):
|
|
24438
24497
|
self._NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
24439
24498
|
self._InstanceId = params.get("InstanceId")
|
|
24499
|
+
self._ClientToken = params.get("ClientToken")
|
|
24440
24500
|
memeber_set = set(params.keys())
|
|
24441
24501
|
for name, value in vars(self).items():
|
|
24442
24502
|
property_name = name[1:]
|
|
@@ -32866,7 +32926,7 @@ class ModifySecurityGroupAttributeRequest(AbstractModel):
|
|
|
32866
32926
|
|
|
32867
32927
|
def __init__(self):
|
|
32868
32928
|
r"""
|
|
32869
|
-
:param _SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n
|
|
32929
|
+
:param _SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
|
32870
32930
|
:type SecurityGroupId: str
|
|
32871
32931
|
:param _GroupName: 安全组名称,可任意命名,但不得超过60个字符。
|
|
32872
32932
|
:type GroupName: str
|
|
@@ -32948,7 +33008,7 @@ class ModifySecurityGroupPoliciesRequest(AbstractModel):
|
|
|
32948
33008
|
|
|
32949
33009
|
def __init__(self):
|
|
32950
33010
|
r"""
|
|
32951
|
-
:param _SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n
|
|
33011
|
+
:param _SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
|
32952
33012
|
:type SecurityGroupId: str
|
|
32953
33013
|
:param _SecurityGroupPolicySet: 安全组规则集合。 SecurityGroupPolicySet对象必须同时指定新的出(Egress)入(Ingress)站规则。 SecurityGroupPolicy对象不支持自定义索引(PolicyIndex)。
|
|
32954
33014
|
:type SecurityGroupPolicySet: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
|
|
@@ -34936,7 +34996,7 @@ NONEXTHOP:无下一跳;
|
|
|
34936
34996
|
下一跳类型为NAT,取值Nat网关,形如:nat-12345678;
|
|
34937
34997
|
下一跳类型为NORMAL_CVM,取值云服务器IPv4地址,形如:10.0.0.12;
|
|
34938
34998
|
下一跳类型为CCN,取值云联网ID,形如:ccn-12345678;
|
|
34939
|
-
下一跳类型为NONEXTHOP
|
|
34999
|
+
下一跳类型为NONEXTHOP,指定网络探测为无下一跳的网络探测,添加和修改时,不需要指定值,查询时值为空字符串;
|
|
34940
35000
|
:type NextHopDestination: str
|
|
34941
35001
|
:param _NextHopName: 下一跳网关名称。
|
|
34942
35002
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -37567,7 +37627,7 @@ class ReplaceSecurityGroupPolicyRequest(AbstractModel):
|
|
|
37567
37627
|
|
|
37568
37628
|
def __init__(self):
|
|
37569
37629
|
r"""
|
|
37570
|
-
:param _SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n
|
|
37630
|
+
:param _SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
|
37571
37631
|
:type SecurityGroupId: str
|
|
37572
37632
|
:param _SecurityGroupPolicySet: 安全组规则集合对象。
|
|
37573
37633
|
:type SecurityGroupPolicySet: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
|