tccli 3.0.1188.1__py2.py3-none-any.whl → 3.0.1190.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/__init__.py +2 -1
- tccli/services/aiart/aiart_client.py +53 -0
- tccli/services/aiart/v20221229/api.json +107 -0
- tccli/services/aiart/v20221229/examples.json +8 -0
- tccli/services/apm/v20210622/api.json +3 -1
- tccli/services/billing/v20180709/api.json +3 -0
- tccli/services/billing/v20180709/examples.json +1 -1
- tccli/services/cfg/v20210820/api.json +20 -5
- tccli/services/cfw/v20190904/api.json +82 -2
- tccli/services/ckafka/v20190819/api.json +5 -5
- tccli/services/dcdb/dcdb_client.py +106 -0
- tccli/services/dcdb/v20180411/api.json +318 -0
- tccli/services/dcdb/v20180411/examples.json +28 -0
- tccli/services/dnspod/dnspod_client.py +53 -0
- tccli/services/dnspod/v20210323/api.json +118 -0
- tccli/services/dnspod/v20210323/examples.json +8 -0
- tccli/services/emr/emr_client.py +269 -4
- tccli/services/emr/v20190103/api.json +591 -0
- tccli/services/emr/v20190103/examples.json +46 -0
- tccli/services/es/es_client.py +53 -0
- tccli/services/es/v20180416/api.json +54 -0
- tccli/services/es/v20180416/examples.json +14 -0
- tccli/services/ess/v20201111/api.json +9 -9
- tccli/services/ess/v20201111/examples.json +7 -1
- tccli/services/essbasic/essbasic_client.py +53 -0
- tccli/services/essbasic/v20210526/api.json +120 -0
- tccli/services/essbasic/v20210526/examples.json +14 -0
- tccli/services/iotexplorer/v20190423/api.json +2 -2
- tccli/services/iss/iss_client.py +118 -65
- tccli/services/iss/v20230517/api.json +78 -0
- tccli/services/iss/v20230517/examples.json +8 -0
- tccli/services/mariadb/mariadb_client.py +110 -4
- tccli/services/mariadb/v20170312/api.json +318 -0
- tccli/services/mariadb/v20170312/examples.json +16 -0
- tccli/services/mps/v20190612/api.json +131 -3
- tccli/services/ocr/v20181119/api.json +22 -2
- tccli/services/redis/redis_client.py +110 -4
- tccli/services/redis/v20180412/api.json +209 -0
- tccli/services/redis/v20180412/examples.json +16 -0
- tccli/services/sms/v20210111/api.json +9 -9
- tccli/services/ssl/v20191205/api.json +3 -3
- tccli/services/ssl/v20191205/examples.json +2 -2
- tccli/services/teo/v20220901/api.json +14 -14
- tccli/services/tke/tke_client.py +364 -46
- tccli/services/tke/v20180525/api.json +9 -0
- tccli/services/tke/v20220501/api.json +525 -0
- tccli/services/tke/v20220501/examples.json +54 -0
- tccli/services/tsf/v20180326/api.json +74 -29
- tccli/services/vdb/v20230616/api.json +491 -0
- tccli/services/vdb/v20230616/examples.json +46 -0
- tccli/services/vdb/vdb_client.py +265 -0
- tccli/services/vod/v20240718/api.json +121 -0
- tccli/services/vod/v20240718/examples.json +31 -0
- tccli/services/vod/vod_client.py +58 -0
- tccli/services/vpc/v20170312/api.json +13 -4
- {tccli-3.0.1188.1.dist-info → tccli-3.0.1190.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1188.1.dist-info → tccli-3.0.1190.1.dist-info}/RECORD +61 -59
- {tccli-3.0.1188.1.dist-info → tccli-3.0.1190.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1188.1.dist-info → tccli-3.0.1190.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1188.1.dist-info → tccli-3.0.1190.1.dist-info}/license_files/LICENSE +0 -0
@@ -1,11 +1,46 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
+
"AssociateSecurityGroups": {
|
4
|
+
"document": "本接口 (AssociateSecurityGroups) 用于安全组批量绑定多个指定实例。",
|
5
|
+
"input": "AssociateSecurityGroupsRequest",
|
6
|
+
"name": "绑定安全组",
|
7
|
+
"output": "AssociateSecurityGroupsResponse",
|
8
|
+
"status": "online"
|
9
|
+
},
|
10
|
+
"DescribeDBSecurityGroups": {
|
11
|
+
"document": "本接口(DescribeDBSecurityGroups)用于查询实例的安全组详情。",
|
12
|
+
"input": "DescribeDBSecurityGroupsRequest",
|
13
|
+
"name": "查询实例安全组详情",
|
14
|
+
"output": "DescribeDBSecurityGroupsResponse",
|
15
|
+
"status": "online"
|
16
|
+
},
|
17
|
+
"DescribeInstanceNodes": {
|
18
|
+
"document": "实例节点列表",
|
19
|
+
"input": "DescribeInstanceNodesRequest",
|
20
|
+
"name": "实例pod列表(仅返回 pod 名称)",
|
21
|
+
"output": "DescribeInstanceNodesResponse",
|
22
|
+
"status": "online"
|
23
|
+
},
|
3
24
|
"DescribeInstances": {
|
4
25
|
"document": "查询实例列表",
|
5
26
|
"input": "DescribeInstancesRequest",
|
6
27
|
"name": "查询实例列表",
|
7
28
|
"output": "DescribeInstancesResponse",
|
8
29
|
"status": "online"
|
30
|
+
},
|
31
|
+
"DisassociateSecurityGroups": {
|
32
|
+
"document": "本接口(DisassociateSecurityGroups)用于安全组批量解绑实例。",
|
33
|
+
"input": "DisassociateSecurityGroupsRequest",
|
34
|
+
"name": "安全组批量解绑云资源",
|
35
|
+
"output": "DisassociateSecurityGroupsResponse",
|
36
|
+
"status": "online"
|
37
|
+
},
|
38
|
+
"ModifyDBInstanceSecurityGroups": {
|
39
|
+
"document": "本接口(ModifyDBInstanceSecurityGroups)用于修改实例绑定的安全组。",
|
40
|
+
"input": "ModifyDBInstanceSecurityGroupsRequest",
|
41
|
+
"name": "修改云数据库安全组",
|
42
|
+
"output": "ModifyDBInstanceSecurityGroupsResponse",
|
43
|
+
"status": "online"
|
9
44
|
}
|
10
45
|
},
|
11
46
|
"metadata": {
|
@@ -15,6 +50,116 @@
|
|
15
50
|
"serviceShortName": "vdb"
|
16
51
|
},
|
17
52
|
"objects": {
|
53
|
+
"AssociateSecurityGroupsRequest": {
|
54
|
+
"document": "AssociateSecurityGroups请求参数结构体",
|
55
|
+
"members": [
|
56
|
+
{
|
57
|
+
"disabled": false,
|
58
|
+
"document": "要绑定的安全组 ID,类似sg-efil7***。",
|
59
|
+
"example": "[\"sg-ajr1jzgj\"]",
|
60
|
+
"member": "string",
|
61
|
+
"name": "SecurityGroupIds",
|
62
|
+
"required": true,
|
63
|
+
"type": "list"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"disabled": false,
|
67
|
+
"document": "实例 ID,格式如:vdb-c1nl9***,支持指定多个实例",
|
68
|
+
"example": "[\"vdb-eb2w7dto\"]",
|
69
|
+
"member": "string",
|
70
|
+
"name": "InstanceIds",
|
71
|
+
"required": true,
|
72
|
+
"type": "list"
|
73
|
+
}
|
74
|
+
],
|
75
|
+
"type": "object"
|
76
|
+
},
|
77
|
+
"AssociateSecurityGroupsResponse": {
|
78
|
+
"document": "AssociateSecurityGroups返回参数结构体",
|
79
|
+
"members": [
|
80
|
+
{
|
81
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
82
|
+
"member": "string",
|
83
|
+
"name": "RequestId",
|
84
|
+
"type": "string"
|
85
|
+
}
|
86
|
+
],
|
87
|
+
"type": "object"
|
88
|
+
},
|
89
|
+
"DescribeDBSecurityGroupsRequest": {
|
90
|
+
"document": "DescribeDBSecurityGroups请求参数结构体",
|
91
|
+
"members": [
|
92
|
+
{
|
93
|
+
"disabled": false,
|
94
|
+
"document": "实例ID,格式如:vdb-c1nl9***。",
|
95
|
+
"example": "vdb-c1nl9rpv",
|
96
|
+
"member": "string",
|
97
|
+
"name": "InstanceId",
|
98
|
+
"required": true,
|
99
|
+
"type": "string"
|
100
|
+
}
|
101
|
+
],
|
102
|
+
"type": "object"
|
103
|
+
},
|
104
|
+
"DescribeDBSecurityGroupsResponse": {
|
105
|
+
"document": "DescribeDBSecurityGroups返回参数结构体",
|
106
|
+
"members": [
|
107
|
+
{
|
108
|
+
"disabled": false,
|
109
|
+
"document": "安全组规则。\n注意:此字段可能返回 null,表示取不到有效值。",
|
110
|
+
"example": "无",
|
111
|
+
"member": "SecurityGroup",
|
112
|
+
"name": "Groups",
|
113
|
+
"output_required": true,
|
114
|
+
"type": "list",
|
115
|
+
"value_allowed_null": true
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
119
|
+
"member": "string",
|
120
|
+
"name": "RequestId",
|
121
|
+
"type": "string"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
"type": "object"
|
125
|
+
},
|
126
|
+
"DescribeInstanceNodesRequest": {
|
127
|
+
"document": "DescribeInstanceNodes请求参数结构体",
|
128
|
+
"members": [],
|
129
|
+
"type": "object"
|
130
|
+
},
|
131
|
+
"DescribeInstanceNodesResponse": {
|
132
|
+
"document": "DescribeInstanceNodes返回参数结构体",
|
133
|
+
"members": [
|
134
|
+
{
|
135
|
+
"disabled": false,
|
136
|
+
"document": "实例pod列表。\n注意:此字段可能返回 null,表示取不到有效值。",
|
137
|
+
"example": "[\"worker-0\", \"search-0\", \"master-0\"]",
|
138
|
+
"member": "NodeInfo",
|
139
|
+
"name": "Items",
|
140
|
+
"output_required": false,
|
141
|
+
"type": "list",
|
142
|
+
"value_allowed_null": true
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"disabled": false,
|
146
|
+
"document": "查询结果总数量。",
|
147
|
+
"example": "3",
|
148
|
+
"member": "uint64",
|
149
|
+
"name": "TotalCount",
|
150
|
+
"output_required": true,
|
151
|
+
"type": "int",
|
152
|
+
"value_allowed_null": false
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
156
|
+
"member": "string",
|
157
|
+
"name": "RequestId",
|
158
|
+
"type": "string"
|
159
|
+
}
|
160
|
+
],
|
161
|
+
"type": "object"
|
162
|
+
},
|
18
163
|
"DescribeInstancesRequest": {
|
19
164
|
"document": "DescribeInstances请求参数结构体",
|
20
165
|
"members": [
|
@@ -170,6 +315,128 @@
|
|
170
315
|
],
|
171
316
|
"type": "object"
|
172
317
|
},
|
318
|
+
"DisassociateSecurityGroupsRequest": {
|
319
|
+
"document": "DisassociateSecurityGroups请求参数结构体",
|
320
|
+
"members": [
|
321
|
+
{
|
322
|
+
"disabled": false,
|
323
|
+
"document": "要绑定的安全组 ID,类似sg-efil****。",
|
324
|
+
"example": "{\"sg-ajr1jzgj\"]",
|
325
|
+
"member": "string",
|
326
|
+
"name": "SecurityGroupIds",
|
327
|
+
"required": true,
|
328
|
+
"type": "string"
|
329
|
+
},
|
330
|
+
{
|
331
|
+
"disabled": false,
|
332
|
+
"document": "实例 ID,格式如:vdb-c1nl****,支持指定多个实例。",
|
333
|
+
"example": "[\"vdb-eb2w7dto\"]",
|
334
|
+
"member": "string",
|
335
|
+
"name": "InstanceIds",
|
336
|
+
"required": true,
|
337
|
+
"type": "list"
|
338
|
+
}
|
339
|
+
],
|
340
|
+
"type": "object"
|
341
|
+
},
|
342
|
+
"DisassociateSecurityGroupsResponse": {
|
343
|
+
"document": "DisassociateSecurityGroups返回参数结构体",
|
344
|
+
"members": [
|
345
|
+
{
|
346
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
347
|
+
"member": "string",
|
348
|
+
"name": "RequestId",
|
349
|
+
"type": "string"
|
350
|
+
}
|
351
|
+
],
|
352
|
+
"type": "object"
|
353
|
+
},
|
354
|
+
"Inbound": {
|
355
|
+
"document": "安全组入站规则",
|
356
|
+
"members": [
|
357
|
+
{
|
358
|
+
"disabled": false,
|
359
|
+
"document": "策略,ACCEPT或者DROP。",
|
360
|
+
"example": "无",
|
361
|
+
"member": "string",
|
362
|
+
"name": "Action",
|
363
|
+
"required": true,
|
364
|
+
"type": "string",
|
365
|
+
"value_allowed_null": false
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"disabled": false,
|
369
|
+
"document": "地址组id代表的地址集合。",
|
370
|
+
"example": "无",
|
371
|
+
"member": "string",
|
372
|
+
"name": "AddressModule",
|
373
|
+
"required": true,
|
374
|
+
"type": "string",
|
375
|
+
"value_allowed_null": false
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"disabled": false,
|
379
|
+
"document": "来源Ip或Ip段,例如192.168.0.0/16。",
|
380
|
+
"example": "无",
|
381
|
+
"member": "string",
|
382
|
+
"name": "CidrIp",
|
383
|
+
"required": true,
|
384
|
+
"type": "string",
|
385
|
+
"value_allowed_null": false
|
386
|
+
},
|
387
|
+
{
|
388
|
+
"disabled": false,
|
389
|
+
"document": "描述。",
|
390
|
+
"example": "无",
|
391
|
+
"member": "string",
|
392
|
+
"name": "Desc",
|
393
|
+
"required": true,
|
394
|
+
"type": "string",
|
395
|
+
"value_allowed_null": false
|
396
|
+
},
|
397
|
+
{
|
398
|
+
"disabled": false,
|
399
|
+
"document": "网络协议,支持udp、tcp等。",
|
400
|
+
"example": "无",
|
401
|
+
"member": "string",
|
402
|
+
"name": "IpProtocol",
|
403
|
+
"required": true,
|
404
|
+
"type": "string",
|
405
|
+
"value_allowed_null": false
|
406
|
+
},
|
407
|
+
{
|
408
|
+
"disabled": false,
|
409
|
+
"document": "端口。",
|
410
|
+
"example": "无",
|
411
|
+
"member": "string",
|
412
|
+
"name": "PortRange",
|
413
|
+
"required": true,
|
414
|
+
"type": "string",
|
415
|
+
"value_allowed_null": false
|
416
|
+
},
|
417
|
+
{
|
418
|
+
"disabled": false,
|
419
|
+
"document": "服务组id代表的协议和端口集合。",
|
420
|
+
"example": "无",
|
421
|
+
"member": "string",
|
422
|
+
"name": "ServiceModule",
|
423
|
+
"required": true,
|
424
|
+
"type": "string",
|
425
|
+
"value_allowed_null": false
|
426
|
+
},
|
427
|
+
{
|
428
|
+
"disabled": false,
|
429
|
+
"document": "安全组id代表的地址集合。",
|
430
|
+
"example": "无",
|
431
|
+
"member": "string",
|
432
|
+
"name": "Id",
|
433
|
+
"required": true,
|
434
|
+
"type": "string",
|
435
|
+
"value_allowed_null": false
|
436
|
+
}
|
437
|
+
],
|
438
|
+
"usage": "out"
|
439
|
+
},
|
173
440
|
"InstanceInfo": {
|
174
441
|
"document": "实例信息,用于实例列表",
|
175
442
|
"members": [
|
@@ -446,6 +713,42 @@
|
|
446
713
|
],
|
447
714
|
"usage": "out"
|
448
715
|
},
|
716
|
+
"ModifyDBInstanceSecurityGroupsRequest": {
|
717
|
+
"document": "ModifyDBInstanceSecurityGroups请求参数结构体",
|
718
|
+
"members": [
|
719
|
+
{
|
720
|
+
"disabled": false,
|
721
|
+
"document": "要修改的安全组ID列表,一个或者多个安全组 ID 组成的数组。",
|
722
|
+
"example": "[\"sg-ajr1jzgj\\n\"]",
|
723
|
+
"member": "string",
|
724
|
+
"name": "SecurityGroupIds",
|
725
|
+
"required": true,
|
726
|
+
"type": "list"
|
727
|
+
},
|
728
|
+
{
|
729
|
+
"disabled": false,
|
730
|
+
"document": "实例ID,格式如:vdb-c9s3****。",
|
731
|
+
"example": "[\"vdb-c9s3b1h4\"]",
|
732
|
+
"member": "string",
|
733
|
+
"name": "InstanceIds",
|
734
|
+
"required": true,
|
735
|
+
"type": "list"
|
736
|
+
}
|
737
|
+
],
|
738
|
+
"type": "object"
|
739
|
+
},
|
740
|
+
"ModifyDBInstanceSecurityGroupsResponse": {
|
741
|
+
"document": "ModifyDBInstanceSecurityGroups返回参数结构体",
|
742
|
+
"members": [
|
743
|
+
{
|
744
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
745
|
+
"member": "string",
|
746
|
+
"name": "RequestId",
|
747
|
+
"type": "string"
|
748
|
+
}
|
749
|
+
],
|
750
|
+
"type": "object"
|
751
|
+
},
|
449
752
|
"Network": {
|
450
753
|
"document": "网络信息",
|
451
754
|
"members": [
|
@@ -492,6 +795,194 @@
|
|
492
795
|
],
|
493
796
|
"usage": "out"
|
494
797
|
},
|
798
|
+
"NodeInfo": {
|
799
|
+
"document": "实例pod信息,仅包含 pod 名称",
|
800
|
+
"members": [
|
801
|
+
{
|
802
|
+
"disabled": false,
|
803
|
+
"document": "Pod名称。\n注意:此字段可能返回 null,表示取不到有效值。",
|
804
|
+
"example": "无",
|
805
|
+
"member": "string",
|
806
|
+
"name": "Name",
|
807
|
+
"output_required": false,
|
808
|
+
"type": "string",
|
809
|
+
"value_allowed_null": true
|
810
|
+
}
|
811
|
+
],
|
812
|
+
"usage": "out"
|
813
|
+
},
|
814
|
+
"Outbound": {
|
815
|
+
"document": "安全组出站规则",
|
816
|
+
"members": [
|
817
|
+
{
|
818
|
+
"disabled": false,
|
819
|
+
"document": "策略,ACCEPT或者DROP。",
|
820
|
+
"example": "无",
|
821
|
+
"member": "string",
|
822
|
+
"name": "Action",
|
823
|
+
"required": true,
|
824
|
+
"type": "string",
|
825
|
+
"value_allowed_null": false
|
826
|
+
},
|
827
|
+
{
|
828
|
+
"disabled": false,
|
829
|
+
"document": "地址组id代表的地址集合。",
|
830
|
+
"example": "无",
|
831
|
+
"member": "string",
|
832
|
+
"name": "AddressModule",
|
833
|
+
"required": true,
|
834
|
+
"type": "string",
|
835
|
+
"value_allowed_null": false
|
836
|
+
},
|
837
|
+
{
|
838
|
+
"disabled": false,
|
839
|
+
"document": "来源Ip或Ip段,例如192.168.0.0/16。",
|
840
|
+
"example": "无",
|
841
|
+
"member": "string",
|
842
|
+
"name": "CidrIp",
|
843
|
+
"required": true,
|
844
|
+
"type": "string",
|
845
|
+
"value_allowed_null": false
|
846
|
+
},
|
847
|
+
{
|
848
|
+
"disabled": false,
|
849
|
+
"document": "描述。",
|
850
|
+
"example": "无",
|
851
|
+
"member": "string",
|
852
|
+
"name": "Desc",
|
853
|
+
"required": true,
|
854
|
+
"type": "string",
|
855
|
+
"value_allowed_null": false
|
856
|
+
},
|
857
|
+
{
|
858
|
+
"disabled": false,
|
859
|
+
"document": "网络协议,支持udp、tcp等。",
|
860
|
+
"example": "无",
|
861
|
+
"member": "string",
|
862
|
+
"name": "IpProtocol",
|
863
|
+
"required": true,
|
864
|
+
"type": "string",
|
865
|
+
"value_allowed_null": false
|
866
|
+
},
|
867
|
+
{
|
868
|
+
"disabled": false,
|
869
|
+
"document": "端口。",
|
870
|
+
"example": "无",
|
871
|
+
"member": "string",
|
872
|
+
"name": "PortRange",
|
873
|
+
"required": true,
|
874
|
+
"type": "string",
|
875
|
+
"value_allowed_null": false
|
876
|
+
},
|
877
|
+
{
|
878
|
+
"disabled": false,
|
879
|
+
"document": "服务组id代表的协议和端口集合。",
|
880
|
+
"example": "无",
|
881
|
+
"member": "string",
|
882
|
+
"name": "ServiceModule",
|
883
|
+
"required": true,
|
884
|
+
"type": "string",
|
885
|
+
"value_allowed_null": false
|
886
|
+
},
|
887
|
+
{
|
888
|
+
"disabled": false,
|
889
|
+
"document": "安全组id代表的地址集合。",
|
890
|
+
"example": "无",
|
891
|
+
"member": "string",
|
892
|
+
"name": "Id",
|
893
|
+
"required": true,
|
894
|
+
"type": "string",
|
895
|
+
"value_allowed_null": false
|
896
|
+
}
|
897
|
+
],
|
898
|
+
"usage": "out"
|
899
|
+
},
|
900
|
+
"SecurityGroup": {
|
901
|
+
"document": "安全组规则",
|
902
|
+
"members": [
|
903
|
+
{
|
904
|
+
"disabled": false,
|
905
|
+
"document": "创建时间,时间格式:yyyy-mm-dd hh:mm:ss。",
|
906
|
+
"example": "无",
|
907
|
+
"member": "string",
|
908
|
+
"name": "CreateTime",
|
909
|
+
"output_required": true,
|
910
|
+
"type": "string",
|
911
|
+
"value_allowed_null": false
|
912
|
+
},
|
913
|
+
{
|
914
|
+
"disabled": false,
|
915
|
+
"document": "项目ID。",
|
916
|
+
"example": "无",
|
917
|
+
"member": "string",
|
918
|
+
"name": "ProjectId",
|
919
|
+
"output_required": true,
|
920
|
+
"type": "string",
|
921
|
+
"value_allowed_null": false
|
922
|
+
},
|
923
|
+
{
|
924
|
+
"disabled": false,
|
925
|
+
"document": "安全组ID。",
|
926
|
+
"example": "无",
|
927
|
+
"member": "string",
|
928
|
+
"name": "SecurityGroupId",
|
929
|
+
"output_required": true,
|
930
|
+
"type": "string",
|
931
|
+
"value_allowed_null": false
|
932
|
+
},
|
933
|
+
{
|
934
|
+
"disabled": false,
|
935
|
+
"document": "安全组名称。",
|
936
|
+
"example": "无",
|
937
|
+
"member": "string",
|
938
|
+
"name": "SecurityGroupName",
|
939
|
+
"output_required": true,
|
940
|
+
"type": "string",
|
941
|
+
"value_allowed_null": false
|
942
|
+
},
|
943
|
+
{
|
944
|
+
"disabled": false,
|
945
|
+
"document": "安全组备注。",
|
946
|
+
"example": "无",
|
947
|
+
"member": "string",
|
948
|
+
"name": "SecurityGroupRemark",
|
949
|
+
"output_required": true,
|
950
|
+
"type": "string",
|
951
|
+
"value_allowed_null": false
|
952
|
+
},
|
953
|
+
{
|
954
|
+
"disabled": false,
|
955
|
+
"document": "出站规则。",
|
956
|
+
"example": "无",
|
957
|
+
"member": "Outbound",
|
958
|
+
"name": "Outbound",
|
959
|
+
"output_required": true,
|
960
|
+
"type": "list",
|
961
|
+
"value_allowed_null": false
|
962
|
+
},
|
963
|
+
{
|
964
|
+
"disabled": false,
|
965
|
+
"document": "入站规则。",
|
966
|
+
"example": "无",
|
967
|
+
"member": "Inbound",
|
968
|
+
"name": "Inbound",
|
969
|
+
"output_required": true,
|
970
|
+
"type": "list",
|
971
|
+
"value_allowed_null": false
|
972
|
+
},
|
973
|
+
{
|
974
|
+
"disabled": false,
|
975
|
+
"document": "修改时间,时间格式:yyyy-mm-dd hh:mm:ss。",
|
976
|
+
"example": "无",
|
977
|
+
"member": "string",
|
978
|
+
"name": "UpdateTime",
|
979
|
+
"output_required": true,
|
980
|
+
"type": "string",
|
981
|
+
"value_allowed_null": false
|
982
|
+
}
|
983
|
+
],
|
984
|
+
"usage": "out"
|
985
|
+
},
|
495
986
|
"Tag": {
|
496
987
|
"document": "标签键值对",
|
497
988
|
"members": [
|
@@ -1,5 +1,35 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
+
"AssociateSecurityGroups": [
|
4
|
+
{
|
5
|
+
"document": "绑定安全组",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: vdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AssociateSecurityGroups\n<公共请求参数>\n\n{\n \"SecurityGroupIds\": [\n \"sg-r6saerpd\"\n ],\n \"InstanceIds\": [\n \"vdb-77qt0r46\"\n ]\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c7699436-416b-4d3a-9142-9dee2e5b4e06\"\n }\n}",
|
8
|
+
"title": "示例1"
|
9
|
+
}
|
10
|
+
],
|
11
|
+
"DescribeDBSecurityGroups": [
|
12
|
+
{
|
13
|
+
"document": "查询实例安全组",
|
14
|
+
"input": "POST / HTTP/1.1\nHost: vdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBSecurityGroups\n<公共请求参数>\n\n{\n \"InstanceId\": \"vdb-77qt0r46\"\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"Groups\": [\n {\n \"CreateTime\": \"2023-07-03 11:41:46\",\n \"Inbound\": [\n {\n \"Action\": \"ACCEPT\",\n \"AddressModule\": \"\",\n \"CidrIp\": \"::/0\",\n \"Desc\": \"放通Windows远程登录\",\n \"Id\": \"\",\n \"IpProtocol\": \"tcp\",\n \"PortRange\": \"3389\",\n \"ServiceModule\": \"\"\n },\n {\n \"Action\": \"ACCEPT\",\n \"AddressModule\": \"\",\n \"CidrIp\": \"::/0\",\n \"Desc\": \"放通Linux SSH登录\",\n \"Id\": \"\",\n \"IpProtocol\": \"tcp\",\n \"PortRange\": \"22\",\n \"ServiceModule\": \"\"\n }\n ],\n \"Outbound\": [\n {\n \"Action\": \"ACCEPT\",\n \"AddressModule\": \"\",\n \"CidrIp\": \"\",\n \"Desc\": \"\",\n \"Id\": \"\",\n \"IpProtocol\": \"ALL\",\n \"PortRange\": \"ALL\",\n \"ServiceModule\": \"\"\n }\n ],\n \"ProjectId\": \"0\",\n \"SecurityGroupId\": \"sg-9hb3ijfx\",\n \"SecurityGroupName\": \"安全组4\",\n \"SecurityGroupRemark\": \"测试安全组\",\n \"UpdateTime\": \"2023-07-03 11:41:49\"\n }\n ],\n \"RequestId\": \"3bd8eb38-516f-44f3-b127-40e9f83f9793\"\n }\n}",
|
16
|
+
"title": "示例1"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"DescribeInstanceNodes": [
|
20
|
+
{
|
21
|
+
"document": "调用接口成功",
|
22
|
+
"input": "POST / HTTP/1.1\nHost: vdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceNodes\n<公共请求参数>\n\n{}",
|
23
|
+
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"Name\": \"master-0\"\n },\n {\n \"Name\": \"search-0\"\n },\n {\n \"Name\": \"worker-0\"\n }\n ],\n \"RequestId\": \"c0c57557-d604-4bfc-abed-5ae659961720\",\n \"TotalCount\": 3\n }\n}",
|
24
|
+
"title": "成功示例"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"document": "调用接口失败",
|
28
|
+
"input": "POST / HTTP/1.1\nHost: vdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceNodes\n<公共请求参数>\n\n{}",
|
29
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation\",\n \"Message\": \"instance \\\"vdb-ecbgiqwb1\\\" not found\"\n },\n \"RequestId\": \"e74de2e6-6f46-4cc3-b77a-15d799fedde9\"\n }\n}",
|
30
|
+
"title": "调用失败"
|
31
|
+
}
|
32
|
+
],
|
3
33
|
"DescribeInstances": [
|
4
34
|
{
|
5
35
|
"document": "查询实例列表",
|
@@ -7,6 +37,22 @@
|
|
7
37
|
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"AppId\": 251223614,\n \"Cpu\": 1,\n \"CreatedAt\": \"2023-07-07\",\n \"Disk\": 20,\n \"EngineName\": \"\",\n \"EngineVersion\": \"\",\n \"ExpiredAt\": \"2023-08-07\",\n \"Extend\": \"{\\\"Port\\\": \\\"8100\\\", \\\"DiskType\\\": \\\"CLOUD_SSD\\\", \\\"NodeType\\\": \\\"Store\\\", \\\"Platform\\\": \\\"vdb-cd\\\", \\\"NodeSpecs\\\": \\\"{\\\\\\\"Cpu\\\\\\\":1,\\\\\\\"Memory\\\\\\\":8}\\\", \\\"NodeNumber\\\": \\\"3\\\", \\\"DiskCapacity\\\": \\\"20\\\", \\\"DiskTypeValue\\\": \\\"云硬盘\\\", \\\"EngineVersion\\\": \\\"v1.0.0\\\", \\\"NodeTypeValue\\\": \\\"存储型\\\", \\\"NodeSpecsValue\\\": \\\"S.2SMALL\\\", \\\"NodeNumberValue\\\": \\\"\\\", \\\"DiskCapacityValue\\\": \\\"\\\"}\",\n \"HealthScore\": 0,\n \"InstanceId\": \"vdb-77qt0r46\",\n \"IsNoExpired\": false,\n \"Memory\": 8,\n \"Name\": \"benyqhuang_测试\",\n \"Networks\": [\n {\n \"Port\": 8100,\n \"SubnetId\": \"subnet-02bwnv4i\",\n \"Vip\": \"10.0.7.132\",\n \"VpcId\": \"vpc-kddx224l\"\n }\n ],\n \"PayMode\": 1,\n \"Product\": \"vdb\",\n \"Project\": \"vdb\",\n \"Region\": \"ap-guangzhou\",\n \"ReplicaNum\": 3,\n \"ResourceTags\": [],\n \"ShardNum\": 1,\n \"Status\": \"online\",\n \"Warning\": 0,\n \"Zone\": \"ap-guangzhou-3\"\n },\n {\n \"AppId\": 251223614,\n \"Cpu\": 1,\n \"CreatedAt\": \"2023-07-06\",\n \"Disk\": 20,\n \"EngineName\": \"\",\n \"EngineVersion\": \"\",\n \"ExpiredAt\": \"2023-08-06\",\n \"Extend\": \"{\\\"Port\\\": \\\"8100\\\", \\\"DiskType\\\": \\\"CLOUD_SSD\\\", \\\"NodeType\\\": \\\"Store\\\", \\\"Platform\\\": \\\"vdb-cd\\\", \\\"NodeSpecs\\\": \\\"{\\\\\\\"Cpu\\\\\\\":1,\\\\\\\"Memory\\\\\\\":8}\\\", \\\"NodeNumber\\\": \\\"3\\\", \\\"DiskCapacity\\\": \\\"20\\\", \\\"DiskTypeValue\\\": \\\"云硬盘\\\", \\\"EngineVersion\\\": \\\"v1.0.0\\\", \\\"NodeTypeValue\\\": \\\"存储型\\\", \\\"NodeSpecsValue\\\": \\\"S.2SMALL\\\", \\\"NodeNumberValue\\\": \\\"\\\", \\\"DiskCapacityValue\\\": \\\"\\\"}\",\n \"HealthScore\": 0,\n \"InstanceId\": \"vdb-o2ovx6ko\",\n \"IsNoExpired\": false,\n \"Memory\": 8,\n \"Name\": \"ha-test\",\n \"Networks\": [\n {\n \"Port\": 8100,\n \"SubnetId\": \"subnet-02bwnv4i\",\n \"Vip\": \"10.0.7.115\",\n \"VpcId\": \"vpc-kddx224l\"\n }\n ],\n \"PayMode\": 1,\n \"Product\": \"vdb\",\n \"Project\": \"vdb\",\n \"Region\": \"ap-guangzhou\",\n \"ReplicaNum\": 3,\n \"ResourceTags\": [],\n \"ShardNum\": 1,\n \"Status\": \"online\",\n \"Warning\": 0,\n \"Zone\": \"ap-guangzhou-3\"\n }\n ],\n \"RequestId\": \"2757e3ad-427f-45dc-9119-8c9cfb4ae614\",\n \"TotalCount\": 2\n }\n}",
|
8
38
|
"title": "示例1"
|
9
39
|
}
|
40
|
+
],
|
41
|
+
"DisassociateSecurityGroups": [
|
42
|
+
{
|
43
|
+
"document": "用于安全组批量解绑实例。",
|
44
|
+
"input": "POST / HTTP/1.1\nHost: vdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DisassociateSecurityGroups\n<公共请求参数>\n\n{\n \"SecurityGroupIds\": \"sg-dutt****\",\n \"InstanceIds\": [\n \"vdb-9clk****\"\n ]\n}",
|
45
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c7297527-0e7c-43ad-bdb1-b90fc222d43d\"\n }\n}",
|
46
|
+
"title": "示例1"
|
47
|
+
}
|
48
|
+
],
|
49
|
+
"ModifyDBInstanceSecurityGroups": [
|
50
|
+
{
|
51
|
+
"document": "修改实例绑定的安全组",
|
52
|
+
"input": "POST / HTTP/1.1\nHost: vdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceSecurityGroups\n<公共请求参数>\n\n{\n \"InstanceIds\": [\n \"vdb-9clk****\"\n ],\n \"SecurityGroupIds\": [\n \"sg-iqxw****\",\n \"sg-dutt****\",\n \"sg-eudo****\"\n ]\n}",
|
53
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b3a86195-eee7-4e17-8405-e1fc5810c55b\"\n }\n}",
|
54
|
+
"title": "示例1"
|
55
|
+
}
|
10
56
|
]
|
11
57
|
},
|
12
58
|
"version": "1.0"
|