/** * The StoragePolicy model module. * @module Ntnx/StoragePolicy * @version 4.3.1 * @class StoragePolicy * @extends ExternalizableAbstractModel */ export default class StoragePolicy extends ExternalizableAbstractModel { /** * Returns Indicates the Storage Policy name. Note that the name of the Storage Policy should be unique. * @return {string} */ getName(): string; /** * Sets Indicates the Storage Policy name. Note that the name of the Storage Policy should be unique. * @param {string} name Indicates the Storage Policy name. Note that the name of the Storage Policy should be unique. */ setName(name: string): void; name: string; /** * Returns List of external identifiers of Categories included or to be included in the Storage Policy. * @return {string[]} */ getCategoryExtIds(): string[]; /** * Sets List of external identifiers of Categories included or to be included in the Storage Policy. * @param {string[]} categoryExtIds List of external identifiers of Categories included or to be included in the Storage Policy. */ setCategoryExtIds(categoryExtIds: string[]): void; categoryExtIds: string[]; /** * @return {CompressionSpec} */ getCompressionSpec(): CompressionSpec; /** * @param {CompressionSpec} compressionSpec */ setCompressionSpec(compressionSpec: CompressionSpec): void; compressionSpec: CompressionSpec; /** * @return {EncryptionSpec} */ getEncryptionSpec(): EncryptionSpec; /** * @param {EncryptionSpec} encryptionSpec */ setEncryptionSpec(encryptionSpec: EncryptionSpec): void; encryptionSpec: EncryptionSpec; /** * @return {QosSpec} */ getQosSpec(): QosSpec; /** * @param {QosSpec} qosSpec */ setQosSpec(qosSpec: QosSpec): void; qosSpec: QosSpec; /** * @return {FaultToleranceSpec} */ getFaultToleranceSpec(): FaultToleranceSpec; /** * @param {FaultToleranceSpec} faultToleranceSpec */ setFaultToleranceSpec(faultToleranceSpec: FaultToleranceSpec): void; faultToleranceSpec: FaultToleranceSpec; /** * @return {PolicyType} */ getPolicyType(): PolicyType; /** * @param {PolicyType} policyType */ setPolicyType(policyType: PolicyType): void; policyType: string; /** * Returns Indicates the UUID of the owner of the Storage Policy. * @return {string} */ getOwnerUuid(): string; /** * Sets Indicates the UUID of the owner of the Storage Policy. * @param {string} ownerUuid Indicates the UUID of the owner of the Storage Policy. */ setOwnerUuid(ownerUuid: string): void; ownerUuid: string; #private; } import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel"; import CompressionSpec from "./CompressionSpec"; import EncryptionSpec from "./EncryptionSpec"; import QosSpec from "./QosSpec"; import FaultToleranceSpec from "./FaultToleranceSpec"; import PolicyType from "./PolicyType";