UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

56 lines 1.84 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getSpotConnectorOutput = exports.getSpotConnector = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Datasource for looking up an Spot connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getSpotConnector({ * identifier: "identifier", * }); * ``` */ function getSpotConnector(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("harness:platform/getSpotConnector:getSpotConnector", { "identifier": args.identifier, "name": args.name, "orgId": args.orgId, "projectId": args.projectId, }, opts); } exports.getSpotConnector = getSpotConnector; /** * Datasource for looking up an Spot connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getSpotConnector({ * identifier: "identifier", * }); * ``` */ function getSpotConnectorOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("harness:platform/getSpotConnector:getSpotConnector", { "identifier": args.identifier, "name": args.name, "orgId": args.orgId, "projectId": args.projectId, }, opts); } exports.getSpotConnectorOutput = getSpotConnectorOutput; //# sourceMappingURL=getSpotConnector.js.map