UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

68 lines 2.41 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.getMnqSqsOutput = exports.getMnqSqs = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Gets information about SQS for a Project * * ## Examples * * ### Basic * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * // For default project * const main = scaleway.mnq.getSqs({}); * // For specific project * const forProject = scaleway.mnq.getSqs({ * projectId: mainScalewayAccountProject.id, * }); * ``` */ /** @deprecated scaleway.index/getmnqsqs.getMnqSqs has been deprecated in favor of scaleway.mnq/getsqs.getSqs */ function getMnqSqs(args, opts) { pulumi.log.warn("getMnqSqs is deprecated: scaleway.index/getmnqsqs.getMnqSqs has been deprecated in favor of scaleway.mnq/getsqs.getSqs"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:index/getMnqSqs:getMnqSqs", { "projectId": args.projectId, "region": args.region, }, opts); } exports.getMnqSqs = getMnqSqs; /** * Gets information about SQS for a Project * * ## Examples * * ### Basic * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * // For default project * const main = scaleway.mnq.getSqs({}); * // For specific project * const forProject = scaleway.mnq.getSqs({ * projectId: mainScalewayAccountProject.id, * }); * ``` */ /** @deprecated scaleway.index/getmnqsqs.getMnqSqs has been deprecated in favor of scaleway.mnq/getsqs.getSqs */ function getMnqSqsOutput(args, opts) { pulumi.log.warn("getMnqSqs is deprecated: scaleway.index/getmnqsqs.getMnqSqs has been deprecated in favor of scaleway.mnq/getsqs.getSqs"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scaleway:index/getMnqSqs:getMnqSqs", { "projectId": args.projectId, "region": args.region, }, opts); } exports.getMnqSqsOutput = getMnqSqsOutput; //# sourceMappingURL=getMnqSqs.js.map