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 persistence rule, see Get Data Policies.
Responses
Response Elements
<Data>
   <BlobbingEnabled>TRUE</BlobbingEnabled>
   <ChecksumType>CRC|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>
   <EndToEndCrcRequired>TRUE|FALSE</EndToEndCrcRequired>
   <Id>{string}</Id>
   <LtfsObjectNamingAllowed>TRUE|FALSE</LtfsObjectNamingAllowed>
   <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:
Specifies whether the data policy can use storage domains with ltfs_file_naming=OBJECT_NAME (see ltfs_file_naming). If a bucket has objects written into it that violate the LTFS file naming compliance, this is set to 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>
   <BlobbingEnabled>TRUE</BlobbingEnabled>
   <ChecksumType>MD5</ChecksumType>
   <CreationDate>2015-07-29 16:26:12.852</CreationDate>
   <DefaultBlobSize/>
   <DefaultGetJobPriority>HIGH</DefaultGetJobPriority>
   <DefaultPutJobPriority>NORMAL</DefaultPutJobPriority>
   <DefaultVerifyJobPriority>LOW</DefaultVerifyJobPriority>
   <EndToEndCrcRequired>FALSE</EndToEndCrcRequired>
   <Id>9f7418e5-67e6-47f7-8653-dec602c66eeb</Id>
   <LtfsObjectNamingAllowed>TRUE</LtfsObjectNamingAllowed>
   <Name>policy1</Name>
   <RebuildPriority>LOW</RebuildPriority>
   <Versioning>NONE</Versioning>
</Data>