1*9b46bc0bSMyung Bae{ 2*9b46bc0bSMyung Bae "$id": "http://redfish.dmtf.org/schemas/v1/Session.v1_8_0.json", 3*9b46bc0bSMyung Bae "$ref": "#/definitions/Session", 4*9b46bc0bSMyung Bae "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5*9b46bc0bSMyung Bae "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", 6*9b46bc0bSMyung Bae "definitions": { 7*9b46bc0bSMyung Bae "Actions": { 8*9b46bc0bSMyung Bae "additionalProperties": false, 9*9b46bc0bSMyung Bae "description": "The available actions for this resource.", 10*9b46bc0bSMyung Bae "longDescription": "This type shall contain the available actions for this resource.", 11*9b46bc0bSMyung Bae "patternProperties": { 12*9b46bc0bSMyung Bae "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 13*9b46bc0bSMyung Bae "description": "This property shall specify a valid odata or Redfish property.", 14*9b46bc0bSMyung Bae "type": [ 15*9b46bc0bSMyung Bae "array", 16*9b46bc0bSMyung Bae "boolean", 17*9b46bc0bSMyung Bae "integer", 18*9b46bc0bSMyung Bae "number", 19*9b46bc0bSMyung Bae "null", 20*9b46bc0bSMyung Bae "object", 21*9b46bc0bSMyung Bae "string" 22*9b46bc0bSMyung Bae ] 23*9b46bc0bSMyung Bae } 24*9b46bc0bSMyung Bae }, 25*9b46bc0bSMyung Bae "properties": { 26*9b46bc0bSMyung Bae "Oem": { 27*9b46bc0bSMyung Bae "$ref": "#/definitions/OemActions", 28*9b46bc0bSMyung Bae "description": "The available OEM-specific actions for this resource.", 29*9b46bc0bSMyung Bae "longDescription": "This property shall contain the available OEM-specific actions for this resource.", 30*9b46bc0bSMyung Bae "versionAdded": "v1_1_0" 31*9b46bc0bSMyung Bae } 32*9b46bc0bSMyung Bae }, 33*9b46bc0bSMyung Bae "type": "object" 34*9b46bc0bSMyung Bae }, 35*9b46bc0bSMyung Bae "Links": { 36*9b46bc0bSMyung Bae "additionalProperties": false, 37*9b46bc0bSMyung Bae "description": "The links to other resources that are related to this resource.", 38*9b46bc0bSMyung 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.", 39*9b46bc0bSMyung Bae "patternProperties": { 40*9b46bc0bSMyung Bae "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 41*9b46bc0bSMyung Bae "description": "This property shall specify a valid odata or Redfish property.", 42*9b46bc0bSMyung Bae "type": [ 43*9b46bc0bSMyung Bae "array", 44*9b46bc0bSMyung Bae "boolean", 45*9b46bc0bSMyung Bae "integer", 46*9b46bc0bSMyung Bae "number", 47*9b46bc0bSMyung Bae "null", 48*9b46bc0bSMyung Bae "object", 49*9b46bc0bSMyung Bae "string" 50*9b46bc0bSMyung Bae ] 51*9b46bc0bSMyung Bae } 52*9b46bc0bSMyung Bae }, 53*9b46bc0bSMyung Bae "properties": { 54*9b46bc0bSMyung Bae "Oem": { 55*9b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", 56*9b46bc0bSMyung Bae "description": "The OEM extension property.", 57*9b46bc0bSMyung 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." 58*9b46bc0bSMyung Bae }, 59*9b46bc0bSMyung Bae "OutboundConnection": { 60*9b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/OutboundConnection.json#/definitions/OutboundConnection", 61*9b46bc0bSMyung Bae "description": "The outbound connection associated with this session.", 62*9b46bc0bSMyung 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`.", 63*9b46bc0bSMyung Bae "readonly": true, 64*9b46bc0bSMyung Bae "versionAdded": "v1_7_0" 65*9b46bc0bSMyung Bae } 66*9b46bc0bSMyung Bae }, 67*9b46bc0bSMyung Bae "type": "object" 68*9b46bc0bSMyung Bae }, 69*9b46bc0bSMyung Bae "OemActions": { 70*9b46bc0bSMyung Bae "additionalProperties": true, 71*9b46bc0bSMyung Bae "description": "The available OEM-specific actions for this resource.", 72*9b46bc0bSMyung Bae "longDescription": "This type shall contain the available OEM-specific actions for this resource.", 73*9b46bc0bSMyung Bae "patternProperties": { 74*9b46bc0bSMyung Bae "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 75*9b46bc0bSMyung Bae "description": "This property shall specify a valid odata or Redfish property.", 76*9b46bc0bSMyung Bae "type": [ 77*9b46bc0bSMyung Bae "array", 78*9b46bc0bSMyung Bae "boolean", 79*9b46bc0bSMyung Bae "integer", 80*9b46bc0bSMyung Bae "number", 81*9b46bc0bSMyung Bae "null", 82*9b46bc0bSMyung Bae "object", 83*9b46bc0bSMyung Bae "string" 84*9b46bc0bSMyung Bae ] 85*9b46bc0bSMyung Bae } 86*9b46bc0bSMyung Bae }, 87*9b46bc0bSMyung Bae "properties": {}, 88*9b46bc0bSMyung Bae "type": "object" 89*9b46bc0bSMyung Bae }, 90*9b46bc0bSMyung Bae "Session": { 91*9b46bc0bSMyung Bae "additionalProperties": false, 92*9b46bc0bSMyung Bae "description": "The `Session` resource describes a single connection (session) between a client and a Redfish service instance.", 93*9b46bc0bSMyung Bae "longDescription": "This resource shall represent a session for a Redfish implementation.", 94*9b46bc0bSMyung Bae "patternProperties": { 95*9b46bc0bSMyung Bae "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 96*9b46bc0bSMyung Bae "description": "This property shall specify a valid odata or Redfish property.", 97*9b46bc0bSMyung Bae "type": [ 98*9b46bc0bSMyung Bae "array", 99*9b46bc0bSMyung Bae "boolean", 100*9b46bc0bSMyung Bae "integer", 101*9b46bc0bSMyung Bae "number", 102*9b46bc0bSMyung Bae "null", 103*9b46bc0bSMyung Bae "object", 104*9b46bc0bSMyung Bae "string" 105*9b46bc0bSMyung Bae ] 106*9b46bc0bSMyung Bae } 107*9b46bc0bSMyung Bae }, 108*9b46bc0bSMyung Bae "properties": { 109*9b46bc0bSMyung Bae "@odata.context": { 110*9b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 111*9b46bc0bSMyung Bae }, 112*9b46bc0bSMyung Bae "@odata.etag": { 113*9b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 114*9b46bc0bSMyung Bae }, 115*9b46bc0bSMyung Bae "@odata.id": { 116*9b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 117*9b46bc0bSMyung Bae }, 118*9b46bc0bSMyung Bae "@odata.type": { 119*9b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" 120*9b46bc0bSMyung Bae }, 121*9b46bc0bSMyung Bae "Actions": { 122*9b46bc0bSMyung Bae "$ref": "#/definitions/Actions", 123*9b46bc0bSMyung Bae "description": "The available actions for this resource.", 124*9b46bc0bSMyung Bae "longDescription": "This property shall contain the available actions for this resource.", 125*9b46bc0bSMyung Bae "versionAdded": "v1_1_0" 126*9b46bc0bSMyung Bae }, 127*9b46bc0bSMyung Bae "ClientOriginIPAddress": { 128*9b46bc0bSMyung Bae "description": "The IP address of the client that created the session.", 129*9b46bc0bSMyung Bae "longDescription": "This property shall contain the IP address of the client that created the session.", 130*9b46bc0bSMyung Bae "readonly": true, 131*9b46bc0bSMyung Bae "type": [ 132*9b46bc0bSMyung Bae "string", 133*9b46bc0bSMyung Bae "null" 134*9b46bc0bSMyung Bae ], 135*9b46bc0bSMyung Bae "versionAdded": "v1_3_0" 136*9b46bc0bSMyung Bae }, 137*9b46bc0bSMyung Bae "Context": { 138*9b46bc0bSMyung Bae "description": "A client-supplied string that is stored with the session.", 139*9b46bc0bSMyung Bae "longDescription": "This property shall contain a client-supplied context that remains with the session through the session's lifetime.", 140*9b46bc0bSMyung Bae "readonly": true, 141*9b46bc0bSMyung Bae "type": [ 142*9b46bc0bSMyung Bae "string", 143*9b46bc0bSMyung Bae "null" 144*9b46bc0bSMyung Bae ], 145*9b46bc0bSMyung Bae "versionAdded": "v1_5_0" 146*9b46bc0bSMyung Bae }, 147*9b46bc0bSMyung Bae "CreatedTime": { 148*9b46bc0bSMyung Bae "description": "The date and time when the session was created.", 149*9b46bc0bSMyung Bae "format": "date-time", 150*9b46bc0bSMyung Bae "longDescription": "This property shall contain the date and time when the session was created.", 151*9b46bc0bSMyung Bae "readonly": true, 152*9b46bc0bSMyung Bae "type": [ 153*9b46bc0bSMyung Bae "string", 154*9b46bc0bSMyung Bae "null" 155*9b46bc0bSMyung Bae ], 156*9b46bc0bSMyung Bae "versionAdded": "v1_4_0" 157*9b46bc0bSMyung Bae }, 158*9b46bc0bSMyung Bae "Description": { 159*9b46bc0bSMyung Bae "anyOf": [ 160*9b46bc0bSMyung Bae { 161*9b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" 162*9b46bc0bSMyung Bae }, 163*9b46bc0bSMyung Bae { 164*9b46bc0bSMyung Bae "type": "null" 165*9b46bc0bSMyung Bae } 166*9b46bc0bSMyung Bae ], 167*9b46bc0bSMyung Bae "readonly": true 168*9b46bc0bSMyung Bae }, 169*9b46bc0bSMyung Bae "ExpirationTime": { 170*9b46bc0bSMyung Bae "description": "The date and time when the session expires regardless of session activity.", 171*9b46bc0bSMyung Bae "format": "date-time", 172*9b46bc0bSMyung 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.", 173*9b46bc0bSMyung Bae "readonly": true, 174*9b46bc0bSMyung Bae "type": "string", 175*9b46bc0bSMyung Bae "versionAdded": "v1_8_0" 176*9b46bc0bSMyung Bae }, 177*9b46bc0bSMyung Bae "Id": { 178*9b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", 179*9b46bc0bSMyung Bae "readonly": true 180*9b46bc0bSMyung Bae }, 181*9b46bc0bSMyung Bae "Links": { 182*9b46bc0bSMyung Bae "$ref": "#/definitions/Links", 183*9b46bc0bSMyung Bae "description": "The links to other resources that are related to this resource.", 184*9b46bc0bSMyung Bae "longDescription": "This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource.", 185*9b46bc0bSMyung Bae "versionAdded": "v1_7_0" 186*9b46bc0bSMyung Bae }, 187*9b46bc0bSMyung Bae "Name": { 188*9b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", 189*9b46bc0bSMyung Bae "readonly": true 190*9b46bc0bSMyung Bae }, 191*9b46bc0bSMyung Bae "Oem": { 192*9b46bc0bSMyung Bae "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", 193*9b46bc0bSMyung Bae "description": "The OEM extension property.", 194*9b46bc0bSMyung 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." 195*9b46bc0bSMyung Bae }, 196*9b46bc0bSMyung Bae "OemSessionType": { 197*9b46bc0bSMyung Bae "description": "The active OEM-defined session type.", 198*9b46bc0bSMyung Bae "longDescription": "This property shall contain the OEM-specific session type that is currently active if `SessionType` contains `OEM`.", 199*9b46bc0bSMyung Bae "readonly": true, 200*9b46bc0bSMyung Bae "type": [ 201*9b46bc0bSMyung Bae "string", 202*9b46bc0bSMyung Bae "null" 203*9b46bc0bSMyung Bae ], 204*9b46bc0bSMyung Bae "versionAdded": "v1_2_0" 205*9b46bc0bSMyung Bae }, 206*9b46bc0bSMyung Bae "Password": { 207*9b46bc0bSMyung Bae "description": "The password for this session. The value is `null` in responses.", 208*9b46bc0bSMyung 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.", 209*9b46bc0bSMyung Bae "readonly": true, 210*9b46bc0bSMyung Bae "type": [ 211*9b46bc0bSMyung Bae "string", 212*9b46bc0bSMyung Bae "null" 213*9b46bc0bSMyung Bae ], 214*9b46bc0bSMyung Bae "writeOnly": false 215*9b46bc0bSMyung Bae }, 216*9b46bc0bSMyung Bae "Roles": { 217*9b46bc0bSMyung Bae "description": "The Redfish roles that contain the privileges of this session.", 218*9b46bc0bSMyung Bae "items": { 219*9b46bc0bSMyung Bae "type": [ 220*9b46bc0bSMyung Bae "string", 221*9b46bc0bSMyung Bae "null" 222*9b46bc0bSMyung Bae ] 223*9b46bc0bSMyung Bae }, 224*9b46bc0bSMyung Bae "longDescription": "This property shall contain the Redfish roles that contain the privileges of this session.", 225*9b46bc0bSMyung Bae "readonly": true, 226*9b46bc0bSMyung Bae "type": "array", 227*9b46bc0bSMyung Bae "versionAdded": "v1_7_0" 228*9b46bc0bSMyung Bae }, 229*9b46bc0bSMyung Bae "SessionType": { 230*9b46bc0bSMyung Bae "anyOf": [ 231*9b46bc0bSMyung Bae { 232*9b46bc0bSMyung Bae "$ref": "#/definitions/SessionTypes" 233*9b46bc0bSMyung Bae }, 234*9b46bc0bSMyung Bae { 235*9b46bc0bSMyung Bae "type": "null" 236*9b46bc0bSMyung Bae } 237*9b46bc0bSMyung Bae ], 238*9b46bc0bSMyung Bae "description": "The active session type.", 239*9b46bc0bSMyung Bae "longDescription": "This property shall represent the type of session that is currently active.", 240*9b46bc0bSMyung Bae "readonly": true, 241*9b46bc0bSMyung Bae "versionAdded": "v1_2_0" 242*9b46bc0bSMyung Bae }, 243*9b46bc0bSMyung Bae "Token": { 244*9b46bc0bSMyung Bae "description": "The multi-factor authentication token for this session. The value is `null` in responses.", 245*9b46bc0bSMyung Bae "longDescription": "This property shall contain the multi-factor authentication token for this session. The value shall be `null` in responses.", 246*9b46bc0bSMyung Bae "readonly": true, 247*9b46bc0bSMyung Bae "type": [ 248*9b46bc0bSMyung Bae "string", 249*9b46bc0bSMyung Bae "null" 250*9b46bc0bSMyung Bae ], 251*9b46bc0bSMyung Bae "versionAdded": "v1_6_0", 252*9b46bc0bSMyung Bae "writeOnly": false 253*9b46bc0bSMyung Bae }, 254*9b46bc0bSMyung Bae "UserName": { 255*9b46bc0bSMyung Bae "description": "The username for the account for this session.", 256*9b46bc0bSMyung 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.", 257*9b46bc0bSMyung Bae "readonly": true, 258*9b46bc0bSMyung Bae "type": [ 259*9b46bc0bSMyung Bae "string", 260*9b46bc0bSMyung Bae "null" 261*9b46bc0bSMyung Bae ] 262*9b46bc0bSMyung Bae } 263*9b46bc0bSMyung Bae }, 264*9b46bc0bSMyung Bae "required": [ 265*9b46bc0bSMyung Bae "@odata.id", 266*9b46bc0bSMyung Bae "@odata.type", 267*9b46bc0bSMyung Bae "Id", 268*9b46bc0bSMyung Bae "Name" 269*9b46bc0bSMyung Bae ], 270*9b46bc0bSMyung Bae "requiredOnCreate": [ 271*9b46bc0bSMyung Bae "UserName", 272*9b46bc0bSMyung Bae "Password" 273*9b46bc0bSMyung Bae ], 274*9b46bc0bSMyung Bae "type": "object" 275*9b46bc0bSMyung Bae }, 276*9b46bc0bSMyung Bae "SessionTypes": { 277*9b46bc0bSMyung Bae "enum": [ 278*9b46bc0bSMyung Bae "HostConsole", 279*9b46bc0bSMyung Bae "ManagerConsole", 280*9b46bc0bSMyung Bae "IPMI", 281*9b46bc0bSMyung Bae "KVMIP", 282*9b46bc0bSMyung Bae "OEM", 283*9b46bc0bSMyung Bae "Redfish", 284*9b46bc0bSMyung Bae "VirtualMedia", 285*9b46bc0bSMyung Bae "WebUI", 286*9b46bc0bSMyung Bae "OutboundConnection" 287*9b46bc0bSMyung Bae ], 288*9b46bc0bSMyung Bae "enumDescriptions": { 289*9b46bc0bSMyung Bae "HostConsole": "The host's console, which could be connected through Telnet, SSH, or another protocol.", 290*9b46bc0bSMyung Bae "IPMI": "Intelligent Platform Management Interface.", 291*9b46bc0bSMyung Bae "KVMIP": "A Keyboard-Video-Mouse over IP session.", 292*9b46bc0bSMyung Bae "ManagerConsole": "The manager's console, which could be connected through Telnet, SSH, SM CLP, or another protocol.", 293*9b46bc0bSMyung Bae "OEM": "OEM type. For OEM session types, see the `OemSessionType` property.", 294*9b46bc0bSMyung Bae "OutboundConnection": "A Redfish Specification-defined outbound connection. See the 'Outbound connections' clause of the Redfish Specification.", 295*9b46bc0bSMyung Bae "Redfish": "A Redfish session.", 296*9b46bc0bSMyung Bae "VirtualMedia": "Virtual media.", 297*9b46bc0bSMyung Bae "WebUI": "A non-Redfish web user interface session, such as a graphical interface or another web-based protocol." 298*9b46bc0bSMyung Bae }, 299*9b46bc0bSMyung Bae "enumLongDescriptions": { 300*9b46bc0bSMyung 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.", 301*9b46bc0bSMyung 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.", 302*9b46bc0bSMyung 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.", 303*9b46bc0bSMyung 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.", 304*9b46bc0bSMyung Bae "OEM": "This value shall indicate the session is an OEM-specific session and is further described by the `OemSessionType` property.", 305*9b46bc0bSMyung 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.", 306*9b46bc0bSMyung 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.", 307*9b46bc0bSMyung 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.", 308*9b46bc0bSMyung 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." 309*9b46bc0bSMyung Bae }, 310*9b46bc0bSMyung Bae "enumVersionAdded": { 311*9b46bc0bSMyung Bae "OutboundConnection": "v1_7_0" 312*9b46bc0bSMyung Bae }, 313*9b46bc0bSMyung Bae "type": "string" 314*9b46bc0bSMyung Bae } 315*9b46bc0bSMyung Bae }, 316*9b46bc0bSMyung Bae "language": "en", 317*9b46bc0bSMyung Bae "owningEntity": "DMTF", 318*9b46bc0bSMyung Bae "release": "2024.4", 319*9b46bc0bSMyung Bae "title": "#Session.v1_8_0.Session" 320*9b46bc0bSMyung Bae}