tccli 3.0.1187.1__py2.py3-none-any.whl → 3.0.1189.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aiart/aiart_client.py +53 -0
  3. tccli/services/aiart/v20221229/api.json +107 -0
  4. tccli/services/aiart/v20221229/examples.json +8 -0
  5. tccli/services/apm/v20210622/api.json +3 -1
  6. tccli/services/billing/v20180709/api.json +3 -0
  7. tccli/services/billing/v20180709/examples.json +1 -1
  8. tccli/services/cfg/v20210820/api.json +19 -4
  9. tccli/services/ckafka/v20190819/api.json +5 -5
  10. tccli/services/cvm/cvm_client.py +53 -0
  11. tccli/services/cvm/v20170312/api.json +107 -0
  12. tccli/services/cvm/v20170312/examples.json +8 -0
  13. tccli/services/dc/v20180410/api.json +19 -19
  14. tccli/services/dc/v20180410/examples.json +5 -5
  15. tccli/services/dcdb/dcdb_client.py +106 -0
  16. tccli/services/dcdb/v20180411/api.json +338 -2
  17. tccli/services/dcdb/v20180411/examples.json +28 -0
  18. tccli/services/dlc/dlc_client.py +106 -0
  19. tccli/services/dlc/v20210125/api.json +87 -0
  20. tccli/services/dlc/v20210125/examples.json +16 -0
  21. tccli/services/dnspod/dnspod_client.py +53 -0
  22. tccli/services/dnspod/v20210323/api.json +118 -0
  23. tccli/services/dnspod/v20210323/examples.json +8 -0
  24. tccli/services/dts/v20211206/api.json +1 -0
  25. tccli/services/emr/emr_client.py +322 -4
  26. tccli/services/emr/v20190103/api.json +862 -10
  27. tccli/services/emr/v20190103/examples.json +54 -0
  28. tccli/services/es/es_client.py +53 -0
  29. tccli/services/es/v20180416/api.json +155 -0
  30. tccli/services/es/v20180416/examples.json +14 -0
  31. tccli/services/ess/ess_client.py +53 -0
  32. tccli/services/ess/v20201111/api.json +147 -0
  33. tccli/services/ess/v20201111/examples.json +8 -0
  34. tccli/services/essbasic/essbasic_client.py +53 -0
  35. tccli/services/essbasic/v20210526/api.json +120 -0
  36. tccli/services/essbasic/v20210526/examples.json +8 -0
  37. tccli/services/mariadb/mariadb_client.py +110 -4
  38. tccli/services/mariadb/v20170312/api.json +339 -3
  39. tccli/services/mariadb/v20170312/examples.json +16 -0
  40. tccli/services/ocr/v20181119/api.json +12 -2
  41. tccli/services/rce/v20201103/api.json +2 -2
  42. tccli/services/redis/redis_client.py +110 -4
  43. tccli/services/redis/v20180412/api.json +209 -0
  44. tccli/services/redis/v20180412/examples.json +16 -0
  45. tccli/services/sms/v20190711/api.json +2 -2
  46. tccli/services/sms/v20210111/api.json +2 -2
  47. tccli/services/teo/v20220901/api.json +14 -14
  48. tccli/services/trtc/v20190722/api.json +11 -0
  49. tccli/services/tse/v20201207/api.json +18 -18
  50. tccli/services/tsf/v20180326/api.json +74 -29
  51. tccli/services/vclm/v20240523/api.json +2 -2
  52. tccli/services/vdb/v20230616/api.json +491 -0
  53. tccli/services/vdb/v20230616/examples.json +46 -0
  54. tccli/services/vdb/vdb_client.py +265 -0
  55. tccli/services/vpc/v20170312/api.json +5 -5
  56. tccli/services/vtc/v20240223/api.json +2 -2
  57. {tccli-3.0.1187.1.dist-info → tccli-3.0.1189.1.dist-info}/METADATA +2 -2
  58. {tccli-3.0.1187.1.dist-info → tccli-3.0.1189.1.dist-info}/RECORD +61 -61
  59. {tccli-3.0.1187.1.dist-info → tccli-3.0.1189.1.dist-info}/WHEEL +0 -0
  60. {tccli-3.0.1187.1.dist-info → tccli-3.0.1189.1.dist-info}/entry_points.txt +0 -0
  61. {tccli-3.0.1187.1.dist-info → tccli-3.0.1189.1.dist-info}/license_files/LICENSE +0 -0
@@ -17,6 +17,58 @@ from tencentcloud.vdb.v20230616 import models as models_v20230616
17
17
  from jmespath import search
18
18
  import time
19
19
 
