@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
36 lines • 1.35 kB
TypeScript
import { Autobackup } from './CreateInput/Autobackup';
import { BillingPeriodEnum } from './CreateInput/BillingPeriodEnum';
import { BootFrom } from './CreateInput/BootFrom';
import { Flavor } from './CreateInput/Flavor';
import { Group } from './CreateInput/Group';
import { Network } from './CreateInput/Network';
import { SshKey } from './CreateInput/SshKey';
import { SshKeyCreate } from './CreateInput/SshKeyCreate';
/** Instance creation input */
export interface CreateInput {
/** Create an autobackup workflow after instance start up */
autobackup?: Autobackup;
/** The availability zone where the instance will be created */
availabilityZone?: string;
/** Billing period */
billingPeriod: BillingPeriodEnum;
/** Boot the instance from an image or a volume */
bootFrom: BootFrom;
/** Create multiple instances */
bulk: number;
/** Flavor information */
flavor: Flavor;
/** Start instance in group */
group?: Group;
/** Instance name */
name: string;
/** Networks information */
network: Network;
/** Existing SSH Keypair */
sshKey?: SshKey;
/** Information to create a new SSH Keypair */
sshKeyCreate?: SshKeyCreate;
/** Configuration information or scripts to use upon launch */
userData?: string;
}
//# sourceMappingURL=CreateInput.d.ts.map