import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Gets information about a baremetal server. * For more information, see [the documentation](https://developers.scaleway.com/en/products/baremetal/api). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const byName = scaleway.getBaremetalServer({ * name: "foobar", * zone: "fr-par-2", * }); * const byId = scaleway.getBaremetalServer({ * serverId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getBaremetalServer(args?: GetBaremetalServerArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBaremetalServer. */ export interface GetBaremetalServerArgs { /** * The server name. Only one of `name` and `serverId` should be specified. */ name?: string; /** * The ID of the project the baremetal server is associated with. */ projectId?: string; serverId?: string; /** * `zone`) The zone in which the server exists. */ zone?: string; } /** * A collection of values returned by getBaremetalServer. */ export interface GetBaremetalServerResult { readonly description: string; readonly domain: string; readonly hostname: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly installConfigAfterward: boolean; readonly ips: outputs.GetBaremetalServerIp[]; readonly ipv4s: outputs.GetBaremetalServerIpv4[]; readonly ipv6s: outputs.GetBaremetalServerIpv6[]; readonly name?: string; readonly offer: string; readonly offerId: string; readonly offerName: string; readonly options: outputs.GetBaremetalServerOption[]; readonly organizationId: string; readonly os: string; readonly osName: string; readonly partitioning: string; readonly password: string; readonly privateNetworks: outputs.GetBaremetalServerPrivateNetwork[]; readonly projectId?: string; readonly reinstallOnConfigChanges: boolean; readonly serverId?: string; readonly servicePassword: string; readonly serviceUser: string; readonly sshKeyIds: string[]; readonly tags: string[]; readonly user: string; readonly zone?: string; } /** * Gets information about a baremetal server. * For more information, see [the documentation](https://developers.scaleway.com/en/products/baremetal/api). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const byName = scaleway.getBaremetalServer({ * name: "foobar", * zone: "fr-par-2", * }); * const byId = scaleway.getBaremetalServer({ * serverId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getBaremetalServerOutput(args?: GetBaremetalServerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBaremetalServer. */ export interface GetBaremetalServerOutputArgs { /** * The server name. Only one of `name` and `serverId` should be specified. */ name?: pulumi.Input; /** * The ID of the project the baremetal server is associated with. */ projectId?: pulumi.Input; serverId?: pulumi.Input; /** * `zone`) The zone in which the server exists. */ zone?: pulumi.Input; }