Logical Partition
Logical Partition provides information about AIX®, Linux or IBM® i partitions.
Resource
/rest/api/uom/ManagedSystem/{ManagedSystem_uuid}/LogicalPartition
/rest/api/uom/ManagedSystem/{ManagedSystem_uuid}/LogicalPartition/{LogicalPartition_uuid}
/rest/api/uom/LogicalPartition
/rest/api/uom/LogicalPartition/{LogicalPartition_uuid}
Resource
/rest/api/uom/LogicalPartition/{LogicalPartition_uuid}/quick/{Property name}
Supported property names available at /rest/api/uom/LogicalPartition/quick URI.
Quick property | Description |
---|---|
IsVirtualServiceAttentionLEDOn | The virtual service attention LED state. |
MigrationState | The state of the partition's migration operation. |
ProgressState | The progress state of the partition's hibernation operation. |
PartitionType | The partition environment, as an enumeration key (for example, 'AIX_LINUX', 'OS_400', etc.). |
PartitionName | The name of the partition. |
PartitionID | The integer ID of the partition. |
PartitionState | The state of the partition. |
RemoteRestartState | The state of the partition's Remote Restart operation. |
AssociatedManagedSystem | The REST URI of the partition's parent managed system. |
RMCState | The state of the partition's Resource Monitoring Control (RMC) connection. |
PowerManagementMode | The power management mode. |
Extended groups
There are certain attribute which always makes call to its underlying layer to get the data. Those attributes are not cached and populated in REST API unless the user requested for them.
Resource
/rest/api/uom/LogicalPartition?group={Group Name}
This API provides all the Logical Partition information of the specified extended group attributes.
/rest/api/uom/LogicalPartition/{LogicalPartition_uuid}?group={Group Name}
This API provides the specified extended group attributes of the given instance.
/rest/api/uom/ManagedSystem/{ManagedSystem_uuid}/
LogicalPartition?group={Group Name}
This API provides the specified extended group attributes of the given instance.
/rest/api/uom/ManagedSystem/{ManagedSystem_uuid}/LogicalPartition/
{LogicalPartition_uuid}?group={Group Name}
This API provides the specified extended group attributes of the given instance.
Group name | Description |
---|---|
Advanced | This is an extended group that makes a call to hypervisor to get the data. |
None | This is an extended group that provides the default attributes. |
Method | Description | Internet media type |
---|---|---|
GET | It retrieves information identified by the Request-URI. Produced data is returned as the entity in the response. | application/vnd.ibm.powervm.uom+xml; Type=LogicalPartition |
PUT | It is used to request the web server to accept the entity enclosed in the request and allow them to create a new instance. | application/vnd.ibm.powervm.uom+xml; Type=LogicalPartition |
POST | It is used to request the web server to accept the entity enclosed in the request and allow them to change state of the entity. | application/vnd.ibm.powervm.uom+xml; Type=LogicalPartition |
DELETE | It is used to request the web server to delete the requested entity. | application/vnd.ibm.powervm.uom+xml; Type=LogicalPartition |
Search
User can search a resource by giving a property name and value in the LogicalPartition URI to get the matching instance.
Resource
/rest/api/uom/LogicalPartition/search/({Property name}=={Property value})
Supported property name available at /rest/api/uom/LogicalPartition/search URI.