UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

127 lines (126 loc) 3.27 kB
import * as pulumi from "@pulumi/pulumi"; /** * Datasource for looking up a Splunk connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getSplunkConnector({ * identifier: "identifier", * }); * ``` */ export declare function getSplunkConnector(args: GetSplunkConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetSplunkConnectorResult>; /** * A collection of arguments for invoking getSplunkConnector. */ export interface GetSplunkConnectorArgs { /** * Unique identifier of the resource. */ identifier: string; /** * Name of the resource. */ name?: string; /** * Unique identifier of the organization. */ orgId?: string; /** * Unique identifier of the project. */ projectId?: string; } /** * A collection of values returned by getSplunkConnector. */ export interface GetSplunkConnectorResult { /** * Splunk account id. */ readonly accountId: string; /** * Tags to filter delegates for connection. */ readonly delegateSelectors: string[]; /** * Description of the resource. */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Unique identifier of the resource. */ readonly identifier: string; /** * Name of the resource. */ readonly name?: string; /** * Unique identifier of the organization. */ readonly orgId?: string; /** * The reference to the Harness secret containing the Splunk password. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}. */ readonly passwordRef: string; /** * Unique identifier of the project. */ readonly projectId?: string; /** * Tags to associate with the resource. */ readonly tags: string[]; /** * URL of the Splunk server. */ readonly url: string; /** * The username used for connecting to Splunk. */ readonly username: string; } /** * Datasource for looking up a Splunk connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getSplunkConnector({ * identifier: "identifier", * }); * ``` */ export declare function getSplunkConnectorOutput(args: GetSplunkConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSplunkConnectorResult>; /** * A collection of arguments for invoking getSplunkConnector. */ export interface GetSplunkConnectorOutputArgs { /** * Unique identifier of the resource. */ identifier: pulumi.Input<string>; /** * Name of the resource. */ name?: pulumi.Input<string>; /** * Unique identifier of the organization. */ orgId?: pulumi.Input<string>; /** * Unique identifier of the project. */ projectId?: pulumi.Input<string>; }