20
+ def doAssociateSecurityGroups(args, parsed_globals):
21
+ g_param = parse_global_arg(parsed_globals)
22
+
23
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
24
+ cred = credential.CVMRoleCredential()
25
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
26
+ cred = credential.STSAssumeRoleCredential(
27
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
28
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
29
+ )
30
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
31
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
32
+ else:
33
+ cred = credential.Credential(
34
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
35
+ )
36
+ http_profile = HttpProfile(
37
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
38
+ reqMethod="POST",
39
+ endpoint=g_param[OptionsDefine.Endpoint],
40
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
41
+ )
42
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
43
+ if g_param[OptionsDefine.Language]:
44
+ profile.language = g_param[OptionsDefine.Language]
45
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
46
+ client = mod.VdbClient(cred, g_param[OptionsDefine.Region], profile)
47
+ client._sdkVersion += ("_CLI_" + __version__)
48
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
49
+ model = models.AssociateSecurityGroupsRequest()
50
+ model.from_json_string(json.dumps(args))
51
+ start_time = time.time()
52
+ while True:
53
+ rsp = client.AssociateSecurityGroups(model)
54
+ result = rsp.to_json_string()
55
+ try:
56
+ json_obj = json.loads(result)
57
+ except TypeError as e:
58
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
59
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
60
+ break
61
+ cur_time = time.time()
62
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
63
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
64
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
65
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
66
+ else:
67
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
68
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
69
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
70
+
71
+
20
72
  def doDescribeInstances(args, parsed_globals):
21
73
  g_param = parse_global_arg(parsed_globals)
22
74
 
@@ -69,6 +121,214 @@ def doDescribeInstances(args, parsed_globals):
69
121
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
70
122
 
71
123
 
