EasyManuals Logo
Home>Cisco>Server>UCS C Series

Cisco UCS C Series Programmer's Guide

Cisco UCS C Series
138 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #46 background imageLoading...
Page #46 background image
curl -GET https://10.10.10.10/redfish/v1/AccountService/Roles/admin -k -u
admin:Admin123
{
"IsPredefined":true,
"@odata.id":"/redfish/v1/AccountService/Roles/admin",
"AssignedPrivileges":["Login","ConfigureManager","ConfigureUsers","Con
figureSelf","ConfigureComponents"],
"Name":"User Role",
"@odata.context":"/redfish/v1/$metadata#AccountService/Roles/Members/$
entity",
"@odata.type":"#Role.1.0.0",
"OEMPrivileges":["OemClearLog","OemPowerControl"],
"Id":"admin",
"Description":"Admin User Role"
}
curl -GET https://10.10.10.10/redfish/v1/AccountService/Roles/user -k -u
admin:Admin123
{
"IsPredefined":true,
"@odata.id":"/redfish/v1/AccountService/Roles/user",
"AssignedPrivileges":["Login","ConfigureSelf","ConfigureComponents"],
"Name":"User Role",
"@odata.context":"/redfish/v1/$metadata#AccountService/Roles/Members/$
entity",
"@odata.type":"#Role.1.0.0",
"OEMPrivileges":[],
"Id":"user",
"Description":"User Role"
}
curl -GET https://10.10.10.10/redfish/v1/AccountService/Roles/read-only -
k -u admin:Admin123
{
"IsPredefined":true,
"@odata.id":"/redfish/v1/AccountService/Roles/read-only",
"AssignedPrivileges":["Login"],
"Name":"User Role",
"@odata.context":"/redfish/v1/$metadata#AccountService/Roles/Members/$
entity",
"@odata.type":"#Role.1.0.0",
"OEMPrivileges":[],
"Id":"read-only",
"Description":"ReadOnly User Role"
}
Logservices
Request:
curl -GET https://10.10.10.10/redfish/v1/Chassis/1/LogServices/SEL/Entries\?\$
top=2 -k -u admin:Admin123
{
"Members":[{
"@odata.id":"/redfish/v1/Managers/1/LogSerivce/SEL/Entries/1250",
"Id":"1250",
"EntryType":"SEL",
"Severity":"Normal",
"Message":"Node Manager: Operational Capabilities, Policy
Interface:Available Monitoring:Available Power Limiting:Available ",
Cisco UCS C-Series Servers REST API Programmer's Guide
40
Cisco IMC REST API Examples
Examples of Server Tasks

Table of Contents

Other manuals for Cisco UCS C Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco UCS C Series and is the answer not in the manual?

Cisco UCS C Series Specifications

General IconGeneral
BrandCisco
ModelUCS C Series
CategoryServer
LanguageEnglish

Related product manuals