email

package
v2.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dkim

type Dkim struct {
	pulumi.CustomResourceState

	// The DNS CNAME record value to provision to the DKIM DNS subdomain, when using the CNAME method for DKIM setup (preferred).
	CnameRecordValue pulumi.StringOutput `pulumi:"cnameRecordValue"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this DKIM.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) 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"}`
	DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"`
	// (Updatable) A string that describes the details about the DKIM. It does not have to be unique, and you can change it. Avoid entering confidential information.
	Description pulumi.StringOutput `pulumi:"description"`
	// 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
	DnsSubdomainName pulumi.StringOutput `pulumi:"dnsSubdomainName"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the EmailDomain for this DKIM.
	EmailDomainId pulumi.StringOutput `pulumi:"emailDomainId"`
	// (Updatable) 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"}`
	FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"`
	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource.
	LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"`
	// The DKIM selector. This selector is required to be globally unique for this email domain. If you do not provide the selector, we will generate one for you. If you do provide the selector, we suggest adding a short region indicator to differentiate from your signing of emails in other regions you might be subscribed to. Selectors limited to ASCII characters can use alphanumeric, dash ("-"), and dot (".") characters. Non-ASCII selector names should adopt IDNA2008 normalization (RFC 5891-5892).
	//
	// Avoid entering confidential information.
	//
	// Example: `mydomain-phx-20210228`
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Name pulumi.StringOutput `pulumi:"name"`
	// The current state of the DKIM.
	State pulumi.StringOutput `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.StringMapOutput `pulumi:"systemTags"`
	// 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`
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// 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".
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
	// 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.
	TxtRecordValue pulumi.StringOutput `pulumi:"txtRecordValue"`
}

This resource provides the Dkim resource in Oracle Cloud Infrastructure Email service.

Creates a new DKIM for an email domain. This DKIM signs all approved senders in the tenancy that are in this email domain. Best security practices indicate to periodically rotate the DKIM that is doing the signing. When a second DKIM is applied, all senders seamlessly pick up the new key without interruption in signing.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Email"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.NewDkim(ctx, "test_dkim", &Email.DkimArgs{
			EmailDomainId: pulumi.Any(testEmailDomain.Id),
			DefinedTags: pulumi.StringMap{
				"Operations.CostCenter": pulumi.String("42"),
			},
			Description: pulumi.Any(dkimDescription),
			FreeformTags: pulumi.StringMap{
				"Department": pulumi.String("Finance"),
			},
			Name: pulumi.Any(dkimName),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Dkims can be imported using the `id`, e.g.

```sh $ pulumi import oci:Email/dkim:Dkim test_dkim "id" ```

func GetDkim

func GetDkim(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DkimState, opts ...pulumi.ResourceOption) (*Dkim, error)

GetDkim gets an existing Dkim resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDkim

func NewDkim(ctx *pulumi.Context,
	name string, args *DkimArgs, opts ...pulumi.ResourceOption) (*Dkim, error)

NewDkim registers a new resource with the given unique name, arguments, and options.

func (*Dkim) ElementType

func (*Dkim) ElementType() reflect.Type

func (*Dkim) ToDkimOutput

func (i *Dkim) ToDkimOutput() DkimOutput

func (*Dkim) ToDkimOutputWithContext

func (i *Dkim) ToDkimOutputWithContext(ctx context.Context) DkimOutput

type DkimArgs

type DkimArgs struct {
	// (Updatable) 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"}`
	DefinedTags pulumi.StringMapInput
	// (Updatable) A string that describes the details about the DKIM. It does not have to be unique, and you can change it. Avoid entering confidential information.
	Description pulumi.StringPtrInput
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the EmailDomain for this DKIM.
	EmailDomainId pulumi.StringInput
	// (Updatable) 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"}`
	FreeformTags pulumi.StringMapInput
	// The DKIM selector. This selector is required to be globally unique for this email domain. If you do not provide the selector, we will generate one for you. If you do provide the selector, we suggest adding a short region indicator to differentiate from your signing of emails in other regions you might be subscribed to. Selectors limited to ASCII characters can use alphanumeric, dash ("-"), and dot (".") characters. Non-ASCII selector names should adopt IDNA2008 normalization (RFC 5891-5892).
	//
	// Avoid entering confidential information.
	//
	// Example: `mydomain-phx-20210228`
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a Dkim resource.

func (DkimArgs) ElementType

func (DkimArgs) ElementType() reflect.Type

type DkimArray

type DkimArray []DkimInput

func (DkimArray) ElementType

func (DkimArray) ElementType() reflect.Type

func (DkimArray) ToDkimArrayOutput

func (i DkimArray) ToDkimArrayOutput() DkimArrayOutput

func (DkimArray) ToDkimArrayOutputWithContext

func (i DkimArray) ToDkimArrayOutputWithContext(ctx context.Context) DkimArrayOutput

type DkimArrayInput

type DkimArrayInput interface {
	pulumi.Input

	ToDkimArrayOutput() DkimArrayOutput
	ToDkimArrayOutputWithContext(context.Context) DkimArrayOutput
}

DkimArrayInput is an input type that accepts DkimArray and DkimArrayOutput values. You can construct a concrete instance of `DkimArrayInput` via:

DkimArray{ DkimArgs{...} }

type DkimArrayOutput

type DkimArrayOutput struct{ *pulumi.OutputState }

func (DkimArrayOutput) ElementType

func (DkimArrayOutput) ElementType() reflect.Type

func (DkimArrayOutput) Index

func (DkimArrayOutput) ToDkimArrayOutput

func (o DkimArrayOutput) ToDkimArrayOutput() DkimArrayOutput

func (DkimArrayOutput) ToDkimArrayOutputWithContext

func (o DkimArrayOutput) ToDkimArrayOutputWithContext(ctx context.Context) DkimArrayOutput

type DkimInput

type DkimInput interface {
	pulumi.Input

	ToDkimOutput() DkimOutput
	ToDkimOutputWithContext(ctx context.Context) DkimOutput
}

type DkimMap

type DkimMap map[string]DkimInput

func (DkimMap) ElementType

func (DkimMap) ElementType() reflect.Type

func (DkimMap) ToDkimMapOutput

func (i DkimMap) ToDkimMapOutput() DkimMapOutput

func (DkimMap) ToDkimMapOutputWithContext

func (i DkimMap) ToDkimMapOutputWithContext(ctx context.Context) DkimMapOutput

type DkimMapInput

type DkimMapInput interface {
	pulumi.Input

	ToDkimMapOutput() DkimMapOutput
	ToDkimMapOutputWithContext(context.Context) DkimMapOutput
}

DkimMapInput is an input type that accepts DkimMap and DkimMapOutput values. You can construct a concrete instance of `DkimMapInput` via:

DkimMap{ "key": DkimArgs{...} }

type DkimMapOutput

type DkimMapOutput struct{ *pulumi.OutputState }

func (DkimMapOutput) ElementType

func (DkimMapOutput) ElementType() reflect.Type

func (DkimMapOutput) MapIndex

func (DkimMapOutput) ToDkimMapOutput

func (o DkimMapOutput) ToDkimMapOutput() DkimMapOutput

func (DkimMapOutput) ToDkimMapOutputWithContext

func (o DkimMapOutput) ToDkimMapOutputWithContext(ctx context.Context) DkimMapOutput

type DkimOutput

type DkimOutput struct{ *pulumi.OutputState }

func (DkimOutput) CnameRecordValue

func (o DkimOutput) CnameRecordValue() pulumi.StringOutput

The DNS CNAME record value to provision to the DKIM DNS subdomain, when using the CNAME method for DKIM setup (preferred).

func (DkimOutput) CompartmentId

func (o DkimOutput) CompartmentId() pulumi.StringOutput

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this DKIM.

func (DkimOutput) DefinedTags

func (o DkimOutput) DefinedTags() pulumi.StringMapOutput

(Updatable) 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"}`

func (DkimOutput) Description

func (o DkimOutput) Description() pulumi.StringOutput

(Updatable) A string that describes the details about the DKIM. It does not have to be unique, and you can change it. Avoid entering confidential information.

func (DkimOutput) DnsSubdomainName

func (o DkimOutput) DnsSubdomainName() pulumi.StringOutput

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

func (DkimOutput) ElementType

func (DkimOutput) ElementType() reflect.Type

func (DkimOutput) EmailDomainId

func (o DkimOutput) EmailDomainId() pulumi.StringOutput

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the EmailDomain for this DKIM.

func (DkimOutput) FreeformTags

func (o DkimOutput) FreeformTags() pulumi.StringMapOutput

(Updatable) 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"}`

func (DkimOutput) LifecycleDetails

func (o DkimOutput) LifecycleDetails() pulumi.StringOutput

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource.

func (DkimOutput) Name

func (o DkimOutput) Name() pulumi.StringOutput

The DKIM selector. This selector is required to be globally unique for this email domain. If you do not provide the selector, we will generate one for you. If you do provide the selector, we suggest adding a short region indicator to differentiate from your signing of emails in other regions you might be subscribed to. Selectors limited to ASCII characters can use alphanumeric, dash ("-"), and dot (".") characters. Non-ASCII selector names should adopt IDNA2008 normalization (RFC 5891-5892).

Avoid entering confidential information.

Example: `mydomain-phx-20210228`

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

func (DkimOutput) State

func (o DkimOutput) State() pulumi.StringOutput

The current state of the DKIM.

func (DkimOutput) SystemTags

func (o DkimOutput) SystemTags() pulumi.StringMapOutput

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (DkimOutput) TimeCreated

func (o DkimOutput) TimeCreated() pulumi.StringOutput

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`

func (DkimOutput) TimeUpdated

func (o DkimOutput) TimeUpdated() pulumi.StringOutput

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".

func (DkimOutput) ToDkimOutput

func (o DkimOutput) ToDkimOutput() DkimOutput

func (DkimOutput) ToDkimOutputWithContext

func (o DkimOutput) ToDkimOutputWithContext(ctx context.Context) DkimOutput

func (DkimOutput) TxtRecordValue

func (o DkimOutput) TxtRecordValue() pulumi.StringOutput

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.

type DkimState

type DkimState struct {
	// The DNS CNAME record value to provision to the DKIM DNS subdomain, when using the CNAME method for DKIM setup (preferred).
	CnameRecordValue pulumi.StringPtrInput
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this DKIM.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) 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"}`
	DefinedTags pulumi.StringMapInput
	// (Updatable) A string that describes the details about the DKIM. It does not have to be unique, and you can change it. Avoid entering confidential information.
	Description pulumi.StringPtrInput
	// 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
	DnsSubdomainName pulumi.StringPtrInput
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the EmailDomain for this DKIM.
	EmailDomainId pulumi.StringPtrInput
	// (Updatable) 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"}`
	FreeformTags pulumi.StringMapInput
	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource.
	LifecycleDetails pulumi.StringPtrInput
	// The DKIM selector. This selector is required to be globally unique for this email domain. If you do not provide the selector, we will generate one for you. If you do provide the selector, we suggest adding a short region indicator to differentiate from your signing of emails in other regions you might be subscribed to. Selectors limited to ASCII characters can use alphanumeric, dash ("-"), and dot (".") characters. Non-ASCII selector names should adopt IDNA2008 normalization (RFC 5891-5892).
	//
	// Avoid entering confidential information.
	//
	// Example: `mydomain-phx-20210228`
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Name pulumi.StringPtrInput
	// The current state of the DKIM.
	State pulumi.StringPtrInput
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.StringMapInput
	// 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`
	TimeCreated pulumi.StringPtrInput
	// 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".
	TimeUpdated pulumi.StringPtrInput
	// 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.
	TxtRecordValue pulumi.StringPtrInput
}

func (DkimState) ElementType

func (DkimState) ElementType() reflect.Type

type EmailDomain

