@pulumiverse/harbor
Version:
A Pulumi package for creating and managing Harbor resources.
32 lines • 1.16 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.getGroupsOutput = exports.getGroups = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* ## Example Usage
*/
function getGroups(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("harbor:index/getGroups:getGroups", {
"groupName": args.groupName,
"ldapGroupDn": args.ldapGroupDn,
}, opts);
}
exports.getGroups = getGroups;
/**
* ## Example Usage
*/
function getGroupsOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("harbor:index/getGroups:getGroups", {
"groupName": args.groupName,
"ldapGroupDn": args.ldapGroupDn,
}, opts);
}
exports.getGroupsOutput = getGroupsOutput;
//# sourceMappingURL=getGroups.js.map