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


Advanced Bucket Management Operations : Data Policy Operations : Get Data Policy

Get Data Policy
Description
Get information about the specified data policy.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/data_policy/{data policy UUID, name, or other unique attribute}/
To determine the UUID for a data policy, see Get Data Policies.
Responses
Response Elements
<Data>
   <AlwaysForcePutJobCreation>
      TRUE|FALSE
   </AlwaysForcePutJobCreation>
   <AlwaysMinimizeSpanningAcrossMedia>
      TRUE|FALSE
   </AlwaysMinimizeSpanningAcrossMedia>
   <BlobbingEnabled>TRUE</BlobbingEnabled>
   <ChecksumType>CRC_32|CRC_32C|MD5|SHA_256|SHA_512</ChecksumType>
   <CreationDate>
YYYY-MM-DDThh:mm:ss.xxxZ</CreationDate>
   <DefaultBlobSize>{64‑bit integer}</DefaultBlobSize>
   <DefaultGetJobPriority>
      CRITICAL|URGENT|HIGH|NORMAL|LOW|BACKGROUND
   </DefaultGetJobPriority>
   <DefaultPutJobPriority>
      CRITICAL|URGENT|HIGH|NORMAL|LOW|BACKGROUND
   </DefaultPutJobPriority>
   <DefaultVerifyJobPriority>
      CRITICAL|URGENT|HIGH|NORMAL|LOW|BACKGROUND
   </DefaultVerifyJobPriority>
   <DefaultVerifyAfterWrite>TRUE|FALSE</DefaultVerifyAfterWrite>
   <EndToEndCrcRequired>TRUE|FALSE</EndToEndCrcRequired>
   <Id>{string}</Id>
   <Name>{string}</Name>
   <RebuildPriority>
      CRITICAL|URGENT|HIGH|NORMAL|LOW|BACKGROUND
   </RebuildPriority>
   <Versioning>NONE|KEEP_LAST</Versioning>
</Data>
where the response elements are defined as follows:
Values: TRUE, FALSE
Values: TRUE, FALSE
Values: NONE, KEEP_LATEST see versioning.
Example
Sample Request
This request gets information about the data policy with the name “policy1”.
GET http://blackpearl-hostname/_rest_/data_policy/policy1 HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <AlwaysForcePutJobCreation>FALSE</AlwaysForcePutJobCreation>
   <AlwaysMinimizeSpanningAcrossMedia>
      FALSE
   </AlwaysMinimizeSpanningAcrossMedia>
   <BlobbingEnabled>TRUE</BlobbingEnabled>
   <ChecksumType>MD5</ChecksumType>
   <CreationDate>2015-07-29 16:26:12.852</CreationDate>
   <DefaultBlobSize/>
   <DefaultGetJobPriority>HIGH</DefaultGetJobPriority>
   <DefaultPutJobPriority>NORMAL</DefaultPutJobPriority>
   <DefaultVerifyAfterWrite>TRUE</DefaultVerifyAfterWrite>
   <DefaultVerifyJobPriority>LOW</DefaultVerifyJobPriority>
   <EndToEndCrcRequired>FALSE</EndToEndCrcRequired>
   <Id>9f7418e5-67e6-47f7-8653-dec602c66eeb</Id>
   <Name>policy1</Name>
   <RebuildPriority>LOW</RebuildPriority>
   <Versioning>NONE</Versioning>
</Data>