import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Smtp Credentials in Oracle Cloud Infrastructure Identity service. * * Lists the SMTP credentials for the specified user. The returned object contains the credential's OCID, * the SMTP user name but not the SMTP password. The SMTP password is returned only upon creation. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSmtpCredentials = oci.identity.getSmtpCredentials({ * userId: testUser.id, * }); * ``` */ export declare function getSmtpCredentials(args: GetSmtpCredentialsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSmtpCredentials. */ export interface GetSmtpCredentialsArgs { filters?: inputs.Identity.GetSmtpCredentialsFilter[]; /** * The OCID of the user. */ userId: string; } /** * A collection of values returned by getSmtpCredentials. */ export interface GetSmtpCredentialsResult { readonly filters?: outputs.Identity.GetSmtpCredentialsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of smtp_credentials. */ readonly smtpCredentials: outputs.Identity.GetSmtpCredentialsSmtpCredential[]; /** * The OCID of the user the SMTP credential belongs to. */ readonly userId: string; } /** * This data source provides the list of Smtp Credentials in Oracle Cloud Infrastructure Identity service. * * Lists the SMTP credentials for the specified user. The returned object contains the credential's OCID, * the SMTP user name but not the SMTP password. The SMTP password is returned only upon creation. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSmtpCredentials = oci.identity.getSmtpCredentials({ * userId: testUser.id, * }); * ``` */ export declare function getSmtpCredentialsOutput(args: GetSmtpCredentialsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSmtpCredentials. */ export interface GetSmtpCredentialsOutputArgs { filters?: pulumi.Input[] | undefined>; /** * The OCID of the user. */ userId: pulumi.Input; } //# sourceMappingURL=getSmtpCredentials.d.ts.map