email

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 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.MapOutput `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.MapOutput `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.MapOutput `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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.NewDkim(ctx, "testDkim", &Email.DkimArgs{
			EmailDomainId: pulumi.Any(oci_email_email_domain.Test_email_domain.Id),
			DefinedTags: pulumi.Map{
				"Operations.CostCenter": pulumi.Any("42"),
			},
			Description: pulumi.Any(_var.Dkim_description),
			FreeformTags: pulumi.Map{
				"Department": pulumi.Any("Finance"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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.MapInput
	// (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.MapInput
	// 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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

func (o DkimOutput) DefinedTags() pulumi.MapOutput

(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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

func (o DkimOutput) FreeformTags() pulumi.MapOutput

(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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

func (o DkimOutput) State() pulumi.StringOutput

The current state of the DKIM.

func (DkimOutput) SystemTags added in v0.4.0

func (o DkimOutput) SystemTags() pulumi.MapOutput

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

func (DkimOutput) TimeCreated added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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.MapInput
	// (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.MapInput
	// 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.MapInput
	// 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.MapOutput `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) 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.MapOutput `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.MapOutput `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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.NewEmailDomain(ctx, "testEmailDomain", &Email.EmailDomainArgs{
			CompartmentId: pulumi.Any(_var.Compartment_id),
			DefinedTags: pulumi.Map{
				"Operations.CostCenter": pulumi.Any("42"),
			},
			Description: pulumi.Any(_var.Email_domain_description),
			FreeformTags: pulumi.Map{
				"Department": pulumi.Any("Finance"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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.MapInput
	// (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) 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.MapInput
	// 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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

func (o EmailDomainOutput) DefinedTags() pulumi.MapOutput

(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 added in v0.4.0

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

func (EmailDomainOutput) ElementType() reflect.Type

func (EmailDomainOutput) FreeformTags added in v0.4.0

func (o EmailDomainOutput) FreeformTags() pulumi.MapOutput

(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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

The current state of the email domain.

func (EmailDomainOutput) SystemTags added in v0.4.0

func (o EmailDomainOutput) SystemTags() pulumi.MapOutput

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

func (EmailDomainOutput) TimeCreated added in v0.4.0

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.MapInput
	// (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) 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.MapInput
	// 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.MapInput
	// 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 GetConfigurationArgs added in v1.30.0

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

A collection of arguments for invoking getConfiguration.

type GetConfigurationOutputArgs added in v1.30.0

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

A collection of arguments for invoking getConfiguration.

func (GetConfigurationOutputArgs) ElementType added in v1.30.0

func (GetConfigurationOutputArgs) ElementType() reflect.Type

type GetConfigurationResult added in v1.30.0

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 added in v1.30.0

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/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: _var.Compartment_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetConfigurationResultOutput added in v1.30.0

type GetConfigurationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConfiguration.

func GetConfigurationOutput added in v1.30.0

func (GetConfigurationResultOutput) CompartmentId added in v1.30.0

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

func (GetConfigurationResultOutput) ElementType added in v1.30.0

func (GetConfigurationResultOutput) HttpSubmitEndpoint added in v1.30.0

func (o GetConfigurationResultOutput) HttpSubmitEndpoint() pulumi.StringOutput

Endpoint used to submit emails via the HTTP email submission API

func (GetConfigurationResultOutput) Id added in v1.30.0

The provider-assigned unique ID for this managed resource.

func (GetConfigurationResultOutput) SmtpSubmitEndpoint added in v1.30.0

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 added in v1.30.0

func (o GetConfigurationResultOutput) ToGetConfigurationResultOutput() GetConfigurationResultOutput

func (GetConfigurationResultOutput) ToGetConfigurationResultOutputWithContext added in v1.30.0

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]interface{} `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]interface{} `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]interface{} `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.MapInput `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.MapInput `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.MapInput `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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/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: oci_email_email_domain.Test_email_domain.Id,
			Id:            pulumi.StringRef(_var.Dkim_id),
			Name:          pulumi.StringRef(_var.Dkim_name),
			State:         pulumi.StringRef(_var.Dkim_state),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

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]interface{} `pulumi:"definedTags"`
	// The description of an email domain.
	Description string `pulumi:"description"`
	// 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]interface{} `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]interface{} `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.MapInput `pulumi:"definedTags"`
	// The description of an email domain.
	Description pulumi.StringInput `pulumi:"description"`
	// 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.MapInput `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.MapInput `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) 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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/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: _var.Compartment_id,
			Id:            pulumi.StringRef(_var.Email_domain_id),
			Name:          pulumi.StringRef(_var.Email_domain_name),
			State:         pulumi.StringRef(_var.Email_domain_state),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/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: _var.Compartment_id,
			Domain:        pulumi.StringRef(_var.Sender_domain),
			EmailAddress:  pulumi.StringRef(_var.Sender_email_address),
			State:         pulumi.StringRef(_var.Sender_state),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

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]interface{} `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]interface{} `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]interface{} `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.MapInput `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.MapInput `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.MapInput `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

func (o GetSendersSenderOutput) DefinedTags() pulumi.MapOutput

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

func (o GetSendersSenderOutput) FreeformTags() pulumi.MapOutput

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 added in v1.30.0

func (o GetSendersSenderOutput) SystemTags() pulumi.MapOutput

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/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:                   _var.Tenancy_ocid,
			EmailAddress:                    pulumi.StringRef(_var.Suppression_email_address),
			TimeCreatedGreaterThanOrEqualTo: pulumi.StringRef(_var.Suppression_time_created_greater_than_or_equal_to),
			TimeCreatedLessThan:             pulumi.StringRef(_var.Suppression_time_created_less_than),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

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]interface{} `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]interface{} `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]interface{} `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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/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: oci_email_dkim.Test_dkim.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

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

func (o LookupDkimResultOutput) DefinedTags() pulumi.MapOutput

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

func (o LookupDkimResultOutput) FreeformTags() pulumi.MapOutput

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

func (o LookupDkimResultOutput) SystemTags() pulumi.MapOutput

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]interface{} `pulumi:"definedTags"`
	// The description of an email domain.
	Description   string `pulumi:"description"`
	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]interface{} `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]interface{} `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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/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: oci_email_email_domain.Test_email_domain.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

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) 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 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]interface{} `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]interface{} `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]interface{} `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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/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: oci_email_sender.Test_sender.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

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

