Spectra Logic
1-800-833-1132 : 1-303-449-6400


Advanced Bucket Management Operations : Storage Domain Operations : Get Storage Domains

Get Storage Domains
Description
Get information about all storage domains. Use parameters as selection criteria to return a subset of the list.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/storage_domain/[?auto_eject_upon_cron={string}] [&auto_eject_upon_job_cancellation=TRUE|FALSE] [&auto_eject_upon_job_completion=TRUE|FALSE] [&auto_eject_upon_media_full=TRUE|FALSE][&last_page] [&media_ejection_allowed=TRUE|FALSE][&name={string}] [&page_length={32-bit integer}][&page_offset={32-bit integer}] [&page_start_marker={string}] [&write_optimization=CAPACITY|PERFOMRANCE]
Request Parameters 
Values: TRUE, FALSE (default)
Values: TRUE, FALSE (default)
Values: TRUE, FALSE (default)
Values: TRUE (default), FALSE
Notes:  
§
Specifying both page_offset and page _start_marker causes an error.
§
If neither page_offset, nor page_start_marker are specified, the page_offset default is used.
Whether job chunks are written as quickly as possible or across as few pieces of media as possible. For example, when PERFORMANCE mode is set for a tape partition, job chunks are written as quickly as possible, using all tape drive resources, even if that means that more tapes are allocated to the bucket than are necessary to write the data.
Values: CAPACITY (default), PERFORMANCE
Responses
Response Elements
<Data>
   <StorageDomain>
      <AutoEjectUponCron>{
string}</AutoEjectUponCron>
      <AutoEjectUponJobCancellation>
         TRUE|FALSE
      </AutoEjectUponJobCancellation>
      <AutoEjectUponJobCompletion>
         TRUE|FALSE
      </AutoEjectUponJobCompletion>
      <AutoEjectUponMediaFull>
         TRUE|FALSE
      </AutoEjectUponMediaFull>
      <Id>{string}</Id>
      <LtfsFileNaming>OBJECT_ID|OBJECT_NAME</LtfsFileNaming>
      <MaxTapeFragmentationPercent>
         {
32-bit integer}
      </MaxTapeFragmentationPercent>
      <MaximumAutoVerificationFrequencyInDays>
         {
32-bit integer}
      </MaximumAutoVerificationFrequencyInDays>
      <MediaEjectionAllowed>
         TRUE|FALSE
      </MediaEjectionAllowed>
      <Name>{string}</Name>
      <VerifyPriorToAutoEject>
         CRITICAL|URGENT|HIGH|NORMAL|LOW|BACKGROUND
      </VerifyPriorToAutoEject>
      <WriteOptimization>CAPACITY|PERFORMANCE</WriteOptimization>
   </StorageDomain>
   ...
</Data>
where the response elements are defined as follows:
Values: TRUE, FALSE
Values: TRUE, FALSE
Values: TRUE, FALSE
Whether job chunks are written as quickly as possible (PERFORMANCE) or across as few pieces of media as possible (CAPACITY).
Values: CAPACITY, PERFORMANCE
Example
Sample Request
This request gets information about all storage domains on the gateway.
GET http://blackpearl-hostname/_rest_/storage_domain/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <StorageDomain>
      <AutoEjectUponCron/>
      <AutoEjectUponJobCancellation>
         FALSE
      </AutoEjectUponJobCancellation>
      <AutoEjectUponJobCompletion>
         FALSE
      </AutoEjectUponJobCompletion>
      <AutoEjectUponMediaFull>FALSE</AutoEjectUponMediaFull>
      <Id>b5ef719c-a455-4527-a7b6-6a4780c3f67f</Id>
      <LtfsFileNaming>OBJECT_ID</LtfsFileNaming>
      <MaxTapeFragmentationPercent>
          65
      </MaxTapeFragmentationPercent>
      <MaximumAutoVerificationFrequencyInDays>
         365
      </MaximumAutoVerificationFrequencyInDays>
      <MediaEjectionAllowed>TRUE</MediaEjectionAllowed>
      <Name>sd1</Name>
      </VerifyPriorToAutoEject>
      <WriteOptimization>CAPACITY</WriteOptimization>
   </StorageDomain>
   ...
</Data>