import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * ## Example Usage */ export declare class Vps extends pulumi.CustomResource { /** * Get an existing Vps resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: VpsState, opts?: pulumi.CustomResourceOptions): Vps; /** * Returns true if the given object is an instance of Vps. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Vps; /** * VPS cluster */ readonly cluster: pulumi.Output; /** * Custom display name */ readonly displayName: pulumi.Output; /** * Indicates if default password should be set and sent by email. Default false: a password is set and an email is sent */ readonly doNotSendPassword: pulumi.Output; /** * IAM resource information */ readonly iam: pulumi.Output; /** * Id of the image to install on the VPS. This attribute is useful to trigger a VPS reinstallation, and during VPS creation if you want to configure a `publicSshKey`. The available values can be found using this [API call](https://eu.api.ovh.com/console/?section=%2Fvps&branch=v1#get-/vps/-serviceName-/images/available) */ readonly imageId: pulumi.Output; /** * KVM keyboard layout on VPS Cloud */ readonly keymap: pulumi.Output; /** * RAM of this VPS */ readonly memoryLimit: pulumi.Output; /** * Structure describing characteristics of a VPS model */ readonly model: pulumi.Output; /** * IP blocks for OVH monitoring servers */ readonly monitoringIpBlocks: pulumi.Output; /** * Name of the VPS */ readonly name: pulumi.Output; /** * VPS netboot mode (local┃rescue) */ readonly netbootMode: pulumi.Output; /** * All offers a VPS can have (beta-classic┃classic┃cloud┃cloudram┃game-classic┃lowlat┃ssd) */ readonly offerType: pulumi.Output; /** * Details about an Order */ readonly order: pulumi.Output; /** * OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at [/1.0/me.json](https://eu.api.ovh.com/console-preview/?section=%2Fme&branch=v1#get-/me) */ readonly ovhSubsidiary: pulumi.Output; /** * Product Plan to order */ readonly planOptions: pulumi.Output; /** * Product Plan to order */ readonly plans: pulumi.Output; /** * Public SSH key to pre-install on your VPS - if set, then `imageId` must also be set */ readonly publicSshKey: pulumi.Output; /** * The internal name of your VPS offer */ readonly serviceName: pulumi.Output; readonly slaMonitoring: pulumi.Output; /** * State of the VPS (backuping┃installing┃maintenance┃rebooting┃rescued┃running┃stopped┃stopping┃upgrading) */ readonly state: pulumi.Output; /** * Number of vcores */ readonly vcore: pulumi.Output; /** * OpenStask region where the VPS is located */ readonly zone: pulumi.Output; /** * Create a Vps resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: VpsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Vps resources. */ export interface VpsState { /** * VPS cluster */ cluster?: pulumi.Input; /** * Custom display name */ displayName?: pulumi.Input; /** * Indicates if default password should be set and sent by email. Default false: a password is set and an email is sent */ doNotSendPassword?: pulumi.Input; /** * IAM resource information */ iam?: pulumi.Input; /** * Id of the image to install on the VPS. This attribute is useful to trigger a VPS reinstallation, and during VPS creation if you want to configure a `publicSshKey`. The available values can be found using this [API call](https://eu.api.ovh.com/console/?section=%2Fvps&branch=v1#get-/vps/-serviceName-/images/available) */ imageId?: pulumi.Input; /** * KVM keyboard layout on VPS Cloud */ keymap?: pulumi.Input; /** * RAM of this VPS */ memoryLimit?: pulumi.Input; /** * Structure describing characteristics of a VPS model */ model?: pulumi.Input; /** * IP blocks for OVH monitoring servers */ monitoringIpBlocks?: pulumi.Input[]>; /** * Name of the VPS */ name?: pulumi.Input; /** * VPS netboot mode (local┃rescue) */ netbootMode?: pulumi.Input; /** * All offers a VPS can have (beta-classic┃classic┃cloud┃cloudram┃game-classic┃lowlat┃ssd) */ offerType?: pulumi.Input; /** * Details about an Order */ order?: pulumi.Input; /** * OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at [/1.0/me.json](https://eu.api.ovh.com/console-preview/?section=%2Fme&branch=v1#get-/me) */ ovhSubsidiary?: pulumi.Input; /** * Product Plan to order */ planOptions?: pulumi.Input[]>; /** * Product Plan to order */ plans?: pulumi.Input[]>; /** * Public SSH key to pre-install on your VPS - if set, then `imageId` must also be set */ publicSshKey?: pulumi.Input; /** * The internal name of your VPS offer */ serviceName?: pulumi.Input; slaMonitoring?: pulumi.Input; /** * State of the VPS (backuping┃installing┃maintenance┃rebooting┃rescued┃running┃stopped┃stopping┃upgrading) */ state?: pulumi.Input; /** * Number of vcores */ vcore?: pulumi.Input; /** * OpenStask region where the VPS is located */ zone?: pulumi.Input; } /** * The set of arguments for constructing a Vps resource. */ export interface VpsArgs { /** * Custom display name */ displayName?: pulumi.Input; /** * Indicates if default password should be set and sent by email. Default false: a password is set and an email is sent */ doNotSendPassword?: pulumi.Input; /** * Id of the image to install on the VPS. This attribute is useful to trigger a VPS reinstallation, and during VPS creation if you want to configure a `publicSshKey`. The available values can be found using this [API call](https://eu.api.ovh.com/console/?section=%2Fvps&branch=v1#get-/vps/-serviceName-/images/available) */ imageId?: pulumi.Input; /** * KVM keyboard layout on VPS Cloud */ keymap?: pulumi.Input; /** * RAM of this VPS */ memoryLimit?: pulumi.Input; /** * Structure describing characteristics of a VPS model */ model?: pulumi.Input; /** * IP blocks for OVH monitoring servers */ monitoringIpBlocks?: pulumi.Input[]>; /** * Name of the VPS */ name?: pulumi.Input; /** * VPS netboot mode (local┃rescue) */ netbootMode?: pulumi.Input; /** * All offers a VPS can have (beta-classic┃classic┃cloud┃cloudram┃game-classic┃lowlat┃ssd) */ offerType?: pulumi.Input; /** * OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at [/1.0/me.json](https://eu.api.ovh.com/console-preview/?section=%2Fme&branch=v1#get-/me) */ ovhSubsidiary?: pulumi.Input; /** * Product Plan to order */ planOptions?: pulumi.Input[]>; /** * Product Plan to order */ plans?: pulumi.Input[]>; /** * Public SSH key to pre-install on your VPS - if set, then `imageId` must also be set */ publicSshKey?: pulumi.Input; slaMonitoring?: pulumi.Input; /** * State of the VPS (backuping┃installing┃maintenance┃rebooting┃rescued┃running┃stopped┃stopping┃upgrading) */ state?: pulumi.Input; /** * Number of vcores */ vcore?: pulumi.Input; /** * OpenStask region where the VPS is located */ zone?: pulumi.Input; }