import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Instance Credential resource in Oracle Cloud Infrastructure Core service. * * Gets the generated credentials for the instance. Only works for instances that require a password to log in, such as Windows. * For certain operating systems, users will be forced to change the initial credentials. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInstanceCredential = oci.core.getInstanceCredentials({ * instanceId: testInstance.id, * }); * ``` */ export declare function getInstanceCredentials(args: GetInstanceCredentialsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getInstanceCredentials. */ export interface GetInstanceCredentialsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. */ instanceId: string; } /** * A collection of values returned by getInstanceCredentials. */ export interface GetInstanceCredentialsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceId: string; /** * The password for the username. */ readonly password: string; /** * The username. */ readonly username: string; } /** * This data source provides details about a specific Instance Credential resource in Oracle Cloud Infrastructure Core service. * * Gets the generated credentials for the instance. Only works for instances that require a password to log in, such as Windows. * For certain operating systems, users will be forced to change the initial credentials. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInstanceCredential = oci.core.getInstanceCredentials({ * instanceId: testInstance.id, * }); * ``` */ export declare function getInstanceCredentialsOutput(args: GetInstanceCredentialsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getInstanceCredentials. */ export interface GetInstanceCredentialsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. */ instanceId: pulumi.Input; } //# sourceMappingURL=getInstanceCredentials.d.ts.map