func (o LookupSenderResultOutput) DefinedTags() pulumi.MapOutput

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

func (o LookupSenderResultOutput) FreeformTags() pulumi.MapOutput

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 added in v1.30.0

func (o LookupSenderResultOutput) SystemTags() pulumi.MapOutput

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/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: oci_email_suppression.Test_suppression.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

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.MapOutput `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.MapOutput `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.MapOutput `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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Email.NewSender(ctx, "testSender", &Email.SenderArgs{
			CompartmentId: pulumi.Any(_var.Compartment_id),
			EmailAddress:  pulumi.Any(_var.Sender_email_address),
			DefinedTags: pulumi.Map{
				"Operations.CostCenter": pulumi.Any("42"),
			},
			FreeformTags: pulumi.Map{
				"Department": pulumi.Any("Finance"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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.MapInput
	// 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.MapInput
}

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 added in v0.4.0

func (o SenderOutput) CompartmentId() pulumi.StringOutput

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

func (SenderOutput) DefinedTags added in v0.4.0

func (o SenderOutput) DefinedTags() pulumi.MapOutput

(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 added in v0.4.0

func (o SenderOutput) EmailAddress() pulumi.StringOutput

The email address of the sender.

func (SenderOutput) EmailDomainId added in v0.4.0

func (o SenderOutput) EmailDomainId() pulumi.StringOutput

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

func (SenderOutput) FreeformTags added in v0.4.0

func (o SenderOutput) FreeformTags() pulumi.MapOutput

(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 added in v0.4.0

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 added in v0.4.0

func (o SenderOutput) State() pulumi.StringOutput

The current status of the approved sender.

func (SenderOutput) SystemTags added in v1.30.0

func (o SenderOutput) SystemTags() pulumi.MapOutput

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

func (SenderOutput) TimeCreated added in v0.4.0

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.MapInput
	// 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.MapInput
	// 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.MapInput
	// 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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

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

``` <!--End PulumiCodeChooser -->

## 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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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