@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
32 lines • 1.79 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.getDomainZoneOutput = exports.getDomainZone = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/** @deprecated scaleway.index/getdomainzone.getDomainZone has been deprecated in favor of scaleway.domain/getzone.getZone */
function getDomainZone(args, opts) {
pulumi.log.warn("getDomainZone is deprecated: scaleway.index/getdomainzone.getDomainZone has been deprecated in favor of scaleway.domain/getzone.getZone");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scaleway:index/getDomainZone:getDomainZone", {
"domain": args.domain,
"projectId": args.projectId,
"subdomain": args.subdomain,
}, opts);
}
exports.getDomainZone = getDomainZone;
/** @deprecated scaleway.index/getdomainzone.getDomainZone has been deprecated in favor of scaleway.domain/getzone.getZone */
function getDomainZoneOutput(args, opts) {
pulumi.log.warn("getDomainZone is deprecated: scaleway.index/getdomainzone.getDomainZone has been deprecated in favor of scaleway.domain/getzone.getZone");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scaleway:index/getDomainZone:getDomainZone", {
"domain": args.domain,
"projectId": args.projectId,
"subdomain": args.subdomain,
}, opts);
}
exports.getDomainZoneOutput = getDomainZoneOutput;
//# sourceMappingURL=getDomainZone.js.map