UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

97 lines (96 loc) 2.6 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Gets information about a webhosting offer. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const byName = scaleway.getWebHostOffer({ * name: "performance", * }); * const byId = scaleway.getWebHostOffer({ * offerId: "de2426b4-a9e9-11ec-b909-0242ac120002", * }); * ``` */ export declare function getWebHostOffer(args?: GetWebHostOfferArgs, opts?: pulumi.InvokeOptions): Promise<GetWebHostOfferResult>; /** * A collection of arguments for invoking getWebHostOffer. */ export interface GetWebHostOfferArgs { /** * 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; /** * `region`) The region in which offer exists. */ region?: string; } /** * A collection of values returned by getWebHostOffer. */ export interface GetWebHostOfferResult { /** * The unique identifier used for billing. */ readonly billingOperationPath: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name?: string; readonly offerId?: string; /** * The offer price. */ readonly price: string; /** * The offer product. */ readonly products: outputs.GetWebHostOfferProduct[]; readonly region: string; } /** * Gets information about a webhosting offer. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const byName = scaleway.getWebHostOffer({ * name: "performance", * }); * const byId = scaleway.getWebHostOffer({ * offerId: "de2426b4-a9e9-11ec-b909-0242ac120002", * }); * ``` */ export declare function getWebHostOfferOutput(args?: GetWebHostOfferOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetWebHostOfferResult>; /** * A collection of arguments for invoking getWebHostOffer. */ export interface GetWebHostOfferOutputArgs { /** * 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>; /** * `region`) The region in which offer exists. */ region?: pulumi.Input<string>; }