tccli 3.0.1083.1__py2.py3-none-any.whl → 3.0.1084.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/examples/cdb/v20170320/CreateCloneInstance.md +5 -5
- tccli/examples/ckafka/v20190819/DescribeGroupInfo.md +2 -2
- tccli/examples/ckafka/v20190819/ModifyAclRule.md +1 -1
- tccli/examples/ess/v20201111/CreateFlowApprovers.md +34 -0
- tccli/examples/ess/v20201111/CreateFlowGroupByFiles.md +168 -0
- tccli/examples/ess/v20201111/CreateFlowGroupByTemplates.md +98 -0
- tccli/examples/ess/v20201111/CreateSchemeUrl.md +31 -3
- tccli/examples/essbasic/v20210526/ChannelCreateFlowApprovers.md +41 -0
- tccli/examples/essbasic/v20210526/ChannelCreateFlowGroupByFiles.md +171 -0
- tccli/examples/essbasic/v20210526/ChannelCreateFlowGroupByTemplates.md +92 -0
- tccli/examples/essbasic/v20210526/CreateSignUrls.md +52 -0
- tccli/examples/faceid/v20180301/GetFaceIdRiskInfo.md +26 -0
- tccli/examples/faceid/v20180301/GetFaceidRiskInfoToken.md +22 -0
- tccli/examples/live/v20180801/CreateLiveTimeShiftTemplate.md +8 -8
- tccli/examples/wedata/v20210820/ModifyTaskInfo.md +79 -29
- tccli/services/cdb/v20170320/api.json +75 -21
- tccli/services/cdb/v20170320/examples.json +2 -2
- tccli/services/ckafka/v20190819/api.json +21 -20
- tccli/services/ckafka/v20190819/examples.json +2 -2
- tccli/services/ess/v20201111/api.json +124 -12
- tccli/services/ess/v20201111/examples.json +26 -2
- tccli/services/essbasic/v20210526/api.json +121 -9
- tccli/services/essbasic/v20210526/examples.json +24 -0
- tccli/services/faceid/faceid_client.py +136 -30
- tccli/services/faceid/v20180301/api.json +147 -0
- tccli/services/faceid/v20180301/examples.json +16 -0
- tccli/services/live/v20180801/api.json +1 -1
- tccli/services/live/v20180801/examples.json +2 -2
- tccli/services/oceanus/v20190422/api.json +1 -1
- tccli/services/wedata/v20210820/api.json +29 -2
- tccli/services/wedata/v20210820/examples.json +8 -2
- {tccli-3.0.1083.1.dist-info → tccli-3.0.1084.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1083.1.dist-info → tccli-3.0.1084.1.dist-info}/RECORD +37 -35
- {tccli-3.0.1083.1.dist-info → tccli-3.0.1084.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1083.1.dist-info → tccli-3.0.1084.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1083.1.dist-info → tccli-3.0.1084.1.dist-info}/license_files/LICENSE +0 -0
@@ -61,3 +61,95 @@ Output:
|
|
61
61
|
}
|
62
62
|
```
|
63
63
|
|
64
|
+
**Example 2: 通过多模板创建有2个合同的合同组,指定每个子合同第一方为动态签署方**
|
65
|
+
|
66
|
+
1. 入参中FlowFileInfos有2个元素, 表示2个合同组成此合同组
|
67
|
+
2. 每个合同都是B2C合同
|
68
|
+
4.指定子合同一方为动态签署方(即不指定具体签署人,FillType=1),可在发起后再进行补充。
|
69
|
+
|
70
|
+
Input:
|
71
|
+
|
72
|
+
```
|
73
|
+
tccli essbasic ChannelCreateFlowGroupByTemplates --cli-unfold-argument \
|
74
|
+
--Agent.ProxyOperator.OpenId kev_8 \
|
75
|
+
--Agent.ProxyOrganizationOpenId kev_open_organization_8 \
|
76
|
+
--Agent.AppId 16fd2f7d7ae85d13ca5f8d501d57b5ec \
|
77
|
+
--FlowGroupName 2023年张三入职合同组合 \
|
78
|
+
--FlowInfos.0.FlowName 2023年张三入职合同 \
|
79
|
+
--FlowInfos.0.FlowApprovers.0.ApproverOption.FillType 1 \
|
80
|
+
--FlowInfos.0.FlowApprovers.0.ApproverType ORGANIZATION \
|
81
|
+
--FlowInfos.0.FlowApprovers.0.RecipientId yDwgKUUckp1jdybwUWptGKyGVpNME9fH \
|
82
|
+
--FlowInfos.0.FlowApprovers.1.Name 张三 \
|
83
|
+
--FlowInfos.0.FlowApprovers.1.Mobile 18888888888 \
|
84
|
+
--FlowInfos.0.FlowApprovers.1.ApproverType PERSON \
|
85
|
+
--FlowInfos.0.FlowApprovers.1.RecipientId yDwgKUUckp1jdybvUWptGKBD9TeupFMV \
|
86
|
+
--FlowInfos.0.Deadline 1698202075 \
|
87
|
+
--FlowInfos.0.TemplateId yDwgKUUckp1jdy4dUWptGKRavSGWt9cW \
|
88
|
+
--FlowInfos.1.FlowName 2023年张三入职保密协议 \
|
89
|
+
--FlowInfos.1.FlowApprovers.0.ApproverOption.FillType 1 \
|
90
|
+
--FlowInfos.1.FlowApprovers.0.ApproverType ORGANIZATION \
|
91
|
+
--FlowInfos.1.FlowApprovers.0.RecipientId yDwgKUUckp1jdybwUWptGKyGVpNME9fH \
|
92
|
+
--FlowInfos.1.FlowApprovers.1.Name 张三 \
|
93
|
+
--FlowInfos.1.FlowApprovers.1.Mobile 18888888888 \
|
94
|
+
--FlowInfos.1.FlowApprovers.1.ApproverType PERSON \
|
95
|
+
--FlowInfos.1.FlowApprovers.1.RecipientId yDwgKUUckp1jdybvUWptGKBD9TeupFMV \
|
96
|
+
--FlowInfos.1.Deadline 1698202075 \
|
97
|
+
--FlowInfos.1.TemplateId yDRS4UUgygqdcj51UuO4zjEyWTmzsIAR
|
98
|
+
```
|
99
|
+
|
100
|
+
Output:
|
101
|
+
```
|
102
|
+
{
|
103
|
+
"Response": {
|
104
|
+
"Approvers": [
|
105
|
+
{
|
106
|
+
"Approvers": [
|
107
|
+
{
|
108
|
+
"ApproverRoleName": "",
|
109
|
+
"RecipientId": "yDSx0UUckptqcu0rUuvGhoq88RKQezmP",
|
110
|
+
"SignId": "yDCVHUUckpwbqurqUuyXGHS1da6wB7v2"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"ApproverRoleName": "",
|
114
|
+
"RecipientId": "yDCVHUUckpwbqurlUuyXGHSChXDgrj1C",
|
115
|
+
"SignId": "yDCVHUUckpwbqurgUuyXGHS1cwtnpm8o"
|
116
|
+
}
|
117
|
+
],
|
118
|
+
"FlowId": "yDCVHUUckpwbqur3UuyXGHSxpj1wPeJn"
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"Approvers": [
|
122
|
+
{
|
123
|
+
"ApproverRoleName": "",
|
124
|
+
"RecipientId": "yDSx0UUckptqcu0rUuvGhoq88RKQezmP",
|
125
|
+
"SignId": "yDCVHUUckpwbqursUuyXGHSCOm804z86"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"ApproverRoleName": "",
|
129
|
+
"RecipientId": "yDCVHUUckpwbqurrUuyXGHS8cOo8z4Vc",
|
130
|
+
"SignId": "yDCVHUUckpwbqulcUuyXGHSSvCaqc6He"
|
131
|
+
}
|
132
|
+
],
|
133
|
+
"FlowId": "yDCVHUUckpwbqur1UuyXGHS1JCWpHawy"
|
134
|
+
}
|
135
|
+
],
|
136
|
+
"FlowGroupId": "yDCVHUUckpwbqurkUuyXGHS89Y9LLM4x",
|
137
|
+
"FlowIds": [
|
138
|
+
"yDCVHUUckpwbqur3UuyXGHSxpj1wPeJn",
|
139
|
+
"yDCVHUUckpwbqur1UuyXGHS1JCWpHawy"
|
140
|
+
],
|
141
|
+
"RequestId": "s1711352113176693412",
|
142
|
+
"TaskInfos": [
|
143
|
+
{
|
144
|
+
"TaskId": "",
|
145
|
+
"TaskStatus": ""
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"TaskId": "",
|
149
|
+
"TaskStatus": ""
|
150
|
+
}
|
151
|
+
]
|
152
|
+
}
|
153
|
+
}
|
154
|
+
```
|
155
|
+
|
@@ -316,3 +316,55 @@ Output:
|
|
316
316
|
}
|
317
317
|
```
|
318
318
|
|
319
|
+
**Example 7: 获取合同组动态签署人补充链接**
|
320
|
+
|
321
|
+
获取动态签署人补充链接,创建合同组时未指定具体签署人,可获取链接后推送给指定的人进行补充
|
322
|
+
注:
|
323
|
+
`1.参数GenerateType需传值为RECIPIENT`
|
324
|
+
`2.需指定对应的合同组FlowGroupUrlInfo签署方角色编号(即RecipientId)`
|
325
|
+
|
326
|
+
|
327
|
+
Input:
|
328
|
+
|
329
|
+
```
|
330
|
+
tccli essbasic CreateSignUrls --cli-unfold-argument \
|
331
|
+
--FlowGroupId yDCVAUUckpwa592pUxoLjOlRVS9Zgusf \
|
332
|
+
--FlowGroupUrlInfo.FlowGroupApproverInfos.0.FlowId yDCVAUUckpwa59rcUxoLjOlEctyesTzj \
|
333
|
+
--FlowGroupUrlInfo.FlowGroupApproverInfos.0.RecipientId yDCVAUUckpwa59riUxoLjOluu9cf6B3s \
|
334
|
+
--FlowGroupUrlInfo.FlowGroupApproverInfos.1.FlowId yDCVAUUckpwa592dUxoLjOl8StWKvg9K \
|
335
|
+
--FlowGroupUrlInfo.FlowGroupApproverInfos.1.RecipientId yDCVAUUckpwa59r6UxoLjOlCC6ZHk7rL \
|
336
|
+
--GenerateType RECIPIENT \
|
337
|
+
--Agent.ProxyOrganizationOpenId 1000***8062 \
|
338
|
+
--Agent.ProxyOperator.OpenId yDR3L****eTdCt5TVx \
|
339
|
+
--Agent.AppId 125***319 \
|
340
|
+
--Endpoint
|
341
|
+
```
|
342
|
+
|
343
|
+
Output:
|
344
|
+
```
|
345
|
+
{
|
346
|
+
"Response": {
|
347
|
+
"ErrorMessages": [],
|
348
|
+
"RequestId": "s1696937862717144539",
|
349
|
+
"SignUrlInfos": [
|
350
|
+
{
|
351
|
+
"ApproverType": "",
|
352
|
+
"CustomUserId": "",
|
353
|
+
"Deadline": 0,
|
354
|
+
"FlowGroupId": "",
|
355
|
+
"FlowId": "yDwhGUUfe5g******CX8ZwTiSg8gISocy",
|
356
|
+
"IdCardNumber": "",
|
357
|
+
"Mobile": "",
|
358
|
+
"Name": "",
|
359
|
+
"OpenId": "",
|
360
|
+
"OrganizationName": "",
|
361
|
+
"SignId": "",
|
362
|
+
"SignOrder": 0,
|
363
|
+
"SignQrcodeUrl": "https://file.test.ess.tencent.cn/bresource/resource/resource/0/0.JPG?hkey=5d92f0db15e6bbba6aea641f64c5c06dcbe2797f**************69ee4e24cd976dd8376dbd41c6ff227c803c4c561c",
|
364
|
+
"SignUrl": "https://test.essurl.cn/gGI***nZC"
|
365
|
+
}
|
366
|
+
]
|
367
|
+
}
|
368
|
+
}
|
369
|
+
```
|
370
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
**Example 1: 获取结果成功**
|
2
|
+
|
3
|
+
获取结果成功
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli faceid GetFaceIdRiskInfo --cli-unfold-argument \
|
9
|
+
--FaceIdToken CE661F1A-0F1E-45BD-BE13-34C05CEA7681
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"CameraInfoLevel": null,
|
17
|
+
"CameraInfoTag": null,
|
18
|
+
"DeviceInfoLevel": 1,
|
19
|
+
"DeviceInfoTag": null,
|
20
|
+
"Extra": null,
|
21
|
+
"OpenId": "9B0104204DAB86054F6C9E38",
|
22
|
+
"RequestId": "dbabb231-4adc-4e88-b763-b3dfd9476923"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
**Example 1: 获取 SDK 核验 token**
|
2
|
+
|
3
|
+
获取 SDK 核验 token
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli faceid GetFaceidRiskInfoToken --cli-unfold-argument \
|
9
|
+
--Meta \
|
10
|
+
--Extra
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"FaceIdToken": "224C8901-0D1B-4350-914A-CFD74E54D940",
|
18
|
+
"RequestId": "63013220-4d82-4e2f-b508-a34286baac26"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
@@ -6,21 +6,21 @@ Input:
|
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli live CreateLiveTimeShiftTemplate --cli-unfold-argument \
|
9
|
-
--
|
10
|
-
--
|
11
|
-
--
|
12
|
-
--TemplateName xx \
|
13
|
-
--ItemDuration 1 \
|
9
|
+
--TemplateName abc \
|
10
|
+
--Description abc \
|
11
|
+
--Area abc \
|
14
12
|
--Duration 1 \
|
15
|
-
--
|
13
|
+
--ItemDuration 1 \
|
14
|
+
--RemoveWatermark True \
|
15
|
+
--TranscodeTemplateIds 0
|
16
16
|
```
|
17
17
|
|
18
18
|
Output:
|
19
19
|
```
|
20
20
|
{
|
21
21
|
"Response": {
|
22
|
-
"TemplateId":
|
23
|
-
"RequestId": "
|
22
|
+
"TemplateId": 0,
|
23
|
+
"RequestId": "abc"
|
24
24
|
}
|
25
25
|
}
|
26
26
|
```
|
@@ -1,40 +1,65 @@
|
|
1
1
|
**Example 1: 范例**
|
2
2
|
|
3
|
-
|
3
|
+
修改任务信息
|
4
|
+
POST / HTTP/1.1
|
5
|
+
Host: wedata.tencentcloudapi.com
|
6
|
+
Content-Type: application/json
|
7
|
+
X-TC-Action: ModifyTaskInfo
|
8
|
+
<公共请求参数>
|
4
9
|
|
5
10
|
Input:
|
6
11
|
|
7
12
|
```
|
8
13
|
tccli wedata ModifyTaskInfo --cli-unfold-argument \
|
9
|
-
--
|
10
|
-
--
|
11
|
-
--
|
12
|
-
--TaskAction \
|
13
|
-
--CycleStep 10 \
|
14
|
-
--TaskId 20220727140613327 \
|
15
|
-
--TargetServer DelayTime \
|
16
|
-
--ProjectId 1 \
|
17
|
-
--Notes \
|
18
|
-
--Retriable 1 \
|
19
|
-
--DependencyWorkflow yes \
|
20
|
-
--ResourceGroup \
|
21
|
-
--RetryWait 1 \
|
22
|
-
--ExecutionStartTime \
|
23
|
-
--TaskName \
|
24
|
-
--BrokerIp \
|
14
|
+
--ProjectId abc \
|
15
|
+
--TaskId abc \
|
16
|
+
--DelayTime 0 \
|
25
17
|
--StartupTime 0 \
|
26
|
-
--SelfDepend
|
27
|
-
--
|
28
|
-
--
|
29
|
-
--
|
30
|
-
--
|
31
|
-
--
|
32
|
-
--
|
33
|
-
--
|
34
|
-
--
|
35
|
-
--
|
36
|
-
--
|
37
|
-
--
|
18
|
+
--SelfDepend 0 \
|
19
|
+
--StartTime abc \
|
20
|
+
--EndTime abc \
|
21
|
+
--TaskAction abc \
|
22
|
+
--CycleType 0 \
|
23
|
+
--CycleStep 0 \
|
24
|
+
--CrontabExpression abc \
|
25
|
+
--ExecutionStartTime abc \
|
26
|
+
--ExecutionEndTime abc \
|
27
|
+
--TaskName abc \
|
28
|
+
--RetryWait 0 \
|
29
|
+
--TryLimit 0 \
|
30
|
+
--Retriable 0 \
|
31
|
+
--RunPriority 0 \
|
32
|
+
--TaskExt.0.Key abc \
|
33
|
+
--TaskExt.0.Value abc \
|
34
|
+
--ResourceGroup abc \
|
35
|
+
--YarnQueue abc \
|
36
|
+
--BrokerIp abc \
|
37
|
+
--InCharge abc \
|
38
|
+
--Notes abc \
|
39
|
+
--TaskParamInfos.0.ParamKey abc \
|
40
|
+
--TaskParamInfos.0.ParamValue abc \
|
41
|
+
--SourceServer abc \
|
42
|
+
--TargetServer abc \
|
43
|
+
--DependencyWorkflow abc \
|
44
|
+
--DependencyConfigDTOs.0.ParentTask.TaskId abc \
|
45
|
+
--DependencyConfigDTOs.0.ParentTask.VirtualTaskId abc \
|
46
|
+
--DependencyConfigDTOs.0.ParentTask.VirtualFlag True \
|
47
|
+
--DependencyConfigDTOs.0.ParentTask.TaskName abc \
|
48
|
+
--DependencyConfigDTOs.0.ParentTask.WorkflowId abc \
|
49
|
+
--DependencyConfigDTOs.0.ParentTask.RealWorkflowId abc \
|
50
|
+
--DependencyConfigDTOs.0.ParentTask.CycleType 0 \
|
51
|
+
--DependencyConfigDTOs.0.SonTask.TaskId abc \
|
52
|
+
--DependencyConfigDTOs.0.SonTask.VirtualTaskId abc \
|
53
|
+
--DependencyConfigDTOs.0.SonTask.VirtualFlag True \
|
54
|
+
--DependencyConfigDTOs.0.SonTask.TaskName abc \
|
55
|
+
--DependencyConfigDTOs.0.SonTask.WorkflowId abc \
|
56
|
+
--DependencyConfigDTOs.0.SonTask.RealWorkflowId abc \
|
57
|
+
--DependencyConfigDTOs.0.SonTask.CycleType 0 \
|
58
|
+
--DependencyConfigDTOs.0.DependConfType abc \
|
59
|
+
--DependencyConfigDTOs.0.SubordinateCyclicType abc \
|
60
|
+
--DependencyConfigDTOs.0.DependencyStrategy abc \
|
61
|
+
--ExecutionTTL 0 \
|
62
|
+
--ScriptChange True
|
38
63
|
```
|
39
64
|
|
40
65
|
Output:
|
@@ -47,3 +72,28 @@ Output:
|
|
47
72
|
}
|
48
73
|
```
|
49
74
|
|
75
|
+
**Example 2: 错误示例**
|
76
|
+
|
77
|
+
错误示例
|
78
|
+
|
79
|
+
Input:
|
80
|
+
|
81
|
+
```
|
82
|
+
tccli wedata ModifyTaskInfo --cli-unfold-argument \
|
83
|
+
--ProjectId 1 \
|
84
|
+
--TaskId 1
|
85
|
+
```
|
86
|
+
|
87
|
+
Output:
|
88
|
+
```
|
89
|
+
{
|
90
|
+
"Response": {
|
91
|
+
"Error": {
|
92
|
+
"Code": "AuthFailure.SignatureFailure",
|
93
|
+
"Message": "请求签名验证失败,请检查您的签名计算是否正确。"
|
94
|
+
},
|
95
|
+
"RequestId": "11d5af39-eac3-4960-b0d5-5cced5cdc49f"
|
96
|
+
}
|
97
|
+
}
|
98
|
+
```
|
99
|
+
|
@@ -5018,6 +5018,24 @@
|
|
5018
5018
|
"name": "ProjectId",
|
5019
5019
|
"required": false,
|
5020
5020
|
"type": "int"
|
5021
|
+
},
|
5022
|
+
{
|
5023
|
+
"disabled": false,
|
5024
|
+
"document": "付费类型,PRE_PAID:包年包月,USED_PAID:按量计费。默认为按量计费",
|
5025
|
+
"example": "无",
|
5026
|
+
"member": "string",
|
5027
|
+
"name": "PayType",
|
5028
|
+
"required": false,
|
5029
|
+
"type": "string"
|
5030
|
+
},
|
5031
|
+
{
|
5032
|
+
"disabled": false,
|
5033
|
+
"document": "实例时长,PayType为PRE_PAID时必传,单位:月,可选值包括 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。",
|
5034
|
+
"example": "无",
|
5035
|
+
"member": "int64",
|
5036
|
+
"name": "Period",
|
5037
|
+
"required": false,
|
5038
|
+
"type": "int"
|
5021
5039
|
}
|
5022
5040
|
],
|
5023
5041
|
"type": "object"
|
@@ -5031,7 +5049,7 @@
|
|
5031
5049
|
"example": "256117ed-efa08b54-61784d44-91781bbd",
|
5032
5050
|
"member": "string",
|
5033
5051
|
"name": "AsyncRequestId",
|
5034
|
-
"
|
5052
|
+
"output_required": true,
|
5035
5053
|
"type": "string",
|
5036
5054
|
"value_allowed_null": false
|
5037
5055
|
},
|
@@ -19069,108 +19087,144 @@
|
|
19069
19087
|
],
|
19070
19088
|
"usage": "out"
|
19071
19089
|
},
|
19090
|
+
"TaskAttachInfo": {
|
19091
|
+
"document": "任务列表中的部分任务支持特定的附加信息",
|
19092
|
+
"members": [
|
19093
|
+
{
|
19094
|
+
"disabled": false,
|
19095
|
+
"document": "升级任务:\n”FastUpgradeStatus“:表示升级类型。1-原地升级;0-普通升级。\n注意:此字段可能返回 null,表示取不到有效值。",
|
19096
|
+
"example": "”FastUpgradeStatus“",
|
19097
|
+
"member": "string",
|
19098
|
+
"name": "AttachKey",
|
19099
|
+
"output_required": false,
|
19100
|
+
"type": "string",
|
19101
|
+
"value_allowed_null": true
|
19102
|
+
},
|
19103
|
+
{
|
19104
|
+
"disabled": false,
|
19105
|
+
"document": "升级任务:\n”FastUpgradeStatus“:表示升级类型。1-原地升级;0-普通升级。\n注意:此字段可能返回 null,表示取不到有效值。",
|
19106
|
+
"example": "”1“",
|
19107
|
+
"member": "string",
|
19108
|
+
"name": "AttachValue",
|
19109
|
+
"output_required": false,
|
19110
|
+
"type": "string",
|
19111
|
+
"value_allowed_null": true
|
19112
|
+
}
|
19113
|
+
],
|
19114
|
+
"usage": "out"
|
19115
|
+
},
|
19072
19116
|
"TaskDetail": {
|
19073
19117
|
"document": "实例任务详情",
|
19074
19118
|
"members": [
|
19075
19119
|
{
|
19076
19120
|
"disabled": false,
|
19077
19121
|
"document": "错误码。",
|
19078
|
-
"example": "",
|
19122
|
+
"example": "无",
|
19079
19123
|
"member": "int64",
|
19080
19124
|
"name": "Code",
|
19081
|
-
"
|
19125
|
+
"output_required": true,
|
19082
19126
|
"type": "int",
|
19083
19127
|
"value_allowed_null": false
|
19084
19128
|
},
|
19085
19129
|
{
|
19086
19130
|
"disabled": false,
|
19087
19131
|
"document": "错误信息。",
|
19088
|
-
"example": "",
|
19132
|
+
"example": "无",
|
19089
19133
|
"member": "string",
|
19090
19134
|
"name": "Message",
|
19091
|
-
"
|
19135
|
+
"output_required": true,
|
19092
19136
|
"type": "string",
|
19093
19137
|
"value_allowed_null": false
|
19094
19138
|
},
|
19095
19139
|
{
|
19096
19140
|
"disabled": false,
|
19097
19141
|
"document": "实例任务 ID。",
|
19098
|
-
"example": "",
|
19142
|
+
"example": "无",
|
19099
19143
|
"member": "int64",
|
19100
19144
|
"name": "JobId",
|
19101
|
-
"
|
19145
|
+
"output_required": true,
|
19102
19146
|
"type": "int",
|
19103
19147
|
"value_allowed_null": false
|
19104
19148
|
},
|
19105
19149
|
{
|
19106
19150
|
"disabled": false,
|
19107
19151
|
"document": "实例任务进度。",
|
19108
|
-
"example": "",
|
19152
|
+
"example": "无",
|
19109
19153
|
"member": "int64",
|
19110
19154
|
"name": "Progress",
|
19111
|
-
"
|
19155
|
+
"output_required": true,
|
19112
19156
|
"type": "int",
|
19113
19157
|
"value_allowed_null": false
|
19114
19158
|
},
|
19115
19159
|
{
|
19116
19160
|
"disabled": false,
|
19117
19161
|
"document": "实例任务状态,可能的值包括:\n\"UNDEFINED\" - 未定义;\n\"INITIAL\" - 初始化;\n\"RUNNING\" - 运行中;\n\"SUCCEED\" - 执行成功;\n\"FAILED\" - 执行失败;\n\"KILLED\" - 已终止;\n\"REMOVED\" - 已删除;\n\"PAUSED\" - 已暂停。\n\"WAITING\" - 等待中(可撤销)",
|
19118
|
-
"example": "",
|
19162
|
+
"example": "无",
|
19119
19163
|
"member": "string",
|
19120
19164
|
"name": "TaskStatus",
|
19121
|
-
"
|
19165
|
+
"output_required": true,
|
19122
19166
|
"type": "string",
|
19123
19167
|
"value_allowed_null": false
|
19124
19168
|
},
|
19125
19169
|
{
|
19126
19170
|
"disabled": false,
|
19127
19171
|
"document": "实例任务类型,可能的值包括:\n\"ROLLBACK\" - 数据库回档;\n\"SQL OPERATION\" - SQL操作;\n\"IMPORT DATA\" - 数据导入;\n\"MODIFY PARAM\" - 参数设置;\n\"INITIAL\" - 初始化云数据库实例;\n\"REBOOT\" - 重启云数据库实例;\n\"OPEN GTID\" - 开启云数据库实例GTID;\n\"UPGRADE RO\" - 只读实例升级;\n\"BATCH ROLLBACK\" - 数据库批量回档;\n\"UPGRADE MASTER\" - 主实例升级;\n\"DROP TABLES\" - 删除云数据库库表;\n\"SWITCH DR TO MASTER\" - 灾备实例提升为主。",
|
19128
|
-
"example": "",
|
19172
|
+
"example": "无",
|
19129
19173
|
"member": "string",
|
19130
19174
|
"name": "TaskType",
|
19131
|
-
"
|
19175
|
+
"output_required": true,
|
19132
19176
|
"type": "string",
|
19133
19177
|
"value_allowed_null": false
|
19134
19178
|
},
|
19135
19179
|
{
|
19136
19180
|
"disabled": false,
|
19137
19181
|
"document": "实例任务开始时间。",
|
19138
|
-
"example": "",
|
19182
|
+
"example": "无",
|
19139
19183
|
"member": "string",
|
19140
19184
|
"name": "StartTime",
|
19141
|
-
"
|
19185
|
+
"output_required": true,
|
19142
19186
|
"type": "string",
|
19143
19187
|
"value_allowed_null": false
|
19144
19188
|
},
|
19145
19189
|
{
|
19146
19190
|
"disabled": false,
|
19147
19191
|
"document": "实例任务结束时间。",
|
19148
|
-
"example": "",
|
19192
|
+
"example": "无",
|
19149
19193
|
"member": "string",
|
19150
19194
|
"name": "EndTime",
|
19151
|
-
"
|
19195
|
+
"output_required": true,
|
19152
19196
|
"type": "string",
|
19153
19197
|
"value_allowed_null": false
|
19154
19198
|
},
|
19155
19199
|
{
|
19156
19200
|
"disabled": false,
|
19157
19201
|
"document": "任务关联的实例 ID。\n注意:此字段可能返回 null,表示取不到有效值。",
|
19158
|
-
"example": "",
|
19202
|
+
"example": "无",
|
19159
19203
|
"member": "string",
|
19160
19204
|
"name": "InstanceIds",
|
19161
|
-
"
|
19205
|
+
"output_required": true,
|
19162
19206
|
"type": "list",
|
19163
19207
|
"value_allowed_null": true
|
19164
19208
|
},
|
19165
19209
|
{
|
19166
19210
|
"disabled": false,
|
19167
19211
|
"document": "异步任务的请求 ID。",
|
19168
|
-
"example": "",
|
19212
|
+
"example": "无",
|
19169
19213
|
"member": "string",
|
19170
19214
|
"name": "AsyncRequestId",
|
19171
|
-
"
|
19215
|
+
"output_required": true,
|
19172
19216
|
"type": "string",
|
19173
19217
|
"value_allowed_null": false
|
19218
|
+
},
|
19219
|
+
{
|
19220
|
+
"disabled": false,
|
19221
|
+
"document": "任务的附加信息。\n注意:此字段可能返回 null,表示取不到有效值。",
|
19222
|
+
"example": "无",
|
19223
|
+
"member": "TaskAttachInfo",
|
19224
|
+
"name": "TaskAttachInfo",
|
19225
|
+
"output_required": false,
|
19226
|
+
"type": "list",
|
19227
|
+
"value_allowed_null": true
|
19174
19228
|
}
|
19175
19229
|
],
|
19176
19230
|
"usage": "out"
|
@@ -158,8 +158,8 @@
|
|
158
158
|
],
|
159
159
|
"CreateCloneInstance": [
|
160
160
|
{
|
161
|
-
"document": "",
|
162
|
-
"input": "
|
161
|
+
"document": "克隆实例并回档到指定时间",
|
162
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloneInstance\n<公共请求参数>\n\n{\n \"UniqVpcId\": \"vpc-594gwq4l\",\n \"InstanceId\": \"cdb-9303wd4x\",\n \"Volume\": \"50\",\n \"UniqSubnetId\": \"subnet-dz5pj862\",\n \"SpecifiedRollbackTime\": \"2020-08-0116:27:43\",\n \"Memory\": \"1000\"\n}",
|
163
163
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"AsyncRequestId\": \"256117ed-efa08b54-61784d44-91781bbd\"\n }\n}",
|
164
164
|
"title": "克隆实例并回档到指定时间"
|
165
165
|
}
|