summaryrefslogtreecommitdiff
path: root/data/milvus/2023-10-12/api-docs.php
blob: 84a86c78fb76f3eb9a0e4f4f86cdaf04f0a8b30b (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
<?php return [
    'version' => '1.0',
    'info' => ['style' => 'ROA', 'product' => 'milvus', 'version' => '2023-10-12'],
    'components' => [
        'schemas' => [
            'DBVersionDetail' => [
                'type' => 'object',
                'properties' => [
                    'version' => ['type' => 'string'],
                    'status' => ['type' => 'string'],
                    'specs' => [
                        'type' => 'array',
                        'items' => [
                            'type' => 'object',
                            'properties' => [
                                'zoneMode' => ['type' => 'string'],
                                'isStandalone' => ['type' => 'boolean'],
                                'isStandalonePro' => ['type' => 'boolean'],
                                'isHA' => ['type' => 'boolean'],
                                'componentSpecs' => [
                                    'type' => 'array',
                                    'items' => [
                                        'type' => 'object',
                                        'properties' => [
                                            'name' => ['type' => 'string'],
                                            'type' => ['type' => 'string'],
                                            'specs' => [
                                                'type' => 'array',
                                                'items' => ['type' => 'string'],
                                            ],
                                            'minReplicas' => ['type' => 'integer', 'format' => 'int32'],
                                            'maxReplicas' => ['type' => 'integer', 'format' => 'int32'],
                                            'step' => ['type' => 'integer', 'format' => 'int32'],
                                            'defaultReplicas' => ['type' => 'integer', 'format' => 'int32'],
                                        ],
                                    ],
                                ],
                            ],
                        ],
                    ],
                ],
            ],
            'DlfDatabase' => [
                'type' => 'object',
                'properties' => [
                    'databaseName' => ['type' => 'string'],
                    'description' => ['type' => 'string'],
                    'tableCount' => ['type' => 'integer', 'format' => 'int32'],
                ],
            ],
            'DlfFieldSchema' => [
                'type' => 'object',
                'properties' => [
                    'fieldName' => ['type' => 'string'],
                    'dlfFieldType' => ['type' => 'string'],
                    'milvusFieldType' => ['type' => 'string'],
                    'isPrimaryKey' => ['type' => 'boolean'],
                    'isVectorField' => ['type' => 'boolean'],
                    'dimension' => ['type' => 'integer', 'format' => 'int32'],
                    'nullable' => ['type' => 'boolean'],
                    'comment' => ['type' => 'string'],
                    'isSupported' => ['type' => 'boolean'],
                    'unsupportedReason' => ['type' => 'string'],
                ],
            ],
            'DlfInstance' => [
                'type' => 'object',
                'properties' => [
                    'instanceId' => ['type' => 'string'],
                    'instanceName' => ['type' => 'string'],
                    'status' => ['type' => 'string'],
                    'regionId' => ['type' => 'string'],
                    'instanceType' => ['type' => 'string'],
                ],
            ],
            'DlfTable' => [
                'type' => 'object',
                'properties' => [
                    'tableName' => ['type' => 'string'],
                    'tableType' => ['type' => 'string'],
                    'description' => ['type' => 'string'],
                    'tableFormat' => ['type' => 'string'],
                    'location' => ['type' => 'string'],
                ],
            ],
            'InstanceDetail' => [
                'type' => 'object',
                'properties' => [
                    'instanceName' => ['type' => 'string'],
                    'instanceId' => ['type' => 'string'],
                    'regionId' => ['type' => 'string'],
                    'zoneId' => ['type' => 'string'],
                    'status' => ['type' => 'string'],
                    'paymentType' => ['type' => 'string'],
                    'resourceGroupId' => ['type' => 'string'],
                    'vpcId' => ['type' => 'string'],
                    'createTime' => ['type' => 'string', 'format' => 'iso8601'],
                    'runningTime' => ['type' => 'integer', 'format' => 'int64'],
                    'expireTime' => ['type' => 'string', 'format' => 'iso8601'],
                    'dbVersion' => ['type' => 'string'],
                    'orderId' => ['type' => 'string'],
                    'autoBackup' => ['type' => 'boolean'],
                    'configuration' => ['type' => 'string'],
                    'ha' => ['type' => 'boolean'],
                    'multiZoneMode' => ['type' => 'string'],
                    'encrypted' => ['type' => 'boolean'],
                    'kmsKeyId' => ['type' => 'string'],
                    'vSwitchIds' => [
                        'type' => 'array',
                        'items' => [
                            'type' => 'object',
                            'properties' => [
                                'zoneId' => ['type' => 'string'],
                                'vswId' => ['type' => 'string'],
                            ],
                        ],
                    ],
                    'securityGroupIds' => [
                        'type' => 'array',
                        'items' => ['type' => 'string'],
                    ],
                    'tags' => [
                        'type' => 'array',
                        'items' => [
                            'type' => 'object',
                            'properties' => [
                                'key' => ['type' => 'string'],
                                'value' => ['type' => 'string'],
                            ],
                        ],
                    ],
                    'components' => [
                        'type' => 'array',
                        'items' => [
                            'type' => 'object',
                            'properties' => [
                                'type' => ['type' => 'string'],
                                'replica' => ['type' => 'integer', 'format' => 'int32'],
                                'cuNum' => ['type' => 'integer', 'format' => 'int32'],
                                'cuType' => ['type' => 'string'],
                                'diskSizeType' => ['type' => 'string'],
                                'payType' => ['type' => 'string'],
                            ],
                        ],
                    ],
                ],
            ],
            'MigrationSource' => [
                'type' => 'object',
                'properties' => [
                    'endpoint' => [
                        'type' => 'object',
                        'properties' => [
                            'endpoint' => ['type' => 'string'],
                            'port' => ['type' => 'string'],
                        ],
                    ],
                    'database' => ['type' => 'string'],
                    'authInfo' => [
                        'type' => 'object',
                        'properties' => [
                            'token' => ['type' => 'string'],
                            'username' => ['type' => 'string'],
                            'password' => ['type' => 'string'],
                            'authType' => ['type' => 'string'],
                        ],
                    ],
                ],
            ],
            'open_struct_DlfSnapshotDto' => [
                'type' => 'object',
                'properties' => [
                    'snapshotId' => ['type' => 'integer', 'format' => 'int64'],
                    'timeMillis' => ['type' => 'integer', 'format' => 'int64'],
                    'schemaId' => ['type' => 'integer', 'format' => 'int64'],
                    'totalRecordCount' => ['type' => 'integer', 'format' => 'int64'],
                    'deltaRecordCount' => ['type' => 'integer', 'format' => 'int64'],
                    'changelogRecordCount' => ['type' => 'integer', 'format' => 'int64'],
                    'commitKind' => ['type' => 'string'],
                ],
            ],
            'open_struct_DlfTagDto' => [
                'type' => 'object',
                'properties' => [
                    'tagName' => ['type' => 'string'],
                    'snapshotId' => ['type' => 'integer', 'format' => 'int64'],
                    'timeMillis' => ['type' => 'integer', 'format' => 'int64'],
                    'totalRecordCount' => ['type' => 'integer', 'format' => 'int64'],
                ],
            ],
            'PriceInfo' => [
                'type' => 'object',
                'properties' => [
                    'currency' => ['type' => 'string'],
                    'originalAmount' => ['type' => 'string'],
                    'tradeAmount' => ['type' => 'string'],
                    'discountAmount' => ['type' => 'string'],
                    'taxAmount' => ['type' => 'string'],
                    'optionalPromotions' => [
                        'type' => 'array',
                        'items' => ['$ref' => '#/components/schemas/PromotionInfo'],
                    ],
                    'priceModules' => [
                        'type' => 'array',
                        'items' => [
                            'type' => 'object',
                            'properties' => [
                                'type' => ['type' => 'string'],
                                'originalAmount' => ['type' => 'string'],
                            ],
                        ],
                    ],
                    'rules' => [
                        'type' => 'array',
                        'items' => [
                            'type' => 'object',
                            'properties' => [
                                'ruleId' => ['type' => 'string'],
                                'amount' => ['type' => 'string'],
                                'name' => ['type' => 'string'],
                            ],
                        ],
                    ],
                ],
            ],
            'PromotionInfo' => [
                'type' => 'object',
                'properties' => [
                    'promotionOptionCode' => ['type' => 'string'],
                    'promotionOptionNo' => ['type' => 'string'],
                    'promotionName' => ['type' => 'string'],
                    'promotionDesc' => ['type' => 'string'],
                    'canPromFee' => ['type' => 'string'],
                    'isSelected' => ['type' => 'boolean'],
                    'selected' => ['type' => 'boolean'],
                ],
            ],
            'RamAccount' => [
                'type' => 'object',
                'properties' => [
                    'uid' => ['type' => 'string'],
                    'userName' => ['type' => 'string'],
                    'displayName' => ['type' => 'string'],
                    'bindable' => ['type' => 'boolean'],
                ],
            ],
            'RamBindingEntry' => [
                'type' => 'object',
                'properties' => [
                    'milvusUsername' => ['type' => 'string'],
                    'boundUid' => ['type' => 'string'],
                    'boundUserName' => ['type' => 'string'],
                ],
            ],
            'ScalingActivity' => [
                'type' => 'object',
                'properties' => [
                    'scalingActivityId' => ['type' => 'string'],
                    'scalingRuleName' => ['type' => 'string'],
                    'scalingPolicyId' => ['type' => 'string'],
                    'instanceId' => ['type' => 'string'],
                    'componentTypes' => ['type' => 'string'],
                    'scalingActivityState' => ['type' => 'string'],
                    'startTime' => ['type' => 'string'],
                    'endTime' => ['type' => 'string'],
                    'policyType' => ['type' => 'string'],
                    'scalingRuleDetail' => ['type' => 'string'],
                    'scalingRuleId' => ['type' => 'string'],
                    'timeZone' => ['type' => 'string'],
                    'description' => ['type' => 'string'],
                ],
            ],
            'ScalingRule' => [
                'type' => 'object',
                'properties' => [
                    'ruleId' => ['type' => 'string'],
                    'scalingRuleName' => ['type' => 'string'],
                    'timeZone' => ['type' => 'string'],
                    'cronStr' => ['type' => 'string'],
                    'startTime' => ['type' => 'integer', 'format' => 'int64'],
                    'endTime' => ['type' => 'integer', 'format' => 'int64'],
                    'disabled' => ['type' => 'boolean'],
                    'adjustInfos' => [
                        'type' => 'array',
                        'items' => [
                            'type' => 'object',
                            'properties' => [
                                'componentType' => ['type' => 'string'],
                                'targetValue' => ['type' => 'string'],
                            ],
                        ],
                    ],
                ],
            ],
        ],
    ],
    'apis' => [
        'ChangeResourceGroup' => [
            'path' => '/webapi/resourceGroup/change',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'NewResourceGroupId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'RegionId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'ResourceType',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'ResourceId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'ResourceGroupId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
        ],
        'CreateAclGroup' => [
            'path' => '/webapi/milvus/createAclGroup',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'instanceId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'regionId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'groupName',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'cidrs',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
        ],
        'CreateDefaultRole' => [
            'path' => '/webapi/user/create_default_role',
            'methods' => ['post'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [],
        ],
        'CreateInstance' => [
            'path' => '/webapi/instance/create',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'RegionId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'body',
                    'in' => 'body',
                    'style' => 'json',
                    'schema' => [
                        'type' => 'object',
                        'required' => false,
                        'properties' => [
                            'zoneId' => ['type' => 'string', 'required' => true],
                            'instanceName' => ['type' => 'string', 'required' => false],
                            'dbVersion' => ['type' => 'string', 'required' => true],
                            'resourceGroupId' => ['type' => 'string', 'required' => false],
                            'vpcId' => ['type' => 'string', 'required' => true],
                            'paymentType' => ['type' => 'string', 'required' => true],
                            'paymentDuration' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
                            'paymentDurationUnit' => ['type' => 'string', 'required' => false],
                            'ha' => ['type' => 'boolean', 'required' => false],
                            'dbAdminPassword' => ['type' => 'string', 'required' => false],
                            'autoBackup' => ['type' => 'boolean', 'required' => false],
                            'multiZoneMode' => ['type' => 'string', 'required' => false],
                            'encrypted' => ['type' => 'boolean', 'required' => false],
                            'kmsKeyId' => ['type' => 'string', 'required' => false],
                            'configuration' => ['type' => 'string', 'required' => false],
                            'promotionNo' => ['type' => 'string', 'required' => false],
                            'loadReplicas' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
                            'isMultiAzStorage' => ['type' => 'boolean', 'required' => false],
                            'autoPay' => ['type' => 'boolean', 'required' => false],
                            'autoRenew' => ['type' => 'boolean', 'required' => false],
                            'backupRestoreInfo' => [
                                'type' => 'object',
                                'required' => false,
                                'properties' => [
                                    'sourceClusterId' => ['type' => 'string', 'required' => false],
                                    'backupName' => ['type' => 'string', 'required' => false],
                                    'backupId' => ['type' => 'string', 'required' => false],
                                ],
                            ],
                            'vSwitchIds' => [
                                'type' => 'array',
                                'required' => false,
                                'items' => [
                                    'type' => 'object',
                                    'required' => false,
                                    'properties' => [
                                        'zoneId' => ['type' => 'string', 'required' => false],
                                        'vswId' => ['type' => 'string', 'required' => false],
                                    ],
                                ],
                            ],
                            'components' => [
                                'type' => 'array',
                                'required' => false,
                                'items' => [
                                    'type' => 'object',
                                    'required' => false,
                                    'properties' => [
                                        'type' => ['type' => 'string', 'required' => true],
                                        'replica' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
                                        'cuNum' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
                                        'cuType' => ['type' => 'string', 'required' => false],
                                        'diskSizeType' => [
                                            'type' => 'string',
                                            'required' => false,
                                            'enum' => ['Large', 'Normal'],
                                        ],
                                    ],
                                ],
                            ],
                            'tags' => [
                                'type' => 'array',
                                'required' => false,
                                'items' => [
                                    'type' => 'object',
                                    'required' => false,
                                    'properties' => [
                                        'key' => ['type' => 'string', 'required' => false],
                                        'value' => ['type' => 'string', 'required' => false],
                                    ],
                                ],
                            ],
                            'aiFunction' => ['type' => 'boolean', 'required' => false],
                        ],
                    ],
                ],
                [
                    'name' => 'clientToken',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
        ],
        'DeleteInstance' => [
            'path' => '/webapi/instance/delete',
            'methods' => ['delete'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'RegionId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'instanceId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
            ],
        ],
        'DescribeAccessControlList' => [
            'path' => '/webapi/milvus/describe_access_control_list',
            'methods' => ['post'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'InstanceId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
        ],
        'DescribeInstanceConfigs' => [
            'path' => '/webapi/config/describe_milvus_user_config',
            'methods' => ['post'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'InstanceId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
            ],
        ],
        'GetInstance' => [
            'path' => '/webapi/instance/get',
            'methods' => ['get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'RegionId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'instanceId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
            ],
        ],
        'GetInstanceDetail' => [
            'path' => '/webapi/cluster/detail',
            'methods' => ['post'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'InstanceId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
        ],
        'ListAclGroups' => [
            'path' => '/webapi/milvus/listAclGroups',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'produces' => ['application/json'],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'instanceId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'regionId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
        ],
        'ListInstances' => [
            'path' => '/webapi/order/list',
            'methods' => ['post'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'ClusterName',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'ClusterId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'PageNumber',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '10000'],
                ],
                [
                    'name' => 'PageSize',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100000'],
                ],
                [
                    'name' => 'RegionId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'ResourceGroupId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'Tag',
                    'in' => 'query',
                    'style' => 'json',
                    'schema' => [
                        'type' => 'array',
                        'required' => false,
                        'items' => [
                            'type' => 'object',
                            'required' => false,
                            'properties' => [
                                'Key' => ['type' => 'string', 'required' => false],
                                'Value' => ['type' => 'string', 'required' => false],
                            ],
                        ],
                    ],
                ],
            ],
        ],
        'ListInstancesV2' => [
            'path' => '/webapi/instance/list',
            'methods' => ['get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'RegionId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'instanceName',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'instanceId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'pageNumber',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '10000'],
                ],
                [
                    'name' => 'pageSize',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100000'],
                ],
                [
                    'name' => 'resourceGroupId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'tag',
                    'in' => 'query',
                    'style' => 'json',
                    'schema' => [
                        'type' => 'array',
                        'required' => false,
                        'items' => [
                            'type' => 'object',
                            'required' => false,
                            'properties' => [
                                'key' => ['type' => 'string', 'required' => false],
                                'value' => ['type' => 'string', 'required' => false],
                            ],
                        ],
                    ],
                ],
                [
                    'name' => 'maxResults',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
                ],
                [
                    'name' => 'nextToken',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
        ],
        'ModifyInstanceConfig' => [
            'path' => '/webapi/config/modify_milvus_config',
            'methods' => ['post'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'InstanceId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'Reason',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'UserConfig',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
        ],
        'TagResources' => [
            'path' => '/webapi/tags',
            'methods' => ['post'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'body',
                    'in' => 'body',
                    'style' => 'json',
                    'schema' => [
                        'type' => 'object',
                        'required' => false,
                        'properties' => [
                            'ResourceType' => ['type' => 'string', 'required' => true],
                            'RegionId' => ['type' => 'string', 'required' => true],
                            'ResourceId' => [
                                'type' => 'array',
                                'required' => true,
                                'items' => ['type' => 'string', 'required' => false],
                            ],
                            'Tag' => [
                                'type' => 'array',
                                'required' => true,
                                'items' => [
                                    'type' => 'object',
                                    'required' => false,
                                    'properties' => [
                                        'Key' => ['type' => 'string', 'required' => false],
                                        'Value' => ['type' => 'string', 'required' => false],
                                    ],
                                ],
                            ],
                        ],
                    ],
                ],
            ],
        ],
        'UnTagResources' => [
            'path' => '/webapi/tags',
            'methods' => ['delete'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'RegionId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'ResourceType',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'ResourceId',
                    'in' => 'query',
                    'style' => 'json',
                    'schema' => [
                        'type' => 'array',
                        'required' => true,
                        'items' => ['type' => 'string', 'required' => false],
                    ],
                ],
                [
                    'name' => 'TagKey',
                    'in' => 'query',
                    'style' => 'json',
                    'schema' => [
                        'type' => 'array',
                        'required' => false,
                        'items' => ['type' => 'string', 'required' => false],
                    ],
                ],
                [
                    'name' => 'All',
                    'in' => 'query',
                    'schema' => ['type' => 'boolean', 'required' => false],
                ],
            ],
        ],
        'UpdateAccessControlList' => [
            'path' => '/webapi/milvus/update_access_control_list',
            'methods' => ['post'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'InstanceId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'Cidr',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'AclId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
        ],
        'UpdateAclGroupCidrs' => [
            'path' => '/webapi/milvus/updateAclGroupCidrs',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'produces' => ['application/json'],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'groupName',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'instanceId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'newCidrs',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
        ],
        'UpdateInstance' => [
            'path' => '/webapi/instance/update',
            'methods' => ['put'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'RegionId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'body',
                    'in' => 'body',
                    'style' => 'json',
                    'schema' => [
                        'type' => 'object',
                        'required' => false,
                        'properties' => [
                            'instanceId' => ['type' => 'string', 'required' => true],
                            'instanceName' => ['type' => 'string', 'required' => false],
                            'configuration' => ['type' => 'string', 'required' => false],
                            'ha' => ['type' => 'boolean', 'required' => false],
                            'autoBackup' => ['type' => 'boolean', 'required' => false],
                            'autoPay' => ['type' => 'boolean'],
                            'components' => [
                                'type' => 'array',
                                'required' => false,
                                'items' => [
                                    'type' => 'object',
                                    'required' => false,
                                    'properties' => [
                                        'type' => ['type' => 'string', 'required' => true],
                                        'replica' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
                                        'cuNum' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
                                        'payType' => ['type' => 'string'],
                                        'cuType' => ['type' => 'string'],
                                    ],
                                ],
                            ],
                        ],
                    ],
                ],
                [
                    'name' => 'clientToken',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
        ],
        'UpdateInstanceName' => [
            'path' => '/webapi/cluster/update_name',
            'methods' => ['post'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'ClusterName',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'InstanceId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
            ],
        ],
        'UpdatePublicNetworkStatus' => [
            'path' => '/webapi/network/updatePublicNetworkStatus',
            'methods' => ['post'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'InstanceId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'ComponentType',
                    'in' => 'query',
                    'schema' => [
                        'type' => 'string',
                        'required' => true,
                        'enum' => ['Proxy'],
                    ],
                ],
                [
                    'name' => 'PublicNetworkEnabled',
                    'in' => 'query',
                    'schema' => ['type' => 'boolean', 'required' => true],
                ],
                [
                    'name' => 'Cidr',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
        ],
    ],
    'endpoints' => [
        ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'milvus.ap-southeast-1.aliyuncs.com', 'endpoint' => 'milvus.ap-southeast-1.aliyuncs.com', 'vpc' => 'milvus-vpc.ap-southeast-1.aliyuncs.com'],
        ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'milvus.cn-beijing.aliyuncs.com', 'endpoint' => 'milvus.cn-beijing.aliyuncs.com', 'vpc' => 'milvus-vpc.cn-beijing.aliyuncs.com'],
        ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'milvus.cn-hangzhou.aliyuncs.com', 'endpoint' => 'milvus.cn-hangzhou.aliyuncs.com', 'vpc' => 'milvus-vpc.cn-hangzhou.aliyuncs.com'],
        ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'milvus.cn-hongkong.aliyuncs.com', 'endpoint' => 'milvus.cn-hongkong.aliyuncs.com', 'vpc' => 'milvus-vpc.cn-hongkong.aliyuncs.com'],
        ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'milvus.cn-shanghai.aliyuncs.com', 'endpoint' => 'milvus.cn-shanghai.aliyuncs.com', 'vpc' => 'milvus-vpc.cn-shanghai.aliyuncs.com'],
        ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'milvus.cn-shenzhen.aliyuncs.com', 'endpoint' => 'milvus.cn-shenzhen.aliyuncs.com', 'vpc' => 'milvus-vpc.cn-shenzhen.aliyuncs.com'],
        ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'milvus.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'milvus.cn-wulanchabu.aliyuncs.com', 'vpc' => 'milvus-vpc.cn-wulanchabu.aliyuncs.com'],
        ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'milvus.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'milvus.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'milvus-vpc.cn-zhangjiakou.aliyuncs.com'],
        ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'milvus.eu-central-1.aliyuncs.com', 'endpoint' => 'milvus.eu-central-1.aliyuncs.com', 'vpc' => 'milvus-vpc.eu-central-1.aliyuncs.com'],
    ],
];