@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
50 lines • 1.65 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.getDockerConnectorOutput = exports.getDockerConnector = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Datasource for looking up a Datadog connector.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getDockerConnector({
* identifier: "identifier",
* });
* ```
*/
function getDockerConnector(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("harness:platform/getDockerConnector:getDockerConnector", {
"identifier": args.identifier,
"name": args.name,
"orgId": args.orgId,
"projectId": args.projectId,
}, opts);
}
exports.getDockerConnector = getDockerConnector;
/**
* Datasource for looking up a Datadog connector.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getDockerConnector({
* identifier: "identifier",
* });
* ```
*/
function getDockerConnectorOutput(args, opts) {
return pulumi.output(args).apply((a) => getDockerConnector(a, opts));
}
exports.getDockerConnectorOutput = getDockerConnectorOutput;
//# sourceMappingURL=getDockerConnector.js.map