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

Page 33

Advertising
background image

URI: aml/partition/{name}/mode

Method

GET

Description

Retrieve the current mode (Online/Offline) of the partition
whose name is provided by the URI path template name.

A single string value will be returned and the possible values
are:

1 (online)

2 (offline)

Media Type

Request: N/A

Response: text/plain and application/json

Parameters

N/A

Response Code

200

Example: Response Data

2

Method

PUT

Description

Change the partition mode, 1 (Online) or 2 (Offline)

This option only applies to standard partitions.

Media Type

Request: text/plain and application/json

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 403, 404, and 500

Example: Text Request Data

2

XML Response

See

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

for the

XML Response code.

URI: aml/partition/{name}/name

Method

GET

Description

Retrieve the current name of the partition whose name is
provided by the URI path template name. The return name
should be the same as the name template.

The only purpose of the method is for
completeness/consistency of the Web Service interface.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 404, and 500

Example: Response Data

test partition

Method

PUT

Description

Change the partitions name.

NOTE:

The partition mode must change before a

connected host will see these changes.

Media Type

Request: application/xml and application/json

URI: aml/partition/{name}/mode

33

Advertising