UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

40 lines 1.76 kB
import { BackupFork } from './service/creation/BackupFork'; import { Time } from '../../../Time'; import { Backup } from './service/Backup'; import { Disk } from './service/Disk'; import { ForkFrom } from './service/creation/ForkFrom'; import { IpRestriction } from './service/IpRestriction'; import { NodeCreation } from './service/NodeCreation'; import { NodePattern } from './service/NodePattern'; /** Cloud databases cluster definition */ export interface ServiceCreation { /** @deprecated Backup from which the new service is created. DEPRECATED: use forkFrom */ backup?: BackupFork; /** @deprecated Time on which backups start every day. DEPRECATED: use backups.time */ backupTime?: Time; /** Information related to the backups, null if the engine does not support backups */ backups?: Backup; /** Description of the cluster */ description: string; /** Disk attributes of the cluster */ disk: Disk; /** Backup from which the new service is created */ forkFrom?: ForkFrom; /** IP Blocks authorized to access to the cluster */ ipRestrictions: IpRestriction[]; /** Time on which maintenances can start every day */ maintenanceTime?: Time; /** Private network ID in which the cluster is */ networkId?: string; /** List of nodes in the cluster, not compatible with nodesPattern */ nodesList?: NodeCreation[]; /** Pattern definition of the nodes in the cluster, not compatible with nodesList */ nodesPattern?: NodePattern; /** Plan of the cluster */ plan: string; /** Private subnet ID in which the cluster is */ subnetId?: string; /** Version of the engine deployed on the cluster */ version: string; } //# sourceMappingURL=ServiceCreation.d.ts.map