type EmailDomain struct {
	pulumi.CustomResourceState

	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DKIM key that will be used to sign mail sent from this email domain.
	ActiveDkimId pulumi.StringOutput `pulumi:"activeDkimId"`
	// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for this email domain.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) 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"}`
	DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"`
	// (Updatable) A string that describes the details about the domain. It does not have to be unique, and you can change it. Avoid entering confidential information.
	Description pulumi.StringOutput `pulumi:"description"`
	// (Updatable) Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
	DomainVerificationId pulumi.StringOutput `pulumi:"domainVerificationId"`
	// The current domain verification status.
	DomainVerificationStatus pulumi.StringOutput `pulumi:"domainVerificationStatus"`
	// (Updatable) 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"}`
	FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"`
	// 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).
	IsSpf pulumi.BoolOutput `pulumi:"isSpf"`
	// The name of the email domain in the Internet Domain Name System (DNS). The email domain name must be unique in the region for this tenancy. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. For details, see [RFC 5321, section 4.1.2](https://tools.ietf.org/html/rfc5321#section-4.1.2) Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Name pulumi.StringOutput `pulumi:"name"`
	// The current state of the email domain.
	State pulumi.StringOutput `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.StringMapOutput `pulumi:"systemTags"`
	// The time the email domain was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, "YYYY-MM-ddThh:mmZ".  Example: `2021-02-12T22:47:12.613Z`
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
}

This resource provides the Email Domain resource in Oracle Cloud Infrastructure Email service.

Creates a new email domain. Avoid entering confidential information.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Email"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.NewEmailDomain(ctx, "test_email_domain", &Email.EmailDomainArgs{
			CompartmentId: pulumi.Any(compartmentId),
			Name:          pulumi.Any(emailDomainName),
			DefinedTags: pulumi.StringMap{
				"Operations.CostCenter": pulumi.String("42"),
			},
			Description:          pulumi.Any(emailDomainDescription),
			DomainVerificationId: pulumi.Any(testDomainVerification.Id),
			FreeformTags: pulumi.StringMap{
				"Department": pulumi.String("Finance"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

EmailDomains can be imported using the `id`, e.g.

```sh $ pulumi import oci:Email/emailDomain:EmailDomain test_email_domain "id" ```

func GetEmailDomain

func GetEmailDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EmailDomainState, opts ...pulumi.ResourceOption) (*EmailDomain, error)

GetEmailDomain gets an existing EmailDomain resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEmailDomain

func NewEmailDomain(ctx *pulumi.Context,
	name string, args *EmailDomainArgs, opts ...pulumi.ResourceOption) (*EmailDomain, error)

NewEmailDomain registers a new resource with the given unique name, arguments, and options.

func (*EmailDomain) ElementType

func (*EmailDomain) ElementType() reflect.Type

func (*EmailDomain) ToEmailDomainOutput

func (i *EmailDomain) ToEmailDomainOutput() EmailDomainOutput

func (*EmailDomain) ToEmailDomainOutputWithContext

func (i *EmailDomain) ToEmailDomainOutputWithContext(ctx context.Context) EmailDomainOutput

type EmailDomainArgs

type EmailDomainArgs struct {
	// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for this email domain.
	CompartmentId pulumi.StringInput
	// (Updatable) 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"}`
	DefinedTags pulumi.StringMapInput
	// (Updatable) A string that describes the details about the domain. It does not have to be unique, and you can change it. Avoid entering confidential information.
	Description pulumi.StringPtrInput
	// (Updatable) Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
	DomainVerificationId pulumi.StringPtrInput
	// (Updatable) 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"}`
	FreeformTags pulumi.StringMapInput
	// The name of the email domain in the Internet Domain Name System (DNS). The email domain name must be unique in the region for this tenancy. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. For details, see [RFC 5321, section 4.1.2](https://tools.ietf.org/html/rfc5321#section-4.1.2) Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a EmailDomain resource.

func (EmailDomainArgs) ElementType

func (EmailDomainArgs) ElementType() reflect.Type

type EmailDomainArray

type EmailDomainArray []EmailDomainInput

func (EmailDomainArray) ElementType

func (EmailDomainArray) ElementType() reflect.Type

func (EmailDomainArray) ToEmailDomainArrayOutput

func (i EmailDomainArray) ToEmailDomainArrayOutput() EmailDomainArrayOutput

func (EmailDomainArray) ToEmailDomainArrayOutputWithContext

func (i EmailDomainArray) ToEmailDomainArrayOutputWithContext(ctx context.Context) EmailDomainArrayOutput

type EmailDomainArrayInput

type EmailDomainArrayInput interface {
	pulumi.Input

	ToEmailDomainArrayOutput() EmailDomainArrayOutput
	ToEmailDomainArrayOutputWithContext(context.Context) EmailDomainArrayOutput
}

EmailDomainArrayInput is an input type that accepts EmailDomainArray and EmailDomainArrayOutput values. You can construct a concrete instance of `EmailDomainArrayInput` via:

EmailDomainArray{ EmailDomainArgs{...} }

type EmailDomainArrayOutput

type EmailDomainArrayOutput struct{ *pulumi.OutputState }

func (EmailDomainArrayOutput) ElementType

func (EmailDomainArrayOutput) ElementType() reflect.Type

func (EmailDomainArrayOutput) Index

func (EmailDomainArrayOutput) ToEmailDomainArrayOutput

func (o EmailDomainArrayOutput) ToEmailDomainArrayOutput() EmailDomainArrayOutput

func (EmailDomainArrayOutput) ToEmailDomainArrayOutputWithContext

func (o EmailDomainArrayOutput) ToEmailDomainArrayOutputWithContext(ctx context.Context) EmailDomainArrayOutput

type EmailDomainInput

type EmailDomainInput interface {
	pulumi.Input

	ToEmailDomainOutput() EmailDomainOutput
	ToEmailDomainOutputWithContext(ctx context.Context) EmailDomainOutput
}

type EmailDomainMap

type EmailDomainMap map[string]EmailDomainInput

func (EmailDomainMap) ElementType

func (EmailDomainMap) ElementType() reflect.Type

func (EmailDomainMap) ToEmailDomainMapOutput

func (i EmailDomainMap) ToEmailDomainMapOutput() EmailDomainMapOutput

func (EmailDomainMap) ToEmailDomainMapOutputWithContext

func (i EmailDomainMap) ToEmailDomainMapOutputWithContext(ctx context.Context) EmailDomainMapOutput

type EmailDomainMapInput

type EmailDomainMapInput interface {
	pulumi.Input

	ToEmailDomainMapOutput() EmailDomainMapOutput
	ToEmailDomainMapOutputWithContext(context.Context) EmailDomainMapOutput
}

EmailDomainMapInput is an input type that accepts EmailDomainMap and EmailDomainMapOutput values. You can construct a concrete instance of `EmailDomainMapInput` via:

EmailDomainMap{ "key": EmailDomainArgs{...} }

type EmailDomainMapOutput

type EmailDomainMapOutput struct{ *pulumi.OutputState }

func (EmailDomainMapOutput) ElementType

func (EmailDomainMapOutput) ElementType() reflect.Type

func (EmailDomainMapOutput) MapIndex

func (EmailDomainMapOutput) ToEmailDomainMapOutput

func (o EmailDomainMapOutput) ToEmailDomainMapOutput() EmailDomainMapOutput

func (EmailDomainMapOutput) ToEmailDomainMapOutputWithContext

func (o EmailDomainMapOutput) ToEmailDomainMapOutputWithContext(ctx context.Context) EmailDomainMapOutput

type EmailDomainOutput

type EmailDomainOutput struct{ *pulumi.OutputState }

func (EmailDomainOutput) ActiveDkimId

func (o EmailDomainOutput) ActiveDkimId() pulumi.StringOutput

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DKIM key that will be used to sign mail sent from this email domain.

func (EmailDomainOutput) CompartmentId

func (o EmailDomainOutput) CompartmentId() pulumi.StringOutput

(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for this email domain.

func (EmailDomainOutput) DefinedTags

func (o EmailDomainOutput) DefinedTags() pulumi.StringMapOutput

(Updatable) 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"}`

func (EmailDomainOutput) Description

func (o EmailDomainOutput) Description() pulumi.StringOutput

(Updatable) A string that describes the details about the domain. It does not have to be unique, and you can change it. Avoid entering confidential information.

func (EmailDomainOutput) DomainVerificationId

func (o EmailDomainOutput) DomainVerificationId() pulumi.StringOutput

(Updatable) Id for Domain in Domain Management (under governance) if DOMAINID verification method used.

func (EmailDomainOutput) DomainVerificationStatus

func (o EmailDomainOutput) DomainVerificationStatus() pulumi.StringOutput

The current domain verification status.

func (EmailDomainOutput) ElementType

func (EmailDomainOutput) ElementType() reflect.Type

func (EmailDomainOutput) FreeformTags

func (o EmailDomainOutput) FreeformTags() pulumi.StringMapOutput

(Updatable) 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"}`

func (EmailDomainOutput) IsSpf

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).

func (EmailDomainOutput) Name

The name of the email domain in the Internet Domain Name System (DNS). The email domain name must be unique in the region for this tenancy. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. For details, see [RFC 5321, section 4.1.2](https://tools.ietf.org/html/rfc5321#section-4.1.2) Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

func (EmailDomainOutput) State

The current state of the email domain.

func (EmailDomainOutput) SystemTags

func (o EmailDomainOutput) SystemTags() pulumi.StringMapOutput

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (EmailDomainOutput) TimeCreated

func (o EmailDomainOutput) TimeCreated() pulumi.StringOutput

The time the email domain was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, "YYYY-MM-ddThh:mmZ". Example: `2021-02-12T22:47:12.613Z`

func (EmailDomainOutput) ToEmailDomainOutput

func (o EmailDomainOutput) ToEmailDomainOutput() EmailDomainOutput

func (EmailDomainOutput) ToEmailDomainOutputWithContext

func (o EmailDomainOutput) ToEmailDomainOutputWithContext(ctx context.Context) EmailDomainOutput

type EmailDomainState

type EmailDomainState struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DKIM key that will be used to sign mail sent from this email domain.
	ActiveDkimId pulumi.StringPtrInput
	// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for this email domain.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) 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"}`
	DefinedTags pulumi.StringMapInput
	// (Updatable) A string that describes the details about the domain. It does not have to be unique, and you can change it. Avoid entering confidential information.
	Description pulumi.StringPtrInput
	// (Updatable) Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
	DomainVerificationId pulumi.StringPtrInput
	// The current domain verification status.
	DomainVerificationStatus pulumi.StringPtrInput
	// (Updatable) 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"}`
	FreeformTags pulumi.StringMapInput
	// 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).
	IsSpf pulumi.BoolPtrInput
	// The name of the email domain in the Internet Domain Name System (DNS). The email domain name must be unique in the region for this tenancy. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. For details, see [RFC 5321, section 4.1.2](https://tools.ietf.org/html/rfc5321#section-4.1.2) Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Name pulumi.StringPtrInput
	// The current state of the email domain.
	State pulumi.StringPtrInput
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.StringMapInput
	// The time the email domain was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, "YYYY-MM-ddThh:mmZ".  Example: `2021-02-12T22:47:12.613Z`
	TimeCreated pulumi.StringPtrInput
}

func (EmailDomainState) ElementType

func (EmailDomainState) ElementType() reflect.Type

type EmailReturnPath

type EmailReturnPath struct {
	pulumi.CustomResourceState

	// The DNS CNAME record value to provision to the Return Patn DNS subdomain, when using the CNAME method for Email Return Path setup (preferred).
	CnameRecordValue pulumi.StringOutput `pulumi:"cnameRecordValue"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this email return path.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) 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"}`
	DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"`
	// (Updatable) A string that describes the details about the email return path. It does not have to be unique, and you can change it. Avoid entering confidential information.
	Description pulumi.StringOutput `pulumi:"description"`
	// The name of the DNS subdomain that must be provisioned to enable email recipients to verify Email Return Path. It is usually created with a CNAME record set to the cnameRecordValue.
	DnsSubdomainName pulumi.StringOutput `pulumi:"dnsSubdomainName"`
	// (Updatable) 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"}`
	FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"`
	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.
	LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"`
	// The name of the email return path domain in the Internet Domain Name System (DNS). The name must be a subdomain of the email domain used to send emails. The email return path name must be globally unique for this tenancy. If you do not provide the email return path name, we will generate one for you. If you do provide the email return path name, we suggest adding a short region indicator to allow using the same parent domain in other regions you might be subscribed to. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
	Name pulumi.StringOutput `pulumi:"name"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the EmailDomain for this email return path.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	ParentResourceId pulumi.StringOutput `pulumi:"parentResourceId"`
	// The current state of the email return path.
	State pulumi.StringOutput `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.StringMapOutput `pulumi:"systemTags"`
	// The time the email return path 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`
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The time of the last change to the Email Return Path 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".
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
}

This resource provides the Email Return Path resource in Oracle Cloud Infrastructure Email service.

Creates a new email return path. Avoid entering confidential information.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Email"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.NewEmailReturnPath(ctx, "test_email_return_path", &Email.EmailReturnPathArgs{
			ParentResourceId: pulumi.Any(testResource.Id),
			DefinedTags: pulumi.StringMap{
				"Operations.CostCenter": pulumi.String("42"),
			},
			Description: pulumi.Any(emailReturnPathDescription),
			FreeformTags: pulumi.StringMap{
				"Department": pulumi.String("Finance"),
			},
			Name: pulumi.Any(emailReturnPathName),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

EmailReturnPaths can be imported using the `id`, e.g.

```sh $ pulumi import oci:Email/emailReturnPath:EmailReturnPath test_email_return_path "id" ```

func GetEmailReturnPath

func GetEmailReturnPath(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EmailReturnPathState, opts ...pulumi.ResourceOption) (*EmailReturnPath, error)

GetEmailReturnPath gets an existing EmailReturnPath resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEmailReturnPath

func NewEmailReturnPath(ctx *pulumi.Context,
	name string, args *EmailReturnPathArgs, opts ...pulumi.ResourceOption) (*EmailReturnPath, error)

NewEmailReturnPath registers a new resource with the given unique name, arguments, and options.

func (*EmailReturnPath) ElementType

func (*EmailReturnPath) ElementType() reflect.Type

func (*EmailReturnPath) ToEmailReturnPathOutput

func (i *EmailReturnPath) ToEmailReturnPathOutput() EmailReturnPathOutput

func (*EmailReturnPath) ToEmailReturnPathOutputWithContext

func (i *EmailReturnPath) ToEmailReturnPathOutputWithContext(ctx context.Context) EmailReturnPathOutput

type EmailReturnPathArgs

type EmailReturnPathArgs struct {
	// (Updatable) 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"}`
	DefinedTags pulumi.StringMapInput
	// (Updatable) A string that describes the details about the email return path. It does not have to be unique, and you can change it. Avoid entering confidential information.
	Description pulumi.StringPtrInput
	// (Updatable) 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"}`
	FreeformTags pulumi.StringMapInput
	// The name of the email return path domain in the Internet Domain Name System (DNS). The name must be a subdomain of the email domain used to send emails. The email return path name must be globally unique for this tenancy. If you do not provide the email return path name, we will generate one for you. If you do provide the email return path name, we suggest adding a short region indicator to allow using the same parent domain in other regions you might be subscribed to. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
	Name pulumi.StringPtrInput
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the EmailDomain for this email return path.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	ParentResourceId pulumi.StringInput
}

The set of arguments for constructing a EmailReturnPath resource.

func (EmailReturnPathArgs) ElementType

func (EmailReturnPathArgs) ElementType() reflect.Type

type EmailReturnPathArray

type EmailReturnPathArray []EmailReturnPathInput

func (EmailReturnPathArray) ElementType

func (EmailReturnPathArray) ElementType() reflect.Type

func (EmailReturnPathArray) ToEmailReturnPathArrayOutput

func (i EmailReturnPathArray) ToEmailReturnPathArrayOutput() EmailReturnPathArrayOutput

func (EmailReturnPathArray) ToEmailReturnPathArrayOutputWithContext

func (i EmailReturnPathArray) ToEmailReturnPathArrayOutputWithContext(ctx context.Context) EmailReturnPathArrayOutput

type EmailReturnPathArrayInput

type EmailReturnPathArrayInput interface {
	pulumi.Input

	ToEmailReturnPathArrayOutput() EmailReturnPathArrayOutput
	ToEmailReturnPathArrayOutputWithContext(context.Context) EmailReturnPathArrayOutput
}

EmailReturnPathArrayInput is an input type that accepts EmailReturnPathArray and EmailReturnPathArrayOutput values. You can construct a concrete instance of `EmailReturnPathArrayInput` via:

EmailReturnPathArray{ EmailReturnPathArgs{...} }

type EmailReturnPathArrayOutput

type EmailReturnPathArrayOutput struct{ *pulumi.OutputState }

func (EmailReturnPathArrayOutput) ElementType

func (EmailReturnPathArrayOutput) ElementType() reflect.Type

func (EmailReturnPathArrayOutput) Index

func (EmailReturnPathArrayOutput) ToEmailReturnPathArrayOutput

func (o EmailReturnPathArrayOutput) ToEmailReturnPathArrayOutput() EmailReturnPathArrayOutput

func (EmailReturnPathArrayOutput) ToEmailReturnPathArrayOutputWithContext

func (o EmailReturnPathArrayOutput) ToEmailReturnPathArrayOutputWithContext(ctx context.Context) EmailReturnPathArrayOutput

type EmailReturnPathInput

type EmailReturnPathInput interface {
	pulumi.Input

	ToEmailReturnPathOutput() EmailReturnPathOutput
	ToEmailReturnPathOutputWithContext(ctx context.Context) EmailReturnPathOutput
}

type EmailReturnPathMap

type EmailReturnPathMap map[string]EmailReturnPathInput

func (EmailReturnPathMap) ElementType

func (EmailReturnPathMap) ElementType() reflect.Type

func (EmailReturnPathMap) ToEmailReturnPathMapOutput

func (i EmailReturnPathMap) ToEmailReturnPathMapOutput() EmailReturnPathMapOutput

func (EmailReturnPathMap) ToEmailReturnPathMapOutputWithContext

func (i EmailReturnPathMap) ToEmailReturnPathMapOutputWithContext(ctx context.Context) EmailReturnPathMapOutput

type EmailReturnPathMapInput

type EmailReturnPathMapInput interface {
	pulumi.Input

	ToEmailReturnPathMapOutput() EmailReturnPathMapOutput
	ToEmailReturnPathMapOutputWithContext(context.Context) EmailReturnPathMapOutput
}

EmailReturnPathMapInput is an input type that accepts EmailReturnPathMap and EmailReturnPathMapOutput values. You can construct a concrete instance of `EmailReturnPathMapInput` via:

EmailReturnPathMap{ "key": EmailReturnPathArgs{...} }

type EmailReturnPathMapOutput

type EmailReturnPathMapOutput struct{ *pulumi.OutputState }

func (EmailReturnPathMapOutput) ElementType

func (EmailReturnPathMapOutput) ElementType() reflect.Type

func (EmailReturnPathMapOutput) MapIndex

func (EmailReturnPathMapOutput) ToEmailReturnPathMapOutput

func (o EmailReturnPathMapOutput) ToEmailReturnPathMapOutput() EmailReturnPathMapOutput

func (EmailReturnPathMapOutput) ToEmailReturnPathMapOutputWithContext

func (o EmailReturnPathMapOutput) ToEmailReturnPathMapOutputWithContext(ctx context.Context) EmailReturnPathMapOutput

type EmailReturnPathOutput

type EmailReturnPathOutput struct{ *pulumi.OutputState }

func (EmailReturnPathOutput) CnameRecordValue

func (o EmailReturnPathOutput) CnameRecordValue() pulumi.StringOutput

The DNS CNAME record value to provision to the Return Patn DNS subdomain, when using the CNAME method for Email Return Path setup (preferred).

func (EmailReturnPathOutput) CompartmentId

func (o EmailReturnPathOutput) CompartmentId() pulumi.StringOutput

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this email return path.

func (EmailReturnPathOutput) DefinedTags

(Updatable) 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"}`

func (EmailReturnPathOutput) Description

func (o EmailReturnPathOutput) Description() pulumi.StringOutput

(Updatable) A string that describes the details about the email return path. It does not have to be unique, and you can change it. Avoid entering confidential information.

func (EmailReturnPathOutput) DnsSubdomainName

func (o EmailReturnPathOutput) DnsSubdomainName() pulumi.StringOutput

The name of the DNS subdomain that must be provisioned to enable email recipients to verify Email Return Path. It is usually created with a CNAME record set to the cnameRecordValue.

func (EmailReturnPathOutput) ElementType

func (EmailReturnPathOutput) ElementType() reflect.Type

func (EmailReturnPathOutput) FreeformTags

func (o EmailReturnPathOutput) FreeformTags() pulumi.StringMapOutput

(Updatable) 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"}`

func (EmailReturnPathOutput) LifecycleDetails

func (o EmailReturnPathOutput) LifecycleDetails() pulumi.StringOutput

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.

func (EmailReturnPathOutput) Name

The name of the email return path domain in the Internet Domain Name System (DNS). The name must be a subdomain of the email domain used to send emails. The email return path name must be globally unique for this tenancy. If you do not provide the email return path name, we will generate one for you. If you do provide the email return path name, we suggest adding a short region indicator to allow using the same parent domain in other regions you might be subscribed to. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).

func (EmailReturnPathOutput) ParentResourceId

func (o EmailReturnPathOutput) ParentResourceId() pulumi.StringOutput

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the EmailDomain for this email return path.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

func (EmailReturnPathOutput) State

The current state of the email return path.

func (EmailReturnPathOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (EmailReturnPathOutput) TimeCreated

func (o EmailReturnPathOutput) TimeCreated() pulumi.StringOutput

The time the email return path 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`

func (EmailReturnPathOutput) TimeUpdated

func (o EmailReturnPathOutput) TimeUpdated() pulumi.StringOutput

The time of the last change to the Email Return Path 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".

func (EmailReturnPathOutput) ToEmailReturnPathOutput

func (o EmailReturnPathOutput) ToEmailReturnPathOutput() EmailReturnPathOutput

func (EmailReturnPathOutput) ToEmailReturnPathOutputWithContext

func (o EmailReturnPathOutput) ToEmailReturnPathOutputWithContext(ctx context.Context) EmailReturnPathOutput

type EmailReturnPathState

type EmailReturnPathState struct {
	// The DNS CNAME record value to provision to the Return Patn DNS subdomain, when using the CNAME method for Email Return Path setup (preferred).
	CnameRecordValue pulumi.StringPtrInput
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this email return path.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) 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"}`
	DefinedTags pulumi.StringMapInput
	// (Updatable) A string that describes the details about the email return path. It does not have to be unique, and you can change it. Avoid entering confidential information.
	Description pulumi.StringPtrInput
	// The name of the DNS subdomain that must be provisioned to enable email recipients to verify Email Return Path. It is usually created with a CNAME record set to the cnameRecordValue.
	DnsSubdomainName pulumi.StringPtrInput
	// (Updatable) 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"}`
	FreeformTags pulumi.StringMapInput
	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.
	LifecycleDetails pulumi.StringPtrInput
	// The name of the email return path domain in the Internet Domain Name System (DNS). The name must be a subdomain of the email domain used to send emails. The email return path name must be globally unique for this tenancy. If you do not provide the email return path name, we will generate one for you. If you do provide the email return path name, we suggest adding a short region indicator to allow using the same parent domain in other regions you might be subscribed to. Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. The dash and dot are only allowed between alphanumeric characters. Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
	Name pulumi.StringPtrInput
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the EmailDomain for this email return path.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	ParentResourceId pulumi.StringPtrInput
	// The current state of the email return path.
	State pulumi.StringPtrInput
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.StringMapInput
	// The time the email return path 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`
	TimeCreated pulumi.StringPtrInput
	// The time of the last change to the Email Return Path 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".
	TimeUpdated pulumi.StringPtrInput
}

func (EmailReturnPathState) ElementType

func (EmailReturnPathState) ElementType() reflect.Type

type GetConfigurationArgs

type GetConfigurationArgs struct {
	// The OCID for the compartment.
	CompartmentId string `pulumi:"compartmentId"`
}

A collection of arguments for invoking getConfiguration.

type GetConfigurationOutputArgs

type GetConfigurationOutputArgs struct {
	// The OCID for the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
}

A collection of arguments for invoking getConfiguration.

func (GetConfigurationOutputArgs) ElementType

func (GetConfigurationOutputArgs) ElementType() reflect.Type

type GetConfigurationResult

type GetConfigurationResult struct {
	// The root compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (same as the tenancy OCID)
	CompartmentId string `pulumi:"compartmentId"`
	// Endpoint used to submit emails via the HTTP email submission API
	HttpSubmitEndpoint string `pulumi:"httpSubmitEndpoint"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Endpoint used to submit emails via the standard SMTP submission protocol. Note that TLS 1.2 and standard SMTP authentication is required for submission.
	SmtpSubmitEndpoint string `pulumi:"smtpSubmitEndpoint"`
}

A collection of values returned by getConfiguration.

func GetConfiguration

func GetConfiguration(ctx *pulumi.Context, args *GetConfigurationArgs, opts ...pulumi.InvokeOption) (*GetConfigurationResult, error)

This data source provides details about a specific Configuration resource in Oracle Cloud Infrastructure Email service.

Returns email configuration associated with the specified compartment.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Email"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.GetConfiguration(ctx, &email.GetConfigurationArgs{
			CompartmentId: compartmentId,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetConfigurationResultOutput

type GetConfigurationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConfiguration.

func (GetConfigurationResultOutput) CompartmentId

The root compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (same as the tenancy OCID)

func (GetConfigurationResultOutput) ElementType

func (GetConfigurationResultOutput) HttpSubmitEndpoint

func (o GetConfigurationResultOutput) HttpSubmitEndpoint() pulumi.StringOutput

Endpoint used to submit emails via the HTTP email submission API

func (GetConfigurationResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetConfigurationResultOutput) SmtpSubmitEndpoint

func (o GetConfigurationResultOutput) SmtpSubmitEndpoint() pulumi.StringOutput

Endpoint used to submit emails via the standard SMTP submission protocol. Note that TLS 1.2 and standard SMTP authentication is required for submission.

func (GetConfigurationResultOutput) ToGetConfigurationResultOutput

func (o GetConfigurationResultOutput) ToGetConfigurationResultOutput() GetConfigurationResultOutput

func (GetConfigurationResultOutput) ToGetConfigurationResultOutputWithContext

func (o GetConfigurationResultOutput) ToGetConfigurationResultOutputWithContext(ctx context.Context) GetConfigurationResultOutput

type GetDkimsArgs

type GetDkimsArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email domain to which this DKIM belongs.
	EmailDomainId string           `pulumi:"emailDomainId"`
	Filters       []GetDkimsFilter `pulumi:"filters"`
	// A filter to only return resources that match the given id exactly.
	Id *string `pulumi:"id"`
	// A filter to only return resources that match the given name exactly.
	Name *string `pulumi:"name"`
	// Filter returned list by specified lifecycle state. This parameter is case-insensitive.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getDkims.

type GetDkimsDkimCollection

type GetDkimsDkimCollection struct {
	Items []GetDkimsDkimCollectionItem `pulumi:"items"`
}

type GetDkimsDkimCollectionArgs

type GetDkimsDkimCollectionArgs struct {
	Items GetDkimsDkimCollectionItemArrayInput `pulumi:"items"`
}

func (GetDkimsDkimCollectionArgs) ElementType

func (GetDkimsDkimCollectionArgs) ElementType() reflect.Type

func (GetDkimsDkimCollectionArgs) ToGetDkimsDkimCollectionOutput

func (i GetDkimsDkimCollectionArgs) ToGetDkimsDkimCollectionOutput() GetDkimsDkimCollectionOutput

func (GetDkimsDkimCollectionArgs) ToGetDkimsDkimCollectionOutputWithContext

func (i GetDkimsDkimCollectionArgs) ToGetDkimsDkimCollectionOutputWithContext(ctx context.Context) GetDkimsDkimCollectionOutput

type GetDkimsDkimCollectionArray

type GetDkimsDkimCollectionArray []GetDkimsDkimCollectionInput

func (GetDkimsDkimCollectionArray) ElementType

func (GetDkimsDkimCollectionArray) ToGetDkimsDkimCollectionArrayOutput

func (i GetDkimsDkimCollectionArray) ToGetDkimsDkimCollectionArrayOutput() GetDkimsDkimCollectionArrayOutput

func (GetDkimsDkimCollectionArray) ToGetDkimsDkimCollectionArrayOutputWithContext

func (i GetDkimsDkimCollectionArray) ToGetDkimsDkimCollectionArrayOutputWithContext(ctx context.Context) GetDkimsDkimCollectionArrayOutput

type GetDkimsDkimCollectionArrayInput

type GetDkimsDkimCollectionArrayInput interface {
	pulumi.Input

	ToGetDkimsDkimCollectionArrayOutput() GetDkimsDkimCollectionArrayOutput
	ToGetDkimsDkimCollectionArrayOutputWithContext(context.Context) GetDkimsDkimCollectionArrayOutput
}

GetDkimsDkimCollectionArrayInput is an input type that accepts GetDkimsDkimCollectionArray and GetDkimsDkimCollectionArrayOutput values. You can construct a concrete instance of `GetDkimsDkimCollectionArrayInput` via:

GetDkimsDkimCollectionArray{ GetDkimsDkimCollectionArgs{...} }

type GetDkimsDkimCollectionArrayOutput

type GetDkimsDkimCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetDkimsDkimCollectionArrayOutput) ElementType

func (GetDkimsDkimCollectionArrayOutput) Index

func (GetDkimsDkimCollectionArrayOutput) ToGetDkimsDkimCollectionArrayOutput

func (o GetDkimsDkimCollectionArrayOutput) ToGetDkimsDkimCollectionArrayOutput() GetDkimsDkimCollectionArrayOutput

func (GetDkimsDkimCollectionArrayOutput) ToGetDkimsDkimCollectionArrayOutputWithContext

func (o GetDkimsDkimCollectionArrayOutput) ToGetDkimsDkimCollectionArrayOutputWithContext(ctx context.Context) GetDkimsDkimCollectionArrayOutput

type GetDkimsDkimCollectionInput

type GetDkimsDkimCollectionInput interface {
	pulumi.Input

	ToGetDkimsDkimCollectionOutput() GetDkimsDkimCollectionOutput
	ToGetDkimsDkimCollectionOutputWithContext(context.Context) GetDkimsDkimCollectionOutput
}

GetDkimsDkimCollectionInput is an input type that accepts GetDkimsDkimCollectionArgs and GetDkimsDkimCollectionOutput values. You can construct a concrete instance of `GetDkimsDkimCollectionInput` via:

GetDkimsDkimCollectionArgs{...}

type GetDkimsDkimCollectionItem

type GetDkimsDkimCollectionItem struct {
	// The DNS CNAME record value to provision to the DKIM DNS subdomain, when using the CNAME method for DKIM setup (preferred).
	CnameRecordValue string `pulumi:"cnameRecordValue"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this DKIM.
	CompartmentId string `pulumi:"compartmentId"`
	// 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"}`
	DefinedTags map[string]string `pulumi:"definedTags"`
	// The description of the DKIM. Avoid entering confidential information.
	Description string `pulumi:"description"`
	// 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.
	DnsSubdomainName string `pulumi:"dnsSubdomainName"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email domain to which this DKIM belongs.
	EmailDomainId string `pulumi:"emailDomainId"`
	// 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"}`
	FreeformTags map[string]string `pulumi:"freeformTags"`
	// A filter to only return resources that match the given id exactly.
	Id string `pulumi:"id"`
	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource.
	LifecycleDetails string `pulumi:"lifecycleDetails"`
	// A filter to only return resources that match the given name exactly.
	Name string `pulumi:"name"`
	// Filter returned list by specified lifecycle state. This parameter is case-insensitive.
	State string `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]string `pulumi:"systemTags"`
	// 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`
	TimeCreated string `pulumi:"timeCreated"`
	// 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".
	TimeUpdated string `pulumi:"timeUpdated"`
	// 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.
	TxtRecordValue string `pulumi:"txtRecordValue"`
}

