ГОСТ Р ИСО/МЭК 19831—2017
{ "href: string. ?
... MeterTemplate... ?
}.*
].?
’EventLogTemplate’ : {
’href: string. ?
... EventLogTemplate... ?
}.?
’operations": [
{ "reP: ’ediP. "hreP: string}. ?
{ "reP: ’delete”, "href: string} ?
I?
}
Тип медиа XML: application/xml
Сериализация XML:
<VolumeTempiate xmlns=’
http://schemas.dmtf.org/dmi/r
>
«id>xs.ar>yl//?/«/id>
<name>xs.sfrmg«/name> ?
<description>xs:sfwrg«/description> ?
<created>xs:date77me</created> ?
<updated> xs:dateTime </updated> ?
«property key=’xs:string"> xs:string «/property> *
«volumeConfig href=’xs:anyURP?>
... VolumeConfiguration... ?
</volumeConfig>
«volumelmage href="xs:anyURP/> ?
«meterTemplate hrof="xs:anyURP? >
... MeterTemplate... ?
«/meterTemplate» *
«eventLogTemplate href=’xs:anyURP? >
... EventLogTemplate... ?
</eventLogTemplate> ?
«operation rel="edit" href=’xs:anyURI7> ?
«operation ret-’delete’ href="xs:anyURI7> ?
<xs:any>*
«/VolumeTemplate>
5.15.3.1 Операции
Данный Ресурс поддерживает операции Read. Update и Delete. Операция Create поддерживается
через Ресурс VolumeTemplateCollection.
5.15.4 Ресурс VolumeTomplatoColloction
Ресурс VolumeTemplateCollection представляет собой Набор Ресурсов VolumeTemplate Поставщи
ка и соответствует спецификации Набора, приведенной в 5.5.12. Данный Ресурс должен быть сериали
зован следующим образом:
Сериализация JSON:
{"resourceURI*:
"
http://schemas.dmtf.org/cimi/1A/otumeTemplateCollection
".
’id”, string.
’count*: number.
’volumeTemplates”: [
{ "resourceURI’: "
http://schemas.dmtf.Org/cimi/1/VolumeTemplate
".
’id": string.
... остальные атрибуты VolumeTemplate...
}.♦
I f
’operations": [ { ’rel’: ’add", "href: string) ? ]
}
104