Skip to content

Latest commit

 

History

History
66 lines (44 loc) · 1.93 KB

partitionTableLogicalGroup_update.rst

File metadata and controls

66 lines (44 loc) · 1.93 KB

partitionTableLogicalGroup_update

PUT users/{uid}/appliances/{aid}/installProfile/{ipid}/pt/{ptid}/groups/{gid}

Summary

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

Updates the information of a logical group.

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

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

  • uid (required): the user name (login name) of the user-object that has created the appliance
  • gid (required): the id of the logicalgroup-object
  • ptid (required): the id of the partitiontable-object
  • aid (required): the id of the appliance-object

HTTP Request Body Parameters

A logicalGroup-object object

Example Request

curl "https://uforge.example.com/apiusers/{uid}/appliances/{aid}/installProfile/{ipid}/pt/{ptid}/groups/{gid}" -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):

  • appliance-object
  • appliancepartitiontabledisk-api-resources
  • appliancepartitiontablediskpartition-api-resources
  • appliancepartitiontablelogicalvolume-api-resources
  • logicalgroup-object
  • partitionTableLogicalGroup-create
  • partitionTableLogicalGroup-delete
  • partitionTableLogicalGroup-deleteAll
  • partitionTableLogicalGroup-get
  • partitionTableLogicalGroup-getAll
  • partitiontable-object