124
+ def doDescribeDBSecurityGroups(args, parsed_globals):
125
+ g_param = parse_global_arg(parsed_globals)
126
+
127
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
128
+ cred = credential.CVMRoleCredential()
129
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
130
+ cred = credential.STSAssumeRoleCredential(
131
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
132
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
133
+ )
134
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
135
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
136
+ else:
137
+ cred = credential.Credential(
138
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
139
+ )
140
+ http_profile = HttpProfile(
141
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
142
+ reqMethod="POST",
143
+ endpoint=g_param[OptionsDefine.Endpoint],
144
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
145
+ )
146
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
147
+ if g_param[OptionsDefine.Language]:
148
+ profile.language = g_param[OptionsDefine.Language]
149
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
150
+ client = mod.VdbClient(cred, g_param[OptionsDefine.Region], profile)
151
+ client._sdkVersion += ("_CLI_" + __version__)
152
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
153
+ model = models.DescribeDBSecurityGroupsRequest()
154
+ model.from_json_string(json.dumps(args))
155
+ start_time = time.time()
156
+ while True:
157
+ rsp = client.DescribeDBSecurityGroups(model)
158
+ result = rsp.to_json_string()
159
+ try:
160
+ json_obj = json.loads(result)
161
+ except TypeError as e:
162
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
163
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
164
+ break
165
+ cur_time = time.time()
166
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
167
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
168
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
169
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
170
+ else:
171
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
172
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
173
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
174
+
175
+
176
+ def doModifyDBInstanceSecurityGroups(args, parsed_globals):
177
+ g_param = parse_global_arg(parsed_globals)
178
+
179
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
180
+ cred = credential.CVMRoleCredential()
181
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
182
+ cred = credential.STSAssumeRoleCredential(
183
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
184
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
185
+ )
186
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
187
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
188
+ else:
189
+ cred = credential.Credential(
190
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
191
+ )
192
+ http_profile = HttpProfile(
193
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
194
+ reqMethod="POST",
195
+ endpoint=g_param[OptionsDefine.Endpoint],
196
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
197
+ )
198
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
199
+ if g_param[OptionsDefine.Language]:
200
+ profile.language = g_param[OptionsDefine.Language]
201
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
202
+ client = mod.VdbClient(cred, g_param[OptionsDefine.Region], profile)
203
+ client._sdkVersion += ("_CLI_" + __version__)
204
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
205
+ model = models.ModifyDBInstanceSecurityGroupsRequest()
206
+ model.from_json_string(json.dumps(args))
207
+ start_time = time.time()
208
+ while True:
209
+ rsp = client.ModifyDBInstanceSecurityGroups(model)
210
+ result = rsp.to_json_string()
211
+ try:
212
+ json_obj = json.loads(result)
213
+ except TypeError as e:
214
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
215
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
216
+ break
217
+ cur_time = time.time()
218
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
219
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
220
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
221
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
222
+ else:
223
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
224
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
225
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
226
+
227
+
228
+ def doDescribeInstanceNodes(args, parsed_globals):
229
+ g_param = parse_global_arg(parsed_globals)
230
+
231
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
232
+ cred = credential.CVMRoleCredential()
233
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
234
+ cred = credential.STSAssumeRoleCredential(
235
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
236
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
237
+ )
238
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
239
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
240
+ else:
241
+ cred = credential.Credential(
242
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
243
+ )
244
+ http_profile = HttpProfile(
245
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
246
+ reqMethod="POST",
247
+ endpoint=g_param[OptionsDefine.Endpoint],
248
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
249
+ )
250
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
251
+ if g_param[OptionsDefine.Language]:
252
+ profile.language = g_param[OptionsDefine.Language]
253
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
254
+ client = mod.VdbClient(cred, g_param[OptionsDefine.Region], profile)
255
+ client._sdkVersion += ("_CLI_" + __version__)
256
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
257
+ model = models.DescribeInstanceNodesRequest()
258
+ model.from_json_string(json.dumps(args))
259
+ start_time = time.time()
260
+ while True:
261
+ rsp = client.DescribeInstanceNodes(model)
262
+ result = rsp.to_json_string()
263
+ try:
264
+ json_obj = json.loads(result)
265
+ except TypeError as e:
266
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
267
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
268
+ break
269
+ cur_time = time.time()
270
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
271
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
272
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
273
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
274
+ else:
275
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
276
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
277
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
278
+
279
+
280
+ def doDisassociateSecurityGroups(args, parsed_globals):
281
+ g_param = parse_global_arg(parsed_globals)
282
+
283
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
284
+ cred = credential.CVMRoleCredential()
285
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
286
+ cred = credential.STSAssumeRoleCredential(
287
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
288
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
289
+ )
290
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
291
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
292
+ else:
293
+ cred = credential.Credential(
294
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
295
+ )
296
+ http_profile = HttpProfile(
297
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
298
+ reqMethod="POST",
299
+ endpoint=g_param[OptionsDefine.Endpoint],
300
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
301
+ )
302
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
303
+ if g_param[OptionsDefine.Language]:
304
+ profile.language = g_param[OptionsDefine.Language]
305
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
306
+ client = mod.VdbClient(cred, g_param[OptionsDefine.Region], profile)
307
+ client._sdkVersion += ("_CLI_" + __version__)
308
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
309
+ model = models.DisassociateSecurityGroupsRequest()
310
+ model.from_json_string(json.dumps(args))
311
+ start_time = time.time()
312
+ while True:
313
+ rsp = client.DisassociateSecurityGroups(model)
314
+ result = rsp.to_json_string()
315
+ try:
316
+ json_obj = json.loads(result)
317
+ except TypeError as e:
318
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
319
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
320
+ break
321
+ cur_time = time.time()
322
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
323
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
324
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
325
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
326
+ else:
327
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
328
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
329
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
330
+
331
+
72
332
  CLIENT_MAP = {
73
333
  "v20230616": vdb_client_v20230616,
74
334
 
@@ -80,7 +340,12 @@ MODELS_MAP = {
80
340
  }
81
341
 
82
342
  ACTION_MAP = {
343
+ "AssociateSecurityGroups": doAssociateSecurityGroups,
83
344
  "DescribeInstances": doDescribeInstances,
345
+ "DescribeDBSecurityGroups": doDescribeDBSecurityGroups,
346
+ "ModifyDBInstanceSecurityGroups": doModifyDBInstanceSecurityGroups,
347
+ "DescribeInstanceNodes": doDescribeInstanceNodes,
348
+ "DisassociateSecurityGroups": doDisassociateSecurityGroups,
84
349
 
85
350
  }
86
351
 
@@ -85,7 +85,7 @@
85
85
  "status": "online"
86
86
  },
