import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Dkim resource in Oracle Cloud Infrastructure Email service. * * Retrieves the specified DKIM. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDkim = oci.email.getDkim({ * dkimId: testDkimOciEmailDkim.id, * }); * ``` */ export declare function getDkim(args: GetDkimArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDkim. */ export interface GetDkimArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this DKIM. */ dkimId: string; } /** * A collection of values returned by getDkim. */ export interface GetDkimResult { /** * The DNS CNAME record value to provision to the DKIM DNS subdomain, when using the CNAME method for DKIM setup (preferred). */ readonly cnameRecordValue: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this DKIM. */ 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 description of the DKIM. Avoid entering confidential information. */ readonly description: string; readonly dkimId: string; /** * The name of the DNS subdomain that must be provisioned to enable email recipients to verify DKIM signatures. It is usually created with a CNAME record set to the cnameRecordValue. */ readonly dnsSubdomainName: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email domain that this DKIM belongs to. */ readonly emailDomainId: 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DKIM. */ readonly id: string; /** * Indicates whether the DKIM was imported. */ readonly isImported: boolean; /** * Length of the RSA key used in the DKIM. */ readonly keyLength: number; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource. */ readonly lifecycleDetails: string; /** * The DKIM selector. If the same domain is managed in more than one region, each region must use different selectors. */ readonly name: string; readonly privateKey: string; /** * The current state of the DKIM. */ 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 time the DKIM was created. Times are expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, "YYYY-MM-ddThh:mmZ". Example: `2021-02-12T22:47:12.613Z` */ readonly timeCreated: string; /** * The time of the last change to the DKIM configuration, due to a state change or an update operation. Times are expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, "YYYY-MM-ddThh:mmZ". */ readonly timeUpdated: string; /** * The DNS TXT record value to provision to the DKIM DNS subdomain in place of using a CNAME record. This is used in cases where a CNAME cannot be used, such as when the cnameRecordValue would exceed the maximum length for a DNS entry. You can also use this if you have an existing procedure to directly provision TXT records for DKIM. Many DNS APIs require you to break this string into segments of fewer than 255 characters. */ readonly txtRecordValue: string; } /** * This data source provides details about a specific Dkim resource in Oracle Cloud Infrastructure Email service. * * Retrieves the specified DKIM. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDkim = oci.email.getDkim({ * dkimId: testDkimOciEmailDkim.id, * }); * ``` */ export declare function getDkimOutput(args: GetDkimOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDkim. */ export interface GetDkimOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this DKIM. */ dkimId: pulumi.Input; } //# sourceMappingURL=getDkim.d.ts.map