@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
40 lines • 1.33 kB
TypeScript
import { Flavor } from '../flavor/Flavor';
import { Image } from '../image/Image';
import { IpAddress } from './IpAddress';
import { MonthlyBilling } from './MonthlyBilling';
import { SshKeyDetail } from '../sshkey/SshKeyDetail';
import { InstanceStatusEnum } from './InstanceStatusEnum';
/** InstanceDetail */
export interface InstanceDetail {
/** Availability zone of the instance */
availabilityZone?: string;
/** Instance creation date */
created: string;
/** Instance outgoing network traffic for the current month (in bytes) */
currentMonthOutgoingTraffic?: number;
/** Instance flavor */
flavor: Flavor;
/** Instance id */
id: string;
/** Instance image */
image: Image;
/** Instance IP addresses */
ipAddresses: IpAddress[];
/** Instance monthly billing status */
monthlyBilling?: MonthlyBilling;
/** Instance name */
name: string;
/** Ids of pending public cloud operations */
operationIds: string[];
/** Order plan code */
planCode?: string;
/** Instance id */
region: string;
/** Rescue password if instance is in RESCUE status */
rescuePassword?: string;
/** Instance SSH key */
sshKey?: SshKeyDetail;
/** Instance status */
status: InstanceStatusEnum;
}
//# sourceMappingURL=InstanceDetail.d.ts.map