UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

56 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.getContainerNamespaceOutput = exports.getContainerNamespace = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Gets information about a container namespace. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const byName = scaleway.getContainerNamespace({ * name: "my-namespace-name", * }); * const byId = scaleway.getContainerNamespace({ * namespaceId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ function getContainerNamespace(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:index/getContainerNamespace:getContainerNamespace", { "name": args.name, "namespaceId": args.namespaceId, "region": args.region, }, opts); } exports.getContainerNamespace = getContainerNamespace; /** * Gets information about a container namespace. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const byName = scaleway.getContainerNamespace({ * name: "my-namespace-name", * }); * const byId = scaleway.getContainerNamespace({ * namespaceId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ function getContainerNamespaceOutput(args, opts) { return pulumi.output(args).apply((a) => getContainerNamespace(a, opts)); } exports.getContainerNamespaceOutput = getContainerNamespaceOutput; //# sourceMappingURL=getContainerNamespace.js.map