GET – Get chassis properties
Use the GET method to obtain the chassis properties.
Request URI
GET https://{{ip}}/redfish/v1/Chassis/{{chassis_instance}}
Request body
None
Response body
The response is a JSON object that contains the following parameters:
Name | Type | Read only | Description | ||
Id(M) | String | True | Resource Identifier | ||
Name(M) | String | True | Name of the Resource | ||
Description | String | True | Provides description of the resource. | ||
ChassisType(M) | String | True | ChassisType shall indicate the physical form factor for the type of chassis. | ||
Manufacturer(C) | String | True | The manufacturer of this chassis. | ||
Model© | String | True | The model number for this chassis. | ||
SKU© | String | True | This is the SKU for this chassis. | ||
SerialNumber© | String | True | The serial number for this chassis. | ||
PartNumber© | String | True | The part number for this chassis. | ||
AssetTag | String | True | The user assigned asset tag for this chassis. | ||
UUID | String | True | The Universal Unique Identifier (UUID) for this Chassis. | ||
IndicatorLED | String | False | The state of the indicator LED, used to identify the chassis. | ||
Enum | Description | ||||
Unknown | The state of the Indicator LED cannot be determined. | ||||
Lit | The Indicator LED is lit. | ||||
Blinking | The Indicator LED is blinking. | ||||
Off | The Indicator LED is off. | ||||
Links | Object | True | The links object contains the links to other resources that a related to this resource. See the Chassis Links Properties. | ||
Actions | Object | True | The Actions object contains the available custom actions o this resource like Chassis.Reset and OemActions if any. | ||
Status | Object | True | See Resource Properties. | ||
Thermal(N) | Object | True | A reference to the thermal properties (fans, cooling, sensors) for this chassis. | ||
Power(N) | Object | True | A reference to the power properties (power supplies, power policies, sensors) for this chassis. | ||
PowerState | String | True | This is the current power state of the chassis. | ||
Enum | Description | ||||
On | The components within the chassis has power on. | ||||
Off | The components within the chassis has no power, except some components may continue to have AUX power such as management controller. | ||||
Location | Object | True | Resource. Location. | ||
NetworkAdapters | Object | True | A reference to the collection of NetworAkdapters associated with this chassis. |
Name | Type | Read only | Description |
ComputerSystem s(N) | Array | True | An array of references to the computer systems contained in this chassis. This will only reference ComputerSystems that are directly and wholly contained in this chassis. |
ComputerSystems@odata.count | Number | True | An integer representing the number of items in a collection |
ManagedBy(N) | Array | True | An array of references to the Managers responsible for managing this chassis. |
ManagedBy@odata.count | Number | True | An integer representing the number of items in a collection |
Drives(N) | Array | True | An array of references to the disk drives located in this Chassis. |
Drives@odata.count | Number | True | An integer representing the number of items in a collection |
Storage(N) | Array | True | An array of references to the storage subsystems connected to or inside this Chassis. |
Storage@odata.count | Number | True | An integer representing the number of items in a collection |
PCIeDevices(N) | Array | True | An array of references to the PCIe Devices located in the Chassis |
PCIeDevices@odata.count | Number | True | An integer representing the number oitfems in a collection. |
ResourceBlock(sN) | Array | True | An array of references to the Resource Blocks located in this Chassis. |
ResourceBlocks@odata.count | Number | True | An integer representing the number of items in a collection |
ContainedBy(N) | Array | True | A reference to the chassis that this chassis is contained by. |
Contains(N) | Array | True | An array of references to any other chassis that this chassis has in it. |
Contains@odata.count | Number | True | An integer representing the number of items in a collection |
PoweredBy(N) | Array | True | An array of ID[s] of resources that power this chassis. Normally the ID will be a chassis or a specific set of powerSupplies. |
PoweredBy@odata.count | Number | True | An integer representing the number of items in a collection |
ManagersInChas sis(N) | Array | True | An array of references to the managers located in this Chassis. |
ManagersInChassis@odata.count | Number | True | An integer representing the number of items in a collection |
Processors(N) | Array | True | An array of references to the Processors located in Chassis |
Processors@odata.count | Number | True | An integer representing the number of items in a collection |
Response example
When the request is successful, a message body similar to the following is returned:
{
"@odata.context": "/redfish/v1/$metadata#Chassis.Chassis",
"@odata.etag": "\"1602668680\"",
"@odata.id": "/redfish/v1/Chassis/Self",
"@odata.type": "#Chassis.v1_9_1.Chassis",
"Actions": {
"#Chassis.Reset": {
"@Redfish.ActionInfo": "/redfish/v1/Chassis/Self/ResetActionInfo",
"@Redfish.OperationApplyTimeSupport": {
"@odata.type": "#Settings.v1_2_1.Settings.OperationApplyTimeSupport",
"MaintenanceWindowDurationInSeconds": 600,
"MaintenanceWindowResource": {
"@odata.id": "/redfish/v1/Chassis/Self"
},
"SupportedValues": [
"Immediate",
"AtMaintenanceWindowStart"
]
},
"target": "/redfish/v1/Chassis/Self/Actions/Chassis.Reset"
}
},
"AssetTag": "Free form asset tag",
"ChassisType": "Other",
"Description": "Chassis Self",
"Id": "Self",
"IndicatorLED": "Off",
"IndicatorLED@Redfish.AllowableValues": [
"Lit",
"Blinking",
"Off"
],
"Links": {
"ComputerSystems": [
{
"@odata.id": "/redfish/v1/Systems/Self"
}
],
"ComputerSystems@odata.count": 1,
"Drives": [
{
"@odata.id": "/redfish/v1/Systems/Self/Storage/1/Drives/USB_Device7_Port1"
},
{
"@odata.id": "/redfish/v1/Systems/Self/Storage/1/Drives/USB_Device2_Port1"
},
{
"@odata.id": "/redfish/v1/Systems/Self/Storage/1/Drives/USB_Device1_Port1"
},
{
"@odata.id": "/redfish/v1/Systems/Self/Storage/1/Drives/USB_Device4_Port1"
},
{
"@odata.id": "/redfish/v1/Systems/Self/Storage/1/Drives/USB_Device3_Port1"
},
{
"@odata.id": "/redfish/v1/Systems/Self/Storage/1/Drives/USB_Device0_Port1"
},
{
"@odata.id": "/redfish/v1/Systems/Self/Storage/1/Drives/USB_Device6_Port1"
},
{
"@odata.id": "/redfish/v1/Systems/Self/Storage/1/Drives/USB_Device5_Port1"
},
{
"@odata.id": "/redfish/v1/Systems/Self/Storage/1/Drives/SATA_Device8_Port5"
}
],
"Drives@odata.count": 9,
"ManagedBy": [
{
"@odata.id": "/redfish/v1/Managers/Self"
}
],
"ManagedBy@odata.count": 1,
"PCIeDevices": [
{
"@odata.id": "/redfish/v1/Chassis/Self/PCIeDevices/00_C2_00"
},
{
"@odata.id": "/redfish/v1/Chassis/Self/PCIeDevices/00_C1_00"
},
{
"@odata.id": "/redfish/v1/Chassis/Self/PCIeDevices/00_01_00"
}
],
"PCIeDevices@odata.count": 3,
"PoweredBy": [
{
"@odata.id": "/redfish/v1/Chassis/Self/Power#/PowerSupplies/0"
},
{
"@odata.id": "/redfish/v1/Chassis/Self/Power#/PowerSupplies/1"
}
],
"PoweredBy@odata.count": 2
},
"Location": {
"Contacts": [
{
"ContactName": ""
}
],
"Placement": {
"Rack": "",
"RackOffsetUnits": "EIA_310",
"RackOffsetUnits@Redfish.AllowableValues": [
"OpenU",
"EIA_310"
]
},
"PostalAddress": {
"Building": "",
"Location": "",
"Name": "",
"Room": ""
}
},
"LogServices": {
"@odata.id": "/redfish/v1/Chassis/Self/LogServices"
},
"Manufacturer": "Lenovo",
"Model": "7Z01CTO1WW",
"Name": "Computer System Chassis",
"NetworkAdapters": {
"@odata.id": "/redfish/v1/Chassis/Self/NetworkAdapters"
},
"PCIeSlots": {
"@odata.id": "/redfish/v1/Chassis/Self/PCIeSlots"
},
"PartNumber": "SB27A42856",
"Power": {
"@odata.id": "/redfish/v1/Chassis/Self/Power"
},
"PowerState": "On",
"SKU": "7Z01CTO1WW",
"SerialNumber": " J30159HV",
"Status": {
"Health": "OK",
"HealthRollup": "OK",
"State": "Enabled"
},
"Thermal": {
"@odata.id": "/redfish/v1/Chassis/Self/Thermal"
}
}