beautypg.com

Uri: aml/partition/{name}/drivecleaning – HP StoreEver ESL G3 Tape Libraries User Manual

Page 34

background image

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 403, 404, and 500

Example: Text Request Data

New Partition Name

XML Response

See

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

for the

XML Response code.

URI: aml/partition/{name}/driveCleaning

Method

GET

Description

Retrieve the drive cleaning policy resource for the partition whose name
is given by the URI path template “name”.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 404, and 500

Method

POST

Description

Create a new drive cleaning policy for the partition whose name is given
by the URI path template “name”.

Media Type

Request: application/xml and application/json

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 403, 404, and 500

XML Request Data

Method

PUT

Description

Update the drive cleaning policy resource for the partition whose name
is given by the URI path template “name”.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 403, 404, and 500

XML Request Data


xmlns:ns2="http://automatedMediaLibrary/">
LL2

400

Method

DELETE

Description

Delete the drive cleaning policy resources for the partition whose name
is given by the URI path template “name”.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 404, and 500

34

Resource