ГОСТ Р ИСО/МЭК 19831—2017
’name": string, ?
■description", string, ?
’created*: string. ?
’updated*: string. ?
■properties": { string: string. ■*■},?
’type’: string.
’format": string,
’capacity": number.
■operations": [
{ "геГ: ’edit’, "href: string }f ?
{ "reP: ’delete", "href”: string} ?
]?
}
Тип медиа XML: application/xml
Сериализация XML:
<VoiumeConfiguration xmlns="
http://schemas.dmtf.org/cimi/r>
<id>xs.ar?yL/R/«/id>
«name>xs.s/r/ng«/name> ?
<description>xs:s/w7g</description> ?
<created>xs:dateTime«/created> ?
<updated>xs:rfafe77me</updated> ?
«property key=’xs:sfr/ng">xs.s/rmg«/property> *
<lype>xs:anyURI<flype>
«format>xs:sfn’ng«/format>
«capacity>xs./rjfegor«/capacity>
«operation rel="edit" href=’xs.anyL/Rr/> ?
«operation rel="delete* href="xs:anyURf’f> ?
<xs:any>*
</VolumeConfiguration>
5.15.5.1 Операции
Данный Ресурс поддерживает операции Read, Update и Delete. Операция Create поддерживается
через Ресурс VolumeConfigurationCollection.
5.15.6 Ресурс VolumeConfigurationCollection
Ресурс VolumeConfigurationCollection представляет собой Набор Ресурсов VolumeConfiguration
Поставщика и соответствует спецификации Набора, приведенной в 5.5.12. Данный Ресурс должен быть
сериализован следующим образом:
Сериализация JSON:
{ "resourceURI*:
’
http://schemas.dmtf.Org/cimi/1/VolumeConfigurationCollection’
,
’id": string.
’count’: number.
’volumeConfigurations": [
{"resourceURI*: ’
http://schemas.dmtf.Org/cimi/1/VolumeConfiguration
",
’id": string.
... остальные атрибуты VolumeConfiguration...
}.♦
I?
’operations”: [ { ’геГ: ’add", ’href: string} ? ]
}
Сериализация XML:
«Collection
resourceURI=“
http://schemas.dmtf.org/cimi/1/VolumeConfigurationCollection’
xmlns="
http://schemas.dmtf.org/cimi/1"
>
«id>xs.anyL/R/«/id>
106