Uri: aml/physicallibrary, Uri: aml/physicallibrary/elements – HP StoreEver ESL G3 Tape Libraries User Manual

Page 41

Advertising
background image

Parameters

N/A

Response Code

200, 401, 403, and 500

XML Request Data

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:partition
xmlns:ns2="http://automatedMediaLibrary/">
<name>Test</name>
<type>1</type>
<driveDomainType>6</driveDomainType>
<storageSlotCount>300</storageSlotCount>
<driveCount>2</driveCount>
<ieSlotCount>12</ieSlotCount>
<xieSlotCount>0</xieSlotCount>
<ampExtensionsCount>0</ampExtensionsCount>
<barcodeReporting>4</barcodeReporting>
<vendorId>2</vendorId>
<productId>3</productId>
</ns2:partition>

XML Response

See

“URI: aml/partitions” (page 84)

for the XML Response code.

URI: aml/physicalLibrary

Method

GET

Description

Retrieve the physical library resource instances.

NOTE:

The autoClean element will be deprecated for the June 2014 (680H)

release. The new drive cleaning methodology is covered by the following
interface:

“URI: aml/partition/{name}/driveCleaning” (page 34)

.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 403, and 500

XML Response

See

“URI: aml/physicalLibrary” (page 84)

for the XML Response code.

URI: aml/physicalLibrary/elements

Method

GET

Description

Retrieve the element resource instances.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

Query parameters names are partition, state, type, start, length, frame, and
rack with the following valid values:

partition—name of partition

state—

full

slot contains media

empty

slot is empty

status—owned by a partition or not

available

used

type—storage, ie, drive, or xie

URI: aml/physicalLibrary

41

Advertising