UNPKG

@lbrlabs/pulumi-harness

Version:

A Pulumi package for creating and managing Harness resources.

56 lines 1.95 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.getFiltersOutput = exports.getFilters = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Data source for retrieving a Harness Filter. This data source allow to fetch filters of types {Connector, DelegateProfile, Delegate, EnvironmentGroup, FileStore, Environment} * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const test = harness.platform.getFilters({ * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * type: "Connector", * }); * ``` */ function getFilters(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("harness:platform/getFilters:getFilters", { "identifier": args.identifier, "orgId": args.orgId, "projectId": args.projectId, "type": args.type, }, opts); } exports.getFilters = getFilters; /** * Data source for retrieving a Harness Filter. This data source allow to fetch filters of types {Connector, DelegateProfile, Delegate, EnvironmentGroup, FileStore, Environment} * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const test = harness.platform.getFilters({ * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * type: "Connector", * }); * ``` */ function getFiltersOutput(args, opts) { return pulumi.output(args).apply((a) => getFilters(a, opts)); } exports.getFiltersOutput = getFiltersOutput; //# sourceMappingURL=getFilters.js.map