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