UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

98 lines (97 loc) 3.42 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Gets information about a baremetal offer. For more information, see the [API documentation](https://developers.scaleway.com/en/products/baremetal/api). */ /** @deprecated scaleway.index/getbaremetaloffer.getBaremetalOffer has been deprecated in favor of scaleway.elasticmetal/getoffer.getOffer */ export declare function getBaremetalOffer(args?: GetBaremetalOfferArgs, opts?: pulumi.InvokeOptions): Promise<GetBaremetalOfferResult>; /** * 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 cpu: outputs.GetBaremetalOfferCpu; /** * 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 [API documentation](https://developers.scaleway.com/en/products/baremetal/api). */ /** @deprecated scaleway.index/getbaremetaloffer.getBaremetalOffer has been deprecated in favor of scaleway.elasticmetal/getoffer.getOffer */ export declare function getBaremetalOfferOutput(args?: GetBaremetalOfferOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBaremetalOfferResult>; /** * A collection of arguments for invoking getBaremetalOffer. */ export interface GetBaremetalOfferOutputArgs { includeDisabled?: pulumi.Input<boolean>; /** * The offer name. Only one of `name` and `offerId` should be specified. */ name?: pulumi.Input<string>; /** * The offer id. Only one of `name` and `offerId` should be specified. */ offerId?: pulumi.Input<string>; /** * Period of subscription the desired offer. Should be `hourly` or `monthly`. */ subscriptionPeriod?: pulumi.Input<string>; /** * `zone`) The zone in which the offer should be created. */ zone?: pulumi.Input<string>; }