HP OneView REST API Reference

id-pools/vsn/ranges
id-pools-vsn-ranges.html[10/17/2013 10:35:18 AM]
REST API Response Codes
Examples
The following example shows how to get a vsn range whose identifier is
{range-id}
GET https://{appl}/rest/id-pools/vsn/ranges/{range-id}
PUT Enables or disables a vsn range.
Parameter Attributes Description
force Optional If set to true, the operation completes even if there are network
connectivity issues or resource errors. The default is false.
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the
current release, this must be set to "X-API-Version:3"
Request
Body
Attributes Description
IdRange Required
Response Description
IdRange The DTO describing the range.
Response Codes
REST API Response Codes
Examples
The following example shows how to enable or disable a vsn range whose
identifier is {range-id}
PUT https://{appl}/rest/id-pools/vsn/ranges/{range-id}
Request Body:
{
"type":"Range",
"enabled":true
}
URI: /rest/id-pools/vsn/ranges/{id}/allocated-fragments
Method API
GET Returns all allocated fragments in a vsn range.
Parameter Attributes Description
start Optional The 0-based index of the first resource to return (start=0 starts with
the first available resource). If the specified count does not return all
resources within the maximum allowed time (see count), use the
start parameter to view additional resource pages. The default value
for start is 0 (first available resource).
count Optional Optional parameter that specifies the number of resources to return