UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

38 lines 1.89 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.getProjectOutput = exports.getProject = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * The `scaleway.account.Project` data source is used to retrieve information about a Scaleway project. * * Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information. */ function getProject(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:account/getProject:getProject", { "name": args.name, "organizationId": args.organizationId, "projectId": args.projectId, }, opts); } exports.getProject = getProject; /** * The `scaleway.account.Project` data source is used to retrieve information about a Scaleway project. * * Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information. */ function getProjectOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scaleway:account/getProject:getProject", { "name": args.name, "organizationId": args.organizationId, "projectId": args.projectId, }, opts); } exports.getProjectOutput = getProjectOutput; //# sourceMappingURL=getProject.js.map