type GetDkimsDkimCollectionItemArgs

type GetDkimsDkimCollectionItemArgs struct {
	// The DNS CNAME record value to provision to the DKIM DNS subdomain, when using the CNAME method for DKIM setup (preferred).
	CnameRecordValue pulumi.StringInput `pulumi:"cnameRecordValue"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this DKIM.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// 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"}`
	DefinedTags pulumi.StringMapInput `pulumi:"definedTags"`
	// The description of the DKIM. Avoid entering confidential information.
	Description pulumi.StringInput `pulumi:"description"`
	// 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.
	DnsSubdomainName pulumi.StringInput `pulumi:"dnsSubdomainName"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email domain to which this DKIM belongs.
	EmailDomainId pulumi.StringInput `pulumi:"emailDomainId"`
	// 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"}`
	FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"`
	// A filter to only return resources that match the given id exactly.
	Id pulumi.StringInput `pulumi:"id"`
	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource.
	LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"`
	// A filter to only return resources that match the given name exactly.
	Name pulumi.StringInput `pulumi:"name"`
	// Filter returned list by specified lifecycle state. This parameter is case-insensitive.
	State pulumi.StringInput `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.StringMapInput `pulumi:"systemTags"`
	// 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`
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// 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".
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
	// 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.
	TxtRecordValue pulumi.StringInput `pulumi:"txtRecordValue"`
}

func (GetDkimsDkimCollectionItemArgs) ElementType

func (GetDkimsDkimCollectionItemArgs) ToGetDkimsDkimCollectionItemOutput

func (i GetDkimsDkimCollectionItemArgs) ToGetDkimsDkimCollectionItemOutput() GetDkimsDkimCollectionItemOutput

func (GetDkimsDkimCollectionItemArgs) ToGetDkimsDkimCollectionItemOutputWithContext

func (i GetDkimsDkimCollectionItemArgs) ToGetDkimsDkimCollectionItemOutputWithContext(ctx context.Context) GetDkimsDkimCollectionItemOutput

type GetDkimsDkimCollectionItemArray

type GetDkimsDkimCollectionItemArray []GetDkimsDkimCollectionItemInput

func (GetDkimsDkimCollectionItemArray) ElementType

func (GetDkimsDkimCollectionItemArray) ToGetDkimsDkimCollectionItemArrayOutput

func (i GetDkimsDkimCollectionItemArray) ToGetDkimsDkimCollectionItemArrayOutput() GetDkimsDkimCollectionItemArrayOutput

func (GetDkimsDkimCollectionItemArray) ToGetDkimsDkimCollectionItemArrayOutputWithContext

func (i GetDkimsDkimCollectionItemArray) ToGetDkimsDkimCollectionItemArrayOutputWithContext(ctx context.Context) GetDkimsDkimCollectionItemArrayOutput

type GetDkimsDkimCollectionItemArrayInput

type GetDkimsDkimCollectionItemArrayInput interface {
	pulumi.Input

	ToGetDkimsDkimCollectionItemArrayOutput() GetDkimsDkimCollectionItemArrayOutput
	ToGetDkimsDkimCollectionItemArrayOutputWithContext(context.Context) GetDkimsDkimCollectionItemArrayOutput
}

GetDkimsDkimCollectionItemArrayInput is an input type that accepts GetDkimsDkimCollectionItemArray and GetDkimsDkimCollectionItemArrayOutput values. You can construct a concrete instance of `GetDkimsDkimCollectionItemArrayInput` via:

GetDkimsDkimCollectionItemArray{ GetDkimsDkimCollectionItemArgs{...} }

type GetDkimsDkimCollectionItemArrayOutput

type GetDkimsDkimCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetDkimsDkimCollectionItemArrayOutput) ElementType

func (GetDkimsDkimCollectionItemArrayOutput) Index

func (GetDkimsDkimCollectionItemArrayOutput) ToGetDkimsDkimCollectionItemArrayOutput

func (o GetDkimsDkimCollectionItemArrayOutput) ToGetDkimsDkimCollectionItemArrayOutput() GetDkimsDkimCollectionItemArrayOutput

func (GetDkimsDkimCollectionItemArrayOutput) ToGetDkimsDkimCollectionItemArrayOutputWithContext

func (o GetDkimsDkimCollectionItemArrayOutput) ToGetDkimsDkimCollectionItemArrayOutputWithContext(ctx context.Context) GetDkimsDkimCollectionItemArrayOutput

type GetDkimsDkimCollectionItemInput

type GetDkimsDkimCollectionItemInput interface {
	pulumi.Input

	ToGetDkimsDkimCollectionItemOutput() GetDkimsDkimCollectionItemOutput
	ToGetDkimsDkimCollectionItemOutputWithContext(context.Context) GetDkimsDkimCollectionItemOutput
}

GetDkimsDkimCollectionItemInput is an input type that accepts GetDkimsDkimCollectionItemArgs and GetDkimsDkimCollectionItemOutput values. You can construct a concrete instance of `GetDkimsDkimCollectionItemInput` via:

GetDkimsDkimCollectionItemArgs{...}

type GetDkimsDkimCollectionItemOutput

type GetDkimsDkimCollectionItemOutput struct{ *pulumi.OutputState }

func (GetDkimsDkimCollectionItemOutput) CnameRecordValue

The DNS CNAME record value to provision to the DKIM DNS subdomain, when using the CNAME method for DKIM setup (preferred).

func (GetDkimsDkimCollectionItemOutput) CompartmentId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this DKIM.

func (GetDkimsDkimCollectionItemOutput) DefinedTags

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"}`

func (GetDkimsDkimCollectionItemOutput) Description

The description of the DKIM. Avoid entering confidential information.

func (GetDkimsDkimCollectionItemOutput) DnsSubdomainName

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.

func (GetDkimsDkimCollectionItemOutput) ElementType

func (GetDkimsDkimCollectionItemOutput) EmailDomainId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email domain to which this DKIM belongs.

func (GetDkimsDkimCollectionItemOutput) FreeformTags

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"}`

func (GetDkimsDkimCollectionItemOutput) Id

A filter to only return resources that match the given id exactly.

func (GetDkimsDkimCollectionItemOutput) LifecycleDetails

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource.

func (GetDkimsDkimCollectionItemOutput) Name

A filter to only return resources that match the given name exactly.

func (GetDkimsDkimCollectionItemOutput) State

Filter returned list by specified lifecycle state. This parameter is case-insensitive.

func (GetDkimsDkimCollectionItemOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (GetDkimsDkimCollectionItemOutput) TimeCreated

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`

func (GetDkimsDkimCollectionItemOutput) TimeUpdated

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".

func (GetDkimsDkimCollectionItemOutput) ToGetDkimsDkimCollectionItemOutput

func (o GetDkimsDkimCollectionItemOutput) ToGetDkimsDkimCollectionItemOutput() GetDkimsDkimCollectionItemOutput

func (GetDkimsDkimCollectionItemOutput) ToGetDkimsDkimCollectionItemOutputWithContext

func (o GetDkimsDkimCollectionItemOutput) ToGetDkimsDkimCollectionItemOutputWithContext(ctx context.Context) GetDkimsDkimCollectionItemOutput

func (GetDkimsDkimCollectionItemOutput) TxtRecordValue

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.

type GetDkimsDkimCollectionOutput

type GetDkimsDkimCollectionOutput struct{ *pulumi.OutputState }

func (GetDkimsDkimCollectionOutput) ElementType

func (GetDkimsDkimCollectionOutput) Items

func (GetDkimsDkimCollectionOutput) ToGetDkimsDkimCollectionOutput

func (o GetDkimsDkimCollectionOutput) ToGetDkimsDkimCollectionOutput() GetDkimsDkimCollectionOutput

func (GetDkimsDkimCollectionOutput) ToGetDkimsDkimCollectionOutputWithContext

func (o GetDkimsDkimCollectionOutput) ToGetDkimsDkimCollectionOutputWithContext(ctx context.Context) GetDkimsDkimCollectionOutput

type GetDkimsFilter

type GetDkimsFilter struct {
	// A filter to only return resources that match the given name exactly.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetDkimsFilterArgs

type GetDkimsFilterArgs struct {
	// A filter to only return resources that match the given name exactly.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetDkimsFilterArgs) ElementType

func (GetDkimsFilterArgs) ElementType() reflect.Type

func (GetDkimsFilterArgs) ToGetDkimsFilterOutput

func (i GetDkimsFilterArgs) ToGetDkimsFilterOutput() GetDkimsFilterOutput

func (GetDkimsFilterArgs) ToGetDkimsFilterOutputWithContext

func (i GetDkimsFilterArgs) ToGetDkimsFilterOutputWithContext(ctx context.Context) GetDkimsFilterOutput

type GetDkimsFilterArray

type GetDkimsFilterArray []GetDkimsFilterInput

func (GetDkimsFilterArray) ElementType

func (GetDkimsFilterArray) ElementType() reflect.Type

func (GetDkimsFilterArray) ToGetDkimsFilterArrayOutput

func (i GetDkimsFilterArray) ToGetDkimsFilterArrayOutput() GetDkimsFilterArrayOutput

func (GetDkimsFilterArray) ToGetDkimsFilterArrayOutputWithContext

func (i GetDkimsFilterArray) ToGetDkimsFilterArrayOutputWithContext(ctx context.Context) GetDkimsFilterArrayOutput

type GetDkimsFilterArrayInput

type GetDkimsFilterArrayInput interface {
	pulumi.Input

	ToGetDkimsFilterArrayOutput() GetDkimsFilterArrayOutput
	ToGetDkimsFilterArrayOutputWithContext(context.Context) GetDkimsFilterArrayOutput
}

GetDkimsFilterArrayInput is an input type that accepts GetDkimsFilterArray and GetDkimsFilterArrayOutput values. You can construct a concrete instance of `GetDkimsFilterArrayInput` via:

GetDkimsFilterArray{ GetDkimsFilterArgs{...} }

type GetDkimsFilterArrayOutput

type GetDkimsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetDkimsFilterArrayOutput) ElementType

func (GetDkimsFilterArrayOutput) ElementType() reflect.Type

func (GetDkimsFilterArrayOutput) Index

func (GetDkimsFilterArrayOutput) ToGetDkimsFilterArrayOutput

func (o GetDkimsFilterArrayOutput) ToGetDkimsFilterArrayOutput() GetDkimsFilterArrayOutput

func (GetDkimsFilterArrayOutput) ToGetDkimsFilterArrayOutputWithContext

func (o GetDkimsFilterArrayOutput) ToGetDkimsFilterArrayOutputWithContext(ctx context.Context) GetDkimsFilterArrayOutput

type GetDkimsFilterInput

type GetDkimsFilterInput interface {
	pulumi.Input

	ToGetDkimsFilterOutput() GetDkimsFilterOutput
	ToGetDkimsFilterOutputWithContext(context.Context) GetDkimsFilterOutput
}

GetDkimsFilterInput is an input type that accepts GetDkimsFilterArgs and GetDkimsFilterOutput values. You can construct a concrete instance of `GetDkimsFilterInput` via:

GetDkimsFilterArgs{...}

type GetDkimsFilterOutput

type GetDkimsFilterOutput struct{ *pulumi.OutputState }

func (GetDkimsFilterOutput) ElementType

func (GetDkimsFilterOutput) ElementType() reflect.Type

func (GetDkimsFilterOutput) Name

A filter to only return resources that match the given name exactly.

func (GetDkimsFilterOutput) Regex

func (GetDkimsFilterOutput) ToGetDkimsFilterOutput

func (o GetDkimsFilterOutput) ToGetDkimsFilterOutput() GetDkimsFilterOutput

func (GetDkimsFilterOutput) ToGetDkimsFilterOutputWithContext

func (o GetDkimsFilterOutput) ToGetDkimsFilterOutputWithContext(ctx context.Context) GetDkimsFilterOutput

func (GetDkimsFilterOutput) Values

type GetDkimsOutputArgs

type GetDkimsOutputArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email domain to which this DKIM belongs.
	EmailDomainId pulumi.StringInput       `pulumi:"emailDomainId"`
	Filters       GetDkimsFilterArrayInput `pulumi:"filters"`
	// A filter to only return resources that match the given id exactly.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A filter to only return resources that match the given name exactly.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Filter returned list by specified lifecycle state. This parameter is case-insensitive.
	State pulumi.StringPtrInput `pulumi:"state"`
}

A collection of arguments for invoking getDkims.

func (GetDkimsOutputArgs) ElementType

func (GetDkimsOutputArgs) ElementType() reflect.Type

type GetDkimsResult

type GetDkimsResult struct {
	// The list of dkim_collection.
	DkimCollections []GetDkimsDkimCollection `pulumi:"dkimCollections"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email domain that this DKIM belongs to.
	EmailDomainId string           `pulumi:"emailDomainId"`
	Filters       []GetDkimsFilter `pulumi:"filters"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DKIM.
	Id *string `pulumi:"id"`
	// The DKIM selector. If the same domain is managed in more than one region, each region must use different selectors.
	Name *string `pulumi:"name"`
	// The current state of the DKIM.
	State *string `pulumi:"state"`
}

A collection of values returned by getDkims.

func GetDkims

func GetDkims(ctx *pulumi.Context, args *GetDkimsArgs, opts ...pulumi.InvokeOption) (*GetDkimsResult, error)

This data source provides the list of Dkims in Oracle Cloud Infrastructure Email service.

Lists DKIMs for an email domain.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Email"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.GetDkims(ctx, &email.GetDkimsArgs{
			EmailDomainId: testEmailDomain.Id,
			Id:            pulumi.StringRef(dkimId),
			Name:          pulumi.StringRef(dkimName),
			State:         pulumi.StringRef(dkimState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetDkimsResultOutput

type GetDkimsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDkims.

func (GetDkimsResultOutput) DkimCollections

The list of dkim_collection.

func (GetDkimsResultOutput) ElementType

func (GetDkimsResultOutput) ElementType() reflect.Type

func (GetDkimsResultOutput) EmailDomainId

func (o GetDkimsResultOutput) EmailDomainId() pulumi.StringOutput

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email domain that this DKIM belongs to.

func (GetDkimsResultOutput) Filters

func (GetDkimsResultOutput) Name

The DKIM selector. If the same domain is managed in more than one region, each region must use different selectors.

func (GetDkimsResultOutput) State

The current state of the DKIM.

func (GetDkimsResultOutput) ToGetDkimsResultOutput

func (o GetDkimsResultOutput) ToGetDkimsResultOutput() GetDkimsResultOutput

func (GetDkimsResultOutput) ToGetDkimsResultOutputWithContext

func (o GetDkimsResultOutput) ToGetDkimsResultOutputWithContext(ctx context.Context) GetDkimsResultOutput

type GetEmailDomainsArgs

type GetEmailDomainsArgs struct {
	// The OCID for the compartment.
	CompartmentId string                  `pulumi:"compartmentId"`
	Filters       []GetEmailDomainsFilter `pulumi:"filters"`
	// A filter to only return resources that match the given id exactly.
	Id *string `pulumi:"id"`
	// A filter to only return resources that match the given name exactly.
	Name *string `pulumi:"name"`
	// Filter returned list by specified lifecycle state. This parameter is case-insensitive.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getEmailDomains.

type GetEmailDomainsEmailDomainCollection

type GetEmailDomainsEmailDomainCollection struct {
	Items []GetEmailDomainsEmailDomainCollectionItem `pulumi:"items"`
}

type GetEmailDomainsEmailDomainCollectionArgs

type GetEmailDomainsEmailDomainCollectionArgs struct {
	Items GetEmailDomainsEmailDomainCollectionItemArrayInput `pulumi:"items"`
}

func (GetEmailDomainsEmailDomainCollectionArgs) ElementType

func (GetEmailDomainsEmailDomainCollectionArgs) ToGetEmailDomainsEmailDomainCollectionOutput

func (i GetEmailDomainsEmailDomainCollectionArgs) ToGetEmailDomainsEmailDomainCollectionOutput() GetEmailDomainsEmailDomainCollectionOutput

func (GetEmailDomainsEmailDomainCollectionArgs) ToGetEmailDomainsEmailDomainCollectionOutputWithContext

func (i GetEmailDomainsEmailDomainCollectionArgs) ToGetEmailDomainsEmailDomainCollectionOutputWithContext(ctx context.Context) GetEmailDomainsEmailDomainCollectionOutput

type GetEmailDomainsEmailDomainCollectionArray

type GetEmailDomainsEmailDomainCollectionArray []GetEmailDomainsEmailDomainCollectionInput

func (GetEmailDomainsEmailDomainCollectionArray) ElementType

func (GetEmailDomainsEmailDomainCollectionArray) ToGetEmailDomainsEmailDomainCollectionArrayOutput

func (i GetEmailDomainsEmailDomainCollectionArray) ToGetEmailDomainsEmailDomainCollectionArrayOutput() GetEmailDomainsEmailDomainCollectionArrayOutput

func (GetEmailDomainsEmailDomainCollectionArray) ToGetEmailDomainsEmailDomainCollectionArrayOutputWithContext

func (i GetEmailDomainsEmailDomainCollectionArray) ToGetEmailDomainsEmailDomainCollectionArrayOutputWithContext(ctx context.Context) GetEmailDomainsEmailDomainCollectionArrayOutput

type GetEmailDomainsEmailDomainCollectionArrayInput

type GetEmailDomainsEmailDomainCollectionArrayInput interface {
	pulumi.Input

	ToGetEmailDomainsEmailDomainCollectionArrayOutput() GetEmailDomainsEmailDomainCollectionArrayOutput
	ToGetEmailDomainsEmailDomainCollectionArrayOutputWithContext(context.Context) GetEmailDomainsEmailDomainCollectionArrayOutput
}

GetEmailDomainsEmailDomainCollectionArrayInput is an input type that accepts GetEmailDomainsEmailDomainCollectionArray and GetEmailDomainsEmailDomainCollectionArrayOutput values. You can construct a concrete instance of `GetEmailDomainsEmailDomainCollectionArrayInput` via:

GetEmailDomainsEmailDomainCollectionArray{ GetEmailDomainsEmailDomainCollectionArgs{...} }

type GetEmailDomainsEmailDomainCollectionArrayOutput

type GetEmailDomainsEmailDomainCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetEmailDomainsEmailDomainCollectionArrayOutput) ElementType

func (GetEmailDomainsEmailDomainCollectionArrayOutput) Index

func (GetEmailDomainsEmailDomainCollectionArrayOutput) ToGetEmailDomainsEmailDomainCollectionArrayOutput

func (o GetEmailDomainsEmailDomainCollectionArrayOutput) ToGetEmailDomainsEmailDomainCollectionArrayOutput() GetEmailDomainsEmailDomainCollectionArrayOutput

func (GetEmailDomainsEmailDomainCollectionArrayOutput) ToGetEmailDomainsEmailDomainCollectionArrayOutputWithContext

func (o GetEmailDomainsEmailDomainCollectionArrayOutput) ToGetEmailDomainsEmailDomainCollectionArrayOutputWithContext(ctx context.Context) GetEmailDomainsEmailDomainCollectionArrayOutput

type GetEmailDomainsEmailDomainCollectionInput

type GetEmailDomainsEmailDomainCollectionInput interface {
	pulumi.Input

	ToGetEmailDomainsEmailDomainCollectionOutput() GetEmailDomainsEmailDomainCollectionOutput
	ToGetEmailDomainsEmailDomainCollectionOutputWithContext(context.Context) GetEmailDomainsEmailDomainCollectionOutput
}

GetEmailDomainsEmailDomainCollectionInput is an input type that accepts GetEmailDomainsEmailDomainCollectionArgs and GetEmailDomainsEmailDomainCollectionOutput values. You can construct a concrete instance of `GetEmailDomainsEmailDomainCollectionInput` via:

GetEmailDomainsEmailDomainCollectionArgs{...}

type GetEmailDomainsEmailDomainCollectionItem

type GetEmailDomainsEmailDomainCollectionItem struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DKIM key that will be used to sign mail sent from this email domain.
	ActiveDkimId string `pulumi:"activeDkimId"`
	// The OCID for the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// 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"}`
	DefinedTags map[string]string `pulumi:"definedTags"`
	// The description of an email domain.
	Description string `pulumi:"description"`
	// Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
	DomainVerificationId string `pulumi:"domainVerificationId"`
	// The current domain verification status.
	DomainVerificationStatus string `pulumi:"domainVerificationStatus"`
	// 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"}`
	FreeformTags map[string]string `pulumi:"freeformTags"`
	// A filter to only return resources that match the given id exactly.
	Id string `pulumi:"id"`
	// 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).
	IsSpf bool `pulumi:"isSpf"`
	// A filter to only return resources that match the given name exactly.
	Name string `pulumi:"name"`
	// Filter returned list by specified lifecycle state. This parameter is case-insensitive.
	State string `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]string `pulumi:"systemTags"`
	// The time the email domain was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, "YYYY-MM-ddThh:mmZ".  Example: `2021-02-12T22:47:12.613Z`
	TimeCreated string `pulumi:"timeCreated"`
}

type GetEmailDomainsEmailDomainCollectionItemArgs

type GetEmailDomainsEmailDomainCollectionItemArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DKIM key that will be used to sign mail sent from this email domain.
	ActiveDkimId pulumi.StringInput `pulumi:"activeDkimId"`
	// The OCID for the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// 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"}`
	DefinedTags pulumi.StringMapInput `pulumi:"definedTags"`
	// The description of an email domain.
	Description pulumi.StringInput `pulumi:"description"`
	// Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
	DomainVerificationId pulumi.StringInput `pulumi:"domainVerificationId"`
	// The current domain verification status.
	DomainVerificationStatus pulumi.StringInput `pulumi:"domainVerificationStatus"`
	// 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"}`
	FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"`
	// A filter to only return resources that match the given id exactly.
	Id pulumi.StringInput `pulumi:"id"`
	// 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).
	IsSpf pulumi.BoolInput `pulumi:"isSpf"`
	// A filter to only return resources that match the given name exactly.
	Name pulumi.StringInput `pulumi:"name"`
	// Filter returned list by specified lifecycle state. This parameter is case-insensitive.
	State pulumi.StringInput `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.StringMapInput `pulumi:"systemTags"`
	// The time the email domain was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, "YYYY-MM-ddThh:mmZ".  Example: `2021-02-12T22:47:12.613Z`
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
}

func (GetEmailDomainsEmailDomainCollectionItemArgs) ElementType

func (GetEmailDomainsEmailDomainCollectionItemArgs) ToGetEmailDomainsEmailDomainCollectionItemOutput

func (i GetEmailDomainsEmailDomainCollectionItemArgs) ToGetEmailDomainsEmailDomainCollectionItemOutput() GetEmailDomainsEmailDomainCollectionItemOutput

func (GetEmailDomainsEmailDomainCollectionItemArgs) ToGetEmailDomainsEmailDomainCollectionItemOutputWithContext

func (i GetEmailDomainsEmailDomainCollectionItemArgs) ToGetEmailDomainsEmailDomainCollectionItemOutputWithContext(ctx context.Context) GetEmailDomainsEmailDomainCollectionItemOutput

type GetEmailDomainsEmailDomainCollectionItemArray

type GetEmailDomainsEmailDomainCollectionItemArray []GetEmailDomainsEmailDomainCollectionItemInput

func (GetEmailDomainsEmailDomainCollectionItemArray) ElementType

func (GetEmailDomainsEmailDomainCollectionItemArray) ToGetEmailDomainsEmailDomainCollectionItemArrayOutput

func (i GetEmailDomainsEmailDomainCollectionItemArray) ToGetEmailDomainsEmailDomainCollectionItemArrayOutput() GetEmailDomainsEmailDomainCollectionItemArrayOutput

func (GetEmailDomainsEmailDomainCollectionItemArray) ToGetEmailDomainsEmailDomainCollectionItemArrayOutputWithContext

func (i GetEmailDomainsEmailDomainCollectionItemArray) ToGetEmailDomainsEmailDomainCollectionItemArrayOutputWithContext(ctx context.Context) GetEmailDomainsEmailDomainCollectionItemArrayOutput

type GetEmailDomainsEmailDomainCollectionItemArrayInput

type GetEmailDomainsEmailDomainCollectionItemArrayInput interface {
	pulumi.Input

	ToGetEmailDomainsEmailDomainCollectionItemArrayOutput() GetEmailDomainsEmailDomainCollectionItemArrayOutput
	ToGetEmailDomainsEmailDomainCollectionItemArrayOutputWithContext(context.Context) GetEmailDomainsEmailDomainCollectionItemArrayOutput
}

GetEmailDomainsEmailDomainCollectionItemArrayInput is an input type that accepts GetEmailDomainsEmailDomainCollectionItemArray and GetEmailDomainsEmailDomainCollectionItemArrayOutput values. You can construct a concrete instance of `GetEmailDomainsEmailDomainCollectionItemArrayInput` via:

GetEmailDomainsEmailDomainCollectionItemArray{ GetEmailDomainsEmailDomainCollectionItemArgs{...} }

type GetEmailDomainsEmailDomainCollectionItemArrayOutput

type GetEmailDomainsEmailDomainCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetEmailDomainsEmailDomainCollectionItemArrayOutput) ElementType

func (GetEmailDomainsEmailDomainCollectionItemArrayOutput) Index

func (GetEmailDomainsEmailDomainCollectionItemArrayOutput) ToGetEmailDomainsEmailDomainCollectionItemArrayOutput

func (o GetEmailDomainsEmailDomainCollectionItemArrayOutput) ToGetEmailDomainsEmailDomainCollectionItemArrayOutput() GetEmailDomainsEmailDomainCollectionItemArrayOutput

func (GetEmailDomainsEmailDomainCollectionItemArrayOutput) ToGetEmailDomainsEmailDomainCollectionItemArrayOutputWithContext

func (o GetEmailDomainsEmailDomainCollectionItemArrayOutput) ToGetEmailDomainsEmailDomainCollectionItemArrayOutputWithContext(ctx context.Context) GetEmailDomainsEmailDomainCollectionItemArrayOutput

type GetEmailDomainsEmailDomainCollectionItemInput

type GetEmailDomainsEmailDomainCollectionItemInput interface {
	pulumi.Input

	ToGetEmailDomainsEmailDomainCollectionItemOutput() GetEmailDomainsEmailDomainCollectionItemOutput
	ToGetEmailDomainsEmailDomainCollectionItemOutputWithContext(context.Context) GetEmailDomainsEmailDomainCollectionItemOutput
}

GetEmailDomainsEmailDomainCollectionItemInput is an input type that accepts GetEmailDomainsEmailDomainCollectionItemArgs and GetEmailDomainsEmailDomainCollectionItemOutput values. You can construct a concrete instance of `GetEmailDomainsEmailDomainCollectionItemInput` via:

GetEmailDomainsEmailDomainCollectionItemArgs{...}

type GetEmailDomainsEmailDomainCollectionItemOutput

type GetEmailDomainsEmailDomainCollectionItemOutput struct{ *pulumi.OutputState }

func (GetEmailDomainsEmailDomainCollectionItemOutput) ActiveDkimId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DKIM key that will be used to sign mail sent from this email domain.

func (GetEmailDomainsEmailDomainCollectionItemOutput) CompartmentId

The OCID for the compartment.

func (GetEmailDomainsEmailDomainCollectionItemOutput) DefinedTags

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"}`

func (GetEmailDomainsEmailDomainCollectionItemOutput) Description

The description of an email domain.

func (GetEmailDomainsEmailDomainCollectionItemOutput) DomainVerificationId

Id for Domain in Domain Management (under governance) if DOMAINID verification method used.

func (GetEmailDomainsEmailDomainCollectionItemOutput) DomainVerificationStatus

The current domain verification status.

func (GetEmailDomainsEmailDomainCollectionItemOutput) ElementType

func (GetEmailDomainsEmailDomainCollectionItemOutput) FreeformTags

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"}`

func (GetEmailDomainsEmailDomainCollectionItemOutput) Id

A filter to only return resources that match the given id exactly.

func (GetEmailDomainsEmailDomainCollectionItemOutput) IsSpf

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).

