UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

44 lines 2.79 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.getFunctionNamespaceOutput = exports.getFunctionNamespace = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * The `scaleway.functions.Namespace` data source is used to retrieve information about a Serverless Functions namespace. * * Refer to the Serverless Functions [product documentation](https://www.scaleway.com/en/docs/serverless/functions/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-functions/) for more information. */ /** @deprecated scaleway.index/getfunctionnamespace.getFunctionNamespace has been deprecated in favor of scaleway.functions/getnamespace.getNamespace */ function getFunctionNamespace(args, opts) { pulumi.log.warn("getFunctionNamespace is deprecated: scaleway.index/getfunctionnamespace.getFunctionNamespace has been deprecated in favor of scaleway.functions/getnamespace.getNamespace"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:index/getFunctionNamespace:getFunctionNamespace", { "name": args.name, "namespaceId": args.namespaceId, "projectId": args.projectId, "region": args.region, }, opts); } exports.getFunctionNamespace = getFunctionNamespace; /** * The `scaleway.functions.Namespace` data source is used to retrieve information about a Serverless Functions namespace. * * Refer to the Serverless Functions [product documentation](https://www.scaleway.com/en/docs/serverless/functions/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-functions/) for more information. */ /** @deprecated scaleway.index/getfunctionnamespace.getFunctionNamespace has been deprecated in favor of scaleway.functions/getnamespace.getNamespace */ function getFunctionNamespaceOutput(args, opts) { pulumi.log.warn("getFunctionNamespace is deprecated: scaleway.index/getfunctionnamespace.getFunctionNamespace has been deprecated in favor of scaleway.functions/getnamespace.getNamespace"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scaleway:index/getFunctionNamespace:getFunctionNamespace", { "name": args.name, "namespaceId": args.namespaceId, "projectId": args.projectId, "region": args.region, }, opts); } exports.getFunctionNamespaceOutput = getFunctionNamespaceOutput; //# sourceMappingURL=getFunctionNamespace.js.map