系统更新
            
            这些命令用于管理系统更新映射。
            
                表 111  更新命令
                
                
                    
                    
                    
                    
                        
                             | 
                             | 
                             | 
                         
                    
                    
                        
                            | 
                                 GET 
                             | 
                            
                                 /updates 
                             | 
                            
                                 列出所有系统更新 
                             | 
                         
                        
                            | 
                                 GET 
                             | 
                            
                                 /updates/<update> 
                             | 
                            
                                 获取指定的系统更新属性 
                             | 
                         
                        
                        
                            | 
                                 GET 
                             | 
                            
                                 /updates-firmware 
                             | 
                            
                                 列出其余待升级组件、最后一次尝试时间、以及这些组件的当前状态 
                             | 
                         
                         
                        
                            | 
                                 GET 
                             | 
                            
                                 /update/platform 
                             | 
                            
                                 显示平台固件的更新状态 
                             | 
                         
                        
                            | 
                                 GET 
                             | 
                            
                                 /update/firmware 
                             | 
                            
                                 显示组件固件的更新状态 
                             | 
                         
                        
                        
                            | 
                                 PUT 
                             | 
                            
                                 /updates/<update> 
                             | 
                            
                                 修改更新设置 
                             | 
                         
                        
                            | 
                                 PUT 
                             | 
                            
                                 /updates/<update>/upgrade 
                             | 
                            
                                 升级到指定的更新映射 
                             | 
                         
                        
                            | 
                                 PUT 
                             | 
                            
                                 /updates/<update>/check 
                             | 
                            
                                 对指定的更新映射执行升级运行状况检查 
                             | 
                         
                        
                            | 
                                 PUT 
                             | 
                            
                                 /updates/<update>/rollback 
                             | 
                            
                                 回滚到指定的更新映射 
                             | 
                         
                        
                            | 
                                 PUT 
                             | 
                            
                                 /updates-apply 
                             | 
                            
                                 应用不兼容的延迟更新 
                             | 
                         
                        
                            | 
                                 DELETE 
                             | 
                            
                                 /updates/<update> 
                             | 
                            
                                 销毁指定的系统更新 
                             | 
                         
                        
                            | 
                                 POST 
                             | 
                            
                                 /updates 
                             | 
                            
                                 将更新映射加载到设备上 
                             | 
                         
                    
                  | 
            
            
                表 112  系统更新属性
                
                
                    
                    
                    
                    
                        
                             | 
                             | 
                             | 
                         
                    
                    
                        
                            | 
                                 version 
                             | 
                            
                                 string 
                             | 
                            
                                 更新介质版本 
                             | 
                         
                        
                        
                            | 
                                 release_date 
                             | 
                            
                                 DateTime 
                             | 
                            
                                 更改发行日期 
                             | 
                         
                        
                            | 
                                 install_date 
                             | 
                            
                                 DateTime 
                             | 
                            
                                 更新最新安装日期;如果未安装,则为下载到设备的日期 
                                
                                    
                                 
                             | 
                         
                        
                            | 
                                 status 
                             | 
                            
                                 string 
                             | 
                            
                                 更新介质状态(不可变) 
                             | 
                         
                        
                            | 
                                 update_deferred 
                             | 
                            
                                 ChooseOne 
                             | 
                            
                                 延迟设置 ["onreboot"、"onrequest"] 
                             | 
                         
                    
                  | 
            
            延迟更新通知:
            The following updates enable features that are incompatible with earlier
software versions. As these updates cannot be reverted once committed, and
peer system resources are updated across a cluster, verifying first that the
system upgrade is functioning properly before applying deferred updates is
advised.