func (GetEmailDomainsEmailDomainCollectionItemOutput) Name

A filter to only return resources that match the given name exactly.

func (GetEmailDomainsEmailDomainCollectionItemOutput) State

Filter returned list by specified lifecycle state. This parameter is case-insensitive.

func (GetEmailDomainsEmailDomainCollectionItemOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (GetEmailDomainsEmailDomainCollectionItemOutput) TimeCreated

The time the email domain was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, "YYYY-MM-ddThh:mmZ". Example: `2021-02-12T22:47:12.613Z`

func (GetEmailDomainsEmailDomainCollectionItemOutput) ToGetEmailDomainsEmailDomainCollectionItemOutput

func (o GetEmailDomainsEmailDomainCollectionItemOutput) ToGetEmailDomainsEmailDomainCollectionItemOutput() GetEmailDomainsEmailDomainCollectionItemOutput

func (GetEmailDomainsEmailDomainCollectionItemOutput) ToGetEmailDomainsEmailDomainCollectionItemOutputWithContext

func (o GetEmailDomainsEmailDomainCollectionItemOutput) ToGetEmailDomainsEmailDomainCollectionItemOutputWithContext(ctx context.Context) GetEmailDomainsEmailDomainCollectionItemOutput

type GetEmailDomainsEmailDomainCollectionOutput

type GetEmailDomainsEmailDomainCollectionOutput struct{ *pulumi.OutputState }

func (GetEmailDomainsEmailDomainCollectionOutput) ElementType

func (GetEmailDomainsEmailDomainCollectionOutput) Items

func (GetEmailDomainsEmailDomainCollectionOutput) ToGetEmailDomainsEmailDomainCollectionOutput

func (o GetEmailDomainsEmailDomainCollectionOutput) ToGetEmailDomainsEmailDomainCollectionOutput() GetEmailDomainsEmailDomainCollectionOutput

func (GetEmailDomainsEmailDomainCollectionOutput) ToGetEmailDomainsEmailDomainCollectionOutputWithContext

func (o GetEmailDomainsEmailDomainCollectionOutput) ToGetEmailDomainsEmailDomainCollectionOutputWithContext(ctx context.Context) GetEmailDomainsEmailDomainCollectionOutput

type GetEmailDomainsFilter

type GetEmailDomainsFilter struct {
	// A filter to only return resources that match the given name exactly.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetEmailDomainsFilterArgs

type GetEmailDomainsFilterArgs struct {
	// A filter to only return resources that match the given name exactly.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetEmailDomainsFilterArgs) ElementType

func (GetEmailDomainsFilterArgs) ElementType() reflect.Type

func (GetEmailDomainsFilterArgs) ToGetEmailDomainsFilterOutput

func (i GetEmailDomainsFilterArgs) ToGetEmailDomainsFilterOutput() GetEmailDomainsFilterOutput

func (GetEmailDomainsFilterArgs) ToGetEmailDomainsFilterOutputWithContext

func (i GetEmailDomainsFilterArgs) ToGetEmailDomainsFilterOutputWithContext(ctx context.Context) GetEmailDomainsFilterOutput

type GetEmailDomainsFilterArray

type GetEmailDomainsFilterArray []GetEmailDomainsFilterInput

func (GetEmailDomainsFilterArray) ElementType

func (GetEmailDomainsFilterArray) ElementType() reflect.Type

func (GetEmailDomainsFilterArray) ToGetEmailDomainsFilterArrayOutput

func (i GetEmailDomainsFilterArray) ToGetEmailDomainsFilterArrayOutput() GetEmailDomainsFilterArrayOutput

func (GetEmailDomainsFilterArray) ToGetEmailDomainsFilterArrayOutputWithContext

func (i GetEmailDomainsFilterArray) ToGetEmailDomainsFilterArrayOutputWithContext(ctx context.Context) GetEmailDomainsFilterArrayOutput

type GetEmailDomainsFilterArrayInput

type GetEmailDomainsFilterArrayInput interface {
	pulumi.Input

	ToGetEmailDomainsFilterArrayOutput() GetEmailDomainsFilterArrayOutput
	ToGetEmailDomainsFilterArrayOutputWithContext(context.Context) GetEmailDomainsFilterArrayOutput
}

GetEmailDomainsFilterArrayInput is an input type that accepts GetEmailDomainsFilterArray and GetEmailDomainsFilterArrayOutput values. You can construct a concrete instance of `GetEmailDomainsFilterArrayInput` via:

GetEmailDomainsFilterArray{ GetEmailDomainsFilterArgs{...} }

type GetEmailDomainsFilterArrayOutput

type GetEmailDomainsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetEmailDomainsFilterArrayOutput) ElementType

func (GetEmailDomainsFilterArrayOutput) Index

func (GetEmailDomainsFilterArrayOutput) ToGetEmailDomainsFilterArrayOutput

func (o GetEmailDomainsFilterArrayOutput) ToGetEmailDomainsFilterArrayOutput() GetEmailDomainsFilterArrayOutput

func (GetEmailDomainsFilterArrayOutput) ToGetEmailDomainsFilterArrayOutputWithContext

func (o GetEmailDomainsFilterArrayOutput) ToGetEmailDomainsFilterArrayOutputWithContext(ctx context.Context) GetEmailDomainsFilterArrayOutput

type GetEmailDomainsFilterInput

type GetEmailDomainsFilterInput interface {
	pulumi.Input

	ToGetEmailDomainsFilterOutput() GetEmailDomainsFilterOutput
	ToGetEmailDomainsFilterOutputWithContext(context.Context) GetEmailDomainsFilterOutput
}

GetEmailDomainsFilterInput is an input type that accepts GetEmailDomainsFilterArgs and GetEmailDomainsFilterOutput values. You can construct a concrete instance of `GetEmailDomainsFilterInput` via:

GetEmailDomainsFilterArgs{...}

type GetEmailDomainsFilterOutput

type GetEmailDomainsFilterOutput struct{ *pulumi.OutputState }

func (GetEmailDomainsFilterOutput) ElementType

func (GetEmailDomainsFilterOutput) Name

A filter to only return resources that match the given name exactly.

func (GetEmailDomainsFilterOutput) Regex

func (GetEmailDomainsFilterOutput) ToGetEmailDomainsFilterOutput

func (o GetEmailDomainsFilterOutput) ToGetEmailDomainsFilterOutput() GetEmailDomainsFilterOutput

func (GetEmailDomainsFilterOutput) ToGetEmailDomainsFilterOutputWithContext

func (o GetEmailDomainsFilterOutput) ToGetEmailDomainsFilterOutputWithContext(ctx context.Context) GetEmailDomainsFilterOutput

func (GetEmailDomainsFilterOutput) Values

type GetEmailDomainsOutputArgs

type GetEmailDomainsOutputArgs struct {
	// The OCID for the compartment.
	CompartmentId pulumi.StringInput              `pulumi:"compartmentId"`
	Filters       GetEmailDomainsFilterArrayInput `pulumi:"filters"`
	// A filter to only return resources that match the given id exactly.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A filter to only return resources that match the given name exactly.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Filter returned list by specified lifecycle state. This parameter is case-insensitive.
	State pulumi.StringPtrInput `pulumi:"state"`
}

A collection of arguments for invoking getEmailDomains.

func (GetEmailDomainsOutputArgs) ElementType

func (GetEmailDomainsOutputArgs) ElementType() reflect.Type

type GetEmailDomainsResult

type GetEmailDomainsResult struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this email domain.
	CompartmentId string `pulumi:"compartmentId"`
	// The list of email_domain_collection.
	EmailDomainCollections []GetEmailDomainsEmailDomainCollection `pulumi:"emailDomainCollections"`
	Filters                []GetEmailDomainsFilter                `pulumi:"filters"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email domain.
	Id *string `pulumi:"id"`
	// The name of the email domain in the Internet Domain Name System (DNS).  Example: `mydomain.example.com`
	Name *string `pulumi:"name"`
	// The current state of the email domain.
	State *string `pulumi:"state"`
}

A collection of values returned by getEmailDomains.

func GetEmailDomains

func GetEmailDomains(ctx *pulumi.Context, args *GetEmailDomainsArgs, opts ...pulumi.InvokeOption) (*GetEmailDomainsResult, error)

This data source provides the list of Email Domains in Oracle Cloud Infrastructure Email service.

Lists email domains in the specified compartment.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Email"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.GetEmailDomains(ctx, &email.GetEmailDomainsArgs{
			CompartmentId: compartmentId,
			Id:            pulumi.StringRef(emailDomainId),
			Name:          pulumi.StringRef(emailDomainName),
			State:         pulumi.StringRef(emailDomainState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetEmailDomainsResultOutput

type GetEmailDomainsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEmailDomains.

func (GetEmailDomainsResultOutput) CompartmentId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this email domain.

func (GetEmailDomainsResultOutput) ElementType

func (GetEmailDomainsResultOutput) EmailDomainCollections

The list of email_domain_collection.

func (GetEmailDomainsResultOutput) Filters

func (GetEmailDomainsResultOutput) Id

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email domain.

func (GetEmailDomainsResultOutput) Name

The name of the email domain in the Internet Domain Name System (DNS). Example: `mydomain.example.com`

func (GetEmailDomainsResultOutput) State

The current state of the email domain.

func (GetEmailDomainsResultOutput) ToGetEmailDomainsResultOutput

func (o GetEmailDomainsResultOutput) ToGetEmailDomainsResultOutput() GetEmailDomainsResultOutput

func (GetEmailDomainsResultOutput) ToGetEmailDomainsResultOutputWithContext

func (o GetEmailDomainsResultOutput) ToGetEmailDomainsResultOutputWithContext(ctx context.Context) GetEmailDomainsResultOutput

type GetEmailReturnPathsArgs

type GetEmailReturnPathsArgs struct {
	// The OCID for the compartment.
	CompartmentId *string                     `pulumi:"compartmentId"`
	Filters       []GetEmailReturnPathsFilter `pulumi:"filters"`
	// A filter to only return resources that match the given id exactly.
	Id *string `pulumi:"id"`
	// A filter to only return resources that match the given name exactly.
	Name *string `pulumi:"name"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Email Domain to which this Email Return Path belongs.
	ParentResourceId *string `pulumi:"parentResourceId"`
	// Filter returned list by specified lifecycle state. This parameter is case-insensitive.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getEmailReturnPaths.

type GetEmailReturnPathsEmailReturnPathCollection

type GetEmailReturnPathsEmailReturnPathCollection struct {
	Items []GetEmailReturnPathsEmailReturnPathCollectionItem `pulumi:"items"`
}

type GetEmailReturnPathsEmailReturnPathCollectionArgs

type GetEmailReturnPathsEmailReturnPathCollectionArgs struct {
	Items GetEmailReturnPathsEmailReturnPathCollectionItemArrayInput `pulumi:"items"`
}

func (GetEmailReturnPathsEmailReturnPathCollectionArgs) ElementType

func (GetEmailReturnPathsEmailReturnPathCollectionArgs) ToGetEmailReturnPathsEmailReturnPathCollectionOutput

func (i GetEmailReturnPathsEmailReturnPathCollectionArgs) ToGetEmailReturnPathsEmailReturnPathCollectionOutput() GetEmailReturnPathsEmailReturnPathCollectionOutput

func (GetEmailReturnPathsEmailReturnPathCollectionArgs) ToGetEmailReturnPathsEmailReturnPathCollectionOutputWithContext

func (i GetEmailReturnPathsEmailReturnPathCollectionArgs) ToGetEmailReturnPathsEmailReturnPathCollectionOutputWithContext(ctx context.Context) GetEmailReturnPathsEmailReturnPathCollectionOutput

type GetEmailReturnPathsEmailReturnPathCollectionArray

type GetEmailReturnPathsEmailReturnPathCollectionArray []GetEmailReturnPathsEmailReturnPathCollectionInput

func (GetEmailReturnPathsEmailReturnPathCollectionArray) ElementType

func (GetEmailReturnPathsEmailReturnPathCollectionArray) ToGetEmailReturnPathsEmailReturnPathCollectionArrayOutput

func (i GetEmailReturnPathsEmailReturnPathCollectionArray) ToGetEmailReturnPathsEmailReturnPathCollectionArrayOutput() GetEmailReturnPathsEmailReturnPathCollectionArrayOutput

func (GetEmailReturnPathsEmailReturnPathCollectionArray) ToGetEmailReturnPathsEmailReturnPathCollectionArrayOutputWithContext

func (i GetEmailReturnPathsEmailReturnPathCollectionArray) ToGetEmailReturnPathsEmailReturnPathCollectionArrayOutputWithContext(ctx context.Context) GetEmailReturnPathsEmailReturnPathCollectionArrayOutput

type GetEmailReturnPathsEmailReturnPathCollectionArrayInput

type GetEmailReturnPathsEmailReturnPathCollectionArrayInput interface {
	pulumi.Input

	ToGetEmailReturnPathsEmailReturnPathCollectionArrayOutput() GetEmailReturnPathsEmailReturnPathCollectionArrayOutput
	ToGetEmailReturnPathsEmailReturnPathCollectionArrayOutputWithContext(context.Context) GetEmailReturnPathsEmailReturnPathCollectionArrayOutput
}

GetEmailReturnPathsEmailReturnPathCollectionArrayInput is an input type that accepts GetEmailReturnPathsEmailReturnPathCollectionArray and GetEmailReturnPathsEmailReturnPathCollectionArrayOutput values. You can construct a concrete instance of `GetEmailReturnPathsEmailReturnPathCollectionArrayInput` via:

GetEmailReturnPathsEmailReturnPathCollectionArray{ GetEmailReturnPathsEmailReturnPathCollectionArgs{...} }

type GetEmailReturnPathsEmailReturnPathCollectionArrayOutput

type GetEmailReturnPathsEmailReturnPathCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetEmailReturnPathsEmailReturnPathCollectionArrayOutput) ElementType

func (GetEmailReturnPathsEmailReturnPathCollectionArrayOutput) Index

func (GetEmailReturnPathsEmailReturnPathCollectionArrayOutput) ToGetEmailReturnPathsEmailReturnPathCollectionArrayOutput

func (GetEmailReturnPathsEmailReturnPathCollectionArrayOutput) ToGetEmailReturnPathsEmailReturnPathCollectionArrayOutputWithContext

func (o GetEmailReturnPathsEmailReturnPathCollectionArrayOutput) ToGetEmailReturnPathsEmailReturnPathCollectionArrayOutputWithContext(ctx context.Context) GetEmailReturnPathsEmailReturnPathCollectionArrayOutput

type GetEmailReturnPathsEmailReturnPathCollectionInput

type GetEmailReturnPathsEmailReturnPathCollectionInput interface {
	pulumi.Input

	ToGetEmailReturnPathsEmailReturnPathCollectionOutput() GetEmailReturnPathsEmailReturnPathCollectionOutput
	ToGetEmailReturnPathsEmailReturnPathCollectionOutputWithContext(context.Context) GetEmailReturnPathsEmailReturnPathCollectionOutput
}

GetEmailReturnPathsEmailReturnPathCollectionInput is an input type that accepts GetEmailReturnPathsEmailReturnPathCollectionArgs and GetEmailReturnPathsEmailReturnPathCollectionOutput values. You can construct a concrete instance of `GetEmailReturnPathsEmailReturnPathCollectionInput` via:

GetEmailReturnPathsEmailReturnPathCollectionArgs{...}

type GetEmailReturnPathsEmailReturnPathCollectionItem

type GetEmailReturnPathsEmailReturnPathCollectionItem struct {
	// The DNS CNAME record value to provision to the Return Patn DNS subdomain, when using the CNAME method for Email Return Path setup (preferred).
	CnameRecordValue string `pulumi:"cnameRecordValue"`
	// The OCID for the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// 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"}`
	DefinedTags map[string]string `pulumi:"definedTags"`
	// The description of the email return path. Avoid entering confidential information.
	Description string `pulumi:"description"`
	// The name of the DNS subdomain that must be provisioned to enable email recipients to verify Email Return Path. It is usually created with a CNAME record set to the cnameRecordValue.
	DnsSubdomainName string `pulumi:"dnsSubdomainName"`
	// 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"}`
	FreeformTags map[string]string `pulumi:"freeformTags"`
	// A filter to only return resources that match the given id exactly.
	Id string `pulumi:"id"`
	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.
	LifecycleDetails string `pulumi:"lifecycleDetails"`
	// A filter to only return resources that match the given name exactly.
	Name string `pulumi:"name"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Email Domain to which this Email Return Path belongs.
	ParentResourceId string `pulumi:"parentResourceId"`
	// Filter returned list by specified lifecycle state. This parameter is case-insensitive.
	State string `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]string `pulumi:"systemTags"`
	// The time the email return path 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`
	TimeCreated string `pulumi:"timeCreated"`
	// The time of the last change to the Email Return Path 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".
	TimeUpdated string `pulumi:"timeUpdated"`
}

