@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
40 lines • 2 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.getNamespaceOutput = exports.getNamespace = 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.
*/
function getNamespace(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scaleway:functions/getNamespace:getNamespace", {
"name": args.name,
"namespaceId": args.namespaceId,
"projectId": args.projectId,
"region": args.region,
}, opts);
}
exports.getNamespace = getNamespace;
/**
* 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.
*/
function getNamespaceOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scaleway:functions/getNamespace:getNamespace", {
"name": args.name,
"namespaceId": args.namespaceId,
"projectId": args.projectId,
"region": args.region,
}, opts);
}
exports.getNamespaceOutput = getNamespaceOutput;
//# sourceMappingURL=getNamespace.js.map