87
87
  "AssociateAddress": {
88
- "document": "本接口 (AssociateAddress) 用于将[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)绑定到实例或弹性网卡的指定内网 IP 上。\n* 将 EIP 绑定到实例(CVM)上,其本质是将 EIP 绑定到实例上主网卡的主内网 IP 上。\n* 将 EIP 绑定到主网卡的主内网IP上,绑定过程会把其上绑定的普通公网 IP 自动解绑并释放。\n* 将 EIP 绑定到指定网卡的内网 IP上(非主网卡的主内网IP),则必须先解绑该 EIP,才能再绑定新的。\n* 将 EIP 绑定到内网型CLB实例的功能处于内测阶段,如需使用,请提交内测申请。\n* 将 EIP 绑定到NAT网关,请使用接口[AssociateNatGatewayAddress](https://cloud.tencent.com/document/product/215/36722)\n* EIP 如果欠费或被封堵,则不能被绑定。\n* 只有状态为 UNBIND 的 EIP 才能够被绑定。",
88
+ "document": "本接口 (AssociateAddress) 用于将[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)绑定到实例或弹性网卡的指定内网 IP 上。\n* 将 EIP 绑定到实例(CVM)上,其本质是将 EIP 绑定到实例上主网卡的主内网 IP 上。\n* 将 EIP 绑定到主网卡的主内网IP时,如主内网IP已绑定普通公网IP,必须先退还才能绑定EIP。\n* 将 EIP 绑定到指定网卡的内网 IP上(非主网卡的主内网IP),则必须先解绑该 EIP,才能再绑定新的。\n* 将 EIP 绑定到内网型CLB实例的功能处于内测阶段,如需使用,请提交[内测申请](https://cloud.tencent.com/apply/p/4kxj7picqci)。\n* 将 EIP 绑定到NAT网关,请使用接口[AssociateNatGatewayAddress](https://cloud.tencent.com/document/product/215/36722)\n* EIP 如果欠费或被封堵,则不能被绑定。\n* 只有状态为 UNBIND 的 EIP 才能够被绑定。",
89
89
  "input": "AssociateAddressRequest",
90
90
  "name": "绑定弹性公网IP",
91
91
  "output": "AssociateAddressResponse",
@@ -29341,7 +29341,7 @@
29341
29341
  "members": [
29342
29342
  {
29343
29343
  "disabled": false,
29344
- "document": "目的网段,取值不能在私有网络网段内,例如:112.20.51.0/24。",
29344
+ "document": "创建IPv4目的网段,取值不能在私有网络网段内,例如:112.20.51.0/24。",
29345
29345
  "example": "-",
29346
29346
  "member": "string",
29347
29347
  "name": "DestinationCidrBlock",
@@ -29352,7 +29352,7 @@
29352
29352
  },
29353
29353
  {
29354
29354
  "disabled": false,
29355
- "document": "下一跳类型,目前我们支持的类型有:\nCVM:公网网关类型的云服务器;\nVPN:VPN网关;\nDIRECTCONNECT:专线网关;\nPEERCONNECTION:对等连接;\nHAVIP:高可用虚拟IP;\nNATNAT网关; \nNORMAL_CVM:普通云服务器;\nEIP:云服务器的公网IP;\nLOCAL_GATEWAY:本地网关。",
29355
+ "document": "下一跳类型,目前我们支持的类型有:\nCVM:公网网关类型的云服务器;\nVPN:VPN网关;\nDIRECTCONNECT:专线网关;\nPEERCONNECTION:对等连接;\nHAVIP:高可用虚拟IP;\nNAT:公网NAT网关; \nNORMAL_CVM:普通云服务器;\nEIP:云服务器的公网IP;\nLOCAL_GATEWAY:CDC本地网关;\nINTRANAT:私网NAT网关;\nUSER_CCN;云联网(自定义路由)。\n",
29356
29356
  "example": "-",
29357
29357
  "member": "string",
29358
29358
  "name": "GatewayType",
@@ -29429,7 +29429,7 @@
29429
29429
  },
29430
29430
  {
29431
29431
  "disabled": false,
29432
- "document": "目的IPv6网段,取值不能在私有网络网段内,例如:2402:4e00:1000:810b::/64。\n注意:此字段可能返回 null,表示取不到有效值。",
29432
+ "document": "创建IPv6目的网段,取值不能在私有网络网段内,例如:2402:4e00:1000:810b::/64。\n注意:此字段可能返回 null,表示取不到有效值。",
29433
29433
  "example": "-",
29434
29434
  "member": "string",
29435
29435
  "name": "DestinationIpv6CidrBlock",
@@ -29451,7 +29451,7 @@
29451
29451
  },
29452
29452
  {
29453
29453
  "disabled": false,
29454
- "document": "路由策略是否发布到云联网。\n注意:此字段可能返回 null,表示取不到有效值。",
29454
+ "document": "路由策略是否发布到云联网。该字段仅做出参使用,作为入参字段时此参数不生效。\n注意:此字段可能返回 null,表示取不到有效值。",
29455
29455
  "example": "True",
29456
29456
  "member": "bool",
29457
29457
  "name": "PublishedToVbc",
@@ -406,8 +406,8 @@
406
406
  "members": [
407
407
  {
408
408
  "disabled": false,
409
- "document": "任务ID。",
410
- "example": "",
409
+ "document": "视频转译任务的Job id",
410
+ "example": "vlSYvQkMM0KwPuoakawm0tPrREwc2p7c",
411
411
  "member": "string",
412
412
  "name": "JobId",
413
413
  "output_required": false,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tccli
3
- Version: 3.0.1187.1
3
+ Version: 3.0.1189.1
4
4
  Summary: Universal Command Line Environment for Tencent Cloud
5
5
  Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
6
6
  Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Requires-Dist: jmespath==0.10.0
15
15
  Requires-Dist: six==1.16.0
16
- Requires-Dist: tencentcloud-sdk-python>=3.0.1187
16
+ Requires-Dist: tencentcloud-sdk-python>=3.0.1189
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # 命令行工具简介