type GetEmailReturnPathsEmailReturnPathCollectionItemArgs

type GetEmailReturnPathsEmailReturnPathCollectionItemArgs struct {
	// The DNS CNAME record value to provision to the Return Patn DNS subdomain, when using the CNAME method for Email Return Path setup (preferred).
	CnameRecordValue pulumi.StringInput `pulumi:"cnameRecordValue"`
	// The OCID for the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// 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"}`
	DefinedTags pulumi.StringMapInput `pulumi:"definedTags"`
	// The description of the email return path. Avoid entering confidential information.
	Description pulumi.StringInput `pulumi:"description"`
	// The name of the DNS subdomain that must be provisioned to enable email recipients to verify Email Return Path. It is usually created with a CNAME record set to the cnameRecordValue.
	DnsSubdomainName pulumi.StringInput `pulumi:"dnsSubdomainName"`
	// 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"}`
	FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"`
	// A filter to only return resources that match the given id exactly.
	Id pulumi.StringInput `pulumi:"id"`
	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.
	LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"`
	// A filter to only return resources that match the given name exactly.
	Name pulumi.StringInput `pulumi:"name"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Email Domain to which this Email Return Path belongs.
	ParentResourceId pulumi.StringInput `pulumi:"parentResourceId"`
	// Filter returned list by specified lifecycle state. This parameter is case-insensitive.
	State pulumi.StringInput `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.StringMapInput `pulumi:"systemTags"`
	// The time the email return path 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`
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The time of the last change to the Email Return Path 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".
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
}

func (GetEmailReturnPathsEmailReturnPathCollectionItemArgs) ElementType

func (GetEmailReturnPathsEmailReturnPathCollectionItemArgs) ToGetEmailReturnPathsEmailReturnPathCollectionItemOutput

func (i GetEmailReturnPathsEmailReturnPathCollectionItemArgs) ToGetEmailReturnPathsEmailReturnPathCollectionItemOutput() GetEmailReturnPathsEmailReturnPathCollectionItemOutput

func (GetEmailReturnPathsEmailReturnPathCollectionItemArgs) ToGetEmailReturnPathsEmailReturnPathCollectionItemOutputWithContext

func (i GetEmailReturnPathsEmailReturnPathCollectionItemArgs) ToGetEmailReturnPathsEmailReturnPathCollectionItemOutputWithContext(ctx context.Context) GetEmailReturnPathsEmailReturnPathCollectionItemOutput

type GetEmailReturnPathsEmailReturnPathCollectionItemArray

type GetEmailReturnPathsEmailReturnPathCollectionItemArray []GetEmailReturnPathsEmailReturnPathCollectionItemInput

func (GetEmailReturnPathsEmailReturnPathCollectionItemArray) ElementType

func (GetEmailReturnPathsEmailReturnPathCollectionItemArray) ToGetEmailReturnPathsEmailReturnPathCollectionItemArrayOutput

func (i GetEmailReturnPathsEmailReturnPathCollectionItemArray) ToGetEmailReturnPathsEmailReturnPathCollectionItemArrayOutput() GetEmailReturnPathsEmailReturnPathCollectionItemArrayOutput

func (GetEmailReturnPathsEmailReturnPathCollectionItemArray) ToGetEmailReturnPathsEmailReturnPathCollectionItemArrayOutputWithContext

func (i GetEmailReturnPathsEmailReturnPathCollectionItemArray) ToGetEmailReturnPathsEmailReturnPathCollectionItemArrayOutputWithContext(ctx context.Context) GetEmailReturnPathsEmailReturnPathCollectionItemArrayOutput

type GetEmailReturnPathsEmailReturnPathCollectionItemArrayInput

type GetEmailReturnPathsEmailReturnPathCollectionItemArrayInput interface {
	pulumi.Input

	ToGetEmailReturnPathsEmailReturnPathCollectionItemArrayOutput() GetEmailReturnPathsEmailReturnPathCollectionItemArrayOutput
	ToGetEmailReturnPathsEmailReturnPathCollectionItemArrayOutputWithContext(context.Context) GetEmailReturnPathsEmailReturnPathCollectionItemArrayOutput
}

GetEmailReturnPathsEmailReturnPathCollectionItemArrayInput is an input type that accepts GetEmailReturnPathsEmailReturnPathCollectionItemArray and GetEmailReturnPathsEmailReturnPathCollectionItemArrayOutput values. You can construct a concrete instance of `GetEmailReturnPathsEmailReturnPathCollectionItemArrayInput` via:

GetEmailReturnPathsEmailReturnPathCollectionItemArray{ GetEmailReturnPathsEmailReturnPathCollectionItemArgs{...} }

type GetEmailReturnPathsEmailReturnPathCollectionItemArrayOutput

type GetEmailReturnPathsEmailReturnPathCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetEmailReturnPathsEmailReturnPathCollectionItemArrayOutput) ElementType

func (GetEmailReturnPathsEmailReturnPathCollectionItemArrayOutput) Index

func (GetEmailReturnPathsEmailReturnPathCollectionItemArrayOutput) ToGetEmailReturnPathsEmailReturnPathCollectionItemArrayOutput

func (GetEmailReturnPathsEmailReturnPathCollectionItemArrayOutput) ToGetEmailReturnPathsEmailReturnPathCollectionItemArrayOutputWithContext

func (o GetEmailReturnPathsEmailReturnPathCollectionItemArrayOutput) ToGetEmailReturnPathsEmailReturnPathCollectionItemArrayOutputWithContext(ctx context.Context) GetEmailReturnPathsEmailReturnPathCollectionItemArrayOutput

type GetEmailReturnPathsEmailReturnPathCollectionItemInput

type GetEmailReturnPathsEmailReturnPathCollectionItemInput interface {
	pulumi.Input

	ToGetEmailReturnPathsEmailReturnPathCollectionItemOutput() GetEmailReturnPathsEmailReturnPathCollectionItemOutput
	ToGetEmailReturnPathsEmailReturnPathCollectionItemOutputWithContext(context.Context) GetEmailReturnPathsEmailReturnPathCollectionItemOutput
}

GetEmailReturnPathsEmailReturnPathCollectionItemInput is an input type that accepts GetEmailReturnPathsEmailReturnPathCollectionItemArgs and GetEmailReturnPathsEmailReturnPathCollectionItemOutput values. You can construct a concrete instance of `GetEmailReturnPathsEmailReturnPathCollectionItemInput` via:

GetEmailReturnPathsEmailReturnPathCollectionItemArgs{...}

type GetEmailReturnPathsEmailReturnPathCollectionItemOutput

type GetEmailReturnPathsEmailReturnPathCollectionItemOutput struct{ *pulumi.OutputState }

func (GetEmailReturnPathsEmailReturnPathCollectionItemOutput) CnameRecordValue

The DNS CNAME record value to provision to the Return Patn DNS subdomain, when using the CNAME method for Email Return Path setup (preferred).

func (GetEmailReturnPathsEmailReturnPathCollectionItemOutput) CompartmentId

The OCID for the compartment.

func (GetEmailReturnPathsEmailReturnPathCollectionItemOutput) DefinedTags

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"}`

func (GetEmailReturnPathsEmailReturnPathCollectionItemOutput) Description

The description of the email return path. Avoid entering confidential information.

func (GetEmailReturnPathsEmailReturnPathCollectionItemOutput) DnsSubdomainName

The name of the DNS subdomain that must be provisioned to enable email recipients to verify Email Return Path. It is usually created with a CNAME record set to the cnameRecordValue.

func (GetEmailReturnPathsEmailReturnPathCollectionItemOutput) ElementType

func (GetEmailReturnPathsEmailReturnPathCollectionItemOutput) FreeformTags

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"}`

func (GetEmailReturnPathsEmailReturnPathCollectionItemOutput) Id

A filter to only return resources that match the given id exactly.

func (GetEmailReturnPathsEmailReturnPathCollectionItemOutput) LifecycleDetails

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.

func (GetEmailReturnPathsEmailReturnPathCollectionItemOutput) Name

A filter to only return resources that match the given name exactly.

func (GetEmailReturnPathsEmailReturnPathCollectionItemOutput) ParentResourceId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Email Domain to which this Email Return Path belongs.

func (GetEmailReturnPathsEmailReturnPathCollectionItemOutput) State

Filter returned list by specified lifecycle state. This parameter is case-insensitive.

func (GetEmailReturnPathsEmailReturnPathCollectionItemOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (GetEmailReturnPathsEmailReturnPathCollectionItemOutput) TimeCreated

The time the email return path 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`

func (GetEmailReturnPathsEmailReturnPathCollectionItemOutput) TimeUpdated

The time of the last change to the Email Return Path 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".

func (GetEmailReturnPathsEmailReturnPathCollectionItemOutput) ToGetEmailReturnPathsEmailReturnPathCollectionItemOutput

func (GetEmailReturnPathsEmailReturnPathCollectionItemOutput) ToGetEmailReturnPathsEmailReturnPathCollectionItemOutputWithContext

func (o GetEmailReturnPathsEmailReturnPathCollectionItemOutput) ToGetEmailReturnPathsEmailReturnPathCollectionItemOutputWithContext(ctx context.Context) GetEmailReturnPathsEmailReturnPathCollectionItemOutput

type GetEmailReturnPathsEmailReturnPathCollectionOutput

type GetEmailReturnPathsEmailReturnPathCollectionOutput struct{ *pulumi.OutputState }

func (GetEmailReturnPathsEmailReturnPathCollectionOutput) ElementType

func (GetEmailReturnPathsEmailReturnPathCollectionOutput) Items

func (GetEmailReturnPathsEmailReturnPathCollectionOutput) ToGetEmailReturnPathsEmailReturnPathCollectionOutput

func (o GetEmailReturnPathsEmailReturnPathCollectionOutput) ToGetEmailReturnPathsEmailReturnPathCollectionOutput() GetEmailReturnPathsEmailReturnPathCollectionOutput

func (GetEmailReturnPathsEmailReturnPathCollectionOutput) ToGetEmailReturnPathsEmailReturnPathCollectionOutputWithContext

func (o GetEmailReturnPathsEmailReturnPathCollectionOutput) ToGetEmailReturnPathsEmailReturnPathCollectionOutputWithContext(ctx context.Context) GetEmailReturnPathsEmailReturnPathCollectionOutput

type GetEmailReturnPathsFilter

type GetEmailReturnPathsFilter struct {
	// A filter to only return resources that match the given name exactly.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetEmailReturnPathsFilterArgs

type GetEmailReturnPathsFilterArgs struct {
	// A filter to only return resources that match the given name exactly.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetEmailReturnPathsFilterArgs) ElementType

func (GetEmailReturnPathsFilterArgs) ToGetEmailReturnPathsFilterOutput

func (i GetEmailReturnPathsFilterArgs) ToGetEmailReturnPathsFilterOutput() GetEmailReturnPathsFilterOutput

func (GetEmailReturnPathsFilterArgs) ToGetEmailReturnPathsFilterOutputWithContext

func (i GetEmailReturnPathsFilterArgs) ToGetEmailReturnPathsFilterOutputWithContext(ctx context.Context) GetEmailReturnPathsFilterOutput

type GetEmailReturnPathsFilterArray

type GetEmailReturnPathsFilterArray []GetEmailReturnPathsFilterInput

func (GetEmailReturnPathsFilterArray) ElementType

func (GetEmailReturnPathsFilterArray) ToGetEmailReturnPathsFilterArrayOutput

func (i GetEmailReturnPathsFilterArray) ToGetEmailReturnPathsFilterArrayOutput() GetEmailReturnPathsFilterArrayOutput

func (GetEmailReturnPathsFilterArray) ToGetEmailReturnPathsFilterArrayOutputWithContext

func (i GetEmailReturnPathsFilterArray) ToGetEmailReturnPathsFilterArrayOutputWithContext(ctx context.Context) GetEmailReturnPathsFilterArrayOutput

type GetEmailReturnPathsFilterArrayInput

type GetEmailReturnPathsFilterArrayInput interface {
	pulumi.Input

	ToGetEmailReturnPathsFilterArrayOutput() GetEmailReturnPathsFilterArrayOutput
	ToGetEmailReturnPathsFilterArrayOutputWithContext(context.Context) GetEmailReturnPathsFilterArrayOutput
}

GetEmailReturnPathsFilterArrayInput is an input type that accepts GetEmailReturnPathsFilterArray and GetEmailReturnPathsFilterArrayOutput values. You can construct a concrete instance of `GetEmailReturnPathsFilterArrayInput` via:

GetEmailReturnPathsFilterArray{ GetEmailReturnPathsFilterArgs{...} }

type GetEmailReturnPathsFilterArrayOutput

type GetEmailReturnPathsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetEmailReturnPathsFilterArrayOutput) ElementType

func (GetEmailReturnPathsFilterArrayOutput) Index

func (GetEmailReturnPathsFilterArrayOutput) ToGetEmailReturnPathsFilterArrayOutput

func (o GetEmailReturnPathsFilterArrayOutput) ToGetEmailReturnPathsFilterArrayOutput() GetEmailReturnPathsFilterArrayOutput

func (GetEmailReturnPathsFilterArrayOutput) ToGetEmailReturnPathsFilterArrayOutputWithContext

func (o GetEmailReturnPathsFilterArrayOutput) ToGetEmailReturnPathsFilterArrayOutputWithContext(ctx context.Context) GetEmailReturnPathsFilterArrayOutput

type GetEmailReturnPathsFilterInput

type GetEmailReturnPathsFilterInput interface {
	pulumi.Input

	ToGetEmailReturnPathsFilterOutput() GetEmailReturnPathsFilterOutput
	ToGetEmailReturnPathsFilterOutputWithContext(context.Context) GetEmailReturnPathsFilterOutput
}

GetEmailReturnPathsFilterInput is an input type that accepts GetEmailReturnPathsFilterArgs and GetEmailReturnPathsFilterOutput values. You can construct a concrete instance of `GetEmailReturnPathsFilterInput` via:

GetEmailReturnPathsFilterArgs{...}

type GetEmailReturnPathsFilterOutput

type GetEmailReturnPathsFilterOutput struct{ *pulumi.OutputState }

func (GetEmailReturnPathsFilterOutput) ElementType

func (GetEmailReturnPathsFilterOutput) Name

A filter to only return resources that match the given name exactly.

func (GetEmailReturnPathsFilterOutput) Regex

func (GetEmailReturnPathsFilterOutput) ToGetEmailReturnPathsFilterOutput

func (o GetEmailReturnPathsFilterOutput) ToGetEmailReturnPathsFilterOutput() GetEmailReturnPathsFilterOutput

func (GetEmailReturnPathsFilterOutput) ToGetEmailReturnPathsFilterOutputWithContext

func (o GetEmailReturnPathsFilterOutput) ToGetEmailReturnPathsFilterOutputWithContext(ctx context.Context) GetEmailReturnPathsFilterOutput

func (GetEmailReturnPathsFilterOutput) Values

type GetEmailReturnPathsOutputArgs

type GetEmailReturnPathsOutputArgs struct {
	// The OCID for the compartment.
	CompartmentId pulumi.StringPtrInput               `pulumi:"compartmentId"`
	Filters       GetEmailReturnPathsFilterArrayInput `pulumi:"filters"`
	// A filter to only return resources that match the given id exactly.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A filter to only return resources that match the given name exactly.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Email Domain to which this Email Return Path belongs.
	ParentResourceId pulumi.StringPtrInput `pulumi:"parentResourceId"`
	// Filter returned list by specified lifecycle state. This parameter is case-insensitive.
	State pulumi.StringPtrInput `pulumi:"state"`
}

A collection of arguments for invoking getEmailReturnPaths.

func (GetEmailReturnPathsOutputArgs) ElementType

type GetEmailReturnPathsResult

type GetEmailReturnPathsResult struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this email return path.
	CompartmentId *string `pulumi:"compartmentId"`
	// The list of email_return_path_collection.
	EmailReturnPathCollections []GetEmailReturnPathsEmailReturnPathCollection `pulumi:"emailReturnPathCollections"`
	Filters                    []GetEmailReturnPathsFilter                    `pulumi:"filters"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email return path.
	Id *string `pulumi:"id"`
	// The email return path domain in the Internet Domain Name System (DNS).  Example: `iad1.rp.example.com`
	Name *string `pulumi:"name"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the EmailDomain that this email return path belongs to.
	ParentResourceId *string `pulumi:"parentResourceId"`
	// The current state of the email return path.
	State *string `pulumi:"state"`
}

A collection of values returned by getEmailReturnPaths.

func GetEmailReturnPaths

func GetEmailReturnPaths(ctx *pulumi.Context, args *GetEmailReturnPathsArgs, opts ...pulumi.InvokeOption) (*GetEmailReturnPathsResult, error)

This data source provides the list of Email Return Paths in Oracle Cloud Infrastructure Email service.

Lists email return paths in the specified compartment or emaildomain.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Email"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.GetEmailReturnPaths(ctx, &email.GetEmailReturnPathsArgs{
			CompartmentId:    pulumi.StringRef(compartmentId),
			Id:               pulumi.StringRef(emailReturnPathId),
			Name:             pulumi.StringRef(emailReturnPathName),
			ParentResourceId: pulumi.StringRef(testResource.Id),
			State:            pulumi.StringRef(emailReturnPathState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetEmailReturnPathsResultOutput

type GetEmailReturnPathsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEmailReturnPaths.

func (GetEmailReturnPathsResultOutput) CompartmentId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this email return path.

func (GetEmailReturnPathsResultOutput) ElementType

func (GetEmailReturnPathsResultOutput) EmailReturnPathCollections

The list of email_return_path_collection.

func (GetEmailReturnPathsResultOutput) Filters

func (GetEmailReturnPathsResultOutput) Id

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email return path.

func (GetEmailReturnPathsResultOutput) Name

The email return path domain in the Internet Domain Name System (DNS). Example: `iad1.rp.example.com`

func (GetEmailReturnPathsResultOutput) ParentResourceId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the EmailDomain that this email return path belongs to.

func (GetEmailReturnPathsResultOutput) State

The current state of the email return path.

func (GetEmailReturnPathsResultOutput) ToGetEmailReturnPathsResultOutput

func (o GetEmailReturnPathsResultOutput) ToGetEmailReturnPathsResultOutput() GetEmailReturnPathsResultOutput

func (GetEmailReturnPathsResultOutput) ToGetEmailReturnPathsResultOutputWithContext

func (o GetEmailReturnPathsResultOutput) ToGetEmailReturnPathsResultOutputWithContext(ctx context.Context) GetEmailReturnPathsResultOutput

type GetSendersArgs

type GetSendersArgs struct {
	// The OCID for the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// A filter to only return resources that match the given domain exactly.
	Domain *string `pulumi:"domain"`
	// The email address of the approved sender.
	EmailAddress *string            `pulumi:"emailAddress"`
	Filters      []GetSendersFilter `pulumi:"filters"`
	// The current state of a sender.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getSenders.

type GetSendersFilter

type GetSendersFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetSendersFilterArgs

type GetSendersFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSendersFilterArgs) ElementType

func (GetSendersFilterArgs) ElementType() reflect.Type

func (GetSendersFilterArgs) ToGetSendersFilterOutput

func (i GetSendersFilterArgs) ToGetSendersFilterOutput() GetSendersFilterOutput

func (GetSendersFilterArgs) ToGetSendersFilterOutputWithContext

func (i GetSendersFilterArgs) ToGetSendersFilterOutputWithContext(ctx context.Context) GetSendersFilterOutput

type GetSendersFilterArray

type GetSendersFilterArray []GetSendersFilterInput

func (GetSendersFilterArray) ElementType

func (GetSendersFilterArray) ElementType() reflect.Type

func (GetSendersFilterArray) ToGetSendersFilterArrayOutput

func (i GetSendersFilterArray) ToGetSendersFilterArrayOutput() GetSendersFilterArrayOutput

func (GetSendersFilterArray) ToGetSendersFilterArrayOutputWithContext

func (i GetSendersFilterArray) ToGetSendersFilterArrayOutputWithContext(ctx context.Context) GetSendersFilterArrayOutput

type GetSendersFilterArrayInput

type GetSendersFilterArrayInput interface {
	pulumi.Input

	ToGetSendersFilterArrayOutput() GetSendersFilterArrayOutput
	ToGetSendersFilterArrayOutputWithContext(context.Context) GetSendersFilterArrayOutput
}

GetSendersFilterArrayInput is an input type that accepts GetSendersFilterArray and GetSendersFilterArrayOutput values. You can construct a concrete instance of `GetSendersFilterArrayInput` via:

GetSendersFilterArray{ GetSendersFilterArgs{...} }

type GetSendersFilterArrayOutput

type GetSendersFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSendersFilterArrayOutput) ElementType

func (GetSendersFilterArrayOutput) Index

func (GetSendersFilterArrayOutput) ToGetSendersFilterArrayOutput

func (o GetSendersFilterArrayOutput) ToGetSendersFilterArrayOutput() GetSendersFilterArrayOutput

func (GetSendersFilterArrayOutput) ToGetSendersFilterArrayOutputWithContext

func (o GetSendersFilterArrayOutput) ToGetSendersFilterArrayOutputWithContext(ctx context.Context) GetSendersFilterArrayOutput

type GetSendersFilterInput

type GetSendersFilterInput interface {
	pulumi.Input

	ToGetSendersFilterOutput() GetSendersFilterOutput
	ToGetSendersFilterOutputWithContext(context.Context) GetSendersFilterOutput
}

GetSendersFilterInput is an input type that accepts GetSendersFilterArgs and GetSendersFilterOutput values. You can construct a concrete instance of `GetSendersFilterInput` via:

GetSendersFilterArgs{...}

type GetSendersFilterOutput

type GetSendersFilterOutput struct{ *pulumi.OutputState }

func (GetSendersFilterOutput) ElementType

func (GetSendersFilterOutput) ElementType() reflect.Type

func (GetSendersFilterOutput) Name

func (GetSendersFilterOutput) Regex

func (GetSendersFilterOutput) ToGetSendersFilterOutput

func (o GetSendersFilterOutput) ToGetSendersFilterOutput() GetSendersFilterOutput

func (GetSendersFilterOutput) ToGetSendersFilterOutputWithContext

func (o GetSendersFilterOutput) ToGetSendersFilterOutputWithContext(ctx context.Context) GetSendersFilterOutput

func (GetSendersFilterOutput) Values

type GetSendersOutputArgs

type GetSendersOutputArgs struct {
	// The OCID for the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// A filter to only return resources that match the given domain exactly.
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// The email address of the approved sender.
	EmailAddress pulumi.StringPtrInput      `pulumi:"emailAddress"`
	Filters      GetSendersFilterArrayInput `pulumi:"filters"`
	// The current state of a sender.
	State pulumi.StringPtrInput `pulumi:"state"`
}

A collection of arguments for invoking getSenders.

func (GetSendersOutputArgs) ElementType

func (GetSendersOutputArgs) ElementType() reflect.Type

type GetSendersResult

type GetSendersResult struct {
	// The OCID for the compartment.
	CompartmentId string  `pulumi:"compartmentId"`
	Domain        *string `pulumi:"domain"`
	// The email address of the sender.
	EmailAddress *string            `pulumi:"emailAddress"`
	Filters      []GetSendersFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of senders.
	Senders []GetSendersSender `pulumi:"senders"`
	// The current status of the approved sender.
	State *string `pulumi:"state"`
}

A collection of values returned by getSenders.

func GetSenders

func GetSenders(ctx *pulumi.Context, args *GetSendersArgs, opts ...pulumi.InvokeOption) (*GetSendersResult, error)

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

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Email"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.GetSenders(ctx, &email.GetSendersArgs{
			CompartmentId: compartmentId,
			Domain:        pulumi.StringRef(senderDomain),
			EmailAddress:  pulumi.StringRef(senderEmailAddress),
			State:         pulumi.StringRef(senderState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSendersResultOutput

type GetSendersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSenders.

func (GetSendersResultOutput) CompartmentId

func (o GetSendersResultOutput) CompartmentId() pulumi.StringOutput

The OCID for the compartment.

func (GetSendersResultOutput) Domain

func (GetSendersResultOutput) ElementType

func (GetSendersResultOutput) ElementType() reflect.Type

func (GetSendersResultOutput) EmailAddress

The email address of the sender.

func (GetSendersResultOutput) Filters

func (GetSendersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSendersResultOutput) Senders

The list of senders.

func (GetSendersResultOutput) State

The current status of the approved sender.

func (GetSendersResultOutput) ToGetSendersResultOutput

func (o GetSendersResultOutput) ToGetSendersResultOutput() GetSendersResultOutput

func (GetSendersResultOutput) ToGetSendersResultOutputWithContext

func (o GetSendersResultOutput) ToGetSendersResultOutputWithContext(ctx context.Context) GetSendersResultOutput

type GetSendersSender

type GetSendersSender struct {
	// The OCID for the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// 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"}`
	DefinedTags map[string]string `pulumi:"definedTags"`
	// The email address of the approved sender.
	EmailAddress string `pulumi:"emailAddress"`
	// The email domain used to assert responsibility for emails sent from this sender.
	EmailDomainId string `pulumi:"emailDomainId"`
	// 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"}`
	FreeformTags map[string]string `pulumi:"freeformTags"`
	// The unique OCID of the sender.
	Id string `pulumi:"id"`
	// 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).
	IsSpf bool `pulumi:"isSpf"`
	// The current state of a sender.
	State string `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]string `pulumi:"systemTags"`
	// 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).
	TimeCreated string `pulumi:"timeCreated"`
}

type GetSendersSenderArgs

type GetSendersSenderArgs struct {
	// The OCID for the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// 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"}`
	DefinedTags pulumi.StringMapInput `pulumi:"definedTags"`
	// The email address of the approved sender.
	EmailAddress pulumi.StringInput `pulumi:"emailAddress"`
	// The email domain used to assert responsibility for emails sent from this sender.
	EmailDomainId pulumi.StringInput `pulumi:"emailDomainId"`
	// 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"}`
	FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"`
	// The unique OCID of the sender.
	Id pulumi.StringInput `pulumi:"id"`
	// 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).
	IsSpf pulumi.BoolInput `pulumi:"isSpf"`
	// The current state of a sender.
	State pulumi.StringInput `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.StringMapInput `pulumi:"systemTags"`
	// 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).
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
}

func (GetSendersSenderArgs) ElementType

func (GetSendersSenderArgs) ElementType() reflect.Type

func (GetSendersSenderArgs) ToGetSendersSenderOutput

func (i GetSendersSenderArgs) ToGetSendersSenderOutput() GetSendersSenderOutput

func (GetSendersSenderArgs) ToGetSendersSenderOutputWithContext

func (i GetSendersSenderArgs) ToGetSendersSenderOutputWithContext(ctx context.Context) GetSendersSenderOutput

type GetSendersSenderArray

type GetSendersSenderArray []GetSendersSenderInput

func (GetSendersSenderArray) ElementType

func (GetSendersSenderArray) ElementType() reflect.Type

func (GetSendersSenderArray) ToGetSendersSenderArrayOutput

func (i GetSendersSenderArray) ToGetSendersSenderArrayOutput() GetSendersSenderArrayOutput

func (GetSendersSenderArray) ToGetSendersSenderArrayOutputWithContext

func (i GetSendersSenderArray) ToGetSendersSenderArrayOutputWithContext(ctx context.Context) GetSendersSenderArrayOutput

type GetSendersSenderArrayInput

type GetSendersSenderArrayInput interface {
	pulumi.Input

	ToGetSendersSenderArrayOutput() GetSendersSenderArrayOutput
	ToGetSendersSenderArrayOutputWithContext(context.Context) GetSendersSenderArrayOutput
}

GetSendersSenderArrayInput is an input type that accepts GetSendersSenderArray and GetSendersSenderArrayOutput values. You can construct a concrete instance of `GetSendersSenderArrayInput` via:

GetSendersSenderArray{ GetSendersSenderArgs{...} }

type GetSendersSenderArrayOutput

type GetSendersSenderArrayOutput struct{ *pulumi.OutputState }

func (GetSendersSenderArrayOutput) ElementType

func (GetSendersSenderArrayOutput) Index

func (GetSendersSenderArrayOutput) ToGetSendersSenderArrayOutput

func (o GetSendersSenderArrayOutput) ToGetSendersSenderArrayOutput() GetSendersSenderArrayOutput

func (GetSendersSenderArrayOutput) ToGetSendersSenderArrayOutputWithContext

func (o GetSendersSenderArrayOutput) ToGetSendersSenderArrayOutputWithContext(ctx context.Context) GetSendersSenderArrayOutput

type GetSendersSenderInput

type GetSendersSenderInput interface {
	pulumi.Input

	ToGetSendersSenderOutput() GetSendersSenderOutput
	ToGetSendersSenderOutputWithContext(context.Context) GetSendersSenderOutput
}

GetSendersSenderInput is an input type that accepts GetSendersSenderArgs and GetSendersSenderOutput values. You can construct a concrete instance of `GetSendersSenderInput` via:

GetSendersSenderArgs{...}

type GetSendersSenderOutput

type GetSendersSenderOutput struct{ *pulumi.OutputState }

func (GetSendersSenderOutput) CompartmentId

func (o GetSendersSenderOutput) CompartmentId() pulumi.StringOutput

The OCID for the compartment.

func (GetSendersSenderOutput) DefinedTags

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"}`

func (GetSendersSenderOutput) ElementType

func (GetSendersSenderOutput) ElementType() reflect.Type

func (GetSendersSenderOutput) EmailAddress

func (o GetSendersSenderOutput) EmailAddress() pulumi.StringOutput

The email address of the approved sender.

func (GetSendersSenderOutput) EmailDomainId

func (o GetSendersSenderOutput) EmailDomainId() pulumi.StringOutput

The email domain used to assert responsibility for emails sent from this sender.

func (GetSendersSenderOutput) FreeformTags

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"}`

func (GetSendersSenderOutput) Id

The unique OCID of the sender.

func (GetSendersSenderOutput) IsSpf

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).

