import * as pulumi from "@pulumi/pulumi"; /** * Describes the SSH config from a Karbon Cluster * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // Get ssh credentials by cluster UUID * const sshbyid = nutanix.getKarbonClusterSsh({ * karbonClusterId: "", * }); * // Get ssh credentials by cluster name * const sshbyname = nutanix.getKarbonClusterSsh({ * karbonClusterName: "", * }); * ``` * */ export declare function getKarbonClusterSsh(args?: GetKarbonClusterSshArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getKarbonClusterSsh. */ export interface GetKarbonClusterSshArgs { /** * Represents karbon cluster uuid */ karbonClusterId?: string; /** * Represents the name of karbon cluster */ karbonClusterName?: string; } /** * A collection of values returned by getKarbonClusterSsh. */ export interface GetKarbonClusterSshResult { /** * Certificate of the user for SSH access. */ readonly certificate: string; /** * Timestamp of certificate expiry in the ISO 8601 format (YYYY-MM-DDThh:mm:ss.sssZ). */ readonly expiryTime: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly karbonClusterId?: string; readonly karbonClusterName?: string; /** * The private key of the user for SSH access. */ readonly privateKey: string; /** * The username for which credentials are returned. */ readonly username: string; } /** * Describes the SSH config from a Karbon Cluster * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // Get ssh credentials by cluster UUID * const sshbyid = nutanix.getKarbonClusterSsh({ * karbonClusterId: "", * }); * // Get ssh credentials by cluster name * const sshbyname = nutanix.getKarbonClusterSsh({ * karbonClusterName: "", * }); * ``` * */ export declare function getKarbonClusterSshOutput(args?: GetKarbonClusterSshOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getKarbonClusterSsh. */ export interface GetKarbonClusterSshOutputArgs { /** * Represents karbon cluster uuid */ karbonClusterId?: pulumi.Input; /** * Represents the name of karbon cluster */ karbonClusterName?: pulumi.Input; } //# sourceMappingURL=getKarbonClusterSsh.d.ts.map