@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
59 lines • 2.76 kB
TypeScript
import { BackupTypeEnum } from './BackupTypeEnum';
import { Backups } from './availability/Backups';
import { CategoryEnum } from './engine/CategoryEnum';
import { Lifecycle } from './availability/Lifecycle';
import { NetworkTypeEnum } from './NetworkTypeEnum';
import { Specifications } from './availability/Specifications';
import { StatusEnum } from './availability/StatusEnum';
/** Availability of databases engines on cloud projects */
export interface Availability {
/** @deprecated Defines the type of backup. DEPRECATED: use backups.enable */
backup: BackupTypeEnum;
/** @deprecated Backup retention time of the availability in days. DEPRECATED: use backups.retentionDays */
backupRetentionDays: number;
/** Defines backups strategy for the availability */
backups: Backups;
/** Category of the engine */
category: CategoryEnum;
/** Whether this availability can be used by default */
default: boolean;
/** @deprecated End of life of the product. DEPRECATED: use lifecycle.endOfLife */
endOfLife?: string;
/** Database engine name */
engine: string;
/** @deprecated Flavor name. DEPRECATED: use specifications.flavor */
flavor: string;
/** Defines the lifecycle of the availability */
lifecycle: Lifecycle;
/** @deprecated Maximum possible disk size in GB. DEPRECATED: use specifications.storage.maximum */
maxDiskSize: number;
/** @deprecated Maximum nodes of the cluster. DEPRECATED: use specifications.nodes.maximum */
maxNodeNumber: number;
/** @deprecated Minimum possible disk size in GB. DEPRECATED: use specifications.storage.minimum */
minDiskSize: number;
/** @deprecated Minimum nodes of the cluster. DEPRECATED: use specifications.nodes.minimum */
minNodeNumber: number;
/** @deprecated Type of network. DEPRECATED: use specifications.network */
network: NetworkTypeEnum;
/** Plan name */
plan: string;
/** Billing plan code */
planCode: string;
/** Billing plan code for storage */
planCodeStorage: string;
/** Region name */
region: string;
/** Defines the technical specifications of the availability */
specifications: Specifications;
/** @deprecated Date of the release of the product. DEPRECATED: use lifecycle.startDate */
startDate: string;
/** @deprecated Status of the availability. DEPRECATED: use lifecycle.status */
status: StatusEnum;
/** @deprecated Flex disk size step in GB. DEPRECATED: use specifications.storage.step */
stepDiskSize: number;
/** @deprecated End of life of the upstream product. DEPRECATED: use lifecycle */
upstreamEndOfLife?: string;
/** Version name */
version: string;
}
//# sourceMappingURL=Availability.d.ts.map