import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const rescue = ovh.Dedicated.getServerBoots({ * serviceName: "nsxxxxxxx.ip-xx-xx-xx.eu", * bootType: "rescue", * kernel: "rescue64-pro", * }); * const server = new ovh.dedicated.ServerUpdate("server", { * serviceName: "nsxxxxxxx.ip-xx-xx-xx.eu", * bootId: rescue.then(rescue => rescue.results?.[0]), * monitoring: true, * state: "ok", * displayName: "Some human-readable name", * }); * ``` */ export declare class ServerUpdate extends pulumi.CustomResource { /** * Get an existing ServerUpdate 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?: ServerUpdateState, opts?: pulumi.CustomResourceOptions): ServerUpdate; /** * Returns true if the given object is an instance of ServerUpdate. 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 ServerUpdate; /** * boot id of the server */ readonly bootId: pulumi.Output; /** * boot script of the server */ readonly bootScript: pulumi.Output; /** * display name of the dedicated server */ readonly displayName: pulumi.Output; /** * path of the EFI bootloader */ readonly efiBootloaderPath: pulumi.Output; /** * Icmp monitoring state */ readonly monitoring: pulumi.Output; /** * The serviceName of your dedicated server. */ readonly serviceName: pulumi.Output; /** * error, hacked, hackedBlocked, ok */ readonly state: pulumi.Output; /** * Create a ServerUpdate 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: ServerUpdateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ServerUpdate resources. */ export interface ServerUpdateState { /** * boot id of the server */ bootId?: pulumi.Input; /** * boot script of the server */ bootScript?: pulumi.Input; /** * display name of the dedicated server */ displayName?: pulumi.Input; /** * path of the EFI bootloader */ efiBootloaderPath?: pulumi.Input; /** * Icmp monitoring state */ monitoring?: pulumi.Input; /** * The serviceName of your dedicated server. */ serviceName?: pulumi.Input; /** * error, hacked, hackedBlocked, ok */ state?: pulumi.Input; } /** * The set of arguments for constructing a ServerUpdate resource. */ export interface ServerUpdateArgs { /** * boot id of the server */ bootId?: pulumi.Input; /** * boot script of the server */ bootScript?: pulumi.Input; /** * display name of the dedicated server */ displayName?: pulumi.Input; /** * path of the EFI bootloader */ efiBootloaderPath?: pulumi.Input; /** * Icmp monitoring state */ monitoring?: pulumi.Input; /** * The serviceName of your dedicated server. */ serviceName: pulumi.Input; /** * error, hacked, hackedBlocked, ok */ state?: pulumi.Input; }