import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data source for looking up a WinRM credential secret. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * // Data source to retrieve account level WinRM credential by identifier * const example = harness.platform.getSecretWinrm({ * identifier: "winrm_credential_id", * }); * // Data source to retrieve organization level WinRM credential * const orgExample = harness.platform.getSecretWinrm({ * identifier: "winrm_credential_id", * orgId: "org_identifier", * }); * // Data source to retrieve project level WinRM credential * const projectExample = harness.platform.getSecretWinrm({ * identifier: "winrm_credential_id", * orgId: "org_identifier", * projectId: "project_identifier", * }); * export const winrmPort = example.then(example => example.port); * export const winrmAuthType = example.then(example => example.ntlms).length.apply(length => length > 0 ? "NTLM" : "Kerberos"); * ``` */ export declare function getSecretWinrm(args: GetSecretWinrmArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSecretWinrm. */ export interface GetSecretWinrmArgs { /** * 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 getSecretWinrm. */ export interface GetSecretWinrmResult { /** * 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; /** * Kerberos authentication scheme */ readonly kerberos: outputs.platform.GetSecretWinrmKerbero[]; /** * Name of the resource. */ readonly name?: string; /** * NTLM authentication scheme */ readonly ntlms: outputs.platform.GetSecretWinrmNtlm[]; /** * Unique identifier of the organization. */ readonly orgId?: string; /** * WinRM port. Default is 5986 for HTTPS, 5985 for HTTP. */ readonly port: number; /** * Unique identifier of the project. */ readonly projectId?: string; /** * Tags to associate with the resource. */ readonly tags: string[]; } /** * Data source for looking up a WinRM credential secret. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * // Data source to retrieve account level WinRM credential by identifier * const example = harness.platform.getSecretWinrm({ * identifier: "winrm_credential_id", * }); * // Data source to retrieve organization level WinRM credential * const orgExample = harness.platform.getSecretWinrm({ * identifier: "winrm_credential_id", * orgId: "org_identifier", * }); * // Data source to retrieve project level WinRM credential * const projectExample = harness.platform.getSecretWinrm({ * identifier: "winrm_credential_id", * orgId: "org_identifier", * projectId: "project_identifier", * }); * export const winrmPort = example.then(example => example.port); * export const winrmAuthType = example.then(example => example.ntlms).length.apply(length => length > 0 ? "NTLM" : "Kerberos"); * ``` */ export declare function getSecretWinrmOutput(args: GetSecretWinrmOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSecretWinrm. */ export interface GetSecretWinrmOutputArgs { /** * 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=getSecretWinrm.d.ts.map