partitionTableDiskLogicalPartition_update¶
-
PUT users/{uid}/appliances/{aid}/installProfile/{ipid}/pt/{ptid}/disks/{did}/partitions/{pid}/lpartitions/{lpid}
Updates a logical partition information in a physical partition.
Please refer to partition for a complete list of all the partition
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 appliancepid
(required): the id of the partitionptid
(required): the id of the partitionTableaid
(required): the id of the appliancelpid
(required): the id of the logical partition to deletedid
(required): the id of the disk
Example Request¶
curl "https://uforge.example.com/apiusers/{uid}/appliances/{aid}/installProfile/{ipid}/pt/{ptid}/disks/{did}/partitions/{pid}/lpartitions/{lpid}" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml" --data-binary "@representation.xml"
Example of representation.xml content (the request body):
<ns0:partition xmlns:ns0="http://www.usharesoft.com/uforge">
<name>logicalPartition1Updated</name>
<mpoint>/data</mpoint>
<size>2048</size>
<label>/data2</label>
<fstype>ext4</fstype>
</ns0:partition>
See also
- appliance
- Appliance Partition Table Disk Partition API Resources
- Appliance Partition Table Logical Group API Resources
- Appliance Partition Table Logical Volume API Resources
- partition
- partitionTableDiskLogicalPartition_create
- partitionTableDiskLogicalPartition_delete
- partitionTableDiskLogicalPartition_deleteAll
- partitionTableDiskLogicalPartition_get
- partitionTableDiskLogicalPartition_getAll
- partitionTableDiskPartition_create
- partitionTableDiskPartition_delete
- partitionTableDiskPartition_deleteAll
- partitionTableDiskPartition_get
- partitionTableDiskPartition_getAll
- partitionTableDiskPartition_update
- partitionTable