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 Email Domains in Oracle Cloud Infrastructure Email service. * * Lists email domains in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testEmailDomains = oci.email.getEmailDomains({ * compartmentId: compartmentId, * id: emailDomainId, * name: emailDomainName, * state: emailDomainState, * }); * ``` */ export declare function getEmailDomains(args: GetEmailDomainsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getEmailDomains. */ export interface GetEmailDomainsArgs { /** * The OCID for the compartment. */ compartmentId: string; filters?: inputs.Email.GetEmailDomainsFilter[]; /** * A filter to only return resources that match the given id exactly. */ id?: string; /** * A filter to only return resources that match the given name exactly. */ name?: string; /** * Filter returned list by specified lifecycle state. This parameter is case-insensitive. */ state?: string; } /** * A collection of values returned by getEmailDomains. */ export interface GetEmailDomainsResult { /** * The lock compartment ID. */ readonly compartmentId: string; /** * The list of email_domain_collection. */ readonly emailDomainCollections: outputs.Email.GetEmailDomainsEmailDomainCollection[]; readonly filters?: outputs.Email.GetEmailDomainsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email domain. */ readonly id?: string; /** * The name of the email domain in the Internet Domain Name System (DNS). Example: `mydomain.example.com` */ readonly name?: string; /** * The current state of the email domain. */ readonly state?: string; } /** * This data source provides the list of Email Domains in Oracle Cloud Infrastructure Email service. * * Lists email domains in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testEmailDomains = oci.email.getEmailDomains({ * compartmentId: compartmentId, * id: emailDomainId, * name: emailDomainName, * state: emailDomainState, * }); * ``` */ export declare function getEmailDomainsOutput(args: GetEmailDomainsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getEmailDomains. */ export interface GetEmailDomainsOutputArgs { /** * The OCID for the compartment. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to only return resources that match the given id exactly. */ id?: pulumi.Input; /** * A filter to only return resources that match the given name exactly. */ name?: pulumi.Input; /** * Filter returned list by specified lifecycle state. This parameter is case-insensitive. */ state?: pulumi.Input; } //# sourceMappingURL=getEmailDomains.d.ts.map