Fetches all the storage policies in the enterprise.
This operation is performed by calling function getStoragePolicies
.
See the endpoint docs at API Reference.
client.getStoragePolicies().getStoragePolicies()
- queryParams
GetStoragePoliciesQueryParams
- Query parameters of getStoragePolicies method
- headers
GetStoragePoliciesHeaders
- Headers of getStoragePolicies method
This function returns a value of type StoragePolicies
.
Returns a collection of storage policies.
Fetches a specific storage policy.
This operation is performed by calling function getStoragePolicyById
.
See the endpoint docs at API Reference.
client.getStoragePolicies().getStoragePolicyById(storagePolicy.getId())
- storagePolicyId
String
- The ID of the storage policy. Example: "34342"
- headers
GetStoragePolicyByIdHeaders
- Headers of getStoragePolicyById method
This function returns a value of type StoragePolicy
.
Returns a storage policy object.