Skip to content

Latest commit

 

History

History
66 lines (44 loc) · 1.94 KB

partitionTableLogicalVolume_update.rst

File metadata and controls

66 lines (44 loc) · 1.94 KB

partitionTableLogicalVolume_update

.. function:: PUT users/{uid}/appliances/{aid}/installProfile/{ipid}/pt/{ptid}/volumes/{vid}

Summary

  • Method: PUT
  • Response Code: 200
  • Response Formats: application/xml application/json
  • Since: UForge 2.1

Updates the information of a logical volume.

Please refer to :ref:`logicalvolume-object` for a complete list of all the logical volume attributes.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

HTTP Request Body Parameters

A :ref:`logicalVolume-object` object

Example Request

curl "https://uforge.example.com/apiusers/{uid}/appliances/{aid}/installProfile/{ipid}/pt/{ptid}/volumes/{vid}" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@representation.xml"

Example of representation.xml content (the request body):

.. seealso::

         * :ref:`appliance-object`
         * :ref:`appliancepartitiontabledisk-api-resources`
         * :ref:`appliancepartitiontablediskpartition-api-resources`
         * :ref:`appliancepartitiontablelogicalgroup-api-resources`
         * :ref:`logicalvolume-object`
         * :ref:`partitionTableLogicalVolume-create`
         * :ref:`partitionTableLogicalVolume-delete`
         * :ref:`partitionTableLogicalVolume-deleteAll`
         * :ref:`partitionTableLogicalVolume-get`
         * :ref:`partitionTableLogicalVolume-getAll`
         * :ref:`partitiontable-object`