Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 1.87 KB

partitionTableLogicalGroup_create.rst

File metadata and controls

65 lines (43 loc) · 1.87 KB

partitionTableLogicalGroup_create

.. function:: POST users/{uid}/appliances/{aid}/installProfile/{ipid}/pt/{ptid}/groups

Summary

  • Method: POST
  • Response Code: 201
  • Response Formats: application/xml application/json
  • Since: UForge 2.1

Creates a new logical group in a partitioning table.

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

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

HTTP Request Body Parameters

A :ref:`logicalGroup-object` object

Example Request

curl "https://uforge.example.com/apiusers/{uid}/appliances/{aid}/installProfile/{ipid}/pt/{ptid}/groups" -X POST \
-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:`appliancepartitiontablelogicalvolume-api-resources`
         * :ref:`logicalgroup-object`
         * :ref:`partitionTableLogicalGroup-delete`
         * :ref:`partitionTableLogicalGroup-deleteAll`
         * :ref:`partitionTableLogicalGroup-get`
         * :ref:`partitionTableLogicalGroup-getAll`
         * :ref:`partitionTableLogicalGroup-update`
         * :ref:`partitiontable-object`