tccli 3.0.1146.1__py2.py3-none-any.whl → 3.0.1148.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/aiart/aiart_client.py +53 -0
- tccli/services/aiart/v20221229/api.json +82 -2
- tccli/services/aiart/v20221229/examples.json +12 -4
- tccli/services/asr/v20190614/api.json +6 -6
- tccli/services/cdb/v20170320/api.json +14 -10
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/clb/v20180317/api.json +1 -1
- tccli/services/dcdb/v20180411/api.json +2 -0
- tccli/services/dnspod/v20210323/api.json +9 -0
- tccli/services/goosefs/v20220519/api.json +92 -12
- tccli/services/iotexplorer/v20190423/api.json +1 -1
- tccli/services/ivld/ivld_client.py +163 -4
- tccli/services/ivld/v20210903/api.json +443 -0
- tccli/services/ivld/v20210903/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +33 -31
- tccli/services/lighthouse/v20200324/examples.json +3 -3
- tccli/services/live/v20180801/api.json +7 -5
- tccli/services/lke/lke_client.py +53 -0
- tccli/services/lke/v20231130/api.json +160 -1
- tccli/services/lke/v20231130/examples.json +10 -2
- tccli/services/mna/mna_client.py +485 -8
- tccli/services/mna/v20210119/api.json +743 -21
- tccli/services/mna/v20210119/examples.json +72 -0
- tccli/services/mps/v20190612/api.json +31 -10
- tccli/services/postgres/v20170312/api.json +7 -7
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/tdcpg/v20211118/api.json +4 -4
- tccli/services/tdcpg/v20211118/examples.json +2 -2
- tccli/services/tdmq/v20200217/api.json +8 -8
- tccli/services/tdmq/v20200217/examples.json +1 -1
- tccli/services/tke/v20180525/api.json +3 -3
- tccli/services/trtc/trtc_client.py +163 -4
- tccli/services/trtc/v20190722/api.json +311 -0
- tccli/services/trtc/v20190722/examples.json +24 -0
- tccli/services/tse/v20201207/api.json +19 -0
- tccli/services/tsf/tsf_client.py +110 -4
- tccli/services/tsf/v20180326/api.json +142 -0
- tccli/services/tsf/v20180326/examples.json +16 -0
- tccli/services/vpc/v20170312/api.json +144 -26
- tccli/services/vpc/v20170312/examples.json +10 -2
- tccli/services/vpc/vpc_client.py +69 -16
- tccli/services/waf/v20180125/api.json +2 -2
- {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/RECORD +48 -48
- {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1148.1'
|
@@ -485,6 +485,58 @@ def doTextToImage(args, parsed_globals):
|
|
485
485
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
486
486
|
|
487
487
|
|
488
|
+
def doChangeClothes(args, parsed_globals):
|
489
|
+
g_param = parse_global_arg(parsed_globals)
|
490
|
+
|
491
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
492
|
+
cred = credential.CVMRoleCredential()
|
493
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
494
|
+
cred = credential.STSAssumeRoleCredential(
|
495
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
496
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
497
|
+
)
|
498
|
+
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):
|
499
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
500
|
+
else:
|
501
|
+
cred = credential.Credential(
|
502
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
503
|
+
)
|
504
|
+
http_profile = HttpProfile(
|
505
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
506
|
+
reqMethod="POST",
|
507
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
508
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
509
|
+
)
|
510
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
511
|
+
if g_param[OptionsDefine.Language]:
|
512
|
+
profile.language = g_param[OptionsDefine.Language]
|
513
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
514
|
+
client = mod.AiartClient(cred, g_param[OptionsDefine.Region], profile)
|
515
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
516
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
517
|
+
model = models.ChangeClothesRequest()
|
518
|
+
model.from_json_string(json.dumps(args))
|
519
|
+
start_time = time.time()
|
520
|
+
while True:
|
521
|
+
rsp = client.ChangeClothes(model)
|
522
|
+
result = rsp.to_json_string()
|
523
|
+
try:
|
524
|
+
json_obj = json.loads(result)
|
525
|
+
except TypeError as e:
|
526
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
527
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
528
|
+
break
|
529
|
+
cur_time = time.time()
|
530
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
531
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
532
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
533
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
534
|
+
else:
|
535
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
536
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
537
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
538
|
+
|
539
|
+
|
488
540
|
def doSubmitDrawPortraitJob(args, parsed_globals):
|
489
541
|
g_param = parse_global_arg(parsed_globals)
|
490
542
|
|
@@ -609,6 +661,7 @@ ACTION_MAP = {
|
|
609
661
|
"UploadTrainPortraitImages": doUploadTrainPortraitImages,
|
610
662
|
"QueryDrawPortraitJob": doQueryDrawPortraitJob,
|
611
663
|
"TextToImage": doTextToImage,
|
664
|
+
"ChangeClothes": doChangeClothes,
|
612
665
|
"SubmitDrawPortraitJob": doSubmitDrawPortraitJob,
|
613
666
|
"ImageToImage": doImageToImage,
|
614
667
|
|
@@ -1,5 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
+
"ChangeClothes": {
|
4
|
+
"document": "上传正面全身模特照和服装平铺图,生成模特换装后的图片。\n生成的换装图片分辨率和模特照分辨率一致。\n模特换装默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
|
5
|
+
"input": "ChangeClothesRequest",
|
6
|
+
"name": "模特换装",
|
7
|
+
"output": "ChangeClothesResponse",
|
8
|
+
"status": "online"
|
9
|
+
},
|
3
10
|
"GenerateAvatar": {
|
4
11
|
"document": "百变头像接口将根据输入的人像照片,生成风格百变的头像。\n百变头像默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
|
5
12
|
"input": "GenerateAvatarRequest",
|
@@ -15,7 +22,7 @@
|
|
15
22
|
"status": "online"
|
16
23
|
},
|
17
24
|
"QueryDrawPortraitJob": {
|
18
|
-
"document": "AI 写真提供 AI 写真形象照的训练与生成能力,分为上传训练图片、训练模型、生成图片3个环节,需要依次调用对应接口。\n每个写真模型自训练完成起1年内有效,有效期内可使用写真模型 ID 生成图片,期满后需要重新训练。\n生成图片分为提交任务和查询任务2个接口。\n- 提交生成写真图片任务:完成训练写真模型后,选择写真风格模板,提交一个生成写真图片异步任务,根据写真模型 ID 开始生成人物形象在指定风格上的写真图片,获得任务 ID。\n- 查询生成写真图片任务:根据任务 ID
|
25
|
+
"document": "AI 写真提供 AI 写真形象照的训练与生成能力,分为上传训练图片、训练模型、生成图片3个环节,需要依次调用对应接口。\n每个写真模型自训练完成起1年内有效,有效期内可使用写真模型 ID 生成图片,期满后需要重新训练。\n生成图片分为提交任务和查询任务2个接口。\n- 提交生成写真图片任务:完成训练写真模型后,选择写真风格模板,提交一个生成写真图片异步任务,根据写真模型 ID 开始生成人物形象在指定风格上的写真图片,获得任务 ID。\n- 查询生成写真图片任务:根据任务 ID 查询生成图片任务的处理状态、处理结果。",
|
19
26
|
"input": "QueryDrawPortraitJobRequest",
|
20
27
|
"name": "查询生成写真图片任务",
|
21
28
|
"output": "QueryDrawPortraitJobResponse",
|
@@ -29,7 +36,7 @@
|
|
29
36
|
"status": "online"
|
30
37
|
},
|
31
38
|
"QueryTrainPortraitModelJob": {
|
32
|
-
"document": "AI 写真提供 AI 写真形象照的训练与生成能力,分为上传训练图片、训练模型、生成图片3个环节,需要依次调用对应接口。\n每个写真模型自训练完成起1年内有效,有效期内可使用写真模型 ID 生成图片,期满后需要重新训练。\n训练模型分为提交任务和查询任务2个接口。\n- 提交训练写真模型任务:完成上传训练图片后,提交一个训练写真模型异步任务,根据写真模型 ID 开始训练模型。\n- 查询训练写真模型任务:根据写真模型 ID
|
39
|
+
"document": "AI 写真提供 AI 写真形象照的训练与生成能力,分为上传训练图片、训练模型、生成图片3个环节,需要依次调用对应接口。\n每个写真模型自训练完成起1年内有效,有效期内可使用写真模型 ID 生成图片,期满后需要重新训练。\n训练模型分为提交任务和查询任务2个接口。\n- 提交训练写真模型任务:完成上传训练图片后,提交一个训练写真模型异步任务,根据写真模型 ID 开始训练模型。\n- 查询训练写真模型任务:根据写真模型 ID 查询训练任务的处理状态、处理结果。",
|
33
40
|
"input": "QueryTrainPortraitModelJobRequest",
|
34
41
|
"name": "查询训练写真模型任务",
|
35
42
|
"output": "QueryTrainPortraitModelJobResponse",
|
@@ -85,6 +92,79 @@
|
|
85
92
|
"serviceShortName": "aiart"
|
86
93
|
},
|
87
94
|
"objects": {
|
95
|
+
"ChangeClothesRequest": {
|
96
|
+
"document": "ChangeClothes请求参数结构体",
|
97
|
+
"members": [
|
98
|
+
{
|
99
|
+
"disabled": false,
|
100
|
+
"document": "模特图片 Url。\n图片限制:单边分辨率小于3000,且大于512,转成 Base64 字符串后小于 8MB。\n输入要求:\n1、建议上传正面模特图片,至少完整露出应穿着输入指定服装的身体部位(全身、上半身或下半身),无大角度身体偏转或异常姿势。\n2、建议上传3:4比例的图片,生成效果更佳。\n3、建议模特图片中的原始服装和更换后的服装类别一致,或原始服装在身体上的覆盖范围小于等于更换后的服装(例如需要给模特换上短裤,则原始模特图片中也建议穿短裤,不建议穿长裤),否则会影响人像生成效果。\n",
|
101
|
+
"example": "无",
|
102
|
+
"member": "string",
|
103
|
+
"name": "ModelUrl",
|
104
|
+
"required": true,
|
105
|
+
"type": "string"
|
106
|
+
},
|
107
|
+
{
|
108
|
+
"disabled": false,
|
109
|
+
"document": "服装图片 Url。\n图片限制:单边分辨率小于3000,大于512,转成 Base64 字符串后小于 8MB。\n输入要求:\n建议上传服装完整的正面平铺图片,仅包含1个服装主体,服装类型支持上衣、下装、连衣裙,三选一。算法将根据输入的图片,结合服装图片给模特换装。",
|
110
|
+
"example": "无",
|
111
|
+
"member": "string",
|
112
|
+
"name": "ClothesUrl",
|
113
|
+
"required": true,
|
114
|
+
"type": "string"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"disabled": false,
|
118
|
+
"document": "服装类型,需要和服装图片保持一致。\n取值:\nUpper-body:上衣\nLower-body:下装\nDress:连衣裙",
|
119
|
+
"example": "无",
|
120
|
+
"member": "string",
|
121
|
+
"name": "ClothesType",
|
122
|
+
"required": true,
|
123
|
+
"type": "string"
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"disabled": false,
|
127
|
+
"document": "为生成结果图添加标识的开关,默认为1。\n1:添加标识。\n0:不添加标识。\n其他数值:默认按1处理。\n建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。",
|
128
|
+
"example": "无",
|
129
|
+
"member": "int64",
|
130
|
+
"name": "LogoAdd",
|
131
|
+
"required": false,
|
132
|
+
"type": "int"
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"disabled": false,
|
136
|
+
"document": "返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。\n生成图分辨率较大时建议选择 url,使用 base64 可能因图片过大导致返回失败。",
|
137
|
+
"example": "base64",
|
138
|
+
"member": "string",
|
139
|
+
"name": "RspImgType",
|
140
|
+
"required": false,
|
141
|
+
"type": "string"
|
142
|
+
}
|
143
|
+
],
|
144
|
+
"type": "object"
|
145
|
+
},
|
146
|
+
"ChangeClothesResponse": {
|
147
|
+
"document": "ChangeClothes返回参数结构体",
|
148
|
+
"members": [
|
149
|
+
{
|
150
|
+
"disabled": false,
|
151
|
+
"document": "根据入参 RspImgType 填入不同,返回不同的内容。\n如果传入 base64 则返回生成图 Base64 编码。\n如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。",
|
152
|
+
"example": "无",
|
153
|
+
"member": "string",
|
154
|
+
"name": "ResultImage",
|
155
|
+
"output_required": true,
|
156
|
+
"type": "string",
|
157
|
+
"value_allowed_null": false
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
161
|
+
"member": "string",
|
162
|
+
"name": "RequestId",
|
163
|
+
"type": "string"
|
164
|
+
}
|
165
|
+
],
|
166
|
+
"type": "object"
|
167
|
+
},
|
88
168
|
"Filter": {
|
89
169
|
"document": "训练图像质量过滤开关配置。\n支持开启或关闭对训练图像分辨率下限、脸部区域大小、脸部遮挡、脸部角度的过滤,默认开启以上过滤。\n如果训练图像内包含多人脸或无人脸、和 Base 人像不为同一人也将被过滤,不可关闭该过滤条件。\n建议:关闭以上过滤可能导致写真生成效果受损,建议使用单人、正脸、脸部清晰、无遮挡、无夸张表情、脸部区域占比较大的图像进行训练。",
|
90
170
|
"members": [
|
@@ -1,5 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
+
"ChangeClothes": [
|
4
|
+
{
|
5
|
+
"document": "",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChangeClothes\n<公共请求参数>\n\n{\n \"ModelUrl\": \"https://xxx.com/test.jpg\",\n \"ClothesUrl\": \"https://xxx.com/test.jpg\",\n \"ClothesType\": \"Upper-body\",\n \"RspImgType\": \"url\"\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"0d0728ed-f777-4861-aa4b-5a6167daa0b6\",\n \"ResultImage\": \"https://result.jpg\"\n }\n}",
|
8
|
+
"title": "成功"
|
9
|
+
}
|
10
|
+
],
|
3
11
|
"GenerateAvatar": [
|
4
12
|
{
|
5
13
|
"document": "",
|
@@ -19,7 +27,7 @@
|
|
19
27
|
"QueryDrawPortraitJob": [
|
20
28
|
{
|
21
29
|
"document": "成功请求",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryDrawPortraitJob\n<公共请求参数>\n\n{\n \"JobId\": \"
|
30
|
+
"input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryDrawPortraitJob\n<公共请求参数>\n\n{\n \"JobId\": \"eascexasdfasese\"\n}",
|
23
31
|
"output": "{\n \"Response\": {\n \"JobErrorCode\": \"\",\n \"JobErrorMsg\": \"\",\n \"JobStatusCode\": \"DONE\",\n \"JobStatusMsg\": \"处理完成\",\n \"RequestId\": \"9202070d-02bd-4848-bf54-568a2597e400\",\n \"ResultDetails\": [\n \"SUCCESS\"\n ],\n \"ResultUrls\": [\n \"https://xxx.com/a.jpg\"\n ]\n }\n}",
|
24
32
|
"title": "成功"
|
25
33
|
}
|
@@ -35,7 +43,7 @@
|
|
35
43
|
"QueryTrainPortraitModelJob": [
|
36
44
|
{
|
37
45
|
"document": "",
|
38
|
-
"input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryTrainPortraitModelJob\n<公共请求参数>\n\n{\n \"ModelId\": \"
|
46
|
+
"input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryTrainPortraitModelJob\n<公共请求参数>\n\n{\n \"ModelId\": \"test\"\n}",
|
39
47
|
"output": "{\n \"Response\": {\n \"JobErrorCode\": \"\",\n \"JobErrorMsg\": \"\",\n \"JobStatusCode\": \"DONE\",\n \"JobStatusMsg\": \"处理完成\",\n \"RequestId\": \"d643c325-5fe6-4d90-880c-40516ad27f8e\"\n }\n}",
|
40
48
|
"title": "查询成功"
|
41
49
|
}
|
@@ -67,8 +75,8 @@
|
|
67
75
|
"SubmitTrainPortraitModelJob": [
|
68
76
|
{
|
69
77
|
"document": "提交训练任务成功",
|
70
|
-
"input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitTrainPortraitModelJob\n<公共请求参数>\n\n{\n \"ModelId\": \"
|
71
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
78
|
+
"input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitTrainPortraitModelJob\n<公共请求参数>\n\n{\n \"ModelId\": \"test\"\n}",
|
79
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"5ed6909b-9b97-4924-a3f3-3b7a9b02d1-ce\"\n }\n}",
|
72
80
|
"title": "成功提交训练任务"
|
73
81
|
}
|
74
82
|
],
|
@@ -2727,19 +2727,19 @@
|
|
2727
2727
|
},
|
2728
2728
|
{
|
2729
2729
|
"disabled": false,
|
2730
|
-
"document": "
|
2731
|
-
"example": "
|
2730
|
+
"document": "音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M\t",
|
2731
|
+
"example": "无",
|
2732
2732
|
"member": "string",
|
2733
|
-
"name": "
|
2733
|
+
"name": "Data",
|
2734
2734
|
"required": true,
|
2735
2735
|
"type": "string"
|
2736
2736
|
},
|
2737
2737
|
{
|
2738
2738
|
"disabled": false,
|
2739
|
-
"document": "
|
2740
|
-
"example": "
|
2739
|
+
"document": "说话人id, 说话人唯一标识",
|
2740
|
+
"example": "dasdagfdgddsdsada",
|
2741
2741
|
"member": "string",
|
2742
|
-
"name": "
|
2742
|
+
"name": "VoicePrintId",
|
2743
2743
|
"required": true,
|
2744
2744
|
"type": "string"
|
2745
2745
|
}
|
@@ -1189,24 +1189,28 @@
|
|
1189
1189
|
"members": [
|
1190
1190
|
{
|
1191
1191
|
"disabled": false,
|
1192
|
-
"document": "
|
1192
|
+
"document": "新账户的名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
1193
1193
|
"example": "无",
|
1194
1194
|
"member": "string",
|
1195
1195
|
"name": "User",
|
1196
|
+
"output_required": false,
|
1196
1197
|
"required": true,
|
1197
|
-
"type": "string"
|
1198
|
+
"type": "string",
|
1199
|
+
"value_allowed_null": true
|
1198
1200
|
},
|
1199
1201
|
{
|
1200
1202
|
"disabled": false,
|
1201
|
-
"document": "
|
1203
|
+
"document": "新账户的域名\n注意:此字段可能返回 null,表示取不到有效值。",
|
1202
1204
|
"example": "无",
|
1203
1205
|
"member": "string",
|
1204
1206
|
"name": "Host",
|
1207
|
+
"output_required": false,
|
1205
1208
|
"required": true,
|
1206
|
-
"type": "string"
|
1209
|
+
"type": "string",
|
1210
|
+
"value_allowed_null": true
|
1207
1211
|
}
|
1208
1212
|
],
|
1209
|
-
"usage": "
|
1213
|
+
"usage": "both"
|
1210
1214
|
},
|
1211
1215
|
"AccountInfo": {
|
1212
1216
|
"document": "账号详细信息",
|
@@ -7779,7 +7783,7 @@
|
|
7779
7783
|
"example": "1",
|
7780
7784
|
"member": "int64",
|
7781
7785
|
"name": "TotalCount",
|
7782
|
-
"
|
7786
|
+
"output_required": true,
|
7783
7787
|
"type": "int",
|
7784
7788
|
"value_allowed_null": false
|
7785
7789
|
},
|
@@ -7789,7 +7793,7 @@
|
|
7789
7793
|
"example": "无",
|
7790
7794
|
"member": "AuditPolicy",
|
7791
7795
|
"name": "Items",
|
7792
|
-
"
|
7796
|
+
"output_required": true,
|
7793
7797
|
"type": "list",
|
7794
7798
|
"value_allowed_null": true
|
7795
7799
|
},
|
@@ -8037,7 +8041,7 @@
|
|
8037
8041
|
"example": "1",
|
8038
8042
|
"member": "int64",
|
8039
8043
|
"name": "TotalCount",
|
8040
|
-
"
|
8044
|
+
"output_required": true,
|
8041
8045
|
"type": "int",
|
8042
8046
|
"value_allowed_null": false
|
8043
8047
|
},
|
@@ -8047,7 +8051,7 @@
|
|
8047
8051
|
"example": "无",
|
8048
8052
|
"member": "AuditRule",
|
8049
8053
|
"name": "Items",
|
8050
|
-
"
|
8054
|
+
"output_required": true,
|
8051
8055
|
"type": "list",
|
8052
8056
|
"value_allowed_null": true
|
8053
8057
|
},
|
@@ -9485,7 +9489,7 @@
|
|
9485
9489
|
"example": "1",
|
9486
9490
|
"member": "int64",
|
9487
9491
|
"name": "IsGTIDOpen",
|
9488
|
-
"
|
9492
|
+
"output_required": true,
|
9489
9493
|
"type": "int",
|
9490
9494
|
"value_allowed_null": false
|
9491
9495
|
},
|
@@ -12627,7 +12627,7 @@
|
|
12627
12627
|
},
|
12628
12628
|
{
|
12629
12629
|
"disabled": false,
|
12630
|
-
"document": "回源协议配置\nhttp:强制 http 回源\nfollow:协议跟随回源\nhttps:强制 https
|
12630
|
+
"document": "回源协议配置\nhttp:强制 http 回源\nfollow:协议跟随回源\nhttps:强制 https 回源\n注意:此字段可能返回 null,表示取不到有效值。",
|
12631
12631
|
"example": "http",
|
12632
12632
|
"member": "string",
|
12633
12633
|
"name": "OriginPullProtocol",
|
@@ -43,7 +43,7 @@
|
|
43
43
|
"status": "online"
|
44
44
|
},
|
45
45
|
"CloneLoadBalancer": {
|
46
|
-
"document": "克隆负载均衡实例,根据指定的负载均衡实例,复制出相同规则和绑定关系的负载均衡实例。克隆接口为异步操作,克隆的数据以调用CloneLoadBalancer时为准,如果调用CloneLoadBalancer后克隆CLB发生变化,变化规则不会克隆。\n\n注:查询实例创建状态可以根据返回值中的requestId访问[DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683)接口\n\n
|
46
|
+
"document": "克隆负载均衡实例,根据指定的负载均衡实例,复制出相同规则和绑定关系的负载均衡实例。克隆接口为异步操作,克隆的数据以调用CloneLoadBalancer时为准,如果调用CloneLoadBalancer后克隆CLB发生变化,变化规则不会克隆。\n\n注:查询实例创建状态可以根据返回值中的requestId访问[DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683)接口\n\n限制说明\n实例属性维度限制:\n- 支持克隆网络计费模式为按量计费与包年包月的实例,包年包月实例克隆后的新实例网络计费模式会转换为按小时带宽计费,其带宽、规格与原实例设置保持一致。\n- 不支持克隆未关联实例计费项的 CLB。\n- 不支持克隆传统型负载均衡实例和高防 CLB。\n- 不支持克隆基础网络类型的实例。\n- 不支持克隆 Anycast 类型的实例。\n- 不支持克隆 IPv6 NAT64 版本的实例。\n- 不支持克隆被封禁或冻结的实例。\n- 执行克隆操作前,请确保实例上没有使用已过期证书,否则会导致克隆失败。\n配额维度限制:\n- 当实例的监听器个数超过 50 个时,不支持克隆。\n- 当共享型实例的公网带宽上限超过 2G 时,不支持克隆。\n\n通过接口调用:\nBGP带宽包必须传带宽包id\n独占集群克隆必须传对应的参数,否则按共享型创建\n功能内测中,请提交 [内测申请](https://cloud.tencent.com/apply/p/1akuvsmyn0g)。",
|
47
47
|
"input": "CloneLoadBalancerRequest",
|
48
48
|
"name": "克隆负载均衡实例",
|
49
49
|
"output": "CloneLoadBalancerResponse",
|
@@ -6747,6 +6747,7 @@
|
|
6747
6747
|
"example": "[]",
|
6748
6748
|
"member": "string",
|
6749
6749
|
"name": "SuccessInstanceIds",
|
6750
|
+
"output_required": true,
|
6750
6751
|
"type": "list",
|
6751
6752
|
"value_allowed_null": false
|
6752
6753
|
},
|
@@ -6756,6 +6757,7 @@
|
|
6756
6757
|
"example": "[]",
|
6757
6758
|
"member": "string",
|
6758
6759
|
"name": "FailedInstanceIds",
|
6760
|
+
"output_required": true,
|
6759
6761
|
"type": "list",
|
6760
6762
|
"value_allowed_null": false
|
6761
6763
|
},
|
@@ -1930,6 +1930,15 @@
|
|
1930
1930
|
"name": "DnssecConflictMode",
|
1931
1931
|
"required": false,
|
1932
1932
|
"type": "string"
|
1933
|
+
},
|
1934
|
+
{
|
1935
|
+
"disabled": false,
|
1936
|
+
"document": "记录分组 Id。可以通过接口 DescribeRecordGroupList 接口 GroupId 字段获取。",
|
1937
|
+
"example": "123",
|
1938
|
+
"member": "uint64",
|
1939
|
+
"name": "GroupId",
|
1940
|
+
"required": false,
|
1941
|
+
"type": "int"
|
1933
1942
|
}
|
1934
1943
|
],
|
1935
1944
|
"type": "object"
|
@@ -310,6 +310,56 @@
|
|
310
310
|
],
|
311
311
|
"type": "object"
|
312
312
|
},
|
313
|
+
"ChargeAttribute": {
|
314
|
+
"document": "付费信息详情",
|
315
|
+
"members": [
|
316
|
+
{
|
317
|
+
"disabled": false,
|
318
|
+
"document": "到期时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
319
|
+
"example": "2024-01-01 00:00:00",
|
320
|
+
"member": "string",
|
321
|
+
"name": "CurDeadline",
|
322
|
+
"output_required": false,
|
323
|
+
"required": false,
|
324
|
+
"type": "string",
|
325
|
+
"value_allowed_null": true
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"disabled": false,
|
329
|
+
"document": "付费方式\n注意:此字段可能返回 null,表示取不到有效值。",
|
330
|
+
"example": "prePay",
|
331
|
+
"member": "string",
|
332
|
+
"name": "PayMode",
|
333
|
+
"output_required": false,
|
334
|
+
"required": false,
|
335
|
+
"type": "string",
|
336
|
+
"value_allowed_null": true
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"disabled": false,
|
340
|
+
"document": "自动付费标识:0:默认未设置 1:自动续费 2 不自动续费\n注意:此字段可能返回 null,表示取不到有效值。",
|
341
|
+
"example": "0",
|
342
|
+
"member": "int64",
|
343
|
+
"name": "AutoRenewFlag",
|
344
|
+
"output_required": false,
|
345
|
+
"required": false,
|
346
|
+
"type": "int",
|
347
|
+
"value_allowed_null": true
|
348
|
+
},
|
349
|
+
{
|
350
|
+
"disabled": false,
|
351
|
+
"document": "资源ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
352
|
+
"example": "100026787145_sp_cdls_goosefs_1716879810",
|
353
|
+
"member": "string",
|
354
|
+
"name": "ResourceId",
|
355
|
+
"output_required": false,
|
356
|
+
"required": false,
|
357
|
+
"type": "string",
|
358
|
+
"value_allowed_null": true
|
359
|
+
}
|
360
|
+
],
|
361
|
+
"usage": "both"
|
362
|
+
},
|
313
363
|
"ClientClusterManagerNodeInfo": {
|
314
364
|
"document": "客户侧集群管理节点信息",
|
315
365
|
"members": [
|
@@ -1117,6 +1167,15 @@
|
|
1117
1167
|
"name": "ExpandedCapacity",
|
1118
1168
|
"required": true,
|
1119
1169
|
"type": "int"
|
1170
|
+
},
|
1171
|
+
{
|
1172
|
+
"disabled": false,
|
1173
|
+
"document": "容量修改类型:add/sub",
|
1174
|
+
"example": "add",
|
1175
|
+
"member": "string",
|
1176
|
+
"name": "ModifyType",
|
1177
|
+
"required": false,
|
1178
|
+
"type": "string"
|
1120
1179
|
}
|
1121
1180
|
],
|
1122
1181
|
"type": "object"
|
@@ -1142,7 +1201,7 @@
|
|
1142
1201
|
"example": "goosefsx",
|
1143
1202
|
"member": "string",
|
1144
1203
|
"name": "Type",
|
1145
|
-
"
|
1204
|
+
"output_required": true,
|
1146
1205
|
"type": "string",
|
1147
1206
|
"value_allowed_null": false
|
1148
1207
|
},
|
@@ -1152,7 +1211,7 @@
|
|
1152
1211
|
"example": "x_c60_r3c4fa1f",
|
1153
1212
|
"member": "string",
|
1154
1213
|
"name": "FileSystemId",
|
1155
|
-
"
|
1214
|
+
"output_required": true,
|
1156
1215
|
"type": "string",
|
1157
1216
|
"value_allowed_null": false
|
1158
1217
|
},
|
@@ -1162,7 +1221,7 @@
|
|
1162
1221
|
"example": "2022-01-01T12:00:00+08:00",
|
1163
1222
|
"member": "datetime_iso",
|
1164
1223
|
"name": "CreateTime",
|
1165
|
-
"
|
1224
|
+
"output_required": true,
|
1166
1225
|
"type": "string",
|
1167
1226
|
"value_allowed_null": false
|
1168
1227
|
},
|
@@ -1172,7 +1231,7 @@
|
|
1172
1231
|
"example": "无",
|
1173
1232
|
"member": "GooseFSxAttribute",
|
1174
1233
|
"name": "GooseFSxAttribute",
|
1175
|
-
"
|
1234
|
+
"output_required": true,
|
1176
1235
|
"type": "object",
|
1177
1236
|
"value_allowed_null": true
|
1178
1237
|
},
|
@@ -1182,7 +1241,7 @@
|
|
1182
1241
|
"example": "Active",
|
1183
1242
|
"member": "string",
|
1184
1243
|
"name": "Status",
|
1185
|
-
"
|
1244
|
+
"output_required": true,
|
1186
1245
|
"type": "string",
|
1187
1246
|
"value_allowed_null": false
|
1188
1247
|
},
|
@@ -1192,7 +1251,7 @@
|
|
1192
1251
|
"example": "ai_fs",
|
1193
1252
|
"member": "string",
|
1194
1253
|
"name": "Name",
|
1195
|
-
"
|
1254
|
+
"output_required": true,
|
1196
1255
|
"type": "string",
|
1197
1256
|
"value_allowed_null": false
|
1198
1257
|
},
|
@@ -1202,7 +1261,7 @@
|
|
1202
1261
|
"example": "our test fs",
|
1203
1262
|
"member": "string",
|
1204
1263
|
"name": "Description",
|
1205
|
-
"
|
1264
|
+
"output_required": true,
|
1206
1265
|
"type": "string",
|
1207
1266
|
"value_allowed_null": false
|
1208
1267
|
},
|
@@ -1212,7 +1271,7 @@
|
|
1212
1271
|
"example": "vpc-a1b2c3d4",
|
1213
1272
|
"member": "string",
|
1214
1273
|
"name": "VpcId",
|
1215
|
-
"
|
1274
|
+
"output_required": true,
|
1216
1275
|
"type": "string",
|
1217
1276
|
"value_allowed_null": false
|
1218
1277
|
},
|
@@ -1222,7 +1281,7 @@
|
|
1222
1281
|
"example": "subnet-m1n1g1h1",
|
1223
1282
|
"member": "string",
|
1224
1283
|
"name": "SubnetId",
|
1225
|
-
"
|
1284
|
+
"output_required": true,
|
1226
1285
|
"type": "string",
|
1227
1286
|
"value_allowed_null": false
|
1228
1287
|
},
|
@@ -1232,7 +1291,7 @@
|
|
1232
1291
|
"example": "ap-guangzhou-3",
|
1233
1292
|
"member": "string",
|
1234
1293
|
"name": "Zone",
|
1235
|
-
"
|
1294
|
+
"output_required": true,
|
1236
1295
|
"type": "string",
|
1237
1296
|
"value_allowed_null": false
|
1238
1297
|
},
|
@@ -1242,7 +1301,7 @@
|
|
1242
1301
|
"example": "无",
|
1243
1302
|
"member": "Tag",
|
1244
1303
|
"name": "Tag",
|
1245
|
-
"
|
1304
|
+
"output_required": true,
|
1246
1305
|
"type": "list",
|
1247
1306
|
"value_allowed_null": true
|
1248
1307
|
},
|
@@ -1252,9 +1311,19 @@
|
|
1252
1311
|
"example": "2022-01-01T12:00:00+08:00",
|
1253
1312
|
"member": "datetime_iso",
|
1254
1313
|
"name": "ModifyTime",
|
1255
|
-
"
|
1314
|
+
"output_required": true,
|
1256
1315
|
"type": "string",
|
1257
1316
|
"value_allowed_null": false
|
1317
|
+
},
|
1318
|
+
{
|
1319
|
+
"disabled": false,
|
1320
|
+
"document": "文件系统付费信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
1321
|
+
"example": "无",
|
1322
|
+
"member": "ChargeAttribute",
|
1323
|
+
"name": "ChargeAttribute",
|
1324
|
+
"output_required": false,
|
1325
|
+
"type": "object",
|
1326
|
+
"value_allowed_null": true
|
1258
1327
|
}
|
1259
1328
|
],
|
1260
1329
|
"usage": "out"
|
@@ -1474,6 +1543,17 @@
|
|
1474
1543
|
"required": false,
|
1475
1544
|
"type": "string",
|
1476
1545
|
"value_allowed_null": true
|
1546
|
+
},
|
1547
|
+
{
|
1548
|
+
"disabled": false,
|
1549
|
+
"document": "自定义Endpoint\n注意:此字段可能返回 null,表示取不到有效值。",
|
1550
|
+
"example": "172.0.1.16",
|
1551
|
+
"member": "string",
|
1552
|
+
"name": "Endpoint",
|
1553
|
+
"output_required": false,
|
1554
|
+
"required": false,
|
1555
|
+
"type": "string",
|
1556
|
+
"value_allowed_null": true
|
1477
1557
|
}
|
1478
1558
|
],
|
1479
1559
|
"usage": "both"
|
@@ -6118,7 +6118,7 @@
|
|
6118
6118
|
},
|
6119
6119
|
{
|
6120
6120
|
"disabled": false,
|
6121
|
-
"document": "
|
6121
|
+
"document": "升级状态:- 0:设备离线。- 1:待处理。- 2:消息下发成功。- 3:下载中。- 4:烧录中。- 5:失败。- 6:升级完成。- 7:正在处理中。- 8:等待用户确认。- 10:升级超时。- 20:下载完成。",
|
6122
6122
|
"example": "无",
|
6123
6123
|
"member": "int64",
|
6124
6124
|
"name": "Status",
|