import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Sender resource in Oracle Cloud Infrastructure Email service. * * Gets an approved sender for a given `senderId`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSender = oci.email.getSender({ * senderId: testSenderOciEmailSender.id, * }); * ``` */ export declare function getSender(args: GetSenderArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSender. */ export interface GetSenderArgs { /** * The unique OCID of the sender. */ senderId: string; } /** * A collection of values returned by getSender. */ export interface GetSenderResult { /** * The lock compartment ID. */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * The email address of the sender. */ readonly emailAddress: string; /** * The email domain used to assert responsibility for emails sent from this sender. */ readonly emailDomainId: 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; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The unique OCID of the sender. */ readonly id: string; /** * Value of the SPF field. For more information about SPF, please see [SPF Authentication](https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm#components). */ readonly isSpf: boolean; /** * Locks associated with this resource. */ readonly locks: outputs.Email.GetSenderLock[]; readonly senderId: string; /** * The current status of the approved sender. */ readonly state: string; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The date and time the approved sender was added in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). */ readonly timeCreated: string; } /** * This data source provides details about a specific Sender resource in Oracle Cloud Infrastructure Email service. * * Gets an approved sender for a given `senderId`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSender = oci.email.getSender({ * senderId: testSenderOciEmailSender.id, * }); * ``` */ export declare function getSenderOutput(args: GetSenderOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSender. */ export interface GetSenderOutputArgs { /** * The unique OCID of the sender. */ senderId: pulumi.Input; } //# sourceMappingURL=getSender.d.ts.map