Merge "Fix CreateVolume missing the Request parameters"
This commit is contained in:
commit
3f69b2c92a
@ -65,7 +65,7 @@
|
||||
</resource>
|
||||
<resource path="{snapshot_id}" id="snapshot_id">
|
||||
<param name="snapshot_id" style="template"
|
||||
required="true" type="xsd:string">
|
||||
required="false" type="xsd:string">
|
||||
<wadl:doc
|
||||
xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">
|
||||
@ -102,14 +102,56 @@
|
||||
href="../api_samples/os-volume/volume_create.xml"
|
||||
/>
|
||||
</wadl:doc>
|
||||
<param name="volume" style="plain" required="true"
|
||||
<param name="display_name" style="plain" required="false"
|
||||
type="xsd:string">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">
|
||||
<para>A partial representation of a volume
|
||||
that is used to create a volume.</para>
|
||||
<para>The volume name.</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
<param name="display_description" style="plain" required="false"
|
||||
type="xsd:string">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">
|
||||
<para>The volume description.</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
<param name="size" style="plain" required="true"
|
||||
type="xsd:string">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">
|
||||
<para>The size of the volume, in gigabytes (GB).</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
<param name="volume_type" style="plain" required="false"
|
||||
type="xsd:string">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">
|
||||
<para>The unique identifier for a volume type.</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
<param name="metadata" style="plain" required="false"
|
||||
type="xsd:string">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">
|
||||
<para>One or more metadata key and value pairs to associate with the volume.</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
<param name="availability_zone" style="plain" required="false"
|
||||
type="xsd:string">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">
|
||||
<para>The availability zone.</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
<param name="snapshot_id" style="plain" required="true"
|
||||
type="xsd:string">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">
|
||||
<para>The unique identifier for a
|
||||
snapshot.</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
</representation>
|
||||
</request>
|
||||
<response status="201">
|
||||
|
Loading…
x
Reference in New Issue
Block a user