partitionTableDiskPartition_create¶
-
POST users/{uid}/appliances/{aid}/installProfile/{ipid}/pt/{ptid}/disks/{did}/partitions
Creates a new physical partition in a disk.
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 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}/partitions" -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):
<partition xmlns:ns0="http://www.usharesoft.com/uforge">
<fstype>lvm2</fstype>
</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
- partitionTableDiskLogicalPartition_update
- partitionTableDiskPartition_delete
- partitionTableDiskPartition_deleteAll
- partitionTableDiskPartition_get
- partitionTableDiskPartition_getAll
- partitionTableDiskPartition_update
- partitionTable