UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

55 lines 1.84 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.getRegistryImageOutput = exports.getRegistryImage = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Gets information about a registry image. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myImage = scaleway.getRegistryImage({ * imageId: "11111111-1111-1111-1111-111111111111", * namespaceId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ function getRegistryImage(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:index/getRegistryImage:getRegistryImage", { "imageId": args.imageId, "name": args.name, "namespaceId": args.namespaceId, "projectId": args.projectId, "region": args.region, "tags": args.tags, }, opts); } exports.getRegistryImage = getRegistryImage; /** * Gets information about a registry image. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myImage = scaleway.getRegistryImage({ * imageId: "11111111-1111-1111-1111-111111111111", * namespaceId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ function getRegistryImageOutput(args, opts) { return pulumi.output(args).apply((a) => getRegistryImage(a, opts)); } exports.getRegistryImageOutput = getRegistryImageOutput; //# sourceMappingURL=getRegistryImage.js.map