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 Senders in Oracle Cloud Infrastructure Email service. * * Gets a collection of approved sender email addresses and sender IDs. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSenders = oci.email.getSenders({ * compartmentId: compartmentId, * domain: senderDomain, * emailAddress: senderEmailAddress, * emailIpPoolId: testEmailIpPool.id, * state: senderState, * }); * ``` */ export declare function getSenders(args: GetSendersArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSenders. */ export interface GetSendersArgs { /** * The OCID for the compartment. */ compartmentId: string; /** * A filter to only return resources that match the given domain exactly. */ domain?: string; /** * The email address of the approved sender. */ emailAddress?: string; /** * A filter to only return resources that match the given IpPool resource exactly. */ emailIpPoolId?: string; filters?: inputs.Email.GetSendersFilter[]; /** * The current state of a sender. */ state?: string; } /** * A collection of values returned by getSenders. */ export interface GetSendersResult { /** * The lock compartment ID. */ readonly compartmentId: string; readonly domain?: string; /** * The email address of the sender. */ readonly emailAddress?: string; /** * The IpPool [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used to submit an email by Email Delivery when sent from this sender. */ readonly emailIpPoolId?: string; readonly filters?: outputs.Email.GetSendersFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of senders. */ readonly senders: outputs.Email.GetSendersSender[]; /** * The current status of the approved sender. */ readonly state?: string; } /** * This data source provides the list of Senders in Oracle Cloud Infrastructure Email service. * * Gets a collection of approved sender email addresses and sender IDs. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSenders = oci.email.getSenders({ * compartmentId: compartmentId, * domain: senderDomain, * emailAddress: senderEmailAddress, * emailIpPoolId: testEmailIpPool.id, * state: senderState, * }); * ``` */ export declare function getSendersOutput(args: GetSendersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSenders. */ export interface GetSendersOutputArgs { /** * The OCID for the compartment. */ compartmentId: pulumi.Input; /** * A filter to only return resources that match the given domain exactly. */ domain?: pulumi.Input; /** * The email address of the approved sender. */ emailAddress?: pulumi.Input; /** * A filter to only return resources that match the given IpPool resource exactly. */ emailIpPoolId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The current state of a sender. */ state?: pulumi.Input; } //# sourceMappingURL=getSenders.d.ts.map