19b46bc0bSMyung Bae{ 29b46bc0bSMyung Bae "$id": "http://redfish.dmtf.org/schemas/v1/Session.v1_8_0.json", 39b46bc0bSMyung Bae "$ref": "#/definitions/Session", 49b46bc0bSMyung Bae "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 59b46bc0bSMyung Bae "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", 69b46bc0bSMyung Bae "definitions": { 79b46bc0bSMyung Bae "Actions": { 89b46bc0bSMyung Bae "additionalProperties": false, 99b46bc0bSMyung Bae "description": "The available actions for this resource.", 109b46bc0bSMyung Bae "longDescription": "This type shall contain the available actions for this resource.", 119b46bc0bSMyung Bae "patternProperties": { 129b46bc0bSMyung Bae "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 139b46bc0bSMyung Bae "description": "This property shall specify a valid odata or Redfish property.", 149b46bc0bSMyung Bae "type": [ 159b46bc0bSMyung Bae "array", 169b46bc0bSMyung Bae "boolean", 179b46bc0bSMyung Bae "integer", 189b46bc0bSMyung Bae "number", 199b46bc0bSMyung Bae "null", 209b46bc0bSMyung Bae "object", 219b46bc0bSMyung Bae "string" 229b46bc0bSMyung Bae ] 239b46bc0bSMyung Bae } 249b46bc0bSMyung Bae }, 259b46bc0bSMyung Bae "properties": { 269b46bc0bSMyung Bae "Oem": { 279b46bc0bSMyung Bae "$ref": "#/definitions/OemActions", 289b46bc0bSMyung Bae "description": "The available OEM-specific actions for this resource.", 299b46bc0bSMyung Bae "longDescription": "This property shall contain the available OEM-specific actions for this resource.", 309b46bc0bSMyung Bae "versionAdded": "v1_1_0" 319b46bc0bSMyung Bae } 329b46bc0bSMyung Bae }, 339b46bc0bSMyung Bae "type": "object" 349b46bc0bSMyung Bae }, 359b46bc0bSMyung Bae "Links": { 369b46bc0bSMyung Bae "additionalProperties": false, 379b46bc0bSMyung Bae "description": "The links to other resources that are related to this resource.", 389b46bc0bSMyung Bae "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.", 399b46bc0bSMyung Bae "patternProperties": { 409b46bc0bSMyung Bae "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 419b46bc0bSMyung Bae "description": "This property shall specify a valid odata or Redfish property.", 429b46bc0bSMyung Bae "type": [ 439b46bc0bSMyung Bae "array", 449b46bc0bSMyung Bae "boolean", 459b46bc0bSMyung Bae "integer", 469b46bc0bSMyung Bae "number", 479b46bc0bSMyung Bae "null", 489b46bc0bSMyung Bae "object", 499b46bc0bSMyung Bae "string" 509b46bc0bSMyung Bae ] 519b46bc0bSMyung Bae } 529b46bc0bSMyung Bae }, 539b46bc0bSMyung Bae "properties": { 549b46bc0bSMyung Bae "Oem": { 559b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", 569b46bc0bSMyung Bae "description": "The OEM extension property.", 579b46bc0bSMyung Bae "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements." 589b46bc0bSMyung Bae }, 599b46bc0bSMyung Bae "OutboundConnection": { 609b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/OutboundConnection.json#/definitions/OutboundConnection", 619b46bc0bSMyung Bae "description": "The outbound connection associated with this session.", 629b46bc0bSMyung Bae "longDescription": "This property shall contain a link to a resource of type `OutboundConnection` that represents the outbound connection for this session. This property shall be present if `SessionType` contains `OutboundConnection`.", 639b46bc0bSMyung Bae "readonly": true, 649b46bc0bSMyung Bae "versionAdded": "v1_7_0" 659b46bc0bSMyung Bae } 669b46bc0bSMyung Bae }, 679b46bc0bSMyung Bae "type": "object" 689b46bc0bSMyung Bae }, 699b46bc0bSMyung Bae "OemActions": { 709b46bc0bSMyung Bae "additionalProperties": true, 719b46bc0bSMyung Bae "description": "The available OEM-specific actions for this resource.", 729b46bc0bSMyung Bae "longDescription": "This type shall contain the available OEM-specific actions for this resource.", 739b46bc0bSMyung Bae "patternProperties": { 749b46bc0bSMyung Bae "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 759b46bc0bSMyung Bae "description": "This property shall specify a valid odata or Redfish property.", 769b46bc0bSMyung Bae "type": [ 779b46bc0bSMyung Bae "array", 789b46bc0bSMyung Bae "boolean", 799b46bc0bSMyung Bae "integer", 809b46bc0bSMyung Bae "number", 819b46bc0bSMyung Bae "null", 829b46bc0bSMyung Bae "object", 839b46bc0bSMyung Bae "string" 849b46bc0bSMyung Bae ] 859b46bc0bSMyung Bae } 869b46bc0bSMyung Bae }, 879b46bc0bSMyung Bae "properties": {}, 889b46bc0bSMyung Bae "type": "object" 899b46bc0bSMyung Bae }, 909b46bc0bSMyung Bae "Session": { 919b46bc0bSMyung Bae "additionalProperties": false, 929b46bc0bSMyung Bae "description": "The `Session` resource describes a single connection (session) between a client and a Redfish service instance.", 939b46bc0bSMyung Bae "longDescription": "This resource shall represent a session for a Redfish implementation.", 949b46bc0bSMyung Bae "patternProperties": { 959b46bc0bSMyung Bae "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 969b46bc0bSMyung Bae "description": "This property shall specify a valid odata or Redfish property.", 979b46bc0bSMyung Bae "type": [ 989b46bc0bSMyung Bae "array", 999b46bc0bSMyung Bae "boolean", 1009b46bc0bSMyung Bae "integer", 1019b46bc0bSMyung Bae "number", 1029b46bc0bSMyung Bae "null", 1039b46bc0bSMyung Bae "object", 1049b46bc0bSMyung Bae "string" 1059b46bc0bSMyung Bae ] 1069b46bc0bSMyung Bae } 1079b46bc0bSMyung Bae }, 1089b46bc0bSMyung Bae "properties": { 1099b46bc0bSMyung Bae "@odata.context": { 1109b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 1119b46bc0bSMyung Bae }, 1129b46bc0bSMyung Bae "@odata.etag": { 1139b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 1149b46bc0bSMyung Bae }, 1159b46bc0bSMyung Bae "@odata.id": { 1169b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 1179b46bc0bSMyung Bae }, 1189b46bc0bSMyung Bae "@odata.type": { 1199b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" 1209b46bc0bSMyung Bae }, 1219b46bc0bSMyung Bae "Actions": { 1229b46bc0bSMyung Bae "$ref": "#/definitions/Actions", 1239b46bc0bSMyung Bae "description": "The available actions for this resource.", 1249b46bc0bSMyung Bae "longDescription": "This property shall contain the available actions for this resource.", 1259b46bc0bSMyung Bae "versionAdded": "v1_1_0" 1269b46bc0bSMyung Bae }, 1279b46bc0bSMyung Bae "ClientOriginIPAddress": { 1289b46bc0bSMyung Bae "description": "The IP address of the client that created the session.", 1299b46bc0bSMyung Bae "longDescription": "This property shall contain the IP address of the client that created the session.", 1309b46bc0bSMyung Bae "readonly": true, 1319b46bc0bSMyung Bae "type": [ 1329b46bc0bSMyung Bae "string", 1339b46bc0bSMyung Bae "null" 1349b46bc0bSMyung Bae ], 1359b46bc0bSMyung Bae "versionAdded": "v1_3_0" 1369b46bc0bSMyung Bae }, 1379b46bc0bSMyung Bae "Context": { 1389b46bc0bSMyung Bae "description": "A client-supplied string that is stored with the session.", 1399b46bc0bSMyung Bae "longDescription": "This property shall contain a client-supplied context that remains with the session through the session's lifetime.", 1409b46bc0bSMyung Bae "readonly": true, 1419b46bc0bSMyung Bae "type": [ 1429b46bc0bSMyung Bae "string", 1439b46bc0bSMyung Bae "null" 1449b46bc0bSMyung Bae ], 1459b46bc0bSMyung Bae "versionAdded": "v1_5_0" 1469b46bc0bSMyung Bae }, 1479b46bc0bSMyung Bae "CreatedTime": { 1489b46bc0bSMyung Bae "description": "The date and time when the session was created.", 1499b46bc0bSMyung Bae "format": "date-time", 1509b46bc0bSMyung Bae "longDescription": "This property shall contain the date and time when the session was created.", 1519b46bc0bSMyung Bae "readonly": true, 1529b46bc0bSMyung Bae "type": [ 1539b46bc0bSMyung Bae "string", 1549b46bc0bSMyung Bae "null" 1559b46bc0bSMyung Bae ], 1569b46bc0bSMyung Bae "versionAdded": "v1_4_0" 1579b46bc0bSMyung Bae }, 1589b46bc0bSMyung Bae "Description": { 1599b46bc0bSMyung Bae "anyOf": [ 1609b46bc0bSMyung Bae { 1619b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" 1629b46bc0bSMyung Bae }, 1639b46bc0bSMyung Bae { 1649b46bc0bSMyung Bae "type": "null" 1659b46bc0bSMyung Bae } 1669b46bc0bSMyung Bae ], 1679b46bc0bSMyung Bae "readonly": true 1689b46bc0bSMyung Bae }, 1699b46bc0bSMyung Bae "ExpirationTime": { 1709b46bc0bSMyung Bae "description": "The date and time when the session expires regardless of session activity.", 1719b46bc0bSMyung Bae "format": "date-time", 1729b46bc0bSMyung Bae "longDescription": "This property shall contain the date and time when the session expires regardless of session activity. The service shall delete this resource when the expiration time is reached. If this property is not present, the session does not expire based on an absolute time.", 1739b46bc0bSMyung Bae "readonly": true, 1749b46bc0bSMyung Bae "type": "string", 1759b46bc0bSMyung Bae "versionAdded": "v1_8_0" 1769b46bc0bSMyung Bae }, 1779b46bc0bSMyung Bae "Id": { 1789b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", 1799b46bc0bSMyung Bae "readonly": true 1809b46bc0bSMyung Bae }, 1819b46bc0bSMyung Bae "Links": { 1829b46bc0bSMyung Bae "$ref": "#/definitions/Links", 1839b46bc0bSMyung Bae "description": "The links to other resources that are related to this resource.", 1849b46bc0bSMyung Bae "longDescription": "This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource.", 1859b46bc0bSMyung Bae "versionAdded": "v1_7_0" 1869b46bc0bSMyung Bae }, 1879b46bc0bSMyung Bae "Name": { 1889b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", 1899b46bc0bSMyung Bae "readonly": true 1909b46bc0bSMyung Bae }, 1919b46bc0bSMyung Bae "Oem": { 1929b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", 1939b46bc0bSMyung Bae "description": "The OEM extension property.", 1949b46bc0bSMyung Bae "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements." 1959b46bc0bSMyung Bae }, 1969b46bc0bSMyung Bae "OemSessionType": { 1979b46bc0bSMyung Bae "description": "The active OEM-defined session type.", 1989b46bc0bSMyung Bae "longDescription": "This property shall contain the OEM-specific session type that is currently active if `SessionType` contains `OEM`.", 1999b46bc0bSMyung Bae "readonly": true, 2009b46bc0bSMyung Bae "type": [ 2019b46bc0bSMyung Bae "string", 2029b46bc0bSMyung Bae "null" 2039b46bc0bSMyung Bae ], 2049b46bc0bSMyung Bae "versionAdded": "v1_2_0" 2059b46bc0bSMyung Bae }, 2069b46bc0bSMyung Bae "Password": { 2079b46bc0bSMyung Bae "description": "The password for this session. The value is `null` in responses.", 2089b46bc0bSMyung Bae "longDescription": "This property shall contain the password for this session. The value shall be `null` in responses. When creating a session through a Redfish host interface using an `AuthNone` role, the property shall contain an empty string in the request body.", 2099b46bc0bSMyung Bae "readonly": true, 2109b46bc0bSMyung Bae "type": [ 2119b46bc0bSMyung Bae "string", 2129b46bc0bSMyung Bae "null" 2139b46bc0bSMyung Bae ], 2149b46bc0bSMyung Bae "writeOnly": false 2159b46bc0bSMyung Bae }, 2169b46bc0bSMyung Bae "Roles": { 2179b46bc0bSMyung Bae "description": "The Redfish roles that contain the privileges of this session.", 2189b46bc0bSMyung Bae "items": { 2199b46bc0bSMyung Bae "type": [ 2209b46bc0bSMyung Bae "string", 2219b46bc0bSMyung Bae "null" 2229b46bc0bSMyung Bae ] 2239b46bc0bSMyung Bae }, 2249b46bc0bSMyung Bae "longDescription": "This property shall contain the Redfish roles that contain the privileges of this session.", 2259b46bc0bSMyung Bae "readonly": true, 2269b46bc0bSMyung Bae "type": "array", 2279b46bc0bSMyung Bae "versionAdded": "v1_7_0" 2289b46bc0bSMyung Bae }, 2299b46bc0bSMyung Bae "SessionType": { 2309b46bc0bSMyung Bae "anyOf": [ 2319b46bc0bSMyung Bae { 2329b46bc0bSMyung Bae "$ref": "#/definitions/SessionTypes" 2339b46bc0bSMyung Bae }, 2349b46bc0bSMyung Bae { 2359b46bc0bSMyung Bae "type": "null" 2369b46bc0bSMyung Bae } 2379b46bc0bSMyung Bae ], 2389b46bc0bSMyung Bae "description": "The active session type.", 2399b46bc0bSMyung Bae "longDescription": "This property shall represent the type of session that is currently active.", 2409b46bc0bSMyung Bae "readonly": true, 2419b46bc0bSMyung Bae "versionAdded": "v1_2_0" 2429b46bc0bSMyung Bae }, 2439b46bc0bSMyung Bae "Token": { 2449b46bc0bSMyung Bae "description": "The multi-factor authentication token for this session. The value is `null` in responses.", 2459b46bc0bSMyung Bae "longDescription": "This property shall contain the multi-factor authentication token for this session. The value shall be `null` in responses.", 2469b46bc0bSMyung Bae "readonly": true, 2479b46bc0bSMyung Bae "type": [ 2489b46bc0bSMyung Bae "string", 2499b46bc0bSMyung Bae "null" 2509b46bc0bSMyung Bae ], 2519b46bc0bSMyung Bae "versionAdded": "v1_6_0", 2529b46bc0bSMyung Bae "writeOnly": false 2539b46bc0bSMyung Bae }, 2549b46bc0bSMyung Bae "UserName": { 2559b46bc0bSMyung Bae "description": "The username for the account for this session.", 2569b46bc0bSMyung Bae "longDescription": "This property shall contain the username that matches an account recognized by the account service. When a creating a session through a Redfish host interface using an `AuthNone` role, the property shall contain an empty string in the request body.", 2579b46bc0bSMyung Bae "readonly": true, 2589b46bc0bSMyung Bae "type": [ 2599b46bc0bSMyung Bae "string", 2609b46bc0bSMyung Bae "null" 2619b46bc0bSMyung Bae ] 2629b46bc0bSMyung Bae } 2639b46bc0bSMyung Bae }, 2649b46bc0bSMyung Bae "required": [ 2659b46bc0bSMyung Bae "@odata.id", 2669b46bc0bSMyung Bae "@odata.type", 2679b46bc0bSMyung Bae "Id", 2689b46bc0bSMyung Bae "Name" 2699b46bc0bSMyung Bae ], 2709b46bc0bSMyung Bae "requiredOnCreate": [ 2719b46bc0bSMyung Bae "UserName", 2729b46bc0bSMyung Bae "Password" 2739b46bc0bSMyung Bae ], 2749b46bc0bSMyung Bae "type": "object" 2759b46bc0bSMyung Bae }, 2769b46bc0bSMyung Bae "SessionTypes": { 2779b46bc0bSMyung Bae "enum": [ 2789b46bc0bSMyung Bae "HostConsole", 2799b46bc0bSMyung Bae "ManagerConsole", 2809b46bc0bSMyung Bae "IPMI", 2819b46bc0bSMyung Bae "KVMIP", 2829b46bc0bSMyung Bae "OEM", 2839b46bc0bSMyung Bae "Redfish", 2849b46bc0bSMyung Bae "VirtualMedia", 2859b46bc0bSMyung Bae "WebUI", 2869b46bc0bSMyung Bae "OutboundConnection" 2879b46bc0bSMyung Bae ], 2889b46bc0bSMyung Bae "enumDescriptions": { 2899b46bc0bSMyung Bae "HostConsole": "The host's console, which could be connected through Telnet, SSH, or another protocol.", 2909b46bc0bSMyung Bae "IPMI": "Intelligent Platform Management Interface.", 2919b46bc0bSMyung Bae "KVMIP": "A Keyboard-Video-Mouse over IP session.", 2929b46bc0bSMyung Bae "ManagerConsole": "The manager's console, which could be connected through Telnet, SSH, SM CLP, or another protocol.", 2939b46bc0bSMyung Bae "OEM": "OEM type. For OEM session types, see the `OemSessionType` property.", 2949b46bc0bSMyung Bae "OutboundConnection": "A Redfish Specification-defined outbound connection. See the 'Outbound connections' clause of the Redfish Specification.", 2959b46bc0bSMyung Bae "Redfish": "A Redfish session.", 2969b46bc0bSMyung Bae "VirtualMedia": "Virtual media.", 2979b46bc0bSMyung Bae "WebUI": "A non-Redfish web user interface session, such as a graphical interface or another web-based protocol." 2989b46bc0bSMyung Bae }, 2999b46bc0bSMyung Bae "enumLongDescriptions": { 3009b46bc0bSMyung Bae "HostConsole": "This value shall indicate the session is the host's console, which could be connected through Telnet, SSH, or another protocol. If this session is terminated or deleted, the service shall close the connection for the respective host console session.", 3019b46bc0bSMyung Bae "IPMI": "This value shall indicate the session is an Intelligent Platform Management Interface session. If this session is terminated or deleted, the service shall close the connection for the respective IPMI session.", 3029b46bc0bSMyung Bae "KVMIP": "This value shall indicate the session is a Keyboard-Video-Mouse over IP session. If this session is terminated or deleted, the service shall close the connection for the respective KVM-IP session.", 3039b46bc0bSMyung Bae "ManagerConsole": "This value shall indicate the session is the manager's console, which could be connected through Telnet, SSH, SM CLP, or another protocol. If this session is terminated or deleted, the service shall close the connection for the respective manager console session.", 3049b46bc0bSMyung Bae "OEM": "This value shall indicate the session is an OEM-specific session and is further described by the `OemSessionType` property.", 3059b46bc0bSMyung Bae "OutboundConnection": "This value shall indicate the session is an outbound connection defined by the 'Outbound connections' clause of the Redfish Specification. The `OutboundConnection` property inside the `Links` property shall contain the link to the outbound connection configuration. If this session is terminated or deleted, the service shall disable the associated `OutboundConnection` resource.", 3069b46bc0bSMyung Bae "Redfish": "This value shall indicate the session is a Redfish session defined by the 'Redfish session login authentication' clause of the Redfish Specification. If this session is terminated or deleted, the service shall invalidate the respective session token.", 3079b46bc0bSMyung Bae "VirtualMedia": "This value shall indicate the session is a virtual media session. If this session is terminated or deleted, the service shall close the connection for the respective virtual media session and make the media inaccessible to the host.", 3089b46bc0bSMyung Bae "WebUI": "This value shall indicate the session is a non-Redfish web user interface session. If this session is terminated or deleted, the service shall invalidate the respective session token." 3099b46bc0bSMyung Bae }, 3109b46bc0bSMyung Bae "enumVersionAdded": { 3119b46bc0bSMyung Bae "OutboundConnection": "v1_7_0" 3129b46bc0bSMyung Bae }, 3139b46bc0bSMyung Bae "type": "string" 3149b46bc0bSMyung Bae } 3159b46bc0bSMyung Bae }, 3169b46bc0bSMyung Bae "language": "en", 3179b46bc0bSMyung Bae "owningEntity": "DMTF", 3189b46bc0bSMyung Bae "release": "2024.4", 3199b46bc0bSMyung Bae "title": "#Session.v1_8_0.Session" 3209b46bc0bSMyung Bae}