func (GetSendersSenderOutput) State

The current state of a sender.

func (GetSendersSenderOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (GetSendersSenderOutput) TimeCreated

func (o GetSendersSenderOutput) TimeCreated() pulumi.StringOutput

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).

func (GetSendersSenderOutput) ToGetSendersSenderOutput

func (o GetSendersSenderOutput) ToGetSendersSenderOutput() GetSendersSenderOutput

func (GetSendersSenderOutput) ToGetSendersSenderOutputWithContext

func (o GetSendersSenderOutput) ToGetSendersSenderOutputWithContext(ctx context.Context) GetSendersSenderOutput

type GetSuppressionsArgs

type GetSuppressionsArgs struct {
	// The OCID for the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// The email address of the suppression.
	EmailAddress *string                 `pulumi:"emailAddress"`
	Filters      []GetSuppressionsFilter `pulumi:"filters"`
	// Search for suppressions that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding `timeCreatedLessThan` parameter will retrieve suppressions created from the given `timeCreatedGreaterThanOrEqualTo` to the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
	//
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedGreaterThanOrEqualTo *string `pulumi:"timeCreatedGreaterThanOrEqualTo"`
	// Search for suppressions that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding `timeCreatedGreaterThanOrEqualTo` parameter will retrieve all suppressions created before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
	//
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedLessThan *string `pulumi:"timeCreatedLessThan"`
}

A collection of arguments for invoking getSuppressions.

type GetSuppressionsFilter

type GetSuppressionsFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetSuppressionsFilterArgs

type GetSuppressionsFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSuppressionsFilterArgs) ElementType

func (GetSuppressionsFilterArgs) ElementType() reflect.Type

func (GetSuppressionsFilterArgs) ToGetSuppressionsFilterOutput

func (i GetSuppressionsFilterArgs) ToGetSuppressionsFilterOutput() GetSuppressionsFilterOutput

func (GetSuppressionsFilterArgs) ToGetSuppressionsFilterOutputWithContext

func (i GetSuppressionsFilterArgs) ToGetSuppressionsFilterOutputWithContext(ctx context.Context) GetSuppressionsFilterOutput

type GetSuppressionsFilterArray

type GetSuppressionsFilterArray []GetSuppressionsFilterInput

func (GetSuppressionsFilterArray) ElementType

func (GetSuppressionsFilterArray) ElementType() reflect.Type

func (GetSuppressionsFilterArray) ToGetSuppressionsFilterArrayOutput

func (i GetSuppressionsFilterArray) ToGetSuppressionsFilterArrayOutput() GetSuppressionsFilterArrayOutput

func (GetSuppressionsFilterArray) ToGetSuppressionsFilterArrayOutputWithContext

func (i GetSuppressionsFilterArray) ToGetSuppressionsFilterArrayOutputWithContext(ctx context.Context) GetSuppressionsFilterArrayOutput

type GetSuppressionsFilterArrayInput

type GetSuppressionsFilterArrayInput interface {
	pulumi.Input

	ToGetSuppressionsFilterArrayOutput() GetSuppressionsFilterArrayOutput
	ToGetSuppressionsFilterArrayOutputWithContext(context.Context) GetSuppressionsFilterArrayOutput
}

GetSuppressionsFilterArrayInput is an input type that accepts GetSuppressionsFilterArray and GetSuppressionsFilterArrayOutput values. You can construct a concrete instance of `GetSuppressionsFilterArrayInput` via:

GetSuppressionsFilterArray{ GetSuppressionsFilterArgs{...} }

type GetSuppressionsFilterArrayOutput

type GetSuppressionsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSuppressionsFilterArrayOutput) ElementType

func (GetSuppressionsFilterArrayOutput) Index

func (GetSuppressionsFilterArrayOutput) ToGetSuppressionsFilterArrayOutput

func (o GetSuppressionsFilterArrayOutput) ToGetSuppressionsFilterArrayOutput() GetSuppressionsFilterArrayOutput

func (GetSuppressionsFilterArrayOutput) ToGetSuppressionsFilterArrayOutputWithContext

func (o GetSuppressionsFilterArrayOutput) ToGetSuppressionsFilterArrayOutputWithContext(ctx context.Context) GetSuppressionsFilterArrayOutput

type GetSuppressionsFilterInput

type GetSuppressionsFilterInput interface {
	pulumi.Input

	ToGetSuppressionsFilterOutput() GetSuppressionsFilterOutput
	ToGetSuppressionsFilterOutputWithContext(context.Context) GetSuppressionsFilterOutput
}

GetSuppressionsFilterInput is an input type that accepts GetSuppressionsFilterArgs and GetSuppressionsFilterOutput values. You can construct a concrete instance of `GetSuppressionsFilterInput` via:

GetSuppressionsFilterArgs{...}

type GetSuppressionsFilterOutput

type GetSuppressionsFilterOutput struct{ *pulumi.OutputState }

func (GetSuppressionsFilterOutput) ElementType

func (GetSuppressionsFilterOutput) Name

func (GetSuppressionsFilterOutput) Regex

func (GetSuppressionsFilterOutput) ToGetSuppressionsFilterOutput

func (o GetSuppressionsFilterOutput) ToGetSuppressionsFilterOutput() GetSuppressionsFilterOutput

func (GetSuppressionsFilterOutput) ToGetSuppressionsFilterOutputWithContext

func (o GetSuppressionsFilterOutput) ToGetSuppressionsFilterOutputWithContext(ctx context.Context) GetSuppressionsFilterOutput

func (GetSuppressionsFilterOutput) Values

type GetSuppressionsOutputArgs

type GetSuppressionsOutputArgs struct {
	// The OCID for the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// The email address of the suppression.
	EmailAddress pulumi.StringPtrInput           `pulumi:"emailAddress"`
	Filters      GetSuppressionsFilterArrayInput `pulumi:"filters"`
	// Search for suppressions that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding `timeCreatedLessThan` parameter will retrieve suppressions created from the given `timeCreatedGreaterThanOrEqualTo` to the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
	//
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedGreaterThanOrEqualTo pulumi.StringPtrInput `pulumi:"timeCreatedGreaterThanOrEqualTo"`
	// Search for suppressions that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding `timeCreatedGreaterThanOrEqualTo` parameter will retrieve all suppressions created before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
	//
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedLessThan pulumi.StringPtrInput `pulumi:"timeCreatedLessThan"`
}

A collection of arguments for invoking getSuppressions.

func (GetSuppressionsOutputArgs) ElementType

func (GetSuppressionsOutputArgs) ElementType() reflect.Type

type GetSuppressionsResult

type GetSuppressionsResult struct {
	// The OCID of the compartment to contain the suppression. Since suppressions are at the customer level, this must be the tenancy OCID.
	CompartmentId string `pulumi:"compartmentId"`
	// The email address of the suppression.
	EmailAddress *string                 `pulumi:"emailAddress"`
	Filters      []GetSuppressionsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of suppressions.
	Suppressions                    []GetSuppressionsSuppression `pulumi:"suppressions"`
	TimeCreatedGreaterThanOrEqualTo *string                      `pulumi:"timeCreatedGreaterThanOrEqualTo"`
	TimeCreatedLessThan             *string                      `pulumi:"timeCreatedLessThan"`
}

A collection of values returned by getSuppressions.

func GetSuppressions

func GetSuppressions(ctx *pulumi.Context, args *GetSuppressionsArgs, opts ...pulumi.InvokeOption) (*GetSuppressionsResult, error)

This data source provides the list of Suppressions in Oracle Cloud Infrastructure Email service.

Gets a list of suppressed recipient email addresses for a user. The `compartmentId` for suppressions must be a tenancy OCID. The returned list is sorted by creation time in descending order.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Email"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.GetSuppressions(ctx, &email.GetSuppressionsArgs{
			CompartmentId:                   tenancyOcid,
			EmailAddress:                    pulumi.StringRef(suppressionEmailAddress),
			TimeCreatedGreaterThanOrEqualTo: pulumi.StringRef(suppressionTimeCreatedGreaterThanOrEqualTo),
			TimeCreatedLessThan:             pulumi.StringRef(suppressionTimeCreatedLessThan),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSuppressionsResultOutput

type GetSuppressionsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSuppressions.

func (GetSuppressionsResultOutput) CompartmentId

The OCID of the compartment to contain the suppression. Since suppressions are at the customer level, this must be the tenancy OCID.

func (GetSuppressionsResultOutput) ElementType

func (GetSuppressionsResultOutput) EmailAddress

The email address of the suppression.

func (GetSuppressionsResultOutput) Filters

func (GetSuppressionsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSuppressionsResultOutput) Suppressions

The list of suppressions.

func (GetSuppressionsResultOutput) TimeCreatedGreaterThanOrEqualTo

func (o GetSuppressionsResultOutput) TimeCreatedGreaterThanOrEqualTo() pulumi.StringPtrOutput

func (GetSuppressionsResultOutput) TimeCreatedLessThan

func (o GetSuppressionsResultOutput) TimeCreatedLessThan() pulumi.StringPtrOutput

func (GetSuppressionsResultOutput) ToGetSuppressionsResultOutput

func (o GetSuppressionsResultOutput) ToGetSuppressionsResultOutput() GetSuppressionsResultOutput

func (GetSuppressionsResultOutput) ToGetSuppressionsResultOutputWithContext

func (o GetSuppressionsResultOutput) ToGetSuppressionsResultOutputWithContext(ctx context.Context) GetSuppressionsResultOutput

type GetSuppressionsSuppression

type GetSuppressionsSuppression struct {
	// The OCID for the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// The email address of the suppression.
	EmailAddress string `pulumi:"emailAddress"`
	// The specific error message returned by a system that resulted in the suppression. This message is usually an SMTP error code with additional descriptive text. Not provided for all types of suppressions.
	ErrorDetail string `pulumi:"errorDetail"`
	// DNS name of the source of the error that caused the suppression. Will be set to either the remote-mta or reporting-mta field from a delivery status notification (RFC 3464) when available. Not provided for all types of suppressions, and not always known.
	ErrorSource string `pulumi:"errorSource"`
	// The unique OCID of the suppression.
	Id string `pulumi:"id"`
	// The value of the Message-ID header from the email that triggered a suppression. This value is as defined in RFC 5322 section 3.6.4, excluding angle-brackets. Not provided for all types of suppressions.
	MessageId string `pulumi:"messageId"`
	// The reason that the email address was suppressed. For more information on the types of bounces, see [Suppression List](https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm#components).
	Reason string `pulumi:"reason"`
	// The date and time a recipient's email address was added to the suppression list, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeCreated string `pulumi:"timeCreated"`
	// The last date and time the suppression prevented submission in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeLastSuppressed string `pulumi:"timeLastSuppressed"`
}

type GetSuppressionsSuppressionArgs

type GetSuppressionsSuppressionArgs struct {
	// The OCID for the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// The email address of the suppression.
	EmailAddress pulumi.StringInput `pulumi:"emailAddress"`
	// The specific error message returned by a system that resulted in the suppression. This message is usually an SMTP error code with additional descriptive text. Not provided for all types of suppressions.
	ErrorDetail pulumi.StringInput `pulumi:"errorDetail"`
	// DNS name of the source of the error that caused the suppression. Will be set to either the remote-mta or reporting-mta field from a delivery status notification (RFC 3464) when available. Not provided for all types of suppressions, and not always known.
	ErrorSource pulumi.StringInput `pulumi:"errorSource"`
	// The unique OCID of the suppression.
	Id pulumi.StringInput `pulumi:"id"`
	// The value of the Message-ID header from the email that triggered a suppression. This value is as defined in RFC 5322 section 3.6.4, excluding angle-brackets. Not provided for all types of suppressions.
	MessageId pulumi.StringInput `pulumi:"messageId"`
	// The reason that the email address was suppressed. For more information on the types of bounces, see [Suppression List](https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm#components).
	Reason pulumi.StringInput `pulumi:"reason"`
	// The date and time a recipient's email address was added to the suppression list, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The last date and time the suppression prevented submission in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeLastSuppressed pulumi.StringInput `pulumi:"timeLastSuppressed"`
}

func (GetSuppressionsSuppressionArgs) ElementType

func (GetSuppressionsSuppressionArgs) ToGetSuppressionsSuppressionOutput

func (i GetSuppressionsSuppressionArgs) ToGetSuppressionsSuppressionOutput() GetSuppressionsSuppressionOutput

func (GetSuppressionsSuppressionArgs) ToGetSuppressionsSuppressionOutputWithContext

func (i GetSuppressionsSuppressionArgs) ToGetSuppressionsSuppressionOutputWithContext(ctx context.Context) GetSuppressionsSuppressionOutput

type GetSuppressionsSuppressionArray

type GetSuppressionsSuppressionArray []GetSuppressionsSuppressionInput

func (GetSuppressionsSuppressionArray) ElementType

func (GetSuppressionsSuppressionArray) ToGetSuppressionsSuppressionArrayOutput

