Fetches all the storage policies in the enterprise.
This operation is performed by calling function getStoragePolicies.
See the endpoint docs at API Reference.
await client.storagePolicies.getStoragePolicies();
GetStoragePoliciesQueryParams
GetStoragePoliciesHeadersInput
undefined | CancellationToken
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.
await client.storagePolicies.getStoragePolicyById(storagePolicy.id);
string
GetStoragePolicyByIdOptionalsInputThis function returns a value of type StoragePolicy.
Returns a storage policy object.