ГОСТ Р ИСО/МЭК 19831—2017
’bootable”: boolean,
■operations": [
{ "геГ: "edit*, "href: string}. ?
{ "геГ: "delete”, "href: string} ?
]?
i
Тип медиа XML: application/xml
Сериализация XML:
«Volumelmage xmlns=*
http://schemas.dmtf.org/cimi/r>
<id>xs.anyL//?/«/id>
<name>xs.sfrrng</name> ?
«description>xs.sfrfng«/descnption> ?
<created>xs:date7/me«/created> ?
«updated>xs:dafe77me«/updated> ?
«property key=mxs:string">xs:string</properiy> ’
<state>xs.sfmg«/state>
«imageLocation href="xs:anyL/R/"/>
<bootable>xs.boo/oan</bootabie>
«operation rel="edit” href="xs:anyl/Rn> ?
«operation rel=”delete* hrei-’xs:anyURri> ?
<xs;a/?y>*
</Volumelmage>
5.15.7.1 Операции
Данный Ресурс поддержиаает операции Read. Update и Delete. Операция Create поддерживается
через Ресурсы VolumelmageCollecbon.
5.15.8 Ресурс VolumolmagoCollection
Ресурс VolumelmageCollection представляет собой Набор Ресурсов Volumelmage Поставщика и
соответствует спецификации Набора, приведенной в 5.5.12. Данный Ресурс должен быть сериализо
ван следующим образом:
Сериализация JSON:
{ "resourceURI":
"
http://schemas.dmtf.0rg/cimi/1
A/olumelmageCollection".
’id": string,
"count": number,
’volumelmages": [
{ "resourceURI*: "
http://schemas.dmtf.
0
rg/ami/l/V
0
lumelmage"
.
’id": string,
... остальные атрибуты Volumelmage...
}.♦
].?
■operations”: [ { ’rel": "add”, ’href*: string) ? ]
}
Сериализация XML:
«Collection resourceURI="
http://schemas.dmtf.org/cimi/1/VolumelmageCollection*
xmlns=”
http://schomas.dmtf.org/cimi/r
>
<\d>xs:anyURI<M>
«count>xs.7nfeger«/count>
<Volumelmage>
<id> xs:anyURI<M>
... остальные атрибуты Volumelmage...
<A/olumelmage> *
«operation rel=”add" href~’xs:anyURr/> ?
<xs:any>’
«/Collection»
108