func (i GetSuppressionsSuppressionArray) ToGetSuppressionsSuppressionArrayOutput() GetSuppressionsSuppressionArrayOutput

func (GetSuppressionsSuppressionArray) ToGetSuppressionsSuppressionArrayOutputWithContext

func (i GetSuppressionsSuppressionArray) ToGetSuppressionsSuppressionArrayOutputWithContext(ctx context.Context) GetSuppressionsSuppressionArrayOutput

type GetSuppressionsSuppressionArrayInput

type GetSuppressionsSuppressionArrayInput interface {
	pulumi.Input

	ToGetSuppressionsSuppressionArrayOutput() GetSuppressionsSuppressionArrayOutput
	ToGetSuppressionsSuppressionArrayOutputWithContext(context.Context) GetSuppressionsSuppressionArrayOutput
}

GetSuppressionsSuppressionArrayInput is an input type that accepts GetSuppressionsSuppressionArray and GetSuppressionsSuppressionArrayOutput values. You can construct a concrete instance of `GetSuppressionsSuppressionArrayInput` via:

GetSuppressionsSuppressionArray{ GetSuppressionsSuppressionArgs{...} }

type GetSuppressionsSuppressionArrayOutput

type GetSuppressionsSuppressionArrayOutput struct{ *pulumi.OutputState }

func (GetSuppressionsSuppressionArrayOutput) ElementType

func (GetSuppressionsSuppressionArrayOutput) Index

func (GetSuppressionsSuppressionArrayOutput) ToGetSuppressionsSuppressionArrayOutput

func (o GetSuppressionsSuppressionArrayOutput) ToGetSuppressionsSuppressionArrayOutput() GetSuppressionsSuppressionArrayOutput

func (GetSuppressionsSuppressionArrayOutput) ToGetSuppressionsSuppressionArrayOutputWithContext

func (o GetSuppressionsSuppressionArrayOutput) ToGetSuppressionsSuppressionArrayOutputWithContext(ctx context.Context) GetSuppressionsSuppressionArrayOutput

type GetSuppressionsSuppressionInput

type GetSuppressionsSuppressionInput interface {
	pulumi.Input

	ToGetSuppressionsSuppressionOutput() GetSuppressionsSuppressionOutput
	ToGetSuppressionsSuppressionOutputWithContext(context.Context) GetSuppressionsSuppressionOutput
}

GetSuppressionsSuppressionInput is an input type that accepts GetSuppressionsSuppressionArgs and GetSuppressionsSuppressionOutput values. You can construct a concrete instance of `GetSuppressionsSuppressionInput` via:

GetSuppressionsSuppressionArgs{...}

type GetSuppressionsSuppressionOutput

type GetSuppressionsSuppressionOutput struct{ *pulumi.OutputState }

func (GetSuppressionsSuppressionOutput) CompartmentId

The OCID for the compartment.

func (GetSuppressionsSuppressionOutput) ElementType

func (GetSuppressionsSuppressionOutput) EmailAddress

The email address of the suppression.

func (GetSuppressionsSuppressionOutput) ErrorDetail

The specific error message returned by a system that resulted in the suppression. This message is usually an SMTP error code with additional descriptive text. Not provided for all types of suppressions.

func (GetSuppressionsSuppressionOutput) ErrorSource

DNS name of the source of the error that caused the suppression. Will be set to either the remote-mta or reporting-mta field from a delivery status notification (RFC 3464) when available. Not provided for all types of suppressions, and not always known.

func (GetSuppressionsSuppressionOutput) Id

The unique OCID of the suppression.

func (GetSuppressionsSuppressionOutput) MessageId

The value of the Message-ID header from the email that triggered a suppression. This value is as defined in RFC 5322 section 3.6.4, excluding angle-brackets. Not provided for all types of suppressions.

func (GetSuppressionsSuppressionOutput) Reason

The reason that the email address was suppressed. For more information on the types of bounces, see [Suppression List](https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm#components).

func (GetSuppressionsSuppressionOutput) TimeCreated

The date and time a recipient's email address was added to the suppression list, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).

func (GetSuppressionsSuppressionOutput) TimeLastSuppressed

func (o GetSuppressionsSuppressionOutput) TimeLastSuppressed() pulumi.StringOutput

The last date and time the suppression prevented submission in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).

func (GetSuppressionsSuppressionOutput) ToGetSuppressionsSuppressionOutput

func (o GetSuppressionsSuppressionOutput) ToGetSuppressionsSuppressionOutput() GetSuppressionsSuppressionOutput

func (GetSuppressionsSuppressionOutput) ToGetSuppressionsSuppressionOutputWithContext

func (o GetSuppressionsSuppressionOutput) ToGetSuppressionsSuppressionOutputWithContext(ctx context.Context) GetSuppressionsSuppressionOutput

type LookupDkimArgs

type LookupDkimArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this DKIM.
	DkimId string `pulumi:"dkimId"`
}

A collection of arguments for invoking getDkim.

type LookupDkimOutputArgs

type LookupDkimOutputArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this DKIM.
	DkimId pulumi.StringInput `pulumi:"dkimId"`
}

A collection of arguments for invoking getDkim.

func (LookupDkimOutputArgs) ElementType

func (LookupDkimOutputArgs) ElementType() reflect.Type

type LookupDkimResult

type LookupDkimResult struct {
	// The DNS CNAME record value to provision to the DKIM DNS subdomain, when using the CNAME method for DKIM setup (preferred).
	CnameRecordValue string `pulumi:"cnameRecordValue"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this DKIM.
	CompartmentId string `pulumi:"compartmentId"`
	// 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"}`
	DefinedTags map[string]string `pulumi:"definedTags"`
	// The description of the DKIM. Avoid entering confidential information.
	Description string `pulumi:"description"`
	DkimId      string `pulumi:"dkimId"`
	// 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.
	DnsSubdomainName string `pulumi:"dnsSubdomainName"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email domain that this DKIM belongs to.
	EmailDomainId string `pulumi:"emailDomainId"`
	// 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"}`
	FreeformTags map[string]string `pulumi:"freeformTags"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DKIM.
	Id string `pulumi:"id"`
	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource.
	LifecycleDetails string `pulumi:"lifecycleDetails"`
	// The DKIM selector. If the same domain is managed in more than one region, each region must use different selectors.
	Name string `pulumi:"name"`
	// The current state of the DKIM.
	State string `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]string `pulumi:"systemTags"`
	// 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`
	TimeCreated string `pulumi:"timeCreated"`
	// 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".
	TimeUpdated string `pulumi:"timeUpdated"`
	// 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.
	TxtRecordValue string `pulumi:"txtRecordValue"`
}

A collection of values returned by getDkim.

func LookupDkim

func LookupDkim(ctx *pulumi.Context, args *LookupDkimArgs, opts ...pulumi.InvokeOption) (*LookupDkimResult, error)

This data source provides details about a specific Dkim resource in Oracle Cloud Infrastructure Email service.

Retrieves the specified DKIM.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Email"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.GetDkim(ctx, &email.GetDkimArgs{
			DkimId: testDkimOciEmailDkim.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupDkimResultOutput

type LookupDkimResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDkim.

func (LookupDkimResultOutput) CnameRecordValue

func (o LookupDkimResultOutput) CnameRecordValue() pulumi.StringOutput

The DNS CNAME record value to provision to the DKIM DNS subdomain, when using the CNAME method for DKIM setup (preferred).

func (LookupDkimResultOutput) CompartmentId

func (o LookupDkimResultOutput) CompartmentId() pulumi.StringOutput

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this DKIM.

func (LookupDkimResultOutput) DefinedTags

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"}`

func (LookupDkimResultOutput) Description

func (o LookupDkimResultOutput) Description() pulumi.StringOutput

The description of the DKIM. Avoid entering confidential information.

func (LookupDkimResultOutput) DkimId

func (LookupDkimResultOutput) DnsSubdomainName

func (o LookupDkimResultOutput) DnsSubdomainName() pulumi.StringOutput

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.

func (LookupDkimResultOutput) ElementType

func (LookupDkimResultOutput) ElementType() reflect.Type

func (LookupDkimResultOutput) EmailDomainId

func (o LookupDkimResultOutput) EmailDomainId() pulumi.StringOutput

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email domain that this DKIM belongs to.

func (LookupDkimResultOutput) FreeformTags

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"}`

func (LookupDkimResultOutput) LifecycleDetails

func (o LookupDkimResultOutput) LifecycleDetails() pulumi.StringOutput

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource.

func (LookupDkimResultOutput) Name

The DKIM selector. If the same domain is managed in more than one region, each region must use different selectors.

func (LookupDkimResultOutput) State

The current state of the DKIM.

func (LookupDkimResultOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (LookupDkimResultOutput) TimeCreated

func (o LookupDkimResultOutput) TimeCreated() pulumi.StringOutput

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`

func (LookupDkimResultOutput) TimeUpdated

func (o LookupDkimResultOutput) TimeUpdated() pulumi.StringOutput

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".

func (LookupDkimResultOutput) ToLookupDkimResultOutput

func (o LookupDkimResultOutput) ToLookupDkimResultOutput() LookupDkimResultOutput

func (LookupDkimResultOutput) ToLookupDkimResultOutputWithContext

func (o LookupDkimResultOutput) ToLookupDkimResultOutputWithContext(ctx context.Context) LookupDkimResultOutput

func (LookupDkimResultOutput) TxtRecordValue

func (o LookupDkimResultOutput) TxtRecordValue() pulumi.StringOutput

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.

type LookupEmailDomainArgs

type LookupEmailDomainArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this email domain.
	EmailDomainId string `pulumi:"emailDomainId"`
}

A collection of arguments for invoking getEmailDomain.

type LookupEmailDomainOutputArgs

type LookupEmailDomainOutputArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this email domain.
	EmailDomainId pulumi.StringInput `pulumi:"emailDomainId"`
}

A collection of arguments for invoking getEmailDomain.

func (LookupEmailDomainOutputArgs) ElementType

type LookupEmailDomainResult

type LookupEmailDomainResult struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DKIM key that will be used to sign mail sent from this email domain.
	ActiveDkimId string `pulumi:"activeDkimId"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this email domain.
	CompartmentId string `pulumi:"compartmentId"`
	// 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"}`
	DefinedTags map[string]string `pulumi:"definedTags"`
	// The description of an email domain.
	Description string `pulumi:"description"`
	// Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
	DomainVerificationId string `pulumi:"domainVerificationId"`
	// The current domain verification status.
	DomainVerificationStatus string `pulumi:"domainVerificationStatus"`
	EmailDomainId            string `pulumi:"emailDomainId"`
	// 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"}`
	FreeformTags map[string]string `pulumi:"freeformTags"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email domain.
	Id string `pulumi:"id"`
	// 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).
	IsSpf bool `pulumi:"isSpf"`
	// The name of the email domain in the Internet Domain Name System (DNS).  Example: `mydomain.example.com`
	Name string `pulumi:"name"`
	// The current state of the email domain.
	State string `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]string `pulumi:"systemTags"`
	// The time the email domain was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, "YYYY-MM-ddThh:mmZ".  Example: `2021-02-12T22:47:12.613Z`
	TimeCreated string `pulumi:"timeCreated"`
}

A collection of values returned by getEmailDomain.

func LookupEmailDomain

func LookupEmailDomain(ctx *pulumi.Context, args *LookupEmailDomainArgs, opts ...pulumi.InvokeOption) (*LookupEmailDomainResult, error)

This data source provides details about a specific Email Domain resource in Oracle Cloud Infrastructure Email service.

Retrieves the specified email domain.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Email"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.GetEmailDomain(ctx, &email.GetEmailDomainArgs{
			EmailDomainId: testEmailDomainOciEmailEmailDomain.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupEmailDomainResultOutput

type LookupEmailDomainResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEmailDomain.

func (LookupEmailDomainResultOutput) ActiveDkimId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DKIM key that will be used to sign mail sent from this email domain.

func (LookupEmailDomainResultOutput) CompartmentId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this email domain.

func (LookupEmailDomainResultOutput) DefinedTags

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"}`

func (LookupEmailDomainResultOutput) Description

The description of an email domain.

func (LookupEmailDomainResultOutput) DomainVerificationId

func (o LookupEmailDomainResultOutput) DomainVerificationId() pulumi.StringOutput

Id for Domain in Domain Management (under governance) if DOMAINID verification method used.

func (LookupEmailDomainResultOutput) DomainVerificationStatus

func (o LookupEmailDomainResultOutput) DomainVerificationStatus() pulumi.StringOutput

The current domain verification status.

func (LookupEmailDomainResultOutput) ElementType

func (LookupEmailDomainResultOutput) EmailDomainId

func (LookupEmailDomainResultOutput) FreeformTags

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"}`

func (LookupEmailDomainResultOutput) Id

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email domain.

func (LookupEmailDomainResultOutput) IsSpf

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).

func (LookupEmailDomainResultOutput) Name

The name of the email domain in the Internet Domain Name System (DNS). Example: `mydomain.example.com`

func (LookupEmailDomainResultOutput) State

The current state of the email domain.

func (LookupEmailDomainResultOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (LookupEmailDomainResultOutput) TimeCreated

The time the email domain was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, "YYYY-MM-ddThh:mmZ". Example: `2021-02-12T22:47:12.613Z`

func (LookupEmailDomainResultOutput) ToLookupEmailDomainResultOutput

func (o LookupEmailDomainResultOutput) ToLookupEmailDomainResultOutput() LookupEmailDomainResultOutput

func (LookupEmailDomainResultOutput) ToLookupEmailDomainResultOutputWithContext

func (o LookupEmailDomainResultOutput) ToLookupEmailDomainResultOutputWithContext(ctx context.Context) LookupEmailDomainResultOutput

type LookupEmailReturnPathArgs

type LookupEmailReturnPathArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this email return path.
	EmailReturnPathId string `pulumi:"emailReturnPathId"`
}

A collection of arguments for invoking getEmailReturnPath.

type LookupEmailReturnPathOutputArgs

type LookupEmailReturnPathOutputArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this email return path.
	EmailReturnPathId pulumi.StringInput `pulumi:"emailReturnPathId"`
}

A collection of arguments for invoking getEmailReturnPath.

func (LookupEmailReturnPathOutputArgs) ElementType

type LookupEmailReturnPathResult

type LookupEmailReturnPathResult struct {
	// The DNS CNAME record value to provision to the Return Patn DNS subdomain, when using the CNAME method for Email Return Path setup (preferred).
	CnameRecordValue string `pulumi:"cnameRecordValue"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this email return path.
	CompartmentId string `pulumi:"compartmentId"`
	// 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"}`
	DefinedTags map[string]string `pulumi:"definedTags"`
	// The description of the email return path. Avoid entering confidential information.
	Description string `pulumi:"description"`
	// The name of the DNS subdomain that must be provisioned to enable email recipients to verify Email Return Path. It is usually created with a CNAME record set to the cnameRecordValue.
	DnsSubdomainName  string `pulumi:"dnsSubdomainName"`
	EmailReturnPathId string `pulumi:"emailReturnPathId"`
	// 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"}`
	FreeformTags map[string]string `pulumi:"freeformTags"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email return path.
	Id string `pulumi:"id"`
	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.
	LifecycleDetails string `pulumi:"lifecycleDetails"`
	// The email return path domain in the Internet Domain Name System (DNS).  Example: `iad1.rp.example.com`
	Name string `pulumi:"name"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the EmailDomain that this email return path belongs to.
	ParentResourceId string `pulumi:"parentResourceId"`
	// The current state of the email return path.
	State string `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]string `pulumi:"systemTags"`
	// The time the email return path 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`
	TimeCreated string `pulumi:"timeCreated"`
	// The time of the last change to the Email Return Path 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".
	TimeUpdated string `pulumi:"timeUpdated"`
}

A collection of values returned by getEmailReturnPath.

func LookupEmailReturnPath

func LookupEmailReturnPath(ctx *pulumi.Context, args *LookupEmailReturnPathArgs, opts ...pulumi.InvokeOption) (*LookupEmailReturnPathResult, error)

This data source provides details about a specific Email Return Path resource in Oracle Cloud Infrastructure Email service.

Retrieves the specified email return path.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Email"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.GetEmailReturnPath(ctx, &email.GetEmailReturnPathArgs{
			EmailReturnPathId: testEmailReturnPathOciEmailEmailReturnPath.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupEmailReturnPathResultOutput

type LookupEmailReturnPathResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEmailReturnPath.

func (LookupEmailReturnPathResultOutput) CnameRecordValue

The DNS CNAME record value to provision to the Return Patn DNS subdomain, when using the CNAME method for Email Return Path setup (preferred).

func (LookupEmailReturnPathResultOutput) CompartmentId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this email return path.

func (LookupEmailReturnPathResultOutput) DefinedTags

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"}`

func (LookupEmailReturnPathResultOutput) Description

The description of the email return path. Avoid entering confidential information.

func (LookupEmailReturnPathResultOutput) DnsSubdomainName

The name of the DNS subdomain that must be provisioned to enable email recipients to verify Email Return Path. It is usually created with a CNAME record set to the cnameRecordValue.

func (LookupEmailReturnPathResultOutput) ElementType

func (LookupEmailReturnPathResultOutput) EmailReturnPathId

func (LookupEmailReturnPathResultOutput) FreeformTags

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"}`

func (LookupEmailReturnPathResultOutput) Id

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email return path.

func (LookupEmailReturnPathResultOutput) LifecycleDetails

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.

func (LookupEmailReturnPathResultOutput) Name

The email return path domain in the Internet Domain Name System (DNS). Example: `iad1.rp.example.com`

func (LookupEmailReturnPathResultOutput) ParentResourceId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the EmailDomain that this email return path belongs to.

func (LookupEmailReturnPathResultOutput) State

The current state of the email return path.

func (LookupEmailReturnPathResultOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (LookupEmailReturnPathResultOutput) TimeCreated

The time the email return path 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`

func (LookupEmailReturnPathResultOutput) TimeUpdated

The time of the last change to the Email Return Path 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".

func (LookupEmailReturnPathResultOutput) ToLookupEmailReturnPathResultOutput

func (o LookupEmailReturnPathResultOutput) ToLookupEmailReturnPathResultOutput() LookupEmailReturnPathResultOutput

func (LookupEmailReturnPathResultOutput) ToLookupEmailReturnPathResultOutputWithContext

func (o LookupEmailReturnPathResultOutput) ToLookupEmailReturnPathResultOutputWithContext(ctx context.Context) LookupEmailReturnPathResultOutput

type LookupSenderArgs

type LookupSenderArgs struct {
	// The unique OCID of the sender.
	SenderId string `pulumi:"senderId"`
}

A collection of arguments for invoking getSender.

type LookupSenderOutputArgs

type LookupSenderOutputArgs struct {
	// The unique OCID of the sender.
	SenderId pulumi.StringInput `pulumi:"senderId"`
}

A collection of arguments for invoking getSender.

func (LookupSenderOutputArgs) ElementType

func (LookupSenderOutputArgs) ElementType() reflect.Type

type LookupSenderResult

type LookupSenderResult struct {
	// The OCID for the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// 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"}`
	DefinedTags map[string]string `pulumi:"definedTags"`
	// The email address of the sender.
	EmailAddress string `pulumi:"emailAddress"`
	// The email domain used to assert responsibility for emails sent from this sender.
	EmailDomainId string `pulumi:"emailDomainId"`
	// 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"}`
	FreeformTags map[string]string `pulumi:"freeformTags"`
	// The unique OCID of the sender.
	Id string `pulumi:"id"`
	// 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).
	IsSpf    bool   `pulumi:"isSpf"`
	SenderId string `pulumi:"senderId"`
	// The current status of the approved sender.
	State string `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]string `pulumi:"systemTags"`
	// 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).
	TimeCreated string `pulumi:"timeCreated"`
}

A collection of values returned by getSender.

func LookupSender

func LookupSender(ctx *pulumi.Context, args *LookupSenderArgs, opts ...pulumi.InvokeOption) (*LookupSenderResult, error)

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

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Email"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.GetSender(ctx, &email.GetSenderArgs{
			SenderId: testSenderOciEmailSender.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupSenderResultOutput

type LookupSenderResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSender.

func (LookupSenderResultOutput) CompartmentId

func (o LookupSenderResultOutput) CompartmentId() pulumi.StringOutput

The OCID for the compartment.

func (LookupSenderResultOutput) DefinedTags

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"}`

func (LookupSenderResultOutput) ElementType

func (LookupSenderResultOutput) ElementType() reflect.Type

func (LookupSenderResultOutput) EmailAddress

func (o LookupSenderResultOutput) EmailAddress() pulumi.StringOutput

The email address of the sender.

func (LookupSenderResultOutput) EmailDomainId

func (o LookupSenderResultOutput) EmailDomainId() pulumi.StringOutput

The email domain used to assert responsibility for emails sent from this sender.

func (LookupSenderResultOutput) FreeformTags

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"}`

func (LookupSenderResultOutput) Id

The unique OCID of the sender.

func (LookupSenderResultOutput) IsSpf

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).

func (LookupSenderResultOutput) SenderId

func (LookupSenderResultOutput) State

The current status of the approved sender.

func (LookupSenderResultOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (LookupSenderResultOutput) TimeCreated

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).

func (LookupSenderResultOutput) ToLookupSenderResultOutput

func (o LookupSenderResultOutput) ToLookupSenderResultOutput() LookupSenderResultOutput

func (LookupSenderResultOutput) ToLookupSenderResultOutputWithContext

func (o LookupSenderResultOutput) ToLookupSenderResultOutputWithContext(ctx context.Context) LookupSenderResultOutput

type LookupSuppressionArgs

type LookupSuppressionArgs struct {
	// The unique OCID of the suppression.
	SuppressionId string `pulumi:"suppressionId"`
}

A collection of arguments for invoking getSuppression.

type LookupSuppressionOutputArgs

