import * as pulumi from "@pulumi/pulumi"; /** * Gets information about a baremetal operating system. * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses). * * You can also use the [scaleway-cli](https://github.com/scaleway/scaleway-cli) with `scw baremetal os list` to list all available operating systems. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const byName = scaleway.getBaremetalOs({ * name: "Ubuntu", * version: "20.04 LTS (Focal Fossa)", * }); * const byId = scaleway.getBaremetalOs({ * osId: "03b7f4ba-a6a1-4305-984e-b54fafbf1681", * }); * ``` */ export declare function getBaremetalOs(args?: GetBaremetalOsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBaremetalOs. */ export interface GetBaremetalOsArgs { /** * The os name. Only one of `name` and `osId` should be specified. */ name?: string; /** * The operating system id. Only one of `name` and `osId` should be specified. */ osId?: string; /** * The os version. */ version?: string; /** * `zone`) The zone in which the os exists. */ zone?: string; } /** * A collection of values returned by getBaremetalOs. */ export interface GetBaremetalOsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name?: string; readonly osId?: string; readonly version?: string; readonly zone: string; } /** * Gets information about a baremetal operating system. * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses). * * You can also use the [scaleway-cli](https://github.com/scaleway/scaleway-cli) with `scw baremetal os list` to list all available operating systems. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const byName = scaleway.getBaremetalOs({ * name: "Ubuntu", * version: "20.04 LTS (Focal Fossa)", * }); * const byId = scaleway.getBaremetalOs({ * osId: "03b7f4ba-a6a1-4305-984e-b54fafbf1681", * }); * ``` */ export declare function getBaremetalOsOutput(args?: GetBaremetalOsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBaremetalOs. */ export interface GetBaremetalOsOutputArgs { /** * The os name. Only one of `name` and `osId` should be specified. */ name?: pulumi.Input; /** * The operating system id. Only one of `name` and `osId` should be specified. */ osId?: pulumi.Input; /** * The os version. */ version?: pulumi.Input; /** * `zone`) The zone in which the os exists. */ zone?: pulumi.Input; }