summaryrefslogtreecommitdiff
path: root/data/en_us/cloudcontrol/2022-08-30/api-docs.php
blob: bc8182361fdf1a5c5804004d608b418ff62028dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
<?php return [
    'version' => '1.0',
    'info' => ['style' => 'ROA', 'product' => 'cloudcontrol', 'version' => '2022-08-30'],
    'directories' => [
        [
            'children' => ['GetResourceType'],
            'type' => 'directory',
            'title' => 'Metadata query',
        ],
        [
            'children' => ['CancelTask', 'CreateResource', 'DeleteResource', 'GetApiPrice', 'GetPrice', 'GetResources', 'GetTask', 'ListDataSources', 'ListProducts', 'ListResourceTypes', 'ListSupportedPricingApis', 'UpdateResource'],
            'title' => 'Others',
            'type' => 'directory',
        ],
    ],
    'components' => [
        'schemas' => [],
    ],
    'apis' => [
        'CancelTask' => [
            'path' => '/api/v1/tasks/{taskId}/operation/cancel',
            'methods' => ['put'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'write',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
            'parameters' => [
                [
                    'name' => 'taskId',
                    'in' => 'path',
                    'schema' => ['title' => '', 'description' => 'The ID of the task.'."\n", 'type' => 'string', 'required' => true, 'example' => 'task-433aead756057fff2913e7ce5****'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => 'Schema of Response',
                        'description' => 'The returned data.'."\n",
                        'type' => 'object',
                        'properties' => [
                            'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of a request.'."\n", 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"requestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
            'title' => 'CancelTask',
            'summary' => 'Calls this operation to cancel a specified asynchronous task.',
            'description' => 'Only tasks that are in the Pending or Running state can be canceled.'."\n"
                ."\n"
                .'You can call the CancelTask operation to cancel a Cloud Control API task, but the tasks that have been started in the downstream Alibaba Cloud services cannot be canceled.'."\n",
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelTask'],
                ],
            ],
        ],
        'CreateResource' => [
            'summary' => 'Calls this operation to create resources.',
            'path' => '/api/v1/providers/{provider}/products/{product}/resources/*',
            'methods' => ['post'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'write',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'requestPath',
                    'in' => 'path',
                    'schema' => ['description' => 'The request path. Specify this parameter in the following format: /api/v1/providers/{provider}/products/{product}/resources/{resourceType}'."\n"
                        ."\n"
                        .'Variables in the request path:'."\n"
                        ."\n"
                        .'provider: the Cloud service provider. Only Aliyun is supported.'."\n"
                        ."\n"
                        .'product: the code of the service.'."\n"
                        ."\n"
                        .'resourceType: the type of resources. If parent resource is specified, the format is {parent resource type code}/parent resource ID/{resource type code}.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'No parent resource:'."\n"
                        .'/api/v1/providers/Aliyun/products/Redis/resources/DBInstance'."\n"
                        .'Has parent resource:'."\n"
                        .'/api/v1/providers/Aliyun/products/Redis/resources/DBInstance/r-2ze8v41uei31lo****/Account', 'title' => ''],
                ],
                [
                    'name' => 'regionId',
                    'in' => 'query',
                    'schema' => ['description' => 'The region ID. This parameter is required if a cloud service is a regionalized.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''],
                ],
                [
                    'name' => 'clientToken',
                    'in' => 'query',
                    'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. If a cloud service supports idempotence, the parameter takes effect.'."\n", 'type' => 'string', 'required' => false, 'example' => '1e810dfe1468721d0664a49b9d9f74f4', 'title' => ''],
                ],
                [
                    'name' => 'body',
                    'in' => 'body',
                    'style' => 'json',
                    'schema' => ['description' => 'The request body. The property of the resource, which is specified in JSON format.'."\n", 'type' => 'object', 'required' => false, 'example' => '{'."\n"
                        .'     "AccountName": "cctest",'."\n"
                        .'     "AccountPassword": "Aa1234****"'."\n"
                        .'}', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'headers' => [
                        'x-acs-cloudcontrol-timeout' => [
                            'schema' => ['type' => 'string', 'backendName' => 'retry-timeout'],
                        ],
                    ],
                    'schema' => [
                        'title' => 'Schema of Response',
                        'description' => 'The response parameters.'."\n",
                        'type' => 'object',
                        'properties' => [
                            'requestId' => ['title' => '', 'description' => 'The ID of a request.'."\n", 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****'],
                            'resourceId' => ['title' => '', 'description' => 'The ID of the resource.'."\n", 'type' => 'string', 'example' => 'cctest'],
                            'resourcePath' => ['title' => '', 'description' => 'The path of the resources. The relative resource ID. The resource path contains the complete resource location (parent resource/child resource).'."\n", 'type' => 'string', 'example' => 'Instance/r-8vbf5abe31c9c4d4/Account/cctest'],
                            'taskId' => ['title' => '', 'description' => 'The ID of the asynchronous task. If the operation is asynchronous, this field is returned. In this case, the HTTP status code 202 is returned.'."\n", 'type' => 'string', 'example' => 'task-433aead756057fff8189a7ce5****'],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"requestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n  \\"resourceId\\": \\"cctest\\",\\n  \\"resourcePath\\": \\"Instance/r-8vbf5abe31c9c4d4/Account/cctest\\",\\n  \\"taskId\\": \\"task-433aead756057fff8189a7ce5****\\"\\n}","type":"json"}]',
            'title' => 'CreateResource',
            'description' => 'You can go to [OpenAPI Explorer](https://next.api.aliyun.com/cloudcontrol) to view the documentation and try out Cloud Control API.'."\n",
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateResource'],
                ],
            ],
        ],
        'DeleteResource' => [
            'summary' => 'Deletes a resource.',
            'path' => '/api/v1/providers/{provider}/products/{product}/resources/*',
            'methods' => ['delete'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'write',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'delete', 'riskType' => 'high', 'chargeType' => 'free'],
            'parameters' => [
                [
                    'name' => 'requestPath',
                    'in' => 'path',
                    'schema' => ['description' => 'The URI of the request. The format is: /api/v1/providers/{provider}/products/{product}/resources/{resourceType}/{resourceId}'."\n"
                        ."\n"
                        .'The variables in the request URI are described as follows:'."\n"
                        ."\n"
                        .'provider: The cloud provider. Currently, only Aliyun is supported.'."\n"
                        ."\n"
                        .'product: The product code.'."\n"
                        ."\n"
                        .'resourceType: The resource type. If a parent resource exists, the format is `{parent resource type code}/{parent resource ID}/{resource type code}`.'."\n"
                        ."\n"
                        .'resourceId: The resource ID.', 'type' => 'string', 'example' => 'No parent resource:'."\n"
                        .'/api/v1/providers/Aliyun/products/Redis/resources/DBInstance/r-2ze8v41uei31lo****'."\n"
                        ."\n"
                        .'Has parent resource:'."\n"
                        .'/api/v1/providers/Aliyun/products/Redis/resources/DBInstance/r-2ze8v41uei31lo****/Account/user****', 'required' => false, 'docRequired' => true, 'title' => ''],
                ],
                [
                    'name' => 'regionId',
                    'in' => 'query',
                    'schema' => ['description' => 'The region ID. This parameter is required if the cloud product is region-specific.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'."\n", 'title' => ''],
                ],
                [
                    'name' => 'clientToken',
                    'in' => 'query',
                    'schema' => ['description' => 'A client token to ensure idempotence. This parameter works only if the cloud product supports idempotence.', 'type' => 'string', 'required' => false, 'example' => '1e810dfe1468721d0664a49b9d9f74f4', 'title' => ''],
                ],
                [
                    'name' => 'filter',
                    'in' => 'query',
                    'style' => 'json',
                    'schema' => ['type' => 'object', 'description' => '', 'title' => '', 'example' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'headers' => [
                        'x-acs-cloudcontrol-timeout' => [
                            'schema' => ['type' => 'string', 'backendName' => 'retry-timeout'],
                        ],
                    ],
                    'schema' => [
                        'title' => 'Schema of Response',
                        'description' => 'The response body.',
                        'type' => 'object',
                        'properties' => [
                            'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****'],
                            'taskId' => ['description' => 'The ID of the asynchronous task. The system returns this parameter for asynchronous operations. For these operations, the HTTP status code is 202.', 'type' => 'string', 'example' => 'task-433aead756057fff8189a7ce5****', 'title' => ''],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"requestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n  \\"taskId\\": \\"task-433aead756057fff8189a7ce5****\\"\\n}","type":"json"}]',
            'title' => 'DeleteResource',
            'description' => 'You can go to [OpenAPI Explorer](https://next.api.aliyun.com/cloudcontrol) to view resource documentation and try Cloud Control API.',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteResource'],
                ],
            ],
            'translator' => 'manual',
        ],
        'GetApiPrice' => [
            'summary' => 'Queries the price based on an OpenAPI triplet and input parameters.',
            'path' => '/api/v1/price/quote',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
            'parameters' => [
                [
                    'name' => 'body',
                    'in' => 'body',
                    'style' => 'json',
                    'schema' => ['title' => '', 'type' => 'object', 'description' => '', 'example' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'type' => 'object',
                        'properties' => [
                            'price' => [
                                'type' => 'object',
                                'properties' => [
                                    'pricingMode' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
                                    'success' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
                                    'currency' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
                                    'calculatedAmount' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
                                    'priceSummary' => [
                                        'type' => 'object',
                                        'properties' => [
                                            'currency' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
                                            'tradePrice' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
                                            'originalPrice' => ['title' => '', 'type' => 'number', 'format' => 'float', 'description' => '', 'example' => ''],
                                            'moduleSum' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
                                            'effectiveModuleSum' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
                                            'quantity' => ['title' => '', 'type' => 'number', 'format' => 'float', 'description' => '', 'example' => ''],
                                            'pricingUnit' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
                                            'modules' => [
                                                'type' => 'array',
                                                'items' => [
                                                    'type' => 'object',
                                                    'properties' => [
                                                        'moduleCode' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
                                                        'costAfterDiscount' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
                                                        'originalCost' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
                                                        'invoiceDiscount' => ['title' => '', 'type' => 'number', 'format' => 'float', 'description' => '', 'example' => ''],
                                                        'unitPrice' => ['title' => '', 'type' => 'number', 'format' => 'float', 'description' => '', 'example' => ''],
                                                    ],
                                                    'description' => '',
                                                    'title' => '',
                                                    'example' => '',
                                                ],
                                                'description' => '',
                                                'title' => '',
                                                'example' => '',
                                            ],
                                        ],
                                        'description' => '',
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'upstreamRequestId' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
                                    'errorCode' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
                                    'errorMessage' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
                                    'components' => [
                                        'title' => '',
                                        'type' => 'object',
                                        'additionalProperties' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'currency' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
                                                'tradePrice' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
                                                'originalPrice' => ['title' => '', 'type' => 'number', 'format' => 'float', 'description' => '', 'example' => ''],
                                                'moduleSum' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
                                                'effectiveModuleSum' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
                                                'quantity' => ['title' => '', 'type' => 'number', 'format' => 'float', 'description' => '', 'example' => ''],
                                                'pricingUnit' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
                                                'modules' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'moduleCode' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
                                                            'costAfterDiscount' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
                                                            'originalCost' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
                                                            'invoiceDiscount' => ['title' => '', 'type' => 'number', 'format' => 'float', 'description' => '', 'example' => ''],
                                                            'unitPrice' => ['title' => '', 'type' => 'number', 'format' => 'float', 'description' => '', 'example' => ''],
                                                        ],
                                                        'description' => '',
                                                        'title' => '',
                                                        'example' => '',
                                                    ],
                                                    'description' => '',
                                                    'title' => '',
                                                    'example' => '',
                                                ],
                                            ],
                                            'description' => '',
                                            'title' => '',
                                            'example' => '',
                                        ],
                                        'description' => '',
                                        'example' => '',
                                    ],
                                ],
                                'description' => '',
                                'title' => '',
                                'example' => '',
                            ],
                            'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => ''],
                        ],
                        'description' => 'Schema of Response',
                        'example' => '',
                    ],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"price\\": {\\n    \\"pricingMode\\": \\"\\",\\n    \\"success\\": false,\\n    \\"currency\\": \\"\\",\\n    \\"calculatedAmount\\": 0,\\n    \\"priceSummary\\": {\\n      \\"currency\\": \\"\\",\\n      \\"tradePrice\\": 0,\\n      \\"originalPrice\\": 0,\\n      \\"moduleSum\\": 0,\\n      \\"effectiveModuleSum\\": 0,\\n      \\"quantity\\": 0,\\n      \\"pricingUnit\\": \\"\\",\\n      \\"modules\\": [\\n        {\\n          \\"moduleCode\\": \\"\\",\\n          \\"costAfterDiscount\\": 0,\\n          \\"originalCost\\": 0,\\n          \\"invoiceDiscount\\": 0,\\n          \\"unitPrice\\": 0\\n        }\\n      ]\\n    },\\n    \\"upstreamRequestId\\": \\"\\",\\n    \\"errorCode\\": \\"\\",\\n    \\"errorMessage\\": \\"\\",\\n    \\"components\\": {\\n      \\"key\\": {\\n        \\"currency\\": \\"\\",\\n        \\"tradePrice\\": 0,\\n        \\"originalPrice\\": 0,\\n        \\"moduleSum\\": 0,\\n        \\"effectiveModuleSum\\": 0,\\n        \\"quantity\\": 0,\\n        \\"pricingUnit\\": \\"\\",\\n        \\"modules\\": [\\n          {\\n            \\"moduleCode\\": \\"\\",\\n            \\"costAfterDiscount\\": 0,\\n            \\"originalCost\\": 0,\\n            \\"invoiceDiscount\\": 0,\\n            \\"unitPrice\\": 0\\n          }\\n        ]\\n      }\\n    }\\n  },\\n  \\"requestId\\": \\"\\"\\n}","type":"json"}]',
            'title' => '',
        ],
        'GetPrice' => [
            'summary' => 'An RFQ interface through which users can query resource prices.',
            'path' => '/api/v1/providers/{provider}/products/{product}/price/*',
            'methods' => ['get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'requestPath',
                    'in' => 'path',
                    'schema' => [
                        'title' => 'A short description of struct',
                        'description' => 'The request path. Format: /api/v1/providers/{provider}/products/{product}/price/{resourceType}'."\n"
                            ."\n"
                            .'The variables in the request path:'."\n"
                            ."\n"
                            .'provider: the cloud service provider. Currently, only Aliyun is supported.'."\n"
                            ."\n"
                            .'product: the code of the product.'."\n"
                            ."\n"
                            .'resourceType: the type of the resource. For example, the resourceType of Redis Account is DBInstance/Account.'."\n"
                            ."\n"
                            .'The resources that support price inquiry:'."\n"
                            ."\n"
                            .'Redis DBInstance: /api/v1/providers/aliyun/products/Redis/price/DBInstance'."\n"
                            ."\n"
                            .'ECS Instance: /api/v1/providers/aliyun/products/ECS/price/Instance'."\n"
                            ."\n"
                            .'RDS DBInstance: /api/v1/providers/aliyun/products/RDS/price/DBInstance'."\n"
                            ."\n"
                            .'SLB LoadBalancer: /api/v1/providers/aliyun/products/SLB/price/LoadBalancer'."\n"
                            ."\n"
                            .'ClickHouse DBCluster: /api/v1/providers/aliyun/products/ClickHouse/price/DBCluster'."\n"
                            ."\n"
                            .'AliKafka Instance: /api/v1/providers/aliyun/products/AliKafka/price/Instance',
                        'enumValueTitles' => ['/api/v1/providers/aliyun/products/Redis/price/DBInstance' => 'Redis DBInstance', '/api/v1/providers/aliyun/products/AliKafka/price/Instance' => 'AliKafka Instance', '/api/v1/providers/aliyun/products/ECS/price/Instance' => 'ECS Instance', '/api/v1/providers/aliyun/products/ClickHouse/price/DBCluster' => 'ClickHouse DBCluster', '/api/v1/providers/aliyun/products/RDS/price/DBInstance' => 'RDS DBInstance', '/api/v1/providers/aliyun/products/SLB/price/LoadBalancer' => 'SLB LoadBalancer'],
                        'type' => 'string',
                        'required' => false,
                        'example' => '/api/v1/providers/aliyun/products/SLB/price/LoadBalancer',
                    ],
                ],
                [
                    'name' => 'regionId',
                    'in' => 'query',
                    'schema' => ['description' => 'The region ID. This parameter is required if the cloud product is deployed in a region.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'."\n", 'title' => ''],
                ],
                [
                    'name' => 'resourceAttributes',
                    'in' => 'query',
                    'style' => 'json',
                    'schema' => ['description' => 'The attributes based on which the price is queried (in JSON format).', 'type' => 'object', 'required' => false, 'example' => '{'."\n"
                        .'        "LoadBalancerName": "cc-test",'."\n"
                        .'        "LoadBalancerSpec": "slb.s3.small",'."\n"
                        .'        "InternetChargeType": "paybybandwidth",'."\n"
                        .'        "AddressType": "internet",'."\n"
                        .'        "PaymentType": "PayAsYouGo",'."\n"
                        .'        "Bandwidth": 6'."\n"
                        .'      }', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => 'Schema of Response',
                        'description' => 'Schema of Response',
                        'type' => 'object',
                        'properties' => [
                            'price' => [
                                'description' => 'The price.',
                                'type' => 'object',
                                'properties' => [
                                    'currency' => [
                                        'description' => 'The currency type. Valid values: CNY: Chinese Yuan. USD: US dollar. JPY: Japanese Yen.',
                                        'enumValueTitles' => ['JPY' => 'JPY', 'USD' => 'USD', 'CNY' => 'CNY'],
                                        'type' => 'string',
                                        'example' => 'CNY',
                                        'title' => '',
                                    ],
                                    'discountPrice' => ['description' => 'The discount.', 'type' => 'number', 'format' => 'float', 'example' => '0.0', 'title' => ''],
                                    'moduleDetails' => [
                                        'description' => 'The order details of the pricing module.',
                                        'type' => 'array',
                                        'items' => [
                                            'description' => 'The order details of the pricing module.',
                                            'type' => 'object',
                                            'properties' => [
                                                'costAfterDiscount' => ['description' => 'The discount price.', 'type' => 'number', 'format' => 'float', 'example' => '0.02', 'title' => ''],
                                                'invoiceDiscount' => ['description' => 'The discount.', 'type' => 'number', 'format' => 'float', 'example' => '0.0', 'title' => ''],
                                                'moduleCode' => ['description' => 'The code of the pricing module.', 'type' => 'string', 'example' => 'InstanceRent', 'title' => ''],
                                                'moduleName' => ['description' => 'The name of the pricing module.', 'type' => 'string', 'example' => 'InstanceRent', 'title' => ''],
                                                'originalCost' => ['description' => 'The original price.', 'type' => 'number', 'format' => 'float', 'example' => '1000.0', 'title' => ''],
                                                'priceType' => ['description' => 'The price type.', 'type' => 'string', 'example' => '1.0', 'title' => ''],
                                            ],
                                            'title' => '',
                                            'example' => '',
                                        ],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'originalPrice' => ['description' => 'The original price.', 'type' => 'number', 'format' => 'float', 'example' => '760.0', 'title' => ''],
                                    'promotionDetails' => [
                                        'description' => 'The details of the promotion.',
                                        'type' => 'array',
                                        'items' => [
                                            'description' => 'The details of the promotion.',
                                            'type' => 'object',
                                            'properties' => [
                                                'promotionDesc' => ['description' => 'The description of the promotion.', 'type' => 'string', 'example' => '37284', 'title' => ''],
                                                'promotionId' => ['description' => 'The ID of the promotion.', 'type' => 'integer', 'format' => 'int64', 'example' => '数据盘享8.5折', 'title' => ''],
                                                'promotionName' => ['description' => 'The name of the promotion.', 'type' => 'string', 'example' => '数据盘享8.5折', 'title' => ''],
                                            ],
                                            'title' => '',
                                            'example' => '',
                                        ],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'tradePrice' => ['description' => 'The discount price.', 'type' => 'number', 'format' => 'float', 'example' => '0.0', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****'],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"price\\": {\\n    \\"currency\\": \\"CNY\\",\\n    \\"discountPrice\\": 0,\\n    \\"moduleDetails\\": [\\n      {\\n        \\"costAfterDiscount\\": 0.02,\\n        \\"invoiceDiscount\\": 0,\\n        \\"moduleCode\\": \\"InstanceRent\\",\\n        \\"moduleName\\": \\"InstanceRent\\",\\n        \\"originalCost\\": 1000,\\n        \\"priceType\\": \\"1.0\\"\\n      }\\n    ],\\n    \\"originalPrice\\": 760,\\n    \\"promotionDetails\\": [\\n      {\\n        \\"promotionDesc\\": \\"37284\\",\\n        \\"promotionId\\": 0,\\n        \\"promotionName\\": \\"数据盘享8.5折\\"\\n      }\\n    ],\\n    \\"tradePrice\\": 0\\n  },\\n  \\"requestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
            'title' => 'GetPrice',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPrice'],
                ],
            ],
        ],
        'GetResourceType' => [
            'summary' => 'Retrieves resource metadata.',
            'path' => '/api/v1/providers/{provider}/products/{product}/resourceTypes/*',
            'methods' => ['get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'x-acs-accept-language',
                    'in' => 'header',
                    'schema' => [
                        'title' => '',
                        'description' => 'The language in which the product information is returned. Valid values:'."\n"
                            ."\n"
                            .'zh_CH: Chinese (default)'."\n"
                            ."\n"
                            .'en_US: English.',
                        'enumValueTitles' => ['zh_CH' => 'zh_CH', 'en_US' => 'en_US'],
                        'type' => 'string',
                        'required' => false,
                        'example' => 'zh_CH',
                    ],
                ],
                [
                    'name' => 'requestPath',
                    'in' => 'path',
                    'schema' => ['description' => 'The request path. Format:'."\n"
                        .'/api/v1/providers/{provider}/products/{product}/resourceTypes/{resourceType}'."\n"
                        ."\n"
                        .'Description of variables in the request path:'."\n"
                        ."\n"
                        .'provider: The cloud provider. Currently, only Aliyun is supported.'."\n"
                        ."\n"
                        .'product: The product code.'."\n"
                        ."\n"
                        .'resourceType: The resource type. If a parent resource exists, the format is {parentResourceTypeCode}/{resourceTypeCode}.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'default' => '0', 'example' => 'No parent resource: /api/v1/providers/Aliyun/products/Redis/resourceTypes/DBInstance'."\n"
                        ."\n"
                        .'Has parent resource: /api/v1/providers/Aliyun/products/Redis/resourceTypes/DBInstance/Account', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'The response struct.',
                        'type' => 'object',
                        'properties' => [
                            'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****'],
                            'resourceType' => [
                                'description' => 'The resource type.',
                                'type' => 'object',
                                'properties' => [
                                    'createOnlyProperties' => [
                                        'description' => 'The properties exclusive to the create operation. These properties are not returned in resource query operations but are required as input parameters for the create operation.',
                                        'type' => 'array',
                                        'items' => ['description' => 'The create-only property.', 'type' => 'string', 'example' => '/properties/AutoRenew', 'title' => ''],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'deleteOnlyProperties' => [
                                        'description' => 'The properties exclusive to the delete operation. These properties are not returned in resource query operations but are required as input parameters for the delete operation.',
                                        'type' => 'array',
                                        'items' => ['description' => 'The delete-only property.', 'type' => 'string', 'example' => '/properties/ForceDelete', 'title' => ''],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'filterProperties' => [
                                        'description' => 'The properties that can be used as filter parameters in the list operation.',
                                        'type' => 'array',
                                        'items' => ['description' => 'The filter property.', 'type' => 'string', 'example' => '	'."\n"
                                            .'/properties/ResourceGroupId', 'title' => ''],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'getOnlyProperties' => [
                                        'description' => 'The properties exclusive to the get operation. These properties are not returned in resource query operations but are required as input parameters for the get operation.',
                                        'type' => 'array',
                                        'items' => ['description' => 'The get-only property.', 'type' => 'string', 'example' => '/properties/DryRun', 'title' => ''],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'getResponseProperties' => [
                                        'description' => 'The properties returned by the get operation.',
                                        'type' => 'array',
                                        'items' => ['description' => 'The property returned by the get operation.', 'type' => 'string', 'example' => '/properties/NetworkInterfaces/items/properties/IpvSets', 'title' => ''],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'handlers' => [
                                        'description' => 'The supported resource operations, including RAM permissions.',
                                        'type' => 'object',
                                        'properties' => [
                                            'create' => [
                                                'description' => 'The information associated with the create operation.',
                                                'type' => 'object',
                                                'properties' => [
                                                    'permissions' => [
                                                        'description' => 'The required RAM permissions.',
                                                        'type' => 'array',
                                                        'items' => ['description' => 'The RAM permission.', 'type' => 'string', 'example' => 'ecs:CreateInstance', 'title' => ''],
                                                        'title' => '',
                                                        'example' => '',
                                                    ],
                                                ],
                                                'title' => '',
                                                'example' => '',
                                            ],
                                            'delete' => [
                                                'description' => 'The information associated with the delete operation.',
                                                'type' => 'object',
                                                'properties' => [
                                                    'permissions' => [
                                                        'description' => 'The required RAM permissions.',
                                                        'type' => 'array',
                                                        'items' => ['description' => 'The RAM permission.', 'type' => 'string', 'example' => 'ecs:DeleteInstance', 'title' => ''],
                                                        'title' => '',
                                                        'example' => '',
                                                    ],
                                                ],
                                                'title' => '',
                                                'example' => '',
                                            ],
                                            'get' => [
                                                'description' => 'The information associated with the get operation.',
                                                'type' => 'object',
                                                'properties' => [
                                                    'permissions' => [
                                                        'description' => 'The required RAM permissions.',
                                                        'type' => 'array',
                                                        'items' => ['description' => 'The RAM permission.', 'type' => 'string', 'example' => 'ecs:DescribeInstanceAttachmentAttributes', 'title' => ''],
                                                        'title' => '',
                                                        'example' => '',
                                                    ],
                                                ],
                                                'title' => '',
                                                'example' => '',
                                            ],
                                            'list' => [
                                                'description' => 'The information associated with the list operation.',
                                                'type' => 'object',
                                                'properties' => [
                                                    'permissions' => [
                                                        'description' => 'The required RAM permissions.',
                                                        'type' => 'array',
                                                        'items' => ['description' => 'The RAM permission.', 'type' => 'string', 'example' => 'ecs:DescribeInstances', 'title' => ''],
                                                        'title' => '',
                                                        'example' => '',
                                                    ],
                                                ],
                                                'title' => '',
                                                'example' => '',
                                            ],
                                            'update' => [
                                                'description' => 'The information associated with the update operation.',
                                                'type' => 'object',
                                                'properties' => [
                                                    'permissions' => [
                                                        'description' => 'The required RAM permissions.',
                                                        'type' => 'array',
                                                        'items' => ['description' => 'The RAM permission.', 'type' => 'string', 'example' => 'ecs:ModifyInstanceNetworkSpec', 'title' => ''],
                                                        'title' => '',
                                                        'example' => '',
                                                    ],
                                                ],
                                                'title' => '',
                                                'example' => '',
                                            ],
                                        ],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'info' => [
                                        'description' => 'The basic information about the resource type.',
                                        'type' => 'object',
                                        'properties' => [
                                            'chargeType' => ['description' => 'The billing method. Valid values:'."\n"
                                                ."\n"
                                                .'paid: paid.'."\n"
                                                ."\n"
                                                .'free: free.', 'type' => 'string', 'example' => 'paid', 'title' => ''],
                                            'deliveryScope' => ['description' => 'The delivery scope. Valid values: '."\n"
                                                ."\n"
                                                .'center: centralized deployment.'."\n"
                                                ."\n"
                                                .'region: region-level deployment.'."\n"
                                                ."\n"
                                                .'zone: zone-level deployment.', 'type' => 'string', 'example' => 'region', 'title' => ''],
                                            'description' => ['description' => 'The description of the resource type.', 'type' => 'string', 'example' => 'An ECS instance is equivalent to a virtual machine, including the most basic computing components such as CPU, memory, operating system, network, and disk. You can easily customize and change the configuration of the instance. You have full control over the virtual machine.', 'title' => ''],
                                            'title' => ['description' => 'The name of the resource type.', 'type' => 'string', 'example' => 'Instance', 'title' => ''],
                                        ],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'listOnlyProperties' => [
                                        'description' => 'The properties exclusive to the list operation. These properties are not returned in resource query operations but are required as input parameters for the list operation.',
                                        'type' => 'array',
                                        'items' => ['description' => 'The list-only property.', 'type' => 'string', 'example' => '/properties/DryRun', 'title' => ''],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'listResponseProperties' => [
                                        'description' => 'The properties returned by the list operation.',
                                        'type' => 'array',
                                        'items' => ['description' => 'The property returned by the list operation.', 'type' => 'string', 'example' => '/properties/InstanceId', 'title' => ''],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'primaryIdentifier' => ['description' => 'The resource ID.', 'type' => 'string', 'example' => '/properties/InstanceId'."\n", 'title' => ''],
                                    'product' => ['description' => 'The product code.', 'type' => 'string', 'example' => 'ECS', 'title' => ''],
                                    'properties' => ['description' => 'The resource property definitions. The key is the property name, and the value is the detailed property information.', 'type' => 'object', 'title' => '', 'example' => ''],
                                    'publicProperties' => [
                                        'description' => 'The common properties that represent basic resource attributes. These are not operation-specific properties.',
                                        'type' => 'array',
                                        'items' => ['description' => 'The common property.', 'type' => 'string', 'example' => '	'."\n"
                                            .'/properties/Description', 'title' => ''],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'readOnlyProperties' => [
                                        'description' => 'The read-only properties. These properties are returned only in list or get operations and cannot be used as input parameters for create or update operations.',
                                        'type' => 'array',
                                        'items' => ['description' => 'The read-only property.', 'type' => 'string', 'example' => '/properties/CreateTime', 'title' => ''],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'required' => [
                                        'description' => 'The required parameters for resource creation.',
                                        'type' => 'array',
                                        'items' => ['description' => 'The required parameter for resource creation.', 'type' => 'string', 'example' => 'RegionId', 'title' => ''],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'resourceType' => ['description' => 'The resource type. If the resource has a parent resource, the format is {parentResourceTypeCode/resourceTypeCode}.', 'type' => 'string', 'example' => '无父资源:'."\n"
                                        .'Instance'."\n"
                                        .'有父资源:'."\n"
                                        .'DBInstance/Account', 'title' => ''],
                                    'sensitiveInfoProperties' => [
                                        'description' => 'The sensitive properties, such as passwords.',
                                        'type' => 'array',
                                        'items' => ['description' => 'The sensitive property.', 'type' => 'string', 'example' => '/properties/VncPassword', 'title' => ''],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'updateOnlyProperties' => [
                                        'description' => 'The properties exclusive to the update operation. These properties are not returned in resource query operations but are required as input parameters for the update operation.',
                                        'type' => 'array',
                                        'items' => ['description' => 'The update-only property.', 'type' => 'string', 'example' => '/properties/DryRun', 'title' => ''],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'updateTypeProperties' => [
                                        'description' => 'The properties that can be modified.',
                                        'type' => 'array',
                                        'items' => ['description' => 'The modifiable property.', 'type' => 'string', 'example' => '/properties/InstanceName', 'title' => ''],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                ],
                                'example' => 'No parent resource:'."\n"
                                    .'Instance'."\n"
                                    .'Has parent resource:'."\n"
                                    .'DBInstance/Account',
                                'title' => '',
                            ],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'title' => 'Query resource type details',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceType'],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"requestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n  \\"resourceType\\": {\\n    \\"createOnlyProperties\\": [\\n      \\"/properties/AutoRenew\\"\\n    ],\\n    \\"deleteOnlyProperties\\": [\\n      \\"/properties/ForceDelete\\"\\n    ],\\n    \\"filterProperties\\": [\\n      \\"\\\\t\\\\n/properties/ResourceGroupId\\"\\n    ],\\n    \\"getOnlyProperties\\": [\\n      \\"/properties/DryRun\\"\\n    ],\\n    \\"getResponseProperties\\": [\\n      \\"/properties/NetworkInterfaces/items/properties/IpvSets\\"\\n    ],\\n    \\"handlers\\": {\\n      \\"create\\": {\\n        \\"permissions\\": [\\n          \\"ecs:CreateInstance\\"\\n        ]\\n      },\\n      \\"delete\\": {\\n        \\"permissions\\": [\\n          \\"ecs:DeleteInstance\\"\\n        ]\\n      },\\n      \\"get\\": {\\n        \\"permissions\\": [\\n          \\"ecs:DescribeInstanceAttachmentAttributes\\"\\n        ]\\n      },\\n      \\"list\\": {\\n        \\"permissions\\": [\\n          \\"ecs:DescribeInstances\\"\\n        ]\\n      },\\n      \\"update\\": {\\n        \\"permissions\\": [\\n          \\"ecs:ModifyInstanceNetworkSpec\\"\\n        ]\\n      }\\n    },\\n    \\"info\\": {\\n      \\"chargeType\\": \\"paid\\",\\n      \\"deliveryScope\\": \\"region\\",\\n      \\"description\\": \\"An ECS instance is equivalent to a virtual machine, including the most basic computing components such as CPU, memory, operating system, network, and disk. You can easily customize and change the configuration of the instance. You have full control over the virtual machine.\\",\\n      \\"title\\": \\"Instance\\"\\n    },\\n    \\"listOnlyProperties\\": [\\n      \\"/properties/DryRun\\"\\n    ],\\n    \\"listResponseProperties\\": [\\n      \\"/properties/InstanceId\\"\\n    ],\\n    \\"primaryIdentifier\\": \\"/properties/InstanceId\\\\n\\",\\n    \\"product\\": \\"ECS\\",\\n    \\"properties\\": {\\n      \\"test\\": \\"test\\",\\n      \\"test2\\": 1\\n    },\\n    \\"publicProperties\\": [\\n      \\"\\\\t\\\\n/properties/Description\\"\\n    ],\\n    \\"readOnlyProperties\\": [\\n      \\"/properties/CreateTime\\"\\n    ],\\n    \\"required\\": [\\n      \\"RegionId\\"\\n    ],\\n    \\"resourceType\\": \\"无父资源:\\\\nInstance\\\\n有父资源:\\\\nDBInstance/Account\\",\\n    \\"sensitiveInfoProperties\\": [\\n      \\"/properties/VncPassword\\"\\n    ],\\n    \\"updateOnlyProperties\\": [\\n      \\"/properties/DryRun\\"\\n    ],\\n    \\"updateTypeProperties\\": [\\n      \\"/properties/InstanceName\\"\\n    ]\\n  }\\n}","type":"json"}]',
        ],
        'GetResources' => [
            'summary' => 'Query resources.',
            'path' => '/api/v1/providers/{provider}/products/{product}/resources/*',
            'methods' => ['get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
            'parameters' => [
                [
                    'name' => 'requestPath',
                    'in' => 'path',
                    'schema' => ['description' => 'The URL of the request.'."\n"
                        ."\n"
                        .'The request URL determines whether the List or Get operation is called.'."\n"
                        ."\n"
                        .'- List: `/api/v1/providers/{provider}/products/{product}/resources/{resourceType}`'."\n"
                        ."\n"
                        .'- Get: `/api/v1/providers/{provider}/products/{product}/resources/{resourceType}/{resourceId}`'."\n"
                        ."\n"
                        .'The request URL contains the following variables:'."\n"
                        ."\n"
                        .'- provider: The cloud service provider. Currently, only `Aliyun` is supported.'."\n"
                        ."\n"
                        .'- product: The product code.'."\n"
                        ."\n"
                        .'- resourceType: The [resource type](~~2246871~~). If a parent resource exists, the format is `{parent resource type code}/{parent resource ID}/{resource type code}`.'."\n"
                        ."\n"
                        .'- resourceId: The resource ID.', 'type' => 'string', 'example' => 'List (no parent resource):'."\n"
                        .'/api/v1/providers/Aliyun/products/Redis/resources/DBInstance'."\n"
                        ."\n"
                        .'List (has parent resource):'."\n"
                        .'/api/v1/providers/aliyun/products/Redis/resources/DBInstance/r-2ze8v41uei31lo****/Account'."\n"
                        ."\n"
                        .'Get (no parent resource):'."\n"
                        .'/api/v1/providers/Aliyun/products/Redis/resources/DBInstance/r-2ze8v41uei31lo****'."\n"
                        ."\n"
                        .'Get (has parent resource):'."\n"
                        .'/api/v1/providers/Aliyun/products/Redis/resources/DBInstance/r-2ze8v41uei31lo****/Account/user****', 'required' => false, 'docRequired' => true, 'title' => ''],
                ],
                [
                    'name' => 'regionId',
                    'in' => 'query',
                    'schema' => ['description' => 'The region ID. This parameter is required if the cloud product is region-specific.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'."\n", 'title' => ''],
                ],
                [
                    'name' => 'filter',
                    'in' => 'query',
                    'style' => 'json',
                    'schema' => ['description' => 'The filter conditions for resources.'."\n"
                        ."\n"
                        .'Specify multiple key-value pairs in JSON format to filter resources. If a List or Get operation for a cloud product supports filtering by specific properties, you can use those properties as filter conditions for this parameter.'."\n"
                        ."\n"
                        .'> The supported filter fields may vary for different resource types. For more information about the supported fields, see the OpenAPI documentation for the specific resource.'."\n"
                        ."\n"
                        .'For example, DBInstance resources support filtering by the `EditionType` and `PaymentType` fields.', 'type' => 'object', 'required' => false, 'example' => '{'."\n"
                        .'  "EditionType": "Community",'."\n"
                        .'  "PaymentType": "PostPaid"'."\n"
                        .'}', 'title' => ''],
                ],
                [
                    'name' => 'nextToken',
                    'in' => 'query',
                    'schema' => ['description' => 'The pagination token.'."\n"
                        ."\n"
                        .'- You do not need to specify this parameter for the first query. The system returns data from the first page.'."\n"
                        ."\n"
                        .'- For subsequent queries, set this parameter to the nextToken value returned from the previous call.'."\n"
                        ."\n"
                        .'> If this parameter contains only digits, Cloud Control API treats it as the `PageNumber` for paging.', 'type' => 'string', 'required' => false, 'example' => 'AAAAAdDWBF2****', 'title' => ''],
                ],
                [
                    'name' => 'maxResults',
                    'in' => 'query',
                    'schema' => ['description' => 'The maximum number of records to return on each page for a paged query. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => 'Schema of Response',
                        'description' => 'The response structure.',
                        'type' => 'object',
                        'properties' => [
                            'maxResults' => ['description' => 'The maximum number of records returned for the current request. This parameter is returned by the List operation.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
                            'nextToken' => ['description' => 'The position where the current call finished reading. An empty value indicates that all data has been read. This parameter is returned by the List operation.', 'type' => 'string', 'example' => 'AAAAAdDWBF2****', 'title' => ''],
                            'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****'],
                            'resource' => [
                                'description' => 'The specified resource. This parameter is returned by the Get operation.',
                                'type' => 'object',
                                'properties' => [
                                    'resourceAttributes' => ['description' => 'The resource properties in JSON format.', 'type' => 'object', 'example' => '{"Status":"Available","Description":"","AccountPrivilege":"RoleReadWrite","InstanceId":"r-2ze8v41uei31lo****","RegionId":"cn-zhangjiakou","AccountType":"Normal","TypeInfo":{},"AccountName":"cctest"}', 'title' => ''],
                                    'resourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'example' => 'cctest', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'resources' => [
                                'description' => 'A list of resources. This parameter is returned by the List operation.',
                                'type' => 'array',
                                'items' => [
                                    'description' => 'A resource.',
                                    'type' => 'object',
                                    'properties' => [
                                        'resourceAttributes' => ['description' => 'The resource properties in JSON format.', 'type' => 'object', 'example' => '{"Status":"Available","Description":"","AccountPrivilege":"RoleReadWrite","InstanceId":"r-2ze8v41uei31lo****","RegionId":"cn-zhangjiakou","AccountType":"Normal","TypeInfo":{},"AccountName":"cctest"}', 'title' => ''],
                                        'resourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'example' => 'cctest', 'title' => ''],
                                    ],
                                    'title' => '',
                                    'example' => '',
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'totalCount' => ['description' => 'The total number of entries that match the query conditions. This parameter is returned by the List operation.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"maxResults\\": 10,\\n  \\"nextToken\\": \\"AAAAAdDWBF2****\\",\\n  \\"requestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n  \\"resource\\": {\\n    \\"resourceAttributes\\": {\\n      \\"Status\\": \\"Available\\",\\n      \\"Description\\": \\"\\",\\n      \\"AccountPrivilege\\": \\"RoleReadWrite\\",\\n      \\"InstanceId\\": \\"r-2ze8v41uei31lo****\\",\\n      \\"RegionId\\": \\"cn-zhangjiakou\\",\\n      \\"AccountType\\": \\"Normal\\",\\n      \\"TypeInfo\\": {},\\n      \\"AccountName\\": \\"cctest\\"\\n    },\\n    \\"resourceId\\": \\"cctest\\"\\n  },\\n  \\"resources\\": [\\n    {\\n      \\"resourceAttributes\\": {\\n        \\"Status\\": \\"Available\\",\\n        \\"Description\\": \\"\\",\\n        \\"AccountPrivilege\\": \\"RoleReadWrite\\",\\n        \\"InstanceId\\": \\"r-2ze8v41uei31lo****\\",\\n        \\"RegionId\\": \\"cn-zhangjiakou\\",\\n        \\"AccountType\\": \\"Normal\\",\\n        \\"TypeInfo\\": {},\\n        \\"AccountName\\": \\"cctest\\"\\n      },\\n      \\"resourceId\\": \\"cctest\\"\\n    }\\n  ],\\n  \\"totalCount\\": 20\\n}","type":"json"}]',
            'title' => 'GetResources',
            'description' => 'You can go to the [OpenAPI Explorer](https://next.api.aliyun.com/cloudcontrol) to view the resource documentation and test the Cloud Control API.'."\n"
                ."\n"
                .'This API provides Get and List operations for resources that you can invoke using different request URIs.',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResources'],
                ],
            ],
            'translator' => 'manual',
        ],
        'GetTask' => [
            'path' => '/api/v1/tasks/{taskId}',
            'methods' => ['get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
            'parameters' => [
                [
                    'name' => 'taskId',
                    'in' => 'path',
                    'schema' => ['title' => '', 'description' => 'The ID of the task.'."\n", 'type' => 'string', 'required' => true, 'example' => 'task-433aead756057fff8189a7ce5****'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => 'Schema of Response',
                        'description' => 'The returned data.'."\n",
                        'type' => 'object',
                        'properties' => [
                            'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of a request.'."\n", 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****'],
                            'task' => [
                                'description' => 'The information about the task.'."\n",
                                'type' => 'object',
                                'properties' => [
                                    'createTime' => ['description' => 'The time when the task was created.'."\n", 'type' => 'string', 'example' => '2022-10-09T00:46:03Z', 'title' => ''],
                                    'error' => [
                                        'description' => 'The error returned for the task.'."\n",
                                        'type' => 'object',
                                        'properties' => [
                                            'code' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'OperationFailure.OperationFailed', 'title' => ''],
                                            'message' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => '{'."\n"
                                                .'     "requestId": "123****",'."\n"
                                                .'     "errorCode": "InvalidRamUser.NoPermission",'."\n"
                                                .'     "errorMsg": "Ram user is not authorized to perform the operation."'."\n"
                                                .'}', 'title' => ''],
                                        ],
                                        'title' => '',
                                    ],
                                    'product' => ['description' => 'The code of the service.'."\n", 'type' => 'string', 'example' => 'ECS', 'title' => ''],
                                    'regionId' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''],
                                    'resourceId' => ['description' => 'The ID of the resource.'."\n", 'type' => 'string', 'example' => 'i-8vbascjthm7kzhp3****'."\n", 'title' => ''],
                                    'resourcePath' => ['description' => 'The path of the resources. The relative resource ID. The resource path contains the complete resource location (parent resource/child resource).'."\n", 'type' => 'string', 'example' => 'Instance/i-8vbascjthm7kzhp3****'."\n"
                                        .'Instance/r-8vbf5abe31c9c4d4/Account/cctest', 'title' => ''],
                                    'resourceType' => ['description' => 'The resource type.'."\n", 'type' => 'string', 'example' => 'Instance', 'title' => ''],
                                    'status' => [
                                        'description' => 'The task state.'."\n"
                                            ."\n"
                                            .'Pending'."\n"
                                            ."\n"
                                            .'Running'."\n"
                                            ."\n"
                                            .'Succeeded'."\n"
                                            ."\n"
                                            .'Failed'."\n"
                                            ."\n"
                                            .'Cancelling'."\n"
                                            ."\n"
                                            .'Cancelled.'."\n",
                                        'type' => 'string',
                                        'enumValueTitles' => ['Succeeded' => 'Succeeded', 'Failed' => 'Failed', 'Running' => 'Running', 'Cancelled' => 'Cancelled', 'Pending' => 'Pending', 'Cancelling' => 'Cancelling'],
                                        'example' => 'Succeeded',
                                        'title' => '',
                                    ],
                                    'taskAction' => [
                                        'description' => 'The type of the task operation. Valid values: Create, Update, and Delete.'."\n",
                                        'type' => 'string',
                                        'enumValueTitles' => ['Delete' => 'Delete', 'Create' => 'Create', 'Update' => 'Update'],
                                        'example' => 'Create',
                                        'title' => '',
                                    ],
                                    'taskId' => ['description' => 'The ID of the task.'."\n", 'type' => 'string', 'example' => 'task-433aead756057fff8189a7ce5****', 'title' => ''],
                                ],
                                'title' => '',
                            ],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"requestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n  \\"task\\": {\\n    \\"createTime\\": \\"2022-10-09T00:46:03Z\\",\\n    \\"error\\": {\\n      \\"code\\": \\"OperationFailure.OperationFailed\\",\\n      \\"message\\": \\"{\\\\n     \\\\\\"requestId\\\\\\": \\\\\\"123****\\\\\\",\\\\n     \\\\\\"errorCode\\\\\\": \\\\\\"InvalidRamUser.NoPermission\\\\\\",\\\\n     \\\\\\"errorMsg\\\\\\": \\\\\\"Ram user is not authorized to perform the operation.\\\\\\"\\\\n}\\"\\n    },\\n    \\"product\\": \\"ECS\\",\\n    \\"regionId\\": \\"cn-beijing\\",\\n    \\"resourceId\\": \\"i-8vbascjthm7kzhp3****\\\\n\\",\\n    \\"resourcePath\\": \\"Instance/i-8vbascjthm7kzhp3****\\\\nInstance/r-8vbf5abe31c9c4d4/Account/cctest\\",\\n    \\"resourceType\\": \\"Instance\\",\\n    \\"status\\": \\"Succeeded\\",\\n    \\"taskAction\\": \\"Create\\",\\n    \\"taskId\\": \\"task-433aead756057fff8189a7ce5****\\"\\n  }\\n}","type":"json"}]',
            'title' => 'GetTask',
            'summary' => 'Calls this operation to query a specified asynchronous task.',
            'description' => 'GET /api/v1/tasks/{taskId}.'."\n",
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTask'],
                ],
            ],
        ],
        'ListDataSources' => [
            'summary' => 'Queries the valid values of resource attributes, such as RegionID and ZoneId.',
            'path' => '/api/v1/providers/{provider}/products/{product}/dataSources/*',
            'methods' => ['get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'requestPath',
                    'in' => 'path',
                    'schema' => ['description' => 'The URL of the request. The format is /api/v1/providers/{provider}/products/{product}/dataSources/{resourceType}.'."\n"
                        ."\n"
                        .'The variables in the URL are described as follows:'."\n"
                        ."\n"
                        .'provider: The cloud service provider. Only `Aliyun` is supported.'."\n"
                        ."\n"
                        .'product: The product code.'."\n"
                        ."\n"
                        .'resourceType: The resource type.'."\n"
                        ."\n"
                        .'Example for a Redis DBInstance:'."\n"
                        ."\n"
                        .'`/api/v1/providers/Aliyun/products/Redis/dataSources/DBInstance`', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '/api/v1/providers/Aliyun/products/Redis/dataSources/DBInstance', 'title' => ''],
                ],
                [
                    'name' => 'attributeName',
                    'in' => 'query',
                    'schema' => ['description' => 'The name of the attribute. Only `RegionId` is supported.', 'type' => 'string', 'required' => true, 'example' => 'RegionId', 'title' => ''],
                ],
                [
                    'name' => 'filter',
                    'in' => 'query',
                    'style' => 'json',
                    'schema' => ['description' => 'The filter condition. The value must be a JSON string in the {"key1":"value1"} format.', 'type' => 'object', 'title' => '', 'required' => false, 'example' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => 'Schema of Response',
                        'description' => 'The response parameters.',
                        'type' => 'object',
                        'properties' => [
                            'dataSources' => [
                                'description' => 'The list of data.',
                                'type' => 'array',
                                'items' => [
                                    'description' => 'The data.',
                                    'type' => 'object',
                                    'properties' => [
                                        'id' => ['description' => 'The data ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''],
                                    ],
                                    'title' => '',
                                    'example' => '',
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****'],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"dataSources\\": [\\n    {\\n      \\"id\\": \\"cn-beijing\\"\\n    }\\n  ],\\n  \\"requestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
            'title' => 'ListDataSources',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDataSources'],
                ],
            ],
        ],
        'ListProducts' => [
            'path' => '/api/v1/providers/{provider}/products',
            'methods' => ['get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'x-acs-accept-language',
                    'in' => 'header',
                    'schema' => [
                        'title' => 'A short description of struct',
                        'description' => 'Select the language in which the response is returned.'."\n"
                            ."\n"
                            .'zh_CH: Chinese (default).'."\n"
                            ."\n"
                            .'en_US: English.'."\n",
                        'type' => 'string',
                        'required' => false,
                        'enumValueTitles' => ['zh_CH' => 'zh_CH', 'en_US' => 'en_US'],
                        'example' => 'zh_CH',
                    ],
                ],
                [
                    'name' => 'provider',
                    'in' => 'path',
                    'schema' => ['description' => 'The Cloud service provider. Only Aliyun is supported.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Aliyun', 'title' => ''],
                ],
                [
                    'name' => 'nextToken',
                    'in' => 'query',
                    'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. If you leave this parameter empty, the query starts from the beginning.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ECS', 'title' => ''],
                ],
                [
                    'name' => 'maxResults',
                    'in' => 'query',
                    'schema' => ['description' => 'The number of entries per page. Maximum value: 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => 'Schema of Response',
                        'description' => 'The returned data.'."\n",
                        'type' => 'object',
                        'properties' => [
                            'maxResults' => ['description' => 'The maximum number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
                            'nextToken' => ['title' => '', 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n", 'type' => 'string', 'example' => 'Redis'],
                            'products' => [
                                'description' => 'The cloud services.'."\n",
                                'type' => 'array',
                                'items' => [
                                    'description' => 'The service information.'."\n",
                                    'type' => 'object',
                                    'properties' => [
                                        'productCode' => ['description' => 'The code of the service.'."\n", 'type' => 'string', 'example' => 'ECS', 'title' => ''],
                                        'productName' => ['description' => 'The service name.'."\n", 'type' => 'string', 'example' => 'Elastic Compute Service', 'title' => ''],
                                    ],
                                    'title' => '',
                                ],
                                'title' => '',
                            ],
                            'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of a request.'."\n", 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****'],
                            'totalCount' => ['title' => '', 'description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"maxResults\\": 10,\\n  \\"nextToken\\": \\"Redis\\",\\n  \\"products\\": [\\n    {\\n      \\"productCode\\": \\"ECS\\",\\n      \\"productName\\": \\"Elastic Compute Service\\"\\n    }\\n  ],\\n  \\"requestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n  \\"totalCount\\": 20\\n}","type":"json"}]',
            'title' => 'ListProducts',
            'summary' => 'Calls this operation to list the supported services.',
            'description' => 'GET /api/v1/providers/{provider}/products.'."\n",
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProducts'],
                ],
            ],
        ],
        'ListResourceTypes' => [
            'path' => '/api/v1/providers/{provider}/products/{product}/resourceTypes',
            'methods' => ['get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'x-acs-accept-language',
                    'in' => 'header',
                    'schema' => [
                        'description' => 'Select the language in which the response is returned.'."\n"
                            ."\n"
                            .'zh_CH: Chinese (default).'."\n"
                            ."\n"
                            .'en_US: English.'."\n",
                        'type' => 'string',
                        'required' => false,
                        'enumValueTitles' => ['zh_CH' => 'zh_CH', 'en_US' => 'en_US'],
                        'example' => 'zh_CH',
                        'title' => '',
                    ],
                ],
                [
                    'name' => 'provider',
                    'in' => 'path',
                    'schema' => ['description' => 'The Cloud service provider. Only Aliyun is supported.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Aliyun', 'title' => ''],
                ],
                [
                    'name' => 'product',
                    'in' => 'path',
                    'schema' => ['description' => 'The code of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ECS', 'title' => ''],
                ],
                [
                    'name' => 'resourceTypes',
                    'in' => 'query',
                    'style' => 'simple',
                    'schema' => [
                        'description' => 'The information about the resource types.'."\n",
                        'type' => 'array',
                        'items' => ['description' => 'The resource types.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Instance', 'title' => ''],
                        'required' => false,
                        'title' => '',
                    ],
                ],
                [
                    'name' => 'nextToken',
                    'in' => 'query',
                    'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. If you leave this parameter empty, the query starts from the beginning.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ECS::Disk', 'title' => ''],
                ],
                [
                    'name' => 'maxResults',
                    'in' => 'query',
                    'schema' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => 'Schema of Response',
                        'description' => 'The returned data.'."\n",
                        'type' => 'object',
                        'properties' => [
                            'maxResults' => ['description' => 'The maximum number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
                            'nextToken' => ['title' => '', 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n", 'type' => 'string', 'example' => 'ECS::Disk'],
                            'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of a request.'."\n", 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****'],
                            'resourceTypes' => [
                                'description' => 'The information about the resource types.'."\n",
                                'type' => 'array',
                                'items' => [
                                    'description' => 'The resource types.'."\n",
                                    'type' => 'object',
                                    'properties' => [
                                        'createOnlyProperties' => [
                                            'description' => 'The properties that are specific to the create operation. You need to specify these properties when you create the resource. These properties are not returned when you query the resource.'."\n",
                                            'type' => 'array',
                                            'items' => ['description' => 'The property that is specific to the create operation.'."\n", 'type' => 'string', 'example' => '/properties/AutoRenew', 'title' => ''],
                                            'title' => '',
                                        ],
                                        'deleteOnlyProperties' => [
                                            'description' => 'The properties that are specific to the delete operation. You need to specify these properties when you delete the resource. These properties are not returned when you query the resource.'."\n",
                                            'type' => 'array',
                                            'items' => ['description' => 'The property that is specific to the delete operation.'."\n", 'type' => 'string', 'example' => '/properties/ForceDelete', 'title' => ''],
                                            'title' => '',
                                        ],
                                        'filterProperties' => [
                                            'description' => 'The properties that can be used to filter the resource when you list the resource.'."\n",
                                            'type' => 'array',
                                            'items' => ['description' => 'The property that can be used to filter the resource.'."\n", 'type' => 'string', 'example' => '/properties/ResourceGroupId', 'title' => ''],
                                            'title' => '',
                                        ],
                                        'getOnlyProperties' => [
                                            'description' => 'The properties that are specific to the query operation. You need to specify these properties when you query the resource. These properties are not returned in the query result.'."\n",
                                            'type' => 'array',
                                            'items' => ['description' => 'The property that is specific to the query operation.'."\n", 'type' => 'string', 'example' => '/properties/DryRun'."\n", 'title' => ''],
                                            'title' => '',
                                        ],
                                        'getResponseProperties' => [
                                            'description' => 'The properties that are returned when you query the resource.'."\n",
                                            'type' => 'array',
                                            'items' => ['description' => 'The property that is returned when you query the resource.'."\n", 'type' => 'string', 'example' => '/properties/NetworkInterfaces/items/properties/IpvSets', 'title' => ''],
                                            'title' => '',
                                        ],
                                        'handlers' => [
                                            'description' => 'The information about the operation, including the required Resource Access Management (RAM) permissions.'."\n",
                                            'type' => 'object',
                                            'properties' => [
                                                'create' => [
                                                    'description' => 'The information about the create operation.'."\n",
                                                    'type' => 'object',
                                                    'properties' => [
                                                        'permissions' => [
                                                            'description' => 'The RAM permissions required.'."\n",
                                                            'type' => 'array',
                                                            'items' => ['description' => 'The RAM permission.'."\n", 'type' => 'string', 'example' => 'ecs:CreateInstance', 'title' => ''],
                                                            'title' => '',
                                                        ],
                                                    ],
                                                    'title' => '',
                                                ],
                                                'delete' => [
                                                    'description' => 'The information about the delete operation.'."\n",
                                                    'type' => 'object',
                                                    'properties' => [
                                                        'permissions' => [
                                                            'description' => 'The RAM permissions required.'."\n",
                                                            'type' => 'array',
                                                            'items' => ['description' => 'The RAM permission.'."\n", 'type' => 'string', 'example' => 'ecs:DeleteInstance', 'title' => ''],
                                                            'title' => '',
                                                        ],
                                                    ],
                                                    'title' => '',
                                                ],
                                                'get' => [
                                                    'description' => 'The information about the query operation.'."\n",
                                                    'type' => 'object',
                                                    'properties' => [
                                                        'permissions' => [
                                                            'description' => 'The RAM permissions required.'."\n",
                                                            'type' => 'array',
                                                            'items' => ['description' => 'The RAM permission.'."\n", 'type' => 'string', 'example' => 'ecs:DescribeInstanceAttachmentAttributes', 'title' => ''],
                                                            'title' => '',
                                                        ],
                                                    ],
                                                    'title' => '',
                                                ],
                                                'list' => [
                                                    'description' => 'The information about the list operation.'."\n",
                                                    'type' => 'object',
                                                    'properties' => [
                                                        'permissions' => [
                                                            'description' => 'The RAM permissions required.'."\n",
                                                            'type' => 'array',
                                                            'items' => ['description' => 'The RAM permission.'."\n", 'type' => 'string', 'example' => 'ecs:DescribeInstances', 'title' => ''],
                                                            'title' => '',
                                                        ],
                                                    ],
                                                    'title' => '',
                                                ],
                                                'update' => [
                                                    'description' => 'The information about the update operation.'."\n",
                                                    'type' => 'object',
                                                    'properties' => [
                                                        'permissions' => [
                                                            'description' => 'The RAM permissions required.'."\n",
                                                            'type' => 'array',
                                                            'items' => ['description' => 'The RAM permission.'."\n", 'type' => 'string', 'example' => 'ecs:ModifyInstanceNetworkSpec', 'title' => ''],
                                                            'title' => '',
                                                        ],
                                                    ],
                                                    'title' => '',
                                                ],
                                            ],
                                            'title' => '',
                                        ],
                                        'info' => [
                                            'description' => 'The information about the resource type.'."\n",
                                            'type' => 'object',
                                            'properties' => [
                                                'chargeType' => [
                                                    'description' => 'Billing method\\'."\n"
                                                        .'paid free'."\n",
                                                    'type' => 'string',
                                                    'enumValueTitles' => ['paid' => 'paid', 'free' => 'free'],
                                                    'example' => 'paid',
                                                    'title' => '',
                                                ],
                                                'deliveryScope' => [
                                                    'description' => 'The deployment level of the resource.'."\n"
                                                        ."\n"
                                                        .'center'."\n"
                                                        ."\n"
                                                        .'region'."\n"
                                                        ."\n"
                                                        .'zone'."\n",
                                                    'type' => 'string',
                                                    'enumValueTitles' => ['zone' => 'zone', 'center' => 'center', 'region' => 'region'],
                                                    'example' => 'region',
                                                    'title' => '',
                                                ],
                                                'description' => ['description' => 'The description of the resource type.'."\n", 'type' => 'string', 'example' => 'An ECS instance is equivalent to a virtual machine, including the most basic computing components such as CPU, memory, operating system, network, and disk. You can easily customize and change the configuration of the instance. You have full control over the virtual machine.', 'title' => ''],
                                                'title' => ['description' => 'The name of the resource type.'."\n", 'type' => 'string', 'example' => 'Instance', 'title' => ''],
                                            ],
                                            'title' => '',
                                        ],
                                        'listOnlyProperties' => [
                                            'description' => 'The properties that are specific to the list operation. You need to specify these properties when you list the resource. These properties are not returned when you query the resource.'."\n",
                                            'type' => 'array',
                                            'items' => ['description' => 'The property that is specific to the list operation.'."\n", 'type' => 'string', 'example' => '/properties/DryRun', 'title' => ''],
                                            'title' => '',
                                        ],
                                        'listResponseProperties' => [
                                            'description' => 'The properties that are returned when you list the resource.'."\n",
                                            'type' => 'array',
                                            'items' => ['description' => 'The property that is returned when you query the resource.'."\n", 'type' => 'string', 'example' => '/properties/InstanceId', 'title' => ''],
                                            'title' => '',
                                        ],
                                        'primaryIdentifier' => ['description' => 'The ID of the resource.'."\n", 'type' => 'string', 'example' => '/properties/InstanceId', 'title' => ''],
                                        'product' => ['description' => 'The code of the service.'."\n", 'type' => 'string', 'example' => 'ECS', 'title' => ''],
                                        'properties' => ['description' => 'The resource properties. The key specifies the property name and the value specifies the details of the property.'."\n", 'type' => 'object', 'title' => ''],
                                        'publicProperties' => [
                                            'description' => 'The common properties of the resource. The common properties are not operation-specific.'."\n",
                                            'type' => 'array',
                                            'items' => ['description' => 'The common property.'."\n", 'type' => 'string', 'example' => '/properties/Description', 'title' => ''],
                                            'title' => '',
                                        ],
                                        'readOnlyProperties' => [
                                            'description' => 'The read-only properties. These properties are returned only when you list or query the resource. You do not need to specify these properties when you create or update the resource.'."\n",
                                            'type' => 'array',
                                            'items' => ['description' => 'The read-only property.'."\n", 'type' => 'string', 'example' => '/properties/CreateTime', 'title' => ''],
                                            'title' => '',
                                        ],
                                        'required' => [
                                            'description' => 'The properties that must be specified when you create the resource.'."\n",
                                            'type' => 'array',
                                            'items' => ['description' => 'The property that must be specified when you create the resource.'."\n", 'type' => 'string', 'example' => 'RegionId', 'title' => ''],
                                            'title' => '',
                                        ],
                                        'resourceType' => ['description' => 'The resource type.'."\n", 'type' => 'string', 'example' => 'Instance', 'title' => ''],
                                        'sensitiveInfoProperties' => [
                                            'description' => 'The sensitive properties, such as the password.'."\n",
                                            'type' => 'array',
                                            'items' => ['description' => 'The sensitive property.'."\n", 'type' => 'string', 'example' => '/properties/VncPassword', 'title' => ''],
                                            'title' => '',
                                        ],
                                        'updateOnlyProperties' => [
                                            'description' => 'The properties that are specific to the update operation. You need to specify these properties when you update the resource. These properties are not returned when you query the resource.'."\n",
                                            'type' => 'array',
                                            'items' => ['description' => 'The property that is specific to the update operation.'."\n", 'type' => 'string', 'example' => '/properties/DryRun', 'title' => ''],
                                            'title' => '',
                                        ],
                                        'updateTypeProperties' => [
                                            'description' => 'The properties that can be modified.'."\n",
                                            'type' => 'array',
                                            'items' => ['description' => 'The property that can be modified.'."\n", 'type' => 'string', 'example' => '/properties/InstanceName', 'title' => ''],
                                            'title' => '',
                                        ],
                                    ],
                                    'title' => '',
                                ],
                                'title' => '',
                            ],
                            'totalCount' => ['title' => '', 'description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"maxResults\\": 10,\\n  \\"nextToken\\": \\"ECS::Disk\\",\\n  \\"requestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n  \\"resourceTypes\\": [\\n    {\\n      \\"createOnlyProperties\\": [\\n        \\"/properties/AutoRenew\\"\\n      ],\\n      \\"deleteOnlyProperties\\": [\\n        \\"/properties/ForceDelete\\"\\n      ],\\n      \\"filterProperties\\": [\\n        \\"/properties/ResourceGroupId\\"\\n      ],\\n      \\"getOnlyProperties\\": [\\n        \\"/properties/DryRun\\\\n\\"\\n      ],\\n      \\"getResponseProperties\\": [\\n        \\"/properties/NetworkInterfaces/items/properties/IpvSets\\"\\n      ],\\n      \\"handlers\\": {\\n        \\"create\\": {\\n          \\"permissions\\": [\\n            \\"ecs:CreateInstance\\"\\n          ]\\n        },\\n        \\"delete\\": {\\n          \\"permissions\\": [\\n            \\"ecs:DeleteInstance\\"\\n          ]\\n        },\\n        \\"get\\": {\\n          \\"permissions\\": [\\n            \\"ecs:DescribeInstanceAttachmentAttributes\\"\\n          ]\\n        },\\n        \\"list\\": {\\n          \\"permissions\\": [\\n            \\"ecs:DescribeInstances\\"\\n          ]\\n        },\\n        \\"update\\": {\\n          \\"permissions\\": [\\n            \\"ecs:ModifyInstanceNetworkSpec\\"\\n          ]\\n        }\\n      },\\n      \\"info\\": {\\n        \\"chargeType\\": \\"paid\\",\\n        \\"deliveryScope\\": \\"region\\",\\n        \\"description\\": \\"An ECS instance is equivalent to a virtual machine, including the most basic computing components such as CPU, memory, operating system, network, and disk. You can easily customize and change the configuration of the instance. You have full control over the virtual machine.\\",\\n        \\"title\\": \\"Instance\\"\\n      },\\n      \\"listOnlyProperties\\": [\\n        \\"/properties/DryRun\\"\\n      ],\\n      \\"listResponseProperties\\": [\\n        \\"/properties/InstanceId\\"\\n      ],\\n      \\"primaryIdentifier\\": \\"/properties/InstanceId\\",\\n      \\"product\\": \\"ECS\\",\\n      \\"properties\\": {\\n        \\"test\\": \\"test\\",\\n        \\"test2\\": 1\\n      },\\n      \\"publicProperties\\": [\\n        \\"/properties/Description\\"\\n      ],\\n      \\"readOnlyProperties\\": [\\n        \\"/properties/CreateTime\\"\\n      ],\\n      \\"required\\": [\\n        \\"RegionId\\"\\n      ],\\n      \\"resourceType\\": \\"Instance\\",\\n      \\"sensitiveInfoProperties\\": [\\n        \\"/properties/VncPassword\\"\\n      ],\\n      \\"updateOnlyProperties\\": [\\n        \\"/properties/DryRun\\"\\n      ],\\n      \\"updateTypeProperties\\": [\\n        \\"/properties/InstanceName\\"\\n      ]\\n    }\\n  ],\\n  \\"totalCount\\": 20\\n}","type":"json"}]',
            'title' => 'ListResourceTypes',
            'summary' => 'Calls this operation to list the resource types of a service.',
            'description' => 'GET /api/v1/providers/{provider}/products/{product}/resourceTypes.'."\n",
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceTypes'],
                ],
            ],
        ],
        'ListSupportedPricingApis' => [
            'summary' => 'Lists the OpenAPI triplets that currently support price inquiry.',
            'path' => '/api/v1/price/supported-apis',
            'methods' => ['get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'nextToken',
                    'in' => 'query',
                    'schema' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
                ],
                [
                    'name' => 'maxResults',
                    'in' => 'query',
                    'schema' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'type' => 'object',
                        'properties' => [
                            'supportedApis' => [
                                'title' => '',
                                'type' => 'array',
                                'items' => [
                                    'type' => 'object',
                                    'properties' => [
                                        'popCode' => ['title' => '', 'description' => 'The POP product code, such as Ecs, Rds, or Alb. This value corresponds to the popCode field used in price inquiry requests.', 'type' => 'string', 'example' => ''],
                                        'popVersion' => ['title' => '', 'description' => 'The OpenAPI version number, such as 2014-05-26.', 'type' => 'string', 'example' => ''],
                                        'apiName' => ['title' => '', 'description' => 'The OpenAPI name in PascalCase, such as RunInstances.', 'type' => 'string', 'example' => ''],
                                    ],
                                    'description' => '',
                                    'title' => '',
                                    'example' => '',
                                ],
                                'description' => 'The array of OpenAPI triplets that support price inquiry. The triplets are sorted in alphabetical order by popCode, popVersion, and apiName.',
                                'example' => '',
                            ],
                            'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => ''],
                            'nextToken' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
                            'maxResults' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''],
                        ],
                        'description' => 'Schema of Response',
                        'example' => '',
                    ],
                ],
            ],
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"supportedApis\\": [\\n    {\\n      \\"popCode\\": \\"\\",\\n      \\"popVersion\\": \\"\\",\\n      \\"apiName\\": \\"\\"\\n    }\\n  ],\\n  \\"requestId\\": \\"\\",\\n  \\"nextToken\\": \\"\\",\\n  \\"maxResults\\": 0\\n}","type":"json"}]',
            'title' => '',
        ],
        'UpdateResource' => [
            'summary' => 'Calls this operation to update resources.',
            'path' => '/api/v1/providers/{provider}/products/{product}/resources/*',
            'methods' => ['put'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'write',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'update', 'riskType' => 'high', 'chargeType' => 'paid'],
            'parameters' => [
                [
                    'name' => 'requestPath',
                    'in' => 'path',
                    'schema' => ['description' => 'The request path. Specify this parameter in the following format: /api/v1/providers/{provider}/products/{product}/resources/{resourceType}/{resourceId}'."\n"
                        ."\n"
                        .'Variables in the request path:'."\n"
                        ."\n"
                        .'provider: the Cloud service provider. Only Aliyun is supported.'."\n"
                        ."\n"
                        .'product: the code of the service.'."\n"
                        ."\n"
                        .'resourceType: the type of resources. If parent resource is specified, the format is {parent resource type code}/parent resource ID/{resource type code}.'."\n"
                        ."\n"
                        .'resourceId: the resource ID.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'No parent resource:'."\n"
                        .'/api/v1/providers/Aliyun/products/Redis/resources/DBInstance/r-2ze8v41uei31lo****'."\n"
                        ."\n"
                        .'Has parent resource:'."\n"
                        .'/api/v1/providers/Aliyun/products/Redis/resources/DBInstance/r-2ze8v41uei31lo****/Account/user****', 'title' => ''],
                ],
                [
                    'name' => 'regionId',
                    'in' => 'query',
                    'schema' => ['description' => 'The region ID. This parameter is required if a cloud service is a regionalized.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'."\n", 'title' => ''],
                ],
                [
                    'name' => 'clientToken',
                    'in' => 'query',
                    'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. If a cloud service supports idempotence, the parameter takes effect.'."\n", 'type' => 'string', 'required' => false, 'example' => '1e810dfe1468721d0664a49b9d9f74f4', 'title' => ''],
                ],
                [
                    'name' => 'body',
                    'in' => 'body',
                    'style' => 'json',
                    'schema' => ['description' => 'The request body. The property of the resource to be updated is specified in JSON format.'."\n", 'type' => 'object', 'required' => false, 'example' => '{'."\n"
                        .'     "AccountPassword": "4321****",'."\n"
                        .'     "Description": "cctest"'."\n"
                        .'}', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'headers' => [
                        'x-acs-cloudcontrol-timeout' => [
                            'schema' => ['type' => 'string', 'backendName' => 'retry-timeout'],
                        ],
                    ],
                    'schema' => [
                        'title' => 'Schema of Response',
                        'description' => 'The response parameters.'."\n",
                        'type' => 'object',
                        'properties' => [
                            'requestId' => ['title' => '', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****'],
                            'taskId' => ['description' => 'The ID of the asynchronous task. If the operation is asynchronous, this field is returned. In this case, the HTTP status code 202 is returned.'."\n", 'type' => 'string', 'example' => 'task-433aead756057fff8189a7ce5****', 'title' => ''],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"requestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n  \\"taskId\\": \\"task-433aead756057fff8189a7ce5****\\"\\n}","type":"json"}]',
            'title' => 'UpdateResource',
            'description' => 'You can go to [OpenAPI Explorer](https://next.api.aliyun.com/cloudcontrol) to view the documentation and try out Cloud Control API.'."\n"
                ."\n"
                .'If resources fail to be updated at any time, the Cloud Control API does not roll the resource back to the original status.'."\n"
                ."\n"
                .'The resource APIs cannot be rolled back. If the API operation is partially failed to be called, you can call the GetResource operation to view the latest status of the resource. If necessary, you can call the UpdateResource or DeleteResource operation to manually compensate for the failure.'."\n",
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateResource'],
                ],
            ],
        ],
    ],
    'endpoints' => [
        ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'ap-northeast-2', 'regionName' => 'South Korea (Seoul)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'vpc' => 'cloudcontrol-vpc.ap-southeast-1.aliyuncs.com'],
        ['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'ap-southeast-6', 'regionName' => 'Philippines (Manila)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'ap-southeast-7', 'regionName' => 'Thailand (Bangkok)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.aliyuncs.com', 'endpoint' => 'cloudcontrol.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.aliyuncs.com', 'endpoint' => 'cloudcontrol.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'cn-fuzhou', 'regionName' => 'China (Fuzhou - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.aliyuncs.com', 'endpoint' => 'cloudcontrol.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'cn-guangzhou', 'regionName' => 'China (Guangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.aliyuncs.com', 'endpoint' => 'cloudcontrol.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.aliyuncs.com', 'endpoint' => 'cloudcontrol.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'cn-heyuan', 'regionName' => 'China (Heyuan)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.aliyuncs.com', 'endpoint' => 'cloudcontrol.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.aliyuncs.com', 'endpoint' => 'cloudcontrol.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'cn-nanjing', 'regionName' => 'China (Nanjing - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.aliyuncs.com', 'endpoint' => 'cloudcontrol.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.aliyuncs.com', 'endpoint' => 'cloudcontrol.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.aliyuncs.com', 'endpoint' => 'cloudcontrol.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.aliyuncs.com', 'endpoint' => 'cloudcontrol.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.aliyuncs.com', 'endpoint' => 'cloudcontrol.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudcontrol.aliyuncs.com', 'endpoint' => 'cloudcontrol.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'me-central-1', 'regionName' => 'Saudi Arabia (Riyadh)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
        ['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudcontrol.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
    ],
    'errorCodes' => [
        ['code' => 'InternalFailure', 'message' => 'The request processing has failed because of an unknown error, exception or failure.', 'http_code' => 500, 'description' => 'Internal service error'],
        ['code' => 'InvalidDomain.NotFound', 'message' => 'The specified domain does not exist.', 'http_code' => 400, 'description' => 'This domain does not exist.'],
        ['code' => 'InvalidParameter.RequiredNotExisted', 'message' => 'The Required parameter for the Create operation of resource of type do not existed.', 'http_code' => 400, 'description' => 'There are required properties not provided'],
        ['code' => 'InvalidRamUser.NoPermission', 'message' => 'Ram user is not authorized to perform the operation.', 'http_code' => 403, 'description' => 'Ram user authentication failed'],
        ['code' => 'InvalidRegion.NotFound', 'message' => 'The specified region does not exist.', 'http_code' => 400, 'description' => 'The specified region does not exist.'],
        ['code' => 'InvalidRequestPath', 'message' => 'The request path is invalid.', 'http_code' => 400, 'description' => 'The requested path validation fails.'],
        ['code' => 'InvalidResource.NotFound', 'message' => 'The specified resource does not exist.', 'http_code' => 400, 'description' => 'The specified resource does not exist'],
        ['code' => 'InvalidResourceType.NotFound', 'message' => 'The specified resource type does not exist.', 'http_code' => 400, 'description' => 'The specified resource type does not exist'],
        ['code' => 'InvalidTask.NotFound', 'message' => 'The specified task does not exist.', 'http_code' => 400, 'description' => 'The specified task does not exist'],
        ['code' => 'MissingParameter', 'message' => 'some input parameter that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => 'Missing required parameter'],
    ],
    'changeSet' => [],
    'flowControl' => [
        'flowControlList' => [
            ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceTypes'],
            ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceType'],
            ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDataSources'],
            ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProducts'],
            ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPrice'],
            ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateResource'],
            ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTask'],
            ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateResource'],
            ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResources'],
            ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelTask'],
            ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteResource'],
        ],
    ],
];