type LookupSuppressionOutputArgs struct {
	// The unique OCID of the suppression.
	SuppressionId pulumi.StringInput `pulumi:"suppressionId"`
}

A collection of arguments for invoking getSuppression.

func (LookupSuppressionOutputArgs) ElementType

type LookupSuppressionResult

type LookupSuppressionResult struct {
	// The OCID of the compartment to contain the suppression. Since suppressions are at the customer level, this must be the tenancy OCID.
	CompartmentId string `pulumi:"compartmentId"`
	// The email address of the suppression.
	EmailAddress string `pulumi:"emailAddress"`
	// The specific error message returned by a system that resulted in the suppression. This message is usually an SMTP error code with additional descriptive text. Not provided for all types of suppressions.
	ErrorDetail string `pulumi:"errorDetail"`
	// DNS name of the source of the error that caused the suppression. Will be set to either the remote-mta or reporting-mta field from a delivery status notification (RFC 3464) when available. Not provided for all types of suppressions, and not always known.
	ErrorSource string `pulumi:"errorSource"`
	// The unique OCID of the suppression.
	Id string `pulumi:"id"`
	// The value of the Message-ID header from the email that triggered a suppression. This value is as defined in RFC 5322 section 3.6.4, excluding angle-brackets. Not provided for all types of suppressions.
	MessageId string `pulumi:"messageId"`
	// The reason that the email address was suppressed. For more information on the types of bounces, see [Suppression List](https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm#components).
	Reason        string `pulumi:"reason"`
	SuppressionId string `pulumi:"suppressionId"`
	// The date and time a recipient's email address was added to the suppression list, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeCreated string `pulumi:"timeCreated"`
	// The last date and time the suppression prevented submission in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeLastSuppressed string `pulumi:"timeLastSuppressed"`
}

A collection of values returned by getSuppression.

func LookupSuppression

func LookupSuppression(ctx *pulumi.Context, args *LookupSuppressionArgs, opts ...pulumi.InvokeOption) (*LookupSuppressionResult, error)

This data source provides details about a specific Suppression resource in Oracle Cloud Infrastructure Email service.

Gets the details of a suppressed recipient email address for a given `suppressionId`. Each suppression is given a unique OCID.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Email"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.GetSuppression(ctx, &email.GetSuppressionArgs{
			SuppressionId: testSuppressionOciEmailSuppression.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupSuppressionResultOutput

type LookupSuppressionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSuppression.

func (LookupSuppressionResultOutput) CompartmentId

The OCID of the compartment to contain the suppression. Since suppressions are at the customer level, this must be the tenancy OCID.

func (LookupSuppressionResultOutput) ElementType

func (LookupSuppressionResultOutput) EmailAddress

The email address of the suppression.

func (LookupSuppressionResultOutput) ErrorDetail

The specific error message returned by a system that resulted in the suppression. This message is usually an SMTP error code with additional descriptive text. Not provided for all types of suppressions.

func (LookupSuppressionResultOutput) ErrorSource

DNS name of the source of the error that caused the suppression. Will be set to either the remote-mta or reporting-mta field from a delivery status notification (RFC 3464) when available. Not provided for all types of suppressions, and not always known.

func (LookupSuppressionResultOutput) Id

The unique OCID of the suppression.

func (LookupSuppressionResultOutput) MessageId

The value of the Message-ID header from the email that triggered a suppression. This value is as defined in RFC 5322 section 3.6.4, excluding angle-brackets. Not provided for all types of suppressions.

func (LookupSuppressionResultOutput) Reason

The reason that the email address was suppressed. For more information on the types of bounces, see [Suppression List](https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm#components).

func (LookupSuppressionResultOutput) SuppressionId

func (LookupSuppressionResultOutput) TimeCreated

The date and time a recipient's email address was added to the suppression list, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).

func (LookupSuppressionResultOutput) TimeLastSuppressed

func (o LookupSuppressionResultOutput) TimeLastSuppressed() pulumi.StringOutput

The last date and time the suppression prevented submission in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).

func (LookupSuppressionResultOutput) ToLookupSuppressionResultOutput

func (o LookupSuppressionResultOutput) ToLookupSuppressionResultOutput() LookupSuppressionResultOutput

func (LookupSuppressionResultOutput) ToLookupSuppressionResultOutputWithContext

func (o LookupSuppressionResultOutput) ToLookupSuppressionResultOutputWithContext(ctx context.Context) LookupSuppressionResultOutput

type Sender

type Sender struct {
	pulumi.CustomResourceState

	// (Updatable) The OCID of the compartment that contains the sender.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) 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"}`
	DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"`
	// The email address of the sender.
	EmailAddress pulumi.StringOutput `pulumi:"emailAddress"`
	// The email domain used to assert responsibility for emails sent from this sender.
	EmailDomainId pulumi.StringOutput `pulumi:"emailDomainId"`
	// (Updatable) 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"}`
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"`
	// 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).
	IsSpf pulumi.BoolOutput `pulumi:"isSpf"`
	// The current status of the approved sender.
	State pulumi.StringOutput `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.StringMapOutput `pulumi:"systemTags"`
	// 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).
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
}

This resource provides the Sender resource in Oracle Cloud Infrastructure Email service.

Creates a sender for a tenancy in a given compartment.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Email"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.NewSender(ctx, "test_sender", &Email.SenderArgs{
			CompartmentId: pulumi.Any(compartmentId),
			EmailAddress:  pulumi.Any(senderEmailAddress),
			DefinedTags: pulumi.StringMap{
				"Operations.CostCenter": pulumi.String("42"),
			},
			FreeformTags: pulumi.StringMap{
				"Department": pulumi.String("Finance"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Senders can be imported using the `id`, e.g.

```sh $ pulumi import oci:Email/sender:Sender test_sender "id" ```

func GetSender

func GetSender(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SenderState, opts ...pulumi.ResourceOption) (*Sender, error)

GetSender gets an existing Sender resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSender

func NewSender(ctx *pulumi.Context,
	name string, args *SenderArgs, opts ...pulumi.ResourceOption) (*Sender, error)

NewSender registers a new resource with the given unique name, arguments, and options.

func (*Sender) ElementType

func (*Sender) ElementType() reflect.Type

func (*Sender) ToSenderOutput

func (i *Sender) ToSenderOutput() SenderOutput

func (*Sender) ToSenderOutputWithContext

func (i *Sender) ToSenderOutputWithContext(ctx context.Context) SenderOutput

type SenderArgs

type SenderArgs struct {
	// (Updatable) The OCID of the compartment that contains the sender.
	CompartmentId pulumi.StringInput
	// (Updatable) 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"}`
	DefinedTags pulumi.StringMapInput
	// The email address of the sender.
	EmailAddress pulumi.StringInput
	// (Updatable) 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"}`
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	FreeformTags pulumi.StringMapInput
}

The set of arguments for constructing a Sender resource.

func (SenderArgs) ElementType

func (SenderArgs) ElementType() reflect.Type

type SenderArray

type SenderArray []SenderInput

func (SenderArray) ElementType

func (SenderArray) ElementType() reflect.Type

func (SenderArray) ToSenderArrayOutput

func (i SenderArray) ToSenderArrayOutput() SenderArrayOutput

func (SenderArray) ToSenderArrayOutputWithContext

func (i SenderArray) ToSenderArrayOutputWithContext(ctx context.Context) SenderArrayOutput

type SenderArrayInput

type SenderArrayInput interface {
	pulumi.Input

	ToSenderArrayOutput() SenderArrayOutput
	ToSenderArrayOutputWithContext(context.Context) SenderArrayOutput
}

SenderArrayInput is an input type that accepts SenderArray and SenderArrayOutput values. You can construct a concrete instance of `SenderArrayInput` via:

SenderArray{ SenderArgs{...} }

type SenderArrayOutput

type SenderArrayOutput struct{ *pulumi.OutputState }

func (SenderArrayOutput) ElementType

func (SenderArrayOutput) ElementType() reflect.Type

func (SenderArrayOutput) Index

func (SenderArrayOutput) ToSenderArrayOutput

func (o SenderArrayOutput) ToSenderArrayOutput() SenderArrayOutput

func (SenderArrayOutput) ToSenderArrayOutputWithContext

func (o SenderArrayOutput) ToSenderArrayOutputWithContext(ctx context.Context) SenderArrayOutput

type SenderInput

type SenderInput interface {
	pulumi.Input

	ToSenderOutput() SenderOutput
	ToSenderOutputWithContext(ctx context.Context) SenderOutput
}

type SenderMap

type SenderMap map[string]SenderInput

func (SenderMap) ElementType

func (SenderMap) ElementType() reflect.Type

func (SenderMap) ToSenderMapOutput

func (i SenderMap) ToSenderMapOutput() SenderMapOutput

func (SenderMap) ToSenderMapOutputWithContext

func (i SenderMap) ToSenderMapOutputWithContext(ctx context.Context) SenderMapOutput

type SenderMapInput

type SenderMapInput interface {
	pulumi.Input

	ToSenderMapOutput() SenderMapOutput
	ToSenderMapOutputWithContext(context.Context) SenderMapOutput
}

SenderMapInput is an input type that accepts SenderMap and SenderMapOutput values. You can construct a concrete instance of `SenderMapInput` via:

SenderMap{ "key": SenderArgs{...} }

type SenderMapOutput

type SenderMapOutput struct{ *pulumi.OutputState }

func (SenderMapOutput) ElementType

func (SenderMapOutput) ElementType() reflect.Type

func (SenderMapOutput) MapIndex

func (SenderMapOutput) ToSenderMapOutput

func (o SenderMapOutput) ToSenderMapOutput() SenderMapOutput

func (SenderMapOutput) ToSenderMapOutputWithContext

func (o SenderMapOutput) ToSenderMapOutputWithContext(ctx context.Context) SenderMapOutput

type SenderOutput

type SenderOutput struct{ *pulumi.OutputState }

func (SenderOutput) CompartmentId

func (o SenderOutput) CompartmentId() pulumi.StringOutput

(Updatable) The OCID of the compartment that contains the sender.

func (SenderOutput) DefinedTags

func (o SenderOutput) DefinedTags() pulumi.StringMapOutput

(Updatable) 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"}`

func (SenderOutput) ElementType

func (SenderOutput) ElementType() reflect.Type

func (SenderOutput) EmailAddress

func (o SenderOutput) EmailAddress() pulumi.StringOutput

The email address of the sender.

func (SenderOutput) EmailDomainId

func (o SenderOutput) EmailDomainId() pulumi.StringOutput

The email domain used to assert responsibility for emails sent from this sender.

func (SenderOutput) FreeformTags

func (o SenderOutput) FreeformTags() pulumi.StringMapOutput

(Updatable) 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"}`

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

func (SenderOutput) IsSpf

func (o SenderOutput) IsSpf() pulumi.BoolOutput

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).

func (SenderOutput) State

func (o SenderOutput) State() pulumi.StringOutput

The current status of the approved sender.

func (SenderOutput) SystemTags

func (o SenderOutput) SystemTags() pulumi.StringMapOutput

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (SenderOutput) TimeCreated

func (o SenderOutput) TimeCreated() pulumi.StringOutput

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).

func (SenderOutput) ToSenderOutput

func (o SenderOutput) ToSenderOutput() SenderOutput

func (SenderOutput) ToSenderOutputWithContext

func (o SenderOutput) ToSenderOutputWithContext(ctx context.Context) SenderOutput

type SenderState

type SenderState struct {
	// (Updatable) The OCID of the compartment that contains the sender.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) 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"}`
	DefinedTags pulumi.StringMapInput
	// The email address of the sender.
	EmailAddress pulumi.StringPtrInput
	// The email domain used to assert responsibility for emails sent from this sender.
	EmailDomainId pulumi.StringPtrInput
	// (Updatable) 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"}`
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	FreeformTags pulumi.StringMapInput
	// 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).
	IsSpf pulumi.BoolPtrInput
	// The current status of the approved sender.
	State pulumi.StringPtrInput
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.StringMapInput
	// 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).
	TimeCreated pulumi.StringPtrInput
}

func (SenderState) ElementType

func (SenderState) ElementType() reflect.Type

type Suppression

type Suppression struct {
	pulumi.CustomResourceState

	// The OCID of the compartment to contain the suppression. Since suppressions are at the customer level, this must be the tenancy OCID.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// The recipient email address of the suppression.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	EmailAddress pulumi.StringOutput `pulumi:"emailAddress"`
	// The specific error message returned by a system that resulted in the suppression. This message is usually an SMTP error code with additional descriptive text. Not provided for all types of suppressions.
	ErrorDetail pulumi.StringOutput `pulumi:"errorDetail"`
	// DNS name of the source of the error that caused the suppression. Will be set to either the remote-mta or reporting-mta field from a delivery status notification (RFC 3464) when available. Not provided for all types of suppressions, and not always known.
	ErrorSource pulumi.StringOutput `pulumi:"errorSource"`
	// The value of the Message-ID header from the email that triggered a suppression. This value is as defined in RFC 5322 section 3.6.4, excluding angle-brackets. Not provided for all types of suppressions.
	MessageId pulumi.StringOutput `pulumi:"messageId"`
	// The reason that the email address was suppressed. For more information on the types of bounces, see [Suppression List](https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm#components).
	Reason pulumi.StringOutput `pulumi:"reason"`
	// The date and time a recipient's email address was added to the suppression list, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The last date and time the suppression prevented submission in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeLastSuppressed pulumi.StringOutput `pulumi:"timeLastSuppressed"`
}

This resource provides the Suppression resource in Oracle Cloud Infrastructure Email service.

Adds recipient email addresses to the suppression list for a tenancy. Addresses added to the suppression list via the API are denoted as "MANUAL" in the `reason` field. *Note:* All email addresses added to the suppression list are normalized to include only lowercase letters.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Email"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.NewSuppression(ctx, "test_suppression", &Email.SuppressionArgs{
			CompartmentId: pulumi.Any(tenancyOcid),
			EmailAddress:  pulumi.Any(suppressionEmailAddress),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Suppressions can be imported using the `id`, e.g.

```sh $ pulumi import oci:Email/suppression:Suppression test_suppression "id" ```

func GetSuppression

func GetSuppression(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SuppressionState, opts ...pulumi.ResourceOption) (*Suppression, error)

GetSuppression gets an existing Suppression resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSuppression

func NewSuppression(ctx *pulumi.Context,
	name string, args *SuppressionArgs, opts ...pulumi.ResourceOption) (*Suppression, error)

NewSuppression registers a new resource with the given unique name, arguments, and options.

func (*Suppression) ElementType

func (*Suppression) ElementType() reflect.Type

func (*Suppression) ToSuppressionOutput

func (i *Suppression) ToSuppressionOutput() SuppressionOutput

func (*Suppression) ToSuppressionOutputWithContext

func (i *Suppression) ToSuppressionOutputWithContext(ctx context.Context) SuppressionOutput

type SuppressionArgs

type SuppressionArgs struct {
	// The OCID of the compartment to contain the suppression. Since suppressions are at the customer level, this must be the tenancy OCID.
	CompartmentId pulumi.StringInput
	// The recipient email address of the suppression.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	EmailAddress pulumi.StringInput
}

The set of arguments for constructing a Suppression resource.

func (SuppressionArgs) ElementType

func (SuppressionArgs) ElementType() reflect.Type

type SuppressionArray

type SuppressionArray []SuppressionInput

func (SuppressionArray) ElementType

func (SuppressionArray) ElementType() reflect.Type

func (SuppressionArray) ToSuppressionArrayOutput

func (i SuppressionArray) ToSuppressionArrayOutput() SuppressionArrayOutput

func (SuppressionArray) ToSuppressionArrayOutputWithContext

func (i SuppressionArray) ToSuppressionArrayOutputWithContext(ctx context.Context) SuppressionArrayOutput

type SuppressionArrayInput

type SuppressionArrayInput interface {
	pulumi.Input

	ToSuppressionArrayOutput() SuppressionArrayOutput
	ToSuppressionArrayOutputWithContext(context.Context) SuppressionArrayOutput
}

SuppressionArrayInput is an input type that accepts SuppressionArray and SuppressionArrayOutput values. You can construct a concrete instance of `SuppressionArrayInput` via:

SuppressionArray{ SuppressionArgs{...} }

type SuppressionArrayOutput

type SuppressionArrayOutput struct{ *pulumi.OutputState }

func (SuppressionArrayOutput) ElementType

func (SuppressionArrayOutput) ElementType() reflect.Type

func (SuppressionArrayOutput) Index

func (SuppressionArrayOutput) ToSuppressionArrayOutput

func (o SuppressionArrayOutput) ToSuppressionArrayOutput() SuppressionArrayOutput

func (SuppressionArrayOutput) ToSuppressionArrayOutputWithContext

func (o SuppressionArrayOutput) ToSuppressionArrayOutputWithContext(ctx context.Context) SuppressionArrayOutput

type SuppressionInput

type SuppressionInput interface {
	pulumi.Input

	ToSuppressionOutput() SuppressionOutput
	ToSuppressionOutputWithContext(ctx context.Context) SuppressionOutput
}

type SuppressionMap

type SuppressionMap map[string]SuppressionInput

func (SuppressionMap) ElementType

func (SuppressionMap) ElementType() reflect.Type

func (SuppressionMap) ToSuppressionMapOutput

func (i SuppressionMap) ToSuppressionMapOutput() SuppressionMapOutput

func (SuppressionMap) ToSuppressionMapOutputWithContext

func (i SuppressionMap) ToSuppressionMapOutputWithContext(ctx context.Context) SuppressionMapOutput

type SuppressionMapInput

type SuppressionMapInput interface {
	pulumi.Input

	ToSuppressionMapOutput() SuppressionMapOutput
	ToSuppressionMapOutputWithContext(context.Context) SuppressionMapOutput
}

SuppressionMapInput is an input type that accepts SuppressionMap and SuppressionMapOutput values. You can construct a concrete instance of `SuppressionMapInput` via:

SuppressionMap{ "key": SuppressionArgs{...} }

type SuppressionMapOutput

type SuppressionMapOutput struct{ *pulumi.OutputState }

func (SuppressionMapOutput) ElementType

func (SuppressionMapOutput) ElementType() reflect.Type

func (SuppressionMapOutput) MapIndex

func (SuppressionMapOutput) ToSuppressionMapOutput

func (o SuppressionMapOutput) ToSuppressionMapOutput() SuppressionMapOutput

func (SuppressionMapOutput) ToSuppressionMapOutputWithContext

func (o SuppressionMapOutput) ToSuppressionMapOutputWithContext(ctx context.Context) SuppressionMapOutput

type SuppressionOutput

type SuppressionOutput struct{ *pulumi.OutputState }

func (SuppressionOutput) CompartmentId

func (o SuppressionOutput) CompartmentId() pulumi.StringOutput

The OCID of the compartment to contain the suppression. Since suppressions are at the customer level, this must be the tenancy OCID.

func (SuppressionOutput) ElementType

func (SuppressionOutput) ElementType() reflect.Type

func (SuppressionOutput) EmailAddress

func (o SuppressionOutput) EmailAddress() pulumi.StringOutput

The recipient email address of the suppression.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

func (SuppressionOutput) ErrorDetail

func (o SuppressionOutput) ErrorDetail() pulumi.StringOutput

The specific error message returned by a system that resulted in the suppression. This message is usually an SMTP error code with additional descriptive text. Not provided for all types of suppressions.

func (SuppressionOutput) ErrorSource

func (o SuppressionOutput) ErrorSource() pulumi.StringOutput

DNS name of the source of the error that caused the suppression. Will be set to either the remote-mta or reporting-mta field from a delivery status notification (RFC 3464) when available. Not provided for all types of suppressions, and not always known.

func (SuppressionOutput) MessageId

func (o SuppressionOutput) MessageId() pulumi.StringOutput

The value of the Message-ID header from the email that triggered a suppression. This value is as defined in RFC 5322 section 3.6.4, excluding angle-brackets. Not provided for all types of suppressions.

func (SuppressionOutput) Reason

The reason that the email address was suppressed. For more information on the types of bounces, see [Suppression List](https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm#components).

func (SuppressionOutput) TimeCreated

func (o SuppressionOutput) TimeCreated() pulumi.StringOutput

The date and time a recipient's email address was added to the suppression list, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).

func (SuppressionOutput) TimeLastSuppressed

func (o SuppressionOutput) TimeLastSuppressed() pulumi.StringOutput

The last date and time the suppression prevented submission in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).

func (SuppressionOutput) ToSuppressionOutput

func (o SuppressionOutput) ToSuppressionOutput() SuppressionOutput

func (SuppressionOutput) ToSuppressionOutputWithContext

func (o SuppressionOutput) ToSuppressionOutputWithContext(ctx context.Context) SuppressionOutput

type SuppressionState

type SuppressionState struct {
	// The OCID of the compartment to contain the suppression. Since suppressions are at the customer level, this must be the tenancy OCID.
	CompartmentId pulumi.StringPtrInput
	// The recipient email address of the suppression.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	EmailAddress pulumi.StringPtrInput
	// The specific error message returned by a system that resulted in the suppression. This message is usually an SMTP error code with additional descriptive text. Not provided for all types of suppressions.
	ErrorDetail pulumi.StringPtrInput
	// DNS name of the source of the error that caused the suppression. Will be set to either the remote-mta or reporting-mta field from a delivery status notification (RFC 3464) when available. Not provided for all types of suppressions, and not always known.
	ErrorSource pulumi.StringPtrInput
	// The value of the Message-ID header from the email that triggered a suppression. This value is as defined in RFC 5322 section 3.6.4, excluding angle-brackets. Not provided for all types of suppressions.
	MessageId pulumi.StringPtrInput
	// The reason that the email address was suppressed. For more information on the types of bounces, see [Suppression List](https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm#components).
	Reason pulumi.StringPtrInput
	// The date and time a recipient's email address was added to the suppression list, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeCreated pulumi.StringPtrInput
	// The last date and time the suppression prevented submission in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeLastSuppressed pulumi.StringPtrInput
}

func (SuppressionState) ElementType

func (SuppressionState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL