import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Gets information about a baremetal offer. 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 myOffer = scaleway.getBaremetalOffer({ * offerId: "25dcf38b-c90c-4b18-97a2-6956e9d1e113", * zone: "fr-par-2", * }); * ``` */ export declare function getBaremetalOffer(args?: GetBaremetalOfferArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBaremetalOffer. */ export interface GetBaremetalOfferArgs { includeDisabled?: boolean; /** * The offer name. Only one of `name` and `offerId` should be specified. */ name?: string; /** * The offer id. Only one of `name` and `offerId` should be specified. */ offerId?: string; /** * Period of subscription the desired offer. Should be `hourly` or `monthly`. */ subscriptionPeriod?: string; /** * `zone`) The zone in which the offer should be created. */ zone?: string; } /** * A collection of values returned by getBaremetalOffer. */ export interface GetBaremetalOfferResult { /** * Available Bandwidth with the offer. */ readonly bandwidth: number; /** * Commercial range of the offer. */ readonly commercialRange: string; /** * A list of cpu specifications. (Structure is documented below.) */ readonly cpus: outputs.GetBaremetalOfferCpus[]; /** * A list of disk specifications. (Structure is documented below.) */ readonly disks: outputs.GetBaremetalOfferDisk[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly includeDisabled?: boolean; /** * A list of memory specifications. (Structure is documented below.) */ readonly memories: outputs.GetBaremetalOfferMemory[]; /** * Name of the CPU. */ readonly name?: string; readonly offerId?: string; /** * Stock status for this offer. Possible values are: `empty`, `low` or `available`. */ readonly stock: string; readonly subscriptionPeriod?: string; readonly zone: string; } /** * Gets information about a baremetal offer. 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 myOffer = scaleway.getBaremetalOffer({ * offerId: "25dcf38b-c90c-4b18-97a2-6956e9d1e113", * zone: "fr-par-2", * }); * ``` */ export declare function getBaremetalOfferOutput(args?: GetBaremetalOfferOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBaremetalOffer. */ export interface GetBaremetalOfferOutputArgs { includeDisabled?: pulumi.Input; /** * The offer name. Only one of `name` and `offerId` should be specified. */ name?: pulumi.Input; /** * The offer id. Only one of `name` and `offerId` should be specified. */ offerId?: pulumi.Input; /** * Period of subscription the desired offer. Should be `hourly` or `monthly`. */ subscriptionPeriod?: pulumi.Input; /** * `zone`) The zone in which the offer should be created. */ zone?: pulumi.Input; }