UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

54 lines 2 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getBaremetalOfferOutput = exports.getBaremetalOffer = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * 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", * }); * ``` */ function getBaremetalOffer(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:index/getBaremetalOffer:getBaremetalOffer", { "includeDisabled": args.includeDisabled, "name": args.name, "offerId": args.offerId, "subscriptionPeriod": args.subscriptionPeriod, "zone": args.zone, }, opts); } exports.getBaremetalOffer = getBaremetalOffer; /** * 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", * }); * ``` */ function getBaremetalOfferOutput(args, opts) { return pulumi.output(args).apply((a) => getBaremetalOffer(a, opts)); } exports.getBaremetalOfferOutput = getBaremetalOfferOutput; //# sourceMappingURL=getBaremetalOffer.js.map