partitionTableDisk_update¶
-
PUT users/{uid}/appliances/{aid}/installProfile/{ipid}/pt/{ptid}/disks/{did}
Updates the information of a disk in a partitioning table.
Please refer to disk for a complete list of all the partition table disk
attributes.
Security Summary¶
- Requires Authentication:
true
- Entitlements Required:
appliance_create
URI Parameters¶
uid
(required): the user name (login name) of the user that has created the applianceptid
(required): the id of the partitionTableaid
(required): the id of the appliancedid
(required): the id of the disk
Example Request¶
curl "https://uforge.example.com/apiusers/{uid}/appliances/{aid}/installProfile/{ipid}/pt/{ptid}/disks/{did}" -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):
<disk xmlns:ns0="http://www.usharesoft.com/uforge">
<name>sda</name>
<partitionType>MSDOS</partitionType>
<partition>
<name>boot</name>
<mpoint>/boot</mpoint>
<size>256</size>
<label>/boot</label>
<fstype>ext3</fstype>
</partition>
</disk>
See also
- appliance
- Appliance Partition Table Disk Partition API Resources
- Appliance Partition Table Logical Group API Resources
- Appliance Partition Table Logical Volume API Resources
- disk
- partitionTableDisk_create
- partitionTableDisk_delete
- partitionTableDisk_deleteAll
- partitionTableDisk_get
- partitionTableDisk_getAll
- partitionTable