@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
42 lines • 2.41 kB
JavaScript
;
// *** 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 [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 */
function getBaremetalOffer(args, opts) {
pulumi.log.warn("getBaremetalOffer is deprecated: scaleway.index/getbaremetaloffer.getBaremetalOffer has been deprecated in favor of scaleway.elasticmetal/getoffer.getOffer");
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 [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 */
function getBaremetalOfferOutput(args, opts) {
pulumi.log.warn("getBaremetalOffer is deprecated: scaleway.index/getbaremetaloffer.getBaremetalOffer has been deprecated in favor of scaleway.elasticmetal/getoffer.getOffer");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scaleway:index/getBaremetalOffer:getBaremetalOffer", {
"includeDisabled": args.includeDisabled,
"name": args.name,
"offerId": args.offerId,
"subscriptionPeriod": args.subscriptionPeriod,
"zone": args.zone,
}, opts);
}
exports.getBaremetalOfferOutput = getBaremetalOfferOutput;
//# sourceMappingURL=getBaremetalOffer.js.map