UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

42 lines 2.62 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.getAccountProjectOutput = exports.getAccountProject = 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. */ /** @deprecated scaleway.index/getaccountproject.getAccountProject has been deprecated in favor of scaleway.account/getproject.getProject */ function getAccountProject(args, opts) { pulumi.log.warn("getAccountProject is deprecated: scaleway.index/getaccountproject.getAccountProject has been deprecated in favor of scaleway.account/getproject.getProject"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:index/getAccountProject:getAccountProject", { "name": args.name, "organizationId": args.organizationId, "projectId": args.projectId, }, opts); } exports.getAccountProject = getAccountProject; /** * 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. */ /** @deprecated scaleway.index/getaccountproject.getAccountProject has been deprecated in favor of scaleway.account/getproject.getProject */ function getAccountProjectOutput(args, opts) { pulumi.log.warn("getAccountProject is deprecated: scaleway.index/getaccountproject.getAccountProject has been deprecated in favor of scaleway.account/getproject.getProject"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scaleway:index/getAccountProject:getAccountProject", { "name": args.name, "organizationId": args.organizationId, "projectId": args.projectId, }, opts); } exports.getAccountProjectOutput = getAccountProjectOutput; //# sourceMappingURL=getAccountProject.js.map