ipmcset -d timezone
更新时间: 2026/07/16
在Gitcode上查看源码

ipmcset -d timezone

返回总览 | 返回命令索引

命令功能

设置时区

命令格式

text
ipmcset -d timezone -v <timezone>

参数说明

NameLocationTypeRequiredDefaultConstraintDescription
timezoneReqBodystring--Time-Offset: -12:00~+14:00 e.g. +08:00,-04:30 UTC-12:00~UTC+14:00 e.g. UTC+08:00,UTC-04:30 GMT-12:00~GMT+14:00 e.g. GMT+08:00,GMT-04:30 Timezone : <City Name> e.g. Asia/Shanghai,America/New_York

响应/输出说明

NameLocationTypeRequiredDefaultConstraintDescription
MatchTimezoneResultRspBody----

后端处理流

StepTypePath/URIInterfaceField/MethodSourceDestination
1List/bmc/kepler/Managersbmc.kepler.Managers.Time--{"Members": "time_list"}
2Property${ProcessingFlow[1]/Destination/time_list[1]}bmc.kepler.Managers.Time--{"TimeZoneConfigurable": "TimeZoneConfigurable"}
3Property${ProcessingFlow[1]/Destination/time_list[1]}bmc.kepler.Managers.Time-{"TimeZoneName": "${Statements/CheckTimeZoneConfigurable()}"}-

使用示例

text
ipmcset -d timezone -v <timezone>

输出样例

ScenarioOutputSource
成功Set time zone successfully.interface_config/cli/echoes/ipmcset/_timezone
其他Illegal time zone, please set a legal time zone.interface_config/cli/echoes/ipmcset/_timezone
其他Usage: ipmcset -d timezone -v <timezone>interface_config/cli/echoes/ipmcset/_timezone
其他timezone:interface_config/cli/echoes/ipmcset/_timezone
其他Time-Offset: -12:00~+14:00 e.g. +08:00,-04:30interface_config/cli/echoes/ipmcset/_timezone
其他UTC-12:00~UTC+14:00 e.g. UTC+08:00,UTC-04:30interface_config/cli/echoes/ipmcset/_timezone
其他GMT-12:00~GMT+14:00 e.g. GMT+08:00,GMT-04:30interface_config/cli/echoes/ipmcset/_timezone
其他Timezone : <City Name> e.g. Asia/Shanghai,America/New_Yorkinterface_config/cli/echoes/ipmcset/_timezone
其他Cities of <value>:interface_config/cli/echoes/ipmcset/_timezone
其他Continents and Oceans:interface_config/cli/echoes/ipmcset/_timezone

来源信息

ItemValue
命令类型ipmcset
target_
dataitemtimezone
URI/cli/v1/_/timezone
Interface TypePatch
配置来源interface_config/cli/ipmcset/system.json
请求版本26.06_2026.06.30
源码提交5606349e
生成时间2026-07-16T01:48:37