· 9 years ago · Aug 11, 2016, 06:16 PM
1
2{
3 "swagger": "2.0",
4 "paths": {
5 "/disk/get_partition_config": {
6 "post": {
7 "responses": {
8 "201": {
9 "description": "entries to be returned"
10 }
11 },
12 "description": "UNKNOWN",
13 "parameters": [
14 {
15 "required": true,
16 "schema": {
17 "type": "null"
18 },
19 "name": "data",
20 "in": "body"
21 }
22 ]
23 }
24 },
25 "/snapshot": {
26 "post": {
27 "responses": {
28 "201": {
29 "description": "entries to be returned"
30 }
31 },
32 "description": "Creates a snapshot",
33 "parameters": [
34 {
35 "required": true,
36 "schema": {
37 "$ref": "#/definitions/volume-snapshot"
38 },
39 "name": "data",
40 "in": "body"
41 }
42 ]
43 },
44 "get": {
45 "responses": {
46 "200": {
47 "schema": {
48 "items": {
49 "$ref": "#/definitions/volume-snapshot"
50 },
51 "type": "array"
52 },
53 "description": "entries to be returned"
54 }
55 },
56 "description": "UNKNOWN",
57 "parameters": []
58 }
59 },
60 "/volume/find_media": {
61 "get": {
62 "responses": {
63 "200": {
64 "schema": {
65 "type": "array",
66 "items": {
67 "$ref": "#/definitions/importable-disk"
68 }
69 },
70 "description": "entries to be returned"
71 }
72 },
73 "description": "UNKNOWN",
74 "parameters": []
75 }
76 },
77 "/update/apply": {
78 "post": {
79 "responses": {
80 "201": {
81 "description": "entries to be returned"
82 }
83 },
84 "description": "Applies cached updates",
85 "parameters": [
86 {
87 "required": true,
88 "schema": {
89 "type": "boolean"
90 },
91 "name": "data",
92 "in": "body"
93 }
94 ]
95 }
96 },
97 "/boot/environment/id/{id}": {
98 "put": {
99 "responses": {
100 "200": {
101 "description": "entries to be returned"
102 }
103 },
104 "description": "Renames the given Boot Environment with the alternate name provieded",
105 "parameters": [
106 {
107 "required": true,
108 "type": "integer",
109 "name": "id",
110 "in": "path"
111 },
112 {
113 "required": true,
114 "schema": {
115 "$ref": "#/definitions/boot-environment"
116 },
117 "name": "data",
118 "in": "body"
119 }
120 ]
121 },
122 "get": {
123 "responses": {
124 "200": {
125 "schema": {
126 "items": {
127 "$ref": "#/definitions/boot-environment"
128 },
129 "type": "array"
130 },
131 "description": "entries to be returned"
132 }
133 },
134 "description": "UNKNOWN",
135 "parameters": [
136 {
137 "required": true,
138 "type": "integer",
139 "name": "id",
140 "in": "path"
141 }
142 ]
143 },
144 "delete": {
145 "responses": {
146 "204": {
147 "description": "entries to be returned"
148 }
149 },
150 "description": "Deletes the given Boot Environments. Note: It cannot delete an activated BE",
151 "parameters": [
152 {
153 "required": true,
154 "type": "integer",
155 "name": "id",
156 "in": "path"
157 }
158 ]
159 }
160 },
161 "/system/info/version": {
162 "get": {
163 "responses": {
164 "200": {
165 "schema": {
166 "type": "string"
167 },
168 "description": "entries to be returned"
169 }
170 },
171 "description": "Return the full version string, e.g. FreeNAS-8.1-r7794-amd64.",
172 "parameters": []
173 }
174 },
175 "/share_iscsi/target": {
176 "post": {
177 "responses": {
178 "201": {
179 "description": "entries to be returned"
180 }
181 },
182 "description": "Creates iSCSI share target",
183 "parameters": [
184 {
185 "required": true,
186 "schema": {
187 "$ref": "#/definitions/share-iscsi-target"
188 },
189 "name": "data",
190 "in": "body"
191 }
192 ]
193 },
194 "get": {
195 "responses": {
196 "200": {
197 "description": "entries to be returned"
198 }
199 },
200 "description": "UNKNOWN",
201 "parameters": []
202 }
203 },
204 "/volume/id/{id}": {
205 "put": {
206 "responses": {
207 "200": {
208 "description": "entries to be returned"
209 }
210 },
211 "description": "Updates configuration of existing volume",
212 "parameters": [
213 {
214 "required": true,
215 "type": "integer",
216 "name": "id",
217 "in": "path"
218 },
219 {
220 "required": true,
221 "schema": {
222 "type": "string"
223 },
224 "name": "data",
225 "in": "body"
226 }
227 ]
228 },
229 "get": {
230 "responses": {
231 "200": {
232 "schema": {
233 "items": {
234 "$ref": "#/definitions/volume"
235 },
236 "type": "array"
237 },
238 "description": "entries to be returned"
239 }
240 },
241 "description": "UNKNOWN",
242 "parameters": [
243 {
244 "required": true,
245 "type": "integer",
246 "name": "id",
247 "in": "path"
248 }
249 ]
250 },
251 "delete": {
252 "responses": {
253 "204": {
254 "description": "entries to be returned"
255 }
256 },
257 "description": "Destroys active volume",
258 "parameters": [
259 {
260 "required": true,
261 "type": "integer",
262 "name": "id",
263 "in": "path"
264 }
265 ]
266 }
267 },
268 "/disk": {
269 "get": {
270 "responses": {
271 "200": {
272 "schema": {
273 "items": {
274 "$ref": "#/definitions/disk"
275 },
276 "type": "array"
277 },
278 "description": "entries to be returned"
279 }
280 },
281 "description": "UNKNOWN",
282 "parameters": []
283 }
284 },
285 "/network/interface": {
286 "post": {
287 "responses": {
288 "201": {
289 "description": "entries to be returned"
290 }
291 },
292 "description": "Creates network interface",
293 "parameters": [
294 {
295 "required": true,
296 "schema": {
297 "$ref": "#/definitions/network-interface"
298 },
299 "name": "data",
300 "in": "body"
301 }
302 ]
303 },
304 "get": {
305 "responses": {
306 "200": {
307 "schema": {
308 "items": {
309 "$ref": "#/definitions/network-interface"
310 },
311 "type": "array"
312 },
313 "description": "entries to be returned"
314 }
315 },
316 "description": "UNKNOWN",
317 "parameters": []
318 }
319 },
320 "/system/general/keymaps": {
321 "get": {
322 "responses": {
323 "200": {
324 "schema": {
325 "type": "array",
326 "items": {
327 "type": "array",
328 "items": {
329 "type": "string"
330 }
331 }
332 },
333 "description": "entries to be returned"
334 }
335 },
336 "description": "UNKNOWN",
337 "parameters": []
338 }
339 },
340 "/share/get_connected_clients": {
341 "post": {
342 "responses": {
343 "201": {
344 "schema": {
345 "type": "array",
346 "items": {
347 "$ref": "#/definitions/share-client"
348 }
349 },
350 "description": "entries to be returned"
351 }
352 },
353 "description": "Returns list of clients connected to particular share",
354 "parameters": [
355 {
356 "required": true,
357 "schema": {
358 "type": "array",
359 "items": {
360 "$ref": "#/definitions/share-client"
361 }
362 },
363 "name": "data",
364 "in": "body"
365 }
366 ]
367 }
368 },
369 "/dataset": {
370 "post": {
371 "responses": {
372 "201": {
373 "description": "entries to be returned"
374 }
375 },
376 "description": "Creates a dataset in an existing volume",
377 "parameters": [
378 {
379 "required": true,
380 "schema": {
381 "$ref": "#/definitions/volume-dataset"
382 },
383 "name": "data",
384 "in": "body"
385 }
386 ]
387 },
388 "get": {
389 "responses": {
390 "200": {
391 "schema": {
392 "items": {
393 "$ref": "#/definitions/volume-dataset"
394 },
395 "type": "array"
396 },
397 "description": "entries to be returned"
398 }
399 },
400 "description": "UNKNOWN",
401 "parameters": []
402 }
403 },
404 "/volume/decode_path": {
405 "post": {
406 "responses": {
407 "201": {
408 "schema": {
409 "type": "array",
410 "items": [
411 {
412 "type": "string"
413 },
414 {
415 "type": "string"
416 },
417 {
418 "type": "string"
419 }
420 ]
421 },
422 "description": "entries to be returned"
423 }
424 },
425 "description": "Extracts volume name, dataset name and relative path from full path",
426 "parameters": [
427 {
428 "required": true,
429 "schema": {
430 "type": "array",
431 "items": [
432 {
433 "type": "string"
434 },
435 {
436 "type": "string"
437 },
438 {
439 "type": "string"
440 }
441 ]
442 },
443 "name": "data",
444 "in": "body"
445 }
446 ]
447 }
448 },
449 "/service/get_service_config": {
450 "post": {
451 "responses": {
452 "201": {
453 "schema": {
454 "additionalProperties": true,
455 "type": "object"
456 },
457 "description": "entries to be returned"
458 }
459 },
460 "description": "UNKNOWN",
461 "parameters": [
462 {
463 "required": true,
464 "schema": {
465 "additionalProperties": true,
466 "type": "object"
467 },
468 "name": "data",
469 "in": "body"
470 }
471 ]
472 }
473 },
474 "/disk/partition_to_disk": {
475 "post": {
476 "responses": {
477 "201": {
478 "schema": {
479 "type": "string"
480 },
481 "description": "entries to be returned"
482 }
483 },
484 "description": "UNKNOWN",
485 "parameters": [
486 {
487 "required": true,
488 "schema": {
489 "type": "string"
490 },
491 "name": "data",
492 "in": "body"
493 }
494 ]
495 }
496 },
497 "/user": {
498 "post": {
499 "responses": {
500 "201": {
501 "description": "entries to be returned"
502 }
503 },
504 "description": "Create an user in the system",
505 "parameters": [
506 {
507 "required": true,
508 "schema": {
509 "$ref": "#/definitions/user"
510 },
511 "name": "data",
512 "in": "body"
513 }
514 ]
515 },
516 "get": {
517 "responses": {
518 "200": {
519 "schema": {
520 "items": {
521 "$ref": "#/definitions/user"
522 },
523 "type": "array"
524 },
525 "description": "entries to be returned"
526 }
527 },
528 "description": "Lists users present in the system",
529 "parameters": []
530 }
531 },
532 "/volume/get_available_disks": {
533 "get": {
534 "responses": {
535 "200": {
536 "schema": {
537 "type": "array",
538 "items": {
539 "type": "string"
540 }
541 },
542 "description": "entries to be returned"
543 }
544 },
545 "description": "Returns the list of disks currently not used by any Volume",
546 "parameters": []
547 }
548 },
549 "/crypto/certificate": {
550 "post": {
551 "responses": {
552 "201": {
553 "description": "entries to be returned"
554 }
555 },
556 "description": "Creates a certificate",
557 "parameters": [
558 {
559 "required": true,
560 "schema": {
561 "$ref": "#/definitions/crypto-certificate"
562 },
563 "name": "data",
564 "in": "body"
565 }
566 ]
567 },
568 "get": {
569 "responses": {
570 "200": {
571 "schema": {
572 "items": {
573 "$ref": "#/definitions/crypto-certificate"
574 },
575 "type": "array"
576 },
577 "description": "entries to be returned"
578 }
579 },
580 "description": "UNKNOWN",
581 "parameters": []
582 }
583 },
584 "/mail": {
585 "put": {
586 "responses": {
587 "200": {
588 "description": "entries to be returned"
589 }
590 },
591 "description": "Updates mail configuration",
592 "parameters": [
593 {
594 "required": true,
595 "schema": {
596 "$ref": "#/definitions/mail"
597 },
598 "name": "data",
599 "in": "body"
600 }
601 ]
602 },
603 "get": {
604 "responses": {
605 "200": {
606 "schema": {
607 "$ref": "#/definitions/mail"
608 },
609 "description": "entries to be returned"
610 }
611 },
612 "description": "UNKNOWN",
613 "parameters": []
614 }
615 },
616 "/boot/pool": {
617 "get": {
618 "responses": {
619 "200": {
620 "description": "entries to be returned"
621 }
622 },
623 "description": "UNKNOWN",
624 "parameters": []
625 }
626 },
627 "/crypto/certificate/id/{id}": {
628 "put": {
629 "responses": {
630 "200": {
631 "description": "entries to be returned"
632 }
633 },
634 "description": "Updates a certificate",
635 "parameters": [
636 {
637 "required": true,
638 "type": "integer",
639 "name": "id",
640 "in": "path"
641 },
642 {
643 "required": true,
644 "schema": {
645 "$ref": "#/definitions/crypto-certificate"
646 },
647 "name": "data",
648 "in": "body"
649 }
650 ]
651 },
652 "get": {
653 "responses": {
654 "200": {
655 "schema": {
656 "items": {
657 "$ref": "#/definitions/crypto-certificate"
658 },
659 "type": "array"
660 },
661 "description": "entries to be returned"
662 }
663 },
664 "description": "UNKNOWN",
665 "parameters": [
666 {
667 "required": true,
668 "type": "integer",
669 "name": "id",
670 "in": "path"
671 }
672 ]
673 },
674 "delete": {
675 "responses": {
676 "204": {
677 "description": "entries to be returned"
678 }
679 },
680 "description": "Deletes a certificate",
681 "parameters": [
682 {
683 "required": true,
684 "type": "integer",
685 "name": "id",
686 "in": "path"
687 }
688 ]
689 }
690 },
691 "/network/host": {
692 "post": {
693 "responses": {
694 "201": {
695 "description": "entries to be returned"
696 }
697 },
698 "description": "Adds host entry to the database",
699 "parameters": [
700 {
701 "required": true,
702 "schema": {
703 "$ref": "#/definitions/network-host"
704 },
705 "name": "data",
706 "in": "body"
707 }
708 ]
709 },
710 "get": {
711 "responses": {
712 "200": {
713 "schema": {
714 "items": {
715 "$ref": "#/definitions/network-host"
716 },
717 "type": "array"
718 },
719 "description": "entries to be returned"
720 }
721 },
722 "description": "UNKNOWN",
723 "parameters": []
724 }
725 },
726 "/snapshot/id/{id}": {
727 "get": {
728 "responses": {
729 "200": {
730 "schema": {
731 "items": {
732 "$ref": "#/definitions/volume-snapshot"
733 },
734 "type": "array"
735 },
736 "description": "entries to be returned"
737 }
738 },
739 "description": "UNKNOWN",
740 "parameters": [
741 {
742 "required": true,
743 "type": "integer",
744 "name": "id",
745 "in": "path"
746 }
747 ]
748 },
749 "delete": {
750 "responses": {
751 "204": {
752 "description": "entries to be returned"
753 }
754 },
755 "description": "Deletes the specified snapshot",
756 "parameters": [
757 {
758 "required": true,
759 "type": "integer",
760 "name": "id",
761 "in": "path"
762 }
763 ]
764 }
765 },
766 "/group": {
767 "post": {
768 "responses": {
769 "201": {
770 "description": "entries to be returned"
771 }
772 },
773 "description": "Creates a group",
774 "parameters": [
775 {
776 "required": true,
777 "schema": {
778 "$ref": "#/definitions/group"
779 },
780 "name": "data",
781 "in": "body"
782 }
783 ]
784 },
785 "get": {
786 "responses": {
787 "200": {
788 "schema": {
789 "items": {
790 "$ref": "#/definitions/group"
791 },
792 "type": "array"
793 },
794 "description": "entries to be returned"
795 }
796 },
797 "description": "Lists groups present in the system",
798 "parameters": []
799 }
800 },
801 "/calendar_task": {
802 "post": {
803 "responses": {
804 "201": {
805 "description": "entries to be returned"
806 }
807 },
808 "description": "Creates a calendar task",
809 "parameters": [
810 {
811 "required": true,
812 "schema": {
813 "$ref": "#/definitions/calendar-task"
814 },
815 "name": "data",
816 "in": "body"
817 }
818 ]
819 },
820 "get": {
821 "responses": {
822 "200": {
823 "schema": {
824 "items": {
825 "$ref": "#/definitions/calendar-task"
826 },
827 "type": "array"
828 },
829 "description": "entries to be returned"
830 }
831 },
832 "description": "UNKNOWN",
833 "parameters": []
834 }
835 },
836 "/update": {
837 "put": {
838 "responses": {
839 "200": {
840 "description": "entries to be returned"
841 }
842 },
843 "description": "Set the System Updater Cofiguration Settings",
844 "parameters": [
845 {
846 "required": true,
847 "schema": {
848 "$ref": "#/definitions/update"
849 },
850 "name": "data",
851 "in": "body"
852 }
853 ]
854 },
855 "get": {
856 "responses": {
857 "200": {
858 "schema": {
859 "$ref": "#/definitions/update"
860 },
861 "description": "entries to be returned"
862 }
863 },
864 "description": "UNKNOWN",
865 "parameters": []
866 }
867 },
868 "/volume/get_capabilities": {
869 "post": {
870 "responses": {
871 "201": {
872 "schema": {
873 "additionalProperties": true,
874 "type": "object"
875 },
876 "description": "entries to be returned"
877 }
878 },
879 "description": "Describes the various capacibilities of a Volumes givenWhat type of Volume it is (example call it with 'zfs'",
880 "parameters": [
881 {
882 "required": true,
883 "schema": {
884 "additionalProperties": true,
885 "type": "object"
886 },
887 "name": "data",
888 "in": "body"
889 }
890 ]
891 }
892 },
893 "/update/update_info": {
894 "get": {
895 "responses": {
896 "200": {
897 "schema": {
898 "$ref": "#/definitions/update-info"
899 },
900 "description": "entries to be returned"
901 }
902 },
903 "description": "UNKNOWN",
904 "parameters": []
905 }
906 },
907 "/volume/resolve_path": {
908 "post": {
909 "responses": {
910 "201": {
911 "schema": {
912 "type": "string"
913 },
914 "description": "entries to be returned"
915 }
916 },
917 "description": "UNKNOWN",
918 "parameters": [
919 {
920 "required": true,
921 "schema": {
922 "type": "string"
923 },
924 "name": "data",
925 "in": "body"
926 }
927 ]
928 }
929 },
930 "/network/route": {
931 "post": {
932 "responses": {
933 "201": {
934 "description": "entries to be returned"
935 }
936 },
937 "description": "Adds static route to the system",
938 "parameters": [
939 {
940 "required": true,
941 "schema": {
942 "$ref": "#/definitions/network-route"
943 },
944 "name": "data",
945 "in": "body"
946 }
947 ]
948 },
949 "get": {
950 "responses": {
951 "200": {
952 "schema": {
953 "items": {
954 "$ref": "#/definitions/network-route"
955 },
956 "type": "array"
957 },
958 "description": "entries to be returned"
959 }
960 },
961 "description": "UNKNOWN",
962 "parameters": []
963 }
964 },
965 "/system/time": {
966 "put": {
967 "responses": {
968 "200": {
969 "description": "entries to be returned"
970 }
971 },
972 "description": "Configures system time",
973 "parameters": [
974 {
975 "required": true,
976 "schema": {
977 "$ref": "#/definitions/system-time"
978 },
979 "name": "data",
980 "in": "body"
981 }
982 ]
983 },
984 "get": {
985 "responses": {
986 "200": {
987 "schema": {
988 "$ref": "#/definitions/system-time"
989 },
990 "description": "entries to be returned"
991 }
992 },
993 "description": "UNKNOWN",
994 "parameters": []
995 }
996 },
997 "/volume": {
998 "post": {
999 "responses": {
1000 "201": {
1001 "description": "entries to be returned"
1002 }
1003 },
1004 "description": "Creating a volume",
1005 "parameters": [
1006 {
1007 "required": true,
1008 "schema": {
1009 "$ref": "#/definitions/volume"
1010 },
1011 "name": "data",
1012 "in": "body"
1013 }
1014 ]
1015 },
1016 "get": {
1017 "responses": {
1018 "200": {
1019 "schema": {
1020 "items": {
1021 "$ref": "#/definitions/volume"
1022 },
1023 "type": "array"
1024 },
1025 "description": "entries to be returned"
1026 }
1027 },
1028 "description": "UNKNOWN",
1029 "parameters": []
1030 }
1031 },
1032 "/network/route/id/{id}": {
1033 "put": {
1034 "responses": {
1035 "200": {
1036 "description": "entries to be returned"
1037 }
1038 },
1039 "description": "Updates static route in the system",
1040 "parameters": [
1041 {
1042 "required": true,
1043 "type": "integer",
1044 "name": "id",
1045 "in": "path"
1046 },
1047 {
1048 "required": true,
1049 "schema": {
1050 "$ref": "#/definitions/network-route"
1051 },
1052 "name": "data",
1053 "in": "body"
1054 }
1055 ]
1056 },
1057 "get": {
1058 "responses": {
1059 "200": {
1060 "schema": {
1061 "items": {
1062 "$ref": "#/definitions/network-route"
1063 },
1064 "type": "array"
1065 },
1066 "description": "entries to be returned"
1067 }
1068 },
1069 "description": "UNKNOWN",
1070 "parameters": [
1071 {
1072 "required": true,
1073 "type": "integer",
1074 "name": "id",
1075 "in": "path"
1076 }
1077 ]
1078 },
1079 "delete": {
1080 "responses": {
1081 "204": {
1082 "description": "entries to be returned"
1083 }
1084 },
1085 "description": "Deletes static route from the system",
1086 "parameters": [
1087 {
1088 "required": true,
1089 "type": "integer",
1090 "name": "id",
1091 "in": "path"
1092 }
1093 ]
1094 }
1095 },
1096 "/system/info/load_avg": {
1097 "get": {
1098 "responses": {
1099 "200": {
1100 "schema": {
1101 "type": "array",
1102 "maxItems": 3,
1103 "items": {
1104 "type": "number"
1105 },
1106 "minItems": 3
1107 },
1108 "description": "entries to be returned"
1109 }
1110 },
1111 "description": "UNKNOWN",
1112 "parameters": []
1113 }
1114 },
1115 "/update/get_current_train": {
1116 "get": {
1117 "responses": {
1118 "200": {
1119 "schema": {
1120 "type": "string"
1121 },
1122 "description": "entries to be returned"
1123 }
1124 },
1125 "description": "UNKNOWN",
1126 "parameters": []
1127 }
1128 },
1129 "/network/interface/id/{id}/renew": {
1130 "post": {
1131 "responses": {
1132 "201": {
1133 "description": "entries to be returned"
1134 }
1135 },
1136 "description": "Renews IP lease on interface",
1137 "parameters": [
1138 {
1139 "required": true,
1140 "type": "integer",
1141 "name": "id",
1142 "in": "path"
1143 },
1144 {
1145 "required": true,
1146 "schema": {
1147 "type": "string"
1148 },
1149 "name": "data",
1150 "in": "body"
1151 }
1152 ]
1153 }
1154 },
1155 "/disk/get_disk_config": {
1156 "post": {
1157 "responses": {
1158 "201": {
1159 "schema": {
1160 "$ref": "#/definitions/disk-status"
1161 },
1162 "description": "entries to be returned"
1163 }
1164 },
1165 "description": "UNKNOWN",
1166 "parameters": [
1167 {
1168 "required": true,
1169 "schema": {
1170 "$ref": "#/definitions/disk-status"
1171 },
1172 "name": "data",
1173 "in": "body"
1174 }
1175 ]
1176 }
1177 },
1178 "/update/trains": {
1179 "get": {
1180 "responses": {
1181 "200": {
1182 "schema": {
1183 "items": {
1184 "$ref": "#/definitions/update-train"
1185 },
1186 "type": "array"
1187 },
1188 "description": "entries to be returned"
1189 }
1190 },
1191 "description": "UNKNOWN",
1192 "parameters": []
1193 }
1194 },
1195 "/volume/get_volume_disks": {
1196 "post": {
1197 "responses": {
1198 "201": {
1199 "schema": {
1200 "type": "array",
1201 "items": {
1202 "type": "string"
1203 }
1204 },
1205 "description": "entries to be returned"
1206 }
1207 },
1208 "description": "Returns Disks associated with Volume specified in the call",
1209 "parameters": [
1210 {
1211 "required": true,
1212 "schema": {
1213 "type": "array",
1214 "items": {
1215 "type": "string"
1216 }
1217 },
1218 "name": "data",
1219 "in": "body"
1220 }
1221 ]
1222 }
1223 },
1224 "/system/advanced": {
1225 "put": {
1226 "responses": {
1227 "200": {
1228 "description": "entries to be returned"
1229 }
1230 },
1231 "description": "Configures advanced system settings",
1232 "parameters": [
1233 {
1234 "required": true,
1235 "schema": {
1236 "$ref": "#/definitions/system-advanced"
1237 },
1238 "name": "data",
1239 "in": "body"
1240 }
1241 ]
1242 },
1243 "get": {
1244 "responses": {
1245 "200": {
1246 "schema": {
1247 "$ref": "#/definitions/system-advanced"
1248 },
1249 "description": "entries to be returned"
1250 }
1251 },
1252 "description": "UNKNOWN",
1253 "parameters": []
1254 }
1255 },
1256 "/tunable": {
1257 "post": {
1258 "responses": {
1259 "201": {
1260 "description": "entries to be returned"
1261 }
1262 },
1263 "description": "Adds Tunable",
1264 "parameters": [
1265 {
1266 "required": true,
1267 "schema": {
1268 "$ref": "#/definitions/tunable"
1269 },
1270 "name": "data",
1271 "in": "body"
1272 }
1273 ]
1274 },
1275 "get": {
1276 "responses": {
1277 "200": {
1278 "schema": {
1279 "items": {
1280 "$ref": "#/definitions/tunable"
1281 },
1282 "type": "array"
1283 },
1284 "description": "entries to be returned"
1285 }
1286 },
1287 "description": "UNKNOWN",
1288 "parameters": []
1289 }
1290 },
1291 "/share_iscsi/portal/id/{id}": {
1292 "put": {
1293 "responses": {
1294 "200": {
1295 "description": "entries to be returned"
1296 }
1297 },
1298 "description": "Updates iSCSI portal",
1299 "parameters": [
1300 {
1301 "required": true,
1302 "type": "integer",
1303 "name": "id",
1304 "in": "path"
1305 },
1306 {
1307 "required": true,
1308 "schema": {
1309 "$ref": "#/definitions/share-iscsi-portal"
1310 },
1311 "name": "data",
1312 "in": "body"
1313 }
1314 ]
1315 },
1316 "get": {
1317 "responses": {
1318 "200": {
1319 "description": "entries to be returned"
1320 }
1321 },
1322 "description": "UNKNOWN",
1323 "parameters": [
1324 {
1325 "required": true,
1326 "type": "integer",
1327 "name": "id",
1328 "in": "path"
1329 }
1330 ]
1331 },
1332 "delete": {
1333 "responses": {
1334 "204": {
1335 "description": "entries to be returned"
1336 }
1337 },
1338 "description": "Deletes iSCSI portal",
1339 "parameters": [
1340 {
1341 "required": true,
1342 "type": "integer",
1343 "name": "id",
1344 "in": "path"
1345 }
1346 ]
1347 }
1348 },
1349 "/update/updatenow": {
1350 "post": {
1351 "responses": {
1352 "201": {
1353 "description": "entries to be returned"
1354 }
1355 },
1356 "description": "Checks for new updates, fetches if available, installs new/or downloaded updates",
1357 "parameters": [
1358 {
1359 "required": true,
1360 "schema": {
1361 "type": "boolean"
1362 },
1363 "name": "data",
1364 "in": "body"
1365 }
1366 ]
1367 }
1368 },
1369 "/system/info/uname_full": {
1370 "get": {
1371 "responses": {
1372 "200": {
1373 "schema": {
1374 "type": "array",
1375 "items": {
1376 "type": "string"
1377 }
1378 },
1379 "description": "entries to be returned"
1380 }
1381 },
1382 "description": "UNKNOWN",
1383 "parameters": []
1384 }
1385 },
1386 "/calendar_task/id/{id}/run": {
1387 "post": {
1388 "responses": {
1389 "201": {
1390 "description": "entries to be returned"
1391 }
1392 },
1393 "description": "Runs the calendar task specified by the given id",
1394 "parameters": [
1395 {
1396 "required": true,
1397 "type": "integer",
1398 "name": "id",
1399 "in": "path"
1400 },
1401 {
1402 "required": true,
1403 "schema": {
1404 "type": "string"
1405 },
1406 "name": "data",
1407 "in": "body"
1408 }
1409 ]
1410 }
1411 },
1412 "/volume/vdev_recommendations": {
1413 "get": {
1414 "responses": {
1415 "200": {
1416 "schema": {
1417 "$ref": "#/definitions/volume-vdev-recommendations"
1418 },
1419 "description": "entries to be returned"
1420 }
1421 },
1422 "description": "UNKNOWN",
1423 "parameters": []
1424 }
1425 },
1426 "/filesystem/list_dir": {
1427 "post": {
1428 "responses": {
1429 "201": {
1430 "schema": {
1431 "type": "array",
1432 "items": {
1433 "$ref": "#/definitions/directory"
1434 }
1435 },
1436 "description": "entries to be returned"
1437 }
1438 },
1439 "description": "Lists contents of given directory",
1440 "parameters": [
1441 {
1442 "required": true,
1443 "schema": {
1444 "type": "array",
1445 "items": {
1446 "$ref": "#/definitions/directory"
1447 }
1448 },
1449 "name": "data",
1450 "in": "body"
1451 }
1452 ]
1453 }
1454 },
1455 "/share/id/{id}": {
1456 "put": {
1457 "responses": {
1458 "200": {
1459 "description": "entries to be returned"
1460 }
1461 },
1462 "description": "Updates existing share",
1463 "parameters": [
1464 {
1465 "required": true,
1466 "type": "integer",
1467 "name": "id",
1468 "in": "path"
1469 },
1470 {
1471 "required": true,
1472 "schema": {
1473 "$ref": "#/definitions/share"
1474 },
1475 "name": "data",
1476 "in": "body"
1477 }
1478 ]
1479 },
1480 "get": {
1481 "responses": {
1482 "200": {
1483 "schema": {
1484 "items": {
1485 "$ref": "#/definitions/share"
1486 },
1487 "type": "array"
1488 },
1489 "description": "entries to be returned"
1490 }
1491 },
1492 "description": "UNKNOWN",
1493 "parameters": [
1494 {
1495 "required": true,
1496 "type": "integer",
1497 "name": "id",
1498 "in": "path"
1499 }
1500 ]
1501 },
1502 "delete": {
1503 "responses": {
1504 "204": {
1505 "description": "entries to be returned"
1506 }
1507 },
1508 "description": "Deletes share",
1509 "parameters": [
1510 {
1511 "required": true,
1512 "type": "integer",
1513 "name": "id",
1514 "in": "path"
1515 }
1516 ]
1517 }
1518 },
1519 "/disk/path_to_id": {
1520 "post": {
1521 "responses": {
1522 "201": {
1523 "description": "entries to be returned"
1524 }
1525 },
1526 "description": "UNKNOWN",
1527 "parameters": [
1528 {
1529 "required": true,
1530 "schema": {
1531 "type": "null"
1532 },
1533 "name": "data",
1534 "in": "body"
1535 }
1536 ]
1537 }
1538 },
1539 "/user/get_profile_picture": {
1540 "get": {
1541 "responses": {
1542 "200": {
1543 "description": "entries to be returned"
1544 }
1545 },
1546 "description": "UNKNOWN",
1547 "parameters": []
1548 }
1549 },
1550 "/volume/get_disks_allocation": {
1551 "post": {
1552 "responses": {
1553 "201": {
1554 "schema": {
1555 "$ref": "#/definitions/disks-allocation"
1556 },
1557 "description": "entries to be returned"
1558 }
1559 },
1560 "description": "Returns allocation of given disk",
1561 "parameters": [
1562 {
1563 "required": true,
1564 "schema": {
1565 "$ref": "#/definitions/disks-allocation"
1566 },
1567 "name": "data",
1568 "in": "body"
1569 }
1570 ]
1571 }
1572 },
1573 "/share": {
1574 "post": {
1575 "responses": {
1576 "201": {
1577 "description": "entries to be returned"
1578 }
1579 },
1580 "description": "Creates new share",
1581 "parameters": [
1582 {
1583 "required": true,
1584 "schema": {
1585 "$ref": "#/definitions/share"
1586 },
1587 "name": "data",
1588 "in": "body"
1589 }
1590 ]
1591 },
1592 "get": {
1593 "responses": {
1594 "200": {
1595 "schema": {
1596 "items": {
1597 "$ref": "#/definitions/share"
1598 },
1599 "type": "array"
1600 },
1601 "description": "entries to be returned"
1602 }
1603 },
1604 "description": "UNKNOWN",
1605 "parameters": []
1606 }
1607 },
1608 "/update/is_update_available": {
1609 "get": {
1610 "responses": {
1611 "200": {
1612 "schema": {
1613 "type": "string"
1614 },
1615 "description": "entries to be returned"
1616 }
1617 },
1618 "description": "UNKNOWN",
1619 "parameters": []
1620 }
1621 },
1622 "/disk/is_online": {
1623 "post": {
1624 "responses": {
1625 "201": {
1626 "schema": {
1627 "type": "boolean"
1628 },
1629 "description": "entries to be returned"
1630 }
1631 },
1632 "description": "UNKNOWN",
1633 "parameters": [
1634 {
1635 "required": true,
1636 "schema": {
1637 "type": "boolean"
1638 },
1639 "name": "data",
1640 "in": "body"
1641 }
1642 ]
1643 }
1644 },
1645 "/volume/get_dataset_tree": {
1646 "post": {
1647 "responses": {
1648 "201": {
1649 "schema": {
1650 "$ref": "#/definitions/zfs-dataset"
1651 },
1652 "description": "entries to be returned"
1653 }
1654 },
1655 "description": "Returns dataset tree for given pool",
1656 "parameters": [
1657 {
1658 "required": true,
1659 "schema": {
1660 "$ref": "#/definitions/zfs-dataset"
1661 },
1662 "name": "data",
1663 "in": "body"
1664 }
1665 ]
1666 }
1667 },
1668 "/share/get_dependencies": {
1669 "post": {
1670 "responses": {
1671 "201": {
1672 "schema": {
1673 "type": "array",
1674 "items": {
1675 "$ref": "#/definitions/share"
1676 }
1677 },
1678 "description": "entries to be returned"
1679 }
1680 },
1681 "description": "Get shares dependent on provided filesystem path",
1682 "parameters": [
1683 {
1684 "required": true,
1685 "schema": {
1686 "type": "array",
1687 "items": {
1688 "$ref": "#/definitions/share"
1689 }
1690 },
1691 "name": "data",
1692 "in": "body"
1693 }
1694 ]
1695 }
1696 },
1697 "/swap/info": {
1698 "get": {
1699 "responses": {
1700 "200": {
1701 "schema": {
1702 "type": "array",
1703 "items": {
1704 "$ref": "#/definitions/swap-mirror"
1705 }
1706 },
1707 "description": "entries to be returned"
1708 }
1709 },
1710 "description": "Returns information about swap mirrors present in the system",
1711 "parameters": []
1712 }
1713 },
1714 "/update/get_update_ops": {
1715 "get": {
1716 "responses": {
1717 "200": {
1718 "schema": {
1719 "type": "array",
1720 "items": {
1721 "$ref": "#/definitions/update-ops"
1722 }
1723 },
1724 "description": "entries to be returned"
1725 }
1726 },
1727 "description": "UNKNOWN",
1728 "parameters": []
1729 }
1730 },
1731 "/boot/environment": {
1732 "post": {
1733 "responses": {
1734 "201": {
1735 "description": "entries to be returned"
1736 }
1737 },
1738 "description": "Creates a clone of the current Boot Environment or of the specified source (optional)",
1739 "parameters": [
1740 {
1741 "required": true,
1742 "schema": {
1743 "type": "string"
1744 },
1745 "name": "data",
1746 "in": "body"
1747 }
1748 ]
1749 },
1750 "get": {
1751 "responses": {
1752 "200": {
1753 "schema": {
1754 "items": {
1755 "$ref": "#/definitions/boot-environment"
1756 },
1757 "type": "array"
1758 },
1759 "description": "entries to be returned"
1760 }
1761 },
1762 "description": "UNKNOWN",
1763 "parameters": []
1764 }
1765 },
1766 "/share_iscsi/portal": {
1767 "post": {
1768 "responses": {
1769 "201": {
1770 "description": "entries to be returned"
1771 }
1772 },
1773 "description": "Creates iSCSI portal",
1774 "parameters": [
1775 {
1776 "required": true,
1777 "schema": {
1778 "$ref": "#/definitions/share-iscsi-portal"
1779 },
1780 "name": "data",
1781 "in": "body"
1782 }
1783 ]
1784 },
1785 "get": {
1786 "responses": {
1787 "200": {
1788 "description": "entries to be returned"
1789 }
1790 },
1791 "description": "UNKNOWN",
1792 "parameters": []
1793 }
1794 },
1795 "/network/host/id/{id}": {
1796 "put": {
1797 "responses": {
1798 "200": {
1799 "description": "entries to be returned"
1800 }
1801 },
1802 "description": "Updates host entry in the database",
1803 "parameters": [
1804 {
1805 "required": true,
1806 "type": "integer",
1807 "name": "id",
1808 "in": "path"
1809 },
1810 {
1811 "required": true,
1812 "schema": {
1813 "$ref": "#/definitions/network-host"
1814 },
1815 "name": "data",
1816 "in": "body"
1817 }
1818 ]
1819 },
1820 "get": {
1821 "responses": {
1822 "200": {
1823 "schema": {
1824 "items": {
1825 "$ref": "#/definitions/network-host"
1826 },
1827 "type": "array"
1828 },
1829 "description": "entries to be returned"
1830 }
1831 },
1832 "description": "UNKNOWN",
1833 "parameters": [
1834 {
1835 "required": true,
1836 "type": "integer",
1837 "name": "id",
1838 "in": "path"
1839 }
1840 ]
1841 },
1842 "delete": {
1843 "responses": {
1844 "204": {
1845 "description": "entries to be returned"
1846 }
1847 },
1848 "description": "Deletes host entry from the database",
1849 "parameters": [
1850 {
1851 "required": true,
1852 "type": "integer",
1853 "name": "id",
1854 "in": "path"
1855 }
1856 ]
1857 }
1858 },
1859 "/update/check": {
1860 "post": {
1861 "responses": {
1862 "201": {
1863 "description": "entries to be returned"
1864 }
1865 },
1866 "description": "Checks for Available Updates and returns if update is available and if yes returns information on operations that will be performed during the update",
1867 "parameters": [
1868 {
1869 "required": true,
1870 "schema": {
1871 "additionalProperties": true,
1872 "type": "object",
1873 "properties": {
1874 "check_now": {
1875 "type": "boolean"
1876 }
1877 }
1878 },
1879 "name": "data",
1880 "in": "body"
1881 }
1882 ]
1883 }
1884 },
1885 "/system/info/hardware": {
1886 "get": {
1887 "responses": {
1888 "200": {
1889 "schema": {
1890 "additionalProperties": true,
1891 "type": "object",
1892 "properties": {
1893 "cpu_clockrate": {
1894 "type": "integer"
1895 },
1896 "cpu_cores": {
1897 "type": "integer"
1898 },
1899 "memory_size": {
1900 "type": "integer"
1901 },
1902 "cpu_model": {
1903 "type": "string"
1904 }
1905 }
1906 },
1907 "description": "entries to be returned"
1908 }
1909 },
1910 "description": "UNKNOWN",
1911 "parameters": []
1912 }
1913 },
1914 "/user/id/{id}": {
1915 "put": {
1916 "responses": {
1917 "200": {
1918 "description": "entries to be returned"
1919 }
1920 },
1921 "description": "Updates an user",
1922 "parameters": [
1923 {
1924 "required": true,
1925 "type": "integer",
1926 "name": "id",
1927 "in": "path"
1928 },
1929 {
1930 "required": true,
1931 "schema": {
1932 "$ref": "#/definitions/user"
1933 },
1934 "name": "data",
1935 "in": "body"
1936 }
1937 ]
1938 },
1939 "get": {
1940 "responses": {
1941 "200": {
1942 "schema": {
1943 "items": {
1944 "$ref": "#/definitions/user"
1945 },
1946 "type": "array"
1947 },
1948 "description": "entries to be returned"
1949 }
1950 },
1951 "description": "Lists users present in the system",
1952 "parameters": [
1953 {
1954 "required": true,
1955 "type": "integer",
1956 "name": "id",
1957 "in": "path"
1958 }
1959 ]
1960 },
1961 "delete": {
1962 "responses": {
1963 "204": {
1964 "description": "entries to be returned"
1965 }
1966 },
1967 "description": "Deletes an user from the system",
1968 "parameters": [
1969 {
1970 "required": true,
1971 "type": "integer",
1972 "name": "id",
1973 "in": "path"
1974 }
1975 ]
1976 }
1977 },
1978 "/filesystem/get_open_files": {
1979 "post": {
1980 "responses": {
1981 "201": {
1982 "schema": {
1983 "type": "array",
1984 "items": {
1985 "$ref": "#/definitions/open-file"
1986 }
1987 },
1988 "description": "entries to be returned"
1989 }
1990 },
1991 "description": "UNKNOWN",
1992 "parameters": [
1993 {
1994 "required": true,
1995 "schema": {
1996 "type": "array",
1997 "items": {
1998 "$ref": "#/definitions/open-file"
1999 }
2000 },
2001 "name": "data",
2002 "in": "body"
2003 }
2004 ]
2005 }
2006 },
2007 "/mail/send": {
2008 "post": {
2009 "responses": {
2010 "201": {
2011 "description": "entries to be returned"
2012 }
2013 },
2014 "description": "UNKNOWN",
2015 "parameters": [
2016 {
2017 "required": true,
2018 "schema": {
2019 "type": "null"
2020 },
2021 "name": "data",
2022 "in": "body"
2023 }
2024 ]
2025 }
2026 },
2027 "/system_dataset/import": {
2028 "post": {
2029 "responses": {
2030 "201": {
2031 "description": "entries to be returned"
2032 }
2033 },
2034 "description": "Imports .system dataset from a volume",
2035 "parameters": [
2036 {
2037 "required": true,
2038 "schema": {
2039 "type": "string"
2040 },
2041 "name": "data",
2042 "in": "body"
2043 }
2044 ]
2045 }
2046 },
2047 "/share_iscsi/auth/id/{id}": {
2048 "put": {
2049 "responses": {
2050 "200": {
2051 "description": "entries to be returned"
2052 }
2053 },
2054 "description": "Updates iSCSI auth group",
2055 "parameters": [
2056 {
2057 "required": true,
2058 "type": "integer",
2059 "name": "id",
2060 "in": "path"
2061 },
2062 {
2063 "required": true,
2064 "schema": {
2065 "$ref": "#/definitions/share-iscsi-auth"
2066 },
2067 "name": "data",
2068 "in": "body"
2069 }
2070 ]
2071 },
2072 "get": {
2073 "responses": {
2074 "200": {
2075 "description": "entries to be returned"
2076 }
2077 },
2078 "description": "UNKNOWN",
2079 "parameters": [
2080 {
2081 "required": true,
2082 "type": "integer",
2083 "name": "id",
2084 "in": "path"
2085 }
2086 ]
2087 },
2088 "delete": {
2089 "responses": {
2090 "204": {
2091 "description": "entries to be returned"
2092 }
2093 },
2094 "description": "Deletes iSCSI auth group",
2095 "parameters": [
2096 {
2097 "required": true,
2098 "type": "integer",
2099 "name": "id",
2100 "in": "path"
2101 }
2102 ]
2103 }
2104 },
2105 "/user/next_uid": {
2106 "post": {
2107 "responses": {
2108 "201": {
2109 "schema": {
2110 "type": "integer"
2111 },
2112 "description": "entries to be returned"
2113 }
2114 },
2115 "description": "Retrieve the next UID available",
2116 "parameters": [
2117 {
2118 "required": true,
2119 "schema": {
2120 "type": "integer"
2121 },
2122 "name": "data",
2123 "in": "body"
2124 }
2125 ]
2126 }
2127 },
2128 "/file/set_permissions": {
2129 "post": {
2130 "responses": {
2131 "201": {
2132 "description": "entries to be returned"
2133 }
2134 },
2135 "description": "Sets permissions",
2136 "parameters": [
2137 {
2138 "required": true,
2139 "schema": {
2140 "type": "string"
2141 },
2142 "name": "data",
2143 "in": "body"
2144 }
2145 ]
2146 }
2147 },
2148 "/service": {
2149 "put": {
2150 "responses": {
2151 "200": {
2152 "description": "entries to be returned"
2153 }
2154 },
2155 "description": "Updates configuration for services",
2156 "parameters": [
2157 {
2158 "required": true,
2159 "schema": {
2160 "$ref": "#/definitions/service"
2161 },
2162 "name": "data",
2163 "in": "body"
2164 }
2165 ]
2166 },
2167 "get": {
2168 "responses": {
2169 "200": {
2170 "schema": {
2171 "items": {
2172 "$ref": "#/definitions/service"
2173 },
2174 "type": "array"
2175 },
2176 "description": "entries to be returned"
2177 }
2178 },
2179 "description": "Lists available services",
2180 "parameters": []
2181 }
2182 },
2183 "/calendar_task/command": {
2184 "post": {
2185 "responses": {
2186 "201": {
2187 "description": "entries to be returned"
2188 }
2189 },
2190 "description": "Runs a shell command as a specified user",
2191 "parameters": [
2192 {
2193 "required": true,
2194 "schema": {
2195 "type": "string"
2196 },
2197 "name": "data",
2198 "in": "body"
2199 }
2200 ]
2201 }
2202 },
2203 "/disk/get_disk_config_by_id": {
2204 "post": {
2205 "responses": {
2206 "201": {
2207 "schema": {
2208 "$ref": "#/definitions/disk-status"
2209 },
2210 "description": "entries to be returned"
2211 }
2212 },
2213 "description": "UNKNOWN",
2214 "parameters": [
2215 {
2216 "required": true,
2217 "schema": {
2218 "$ref": "#/definitions/disk-status"
2219 },
2220 "name": "data",
2221 "in": "body"
2222 }
2223 ]
2224 }
2225 },
2226 "/group/id/{id}": {
2227 "put": {
2228 "responses": {
2229 "200": {
2230 "description": "entries to be returned"
2231 }
2232 },
2233 "description": "Updates a group",
2234 "parameters": [
2235 {
2236 "required": true,
2237 "type": "integer",
2238 "name": "id",
2239 "in": "path"
2240 },
2241 {
2242 "required": true,
2243 "schema": {
2244 "$ref": "#/definitions/group"
2245 },
2246 "name": "data",
2247 "in": "body"
2248 }
2249 ]
2250 },
2251 "get": {
2252 "responses": {
2253 "200": {
2254 "schema": {
2255 "items": {
2256 "$ref": "#/definitions/group"
2257 },
2258 "type": "array"
2259 },
2260 "description": "entries to be returned"
2261 }
2262 },
2263 "description": "Lists groups present in the system",
2264 "parameters": [
2265 {
2266 "required": true,
2267 "type": "integer",
2268 "name": "id",
2269 "in": "path"
2270 }
2271 ]
2272 },
2273 "delete": {
2274 "responses": {
2275 "204": {
2276 "description": "entries to be returned"
2277 }
2278 },
2279 "description": "Deletes a group",
2280 "parameters": [
2281 {
2282 "required": true,
2283 "type": "integer",
2284 "name": "id",
2285 "in": "path"
2286 }
2287 ]
2288 }
2289 },
2290 "/system/general/timezones": {
2291 "get": {
2292 "responses": {
2293 "200": {
2294 "schema": {
2295 "type": "array",
2296 "items": {
2297 "type": "string"
2298 }
2299 },
2300 "description": "entries to be returned"
2301 }
2302 },
2303 "description": "UNKNOWN",
2304 "parameters": []
2305 }
2306 },
2307 "/disk/id/{id}": {
2308 "put": {
2309 "responses": {
2310 "200": {
2311 "description": "entries to be returned"
2312 }
2313 },
2314 "description": "Configures online disk parameters",
2315 "parameters": [
2316 {
2317 "required": true,
2318 "type": "integer",
2319 "name": "id",
2320 "in": "path"
2321 },
2322 {
2323 "required": true,
2324 "schema": {
2325 "$ref": "#/definitions/disk"
2326 },
2327 "name": "data",
2328 "in": "body"
2329 }
2330 ]
2331 },
2332 "get": {
2333 "responses": {
2334 "200": {
2335 "schema": {
2336 "items": {
2337 "$ref": "#/definitions/disk"
2338 },
2339 "type": "array"
2340 },
2341 "description": "entries to be returned"
2342 }
2343 },
2344 "description": "UNKNOWN",
2345 "parameters": [
2346 {
2347 "required": true,
2348 "type": "integer",
2349 "name": "id",
2350 "in": "path"
2351 }
2352 ]
2353 },
2354 "delete": {
2355 "responses": {
2356 "204": {
2357 "description": "entries to be returned"
2358 }
2359 },
2360 "description": "Deletes offline disk configuration from database",
2361 "parameters": [
2362 {
2363 "required": true,
2364 "type": "integer",
2365 "name": "id",
2366 "in": "path"
2367 }
2368 ]
2369 }
2370 },
2371 "/update/download": {
2372 "post": {
2373 "responses": {
2374 "201": {
2375 "description": "entries to be returned"
2376 }
2377 },
2378 "description": "Downloads Updates for the current system update train",
2379 "parameters": [
2380 {
2381 "required": true,
2382 "schema": {
2383 "type": "null"
2384 },
2385 "name": "data",
2386 "in": "body"
2387 }
2388 ]
2389 }
2390 },
2391 "/filesystem/stat": {
2392 "post": {
2393 "responses": {
2394 "201": {
2395 "schema": {
2396 "$ref": "#/definitions/stat"
2397 },
2398 "description": "entries to be returned"
2399 }
2400 },
2401 "description": "UNKNOWN",
2402 "parameters": [
2403 {
2404 "required": true,
2405 "schema": {
2406 "$ref": "#/definitions/stat"
2407 },
2408 "name": "data",
2409 "in": "body"
2410 }
2411 ]
2412 }
2413 },
2414 "/volume/find": {
2415 "get": {
2416 "responses": {
2417 "200": {
2418 "schema": {
2419 "type": "array",
2420 "items": {
2421 "additionalProperties": true,
2422 "type": "object",
2423 "properties": {
2424 "topology": {
2425 "$ref": "#/definitions/zfs-topology"
2426 },
2427 "name": {
2428 "type": "string"
2429 },
2430 "status": {
2431 "type": "string"
2432 },
2433 "id": {
2434 "type": "string"
2435 }
2436 }
2437 }
2438 },
2439 "description": "entries to be returned"
2440 }
2441 },
2442 "description": "Finds volumes available for import",
2443 "parameters": []
2444 }
2445 },
2446 "/calendar_task/id/{id}": {
2447 "put": {
2448 "responses": {
2449 "200": {
2450 "description": "entries to be returned"
2451 }
2452 },
2453 "description": "Updates a calendar task",
2454 "parameters": [
2455 {
2456 "required": true,
2457 "type": "integer",
2458 "name": "id",
2459 "in": "path"
2460 },
2461 {
2462 "required": true,
2463 "schema": {
2464 "$ref": "#/definitions/calendar-task"
2465 },
2466 "name": "data",
2467 "in": "body"
2468 }
2469 ]
2470 },
2471 "get": {
2472 "responses": {
2473 "200": {
2474 "schema": {
2475 "items": {
2476 "$ref": "#/definitions/calendar-task"
2477 },
2478 "type": "array"
2479 },
2480 "description": "entries to be returned"
2481 }
2482 },
2483 "description": "UNKNOWN",
2484 "parameters": [
2485 {
2486 "required": true,
2487 "type": "integer",
2488 "name": "id",
2489 "in": "path"
2490 }
2491 ]
2492 },
2493 "delete": {
2494 "responses": {
2495 "204": {
2496 "description": "entries to be returned"
2497 }
2498 },
2499 "description": "Deletes a calendar task",
2500 "parameters": [
2501 {
2502 "required": true,
2503 "type": "integer",
2504 "name": "id",
2505 "in": "path"
2506 }
2507 ]
2508 }
2509 },
2510 "/network/interface/id/{id}/down": {
2511 "post": {
2512 "responses": {
2513 "201": {
2514 "description": "entries to be returned"
2515 }
2516 },
2517 "description": "Disables interface",
2518 "parameters": [
2519 {
2520 "required": true,
2521 "type": "integer",
2522 "name": "id",
2523 "in": "path"
2524 },
2525 {
2526 "required": true,
2527 "schema": {
2528 "type": "string"
2529 },
2530 "name": "data",
2531 "in": "body"
2532 }
2533 ]
2534 }
2535 },
2536 "/update/verify": {
2537 "post": {
2538 "responses": {
2539 "201": {
2540 "description": "entries to be returned"
2541 }
2542 },
2543 "description": "Verify installation integrity",
2544 "parameters": [
2545 {
2546 "required": true,
2547 "schema": {
2548 "type": "null"
2549 },
2550 "name": "data",
2551 "in": "body"
2552 }
2553 ]
2554 }
2555 },
2556 "/system_dataset": {
2557 "put": {
2558 "responses": {
2559 "200": {
2560 "description": "entries to be returned"
2561 }
2562 },
2563 "description": "Updates .system dataset configuration",
2564 "parameters": [
2565 {
2566 "required": true,
2567 "schema": {
2568 "type": "string"
2569 },
2570 "name": "data",
2571 "in": "body"
2572 }
2573 ]
2574 },
2575 "get": {
2576 "responses": {
2577 "200": {
2578 "schema": {
2579 "additionalProperties": true,
2580 "type": "object"
2581 },
2582 "description": "entries to be returned"
2583 }
2584 },
2585 "description": "Returns current .system dataset parameters",
2586 "parameters": []
2587 }
2588 },
2589 "/volume/get_dataset_path": {
2590 "post": {
2591 "responses": {
2592 "201": {
2593 "schema": {
2594 "type": "string"
2595 },
2596 "description": "entries to be returned"
2597 }
2598 },
2599 "description": "UNKNOWN",
2600 "parameters": [
2601 {
2602 "required": true,
2603 "schema": {
2604 "type": "string"
2605 },
2606 "name": "data",
2607 "in": "body"
2608 }
2609 ]
2610 }
2611 },
2612 "/share_iscsi/target/id/{id}": {
2613 "put": {
2614 "responses": {
2615 "200": {
2616 "description": "entries to be returned"
2617 }
2618 },
2619 "description": "Updates iSCSI share target",
2620 "parameters": [
2621 {
2622 "required": true,
2623 "type": "integer",
2624 "name": "id",
2625 "in": "path"
2626 },
2627 {
2628 "required": true,
2629 "schema": {
2630 "$ref": "#/definitions/share-iscsi-target"
2631 },
2632 "name": "data",
2633 "in": "body"
2634 }
2635 ]
2636 },
2637 "get": {
2638 "responses": {
2639 "200": {
2640 "description": "entries to be returned"
2641 }
2642 },
2643 "description": "UNKNOWN",
2644 "parameters": [
2645 {
2646 "required": true,
2647 "type": "integer",
2648 "name": "id",
2649 "in": "path"
2650 }
2651 ]
2652 },
2653 "delete": {
2654 "responses": {
2655 "204": {
2656 "description": "entries to be returned"
2657 }
2658 },
2659 "description": "Deletes iSCSI share target",
2660 "parameters": [
2661 {
2662 "required": true,
2663 "type": "integer",
2664 "name": "id",
2665 "in": "path"
2666 }
2667 ]
2668 }
2669 },
2670 "/group/next_gid": {
2671 "get": {
2672 "responses": {
2673 "200": {
2674 "schema": {
2675 "type": "integer"
2676 },
2677 "description": "entries to be returned"
2678 }
2679 },
2680 "description": "Retrieve the next GID available",
2681 "parameters": []
2682 }
2683 },
2684 "/network/interface/id/{id}": {
2685 "put": {
2686 "responses": {
2687 "200": {
2688 "description": "entries to be returned"
2689 }
2690 },
2691 "description": "Alters network interface configuration",
2692 "parameters": [
2693 {
2694 "required": true,
2695 "type": "integer",
2696 "name": "id",
2697 "in": "path"
2698 },
2699 {
2700 "required": true,
2701 "schema": {
2702 "$ref": "#/definitions/network-interface"
2703 },
2704 "name": "data",
2705 "in": "body"
2706 }
2707 ]
2708 },
2709 "get": {
2710 "responses": {
2711 "200": {
2712 "schema": {
2713 "items": {
2714 "$ref": "#/definitions/network-interface"
2715 },
2716 "type": "array"
2717 },
2718 "description": "entries to be returned"
2719 }
2720 },
2721 "description": "UNKNOWN",
2722 "parameters": [
2723 {
2724 "required": true,
2725 "type": "integer",
2726 "name": "id",
2727 "in": "path"
2728 }
2729 ]
2730 },
2731 "delete": {
2732 "responses": {
2733 "204": {
2734 "description": "entries to be returned"
2735 }
2736 },
2737 "description": "Deletes interface",
2738 "parameters": [
2739 {
2740 "required": true,
2741 "type": "integer",
2742 "name": "id",
2743 "in": "path"
2744 }
2745 ]
2746 }
2747 },
2748 "/volume/id/{id}/upgrade": {
2749 "post": {
2750 "responses": {
2751 "201": {
2752 "description": "entries to be returned"
2753 }
2754 },
2755 "description": "Upgrades volume to newest ZFS version",
2756 "parameters": [
2757 {
2758 "required": true,
2759 "type": "integer",
2760 "name": "id",
2761 "in": "path"
2762 },
2763 {
2764 "required": true,
2765 "schema": {
2766 "type": "string"
2767 },
2768 "name": "data",
2769 "in": "body"
2770 }
2771 ]
2772 }
2773 },
2774 "/tunable/id/{id}": {
2775 "put": {
2776 "responses": {
2777 "200": {
2778 "description": "entries to be returned"
2779 }
2780 },
2781 "description": "Updates Tunable",
2782 "parameters": [
2783 {
2784 "required": true,
2785 "type": "integer",
2786 "name": "id",
2787 "in": "path"
2788 },
2789 {
2790 "required": true,
2791 "schema": {
2792 "$ref": "#/definitions/tunable"
2793 },
2794 "name": "data",
2795 "in": "body"
2796 }
2797 ]
2798 },
2799 "get": {
2800 "responses": {
2801 "200": {
2802 "schema": {
2803 "items": {
2804 "$ref": "#/definitions/tunable"
2805 },
2806 "type": "array"
2807 },
2808 "description": "entries to be returned"
2809 }
2810 },
2811 "description": "UNKNOWN",
2812 "parameters": [
2813 {
2814 "required": true,
2815 "type": "integer",
2816 "name": "id",
2817 "in": "path"
2818 }
2819 ]
2820 },
2821 "delete": {
2822 "responses": {
2823 "204": {
2824 "description": "entries to be returned"
2825 }
2826 },
2827 "description": "Deletes Tunable",
2828 "parameters": [
2829 {
2830 "required": true,
2831 "type": "integer",
2832 "name": "id",
2833 "in": "path"
2834 }
2835 ]
2836 }
2837 },
2838 "/network/interface/id/{id}/up": {
2839 "post": {
2840 "responses": {
2841 "201": {
2842 "description": "entries to be returned"
2843 }
2844 },
2845 "description": "Enables interface",
2846 "parameters": [
2847 {
2848 "required": true,
2849 "type": "integer",
2850 "name": "id",
2851 "in": "path"
2852 },
2853 {
2854 "required": true,
2855 "schema": {
2856 "type": "string"
2857 },
2858 "name": "data",
2859 "in": "body"
2860 }
2861 ]
2862 }
2863 },
2864 "/share_iscsi/auth": {
2865 "post": {
2866 "responses": {
2867 "201": {
2868 "description": "entries to be returned"
2869 }
2870 },
2871 "description": "Creates iSCSI auth group",
2872 "parameters": [
2873 {
2874 "required": true,
2875 "schema": {
2876 "$ref": "#/definitions/share-iscsi-auth"
2877 },
2878 "name": "data",
2879 "in": "body"
2880 }
2881 ]
2882 },
2883 "get": {
2884 "responses": {
2885 "200": {
2886 "description": "entries to be returned"
2887 }
2888 },
2889 "description": "UNKNOWN",
2890 "parameters": []
2891 }
2892 },
2893 "/share/supported_types": {
2894 "get": {
2895 "responses": {
2896 "200": {
2897 "schema": {
2898 "$ref": "#/definitions/share-types"
2899 },
2900 "description": "entries to be returned"
2901 }
2902 },
2903 "description": "Returns list of supported sharing providers",
2904 "parameters": []
2905 }
2906 },
2907 "/dataset/id/{id}": {
2908 "put": {
2909 "responses": {
2910 "200": {
2911 "description": "entries to be returned"
2912 }
2913 },
2914 "description": "Configures/Updates an existing Dataset's properties",
2915 "parameters": [
2916 {
2917 "required": true,
2918 "type": "integer",
2919 "name": "id",
2920 "in": "path"
2921 },
2922 {
2923 "required": true,
2924 "schema": {
2925 "$ref": "#/definitions/volume-dataset"
2926 },
2927 "name": "data",
2928 "in": "body"
2929 }
2930 ]
2931 },
2932 "get": {
2933 "responses": {
2934 "200": {
2935 "schema": {
2936 "items": {
2937 "$ref": "#/definitions/volume-dataset"
2938 },
2939 "type": "array"
2940 },
2941 "description": "entries to be returned"
2942 }
2943 },
2944 "description": "UNKNOWN",
2945 "parameters": [
2946 {
2947 "required": true,
2948 "type": "integer",
2949 "name": "id",
2950 "in": "path"
2951 }
2952 ]
2953 },
2954 "delete": {
2955 "responses": {
2956 "204": {
2957 "description": "entries to be returned"
2958 }
2959 },
2960 "description": "Deletes an existing Dataset from a Volume",
2961 "parameters": [
2962 {
2963 "required": true,
2964 "type": "integer",
2965 "name": "id",
2966 "in": "path"
2967 }
2968 ]
2969 }
2970 },
2971 "/system/ui": {
2972 "put": {
2973 "responses": {
2974 "200": {
2975 "description": "entries to be returned"
2976 }
2977 },
2978 "description": "Configures the System UI settings",
2979 "parameters": [
2980 {
2981 "required": true,
2982 "schema": {
2983 "$ref": "#/definitions/system-ui"
2984 },
2985 "name": "data",
2986 "in": "body"
2987 }
2988 ]
2989 },
2990 "get": {
2991 "responses": {
2992 "200": {
2993 "schema": {
2994 "$ref": "#/definitions/system-ui"
2995 },
2996 "description": "entries to be returned"
2997 }
2998 },
2999 "description": "UNKNOWN",
3000 "parameters": []
3001 }
3002 },
3003 "/update/checkfetch": {
3004 "post": {
3005 "responses": {
3006 "201": {
3007 "description": "entries to be returned"
3008 }
3009 },
3010 "description": "Checks for updates from the update server and downloads them if available",
3011 "parameters": [
3012 {
3013 "required": true,
3014 "schema": {
3015 "type": "null"
3016 },
3017 "name": "data",
3018 "in": "body"
3019 }
3020 ]
3021 }
3022 },
3023 "/volume/vdev_by_guid": {
3024 "post": {
3025 "responses": {
3026 "201": {
3027 "schema": {
3028 "$ref": "#/definitions/zfs-vdev"
3029 },
3030 "description": "entries to be returned"
3031 }
3032 },
3033 "description": "UNKNOWN",
3034 "parameters": [
3035 {
3036 "required": true,
3037 "schema": {
3038 "$ref": "#/definitions/zfs-vdev"
3039 },
3040 "name": "data",
3041 "in": "body"
3042 }
3043 ]
3044 }
3045 },
3046 "/update/obtain_changelog": {
3047 "get": {
3048 "responses": {
3049 "200": {
3050 "schema": {
3051 "type": "array",
3052 "items": {
3053 "type": "string"
3054 }
3055 },
3056 "description": "entries to be returned"
3057 }
3058 },
3059 "description": "UNKNOWN",
3060 "parameters": []
3061 }
3062 },
3063 "/system/general": {
3064 "put": {
3065 "responses": {
3066 "200": {
3067 "description": "entries to be returned"
3068 }
3069 },
3070 "description": "Configures general system settings",
3071 "parameters": [
3072 {
3073 "required": true,
3074 "schema": {
3075 "$ref": "#/definitions/system-general"
3076 },
3077 "name": "data",
3078 "in": "body"
3079 }
3080 ]
3081 },
3082 "get": {
3083 "responses": {
3084 "200": {
3085 "schema": {
3086 "$ref": "#/definitions/system-general"
3087 },
3088 "description": "entries to be returned"
3089 }
3090 },
3091 "description": "UNKNOWN",
3092 "parameters": []
3093 }
3094 }
3095 },
3096 "consumes": [
3097 "application/json"
3098 ],
3099 "basePath": "/api/v2.0",
3100 "info": {
3101 "version": "1.0",
3102 "title": "FreeNAS RESTful API"
3103 },
3104 "schemes": [
3105 "http",
3106 "https"
3107 ],
3108 "produces": [
3109 "application/json"
3110 ],
3111 "definitions": {
3112 "snapshot-info": {
3113 "additionalProperties": false,
3114 "type": "object",
3115 "properties": {
3116 "type": {
3117 "$ref": "#/definitions/snapshot-info-type"
3118 },
3119 "name": {
3120 "type": "string"
3121 },
3122 "uuid": {
3123 "type": [
3124 "string",
3125 "null"
3126 ]
3127 },
3128 "created_at": {
3129 "type": "string"
3130 }
3131 }
3132 },
3133 "volume-property-free": {
3134 "additionalProperties": false,
3135 "type": "object",
3136 "properties": {
3137 "rawvalue": {
3138 "type": "string",
3139 "readOnly": true
3140 },
3141 "source": {
3142 "$ref": "#/definitions/volume-property-source"
3143 },
3144 "value": {
3145 "type": [
3146 "string",
3147 "null"
3148 ]
3149 },
3150 "parsed": {
3151 "$ref": "#/definitions/volume-property-free-value"
3152 }
3153 }
3154 },
3155 "volume-snapshot-property-referenced-value": {
3156 "type": "integer",
3157 "readOnly": true
3158 },
3159 "volume-dataset-property-usedbysnapshots": {
3160 "additionalProperties": false,
3161 "type": "object",
3162 "properties": {
3163 "rawvalue": {
3164 "type": "string",
3165 "readOnly": true
3166 },
3167 "source": {
3168 "$ref": "#/definitions/volume-property-source"
3169 },
3170 "value": {
3171 "type": [
3172 "string",
3173 "null"
3174 ]
3175 },
3176 "parsed": {
3177 "$ref": "#/definitions/volume-dataset-property-usedbysnapshots-value"
3178 }
3179 }
3180 },
3181 "disk-attach-params": {
3182 "type": "object",
3183 "properties": {
3184 "password": {
3185 "type": "string"
3186 },
3187 "key": {
3188 "type": "string"
3189 }
3190 }
3191 },
3192 "system-time": {
3193 "additionalProperties": false,
3194 "type": "object",
3195 "properties": {
3196 "boot_time": {
3197 "type": "string"
3198 },
3199 "uptime": {
3200 "type": "string"
3201 },
3202 "timezone": {
3203 "type": "string"
3204 },
3205 "system_time": {
3206 "type": "string"
3207 }
3208 }
3209 },
3210 "cpu-device": {
3211 "type": "object",
3212 "properties": {
3213 "name": {
3214 "type": "string"
3215 },
3216 "description": {
3217 "type": "string"
3218 }
3219 }
3220 },
3221 "network-interface-dhcp-state": {
3222 "type": "string",
3223 "enum": [
3224 "INIT",
3225 "SELECTING",
3226 "REQUESTING",
3227 "INIT_REBOOT",
3228 "REBOOTING",
3229 "BOUND",
3230 "RENEWING",
3231 "REBINDING"
3232 ]
3233 },
3234 "replication-transport": {
3235 "additionalProperties": false,
3236 "type": "object",
3237 "properties": {
3238 "server_address": {
3239 "type": "string"
3240 },
3241 "auth_token": {
3242 "type": "string"
3243 },
3244 "transport_plugins": {
3245 "type": [
3246 "array",
3247 "null"
3248 ],
3249 "items": {
3250 "$ref": "#/definitions/replication-transport-plugin"
3251 }
3252 },
3253 "auth_token_size": {
3254 "type": "integer"
3255 },
3256 "server_port": {
3257 "type": "integer"
3258 },
3259 "estimated_size": {
3260 "type": "integer"
3261 },
3262 "client_address": {
3263 "type": "string"
3264 },
3265 "receive_properties": {
3266 "name": {
3267 "type": "string"
3268 },
3269 "force": {
3270 "type": "boolean"
3271 },
3272 "props": {
3273 "type": "object"
3274 },
3275 "limitds": {
3276 "type": "object"
3277 },
3278 "nomount": {
3279 "type": "boolean"
3280 }
3281 },
3282 "buffer_size": {
3283 "type": "integer"
3284 }
3285 }
3286 },
3287 "stat": {
3288 "type": "object",
3289 "properties": {
3290 "size": {
3291 "type": "integer"
3292 },
3293 "permissions": {
3294 "$ref": "#/definitions/permissions"
3295 },
3296 "atime": {
3297 "type": "string"
3298 },
3299 "ctime": {
3300 "type": "string"
3301 },
3302 "path": {
3303 "type": "string"
3304 },
3305 "type": {
3306 "type": "string"
3307 },
3308 "mtime": {
3309 "type": "string"
3310 }
3311 }
3312 },
3313 "winbind-directory-params": {
3314 "additionalProperties": false,
3315 "type": "object",
3316 "properties": {
3317 "keytab": {
3318 "type": [
3319 "string",
3320 "null"
3321 ]
3322 },
3323 "dc_address": {
3324 "type": [
3325 "string",
3326 "null"
3327 ]
3328 },
3329 "password": {
3330 "type": [
3331 "string",
3332 "null"
3333 ]
3334 },
3335 "site_name": {
3336 "type": [
3337 "string",
3338 "null"
3339 ]
3340 },
3341 "username": {
3342 "type": "string"
3343 },
3344 "realm": {
3345 "type": "string"
3346 },
3347 "type": {
3348 "enum": [
3349 "winbind-directory-params"
3350 ]
3351 },
3352 "gcs_address": {
3353 "type": [
3354 "string",
3355 "null"
3356 ]
3357 },
3358 "allow_dns_updates": {
3359 "type": "boolean"
3360 }
3361 }
3362 },
3363 "freeipa-directory-params": {
3364 "password": {
3365 "type": "string"
3366 },
3367 "realm": {
3368 "type": "string"
3369 },
3370 "kdc": {
3371 "type": [
3372 "string",
3373 "null"
3374 ]
3375 },
3376 "server": {
3377 "type": [
3378 "string",
3379 "null"
3380 ]
3381 },
3382 "username": {
3383 "type": "string"
3384 },
3385 "certificate": {
3386 "type": [
3387 "string",
3388 "null"
3389 ]
3390 },
3391 "user_suffix": {
3392 "type": "string"
3393 },
3394 "group_suffix": {
3395 "type": "string"
3396 },
3397 "type": {
3398 "enum": [
3399 "ldap-directory-params"
3400 ]
3401 },
3402 "encryption": {
3403 "type": "string",
3404 "enum": [
3405 "NONE",
3406 "SSL",
3407 "TLS"
3408 ]
3409 }
3410 },
3411 "email": {
3412 "type": "string",
3413 "format": "email"
3414 },
3415 "volume-dataset-property-compressratio": {
3416 "additionalProperties": false,
3417 "type": "object",
3418 "properties": {
3419 "rawvalue": {
3420 "type": "string",
3421 "readOnly": true
3422 },
3423 "source": {
3424 "$ref": "#/definitions/volume-property-source"
3425 },
3426 "value": {
3427 "type": [
3428 "string",
3429 "null"
3430 ]
3431 },
3432 "parsed": {
3433 "$ref": "#/definitions/volume-dataset-property-compressratio-value"
3434 }
3435 }
3436 },
3437 "volume-property-fragmentation": {
3438 "additionalProperties": false,
3439 "type": "object",
3440 "properties": {
3441 "rawvalue": {
3442 "type": "string",
3443 "readOnly": true
3444 },
3445 "source": {
3446 "$ref": "#/definitions/volume-property-source"
3447 },
3448 "value": {
3449 "type": [
3450 "string",
3451 "null"
3452 ]
3453 },
3454 "parsed": {
3455 "$ref": "#/definitions/volume-property-fragmentation-value"
3456 }
3457 }
3458 },
3459 "volume": {
3460 "additionalProperties": false,
3461 "title": "volume",
3462 "type": "object",
3463 "readOnly": true,
3464 "properties": {
3465 "rname": {
3466 "type": "string"
3467 },
3468 "guid": {
3469 "type": "string",
3470 "readOnly": true
3471 },
3472 "key_encrypted": {
3473 "type": "boolean"
3474 },
3475 "id": {
3476 "type": "string"
3477 },
3478 "type": {
3479 "type": "string",
3480 "enum": [
3481 "zfs"
3482 ]
3483 },
3484 "encryption": {
3485 "$ref": "#/definitions/volume-encryption"
3486 },
3487 "properties": {
3488 "$ref": "#/definitions/volume-properties",
3489 "readOnly": true
3490 },
3491 "password_encrypted": {
3492 "type": "boolean"
3493 },
3494 "providers_presence": {
3495 "$ref": "#/definitions/volume-providerspresence"
3496 },
3497 "topology": {
3498 "$ref": "#/definitions/zfs-topology"
3499 },
3500 "params": {
3501 "type": [
3502 "object",
3503 "null"
3504 ],
3505 "properties": {
3506 "mountpoint": {
3507 "type": "string"
3508 },
3509 "blocksize": {
3510 "type": "number"
3511 },
3512 "mount": {
3513 "type": "boolean"
3514 },
3515 "swapsize": {
3516 "type": "number"
3517 }
3518 }
3519 },
3520 "attributes": {
3521 "type": "object"
3522 },
3523 "scan": {
3524 "$ref": "#/definitions/zfs-scan"
3525 }
3526 }
3527 },
3528 "volume-property-allocated-value": {
3529 "type": "integer",
3530 "readOnly": true
3531 },
3532 "volume-dataset-property-numclones": {
3533 "additionalProperties": false,
3534 "type": "object",
3535 "properties": {
3536 "rawvalue": {
3537 "type": "string",
3538 "readOnly": true
3539 },
3540 "source": {
3541 "$ref": "#/definitions/volume-property-source"
3542 },
3543 "value": {
3544 "type": [
3545 "string",
3546 "null"
3547 ]
3548 },
3549 "parsed": {
3550 "$ref": "#/definitions/volume-dataset-property-numclones-value"
3551 }
3552 }
3553 },
3554 "share-types-subtype": {
3555 "type": "string",
3556 "enum": [
3557 "FILE",
3558 "BLOCK"
3559 ]
3560 },
3561 "vm-device-nic-device": {
3562 "type": "string",
3563 "enum": [
3564 "VIRTIO",
3565 "E1000",
3566 "NE2K"
3567 ]
3568 },
3569 "volume-vdev-recommendation": {
3570 "additionalProperties": false,
3571 "type": "object",
3572 "properties": {
3573 "drives": {
3574 "type": "integer"
3575 },
3576 "type": {
3577 "type": "string"
3578 }
3579 }
3580 },
3581 "throttle-plugin": {
3582 "additionalProperties": false,
3583 "type": "object",
3584 "properties": {
3585 "write_fd": {
3586 "type": "fd"
3587 },
3588 "buffer_size": {
3589 "type": "integer"
3590 },
3591 "name": {
3592 "type": "string",
3593 "enum": [
3594 "throttle"
3595 ]
3596 },
3597 "read_fd": {
3598 "type": "fd"
3599 }
3600 }
3601 },
3602 "user": {
3603 "additionalProperties": false,
3604 "type": "object",
3605 "properties": {
3606 "gid": {
3607 "type": "string",
3608 "readOnly": true
3609 },
3610 "nthash": {
3611 "type": [
3612 "string",
3613 "null"
3614 ]
3615 },
3616 "username": {
3617 "type": "string"
3618 },
3619 "group": {
3620 "type": [
3621 "string",
3622 "null"
3623 ]
3624 },
3625 "password": {
3626 "type": [
3627 "string",
3628 "null"
3629 ]
3630 },
3631 "groups": {
3632 "type": "array",
3633 "items": {
3634 "type": "string"
3635 }
3636 },
3637 "builtin": {
3638 "type": "boolean",
3639 "readOnly": true
3640 },
3641 "home": {
3642 "type": [
3643 "string",
3644 "null"
3645 ]
3646 },
3647 "uid": {
3648 "maximum": 4294967295,
3649 "minimum": 0,
3650 "type": "integer"
3651 },
3652 "lmhash": {
3653 "type": [
3654 "string",
3655 "null"
3656 ]
3657 },
3658 "full_name": {
3659 "type": [
3660 "string",
3661 "null"
3662 ]
3663 },
3664 "unixhash": {
3665 "type": [
3666 "string",
3667 "null"
3668 ]
3669 },
3670 "email": {
3671 "$ref": "#/definitions/email"
3672 },
3673 "sudo": {
3674 "type": "boolean"
3675 },
3676 "password_disabled": {
3677 "type": "boolean"
3678 },
3679 "sid": {
3680 "type": "string",
3681 "readOnly": true
3682 },
3683 "shell": {
3684 "type": "string"
3685 },
3686 "sshpubkey": {
3687 "type": [
3688 "string",
3689 "null"
3690 ]
3691 },
3692 "id": {
3693 "type": "string"
3694 },
3695 "password_changed_at": {
3696 "type": [
3697 "datetime",
3698 "null"
3699 ]
3700 },
3701 "origin": {
3702 "directory": {
3703 "type": "string"
3704 }
3705 },
3706 "locked": {
3707 "type": "boolean"
3708 },
3709 "attributes": {
3710 "type": "object"
3711 }
3712 }
3713 },
3714 "volume-property-comment-value": {
3715 "type": "string"
3716 },
3717 "share-targettype": {
3718 "type": "string",
3719 "enum": [
3720 "DATASET",
3721 "ZVOL",
3722 "DIRECTORY",
3723 "FILE"
3724 ]
3725 },
3726 "rsync-copy-rsyncdirection": {
3727 "type": "string",
3728 "enum": [
3729 "PUSH",
3730 "PULL"
3731 ]
3732 },
3733 "service-nfs": {
3734 "additionalProperties": false,
3735 "type": "object",
3736 "properties": {
3737 "mountd_port": {
3738 "type": [
3739 "integer",
3740 "null"
3741 ]
3742 },
3743 "v4_kerberos": {
3744 "type": "boolean"
3745 },
3746 "v4": {
3747 "type": "boolean"
3748 },
3749 "udp": {
3750 "type": "boolean"
3751 },
3752 "enable": {
3753 "type": "boolean"
3754 },
3755 "servers": {
3756 "minimum": 1,
3757 "type": "integer"
3758 },
3759 "rpclockd_port": {
3760 "type": [
3761 "integer",
3762 "null"
3763 ]
3764 },
3765 "bind_addresses": {
3766 "type": [
3767 "array",
3768 "null"
3769 ],
3770 "items": {
3771 "type": "string"
3772 }
3773 },
3774 "rpcstatd_port": {
3775 "type": [
3776 "integer",
3777 "null"
3778 ]
3779 },
3780 "type": {
3781 "enum": [
3782 "service-nfs"
3783 ]
3784 },
3785 "nonroot": {
3786 "type": "boolean"
3787 }
3788 }
3789 },
3790 "zfs-snapshot": {
3791 "additionalProperties": false,
3792 "type": "object",
3793 "properties": {
3794 "dataset": {
3795 "type": "string"
3796 },
3797 "properties": {
3798 "type": "object"
3799 },
3800 "pool": {
3801 "type": "string"
3802 },
3803 "name": {
3804 "type": "string"
3805 },
3806 "holds": {
3807 "type": "object"
3808 },
3809 "type": {
3810 "$ref": "#/definitions/dataset-type"
3811 }
3812 }
3813 },
3814 "network-aggregation-protocols": {
3815 "type": "string",
3816 "enum": [
3817 "NONE",
3818 "ROUNDROBIN",
3819 "FAILOVER",
3820 "LOADBALANCE",
3821 "LACP",
3822 "ETHERCHANNEL"
3823 ]
3824 },
3825 "service-state": {
3826 "type": "string",
3827 "enum": [
3828 "RUNNING",
3829 "STOPPED",
3830 "UNKNOWN"
3831 ]
3832 },
3833 "volume-dataset-property-dedup": {
3834 "additionalProperties": false,
3835 "type": "object",
3836 "properties": {
3837 "rawvalue": {
3838 "type": "string",
3839 "readOnly": true
3840 },
3841 "source": {
3842 "$ref": "#/definitions/volume-property-source"
3843 },
3844 "value": {
3845 "type": [
3846 "string",
3847 "null"
3848 ]
3849 },
3850 "parsed": {
3851 "$ref": "#/definitions/volume-dataset-property-dedup-value"
3852 }
3853 }
3854 },
3855 "network-interface-capabilities-items": {
3856 "type": "string",
3857 "enum": [
3858 "RXCSUM",
3859 "TXCSUM",
3860 "NETCONS",
3861 "VLAN_MTU",
3862 "VLAN_HWTAGGING",
3863 "JUMBO_MTU",
3864 "POLLING",
3865 "VLAN_HWCSUM",
3866 "TSO4",
3867 "TSO6",
3868 "LRO",
3869 "WOL_UCAST",
3870 "WOL_MCAST",
3871 "WOL_MAGIC",
3872 "TOE4",
3873 "TOE6",
3874 "VLAN_HWFILTER",
3875 "POLLING_NOCOUNT",
3876 "VLAN_HWTSO",
3877 "LINKSTATE",
3878 "NETMAP",
3879 "RXCSUM_IPV6",
3880 "TXCSUM_IPV6",
3881 "HWSTATS"
3882 ]
3883 },
3884 "volume-dataset-property-logicalused-value": {
3885 "type": "integer",
3886 "readOnly": true
3887 },
3888 "zfs-property": {
3889 "additionalProperties": false,
3890 "type": "object",
3891 "properties": {
3892 "rawvalue": {
3893 "type": "string"
3894 },
3895 "source": {
3896 "$ref": "#/definitions/zfs-property-source"
3897 },
3898 "value": {
3899 "type": "string"
3900 },
3901 "parsed": {
3902 "type": [
3903 "string",
3904 "integer",
3905 "boolean",
3906 "datetime",
3907 "null"
3908 ]
3909 }
3910 }
3911 },
3912 "volume-dataset-property-quota": {
3913 "additionalProperties": false,
3914 "type": "object",
3915 "properties": {
3916 "rawvalue": {
3917 "type": "string",
3918 "readOnly": true
3919 },
3920 "source": {
3921 "$ref": "#/definitions/volume-property-source"
3922 },
3923 "value": {
3924 "type": [
3925 "string",
3926 "null"
3927 ]
3928 },
3929 "parsed": {
3930 "$ref": "#/definitions/volume-dataset-property-quota-value"
3931 }
3932 }
3933 },
3934 "acl-entry-type": {
3935 "type": "string",
3936 "enum": [
3937 "ALLOW",
3938 "DENY"
3939 ]
3940 },
3941 "ipfs_info": {
3942 "additionalProperties": false,
3943 "type": "object",
3944 "properties": {
3945 "AgentVersion": {
3946 "type": "string"
3947 },
3948 "Addresses": {
3949 "type": "array",
3950 "items": {
3951 "type": "string"
3952 }
3953 },
3954 "ProtocolVersion": {
3955 "type": "string"
3956 },
3957 "PublicKey": {
3958 "type": "string"
3959 },
3960 "ID": {
3961 "type": "string"
3962 }
3963 }
3964 },
3965 "volume-dataset-property-atime-value": {
3966 "type": [
3967 "boolean",
3968 "null"
3969 ]
3970 },
3971 "volume-property-failmode": {
3972 "additionalProperties": false,
3973 "type": "object",
3974 "properties": {
3975 "rawvalue": {
3976 "type": "string",
3977 "readOnly": true
3978 },
3979 "source": {
3980 "$ref": "#/definitions/volume-property-source"
3981 },
3982 "value": {
3983 "type": [
3984 "string",
3985 "null"
3986 ]
3987 },
3988 "parsed": {
3989 "$ref": "#/definitions/volume-property-failmode-value"
3990 }
3991 }
3992 },
3993 "disk-erase-method": {
3994 "type": "string",
3995 "enum": [
3996 "QUICK",
3997 "ZEROS",
3998 "RANDOM"
3999 ]
4000 },
4001 "simulator-disk-rpm": {
4002 "type": "string",
4003 "enum": [
4004 "UNKNOWN",
4005 "SSD",
4006 "5400",
4007 "7200",
4008 "10000",
4009 "15000"
4010 ]
4011 },
4012 "share": {
4013 "type": "object",
4014 "properties": {
4015 "permissions": {
4016 "$ref": "#/definitions/permissions"
4017 },
4018 "immutable": {
4019 "type": "boolean"
4020 },
4021 "description": {
4022 "type": "string"
4023 },
4024 "enabled": {
4025 "type": "boolean"
4026 },
4027 "target_path": {
4028 "type": "string"
4029 },
4030 "properties": {
4031 "$ref": "#/definitions/share-properties"
4032 },
4033 "type": {
4034 "type": "string"
4035 },
4036 "id": {
4037 "type": "string"
4038 },
4039 "name": {
4040 "type": "string"
4041 },
4042 "filesystem_path": {
4043 "type": "string",
4044 "readOnly": true
4045 },
4046 "target_type": {
4047 "$ref": "#/definitions/share-targettype"
4048 }
4049 }
4050 },
4051 "volume-property-size-value": {
4052 "type": "integer",
4053 "readOnly": true
4054 },
4055 "volume-encryption": {
4056 "type": "object",
4057 "readOnly": true,
4058 "properties": {
4059 "salt": {
4060 "type": [
4061 "string",
4062 "null"
4063 ]
4064 },
4065 "key": {
4066 "type": [
4067 "string",
4068 "null"
4069 ]
4070 },
4071 "slot": {
4072 "type": [
4073 "integer",
4074 "null"
4075 ]
4076 },
4077 "hashed_password": {
4078 "type": [
4079 "string",
4080 "null"
4081 ]
4082 }
4083 }
4084 },
4085 "crypto-certificate-type": {
4086 "type": "string",
4087 "enum": [
4088 "CA_EXISTING",
4089 "CA_INTERMEDIATE",
4090 "CA_INTERNAL",
4091 "CERT_CSR",
4092 "CERT_EXISTING",
4093 "CERT_INTERMEDIATE",
4094 "CERT_INTERNAL"
4095 ]
4096 },
4097 "backup-types": {
4098 "additionalProperties": {
4099 "additionalProperties": false,
4100 "type": "object",
4101 "properties": {}
4102 },
4103 "type": "object"
4104 },
4105 "share-types": {
4106 "additionalProperties": {
4107 "additionalProperties": false,
4108 "type": "object",
4109 "properties": {
4110 "perm_type": {
4111 "$ref": "#/definitions/share-types-permtype"
4112 },
4113 "subtype": {
4114 "$ref": "#/definitions/share-types-subtype"
4115 }
4116 }
4117 },
4118 "type": "object"
4119 },
4120 "disk-metadata": {
4121 "type": "object",
4122 "properties": {
4123 "disk": {
4124 "type": "string"
4125 },
4126 "metadata": {
4127 "type": "string"
4128 }
4129 }
4130 },
4131 "network-config": {
4132 "additionalProperties": false,
4133 "type": "object",
4134 "properties": {
4135 "netwait": {
4136 "additionalProperties": false,
4137 "type": "object",
4138 "properties": {
4139 "addresses": {
4140 "type": "array",
4141 "items": {
4142 "$ref": "#/definitions/ip-address"
4143 }
4144 },
4145 "enabled": {
4146 "type": "boolean"
4147 }
4148 }
4149 },
4150 "dns": {
4151 "additionalProperties": false,
4152 "type": "object",
4153 "properties": {
4154 "addresses": {
4155 "type": "array",
4156 "items": {
4157 "$ref": "#/definitions/ip-address"
4158 }
4159 },
4160 "search": {
4161 "type": "array",
4162 "items": {
4163 "type": "string"
4164 }
4165 }
4166 }
4167 },
4168 "http_proxy": {
4169 "type": [
4170 "string",
4171 "null"
4172 ]
4173 },
4174 "autoconfigure": {
4175 "type": "boolean"
4176 },
4177 "gateway": {
4178 "additionalProperties": false,
4179 "type": "object",
4180 "properties": {
4181 "ipv4": {
4182 "$ref": "#/definitions/ipv4-address"
4183 },
4184 "ipv6": {
4185 "$ref": "#/definitions/ipv6-address"
4186 }
4187 }
4188 },
4189 "dhcp": {
4190 "additionalProperties": false,
4191 "type": "object",
4192 "properties": {
4193 "assign_dns": {
4194 "type": "boolean"
4195 },
4196 "assign_gateway": {
4197 "type": "boolean"
4198 }
4199 }
4200 }
4201 }
4202 },
4203 "volume-property-dedupratio-value": {
4204 "type": "string",
4205 "readOnly": true
4206 },
4207 "vm-snapshot": {
4208 "additionalProperties": false,
4209 "type": "object",
4210 "properties": {
4211 "name": {
4212 "type": "string"
4213 },
4214 "parent": {
4215 "$ref": "#/definitions/vm"
4216 },
4217 "description": {
4218 "type": "string"
4219 },
4220 "id": {
4221 "type": "string"
4222 }
4223 }
4224 },
4225 "network-lagg-port-flags": {
4226 "type": "array",
4227 "items": {
4228 "$ref": "#/definitions/network-lagg-port-flags-items"
4229 }
4230 },
4231 "volume-dataset-property-usedbydataset": {
4232 "additionalProperties": false,
4233 "type": "object",
4234 "properties": {
4235 "rawvalue": {
4236 "type": "string",
4237 "readOnly": true
4238 },
4239 "source": {
4240 "$ref": "#/definitions/volume-property-source"
4241 },
4242 "value": {
4243 "type": [
4244 "string",
4245 "null"
4246 ]
4247 },
4248 "parsed": {
4249 "$ref": "#/definitions/volume-dataset-property-usedbydataset-value"
4250 }
4251 }
4252 },
4253 "service-glusterd": {
4254 "additionalProperties": false,
4255 "type": "object",
4256 "properties": {
4257 "type": {
4258 "enum": [
4259 "service-glusterd"
4260 ]
4261 },
4262 "working_directory": {
4263 "type": [
4264 "string",
4265 "null"
4266 ]
4267 },
4268 "enable": {
4269 "type": "boolean"
4270 }
4271 }
4272 },
4273 "volume-property-readonly-value": {
4274 "type": "boolean"
4275 },
4276 "compress-plugin": {
4277 "additionalProperties": false,
4278 "type": "object",
4279 "properties": {
4280 "write_fd": {
4281 "type": "fd"
4282 },
4283 "buffer_size": {
4284 "type": "integer"
4285 },
4286 "level": {
4287 "$ref": "#/definitions/compress-plugin-level"
4288 },
4289 "name": {
4290 "type": "string"
4291 },
4292 "read_fd": {
4293 "type": "fd"
4294 }
4295 }
4296 },
4297 "service-ups": {
4298 "additionalProperties": false,
4299 "type": "object",
4300 "properties": {
4301 "driver_port": {
4302 "type": [
4303 "string",
4304 "null"
4305 ]
4306 },
4307 "driver": {
4308 "type": "string"
4309 },
4310 "description": {
4311 "type": [
4312 "string",
4313 "null"
4314 ]
4315 },
4316 "shutdown_mode": {
4317 "$ref": "#/definitions/service-ups-shutdownmode"
4318 },
4319 "monitor_password": {
4320 "type": "string"
4321 },
4322 "remote_host": {
4323 "type": [
4324 "string",
4325 "null"
4326 ]
4327 },
4328 "type": {
4329 "enum": [
4330 "service-ups"
4331 ]
4332 },
4333 "monitor_remote": {
4334 "type": "boolean"
4335 },
4336 "auxiliary_users": {
4337 "type": [
4338 "string",
4339 "null"
4340 ]
4341 },
4342 "monitor_user": {
4343 "type": "string"
4344 },
4345 "email_notify": {
4346 "type": "boolean"
4347 },
4348 "auxiliary": {
4349 "type": [
4350 "string",
4351 "null"
4352 ]
4353 },
4354 "enable": {
4355 "type": "boolean"
4356 },
4357 "mode": {
4358 "$ref": "#/definitions/service-ups-mode"
4359 },
4360 "powerdown": {
4361 "type": "boolean"
4362 },
4363 "shutdown_timer": {
4364 "type": "integer"
4365 },
4366 "identifier": {
4367 "type": "string"
4368 },
4369 "email_subject": {
4370 "type": "string"
4371 },
4372 "remote_port": {
4373 "type": "integer"
4374 },
4375 "email_recipients": {
4376 "type": "array",
4377 "items": {
4378 "$ref": "#/definitions/email"
4379 }
4380 }
4381 }
4382 },
4383 "vm-device-graphics": {
4384 "additionalProperties": false,
4385 "type": "object",
4386 "properties": {
4387 "vnc_port": {
4388 "type": [
4389 "integer",
4390 "null"
4391 ]
4392 },
4393 "resolution": {
4394 "$ref": "#/definitions/vm-device-graphics-resolution"
4395 },
4396 "vnc_enabled": {
4397 "type": "boolean"
4398 }
4399 }
4400 },
4401 "share-iscsi-target": {
4402 "additionalProperties": false,
4403 "type": "object",
4404 "properties": {
4405 "portal_group": {
4406 "type": "string"
4407 },
4408 "extents": {
4409 "type": "array",
4410 "items": {
4411 "additionalProperties": false,
4412 "required": [
4413 "name",
4414 "number"
4415 ],
4416 "type": "object",
4417 "properties": {
4418 "name": {
4419 "type": "string"
4420 },
4421 "number": {
4422 "type": "integer"
4423 }
4424 }
4425 }
4426 },
4427 "description": {
4428 "type": "string"
4429 },
4430 "auth_group": {
4431 "type": "string"
4432 },
4433 "id": {
4434 "type": "string"
4435 }
4436 }
4437 },
4438 "volume-dataset-property-refquota": {
4439 "additionalProperties": false,
4440 "type": "object",
4441 "properties": {
4442 "rawvalue": {
4443 "type": "string",
4444 "readOnly": true
4445 },
4446 "source": {
4447 "$ref": "#/definitions/volume-property-source"
4448 },
4449 "value": {
4450 "type": [
4451 "string",
4452 "null"
4453 ]
4454 },
4455 "parsed": {
4456 "$ref": "#/definitions/volume-dataset-property-refquota-value"
4457 }
4458 }
4459 },
4460 "service-webdav-authentication": {
4461 "type": "string",
4462 "enum": [
4463 "BASIC",
4464 "DIGEST"
4465 ]
4466 },
4467 "volume-snapshot": {
4468 "additionalProperties": false,
4469 "type": "object",
4470 "properties": {
4471 "id": {
4472 "type": "string"
4473 },
4474 "dataset": {
4475 "type": "string"
4476 },
4477 "replicable": {
4478 "type": "boolean"
4479 },
4480 "properties": {
4481 "$ref": "#/definitions/volume-snapshot-properties"
4482 },
4483 "lifetime": {
4484 "type": [
4485 "integer",
4486 "null"
4487 ]
4488 },
4489 "holds": {
4490 "type": "object"
4491 },
4492 "name": {
4493 "type": "string"
4494 },
4495 "volume": {
4496 "type": "string"
4497 }
4498 }
4499 },
4500 "share-iscsi-portal-listen": {
4501 "type": "array",
4502 "items": {
4503 "additionalProperties": false,
4504 "type": "object",
4505 "properties": {
4506 "address": {
4507 "type": "string"
4508 },
4509 "port": {
4510 "type": "integer"
4511 }
4512 }
4513 }
4514 },
4515 "volume-property-allocated": {
4516 "additionalProperties": false,
4517 "type": "object",
4518 "properties": {
4519 "rawvalue": {
4520 "type": "string",
4521 "readOnly": true
4522 },
4523 "source": {
4524 "$ref": "#/definitions/volume-property-source"
4525 },
4526 "value": {
4527 "type": [
4528 "string",
4529 "null"
4530 ]
4531 },
4532 "parsed": {
4533 "$ref": "#/definitions/volume-property-allocated-value"
4534 }
4535 }
4536 },
4537 "share-iscsi": {
4538 "additionalProperties": false,
4539 "type": "object",
4540 "properties": {
4541 "size": {
4542 "type": "integer"
4543 },
4544 "available_space_threshold": {
4545 "type": "integer"
4546 },
4547 "naa": {
4548 "type": "string"
4549 },
4550 "device_id": {
4551 "type": [
4552 "string",
4553 "null"
4554 ]
4555 },
4556 "ctl_lun": {
4557 "type": "integer"
4558 },
4559 "serial": {
4560 "type": "string"
4561 },
4562 "type": {
4563 "enum": [
4564 "share-iscsi"
4565 ]
4566 },
4567 "physical_block_size": {
4568 "type": "boolean"
4569 },
4570 "block_size": {
4571 "$ref": "#/definitions/share-iscsi-blocksize"
4572 },
4573 "rpm": {
4574 "$ref": "#/definitions/share-iscsi-rpm"
4575 },
4576 "tpc": {
4577 "type": "boolean"
4578 },
4579 "vendor_id": {
4580 "type": [
4581 "string",
4582 "null"
4583 ]
4584 }
4585 }
4586 },
4587 "decompress-plugin": {
4588 "$ref": "#/definitions/compress-plugin"
4589 },
4590 "service-ftp": {
4591 "additionalProperties": false,
4592 "type": "object",
4593 "properties": {
4594 "local_down_bandwidth": {
4595 "type": [
4596 "integer",
4597 "null"
4598 ]
4599 },
4600 "passive_ports_max": {
4601 "type": [
4602 "integer",
4603 "null"
4604 ]
4605 },
4606 "login_attempt": {
4607 "type": "integer"
4608 },
4609 "reverse_dns": {
4610 "type": "boolean"
4611 },
4612 "enable": {
4613 "type": "boolean"
4614 },
4615 "only_local": {
4616 "type": "boolean"
4617 },
4618 "anonymous_path": {
4619 "type": [
4620 "string",
4621 "null"
4622 ]
4623 },
4624 "type": {
4625 "enum": [
4626 "service-ftp"
4627 ]
4628 },
4629 "root_login": {
4630 "type": "boolean"
4631 },
4632 "ip_connections": {
4633 "type": [
4634 "integer",
4635 "null"
4636 ]
4637 },
4638 "tls_ssl_certificate": {
4639 "type": [
4640 "string",
4641 "null"
4642 ]
4643 },
4644 "resume": {
4645 "type": "boolean"
4646 },
4647 "filemask": {
4648 "$ref": "#/definitions/unix-permissions"
4649 },
4650 "ident": {
4651 "type": "boolean"
4652 },
4653 "fxp": {
4654 "type": "boolean"
4655 },
4656 "passive_ports_min": {
4657 "type": [
4658 "integer",
4659 "null"
4660 ]
4661 },
4662 "tls": {
4663 "type": "boolean"
4664 },
4665 "tls_policy": {
4666 "$ref": "#/definitions/service-ftp-tlspolicy"
4667 },
4668 "auxiliary": {
4669 "type": [
4670 "string",
4671 "null"
4672 ]
4673 },
4674 "max_clients": {
4675 "type": "integer"
4676 },
4677 "only_anonymous": {
4678 "type": "boolean"
4679 },
4680 "tls_options": {
4681 "type": "array",
4682 "items": {
4683 "$ref": "#/definitions/service-ftp-tlsoptions-items"
4684 }
4685 },
4686 "display_login": {
4687 "type": [
4688 "string",
4689 "null"
4690 ]
4691 },
4692 "dirmask": {
4693 "$ref": "#/definitions/unix-permissions"
4694 },
4695 "anon_up_bandwidth": {
4696 "type": [
4697 "integer",
4698 "null"
4699 ]
4700 },
4701 "chroot": {
4702 "type": "boolean"
4703 },
4704 "local_up_bandwidth": {
4705 "type": [
4706 "integer",
4707 "null"
4708 ]
4709 },
4710 "anon_down_bandwidth": {
4711 "type": [
4712 "integer",
4713 "null"
4714 ]
4715 },
4716 "masquerade_address": {
4717 "type": [
4718 "string",
4719 "null"
4720 ]
4721 },
4722 "timeout": {
4723 "type": "integer"
4724 },
4725 "port": {
4726 "maximum": 65535,
4727 "minimum": 1,
4728 "type": "integer"
4729 }
4730 }
4731 },
4732 "service-smb-minprotocol": {
4733 "type": [
4734 "string",
4735 "null"
4736 ],
4737 "enum": [
4738 null,
4739 "CORE",
4740 "COREPLUS",
4741 "LANMAN1",
4742 "LANMAN2",
4743 "NT1",
4744 "SMB2",
4745 "SMB2_02",
4746 "SMB2_10",
4747 "SMB2_22",
4748 "SMB2_24",
4749 "SMB3",
4750 "SMB3_00"
4751 ]
4752 },
4753 "vm-config-bootloader": {
4754 "type": "string",
4755 "enum": [
4756 "BHYVELOAD",
4757 "GRUB",
4758 "UEFI",
4759 "UEFI_CSM"
4760 ]
4761 },
4762 "backup-ssh": {
4763 "additionalProperties": false,
4764 "type": "object",
4765 "properties": {
4766 "hostport": {
4767 "type": "string"
4768 },
4769 "password": {
4770 "type": [
4771 "string",
4772 "null"
4773 ]
4774 },
4775 "username": {
4776 "type ": "string"
4777 },
4778 "directory": {
4779 "type": "string"
4780 },
4781 "hostkey": {
4782 "type": [
4783 "string",
4784 "null"
4785 ]
4786 },
4787 "type": {
4788 "enum": [
4789 "backup-ssh"
4790 ]
4791 },
4792 "privkey": {
4793 "type": [
4794 "string",
4795 "null"
4796 ]
4797 }
4798 }
4799 },
4800 "volume-dataset-property-usedbyrefreservation-value": {
4801 "type": "integer",
4802 "readOnly": true
4803 },
4804 "disk-set-key-params": {
4805 "type": "object",
4806 "properties": {
4807 "password": {
4808 "type": "string"
4809 },
4810 "key": {
4811 "type": "string"
4812 },
4813 "slot": {
4814 "type": "integer"
4815 }
4816 }
4817 },
4818 "docker-port-protocol": {
4819 "type": "string",
4820 "enum": [
4821 "TCP",
4822 "UDP"
4823 ]
4824 },
4825 "open-file": {
4826 "type": "object",
4827 "properties": {
4828 "pid": {
4829 "type": "integer"
4830 },
4831 "path": {
4832 "type": "string"
4833 },
4834 "process_name": {
4835 "type": "string"
4836 }
4837 }
4838 },
4839 "tunable-type": {
4840 "type": "string",
4841 "enum": [
4842 "LOADER",
4843 "RC",
4844 "SYSCTL"
4845 ]
4846 },
4847 "share-nfs": {
4848 "additionalProperties": false,
4849 "type": "object",
4850 "properties": {
4851 "read_only": {
4852 "type": "boolean"
4853 },
4854 "maproot_user": {
4855 "type": [
4856 "string",
4857 "null"
4858 ]
4859 },
4860 "hosts": {
4861 "type": "array",
4862 "items": {
4863 "type": "string"
4864 }
4865 },
4866 "alldirs": {
4867 "type": "boolean"
4868 },
4869 "maproot_group": {
4870 "type": [
4871 "string",
4872 "null"
4873 ]
4874 },
4875 "mapall_user": {
4876 "type": [
4877 "string",
4878 "null"
4879 ]
4880 },
4881 "mapall_group": {
4882 "type": [
4883 "string",
4884 "null"
4885 ]
4886 },
4887 "type": {
4888 "enum": [
4889 "share-nfs"
4890 ]
4891 },
4892 "security": {
4893 "type": "array",
4894 "items": {
4895 "$ref": "#/definitions/share-nfs-security-items"
4896 }
4897 }
4898 }
4899 },
4900 "zfs-property-source": {
4901 "type": "string",
4902 "enum": [
4903 "NONE",
4904 "DEFAULT",
4905 "LOCAL",
4906 "INHERITED",
4907 "RECEIVED"
4908 ]
4909 },
4910 "service-sshd": {
4911 "additionalProperties": false,
4912 "type": "object",
4913 "properties": {
4914 "auxiliary": {
4915 "type": [
4916 "string",
4917 "null"
4918 ]
4919 },
4920 "allow_pubkey_auth": {
4921 "type": "boolean"
4922 },
4923 "type": {
4924 "enum": [
4925 "service-sshd"
4926 ]
4927 },
4928 "allow_password_auth": {
4929 "type": "boolean"
4930 },
4931 "compression": {
4932 "type": "boolean"
4933 },
4934 "allow_gssapi_auth": {
4935 "type": "boolean"
4936 },
4937 "enable": {
4938 "type": "boolean"
4939 },
4940 "sftp_log_level": {
4941 "$ref": "#/definitions/service-sshd-sftploglevel"
4942 },
4943 "permit_root_login": {
4944 "type": "boolean"
4945 },
4946 "sftp_log_facility": {
4947 "$ref": "#/definitions/service-sshd-sftplogfacility"
4948 },
4949 "allow_port_forwarding": {
4950 "type": "boolean"
4951 },
4952 "port": {
4953 "maximum": 65535,
4954 "minimum": 1,
4955 "type": "integer"
4956 }
4957 }
4958 },
4959 "statistic": {
4960 "additionalProperties": false,
4961 "type": "object",
4962 "properties": {
4963 "short_name": {
4964 "type": "string"
4965 },
4966 "alerts": {
4967 "$ref": "#/definitions/statistic-alert"
4968 },
4969 "unit": {
4970 "type": "string"
4971 },
4972 "name": {
4973 "type": "string"
4974 },
4975 "last_value": {
4976 "type": [
4977 "integer",
4978 "number",
4979 "null"
4980 ]
4981 }
4982 }
4983 },
4984 "volume-dataset-property-written": {
4985 "additionalProperties": false,
4986 "type": "object",
4987 "properties": {
4988 "rawvalue": {
4989 "type": "string",
4990 "readOnly": true
4991 },
4992 "source": {
4993 "$ref": "#/definitions/volume-property-source"
4994 },
4995 "value": {
4996 "type": [
4997 "string",
4998 "null"
4999 ]
5000 },
5001 "parsed": {
5002 "$ref": "#/definitions/volume-dataset-property-written-value"
5003 }
5004 }
5005 },
5006 "service-snmp": {
5007 "additionalProperties": false,
5008 "type": "object",
5009 "properties": {
5010 "v3_password": {
5011 "type": [
5012 "string",
5013 "null"
5014 ]
5015 },
5016 "v3_auth_type": {
5017 "$ref": "#/definitions/service-snmp-v3authtype"
5018 },
5019 "v3": {
5020 "type": "boolean"
5021 },
5022 "type": {
5023 "enum": [
5024 "service-snmp"
5025 ]
5026 },
5027 "contact": {
5028 "type": [
5029 "string",
5030 "null"
5031 ]
5032 },
5033 "v3_username": {
5034 "type": [
5035 "string",
5036 "null"
5037 ]
5038 },
5039 "v3_privacy_protocol": {
5040 "$ref": "#/definitions/service-snmp-v3privacyprotocol"
5041 },
5042 "enable": {
5043 "type": "boolean"
5044 },
5045 "v3_privacy_passphrase": {
5046 "type": [
5047 "string",
5048 "null"
5049 ]
5050 },
5051 "community": {
5052 "type": [
5053 "string",
5054 "null"
5055 ]
5056 },
5057 "location": {
5058 "type": [
5059 "string",
5060 "null"
5061 ]
5062 },
5063 "auxiliary": {
5064 "type": [
5065 "string",
5066 "null"
5067 ]
5068 }
5069 }
5070 },
5071 "service-smb": {
5072 "additionalProperties": false,
5073 "type": "object",
5074 "properties": {
5075 "zeroconf": {
5076 "type": "boolean"
5077 },
5078 "description": {
5079 "type": "string"
5080 },
5081 "workgroup": {
5082 "type": "string"
5083 },
5084 "type": {
5085 "enum": [
5086 "service-smb"
5087 ]
5088 },
5089 "max_protocol": {
5090 "$ref": "#/definitions/service-smb-maxprotocol"
5091 },
5092 "min_protocol": {
5093 "$ref": "#/definitions/service-smb-minprotocol"
5094 },
5095 "guest_user": {
5096 "type": "string"
5097 },
5098 "dos_charset": {
5099 "$ref": "#/definitions/service-smb-doscharset"
5100 },
5101 "obey_pam_restrictions": {
5102 "type": "boolean"
5103 },
5104 "bind_addresses": {
5105 "type": [
5106 "array",
5107 "null"
5108 ],
5109 "items": {
5110 "type": "string"
5111 }
5112 },
5113 "time_server": {
5114 "type": "boolean"
5115 },
5116 "filemask": {
5117 "$ref": "#/definitions/unix-permissions"
5118 },
5119 "netbiosname": {
5120 "type": "array",
5121 "items": {
5122 "type": "string"
5123 }
5124 },
5125 "log_level": {
5126 "$ref": "#/definitions/service-smb-loglevel"
5127 },
5128 "auxiliary": {
5129 "type": [
5130 "string",
5131 "null"
5132 ]
5133 },
5134 "unixext": {
5135 "type": "boolean"
5136 },
5137 "empty_password": {
5138 "type": "boolean"
5139 },
5140 "unix_charset": {
5141 "$ref": "#/definitions/service-smb-unixcharset"
5142 },
5143 "local_master": {
5144 "type": "boolean"
5145 },
5146 "dirmask": {
5147 "$ref": "#/definitions/unix-permissions"
5148 },
5149 "syslog": {
5150 "type": "boolean"
5151 },
5152 "sid": {
5153 "type": [
5154 "string",
5155 "null"
5156 ]
5157 },
5158 "enable": {
5159 "type": "boolean"
5160 },
5161 "hostlookup": {
5162 "type": "boolean"
5163 },
5164 "domain_logons": {
5165 "type": "boolean"
5166 },
5167 "execute_always": {
5168 "type": "boolean"
5169 }
5170 }
5171 },
5172 "volume-property-version-value": {
5173 "type": [
5174 "integer",
5175 "null"
5176 ],
5177 "readOnly": true
5178 },
5179 "service-dyndns": {
5180 "additionalProperties": false,
5181 "type": "object",
5182 "properties": {
5183 "update_period": {
5184 "type": [
5185 "integer",
5186 "null"
5187 ]
5188 },
5189 "password": {
5190 "type": "string"
5191 },
5192 "type": {
5193 "enum": [
5194 "service-dyndns"
5195 ]
5196 },
5197 "enable": {
5198 "type": "boolean"
5199 },
5200 "username": {
5201 "type": "string"
5202 },
5203 "auxiliary": {
5204 "type": [
5205 "string",
5206 "null"
5207 ]
5208 },
5209 "domains": {
5210 "type": "array",
5211 "items": {
5212 "type": "string"
5213 }
5214 },
5215 "provider": {
5216 "$ref": "#/definitions/service-dyndns-provider"
5217 },
5218 "force_update_period": {
5219 "type": [
5220 "integer",
5221 "null"
5222 ]
5223 },
5224 "ipserver": {
5225 "type": [
5226 "string",
5227 "null"
5228 ]
5229 }
5230 }
5231 },
5232 "network-device": {
5233 "type": "object",
5234 "properties": {
5235 "name": {
5236 "type": "string"
5237 },
5238 "description": {
5239 "type": "string"
5240 }
5241 }
5242 },
5243 "serial-port-device": {
5244 "type": "object",
5245 "properties": {
5246 "size": {
5247 "type": "string"
5248 },
5249 "description": {
5250 "type": "string"
5251 },
5252 "drivername": {
5253 "type": "string"
5254 },
5255 "location": {
5256 "type": "string"
5257 },
5258 "name": {
5259 "type": "string"
5260 },
5261 "start": {
5262 "type": "string"
5263 }
5264 }
5265 },
5266 "volume-dataset-property-usedbychildren-value": {
5267 "type": "integer",
5268 "readOnly": true
5269 },
5270 "disk": {
5271 "type": "object",
5272 "properties": {
5273 "rname": {
5274 "type": "string"
5275 },
5276 "smart_options": {
5277 "type": "string"
5278 },
5279 "description": {
5280 "type": "string"
5281 },
5282 "status": {
5283 "$ref": "#/definitions/disk-status"
5284 },
5285 "acoustic_level": {
5286 "$ref": "#/definitions/disk-acousticlevel"
5287 },
5288 "serial": {
5289 "type": "string"
5290 },
5291 "name": {
5292 "type": "string"
5293 },
5294 "standby_mode": {
5295 "type": [
5296 "integer",
5297 "null"
5298 ]
5299 },
5300 "smart": {
5301 "type": "boolean"
5302 },
5303 "mediasize": {
5304 "type": "integer"
5305 },
5306 "id": {
5307 "type": "string"
5308 },
5309 "apm_mode": {
5310 "type": [
5311 "integer",
5312 "null"
5313 ]
5314 },
5315 "path": {
5316 "type": "string"
5317 }
5318 }
5319 },
5320 "tunable": {
5321 "additionalProperties": false,
5322 "type": "object",
5323 "properties": {
5324 "var": {
5325 "type": "string"
5326 },
5327 "enabled": {
5328 "type": "boolean"
5329 },
5330 "id": {
5331 "type": "string"
5332 },
5333 "comment": {
5334 "type": "string"
5335 },
5336 "type": {
5337 "$ref": "#/definitions/tunable-type"
5338 },
5339 "value": {
5340 "type": "string"
5341 }
5342 }
5343 },
5344 "volume-snapshot-property-creation-value": {
5345 "type": "string",
5346 "format": "date-time",
5347 "readOnly": true
5348 },
5349 "system-general": {
5350 "additionalProperties": false,
5351 "type": "object",
5352 "properties": {
5353 "syslog_server": {
5354 "type": [
5355 "string",
5356 "null"
5357 ]
5358 },
5359 "hostname": {
5360 "type": "string"
5361 },
5362 "language": {
5363 "type": "string"
5364 },
5365 "console_keymap": {
5366 "type": "string"
5367 },
5368 "timezone": {
5369 "type": "string"
5370 }
5371 }
5372 },
5373 "service-snmp-v3authtype": {
5374 "type": "string",
5375 "enum": [
5376 "MD5",
5377 "SHA"
5378 ]
5379 },
5380 "volume-property-size": {
5381 "additionalProperties": false,
5382 "type": "object",
5383 "properties": {
5384 "rawvalue": {
5385 "type": "string",
5386 "readOnly": true
5387 },
5388 "source": {
5389 "$ref": "#/definitions/volume-property-source"
5390 },
5391 "value": {
5392 "type": [
5393 "string",
5394 "null"
5395 ]
5396 },
5397 "parsed": {
5398 "$ref": "#/definitions/volume-property-size-value"
5399 }
5400 }
5401 },
5402 "amazon-s3-credentials": {
5403 "additionalProperties": false,
5404 "type": "object",
5405 "properties": {
5406 "access_key": {
5407 "type": "string"
5408 },
5409 "bucket": {
5410 "type": "string"
5411 },
5412 "folder": {
5413 "type": [
5414 "string",
5415 "null"
5416 ]
5417 },
5418 "region": {
5419 "type": [
5420 "string",
5421 "null"
5422 ]
5423 },
5424 "type": {
5425 "enum": [
5426 "amazon-s3"
5427 ]
5428 },
5429 "secret_key": {
5430 "type ": "string"
5431 }
5432 }
5433 },
5434 "network-interface-nd6-flag": {
5435 "type": "array",
5436 "items": {
5437 "$ref": "#/definitions/network-interface-nd6-flag-items"
5438 }
5439 },
5440 "volume-property-comment": {
5441 "additionalProperties": false,
5442 "type": "object",
5443 "properties": {
5444 "rawvalue": {
5445 "type": "string",
5446 "readOnly": true
5447 },
5448 "source": {
5449 "$ref": "#/definitions/volume-property-source"
5450 },
5451 "value": {
5452 "type": [
5453 "string",
5454 "null"
5455 ]
5456 },
5457 "parsed": {
5458 "$ref": "#/definitions/volume-property-comment-value"
5459 }
5460 }
5461 },
5462 "statistic-alert": {
5463 "additionalProperties": false,
5464 "type": "object",
5465 "properties": {
5466 "normalized_alert_high": {
5467 "type": [
5468 "integer",
5469 "number",
5470 "null"
5471 ]
5472 },
5473 "normalized_alert_low": {
5474 "type": [
5475 "integer",
5476 "number",
5477 "null"
5478 ]
5479 },
5480 "alert_high": {
5481 "type": [
5482 "integer",
5483 "number",
5484 "null"
5485 ]
5486 },
5487 "alert_low_enabled": {
5488 "type": "boolean"
5489 },
5490 "alert_high_enabled": {
5491 "type": "boolean"
5492 },
5493 "alert_low": {
5494 "type": [
5495 "integer",
5496 "number",
5497 "null"
5498 ]
5499 }
5500 }
5501 },
5502 "power-changed": {
5503 "additionalProperties": false,
5504 "type": "object",
5505 "properties": {
5506 "operation": {
5507 "$ref": "#/definitions/power-changed-operation"
5508 }
5509 }
5510 },
5511 "update-progress-operation": {
5512 "type": "string",
5513 "enum": [
5514 "DOWNLOADING",
5515 "INSTALLING"
5516 ]
5517 },
5518 "volume-dataset": {
5519 "type": "object",
5520 "properties": {
5521 "rname": {
5522 "type": "string"
5523 },
5524 "mounted": {
5525 "type": "boolean"
5526 },
5527 "name": {
5528 "type": "string"
5529 },
5530 "volume": {
5531 "type": "string"
5532 },
5533 "properties": {
5534 "$ref": "#/definitions/volume-dataset-properties"
5535 },
5536 "type": {
5537 "$ref": "#/definitions/volume-dataset-type"
5538 },
5539 "mountpoint": {
5540 "type": [
5541 "string",
5542 "null"
5543 ],
5544 "readOnly": true
5545 },
5546 "permissions": {
5547 "$ref": "#/definitions/permissions"
5548 },
5549 "permissions_type": {
5550 "$ref": "#/definitions/volume-dataset-permissionstype"
5551 },
5552 "volsize": {
5553 "type": [
5554 "integer",
5555 "null"
5556 ]
5557 },
5558 "id": {
5559 "type": "string"
5560 },
5561 "temp_mountpoint": {
5562 "type": [
5563 "string",
5564 "null"
5565 ],
5566 "readOnly": true
5567 }
5568 }
5569 },
5570 "iso-datetime": {
5571 "type": "string",
5572 "format": "date-time"
5573 },
5574 "share-properties": {
5575 "$ref": "#/definitions/share-afp"
5576 },
5577 "share-client": {
5578 "type": "object",
5579 "properties": {
5580 "host": {
5581 "type": "string"
5582 },
5583 "share": {
5584 "type": "string"
5585 },
5586 "connected_at": {
5587 "type": [
5588 "string",
5589 "null"
5590 ]
5591 },
5592 "user": {
5593 "type": [
5594 "string",
5595 "null"
5596 ]
5597 },
5598 "extra": {
5599 "type": "object"
5600 }
5601 }
5602 },
5603 "update-ops-operation": {
5604 "type": "string",
5605 "enum": [
5606 "delete",
5607 "install",
5608 "upgrade"
5609 ]
5610 },
5611 "volume-dataset-property-usedbydataset-value": {
5612 "type": "integer",
5613 "readOnly": true
5614 },
5615 "share-iscsi-auth-type": {
5616 "type": "string",
5617 "enum": [
5618 "NONE",
5619 "DENY",
5620 "CHAP",
5621 "CHAP_MUTUAL"
5622 ]
5623 },
5624 "volume-dataset-property-numclones-value": {
5625 "type": "string",
5626 "readOnly": true
5627 },
5628 "network-lagg-port-flags-items": {
5629 "type": "string",
5630 "enum": [
5631 "SLAVE",
5632 "MASTER",
5633 "STACK",
5634 "ACTIVE",
5635 "COLLECTING",
5636 "DISTRIBUTING",
5637 "DISABLED"
5638 ]
5639 },
5640 "ntp-server": {
5641 "additionalProperties": false,
5642 "type": "object",
5643 "properties": {
5644 "maxpoll": {
5645 "type": "integer"
5646 },
5647 "burst": {
5648 "type": "boolean"
5649 },
5650 "prefer": {
5651 "type": "boolean"
5652 },
5653 "id": {
5654 "type": "string"
5655 },
5656 "iburst": {
5657 "type": "boolean"
5658 },
5659 "address": {
5660 "type": "string"
5661 },
5662 "minpoll": {
5663 "type": "integer"
5664 }
5665 }
5666 },
5667 "ui-transaction": {
5668 "type": "object",
5669 "properties": {
5670 "identifier": {
5671 "type": "string"
5672 },
5673 "sessions": {
5674 "type": "array",
5675 "items": {
5676 "type": "object",
5677 "properties": {
5678 "user": {
5679 "type": "string"
5680 },
5681 "sid": {
5682 "type": "number"
5683 },
5684 "timeout": {
5685 "type": "number"
5686 },
5687 "started-at": {
5688 "type": "number"
5689 }
5690 }
5691 }
5692 }
5693 }
5694 },
5695 "volume-property-capacity": {
5696 "additionalProperties": false,
5697 "type": "object",
5698 "properties": {
5699 "rawvalue": {
5700 "type": "string",
5701 "readOnly": true
5702 },
5703 "source": {
5704 "$ref": "#/definitions/volume-property-source"
5705 },
5706 "value": {
5707 "type": [
5708 "string",
5709 "null"
5710 ]
5711 },
5712 "parsed": {
5713 "$ref": "#/definitions/volume-property-capacity-value"
5714 }
5715 }
5716 },
5717 "volume-dataset-property-refcompressratio-value": {
5718 "type": "string",
5719 "readOnly": true
5720 },
5721 "network-interface-mediaopts-items": {
5722 "type": "string",
5723 "enum": [
5724 "AUTO",
5725 "MANUAL",
5726 "NONE",
5727 "FDX",
5728 "HDX",
5729 "FLOW",
5730 "FLAG0",
5731 "FLAG1",
5732 "FLAG2",
5733 "LOOP"
5734 ]
5735 },
5736 "volume-property-expandsize-value": {
5737 "type": "integer",
5738 "readOnly": true
5739 },
5740 "vm-device-type": {
5741 "type": "string",
5742 "enum": [
5743 "DISK",
5744 "CDROM",
5745 "NIC",
5746 "VOLUME",
5747 "GRAPHICS",
5748 "USB"
5749 ]
5750 },
5751 "volume-dataset-property-volblocksize": {
5752 "additionalProperties": false,
5753 "type": "object",
5754 "properties": {
5755 "rawvalue": {
5756 "type": "string",
5757 "readOnly": true
5758 },
5759 "source": {
5760 "$ref": "#/definitions/volume-property-source"
5761 },
5762 "value": {
5763 "type": [
5764 "string",
5765 "null"
5766 ]
5767 },
5768 "parsed": {
5769 "$ref": "#/definitions/volume-dataset-property-volblocksize-value"
5770 }
5771 }
5772 },
5773 "volume-property-leaked-value": {
5774 "type": "integer",
5775 "readOnly": true
5776 },
5777 "share-iscsi-rpm": {
5778 "type": "string",
5779 "enum": [
5780 "UNKNOWN",
5781 "SSD",
5782 "5400",
5783 "7200",
5784 "10000",
5785 "15000"
5786 ]
5787 },
5788 "service-webdav-protocol-items": {
5789 "type": "string",
5790 "enum": [
5791 "HTTP",
5792 "HTTPS"
5793 ]
5794 },
5795 "disk-device": {
5796 "type": "object",
5797 "properties": {
5798 "name": {
5799 "type": "string"
5800 },
5801 "description": {
5802 "type": "string"
5803 },
5804 "mediasize": {
5805 "type": "integer"
5806 }
5807 }
5808 },
5809 "zfs-vdev-type": {
5810 "type": "string",
5811 "enum": [
5812 "disk",
5813 "file",
5814 "mirror",
5815 "raidz1",
5816 "raidz2",
5817 "raidz3"
5818 ]
5819 },
5820 "docker-volume": {
5821 "additionalProperties": false,
5822 "type": "object",
5823 "properties": {
5824 "container_path": {
5825 "type": "string"
5826 },
5827 "host_path": {
5828 "type": "string"
5829 },
5830 "readonly": {
5831 "type": "boolean"
5832 }
5833 }
5834 },
5835 "disks-allocation-type": {
5836 "type": "string",
5837 "enum": [
5838 "BOOT",
5839 "VOLUME",
5840 "ISCSI"
5841 ]
5842 },
5843 "volume-dataset-properties": {
5844 "additionalProperties": false,
5845 "type": "object",
5846 "properties": {
5847 "available": {
5848 "$ref": "#/definitions/volume-dataset-property-available"
5849 },
5850 "refquota": {
5851 "$ref": "#/definitions/volume-dataset-property-refquota"
5852 },
5853 "logicalreferenced": {
5854 "$ref": "#/definitions/volume-dataset-property-logicalreferenced"
5855 },
5856 "quota": {
5857 "$ref": "#/definitions/volume-dataset-property-quota"
5858 },
5859 "logicalused": {
5860 "$ref": "#/definitions/volume-dataset-property-logicalused"
5861 },
5862 "compressratio": {
5863 "$ref": "#/definitions/volume-dataset-property-compressratio"
5864 },
5865 "refreservation": {
5866 "$ref": "#/definitions/volume-dataset-property-refreservation"
5867 },
5868 "dedup": {
5869 "$ref": "#/definitions/volume-dataset-property-dedup"
5870 },
5871 "volsize": {
5872 "$ref": "#/definitions/volume-dataset-property-volsize"
5873 },
5874 "usedbychildren": {
5875 "$ref": "#/definitions/volume-dataset-property-usedbychildren"
5876 },
5877 "referenced": {
5878 "$ref": "#/definitions/volume-dataset-property-referenced"
5879 },
5880 "written": {
5881 "$ref": "#/definitions/volume-dataset-property-written"
5882 },
5883 "usedbyrefreservation": {
5884 "$ref": "#/definitions/volume-dataset-property-usedbyrefreservation"
5885 },
5886 "reservation": {
5887 "$ref": "#/definitions/volume-dataset-property-reservation"
5888 },
5889 "atime": {
5890 "$ref": "#/definitions/volume-dataset-property-atime"
5891 },
5892 "compression": {
5893 "$ref": "#/definitions/volume-dataset-property-compression"
5894 },
5895 "usedbydataset": {
5896 "$ref": "#/definitions/volume-dataset-property-usedbydataset"
5897 },
5898 "numclones": {
5899 "$ref": "#/definitions/volume-dataset-property-numclones"
5900 },
5901 "readonly": {
5902 "$ref": "#/definitions/volume-dataset-property-readonly"
5903 },
5904 "volblocksize": {
5905 "$ref": "#/definitions/volume-dataset-property-volblocksize"
5906 },
5907 "casesensitivity": {
5908 "$ref": "#/definitions/volume-dataset-property-casesensitivity"
5909 },
5910 "refcompressratio": {
5911 "$ref": "#/definitions/volume-dataset-property-refcompressratio"
5912 },
5913 "usedbysnapshots": {
5914 "$ref": "#/definitions/volume-dataset-property-usedbysnapshots"
5915 },
5916 "used": {
5917 "$ref": "#/definitions/volume-dataset-property-used"
5918 }
5919 }
5920 },
5921 "swap-mirror": {
5922 "type": "object",
5923 "properties": {
5924 "name": {
5925 "type": "string"
5926 },
5927 "disks": {
5928 "type": "array",
5929 "items": {
5930 "type": "string"
5931 }
5932 }
5933 }
5934 },
5935 "volume-dataset-type": {
5936 "type": "string",
5937 "enum": [
5938 "FILESYSTEM",
5939 "VOLUME"
5940 ]
5941 },
5942 "volume-snapshot-property-referenced": {
5943 "additionalProperties": false,
5944 "type": "object",
5945 "properties": {
5946 "rawvalue": {
5947 "type": "string",
5948 "readOnly": true
5949 },
5950 "source": {
5951 "$ref": "#/definitions/volume-property-source"
5952 },
5953 "value": {
5954 "type": [
5955 "string",
5956 "null"
5957 ]
5958 },
5959 "parsed": {
5960 "$ref": "#/definitions/volume-snapshot-property-referenced-value"
5961 }
5962 }
5963 },
5964 "disk-partition": {
5965 "type": "object",
5966 "properties": {
5967 "paths": {
5968 "type": "array",
5969 "items": {
5970 "type": "string"
5971 }
5972 },
5973 "mediasize": {
5974 "type": "integer"
5975 },
5976 "type": {
5977 "type": "string"
5978 },
5979 "name": {
5980 "type": "string"
5981 },
5982 "label": {
5983 "type": "string"
5984 },
5985 "uuid": {
5986 "type": "string"
5987 }
5988 }
5989 },
5990 "service-dyndns-provider": {
5991 "type": [
5992 "string",
5993 "null"
5994 ],
5995 "enum": [
5996 null,
5997 "default@majimoto.net",
5998 "default@dynsip.org",
5999 "dyndns@dyndns.org",
6000 "default@no-ip.com",
6001 "default@sitelutions.com",
6002 "default@dnsomatic.com",
6003 "default@easydns.com",
6004 "default@dhis.org",
6005 "default@zerigo.com",
6006 "default@freedns.afraid.org",
6007 "dyndns@3322.org",
6008 "ipv6tb@he.net",
6009 "default@zoneedit.com",
6010 "default@tzo.com"
6011 ]
6012 },
6013 "volume-property-health-value": {
6014 "type": "string",
6015 "enum": [
6016 "ONLINE",
6017 "DEGRADED",
6018 "FAULTED",
6019 "OFFLINE",
6020 "REMOVED",
6021 "UNAVAIL"
6022 ]
6023 },
6024 "alert-filter": {
6025 "additionalProperties": false,
6026 "type": "object",
6027 "properties": {
6028 "predicates": {
6029 "type": "array",
6030 "items": {
6031 "additionalProperties": false,
6032 "type": "object",
6033 "properties": {
6034 "property": {
6035 "type": "string",
6036 "enum": [
6037 "class",
6038 "type",
6039 "subtype",
6040 "target",
6041 "description",
6042 "severity",
6043 "active",
6044 "dismissed"
6045 ]
6046 },
6047 "operator": {
6048 "type": "string",
6049 "enum": [
6050 "==",
6051 "!=",
6052 "<=",
6053 ">=",
6054 ">",
6055 "<",
6056 "~"
6057 ]
6058 },
6059 "value": {
6060 "type": [
6061 "string",
6062 "integer",
6063 "boolean",
6064 "null"
6065 ]
6066 }
6067 }
6068 }
6069 },
6070 "parameters": {
6071 "$ref": "#/definitions/alert-emitter-email"
6072 },
6073 "emitter": {
6074 "type": "string"
6075 },
6076 "id": {
6077 "type": "string"
6078 }
6079 }
6080 },
6081 "volume-property-autoreplace-value": {
6082 "type": "boolean"
6083 },
6084 "vm-device-nic-mode": {
6085 "type": "string",
6086 "enum": [
6087 "BRIDGED",
6088 "NAT",
6089 "HOSTONLY",
6090 "MANAGEMENT"
6091 ]
6092 },
6093 "volume-dataset-property-readonly-value": {
6094 "type": "string",
6095 "readOnly": true
6096 },
6097 "volume-dataset-property-referenced-value": {
6098 "type": "integer",
6099 "readOnly": true
6100 },
6101 "network-interface-status": {
6102 "type": "object",
6103 "properties": {
6104 "link_state": {
6105 "$ref": "#/definitions/network-interface-status-linkstate"
6106 },
6107 "media_type": {
6108 "type": "string"
6109 },
6110 "members": {
6111 "type": "null"
6112 },
6113 "mtu": {
6114 "type": "integer"
6115 },
6116 "flags": {
6117 "$ref": "#/definitions/network-interface-flags"
6118 },
6119 "cloned": {
6120 "type": "boolean"
6121 },
6122 "tag": {
6123 "type": [
6124 "string",
6125 "null"
6126 ]
6127 },
6128 "nd6_flags": {
6129 "type": "array",
6130 "items": {
6131 "$ref": "#/definitions/network-interface-nd6-flag"
6132 }
6133 },
6134 "aliases": {
6135 "type": "array",
6136 "items": {
6137 "$ref": "#/definitions/network-interface-alias"
6138 }
6139 },
6140 "name": {
6141 "type": "string"
6142 },
6143 "link_address": {
6144 "type": "string"
6145 },
6146 "parent": {
6147 "type": [
6148 "string",
6149 "null"
6150 ]
6151 },
6152 "ports": {
6153 "type": "null"
6154 },
6155 "media_subtype": {
6156 "type": "string"
6157 },
6158 "media_options": {
6159 "$ref": "#/definitions/network-interface-mediaopts"
6160 },
6161 "capabilities": {
6162 "$ref": "#/definitions/network-interface-capabilities"
6163 },
6164 "dhcp": {
6165 "type": "object",
6166 "properties": {
6167 "server_name": {
6168 "type": "string"
6169 },
6170 "server_address": {
6171 "type": "string"
6172 },
6173 "lease_starts_at": {
6174 "type": "string",
6175 "format": "date-time"
6176 },
6177 "state": {
6178 "$ref": "#/definitions/network-interface-dhcp-state"
6179 },
6180 "lease_ends_at": {
6181 "type": "string",
6182 "format": "date-time"
6183 }
6184 }
6185 }
6186 }
6187 },
6188 "volume-dataset-property-readonly": {
6189 "additionalProperties": false,
6190 "type": "object",
6191 "properties": {
6192 "rawvalue": {
6193 "type": "string",
6194 "readOnly": true
6195 },
6196 "source": {
6197 "$ref": "#/definitions/volume-property-source"
6198 },
6199 "value": {
6200 "type": [
6201 "string",
6202 "null"
6203 ]
6204 },
6205 "parsed": {
6206 "$ref": "#/definitions/volume-dataset-property-readonly-value"
6207 }
6208 }
6209 },
6210 "rsync-copy": {
6211 "required": [
6212 "remote_path"
6213 ]
6214 },
6215 "service-webdav": {
6216 "additionalProperties": false,
6217 "type": "object",
6218 "properties": {
6219 "protocol": {
6220 "type": [
6221 "array"
6222 ],
6223 "items": {
6224 "$ref": "#/definitions/service-webdav-protocol-items"
6225 }
6226 },
6227 "password": {
6228 "type": "string"
6229 },
6230 "authentication": {
6231 "$ref": "#/definitions/service-webdav-authentication"
6232 },
6233 "enable": {
6234 "type": "boolean"
6235 },
6236 "https_port": {
6237 "maximum": 65535,
6238 "minimum": 1,
6239 "type": "integer"
6240 },
6241 "certificate": {
6242 "type": [
6243 "string",
6244 "null"
6245 ]
6246 },
6247 "http_port": {
6248 "maximum": 65535,
6249 "minimum": 1,
6250 "type": "integer"
6251 },
6252 "type": {
6253 "enum": [
6254 "service-webdav"
6255 ]
6256 }
6257 }
6258 },
6259 "docker-image": {
6260 "additionalProperties": false,
6261 "type": "object",
6262 "properties": {
6263 "size": {
6264 "type": "integer"
6265 },
6266 "host": {
6267 "type": [
6268 "string",
6269 "null"
6270 ]
6271 },
6272 "names": {
6273 "type": "array",
6274 "items": {
6275 "type": "string"
6276 }
6277 },
6278 "id": {
6279 "type": "string"
6280 }
6281 }
6282 },
6283 "zfs-topology": {
6284 "additionalProperties": false,
6285 "type": "object",
6286 "properties": {
6287 "cache": {
6288 "type": "array",
6289 "items": {
6290 "$ref": "#/definitions/zfs-vdev"
6291 }
6292 },
6293 "log": {
6294 "type": "array",
6295 "items": {
6296 "$ref": "#/definitions/zfs-vdev"
6297 }
6298 },
6299 "data": {
6300 "type": "array",
6301 "items": {
6302 "$ref": "#/definitions/zfs-vdev"
6303 }
6304 },
6305 "spare": {
6306 "type": "array",
6307 "items": {
6308 "$ref": "#/definitions/zfs-vdev"
6309 }
6310 }
6311 }
6312 },
6313 "volume-dataset-property-referenced": {
6314 "additionalProperties": false,
6315 "type": "object",
6316 "properties": {
6317 "rawvalue": {
6318 "type": "string",
6319 "readOnly": true
6320 },
6321 "source": {
6322 "$ref": "#/definitions/volume-property-source"
6323 },
6324 "value": {
6325 "type": [
6326 "string",
6327 "null"
6328 ]
6329 },
6330 "parsed": {
6331 "$ref": "#/definitions/volume-dataset-property-referenced-value"
6332 }
6333 }
6334 },
6335 "encrypt-plugin": {
6336 "additionalProperties": false,
6337 "type": "object",
6338 "properties": {
6339 "write_fd": {
6340 "type": "fd"
6341 },
6342 "auth_token": {
6343 "type": "string"
6344 },
6345 "renewal_interval": {
6346 "type": "integer"
6347 },
6348 "remote": {
6349 "type": "string"
6350 },
6351 "name": {
6352 "type": "string"
6353 },
6354 "buffer_size": {
6355 "type": "integer"
6356 },
6357 "read_fd": {
6358 "type": "fd"
6359 },
6360 "type": {
6361 "type": "string"
6362 }
6363 }
6364 },
6365 "zfs-dataset": {
6366 "additionalProperties": false,
6367 "type": "object",
6368 "properties": {
6369 "pool": {
6370 "type": "string"
6371 },
6372 "children": {
6373 "type": "array",
6374 "items": {
6375 "$ref": "#/definitions/zfs-dataset"
6376 }
6377 },
6378 "name": {
6379 "type": "string"
6380 },
6381 "type": {
6382 "$ref": "#/definitions/dataset-type"
6383 },
6384 "properties": {
6385 "additionalProperties": "zfs-property",
6386 "type": "object"
6387 }
6388 }
6389 },
6390 "backup-file": {
6391 "additionalProperties": false,
6392 "type": "object",
6393 "properties": {
6394 "size": {
6395 "type": "integer"
6396 },
6397 "content_type": {
6398 "type": [
6399 "string",
6400 "null"
6401 ]
6402 },
6403 "name": {
6404 "type": "string"
6405 }
6406 }
6407 },
6408 "validation-error": {
6409 "type": "array",
6410 "items": {
6411 "additionalProperties": false,
6412 "type": "object",
6413 "properties": {
6414 "message": {
6415 "type": "string"
6416 },
6417 "path": {
6418 "type": "array",
6419 "items": {
6420 "type": "string"
6421 }
6422 },
6423 "code": {
6424 "type": "integer"
6425 }
6426 }
6427 }
6428 },
6429 "network-interface-mediaopts": {
6430 "type": "array",
6431 "items": {
6432 "$ref": "#/definitions/network-interface-mediaopts-items"
6433 }
6434 },
6435 "volume-dataset-property-compressratio-value": {
6436 "type": "string",
6437 "readOnly": true
6438 },
6439 "network-route": {
6440 "additionalProperties": false,
6441 "type": "object",
6442 "properties": {
6443 "network": {
6444 "$ref": "#/definitions/ip-address"
6445 },
6446 "gateway": {
6447 "$ref": "#/definitions/ip-address"
6448 },
6449 "type": {
6450 "$ref": "#/definitions/network-route-type"
6451 },
6452 "netmask": {
6453 "type": "integer"
6454 },
6455 "id": {
6456 "type": "string"
6457 }
6458 }
6459 },
6460 "vm-device-disk-mode": {
6461 "type": "string",
6462 "enum": [
6463 "AHCI",
6464 "VIRTIO"
6465 ]
6466 },
6467 "vm-status": {
6468 "type": "object",
6469 "readOnly": true,
6470 "properties": {
6471 "state": {
6472 "$ref": "#/definitions/vm-status-state"
6473 },
6474 "management_lease": {
6475 "$ref": "#/definitions/vm-status-lease"
6476 },
6477 "nat_lease": {
6478 "$ref": "#/definitions/vm-status-lease"
6479 }
6480 }
6481 },
6482 "backup-state": {
6483 "additionalProperties": false,
6484 "type": "object",
6485 "properties": {
6486 "hostname": {
6487 "type": "string"
6488 },
6489 "dataset": {
6490 "type": "string"
6491 },
6492 "snapshots": {
6493 "type": "array",
6494 "items": {
6495 "additionalProperties": false,
6496 "type": "object",
6497 "properties": {
6498 "compression": {
6499 "$ref": "#/definitions/backup-compression-type"
6500 },
6501 "filename": {
6502 "type": "string"
6503 },
6504 "uuid": {
6505 "type": "string"
6506 },
6507 "anchor": {
6508 "type": [
6509 "string",
6510 "null"
6511 ]
6512 },
6513 "name": {
6514 "type": "string"
6515 },
6516 "incremental": {
6517 "type": "boolean"
6518 },
6519 "created_at": {
6520 "type": "string"
6521 }
6522 }
6523 }
6524 }
6525 }
6526 },
6527 "volume-snapshot-property-used": {
6528 "additionalProperties": false,
6529 "type": "object",
6530 "properties": {
6531 "rawvalue": {
6532 "type": "string",
6533 "readOnly": true
6534 },
6535 "source": {
6536 "$ref": "#/definitions/volume-property-source"
6537 },
6538 "value": {
6539 "type": [
6540 "string",
6541 "null"
6542 ]
6543 },
6544 "parsed": {
6545 "$ref": "#/definitions/volume-snapshot-property-used-value"
6546 }
6547 }
6548 },
6549 "volume-dataset-property-dedup-value": {
6550 "type": [
6551 "string",
6552 "null"
6553 ],
6554 "enum": [
6555 "on",
6556 "off",
6557 "verify",
6558 null
6559 ]
6560 },
6561 "vm-device": {
6562 "additionalProperties": false,
6563 "required": [
6564 "name",
6565 "type",
6566 "properties"
6567 ],
6568 "type": "object",
6569 "properties": {
6570 "type": {
6571 "$ref": "#/definitions/vm-device-type"
6572 },
6573 "name": {
6574 "type": "string"
6575 },
6576 "properties": {
6577 "$ref": "#/definitions/vm-device-nic"
6578 }
6579 }
6580 },
6581 "service-tftpd": {
6582 "additionalProperties": false,
6583 "type": "object",
6584 "properties": {
6585 "enable": {
6586 "type": "boolean"
6587 },
6588 "username": {
6589 "type": "string"
6590 },
6591 "auxiliary": {
6592 "type": "string"
6593 },
6594 "path": {
6595 "type": "string"
6596 },
6597 "umask": {
6598 "$ref": "#/definitions/unix-permissions"
6599 },
6600 "type": {
6601 "enum": [
6602 "service-tftpd"
6603 ]
6604 },
6605 "allow_new_files": {
6606 "type": "boolean"
6607 },
6608 "port": {
6609 "type": "integer"
6610 }
6611 }
6612 },
6613 "replication-link": {
6614 "additionalProperties": false,
6615 "type": "object",
6616 "properties": {
6617 "datasets": {
6618 "type": "array",
6619 "items": {
6620 "type": "string"
6621 }
6622 },
6623 "recursive": {
6624 "type": "boolean"
6625 },
6626 "master": {
6627 "type": "string"
6628 },
6629 "name": {
6630 "type": "string"
6631 },
6632 "replicate_services": {
6633 "type": "boolean"
6634 },
6635 "status": {
6636 "$ref": "#/definitions/replication-status"
6637 },
6638 "bidirectional": {
6639 "type": "boolean"
6640 },
6641 "partners": {
6642 "type": "array",
6643 "items": {
6644 "type": "string"
6645 }
6646 },
6647 "id": {
6648 "type": "string"
6649 },
6650 "update_date": {
6651 "type": "string"
6652 },
6653 "auto_recover": {
6654 "type": "boolean"
6655 },
6656 "initial_master": {
6657 "type": "string"
6658 }
6659 }
6660 },
6661 "system-ui": {
6662 "additionalProperties": false,
6663 "type": "object",
6664 "properties": {
6665 "webui_http_port": {
6666 "type": "integer"
6667 },
6668 "webui_listen": {
6669 "type": [
6670 "array"
6671 ],
6672 "items": {
6673 "$ref": "#/definitions/ip-address"
6674 }
6675 },
6676 "webui_http_redirect_https": {
6677 "type": "boolean"
6678 },
6679 "webui_protocol": {
6680 "type": [
6681 "array"
6682 ],
6683 "items": {
6684 "$ref": "#/definitions/system-ui-webuiprotocol-items"
6685 }
6686 },
6687 "webui_https_certificate": {
6688 "type": [
6689 "string",
6690 "null"
6691 ]
6692 },
6693 "webui_https_port": {
6694 "type": "integer"
6695 }
6696 }
6697 },
6698 "alert-emitter-email": {
6699 "additionalProperties": false,
6700 "type": "object",
6701 "properties": {
6702 "addresses": {
6703 "type": "array",
6704 "items": {
6705 "type": "string"
6706 }
6707 },
6708 "type": {
6709 "enum": [
6710 "alert-emitter-email"
6711 ]
6712 }
6713 }
6714 },
6715 "permissions": {
6716 "type": "object",
6717 "properties": {
6718 "modes": {
6719 "$ref": "#/definitions/unix-permissions"
6720 },
6721 "user": {
6722 "type": [
6723 "string",
6724 "null"
6725 ]
6726 },
6727 "group": {
6728 "type": [
6729 "string",
6730 "null"
6731 ]
6732 },
6733 "acl": {
6734 "type": [
6735 "array",
6736 "null"
6737 ],
6738 "items": {
6739 "$ref": "#/definitions/acl-entry"
6740 }
6741 }
6742 }
6743 },
6744 "compress-plugin-level": {
6745 "type": "string",
6746 "enum": [
6747 "FAST",
6748 "DEFAULT",
6749 "BEST"
6750 ]
6751 },
6752 "ipmi": {
6753 "additionalProperties": false,
6754 "type": "object",
6755 "properties": {
6756 "password": {
6757 "type": "string",
6758 "maxLength": 20
6759 },
6760 "id": {
6761 "type": "integer"
6762 },
6763 "vlan_id": {
6764 "type": [
6765 "integer",
6766 "null"
6767 ]
6768 },
6769 "address": {
6770 "$ref": "#/definitions/ipv4-address"
6771 },
6772 "gateway": {
6773 "$ref": "#/definitions/ipv4-address"
6774 },
6775 "netmask": {
6776 "type": "integer"
6777 },
6778 "dhcp": {
6779 "type": "boolean"
6780 }
6781 }
6782 },
6783 "crypto-certificate-digestalgorithm": {
6784 "type": "string",
6785 "enum": [
6786 "SHA1",
6787 "SHA224",
6788 "SHA256",
6789 "SHA384",
6790 "SHA512"
6791 ]
6792 },
6793 "volume-property-leaked": {
6794 "additionalProperties": false,
6795 "type": "object",
6796 "properties": {
6797 "rawvalue": {
6798 "type": "string",
6799 "readOnly": true
6800 },
6801 "source": {
6802 "$ref": "#/definitions/volume-property-source"
6803 },
6804 "value": {
6805 "type": [
6806 "string",
6807 "null"
6808 ]
6809 },
6810 "parsed": {
6811 "$ref": "#/definitions/volume-property-leaked-value"
6812 }
6813 }
6814 },
6815 "service-simulator": {
6816 "additionalProperties": false,
6817 "type": "object",
6818 "properties": {
6819 "type": {
6820 "enum": [
6821 "service-simulator"
6822 ]
6823 },
6824 "enable": {
6825 "type": "boolean"
6826 }
6827 }
6828 },
6829 "volume-dataset-property-logicalused": {
6830 "additionalProperties": false,
6831 "type": "object",
6832 "properties": {
6833 "rawvalue": {
6834 "type": "string",
6835 "readOnly": true
6836 },
6837 "source": {
6838 "$ref": "#/definitions/volume-property-source"
6839 },
6840 "value": {
6841 "type": [
6842 "string",
6843 "null"
6844 ]
6845 },
6846 "parsed": {
6847 "$ref": "#/definitions/volume-dataset-property-logicalused-value"
6848 }
6849 }
6850 },
6851 "crypto-certificate": {
6852 "additionalProperties": false,
6853 "type": "object",
6854 "properties": {
6855 "selfsigned": {
6856 "type": "boolean"
6857 },
6858 "valid_from": {
6859 "type": [
6860 "string",
6861 "null"
6862 ],
6863 "readOnly": true
6864 },
6865 "certificate_path": {
6866 "type": [
6867 "string",
6868 "null"
6869 ],
6870 "readOnly": true
6871 },
6872 "state": {
6873 "type": "string"
6874 },
6875 "lifetime": {
6876 "type": "integer"
6877 },
6878 "type": {
6879 "$ref": "#/definitions/crypto-certificate-type"
6880 },
6881 "not_before": {
6882 "type": "string"
6883 },
6884 "key_length": {
6885 "type": "integer"
6886 },
6887 "organization": {
6888 "type": "string"
6889 },
6890 "signing_ca_name": {
6891 "type": "string"
6892 },
6893 "csr_path": {
6894 "type": [
6895 "string",
6896 "null"
6897 ],
6898 "readOnly": true
6899 },
6900 "privatekey": {
6901 "type": [
6902 "string",
6903 "null"
6904 ]
6905 },
6906 "dn": {
6907 "type": "string",
6908 "readOnly": true
6909 },
6910 "city": {
6911 "type": "string"
6912 },
6913 "email": {
6914 "type": "string"
6915 },
6916 "common": {
6917 "type": "string"
6918 },
6919 "certificate": {
6920 "type": [
6921 "string",
6922 "null"
6923 ]
6924 },
6925 "signing_ca_id": {
6926 "type": "string"
6927 },
6928 "serial": {
6929 "type": [
6930 "integer",
6931 "null"
6932 ]
6933 },
6934 "name": {
6935 "type": "string"
6936 },
6937 "digest_algorithm": {
6938 "$ref": "#/definitions/crypto-certificate-digestalgorithm"
6939 },
6940 "not_after": {
6941 "type": "string"
6942 },
6943 "csr": {
6944 "type": "string"
6945 },
6946 "valid_until": {
6947 "type": [
6948 "string",
6949 "null"
6950 ],
6951 "readOnly": true
6952 },
6953 "country": {
6954 "type": "string"
6955 },
6956 "privatekey_path": {
6957 "type": [
6958 "string",
6959 "null"
6960 ],
6961 "readOnly": true
6962 }
6963 }
6964 },
6965 "system-ui-webuiprotocol-items": {
6966 "type": "string",
6967 "enum": [
6968 "HTTP",
6969 "HTTPS"
6970 ]
6971 },
6972 "volume-property-version": {
6973 "additionalProperties": false,
6974 "type": "object",
6975 "properties": {
6976 "rawvalue": {
6977 "type": "string",
6978 "readOnly": true
6979 },
6980 "source": {
6981 "$ref": "#/definitions/volume-property-source"
6982 },
6983 "value": {
6984 "type": [
6985 "string",
6986 "null"
6987 ]
6988 },
6989 "parsed": {
6990 "$ref": "#/definitions/volume-property-version-value"
6991 }
6992 }
6993 },
6994 "calendar-task-status": {
6995 "type": "object",
6996 "properties": {
6997 "last_run_status": {
6998 "type": "string"
6999 },
7000 "current_run_progress": {
7001 "type": [
7002 "object",
7003 "null"
7004 ]
7005 },
7006 "current_run_status": {
7007 "type": [
7008 "string",
7009 "null"
7010 ]
7011 },
7012 "next_run_time": {
7013 "type": "string"
7014 }
7015 }
7016 },
7017 "alert-class": {
7018 "additionalProperties": {
7019 "additionalProperties": false,
7020 "type": "object",
7021 "properties": {
7022 "severity": {
7023 "$ref": "#/definitions/alert-severity"
7024 },
7025 "subtype": {
7026 "type": "string"
7027 },
7028 "type": {
7029 "type": "string"
7030 },
7031 "id": {
7032 "$ref": "#/definitions/alert-class-id"
7033 }
7034 }
7035 },
7036 "type": "object"
7037 },
7038 "update-info": {
7039 "type": "object",
7040 "properties": {
7041 "notice": {
7042 "type": "string"
7043 },
7044 "notes": {
7045 "type": "object"
7046 },
7047 "changelog": {
7048 "type": "array",
7049 "items": {
7050 "type": "string"
7051 }
7052 },
7053 "operations": {
7054 "$ref": "#/definitions/update-ops"
7055 },
7056 "downloaded": {
7057 "type": "boolean"
7058 }
7059 }
7060 },
7061 "disk-acousticlevel": {
7062 "type": "string",
7063 "enum": [
7064 "DISABLED",
7065 "MINIMUM",
7066 "MEDIUM",
7067 "MAXIMUM"
7068 ]
7069 },
7070 "backup-properties": {
7071 "$ref": "#/definitions/backup-ssh"
7072 },
7073 "rusage": {
7074 "type": "object",
7075 "properties": {
7076 "ru_stime": {
7077 "type": "number"
7078 },
7079 "ru_nsignals": {
7080 "type": "number"
7081 },
7082 "ru_inblock": {
7083 "type": "number"
7084 },
7085 "ru_ixrss": {
7086 "type": "number"
7087 },
7088 "ru_idrss": {
7089 "type": "number"
7090 },
7091 "ru_oublock": {
7092 "type": "number"
7093 },
7094 "ru_nvcsw": {
7095 "type": "number"
7096 },
7097 "ru_nswap": {
7098 "type": "number"
7099 },
7100 "ru_maxrss": {
7101 "type": "number"
7102 },
7103 "ru_minflt": {
7104 "type": "number"
7105 },
7106 "ru_utime": {
7107 "type": "number"
7108 },
7109 "ru_isrss": {
7110 "type": "number"
7111 },
7112 "ru_msgsnd": {
7113 "type": "number"
7114 },
7115 "ru_nivcsw": {
7116 "type": "number"
7117 },
7118 "ru_msgrcv": {
7119 "type": "number"
7120 },
7121 "ru_majflt": {
7122 "type": "number"
7123 }
7124 }
7125 },
7126 "zfs-vdev": {
7127 "additionalProperties": false,
7128 "type": "object",
7129 "properties": {
7130 "guid": {
7131 "type": "string"
7132 },
7133 "status": {
7134 "type": "string",
7135 "readOnly": true
7136 },
7137 "type": {
7138 "$ref": "#/definitions/zfs-vdev-type"
7139 },
7140 "children": {
7141 "type": "array",
7142 "items": {
7143 "$ref": "#/definitions/zfs-vdev"
7144 }
7145 },
7146 "path": {
7147 "type": [
7148 "string",
7149 "null"
7150 ]
7151 },
7152 "stats": {
7153 "type": "object",
7154 "readOnly": true
7155 }
7156 }
7157 },
7158 "service-smb-loglevel": {
7159 "type": "string",
7160 "enum": [
7161 "NONE",
7162 "MINIMUM",
7163 "NORMAL",
7164 "FULL",
7165 "DEBUG"
7166 ]
7167 },
7168 "vm-device-usb": {
7169 "additionalProperties": false,
7170 "type": "object",
7171 "properties": {
7172 "device": {
7173 "$ref": "#/definitions/vm-device-usb-device"
7174 },
7175 "config": {
7176 "type": "object"
7177 }
7178 }
7179 },
7180 "volume-dataset-property-used-value": {
7181 "type": "integer",
7182 "readOnly": true
7183 },
7184 "service-ups-shutdownmode": {
7185 "type": "string",
7186 "enum": [
7187 "LOWBATT",
7188 "BATT"
7189 ]
7190 },
7191 "vm-device-graphics-resolution": {
7192 "type": "string",
7193 "enum": [
7194 "1920x1200",
7195 "1920x1080",
7196 "1600x1200",
7197 "1600x900",
7198 "1280x1024",
7199 "1280x720",
7200 "1024x768",
7201 "800x600",
7202 "640x480"
7203 ]
7204 },
7205 "replication": {
7206 "additionalProperties": false,
7207 "type": "object",
7208 "properties": {
7209 "followdelete": {
7210 "type": "boolean"
7211 },
7212 "transport_plugins": {
7213 "$ref": "#/definitions/replication-transport-plugin"
7214 },
7215 "recursive": {
7216 "type": "boolean"
7217 },
7218 "remote": {
7219 "type": "string"
7220 },
7221 "lifetime": {
7222 "type": [
7223 "number",
7224 "null"
7225 ]
7226 },
7227 "remote_dataset": {
7228 "type": "string"
7229 }
7230 }
7231 },
7232 "snapshot-info-type": {
7233 "type": "string",
7234 "enum": [
7235 "FILESYSTEM",
7236 "VOLUME"
7237 ]
7238 },
7239 "ldap-config": {
7240 "type": "object",
7241 "properties": {
7242 "binddn": {
7243 "type": "string"
7244 },
7245 "hostname": {
7246 "type": "string"
7247 },
7248 "bindpw": {
7249 "type": "string"
7250 }
7251 }
7252 },
7253 "network-interface": {
7254 "additionalProperties": false,
7255 "type": "object",
7256 "properties": {
7257 "noipv6": {
7258 "type": "boolean"
7259 },
7260 "vlan": {
7261 "additionalProperties": false,
7262 "type": "object",
7263 "properties": {
7264 "tag": {
7265 "maximum": 4095,
7266 "minimum": 1,
7267 "type": [
7268 "integer",
7269 "null"
7270 ]
7271 },
7272 "parent": {
7273 "type": [
7274 "string",
7275 "null"
7276 ]
7277 }
7278 }
7279 },
7280 "id": {
7281 "type": "string"
7282 },
7283 "mtu": {
7284 "type": [
7285 "integer",
7286 "null"
7287 ]
7288 },
7289 "status": {
7290 "$ref": "#/definitions/network-interface-status"
7291 },
7292 "enabled": {
7293 "type": "boolean"
7294 },
7295 "rtadv": {
7296 "type": "boolean"
7297 },
7298 "name": {
7299 "type": [
7300 "string",
7301 "null"
7302 ]
7303 },
7304 "mediaopts": {
7305 "$ref": "#/definitions/network-interface-mediaopts"
7306 },
7307 "updated_at": {
7308 "type": "string",
7309 "format": "date-time"
7310 },
7311 "created_at": {
7312 "type": "string",
7313 "format": "date-time"
7314 },
7315 "bridge": {
7316 "additionalProperties": false,
7317 "type": "object",
7318 "properties": {
7319 "members": {
7320 "type": "array",
7321 "items": {
7322 "type": "string"
7323 }
7324 }
7325 }
7326 },
7327 "media": {
7328 "type": [
7329 "string",
7330 "null"
7331 ]
7332 },
7333 "aliases": {
7334 "type": "array",
7335 "items": {
7336 "$ref": "#/definitions/network-interface-alias"
7337 }
7338 },
7339 "lagg": {
7340 "additionalProperties": false,
7341 "type": "object",
7342 "properties": {
7343 "protocol": {
7344 "$ref": "#/definitions/network-aggregation-protocols"
7345 },
7346 "ports": {
7347 "type": "array",
7348 "items": {
7349 "type": "string"
7350 }
7351 }
7352 }
7353 },
7354 "type": {
7355 "$ref": "#/definitions/network-interface-type"
7356 },
7357 "capabilities": {
7358 "additionalProperties": false,
7359 "type": "object",
7360 "properties": {
7361 "add": {
7362 "$ref": "#/definitions/network-interface-capabilities"
7363 },
7364 "del": {
7365 "$ref": "#/definitions/network-interface-capabilities"
7366 }
7367 }
7368 },
7369 "dhcp": {
7370 "type": "boolean"
7371 }
7372 }
7373 },
7374 "service-iscsi": {
7375 "additionalProperties": false,
7376 "type": "object",
7377 "properties": {
7378 "pool_space_threshold": {
7379 "type": [
7380 "integer",
7381 "null"
7382 ]
7383 },
7384 "type": {
7385 "enum": [
7386 "service-iscsi"
7387 ]
7388 },
7389 "isns_servers": {
7390 "type": "array",
7391 "items": {
7392 "type": "string"
7393 }
7394 },
7395 "enable": {
7396 "type": "boolean"
7397 },
7398 "base_name": {
7399 "type": "string"
7400 }
7401 }
7402 },
7403 "volume-dataset-property-usedbysnapshots-value": {
7404 "type": "integer",
7405 "readOnly": true
7406 },
7407 "directoryservice-config": {
7408 "type": "object",
7409 "properties": {
7410 "search_order": {
7411 "type": "array",
7412 "items": {
7413 "type": "string"
7414 }
7415 },
7416 "cache_lookups": {
7417 "type": "boolean"
7418 },
7419 "cache_enumerations": {
7420 "type": "boolean"
7421 },
7422 "cache_ttl": {
7423 "type": "integer"
7424 }
7425 }
7426 },
7427 "share-iscsi-user": {
7428 "additionalProperties": false,
7429 "type": "object",
7430 "properties": {
7431 "peer_name": {
7432 "type": [
7433 "string",
7434 "null"
7435 ]
7436 },
7437 "peer_secret": {
7438 "minLength": 12,
7439 "type": [
7440 "string",
7441 "null"
7442 ],
7443 "maxLength": 16
7444 },
7445 "name": {
7446 "type": "string"
7447 },
7448 "secret": {
7449 "minLength": 12,
7450 "type": "string",
7451 "maxLength": 16
7452 }
7453 }
7454 },
7455 "replication-credentials": {
7456 "additionalProperties": false,
7457 "type": "object",
7458 "properties": {
7459 "pubkey": {
7460 "type": "string"
7461 },
7462 "hostkey": {
7463 "type": "string"
7464 },
7465 "type": {
7466 "enum": [
7467 "replication"
7468 ]
7469 },
7470 "port": {
7471 "type": "number"
7472 }
7473 }
7474 },
7475 "ipv4-address": {
7476 "type": "string",
7477 "format": "ipv4"
7478 },
7479 "alert-class-id": {
7480 "type": "string",
7481 "enum": [
7482 "SystemShutdown",
7483 "UpdateAvailable",
7484 "UpdateDownloaded",
7485 "UpdateInstalled",
7486 "SystemReboot",
7487 "VolumeDegraded",
7488 "VolumeUpgradePossible",
7489 "UserMessage",
7490 "DiskControllerFirmwareMismatch"
7491 ]
7492 },
7493 "share-iscsi-portal": {
7494 "additionalProperties": false,
7495 "type": "object",
7496 "properties": {
7497 "tag": {
7498 "type": "integer"
7499 },
7500 "discovery_auth_group": {
7501 "type": "string"
7502 },
7503 "description": {
7504 "type": "string"
7505 },
7506 "listen": {
7507 "$ref": "#/definitions/share-iscsi-portal-listen"
7508 },
7509 "id": {
7510 "type": "string"
7511 }
7512 }
7513 },
7514 "replication-status": {
7515 "additionalProperties": false,
7516 "type": "object",
7517 "properties": {
7518 "size": {
7519 "type": "number"
7520 },
7521 "message": {
7522 "type": "string"
7523 },
7524 "status": {
7525 "type": "string"
7526 },
7527 "speed": {
7528 "type": "number"
7529 }
7530 }
7531 },
7532 "volume-property-source": {
7533 "type": "string",
7534 "enum": [
7535 "NONE",
7536 "DEFAULT",
7537 "LOCAL",
7538 "INHERITED"
7539 ]
7540 },
7541 "service-smb-maxprotocol": {
7542 "type": "string",
7543 "enum": [
7544 "CORE",
7545 "COREPLUS",
7546 "LANMAN1",
7547 "LANMAN2",
7548 "NT1",
7549 "SMB2",
7550 "SMB2_02",
7551 "SMB2_10",
7552 "SMB2_22",
7553 "SMB2_24",
7554 "SMB3",
7555 "SMB3_00"
7556 ]
7557 },
7558 "system-advanced-serialspeed": {
7559 "type": "integer",
7560 "enum": [
7561 110,
7562 300,
7563 600,
7564 1200,
7565 2400,
7566 4800,
7567 9600,
7568 14400,
7569 19200,
7570 38400,
7571 57600,
7572 115200
7573 ]
7574 },
7575 "service-lldp": {
7576 "additionalProperties": false,
7577 "type": "object",
7578 "properties": {
7579 "location": {
7580 "type": [
7581 "string",
7582 "null"
7583 ]
7584 },
7585 "save_description": {
7586 "type": "boolean"
7587 },
7588 "type": {
7589 "enum": [
7590 "service-lldp"
7591 ]
7592 },
7593 "country_code": {
7594 "type": [
7595 "string",
7596 "null"
7597 ]
7598 },
7599 "enable": {
7600 "type": "boolean"
7601 }
7602 }
7603 },
7604 "volume-property-failmode-value": {
7605 "type": "string",
7606 "enum": [
7607 "wait",
7608 "continue",
7609 "panic"
7610 ]
7611 },
7612 "share-afp": {
7613 "additionalProperties": false,
7614 "type": "object",
7615 "properties": {
7616 "default_directory_perms": {
7617 "$ref": "#/definitions/unix-permissions"
7618 },
7619 "users_allow": {
7620 "type": [
7621 "array",
7622 "null"
7623 ],
7624 "items": {
7625 "type": "string"
7626 }
7627 },
7628 "time_machine": {
7629 "type": "boolean"
7630 },
7631 "ro_groups": {
7632 "type": [
7633 "array",
7634 "null"
7635 ],
7636 "items": {
7637 "type": "string"
7638 }
7639 },
7640 "comment": {
7641 "type": "string"
7642 },
7643 "default_umask": {
7644 "$ref": "#/definitions/unix-permissions"
7645 },
7646 "ro_users": {
7647 "type": [
7648 "array",
7649 "null"
7650 ],
7651 "items": {
7652 "type": "string"
7653 }
7654 },
7655 "type": {
7656 "enum": [
7657 "share-afp"
7658 ]
7659 },
7660 "groups_allow": {
7661 "type": [
7662 "array",
7663 "null"
7664 ],
7665 "items": {
7666 "type": "string"
7667 }
7668 },
7669 "users_deny": {
7670 "type": [
7671 "array",
7672 "null"
7673 ],
7674 "items": {
7675 "type": "string"
7676 }
7677 },
7678 "rw_groups": {
7679 "type": [
7680 "array",
7681 "null"
7682 ],
7683 "items": {
7684 "type": "string"
7685 }
7686 },
7687 "zero_dev_numbers": {
7688 "type": "boolean"
7689 },
7690 "afp3_privileges": {
7691 "type": "boolean"
7692 },
7693 "default_file_perms": {
7694 "$ref": "#/definitions/unix-permissions"
7695 },
7696 "groups_deny": {
7697 "type": [
7698 "array",
7699 "null"
7700 ],
7701 "items": {
7702 "type": "string"
7703 }
7704 },
7705 "hosts_allow": {
7706 "type": [
7707 "array",
7708 "null"
7709 ],
7710 "items": {
7711 "type": "string"
7712 }
7713 },
7714 "hosts_deny": {
7715 "type": [
7716 "array",
7717 "null"
7718 ],
7719 "items": {
7720 "type": "string"
7721 }
7722 },
7723 "read_only": {
7724 "type": "boolean"
7725 },
7726 "rw_users": {
7727 "type": [
7728 "array",
7729 "null"
7730 ],
7731 "items": {
7732 "type": "string"
7733 }
7734 },
7735 "no_stat": {
7736 "type": "boolean"
7737 }
7738 }
7739 },
7740 "kerberos-keytab": {
7741 "type": "object",
7742 "properties": {
7743 "keytab": {
7744 "type": "binary"
7745 },
7746 "name": {
7747 "type": "string"
7748 },
7749 "entries": {
7750 "type": "array",
7751 "items": {
7752 "$ref": "#/definitions/kerberos-keytab-entry"
7753 }
7754 },
7755 "id": {
7756 "type": "string"
7757 }
7758 }
7759 },
7760 "volume-property-expandsize": {
7761 "additionalProperties": false,
7762 "type": "object",
7763 "properties": {
7764 "rawvalue": {
7765 "type": "string",
7766 "readOnly": true
7767 },
7768 "source": {
7769 "$ref": "#/definitions/volume-property-source"
7770 },
7771 "value": {
7772 "type": [
7773 "string",
7774 "null"
7775 ]
7776 },
7777 "parsed": {
7778 "$ref": "#/definitions/volume-property-expandsize-value"
7779 }
7780 }
7781 },
7782 "disk-selftest-type": {
7783 "type": "string",
7784 "enum": [
7785 "SHORT",
7786 "LONG",
7787 "CONVEYANCE",
7788 "OFFLINE"
7789 ]
7790 },
7791 "unix-permissions": {
7792 "type": "object",
7793 "properties": {
7794 "group": {
7795 "$ref": "#/definitions/unix-mode-tuple"
7796 },
7797 "user": {
7798 "$ref": "#/definitions/unix-mode-tuple"
7799 },
7800 "others": {
7801 "$ref": "#/definitions/unix-mode-tuple"
7802 },
7803 "value": {
7804 "type": [
7805 "integer",
7806 "null"
7807 ]
7808 }
7809 }
7810 },
7811 "share-webdav": {
7812 "additionalProperties": false,
7813 "type": "object",
7814 "properties": {
7815 "read_only": {
7816 "type": "boolean"
7817 },
7818 "type": {
7819 "enum": [
7820 "share-webdav"
7821 ]
7822 },
7823 "permission": {
7824 "type": "boolean"
7825 }
7826 }
7827 },
7828 "volume-providerspresence": {
7829 "type": "string",
7830 "enum": [
7831 "ALL",
7832 "PART",
7833 "NONE"
7834 ]
7835 },
7836 "zfs-pool-status": {
7837 "type": "string",
7838 "enum": [
7839 "ONLINE",
7840 "OFFLINE",
7841 "DEGRADED",
7842 "FAULTED",
7843 "REMOVED",
7844 "UNAVAIL"
7845 ]
7846 },
7847 "service-sshd-sftploglevel": {
7848 "type": "string",
7849 "enum": [
7850 "QUIET",
7851 "FATAL",
7852 "ERROR",
7853 "INFO",
7854 "VERBOSE",
7855 "DEBUG",
7856 "DEBUG2",
7857 "DEBUG3"
7858 ]
7859 },
7860 "mail": {
7861 "additionalProperties": false,
7862 "type": "object",
7863 "properties": {
7864 "pass": {
7865 "type": [
7866 "string",
7867 "null"
7868 ]
7869 },
7870 "server": {
7871 "type": "string"
7872 },
7873 "auth": {
7874 "type": "boolean"
7875 },
7876 "from": {
7877 "type": "string"
7878 },
7879 "user": {
7880 "type": [
7881 "string",
7882 "null"
7883 ]
7884 },
7885 "encryption": {
7886 "type": "string",
7887 "enum": [
7888 "PLAIN",
7889 "TLS",
7890 "SSL"
7891 ]
7892 },
7893 "port": {
7894 "type": "integer"
7895 }
7896 }
7897 },
7898 "network-interface-capabilities": {
7899 "type": "array",
7900 "items": {
7901 "$ref": "#/definitions/network-interface-capabilities-items"
7902 }
7903 },
7904 "volume-dataset-permissionstype": {
7905 "type": "string",
7906 "enum": [
7907 "PERM",
7908 "ACL"
7909 ]
7910 },
7911 "acl-entry-tag": {
7912 "type": "string",
7913 "enum": [
7914 "USER_OBJ",
7915 "USER",
7916 "GROUP_OBJ",
7917 "GROUP",
7918 "MASK",
7919 "OTHER",
7920 "EVERYONE"
7921 ]
7922 },
7923 "network-interface-type": {
7924 "type": "string",
7925 "enum": [
7926 "LOOPBACK",
7927 "ETHER",
7928 "VLAN",
7929 "BRIDGE",
7930 "LAGG"
7931 ]
7932 },
7933 "rsync-copy-rsyncmode": {
7934 "type": "string",
7935 "enum": [
7936 "MODULE",
7937 "SSH"
7938 ]
7939 },
7940 "volume-dataset-property-refreservation-value": {
7941 "type": [
7942 "integer",
7943 "null"
7944 ]
7945 },
7946 "share-nfs-security-items": {
7947 "type": "string",
7948 "enum": [
7949 "sys",
7950 "krb5",
7951 "krb5i",
7952 "krb5p"
7953 ]
7954 },
7955 "volume-property-autoreplace": {
7956 "additionalProperties": false,
7957 "type": "object",
7958 "properties": {
7959 "rawvalue": {
7960 "type": "string",
7961 "readOnly": true
7962 },
7963 "source": {
7964 "$ref": "#/definitions/volume-property-source"
7965 },
7966 "value": {
7967 "type": [
7968 "string",
7969 "null"
7970 ]
7971 },
7972 "parsed": {
7973 "$ref": "#/definitions/volume-property-autoreplace-value"
7974 }
7975 }
7976 },
7977 "update-train": {
7978 "type": "object",
7979 "properties": {
7980 "current": {
7981 "type": "boolean"
7982 },
7983 "name": {
7984 "type": "string"
7985 },
7986 "sequence": {
7987 "type": "string"
7988 },
7989 "description": {
7990 "type": "string"
7991 }
7992 }
7993 },
7994 "network-interface-alias-type": {
7995 "type": "string",
7996 "enum": [
7997 "INET",
7998 "INET6"
7999 ]
8000 },
8001 "peer-credentials": {
8002 "$ref": "#/definitions/replication-credentials"
8003 },
8004 "volume-property-free-value": {
8005 "type": "integer",
8006 "readOnly": true
8007 },
8008 "volume-snapshot-property-compressratio": {
8009 "additionalProperties": false,
8010 "type": "object",
8011 "properties": {
8012 "rawvalue": {
8013 "type": "string",
8014 "readOnly": true
8015 },
8016 "source": {
8017 "$ref": "#/definitions/volume-property-source"
8018 },
8019 "value": {
8020 "type": [
8021 "string",
8022 "null"
8023 ]
8024 },
8025 "parsed": {
8026 "$ref": "#/definitions/volume-snapshot-property-compressratio-value"
8027 }
8028 }
8029 },
8030 "volume-dataset-property-compression-value": {
8031 "type": [
8032 "string",
8033 "null"
8034 ],
8035 "enum": [
8036 "on",
8037 "off",
8038 "lzjb",
8039 "zle",
8040 "lz4",
8041 "gzip",
8042 "gzip-1",
8043 "gzip-2",
8044 "gzip-3",
8045 "gzip-4",
8046 "gzip-5",
8047 "gzip-6",
8048 "gzip-7",
8049 "gzip-8",
8050 "gzip-9",
8051 null
8052 ]
8053 },
8054 "vm": {
8055 "additionalProperties": false,
8056 "type": "object",
8057 "properties": {
8058 "id": {
8059 "type": "string"
8060 },
8061 "immutable": {
8062 "type": "boolean"
8063 },
8064 "description": {
8065 "type": "string"
8066 },
8067 "config": {
8068 "additionalProperties": false,
8069 "type": "object",
8070 "properties": {
8071 "autostart": {
8072 "type": "boolean"
8073 },
8074 "vnc_password": {
8075 "type": [
8076 "string",
8077 "null"
8078 ]
8079 },
8080 "boot_device": {
8081 "type": [
8082 "string",
8083 "null"
8084 ]
8085 },
8086 "bootloader": {
8087 "$ref": "#/definitions/vm-config-bootloader"
8088 },
8089 "boot_directory": {
8090 "type": [
8091 "string",
8092 "null"
8093 ]
8094 },
8095 "ncpus": {
8096 "type": "integer"
8097 },
8098 "memsize": {
8099 "type": "integer"
8100 },
8101 "cloud_init": {
8102 "type": [
8103 "string",
8104 "null"
8105 ]
8106 },
8107 "docker_host": {
8108 "type": "boolean"
8109 },
8110 "boot_partition": {
8111 "type": [
8112 "string",
8113 "null"
8114 ]
8115 }
8116 }
8117 },
8118 "enabled": {
8119 "type": "boolean"
8120 },
8121 "guest_type": {
8122 "$ref": "#/definitions/vm-guest-type"
8123 },
8124 "status": {
8125 "$ref": "#/definitions/vm-status"
8126 },
8127 "devices": {
8128 "type": "array",
8129 "items": {
8130 "$ref": "#/definitions/vm-device"
8131 }
8132 },
8133 "name": {
8134 "type": "string"
8135 },
8136 "template": {
8137 "type": [
8138 "object",
8139 "null"
8140 ],
8141 "properties": {
8142 "path": {
8143 "type": "string"
8144 },
8145 "readme": {
8146 "type": [
8147 "string",
8148 "null"
8149 ]
8150 },
8151 "name": {
8152 "type": "string"
8153 },
8154 "cached": {
8155 "type": "boolean"
8156 }
8157 }
8158 },
8159 "target": {
8160 "type": "string"
8161 }
8162 }
8163 },
8164 "volume-dataset-property-reservation": {
8165 "additionalProperties": false,
8166 "type": "object",
8167 "properties": {
8168 "rawvalue": {
8169 "type": "string",
8170 "readOnly": true
8171 },
8172 "source": {
8173 "$ref": "#/definitions/volume-property-source"
8174 },
8175 "value": {
8176 "type": [
8177 "string",
8178 "null"
8179 ]
8180 },
8181 "parsed": {
8182 "$ref": "#/definitions/volume-dataset-property-reservation-value"
8183 }
8184 }
8185 },
8186 "service-ftp-tlspolicy": {
8187 "type": "string",
8188 "enum": [
8189 "ON",
8190 "OFF",
8191 "DATA",
8192 "!DATA",
8193 "AUTH",
8194 "CTRL",
8195 "CTRL+DATA",
8196 "CTRL+!DATA",
8197 "AUTH+DATA",
8198 "AUTH+!DATA"
8199 ]
8200 },
8201 "docker": {
8202 "additionalProperties": false,
8203 "type": "object",
8204 "properties": {
8205 "command": {
8206 "type": "string"
8207 },
8208 "hostname": {
8209 "type": [
8210 "string",
8211 "null"
8212 ]
8213 },
8214 "memory_limit": {
8215 "type": [
8216 "integer",
8217 "null"
8218 ]
8219 },
8220 "volumes": {
8221 "type": "array",
8222 "items": {
8223 "$ref": "#/definitions/docker-volume"
8224 }
8225 },
8226 "environment": {
8227 "additionalProperties": {
8228 "type": "string"
8229 },
8230 "type": "object"
8231 },
8232 "ports": {
8233 "type": "array",
8234 "items": {
8235 "additionalProperties": false,
8236 "type": "object",
8237 "properties": {
8238 "container_port": {
8239 "maximum": 65535,
8240 "minimum": 0,
8241 "type": "integer"
8242 },
8243 "protocol": {
8244 "$ref": "#/definitions/docker-port-protocol"
8245 },
8246 "host_port": {
8247 "maximum": 65535,
8248 "minimum": 0,
8249 "type": "integer"
8250 }
8251 }
8252 }
8253 },
8254 "host": {
8255 "type": [
8256 "string",
8257 "null"
8258 ]
8259 },
8260 "image": {
8261 "type": "string"
8262 },
8263 "id": {
8264 "type": "string"
8265 },
8266 "name": {
8267 "type": "string"
8268 },
8269 "expose_ports": {
8270 "type": "boolean"
8271 }
8272 }
8273 },
8274 "zfs-scan": {
8275 "type": "object",
8276 "readOnly": true,
8277 "properties": {
8278 "func": {
8279 "type": [
8280 "integer",
8281 "null"
8282 ]
8283 },
8284 "errors": {
8285 "type": [
8286 "integer",
8287 "null"
8288 ]
8289 },
8290 "end_time": {
8291 "type": [
8292 "datetime",
8293 "null"
8294 ]
8295 },
8296 "percentage": {
8297 "type": [
8298 "number",
8299 "null"
8300 ]
8301 },
8302 "state": {
8303 "type": [
8304 "string",
8305 "null"
8306 ]
8307 },
8308 "bytes_to_process": {
8309 "type": [
8310 "integer",
8311 "null"
8312 ]
8313 },
8314 "bytes_processed": {
8315 "type": [
8316 "integer",
8317 "null"
8318 ]
8319 },
8320 "start_time": {
8321 "type": [
8322 "datetime",
8323 "null"
8324 ]
8325 }
8326 }
8327 },
8328 "group": {
8329 "additionalProperties": false,
8330 "type": "object",
8331 "properties": {
8332 "gid": {
8333 "maximum": 4294967295,
8334 "minimum": 0,
8335 "type": "integer"
8336 },
8337 "members": {
8338 "type": "array",
8339 "items": {
8340 "type": "string"
8341 },
8342 "readOnly": true
8343 },
8344 "builtin": {
8345 "type": "boolean",
8346 "readOnly": true
8347 },
8348 "id": {
8349 "type": "string"
8350 },
8351 "name": {
8352 "type": "string"
8353 },
8354 "sudo": {
8355 "type": "boolean"
8356 }
8357 }
8358 },
8359 "zfs-pool": {
8360 "additionalProperties": false,
8361 "type": "object",
8362 "properties": {
8363 "guid": {
8364 "type": "integer"
8365 },
8366 "groups": {
8367 "$ref": "#/definitions/zfs-topology"
8368 },
8369 "status": {
8370 "$ref": "#/definitions/zfs-pool-status"
8371 },
8372 "properties": {
8373 "$ref": "#/definitions/zfs-properties"
8374 },
8375 "scan": {
8376 "$ref": "#/definitions/zfs-scan"
8377 },
8378 "root_dataset": {
8379 "$ref": "#/definitions/zfs-dataset"
8380 },
8381 "name": {
8382 "type": "string"
8383 },
8384 "hostname": {
8385 "type": "string"
8386 }
8387 }
8388 },
8389 "volume-property-capacity-value": {
8390 "type": "integer",
8391 "readOnly": true
8392 },
8393 "volume-dataset-property-volblocksize-value": {
8394 "type": "integer",
8395 "enum": [
8396 512,
8397 1024,
8398 2048,
8399 4096,
8400 8192,
8401 16384,
8402 32768,
8403 65536,
8404 131072
8405 ]
8406 },
8407 "volume-snapshot-property-clones": {
8408 "additionalProperties": false,
8409 "type": "object",
8410 "properties": {
8411 "rawvalue": {
8412 "type": "string",
8413 "readOnly": true
8414 },
8415 "source": {
8416 "$ref": "#/definitions/volume-property-source"
8417 },
8418 "value": {
8419 "type": [
8420 "string",
8421 "null"
8422 ]
8423 },
8424 "parsed": {
8425 "$ref": "#/definitions/volume-snapshot-property-clones-value"
8426 }
8427 }
8428 },
8429 "simulator-disk": {
8430 "additionalProperties": false,
8431 "type": "object",
8432 "properties": {
8433 "online": {
8434 "type": "boolean"
8435 },
8436 "block_size": {
8437 "type": "integer"
8438 },
8439 "mediasize": {
8440 "type": "integer"
8441 },
8442 "rpm": {
8443 "$ref": "#/definitions/simulator-disk-rpm"
8444 },
8445 "id": {
8446 "type": "string"
8447 },
8448 "model": {
8449 "type": "string"
8450 },
8451 "serial": {
8452 "type": "string"
8453 },
8454 "vendor": {
8455 "type": "string"
8456 },
8457 "path": {
8458 "type": "string"
8459 }
8460 }
8461 },
8462 "vm-device-volume": {
8463 "additionalProperties": false,
8464 "type": "object",
8465 "properties": {
8466 "type": {
8467 "$ref": "#/definitions/vm-device-volume-type"
8468 },
8469 "auto": {
8470 "type": [
8471 "boolean",
8472 "null"
8473 ]
8474 },
8475 "destination": {
8476 "type": [
8477 "string",
8478 "null"
8479 ]
8480 }
8481 }
8482 },
8483 "volume-import-params": {
8484 "type": "object",
8485 "properties": {
8486 "key": {
8487 "type": [
8488 "string",
8489 "null"
8490 ]
8491 },
8492 "disks": {
8493 "type": "array",
8494 "items": {
8495 "type": "string"
8496 }
8497 }
8498 }
8499 },
8500 "vm-device-nic": {
8501 "additionalProperties": false,
8502 "type": "object",
8503 "properties": {
8504 "device": {
8505 "$ref": "#/definitions/vm-device-nic-device"
8506 },
8507 "link_address": {
8508 "type": "string"
8509 },
8510 "bridge": {
8511 "type": [
8512 "string",
8513 "null"
8514 ]
8515 },
8516 "mode": {
8517 "$ref": "#/definitions/vm-device-nic-mode"
8518 }
8519 }
8520 },
8521 "volume-dataset-property-atime": {
8522 "additionalProperties": false,
8523 "type": "object",
8524 "properties": {
8525 "rawvalue": {
8526 "type": "string",
8527 "readOnly": true
8528 },
8529 "source": {
8530 "$ref": "#/definitions/volume-property-source"
8531 },
8532 "value": {
8533 "type": [
8534 "string",
8535 "null"
8536 ]
8537 },
8538 "parsed": {
8539 "$ref": "#/definitions/volume-dataset-property-atime-value"
8540 }
8541 }
8542 },
8543 "acl-entry-flags": {
8544 "additionalProperties": false,
8545 "type": "object",
8546 "properties": {
8547 "FILE_INHERIT": {
8548 "type": "boolean"
8549 },
8550 "INHERIT_ONLY": {
8551 "type": "boolean"
8552 },
8553 "NO_PROPAGATE_INHERIT": {
8554 "type": "boolean"
8555 },
8556 "DIRECTORY_INHERIT": {
8557 "type": "boolean"
8558 }
8559 }
8560 },
8561 "service-snmp-v3privacyprotocol": {
8562 "type": "string",
8563 "enum": [
8564 "AES",
8565 "DES"
8566 ]
8567 },
8568 "service-smartd": {
8569 "additionalProperties": false,
8570 "type": "object",
8571 "properties": {
8572 "interval": {
8573 "type": "integer"
8574 },
8575 "enable": {
8576 "type": "boolean"
8577 },
8578 "temp_critical": {
8579 "type": [
8580 "integer",
8581 "null"
8582 ]
8583 },
8584 "power_mode": {
8585 "$ref": "#/definitions/service-smartd-powermode"
8586 },
8587 "type": {
8588 "enum": [
8589 "service-smartd"
8590 ]
8591 },
8592 "temp_difference": {
8593 "type": [
8594 "integer",
8595 "null"
8596 ]
8597 },
8598 "temp_informational": {
8599 "type": [
8600 "integer",
8601 "null"
8602 ]
8603 }
8604 }
8605 },
8606 "vm-device-cdrom": {
8607 "additionalProperties": false,
8608 "type": "object",
8609 "properties": {
8610 "path": {
8611 "type": "string"
8612 }
8613 }
8614 },
8615 "dataset-type": {
8616 "type": "string",
8617 "enum": [
8618 "FILESYSTEM",
8619 "VOLUME",
8620 "SNAPSHOT"
8621 ]
8622 },
8623 "network-interface-nd6-flag-items": {
8624 "type": "string",
8625 "enum": [
8626 "PERFORMNUD",
8627 "ACCEPT_RTADV",
8628 "PREFER_SOURCE",
8629 "IFDISABLED",
8630 "DONT_SET_IFROUTE",
8631 "AUTO_LINKLOCAL",
8632 "NO_RADR",
8633 "NO_PREFER_IFACE"
8634 ]
8635 },
8636 "ssh-credentials": {
8637 "additionalProperties": false,
8638 "type": "object",
8639 "properties": {
8640 "pubkey": {
8641 "type": "string"
8642 },
8643 "password": {
8644 "type": "string"
8645 },
8646 "username": {
8647 "type": "string"
8648 },
8649 "hostkey": {
8650 "type": "string"
8651 },
8652 "type": {
8653 "enum": [
8654 "ssh"
8655 ]
8656 },
8657 "port": {
8658 "type": "number"
8659 }
8660 }
8661 },
8662 "unix-mode-tuple": {
8663 "type": "object",
8664 "properties": {
8665 "execute": {
8666 "type": "boolean"
8667 },
8668 "read": {
8669 "type": "boolean"
8670 },
8671 "write": {
8672 "type": "boolean"
8673 }
8674 }
8675 },
8676 "system-advanced": {
8677 "additionalProperties": false,
8678 "type": "object",
8679 "properties": {
8680 "powerd": {
8681 "type": "boolean"
8682 },
8683 "serial_console": {
8684 "type": "boolean"
8685 },
8686 "home_directory_root": {
8687 "type": [
8688 "string",
8689 "null"
8690 ]
8691 },
8692 "console_cli": {
8693 "type": "boolean"
8694 },
8695 "motd": {
8696 "type": "string"
8697 },
8698 "uploadcrash": {
8699 "type": "boolean"
8700 },
8701 "serial_port": {
8702 "type": "string"
8703 },
8704 "swapondrive": {
8705 "type": "integer"
8706 },
8707 "serial_speed": {
8708 "$ref": "#/definitions/system-advanced-serialspeed"
8709 },
8710 "boot_scrub_internal": {
8711 "type": "integer"
8712 },
8713 "console_screensaver": {
8714 "type": "boolean"
8715 },
8716 "periodic_notify_user": {
8717 "type": "integer"
8718 },
8719 "debugkernel": {
8720 "type": "boolean"
8721 }
8722 }
8723 },
8724 "volume-vdev-recommendations": {
8725 "additionalProperties": false,
8726 "type": "object",
8727 "properties": {
8728 "storage": {
8729 "additionalProperties": false,
8730 "type": "object",
8731 "properties": {
8732 "storage": {
8733 "$ref": "#/definitions/volume-vdev-recommendation"
8734 },
8735 "speed": {
8736 "$ref": "#/definitions/volume-vdev-recommendation"
8737 },
8738 "redundancy": {
8739 "$ref": "#/definitions/volume-vdev-recommendation"
8740 }
8741 }
8742 },
8743 "speed": {
8744 "additionalProperties": false,
8745 "type": "object",
8746 "properties": {
8747 "storage": {
8748 "$ref": "#/definitions/volume-vdev-recommendation"
8749 },
8750 "speed": {
8751 "$ref": "#/definitions/volume-vdev-recommendation"
8752 },
8753 "redundancy": {
8754 "$ref": "#/definitions/volume-vdev-recommendation"
8755 }
8756 }
8757 },
8758 "redundancy": {
8759 "additionalProperties": false,
8760 "type": "object",
8761 "properties": {
8762 "storage": {
8763 "$ref": "#/definitions/volume-vdev-recommendation"
8764 },
8765 "speed": {
8766 "$ref": "#/definitions/volume-vdev-recommendation"
8767 },
8768 "redundancy": {
8769 "$ref": "#/definitions/volume-vdev-recommendation"
8770 }
8771 }
8772 }
8773 }
8774 },
8775 "volume-dataset-property-usedbyrefreservation": {
8776 "additionalProperties": false,
8777 "type": "object",
8778 "properties": {
8779 "rawvalue": {
8780 "type": "string",
8781 "readOnly": true
8782 },
8783 "source": {
8784 "$ref": "#/definitions/volume-property-source"
8785 },
8786 "value": {
8787 "type": [
8788 "string",
8789 "null"
8790 ]
8791 },
8792 "parsed": {
8793 "$ref": "#/definitions/volume-dataset-property-usedbyrefreservation-value"
8794 }
8795 }
8796 },
8797 "update": {
8798 "type": "object",
8799 "properties": {
8800 "update_server": {
8801 "type": "string",
8802 "readOnly": true
8803 },
8804 "train": {
8805 "type": "string"
8806 },
8807 "check_auto": {
8808 "type": "boolean"
8809 }
8810 }
8811 },
8812 "get-stats-params": {
8813 "additionalProperties": false,
8814 "type": "object",
8815 "properties": {
8816 "timespan": {
8817 "type": "integer"
8818 },
8819 "end": {
8820 "type": "string",
8821 "format": "date-time"
8822 },
8823 "start": {
8824 "type": "string",
8825 "format": "date-time"
8826 },
8827 "frequency": {
8828 "type": "string"
8829 }
8830 }
8831 },
8832 "service-smb-doscharset": {
8833 "type": "string",
8834 "enum": [
8835 "CP437",
8836 "CP850",
8837 "CP852",
8838 "CP866",
8839 "CP932",
8840 "CP949",
8841 "CP950",
8842 "CP1029",
8843 "CP1251",
8844 "ASCII"
8845 ]
8846 },
8847 "session": {
8848 "type": "object",
8849 "properties": {
8850 "resource": {
8851 "type": [
8852 "string",
8853 "null"
8854 ]
8855 },
8856 "active": {
8857 "type": "boolean"
8858 },
8859 "username": {
8860 "type": "string"
8861 },
8862 "ended-at": {
8863 "type": "integer"
8864 },
8865 "tty": {
8866 "type": [
8867 "string",
8868 "null"
8869 ]
8870 },
8871 "started-at": {
8872 "type": "integer"
8873 }
8874 }
8875 },
8876 "share-smb": {
8877 "additionalProperties": false,
8878 "type": "object",
8879 "properties": {
8880 "read_only": {
8881 "type": "boolean"
8882 },
8883 "extra_parameters": {
8884 "additionalProperties": {
8885 "type": "string"
8886 },
8887 "type": "object"
8888 },
8889 "vfs_objects": {
8890 "type": "array",
8891 "items": {
8892 "type": "string"
8893 }
8894 },
8895 "comment": {
8896 "type": "string"
8897 },
8898 "browseable": {
8899 "type": "boolean"
8900 },
8901 "guest_ok": {
8902 "type": "boolean"
8903 },
8904 "hosts_allow": {
8905 "type": [
8906 "array",
8907 "null"
8908 ],
8909 "items": {
8910 "type": "string"
8911 }
8912 },
8913 "type": {
8914 "enum": [
8915 "share-smb"
8916 ]
8917 },
8918 "recyclebin": {
8919 "type": "boolean"
8920 },
8921 "hosts_deny": {
8922 "type": [
8923 "array",
8924 "null"
8925 ],
8926 "items": {
8927 "type": "string"
8928 }
8929 },
8930 "show_hidden_files": {
8931 "type": "boolean"
8932 },
8933 "guest_only": {
8934 "type": "boolean"
8935 }
8936 }
8937 },
8938 "service-ups-mode": {
8939 "type": "string",
8940 "enum": [
8941 "MASTER",
8942 "SLAVE"
8943 ]
8944 },
8945 "service-sshd-sftplogfacility": {
8946 "type": "string",
8947 "enum": [
8948 "DAEMON",
8949 "USER",
8950 "AUTH",
8951 "LOCAL0",
8952 "LOCAL1",
8953 "LOCAL2",
8954 "LOCAL3",
8955 "LOCAL4",
8956 "LOCAL5",
8957 "LOCAL6",
8958 "LOCAL7"
8959 ]
8960 },
8961 "boot-environment": {
8962 "type": "object",
8963 "properties": {
8964 "mountpoint": {
8965 "type": [
8966 "string",
8967 "null"
8968 ],
8969 "readOnly": true
8970 },
8971 "id": {
8972 "type": "string"
8973 },
8974 "on_reboot": {
8975 "type": "boolean",
8976 "readOnly": true
8977 },
8978 "space": {
8979 "type": "integer",
8980 "readOnly": true
8981 },
8982 "name": {
8983 "type": "string",
8984 "readOnly": true
8985 },
8986 "created": {
8987 "type": "string",
8988 "format": "date-time",
8989 "readOnly": true
8990 },
8991 "active": {
8992 "type": "boolean"
8993 }
8994 }
8995 },
8996 "error": {
8997 "type": "object",
8998 "properties": {
8999 "stacktrace": {
9000 "type": "string"
9001 },
9002 "extra": {
9003 "type": "null"
9004 },
9005 "code": {
9006 "type": "integer"
9007 },
9008 "type": {
9009 "type": "string"
9010 },
9011 "message": {
9012 "type": "string"
9013 }
9014 }
9015 },
9016 "vm-status-lease": {
9017 "type": "object",
9018 "properties": {
9019 "client_ip": "string"
9020 }
9021 },
9022 "vm-guest-type": {
9023 "type": "string",
9024 "enum": [
9025 "linux64",
9026 "freebsd32",
9027 "freebsd64",
9028 "netbsd64",
9029 "openbsd32",
9030 "openbsd64",
9031 "windows64",
9032 "solaris64",
9033 "other"
9034 ]
9035 },
9036 "share-types-permtype": {
9037 "type": "string",
9038 "enum": [
9039 "PERM",
9040 "ACL"
9041 ]
9042 },
9043 "volume-dataset-property-logicalreferenced": {
9044 "additionalProperties": false,
9045 "type": "object",
9046 "properties": {
9047 "rawvalue": {
9048 "type": "string",
9049 "readOnly": true
9050 },
9051 "source": {
9052 "$ref": "#/definitions/volume-property-source"
9053 },
9054 "value": {
9055 "type": [
9056 "string",
9057 "null"
9058 ]
9059 },
9060 "parsed": {
9061 "$ref": "#/definitions/volume-dataset-property-logicalreferenced-value"
9062 }
9063 }
9064 },
9065 "network-route-type": {
9066 "type": "string",
9067 "enum": [
9068 "INET",
9069 "INET6"
9070 ]
9071 },
9072 "volume-snapshot-property-creation": {
9073 "additionalProperties": false,
9074 "type": "object",
9075 "properties": {
9076 "rawvalue": {
9077 "type": "string",
9078 "readOnly": true
9079 },
9080 "source": {
9081 "$ref": "#/definitions/volume-property-source"
9082 },
9083 "value": {
9084 "type": [
9085 "string",
9086 "null"
9087 ]
9088 },
9089 "parsed": {
9090 "$ref": "#/definitions/volume-snapshot-property-creation-value"
9091 }
9092 }
9093 },
9094 "alert-type": {
9095 "type": "string",
9096 "enum": [
9097 "SYSTEM",
9098 "VOLUME",
9099 "DISK"
9100 ]
9101 },
9102 "share-iscsi-blocksize": {
9103 "type": "integer",
9104 "enum": [
9105 512,
9106 1024,
9107 2048,
9108 4096
9109 ]
9110 },
9111 "get-stats-result": {
9112 "additionalProperties": false,
9113 "type": "object",
9114 "properties": {
9115 "data": {
9116 "type": "array"
9117 }
9118 }
9119 },
9120 "power-changed-operation": {
9121 "type": "string",
9122 "enum": [
9123 "SHUTDOWN",
9124 "REBOOT"
9125 ]
9126 },
9127 "volume-property-health": {
9128 "additionalProperties": false,
9129 "type": "object",
9130 "properties": {
9131 "rawvalue": {
9132 "type": "string",
9133 "readOnly": true
9134 },
9135 "source": {
9136 "$ref": "#/definitions/volume-property-source"
9137 },
9138 "value": {
9139 "type": [
9140 "string",
9141 "null"
9142 ]
9143 },
9144 "parsed": {
9145 "$ref": "#/definitions/volume-property-health-value"
9146 }
9147 }
9148 },
9149 "volume-snapshot-properties": {
9150 "additionalProperties": false,
9151 "type": "object",
9152 "properties": {
9153 "referenced": {
9154 "$ref": "#/definitions/volume-snapshot-property-referenced"
9155 },
9156 "compressratio": {
9157 "$ref": "#/definitions/volume-snapshot-property-compressratio"
9158 },
9159 "clones": {
9160 "$ref": "#/definitions/volume-snapshot-property-clones"
9161 },
9162 "creation": {
9163 "$ref": "#/definitions/volume-snapshot-property-creation"
9164 },
9165 "used": {
9166 "$ref": "#/definitions/volume-snapshot-property-used"
9167 }
9168 }
9169 },
9170 "network-status": {
9171 "additionalProperties": false,
9172 "type": "object",
9173 "properties": {
9174 "dns": {
9175 "additionalProperties": false,
9176 "type": "object",
9177 "properties": {
9178 "addresses": {
9179 "type": "array",
9180 "items": {
9181 "$ref": "#/definitions/ip-address"
9182 }
9183 },
9184 "search": {
9185 "type": "array",
9186 "items": {
9187 "type": "string"
9188 }
9189 }
9190 }
9191 },
9192 "gateway": {
9193 "additionalProperties": false,
9194 "type": "object",
9195 "properties": {
9196 "ipv4": {
9197 "$ref": "#/definitions/ipv4-address"
9198 },
9199 "ipv6": {
9200 "$ref": "#/definitions/ipv6-address"
9201 }
9202 }
9203 }
9204 }
9205 },
9206 "network-interface-alias": {
9207 "additionalProperties": false,
9208 "type": "object",
9209 "properties": {
9210 "broadcast": {
9211 "$ref": "#/definitions/ipv4-address"
9212 },
9213 "address": {
9214 "$ref": "#/definitions/ip-address"
9215 },
9216 "type": {
9217 "$ref": "#/definitions/network-interface-alias-type"
9218 },
9219 "netmask": {
9220 "type": "integer"
9221 }
9222 }
9223 },
9224 "network-interface-flags": {
9225 "type": "array",
9226 "items": {
9227 "$ref": "#/definitions/network-interface-flags-items"
9228 }
9229 },
9230 "alert": {
9231 "additionalProperties": false,
9232 "type": "object",
9233 "properties": {
9234 "cancelled_at": {
9235 "type": [
9236 "string",
9237 "null"
9238 ]
9239 },
9240 "title": {
9241 "type": "string"
9242 },
9243 "description": {
9244 "type": "string"
9245 },
9246 "type": {
9247 "$ref": "#/definitions/alert-type"
9248 },
9249 "dismissed": {
9250 "type": "boolean"
9251 },
9252 "user": {
9253 "type": "string"
9254 },
9255 "dismissed_at": {
9256 "type": [
9257 "string",
9258 "null"
9259 ]
9260 },
9261 "happened_at": {
9262 "type": "string"
9263 },
9264 "send_count": {
9265 "type": "integer"
9266 },
9267 "class": {
9268 "$ref": "#/definitions/alert-class-id"
9269 },
9270 "active": {
9271 "type": "boolean"
9272 },
9273 "id": {
9274 "type": "integer"
9275 },
9276 "subtype": {
9277 "type": "string"
9278 },
9279 "last_emitted_at": {
9280 "type": [
9281 "string",
9282 "null"
9283 ]
9284 },
9285 "severity": {
9286 "$ref": "#/definitions/alert-severity"
9287 },
9288 "target": {
9289 "type": "string"
9290 },
9291 "one_shot": {
9292 "type": "boolean"
9293 }
9294 }
9295 },
9296 "volume-dataset-property-refquota-value": {
9297 "type": [
9298 "integer",
9299 "null"
9300 ]
9301 },
9302 "service": {
9303 "additionalProperties": false,
9304 "type": "object",
9305 "properties": {
9306 "pid": {
9307 "type": "integer"
9308 },
9309 "id": {
9310 "type": "string"
9311 },
9312 "config": {
9313 "$ref": "#/definitions/service-config"
9314 },
9315 "builtin": {
9316 "type": "boolean"
9317 },
9318 "state": {
9319 "$ref": "#/definitions/service-state"
9320 }
9321 }
9322 },
9323 "service-openvpn": {
9324 "additionalProperties": false,
9325 "type": "object",
9326 "properties": {
9327 "server_bridge_ip": {
9328 "type": "string",
9329 "format": "ip-address"
9330 },
9331 "key": {
9332 "type": "string"
9333 },
9334 "proto": {
9335 "type": "string",
9336 "enum": [
9337 "tcp",
9338 "udp"
9339 ]
9340 },
9341 "server_bridge": {
9342 "type": "boolean"
9343 },
9344 "user": {
9345 "type": "string"
9346 },
9347 "group": {
9348 "type": "string"
9349 },
9350 "keepalive_peer_down": {
9351 "type": "integer"
9352 },
9353 "ca": {
9354 "type": "string"
9355 },
9356 "dev": {
9357 "type": "string"
9358 },
9359 "comp_lzo": {
9360 "type": "boolean"
9361 },
9362 "server_bridge_range_begin": {
9363 "type": "string"
9364 },
9365 "cipher": {
9366 "type": "string",
9367 "enum": [
9368 "BF-CBC",
9369 "AES-128-CBC",
9370 "DES-EDE3-CBC"
9371 ]
9372 },
9373 "type": {
9374 "enum": [
9375 "service-openvpn"
9376 ]
9377 },
9378 "auxiliary": {
9379 "type": [
9380 "string",
9381 "null"
9382 ]
9383 },
9384 "max_clients": {
9385 "type": "integer"
9386 },
9387 "crl_verify": {
9388 "type": [
9389 "string",
9390 "null"
9391 ]
9392 },
9393 "tls_auth": {
9394 "type": [
9395 "string",
9396 "null"
9397 ]
9398 },
9399 "keepalive_ping_interval": {
9400 "type": "integer"
9401 },
9402 "server_bridge_range_end": {
9403 "type": "string"
9404 },
9405 "server_bridge_extended": {
9406 "type": "boolean"
9407 },
9408 "server_bridge_netmask": {
9409 "type": "string"
9410 },
9411 "enable": {
9412 "type": "boolean"
9413 },
9414 "dh": {
9415 "type": "string"
9416 },
9417 "persist_key": {
9418 "type": "boolean"
9419 },
9420 "cert": {
9421 "type": "string"
9422 },
9423 "verb": {
9424 "maximum": 15,
9425 "minimum": 0,
9426 "type": "integer"
9427 },
9428 "persist_tun": {
9429 "type": "boolean"
9430 },
9431 "port": {
9432 "maximum": 65535,
9433 "minimum": 1,
9434 "type": "integer"
9435 }
9436 }
9437 },
9438 "volume-dataset-property-logicalreferenced-value": {
9439 "type": "integer",
9440 "readOnly": true
9441 },
9442 "service-rsyncd": {
9443 "additionalProperties": false,
9444 "type": "object",
9445 "properties": {
9446 "type": {
9447 "enum": [
9448 "service-rsyncd"
9449 ]
9450 },
9451 "auxiliary": {
9452 "type": "string"
9453 },
9454 "enable": {
9455 "type": "boolean"
9456 },
9457 "port": {
9458 "maximum": 65535,
9459 "minimum": 1,
9460 "type": "integer"
9461 }
9462 }
9463 },
9464 "directory": {
9465 "type": "object",
9466 "properties": {
9467 "enumerate": {
9468 "type": "boolean"
9469 },
9470 "plugin": {
9471 "type": "string"
9472 },
9473 "gid_range": {
9474 "type": [
9475 "array",
9476 "null"
9477 ],
9478 "items": [
9479 {
9480 "type": "integer"
9481 },
9482 {
9483 "type": "integer"
9484 }
9485 ]
9486 },
9487 "uid_range": {
9488 "type": [
9489 "array",
9490 "null"
9491 ],
9492 "items": [
9493 {
9494 "type": "integer"
9495 },
9496 {
9497 "type": "integer"
9498 }
9499 ]
9500 },
9501 "parameters": {
9502 "type": "object"
9503 },
9504 "status": {
9505 "type": "object"
9506 },
9507 "enabled": {
9508 "type": "boolean"
9509 },
9510 "id": {
9511 "type": "string"
9512 },
9513 "name": {
9514 "type": "string"
9515 },
9516 "priority": {
9517 "type": "integer"
9518 }
9519 }
9520 },
9521 "docker-hub-image": {
9522 "additionalProperties": false,
9523 "type": "object",
9524 "properties": {
9525 "pull_count": {
9526 "type": "integer"
9527 },
9528 "description": {
9529 "type": "string"
9530 },
9531 "id": {
9532 "type": "string"
9533 },
9534 "namespace": {
9535 "type": "string"
9536 },
9537 "full_description": {
9538 "type": "string"
9539 },
9540 "updated_at": {
9541 "type": "string",
9542 "format": "date-time"
9543 },
9544 "star_count": {
9545 "type": "integer"
9546 }
9547 }
9548 },
9549 "task": {
9550 "type": "object",
9551 "properties": {
9552 "args": {
9553 "type": "object"
9554 },
9555 "warnings": {
9556 "type": "array",
9557 "items": {
9558 "type": "string"
9559 }
9560 },
9561 "id": {
9562 "type": "integer"
9563 },
9564 "description": {
9565 "type": "object",
9566 "properties": {
9567 "message": {
9568 "type": "string"
9569 },
9570 "name": {
9571 "type": [
9572 "string",
9573 "null"
9574 ]
9575 },
9576 "format": {
9577 "args": {
9578 "type": "object"
9579 },
9580 "string": {
9581 "type": "string"
9582 }
9583 }
9584 }
9585 },
9586 "finished_at": {
9587 "type": "null"
9588 },
9589 "name": {
9590 "type": "string"
9591 },
9592 "debugger": {
9593 "items": {
9594 "type": "string"
9595 },
9596 "type": "array"
9597 },
9598 "output": {
9599 "type": "string"
9600 },
9601 "user": {
9602 "type": [
9603 "string",
9604 "null"
9605 ]
9606 },
9607 "created_at": {
9608 "$ref": "#/definitions/iso-datetime"
9609 },
9610 "parent": {
9611 "type": [
9612 "integer",
9613 "null"
9614 ]
9615 },
9616 "updated_at": {
9617 "type": "null"
9618 },
9619 "session": {
9620 "type": [
9621 "integer",
9622 "null"
9623 ]
9624 },
9625 "started_at": {
9626 "type": "null"
9627 },
9628 "state": {
9629 "type": "string",
9630 "enum": [
9631 "CREATED",
9632 "WAITING",
9633 "EXECUTING",
9634 "ROLLBACK",
9635 "FINISHED",
9636 "FAILED",
9637 "ABORTED"
9638 ]
9639 },
9640 "resources": {
9641 "type": [
9642 "array",
9643 "null"
9644 ]
9645 },
9646 "rusage": {
9647 "$ref": "#/definitions/rusage"
9648 },
9649 "error": {
9650 "$ref": "#/definitions/error"
9651 }
9652 }
9653 },
9654 "rsyncd-module-mode": {
9655 "type": "string",
9656 "enum": [
9657 "READONLY",
9658 "WRITEONLY",
9659 "READWRITE"
9660 ]
9661 },
9662 "service-smb-unixcharset": {
9663 "type": "string",
9664 "enum": [
9665 "UTF-8",
9666 "iso-8859-1",
9667 "iso-8859-15",
9668 "gb2312",
9669 "EUC-JP",
9670 "ASCII"
9671 ]
9672 },
9673 "zfs-vdev-extension": {
9674 "additionalProperties": false,
9675 "type": "object",
9676 "properties": {
9677 "target_guid": {
9678 "type": "string"
9679 },
9680 "vdev": {
9681 "$ref": "#/definitions/zfs-vdev"
9682 }
9683 }
9684 },
9685 "volume-dataset-property-casesensitivity-value": {
9686 "type": [
9687 "string",
9688 "null"
9689 ],
9690 "enum": [
9691 "sensitive",
9692 "insensitive",
9693 "mixed",
9694 null
9695 ]
9696 },
9697 "volume-dataset-property-compression": {
9698 "additionalProperties": false,
9699 "type": "object",
9700 "properties": {
9701 "rawvalue": {
9702 "type": "string",
9703 "readOnly": true
9704 },
9705 "source": {
9706 "$ref": "#/definitions/volume-property-source"
9707 },
9708 "value": {
9709 "type": [
9710 "string",
9711 "null"
9712 ]
9713 },
9714 "parsed": {
9715 "$ref": "#/definitions/volume-dataset-property-compression-value"
9716 }
9717 }
9718 },
9719 "volume-property-readonly": {
9720 "additionalProperties": false,
9721 "type": "object",
9722 "properties": {
9723 "rawvalue": {
9724 "type": "string",
9725 "readOnly": true
9726 },
9727 "source": {
9728 "$ref": "#/definitions/volume-property-source"
9729 },
9730 "value": {
9731 "type": [
9732 "string",
9733 "null"
9734 ]
9735 },
9736 "parsed": {
9737 "$ref": "#/definitions/volume-property-readonly-value"
9738 }
9739 }
9740 },
9741 "acl-entry-perms": {
9742 "additionalProperties": false,
9743 "type": "object",
9744 "properties": {
9745 "READ_NAMED_ATTRS": {
9746 "type": "boolean"
9747 },
9748 "DELETE_CHILD": {
9749 "type": "boolean"
9750 },
9751 "READ_ATTRIBUTES": {
9752 "type": "boolean"
9753 },
9754 "READ_DATA": {
9755 "type": "boolean"
9756 },
9757 "ADD_SUBDIRECTORY": {
9758 "type": "boolean"
9759 },
9760 "READ_ACL": {
9761 "type": "boolean"
9762 },
9763 "ADD_FILE": {
9764 "type": "boolean"
9765 },
9766 "APPEND_DATA": {
9767 "type": "boolean"
9768 },
9769 "WRITE_NAMED_ATTRS": {
9770 "type": "boolean"
9771 },
9772 "WRITE_ATTRIBUTES": {
9773 "type": "boolean"
9774 },
9775 "DELETE": {
9776 "type": "boolean"
9777 },
9778 "SYNCHRONIZE": {
9779 "type": "boolean"
9780 },
9781 "EXECUTE": {
9782 "type": "boolean"
9783 },
9784 "WRITE_DATA": {
9785 "type": "boolean"
9786 },
9787 "WRITE_ACL": {
9788 "type": "boolean"
9789 },
9790 "LIST_DIRECTORY": {
9791 "type": "boolean"
9792 }
9793 }
9794 },
9795 "volume-dataset-property-used": {
9796 "additionalProperties": false,
9797 "type": "object",
9798 "properties": {
9799 "rawvalue": {
9800 "type": "string",
9801 "readOnly": true
9802 },
9803 "source": {
9804 "$ref": "#/definitions/volume-property-source"
9805 },
9806 "value": {
9807 "type": [
9808 "string",
9809 "null"
9810 ]
9811 },
9812 "parsed": {
9813 "$ref": "#/definitions/volume-dataset-property-used-value"
9814 }
9815 }
9816 },
9817 "volume-property-delegation-value": {
9818 "type": "boolean"
9819 },
9820 "freeipa-directory-status": {},
9821 "decrypt-plugin": {
9822 "$ref": "#/definitions/encrypt-plugin"
9823 },
9824 "volume-snapshot-property-clones-value": {
9825 "type": "integer",
9826 "readOnly": true
9827 },
9828 "volume-dataset-property-casesensitivity": {
9829 "additionalProperties": false,
9830 "type": "object",
9831 "properties": {
9832 "rawvalue": {
9833 "type": "string",
9834 "readOnly": true
9835 },
9836 "source": {
9837 "$ref": "#/definitions/volume-property-source"
9838 },
9839 "value": {
9840 "type": [
9841 "string",
9842 "null"
9843 ]
9844 },
9845 "parsed": {
9846 "$ref": "#/definitions/volume-dataset-property-casesensitivity-value"
9847 }
9848 }
9849 },
9850 "volume-dataset-property-written-value": {
9851 "type": "integer",
9852 "readOnly": true
9853 },
9854 "service-ipfs": {
9855 "additionalProperties": false,
9856 "type": "object",
9857 "properties": {
9858 "path": {
9859 "type": "string"
9860 },
9861 "type": {
9862 "enum": [
9863 "service-ipfs"
9864 ]
9865 },
9866 "webui": {
9867 "type": "boolean"
9868 },
9869 "enable": {
9870 "type": "boolean"
9871 }
9872 }
9873 },
9874 "vm-device-volume-type": {
9875 "type": "string",
9876 "enum": [
9877 "VT9P",
9878 "NFS"
9879 ]
9880 },
9881 "docker-config": {
9882 "additionalProperties": false,
9883 "type": "object",
9884 "properties": {
9885 "default_host": {
9886 "type": [
9887 "string",
9888 "null"
9889 ]
9890 }
9891 }
9892 },
9893 "update-ops": {
9894 "type": "object",
9895 "properties": {
9896 "operation": {
9897 "$ref": "#/definitions/update-ops-operation"
9898 },
9899 "previous_name": {
9900 "type": [
9901 "string",
9902 "null"
9903 ]
9904 },
9905 "previous_version": {
9906 "type": [
9907 "string",
9908 "null"
9909 ]
9910 },
9911 "new_version": {
9912 "type": [
9913 "string",
9914 "null"
9915 ]
9916 },
9917 "new_name": {
9918 "type": [
9919 "string",
9920 "null"
9921 ]
9922 }
9923 }
9924 },
9925 "network-interface-flags-items": {
9926 "type": "string",
9927 "enum": [
9928 "UP",
9929 "BROADCAST",
9930 "DEBUG",
9931 "LOOPBACK",
9932 "POINTOPOINT",
9933 "DRV_RUNNING",
9934 "NOARP",
9935 "PROMISC",
9936 "ALLMULTI",
9937 "DRV_OACTIVE",
9938 "SIMPLEX",
9939 "LINK0",
9940 "LINK1",
9941 "LINK2",
9942 "MULTICAST",
9943 "CANTCONFIG",
9944 "PPROMISC",
9945 "MONITOR",
9946 "STATICARP",
9947 "DYING",
9948 "RENAMING"
9949 ]
9950 },
9951 "vm-device-usb-device": {
9952 "type": "string",
9953 "enum": [
9954 "tablet"
9955 ]
9956 },
9957 "volume-dataset-property-available": {
9958 "additionalProperties": false,
9959 "type": "object",
9960 "properties": {
9961 "rawvalue": {
9962 "type": "string",
9963 "readOnly": true
9964 },
9965 "source": {
9966 "$ref": "#/definitions/volume-property-source"
9967 },
9968 "value": {
9969 "type": [
9970 "string",
9971 "null"
9972 ]
9973 },
9974 "parsed": {
9975 "$ref": "#/definitions/volume-dataset-property-available-value"
9976 }
9977 }
9978 },
9979 "peer": {
9980 "additionalProperties": false,
9981 "type": "object",
9982 "properties": {
9983 "credentials": {
9984 "$ref": "#/definitions/peer-credentials"
9985 },
9986 "type": {
9987 "enum": [
9988 "replication",
9989 "ssh",
9990 "amazon-s3"
9991 ]
9992 },
9993 "address": {
9994 "type": "string"
9995 },
9996 "name": {
9997 "type": "string"
9998 },
9999 "id": {
10000 "type": "string"
10001 }
10002 }
10003 },
10004 "update-progress": {
10005 "type": "object",
10006 "properties": {
10007 "operation": {
10008 "$ref": "#/definitions/update-progress-operation"
10009 },
10010 "num_files_total": {
10011 "type": "integer"
10012 },
10013 "pkg_name": {
10014 "type": "string"
10015 },
10016 "num_files_done": {
10017 "type": "integer"
10018 },
10019 "filesize": {
10020 "type": "integer"
10021 },
10022 "finished": {
10023 "type": "boolean"
10024 },
10025 "details": {
10026 "type": "string"
10027 },
10028 "error": {
10029 "type": "boolean"
10030 },
10031 "percent": {
10032 "type": "integer"
10033 },
10034 "indeterminate": {
10035 "type": "boolean"
10036 },
10037 "reboot": {
10038 "type": "boolean"
10039 },
10040 "pkg_version": {
10041 "type": "string"
10042 }
10043 }
10044 },
10045 "replication-transport-plugin": {
10046 "$ref": "#/definitions/compress-plugin"
10047 },
10048 "rsyncd-module": {
10049 "additionalProperties": false,
10050 "type": "object",
10051 "properties": {
10052 "description": {
10053 "type": [
10054 "string",
10055 "null"
10056 ]
10057 },
10058 "auxiliary": {
10059 "type": [
10060 "string",
10061 "null"
10062 ]
10063 },
10064 "mode": {
10065 "$ref": "#/definitions/rsyncd-module-mode"
10066 },
10067 "user": {
10068 "type": "string"
10069 },
10070 "path": {
10071 "type": "string"
10072 },
10073 "hosts_allow": {
10074 "type": [
10075 "string",
10076 "null"
10077 ]
10078 },
10079 "name": {
10080 "type": "string"
10081 },
10082 "hosts_deny": {
10083 "type": [
10084 "string",
10085 "null"
10086 ]
10087 },
10088 "group": {
10089 "type": "string"
10090 },
10091 "max_connections": {
10092 "type": [
10093 "integer",
10094 "null"
10095 ]
10096 }
10097 }
10098 },
10099 "backup-compression-type": {
10100 "type": "string",
10101 "enum": [
10102 "NONE",
10103 "GZIP"
10104 ]
10105 },
10106 "volume-properties": {
10107 "additionalProperties": false,
10108 "type": "object",
10109 "properties": {
10110 "size": {
10111 "$ref": "#/definitions/volume-property-size"
10112 },
10113 "leaked": {
10114 "$ref": "#/definitions/volume-property-leaked"
10115 },
10116 "capacity": {
10117 "$ref": "#/definitions/volume-property-capacity"
10118 },
10119 "comment": {
10120 "$ref": "#/definitions/volume-property-comment"
10121 },
10122 "version": {
10123 "$ref": "#/definitions/volume-property-version"
10124 },
10125 "autoreplace": {
10126 "$ref": "#/definitions/volume-property-autoreplace"
10127 },
10128 "readonly": {
10129 "$ref": "#/definitions/volume-property-readonly"
10130 },
10131 "health": {
10132 "$ref": "#/definitions/volume-property-health"
10133 },
10134 "free": {
10135 "$ref": "#/definitions/volume-property-free"
10136 },
10137 "fragmentation": {
10138 "$ref": "#/definitions/volume-property-fragmentation"
10139 },
10140 "failmode": {
10141 "$ref": "#/definitions/volume-property-failmode"
10142 },
10143 "delegation": {
10144 "$ref": "#/definitions/volume-property-delegation"
10145 },
10146 "expandsize": {
10147 "$ref": "#/definitions/volume-property-expandsize"
10148 },
10149 "dedupratio": {
10150 "$ref": "#/definitions/volume-property-dedupratio"
10151 },
10152 "allocated": {
10153 "$ref": "#/definitions/volume-property-allocated"
10154 }
10155 }
10156 },
10157 "calendar-task": {
10158 "additionalProperties": false,
10159 "type": "object",
10160 "properties": {
10161 "protected": {
10162 "type": "boolean"
10163 },
10164 "schedule": {
10165 "additionalProperties": false,
10166 "type": "object",
10167 "properties": {
10168 "month": {
10169 "type": [
10170 "string",
10171 "integer",
10172 "null"
10173 ]
10174 },
10175 "week": {
10176 "type": [
10177 "string",
10178 "integer",
10179 "null"
10180 ]
10181 },
10182 "coalesce": {
10183 "type": [
10184 "boolean",
10185 "integer",
10186 "null"
10187 ]
10188 },
10189 "day_of_week": {
10190 "type": [
10191 "string",
10192 "integer",
10193 "null"
10194 ]
10195 },
10196 "minute": {
10197 "type": [
10198 "string",
10199 "integer",
10200 "null"
10201 ]
10202 },
10203 "second": {
10204 "type": [
10205 "string",
10206 "integer",
10207 "null"
10208 ]
10209 },
10210 "hour": {
10211 "type": [
10212 "string",
10213 "integer",
10214 "null"
10215 ]
10216 },
10217 "year": {
10218 "type": [
10219 "string",
10220 "integer",
10221 "null"
10222 ]
10223 },
10224 "day": {
10225 "type": [
10226 "string",
10227 "integer",
10228 "null"
10229 ]
10230 },
10231 "timezone": {
10232 "type": [
10233 "string",
10234 "null"
10235 ]
10236 }
10237 }
10238 },
10239 "hidden": {
10240 "type": "boolean"
10241 },
10242 "enabled": {
10243 "type": "boolean"
10244 },
10245 "id": {
10246 "type": "string"
10247 },
10248 "description": {
10249 "type": "string"
10250 },
10251 "args": {
10252 "type": "array"
10253 },
10254 "name": {
10255 "type": "string"
10256 },
10257 "status": {
10258 "$ref": "#/definitions/calendar-task-status"
10259 }
10260 }
10261 },
10262 "volume-dataset-property-volsize": {
10263 "additionalProperties": false,
10264 "type": "object",
10265 "properties": {
10266 "rawvalue": {
10267 "type": "string",
10268 "readOnly": true
10269 },
10270 "source": {
10271 "$ref": "#/definitions/volume-property-source"
10272 },
10273 "value": {
10274 "type": [
10275 "string",
10276 "null"
10277 ]
10278 },
10279 "parsed": {
10280 "$ref": "#/definitions/volume-dataset-property-volsize-value"
10281 }
10282 }
10283 },
10284 "network-host": {
10285 "additionalProperties": false,
10286 "type": "object",
10287 "properties": {
10288 "addresses": {
10289 "type": "array",
10290 "items": {
10291 "$ref": "#/definitions/ip-address"
10292 }
10293 },
10294 "id": {
10295 "type": "string"
10296 }
10297 }
10298 },
10299 "share-iscsi-auth": {
10300 "additionalProperties": false,
10301 "type": "object",
10302 "properties": {
10303 "description": {
10304 "type": "string"
10305 },
10306 "initiators": {
10307 "type": [
10308 "array",
10309 "null"
10310 ],
10311 "items": {
10312 "type": "string"
10313 }
10314 },
10315 "id": {
10316 "type": "string"
10317 },
10318 "networks": {
10319 "type": [
10320 "array",
10321 "null"
10322 ],
10323 "items": {
10324 "type": "string"
10325 }
10326 },
10327 "type": {
10328 "$ref": "#/definitions/share-iscsi-auth-type"
10329 },
10330 "users": {
10331 "type": [
10332 "array",
10333 "null"
10334 ],
10335 "items": {
10336 "$ref": "#/definitions/share-iscsi-user"
10337 }
10338 }
10339 }
10340 },
10341 "volume-snapshot-property-compressratio-value": {
10342 "type": "string",
10343 "readOnly": true
10344 },
10345 "kerberos-keytab-entry": {
10346 "type": "object",
10347 "properties": {
10348 "principal": {
10349 "type": "string"
10350 },
10351 "vno": {
10352 "type": "integer"
10353 },
10354 "enctype": {
10355 "type": "string"
10356 }
10357 }
10358 },
10359 "volume-snapshot-property-used-value": {
10360 "type": "integer",
10361 "readOnly": true
10362 },
10363 "volume-dataset-property-reservation-value": {
10364 "type": [
10365 "integer",
10366 "null"
10367 ]
10368 },
10369 "disks-allocation": {
10370 "additionalProperties": {
10371 "additionalProperties": false,
10372 "type": "object",
10373 "properties": {
10374 "name": {
10375 "type": "string"
10376 },
10377 "type": {
10378 "$ref": "#/definitions/disks-allocation-type"
10379 }
10380 }
10381 },
10382 "type": "object"
10383 },
10384 "volume-dataset-property-available-value": {
10385 "type": "integer",
10386 "readOnly": true
10387 },
10388 "backup-s3": {
10389 "additionalProperties": false,
10390 "type": "object",
10391 "properties": {
10392 "access_key": {
10393 "type": "string"
10394 },
10395 "bucket": {
10396 "type": "string"
10397 },
10398 "folder": {
10399 "type": [
10400 "string",
10401 "null"
10402 ]
10403 },
10404 "region": {
10405 "type": [
10406 "string",
10407 "null"
10408 ]
10409 },
10410 "type": {
10411 "enum": [
10412 "backup-s3"
10413 ]
10414 },
10415 "secret_key": {
10416 "type ": "string"
10417 }
10418 }
10419 },
10420 "vm-status-state": {
10421 "type": "string",
10422 "enum": [
10423 "STOPPED",
10424 "BOOTLOADER",
10425 "RUNNING"
10426 ]
10427 },
10428 "vm-device-disk": {
10429 "additionalProperties": false,
10430 "type": "object",
10431 "properties": {
10432 "size": {
10433 "type": "integer"
10434 },
10435 "source": {
10436 "type": "string"
10437 },
10438 "mode": {
10439 "$ref": "#/definitions/vm-device-disk-mode"
10440 }
10441 }
10442 },
10443 "disk-status": {
10444 "type": "object",
10445 "properties": {
10446 "max_rotation": {
10447 "type": "integer"
10448 },
10449 "description": {
10450 "type": "string"
10451 },
10452 "multipath": {
10453 "type": "object",
10454 "properties": {
10455 "members": {
10456 "type": "array",
10457 "items": {
10458 "type": "string"
10459 }
10460 },
10461 "status": {
10462 "type": "string"
10463 },
10464 "node": {
10465 "type": "string"
10466 }
10467 }
10468 },
10469 "encrypted": {
10470 "type": "boolean"
10471 },
10472 "smart_capable": {
10473 "type": "boolean"
10474 },
10475 "controller": {
10476 "type": "object"
10477 },
10478 "smart_status": {
10479 "type": "string"
10480 },
10481 "empty": {
10482 "type": "boolean"
10483 },
10484 "sectorsize": {
10485 "type": "integer"
10486 },
10487 "smart_enabled": {
10488 "type": "boolean"
10489 },
10490 "is_encrypted": {
10491 "type": "boolean"
10492 },
10493 "interface": {
10494 "type": "string"
10495 },
10496 "swap_partition_uuid": {
10497 "type": "string"
10498 },
10499 "model": {
10500 "type": "string"
10501 },
10502 "is_multipath": {
10503 "type": "boolean"
10504 },
10505 "data_partition_path": {
10506 "type": "string"
10507 },
10508 "serial": {
10509 "type": "string"
10510 },
10511 "gdisk_name": {
10512 "type": "string"
10513 },
10514 "lunid": {
10515 "type": "string"
10516 },
10517 "swap_partition_path": {
10518 "type": "string"
10519 },
10520 "schema": {
10521 "type": [
10522 "string",
10523 "null"
10524 ]
10525 },
10526 "partitions": {
10527 "type": "array",
10528 "items": {
10529 "$ref": "#/definitions/disk-partition"
10530 }
10531 },
10532 "mediasize": {
10533 "type": "integer"
10534 },
10535 "id": {
10536 "type": "string"
10537 },
10538 "is_ssd": {
10539 "type": "boolean"
10540 },
10541 "data_partition_uuid": {
10542 "type": "string"
10543 }
10544 }
10545 },
10546 "mail-message": {
10547 "additionalProperties": false,
10548 "type": "object",
10549 "properties": {
10550 "message": {
10551 "type": "string"
10552 },
10553 "to": {
10554 "type": "array",
10555 "items": {
10556 "type": "string"
10557 }
10558 },
10559 "attachments": {
10560 "type": "array",
10561 "items": {
10562 "type": "string"
10563 }
10564 },
10565 "from": {
10566 "type": "string"
10567 },
10568 "extra_headers": {
10569 "type": "object"
10570 },
10571 "subject": {
10572 "type": "string"
10573 }
10574 }
10575 },
10576 "volume-dataset-property-refreservation": {
10577 "additionalProperties": false,
10578 "type": "object",
10579 "properties": {
10580 "rawvalue": {
10581 "type": "string",
10582 "readOnly": true
10583 },
10584 "source": {
10585 "$ref": "#/definitions/volume-property-source"
10586 },
10587 "value": {
10588 "type": [
10589 "string",
10590 "null"
10591 ]
10592 },
10593 "parsed": {
10594 "$ref": "#/definitions/volume-dataset-property-refreservation-value"
10595 }
10596 }
10597 },
10598 "volume-dataset-property-usedbychildren": {
10599 "additionalProperties": false,
10600 "type": "object",
10601 "properties": {
10602 "rawvalue": {
10603 "type": "string",
10604 "readOnly": true
10605 },
10606 "source": {
10607 "$ref": "#/definitions/volume-property-source"
10608 },
10609 "value": {
10610 "type": [
10611 "string",
10612 "null"
10613 ]
10614 },
10615 "parsed": {
10616 "$ref": "#/definitions/volume-dataset-property-usedbychildren-value"
10617 }
10618 }
10619 },
10620 "acl-entry": {
10621 "type": "object",
10622 "properties": {
10623 "tag": {
10624 "$ref": "#/definitions/acl-entry-tag"
10625 },
10626 "flags": {
10627 "$ref": "#/definitions/acl-entry-flags"
10628 },
10629 "type": {
10630 "$ref": "#/definitions/acl-entry-type"
10631 },
10632 "id": {
10633 "type": [
10634 "string",
10635 "null"
10636 ]
10637 },
10638 "perms": {
10639 "$ref": "#/definitions/acl-entry-perms"
10640 },
10641 "name": {
10642 "type": [
10643 "string",
10644 "null"
10645 ]
10646 },
10647 "text": {
10648 "type": [
10649 "string",
10650 "null"
10651 ]
10652 }
10653 }
10654 },
10655 "volume-property-delegation": {
10656 "additionalProperties": false,
10657 "type": "object",
10658 "properties": {
10659 "rawvalue": {
10660 "type": "string",
10661 "readOnly": true
10662 },
10663 "source": {
10664 "$ref": "#/definitions/volume-property-source"
10665 },
10666 "value": {
10667 "type": [
10668 "string",
10669 "null"
10670 ]
10671 },
10672 "parsed": {
10673 "$ref": "#/definitions/volume-property-delegation-value"
10674 }
10675 }
10676 },
10677 "service-ftp-tlsoptions-items": {
10678 "type": "string",
10679 "enum": [
10680 "ALLOW_CLIENT_RENEGOTIATIONS",
10681 "ALLOW_DOT_LOGIN",
10682 "ALLOW_PER_USER",
10683 "COMMON_NAME_REQUIRED",
10684 "ENABLE_DIAGNOSTICS",
10685 "EXPORT_CERTIFICATE_DATA",
10686 "NO_CERTIFICATE_REQUEST",
10687 "NO_EMPTY_FRAGMENTS",
10688 "NO_SESSION_REUSE_REQUIRED",
10689 "STANDARD_ENV_VARS",
10690 "DNS_NAME_REQUIRED",
10691 "IP_ADDRESS_REQUIRED"
10692 ]
10693 },
10694 "volume-dataset-property-volsize-value": {
10695 "type": "integer",
10696 "readOnly": true
10697 },
10698 "volume-property-fragmentation-value": {
10699 "type": "string",
10700 "readOnly": true
10701 },
10702 "ip-address": {
10703 "type": "string",
10704 "format": "ipv4"
10705 },
10706 "network-interface-status-linkstate": {
10707 "type": "string",
10708 "enum": [
10709 "LINK_STATE_UNKNOWN",
10710 "LINK_STATE_DOWN",
10711 "LINK_STATE_UP"
10712 ]
10713 },
10714 "importable-disk": {
10715 "type": "object",
10716 "properties": {
10717 "size": {
10718 "type": "integer"
10719 },
10720 "path": {
10721 "type": "string"
10722 },
10723 "label": {
10724 "type": "string"
10725 },
10726 "fstype": {
10727 "type": "string"
10728 }
10729 }
10730 },
10731 "winbind-directory-status": {
10732 "additionalProperties": false,
10733 "type": "object",
10734 "properties": {
10735 "server_time": {
10736 "type": "string",
10737 "format": "date-time"
10738 },
10739 "type": {
10740 "enum": [
10741 "winbind-directory-status"
10742 ]
10743 },
10744 "joined": {
10745 "type": "boolean"
10746 },
10747 "domain_controller": {
10748 "type": "string"
10749 }
10750 }
10751 },
10752 "volume-dataset-property-quota-value": {
10753 "type": [
10754 "integer",
10755 "null"
10756 ]
10757 },
10758 "service-afp": {
10759 "additionalProperties": false,
10760 "type": "object",
10761 "properties": {
10762 "guest_user": {
10763 "type": "string"
10764 },
10765 "connections_limit": {
10766 "type": "integer"
10767 },
10768 "bind_addresses": {
10769 "type": [
10770 "array",
10771 "null"
10772 ],
10773 "items": {
10774 "type": "string"
10775 }
10776 },
10777 "dbpath": {
10778 "type": [
10779 "string",
10780 "null"
10781 ]
10782 },
10783 "auxiliary": {
10784 "type": [
10785 "string",
10786 "null"
10787 ]
10788 },
10789 "enable": {
10790 "type": "boolean"
10791 },
10792 "homedir_enable": {
10793 "type": "boolean"
10794 },
10795 "homedir_path": {
10796 "type": [
10797 "string",
10798 "null"
10799 ]
10800 },
10801 "homedir_name": {
10802 "type": [
10803 "string",
10804 "null"
10805 ]
10806 },
10807 "type": {
10808 "enum": [
10809 "service-afp"
10810 ]
10811 },
10812 "guest_enable": {
10813 "type": "boolean"
10814 }
10815 }
10816 },
10817 "volume-property-dedupratio": {
10818 "additionalProperties": false,
10819 "type": "object",
10820 "properties": {
10821 "rawvalue": {
10822 "type": "string",
10823 "readOnly": true
10824 },
10825 "source": {
10826 "$ref": "#/definitions/volume-property-source"
10827 },
10828 "value": {
10829 "type": [
10830 "string",
10831 "null"
10832 ]
10833 },
10834 "parsed": {
10835 "$ref": "#/definitions/volume-property-dedupratio-value"
10836 }
10837 }
10838 },
10839 "support-ticket": {
10840 "additionalProperties": false,
10841 "required": [
10842 "username",
10843 "password",
10844 "subject",
10845 "description",
10846 "category",
10847 "type",
10848 "debug"
10849 ],
10850 "type": "object",
10851 "properties": {
10852 "password": {
10853 "type": "string"
10854 },
10855 "description": {
10856 "type": "string"
10857 },
10858 "username": {
10859 "type": "string"
10860 },
10861 "type": {
10862 "type": "string"
10863 },
10864 "category": {
10865 "type": "string"
10866 },
10867 "attachments": {
10868 "type": "array",
10869 "items": {
10870 "type": "string"
10871 }
10872 },
10873 "debug": {
10874 "type": "boolean"
10875 },
10876 "subject": {
10877 "type": "string"
10878 }
10879 }
10880 },
10881 "service-config": {
10882 "$ref": "#/definitions/service-dyndns"
10883 },
10884 "backup": {
10885 "additionalProperties": false,
10886 "type": "object",
10887 "properties": {
10888 "compression": {
10889 "$ref": "#/definitions/backup-compression-type"
10890 },
10891 "dataset": {
10892 "type": "string"
10893 },
10894 "recursive": {
10895 "type": "boolean"
10896 },
10897 "id": {
10898 "type": "string"
10899 },
10900 "provider": {
10901 "type": "string"
10902 },
10903 "properties": {
10904 "$ref": "#/definitions/backup-properties"
10905 },
10906 "name": {
10907 "type": "string"
10908 }
10909 }
10910 },
10911 "volume-dataset-property-refcompressratio": {
10912 "additionalProperties": false,
10913 "type": "object",
10914 "properties": {
10915 "rawvalue": {
10916 "type": "string",
10917 "readOnly": true
10918 },
10919 "source": {
10920 "$ref": "#/definitions/volume-property-source"
10921 },
10922 "value": {
10923 "type": [
10924 "string",
10925 "null"
10926 ]
10927 },
10928 "parsed": {
10929 "$ref": "#/definitions/volume-dataset-property-refcompressratio-value"
10930 }
10931 }
10932 },
10933 "kerberos-realm": {
10934 "type": "object",
10935 "properties": {
10936 "password_server_address": {
10937 "type": [
10938 "string",
10939 "null"
10940 ]
10941 },
10942 "kdc_address": {
10943 "type": [
10944 "string",
10945 "null"
10946 ]
10947 },
10948 "admin_server_address": {
10949 "type": [
10950 "string",
10951 "null"
10952 ]
10953 },
10954 "realm": {
10955 "type": "string"
10956 },
10957 "id": {
10958 "type": "string"
10959 }
10960 }
10961 },
10962 "service-smartd-powermode": {
10963 "type": "string",
10964 "enum": [
10965 "NEVER",
10966 "SLEEP",
10967 "STANDBY",
10968 "IDLE"
10969 ]
10970 },
10971 "ipv6-address": {
10972 "type": "string",
10973 "format": "ipv6"
10974 },
10975 "alert-severity": {
10976 "type": "string",
10977 "enum": [
10978 "CRITICAL",
10979 "WARNING",
10980 "INFO"
10981 ]
10982 }
10983 }
10984}