import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * 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", * }); * ``` */ export declare function getServiceNowConnector(args: GetServiceNowConnectorArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getServiceNowConnector. */ export interface GetServiceNowConnectorArgs { /** * 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 getServiceNowConnector. */ export interface GetServiceNowConnectorResult { /** * The credentials to use for the service now authentication. */ readonly auths: outputs.platform.GetServiceNowConnectorAuth[]; /** * 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; /** * Reference to a secret containing the password to use for authentication. 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; /** * URL of service now. */ readonly serviceNowUrl: string; /** * Tags to associate with the resource. */ readonly tags: string[]; /** * Username to use for authentication. */ readonly username: string; /** * Reference to a secret containing the username to use for authentication. 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 usernameRef: string; } /** * 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", * }); * ``` */ export declare function getServiceNowConnectorOutput(args: GetServiceNowConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getServiceNowConnector. */ export interface GetServiceNowConnectorOutputArgs { /** * Unique identifier of the resource. */ identifier: pulumi.Input; /** * Name of the resource. */ name?: pulumi.Input; /** * Unique identifier of the organization. */ orgId?: pulumi.Input; /** * Unique identifier of the project. */ projectId?: pulumi.Input; } //# sourceMappingURL=getServiceNowConnector.d.ts.map