/** * The ExternalStorage model module. * @module Ntnx/ExternalStorage * @version 4.4.2 * @class ExternalStorage * @extends ExternalizableAbstractModel */ export default class ExternalStorage extends ExternalizableAbstractModel { /** * Returns The name of the external storage resource. * @return {string} */ getName(): string; /** * Sets The name of the external storage resource. * @param {string} name The name of the external storage resource. */ setName(name: string): void; name: string; /** * @return {ExternalStorageProvider} */ getProviderType(): ExternalStorageProvider; /** * @param {ExternalStorageProvider} providerType */ setProviderType(providerType: ExternalStorageProvider): void; providerType: string; /** * Returns Configuration details for the external storage. * @return {DellPowerflexConfig | PureStorageFlashArrayConfig} */ getConfig(): DellPowerflexConfig | PureStorageFlashArrayConfig; /** * Sets Configuration details for the external storage. * @param {DellPowerflexConfig | PureStorageFlashArrayConfig} config Configuration details for the external storage. */ setConfig(config: DellPowerflexConfig | PureStorageFlashArrayConfig): void; config: DellPowerflexConfig | PureStorageFlashArrayConfig; /** * Returns Total capacity of the external storage in bytes. * @return {Number} */ getTotalCapacityBytes(): number; /** * Sets Total capacity of the external storage in bytes. * @param {Number} totalCapacityBytes Total capacity of the external storage in bytes. */ setTotalCapacityBytes(totalCapacityBytes: number): void; totalCapacityBytes: number; /** * Returns Free capacity of the external storage in bytes. * @return {Number} */ getFreeCapacityBytes(): number; /** * Sets Free capacity of the external storage in bytes. * @param {Number} freeCapacityBytes Free capacity of the external storage in bytes. */ setFreeCapacityBytes(freeCapacityBytes: number): void; freeCapacityBytes: number; #private; } import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel"; import ExternalStorageProvider from "./ExternalStorageProvider"; import DellPowerflexConfig from "./DellPowerflexConfig"; import PureStorageFlashArrayConfig from "./PureStorageFlashArrayConfig";