blob: aa893772abf9503f60047a27e87433a41ad78124 [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
Ed Tanouscb103132019-10-08 11:34:22 -07002 "$id": "http://redfish.dmtf.org/schemas/v1/ManagerAccount.v1_3_1.json",
Ed Tanous118b1c72018-09-13 13:45:51 -07003 "$ref": "#/definitions/ManagerAccount",
Ed Tanous530520e2019-01-02 13:41:37 -08004 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
Ed Tanouscb103132019-10-08 11:34:22 -07005 "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
Ed Tanous118b1c72018-09-13 13:45:51 -07006 "definitions": {
7 "Actions": {
8 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -07009 "description": "The available actions for this Resource.",
10 "longDescription": "This type shall contain the available actions for this Resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -070011 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070012 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070013 "description": "This property shall specify a valid odata or Redfish property.",
14 "type": [
15 "array",
16 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080017 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070018 "number",
19 "null",
20 "object",
21 "string"
22 ]
23 }
24 },
25 "properties": {
26 "Oem": {
Ed Tanous530520e2019-01-02 13:41:37 -080027 "$ref": "#/definitions/OemActions",
Ed Tanouscb103132019-10-08 11:34:22 -070028 "description": "The available OEM-specific actions for this Resource.",
29 "longDescription": "This property shall contain the available OEM-specific actions for this Resource.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -060030 "versionAdded": "v1_1_0"
Ed Tanous118b1c72018-09-13 13:45:51 -070031 }
32 },
33 "type": "object"
34 },
35 "Links": {
36 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -070037 "description": "The links to other Resources that are related to this Resource.",
38 "longDescription": "This Redfish Specification-described type shall contain links to Resources that are related to but are not contained by or subordinate to this Resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -070039 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070040 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070041 "description": "This property shall specify a valid odata or Redfish property.",
42 "type": [
43 "array",
44 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080045 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070046 "number",
47 "null",
48 "object",
49 "string"
50 ]
51 }
52 },
53 "properties": {
54 "Oem": {
55 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -070056 "description": "The OEM extension property.",
57 "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
Ed Tanous118b1c72018-09-13 13:45:51 -070058 },
59 "Role": {
60 "$ref": "http://redfish.dmtf.org/schemas/v1/Role.json#/definitions/Role",
Ed Tanouscb103132019-10-08 11:34:22 -070061 "description": "The link to the Redfish Role that defines the privileges for this account.",
62 "longDescription": "This property shall contain a link to a Role Resource instance, and should link to the Resource identified by the RoleId property.",
Ed Tanous118b1c72018-09-13 13:45:51 -070063 "readonly": true
64 }
65 },
66 "type": "object"
67 },
68 "ManagerAccount": {
69 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -070070 "description": "The user accounts, owned by a manager, are defined in this Resource. Changes to a manager account may affect the current Redfish Service connection if this manager is responsible for the Redfish Service.",
71 "longDescription": "This Resource shall represent Resources that represent the user accounts for the manager.",
Ed Tanous118b1c72018-09-13 13:45:51 -070072 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070073 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070074 "description": "This property shall specify a valid odata or Redfish property.",
75 "type": [
76 "array",
77 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080078 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070079 "number",
80 "null",
81 "object",
82 "string"
83 ]
84 }
85 },
86 "properties": {
87 "@odata.context": {
Ed Tanouscb103132019-10-08 11:34:22 -070088 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
Ed Tanous118b1c72018-09-13 13:45:51 -070089 },
90 "@odata.etag": {
Ed Tanouscb103132019-10-08 11:34:22 -070091 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
Ed Tanous118b1c72018-09-13 13:45:51 -070092 },
93 "@odata.id": {
Ed Tanouscb103132019-10-08 11:34:22 -070094 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
Ed Tanous118b1c72018-09-13 13:45:51 -070095 },
96 "@odata.type": {
Ed Tanouscb103132019-10-08 11:34:22 -070097 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
Ed Tanous118b1c72018-09-13 13:45:51 -070098 },
99 "Actions": {
100 "$ref": "#/definitions/Actions",
Ed Tanouscb103132019-10-08 11:34:22 -0700101 "description": "The available actions for this Resource.",
102 "longDescription": "The actions property shall contain the available actions for this Resource.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600103 "versionAdded": "v1_1_0"
104 },
105 "Certificates": {
106 "$ref": "http://redfish.dmtf.org/schemas/v1/CertificateCollection.json#/definitions/CertificateCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700107 "description": "The link to a collection of certificates used for this account.",
108 "longDescription": "This property shall contain a link to a Resource Collection of type CertificateCollection.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600109 "readonly": true,
110 "versionAdded": "v1_2_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700111 },
112 "Description": {
113 "anyOf": [
114 {
115 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
116 },
117 {
118 "type": "null"
119 }
120 ],
121 "readonly": true
122 },
123 "Enabled": {
Ed Tanouscb103132019-10-08 11:34:22 -0700124 "description": "An indication of whether an account is enabled. An administrator can disable it without deleting the user information. If `true`, the account is enabled and the user can log in. If `false`, the account is disabled and, in the future, the user cannot log in. This property overrides the Locked property.",
125 "longDescription": "This property shall indicate whether an account is enabled. If `true`, the account is enabled and the user can log in. If `false`, the account is disabled and, in the future, the user cannot log in. This property overrides the Locked property.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700126 "readonly": false,
127 "type": "boolean"
128 },
129 "Id": {
130 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
131 "readonly": true
132 },
133 "Links": {
134 "$ref": "#/definitions/Links",
Ed Tanouscb103132019-10-08 11:34:22 -0700135 "description": "The links to other Resources that are related to this Resource.",
136 "longDescription": "This property shall contain links to Resources that are related to but are not contained by or subordinate to this Resource."
Ed Tanous118b1c72018-09-13 13:45:51 -0700137 },
138 "Locked": {
Ed Tanouscb103132019-10-08 11:34:22 -0700139 "description": "An indication of whether the Account Service automatically locked the account because the lockout threshold was exceeded. To manually unlock the account before the lockout duration period, an administrator can change the property to `false` to clear the lockout condition.",
140 "longDescription": "This property shall indicate whether the Account Service automatically locked the account because the AccountLockoutThreshold was exceeded. To manually unlock the account before the lockout duration period, an administrator shall be able to change the property to `false` to clear the lockout condition.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700141 "readonly": false,
142 "type": "boolean"
143 },
144 "Name": {
145 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
146 "readonly": true
147 },
148 "Oem": {
149 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -0700150 "description": "The OEM extension property.",
151 "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
Ed Tanous118b1c72018-09-13 13:45:51 -0700152 },
153 "Password": {
Ed Tanouscb103132019-10-08 11:34:22 -0700154 "description": "The password. Use this property with a PATCH or PUT to write the password for the account. This property is `null` in responses.",
155 "longDescription": "This property shall contain the password for this account. The value shall be `null` in responses.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700156 "readonly": false,
157 "type": [
158 "string",
159 "null"
160 ]
161 },
Ed Tanouscb103132019-10-08 11:34:22 -0700162 "PasswordChangeRequired": {
163 "description": "An indication of whether the service requires that the password for this account be changed before further access to the account is allowed.",
164 "longDescription": "This property shall indicate whether the service requires that the password for this account be changed before further access to the account is allowed. The implementation may deny access to the service if the password has not been changed. A manager account created with an initial PasswordChangeRequired value of `true` may force a password change before first access of the account. When the Password property for this account is updated, the service shall set this property to `false`.",
165 "readonly": false,
166 "type": [
167 "boolean",
168 "null"
169 ],
170 "versionAdded": "v1_3_0"
171 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700172 "RoleId": {
Ed Tanouscb103132019-10-08 11:34:22 -0700173 "description": "The Role for this account.",
174 "longDescription": "This property shall contain the RoleId of the Role Resource configured for this account. The Service shall reject POST, PATCH, or PUT operations that provide a RoleId that does not exist by returning the HTTP 400 (Bad Request) status code.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700175 "readonly": false,
176 "type": "string"
177 },
178 "UserName": {
Ed Tanouscb103132019-10-08 11:34:22 -0700179 "description": "The user name for the account.",
180 "longDescription": "This property shall contain the user name for this account.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700181 "readonly": false,
182 "type": "string"
183 }
184 },
185 "required": [
Ed Tanous530520e2019-01-02 13:41:37 -0800186 "@odata.id",
187 "@odata.type",
Ed Tanous118b1c72018-09-13 13:45:51 -0700188 "Id",
189 "Name"
190 ],
191 "requiredOnCreate": [
192 "Password",
193 "UserName",
194 "RoleId"
195 ],
196 "type": "object"
197 },
198 "OemActions": {
199 "additionalProperties": true,
Ed Tanouscb103132019-10-08 11:34:22 -0700200 "description": "The available OEM-specific actions for this Resource.",
201 "longDescription": "This type shall contain the available OEM-specific actions for this Resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700202 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700203 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700204 "description": "This property shall specify a valid odata or Redfish property.",
205 "type": [
206 "array",
207 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800208 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700209 "number",
210 "null",
211 "object",
212 "string"
213 ]
214 }
215 },
216 "properties": {},
217 "type": "object"
218 }
219 },
220 "owningEntity": "DMTF",
Ed Tanouscb103132019-10-08 11:34:22 -0700221 "release": "2019.1",
222 "title": "#ManagerAccount.v1_3_1.ManagerAccount"
Ed Tanous118b1c72018-09-13 13:45:51 -0700223}