{ "id":"/axapi/v3/partition-admin/{user}", "type":"object", "node-type":"list", "title":"partition-admin", "partition-visibility":"private", "description":"Partition admin user configuration", "properties":{ "user":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":31, "partition-visibility":"private", "description":"Partition admin user name", "optional":false }, "password-key":{ "type":"number", "format":"flag", "platform-specific-default":1, "partition-visibility":"private", "description":"Config admin user password", "optional":true }, "passwd-string":{ "type":"string", "format":"password", "minLength":"platform specific", "maxLength":"platform specific", "platform-specific-default":1, "partition-visibility":"private", "description":"Config admin user password", "optional":true }, "access-type":{ "type":"string", "format":"enum-list", "default":"axapi,cli,web", "partition-visibility":"private", "enum":[ "axapi", "cli", "web" ], "optional":true }, "action":{ "type":"string", "format":"enum", "default":"enable", "partition-visibility":"private", "description":"'enable': Enable user; 'disable': Disable user; ", "enum":[ "enable", "disable" ], "optional":true }, "unlock":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"private", "description":"Unlock admin user", "optional":true }, "trusted-host":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"private", "description":"Set trusted network administrator can login in", "optional":true }, "trusted-host-cidr":{ "type":"string", "format":"ipv4-cidr", "partition-visibility":"private", "not":"access-list", "description":"Trusted IP Address with network mask", "optional":true }, "access-list":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"private", "not":"trusted-host-cidr", "description":"Specify an ACL to classify a trusted host", "optional":true }, "trusted-host-acl-id":{ "type":"number", "format":"number", "minimum":1, "maximum":99, "partition-visibility":"private", "description":"ACL ID", "optional":true }, "privilege-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "privilege-partition":{ "type":"string", "format":"enum", "partition-visibility":"private", "description":"'partition-enable-disable': Set per-partition enable/disable privilege; 'partition-read': Set per-partition read privilege; 'partition-write': Set per-partition write privilege; ", "enum":[ "partition-enable-disable", "partition-read", "partition-write" ] }, "optional":true } } ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"private", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"private", "description":"Customized tag", "optional":true }, "password":{ "type":"object", "$ref":"/axapi/v3/partition-admin/{user}/password", "properties":{ "password-in-module":{ "type":"string", "format":"password", "minLength":"platform specific", "maxLength":"platform specific", "platform-specific-default":1, "partition-visibility":"private", "description":"Config admin user password" }, "encrypted-in-module":{ "type":"encrypted", "format":"encrypted", "partition-visibility":"private", "description":"Specify an ENCRYPTED password string (System admin user password)" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"private", "modify-not-allowed":1, "description":"uuid of the object" } } } }, "object-keys":[ "user" ], "required":[ "user" ] }