@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
40 lines • 2.17 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.getRegistryNamespaceOutput = exports.getRegistryNamespace = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Gets information about a registry namespace.
*/
/** @deprecated scaleway.index/getregistrynamespace.getRegistryNamespace has been deprecated in favor of scaleway.registry/getnamespace.getNamespace */
function getRegistryNamespace(args, opts) {
pulumi.log.warn("getRegistryNamespace is deprecated: scaleway.index/getregistrynamespace.getRegistryNamespace has been deprecated in favor of scaleway.registry/getnamespace.getNamespace");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scaleway:index/getRegistryNamespace:getRegistryNamespace", {
"name": args.name,
"namespaceId": args.namespaceId,
"projectId": args.projectId,
"region": args.region,
}, opts);
}
exports.getRegistryNamespace = getRegistryNamespace;
/**
* Gets information about a registry namespace.
*/
/** @deprecated scaleway.index/getregistrynamespace.getRegistryNamespace has been deprecated in favor of scaleway.registry/getnamespace.getNamespace */
function getRegistryNamespaceOutput(args, opts) {
pulumi.log.warn("getRegistryNamespace is deprecated: scaleway.index/getregistrynamespace.getRegistryNamespace has been deprecated in favor of scaleway.registry/getnamespace.getNamespace");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scaleway:index/getRegistryNamespace:getRegistryNamespace", {
"name": args.name,
"namespaceId": args.namespaceId,
"projectId": args.projectId,
"region": args.region,
}, opts);
}
exports.getRegistryNamespaceOutput = getRegistryNamespaceOutput;
//# sourceMappingURL=getRegistryNamespace.js.map