ses

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type BatchSendEmail added in v0.1.8

type BatchSendEmail struct {
	pulumi.CustomResourceState

	// Whether to add an ad tag. 0: Add no tag; 1: Add before the subject; 2: Add after the subject.
	AdLocation pulumi.IntPtrOutput `pulumi:"adLocation"`
	// Attachment parameters to set when you need to send attachments. This parameter is currently unavailable.
	Attachments BatchSendEmailAttachmentArrayOutput `pulumi:"attachments"`
	// Parameter required for a recurring sending task.
	CycleParam BatchSendEmailCycleParamPtrOutput `pulumi:"cycleParam"`
	// Sender address. Enter a sender address such as noreply@mail.qcloud.com. To display the sender name, enter the address in the following format:sender <email address>. For example:Tencent Cloud team <noreply@mail.qcloud.com>.
	FromEmailAddress pulumi.StringOutput `pulumi:"fromEmailAddress"`
	// Recipient group ID.
	ReceiverId pulumi.IntOutput `pulumi:"receiverId"`
	// Reply-to address. You can enter a valid personal email address that can receive emails. If this parameter is left empty, reply emails will fail to be sent.
	ReplyToAddresses pulumi.StringPtrOutput `pulumi:"replyToAddresses"`
	// Email subject.
	Subject pulumi.StringOutput `pulumi:"subject"`
	// Task type. 1: immediate; 2: scheduled; 3: recurring.
	TaskType pulumi.IntOutput `pulumi:"taskType"`
	// Template when emails are sent using a template.
	Template BatchSendEmailTemplatePtrOutput `pulumi:"template"`
	// Parameter required for a scheduled sending task.
	TimedParam BatchSendEmailTimedParamPtrOutput `pulumi:"timedParam"`
	// Unsubscribe link option.  0: Do not add unsubscribe link; 1: English 2: Simplified Chinese;  3: Traditional Chinese; 4: Spanish; 5: French;  6: German; 7: Japanese; 8: Korean;  9: Arabic; 10: Thai.
	Unsubscribe pulumi.StringPtrOutput `pulumi:"unsubscribe"`
}

Provides a resource to create a ses batchSendEmail

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ses.NewBatchSendEmail(ctx, "batchSendEmail", &Ses.BatchSendEmailArgs{
			AdLocation: pulumi.Int(0),
			CycleParam: &ses.BatchSendEmailCycleParamArgs{
				BeginTime:    pulumi.String("2023-09-07 15:10:00"),
				IntervalTime: pulumi.Int(1),
			},
			FromEmailAddress: pulumi.String("aaa@iac-tf.cloud"),
			ReceiverId:       pulumi.Int(1063742),
			ReplyToAddresses: pulumi.String("reply@mail.qcloud.com"),
			Subject:          pulumi.String("terraform test"),
			TaskType:         pulumi.Int(1),
			Template: &ses.BatchSendEmailTemplateArgs{
				TemplateData: pulumi.String("{\"name\":\"xxx\",\"age\":\"xx\"}"),
				TemplateId:   pulumi.Int(99629),
			},
			TimedParam: &ses.BatchSendEmailTimedParamArgs{
				BeginTime: pulumi.String("2023-09-07 15:20:00"),
			},
			Unsubscribe: pulumi.String("0"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetBatchSendEmail added in v0.1.8

func GetBatchSendEmail(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BatchSendEmailState, opts ...pulumi.ResourceOption) (*BatchSendEmail, error)

GetBatchSendEmail gets an existing BatchSendEmail 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 NewBatchSendEmail added in v0.1.8

func NewBatchSendEmail(ctx *pulumi.Context,
	name string, args *BatchSendEmailArgs, opts ...pulumi.ResourceOption) (*BatchSendEmail, error)

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

func (*BatchSendEmail) ElementType added in v0.1.8

func (*BatchSendEmail) ElementType() reflect.Type

func (*BatchSendEmail) ToBatchSendEmailOutput added in v0.1.8

func (i *BatchSendEmail) ToBatchSendEmailOutput() BatchSendEmailOutput

func (*BatchSendEmail) ToBatchSendEmailOutputWithContext added in v0.1.8

func (i *BatchSendEmail) ToBatchSendEmailOutputWithContext(ctx context.Context) BatchSendEmailOutput

type BatchSendEmailArgs added in v0.1.8

type BatchSendEmailArgs struct {
	// Whether to add an ad tag. 0: Add no tag; 1: Add before the subject; 2: Add after the subject.
	AdLocation pulumi.IntPtrInput
	// Attachment parameters to set when you need to send attachments. This parameter is currently unavailable.
	Attachments BatchSendEmailAttachmentArrayInput
	// Parameter required for a recurring sending task.
	CycleParam BatchSendEmailCycleParamPtrInput
	// Sender address. Enter a sender address such as noreply@mail.qcloud.com. To display the sender name, enter the address in the following format:sender <email address>. For example:Tencent Cloud team <noreply@mail.qcloud.com>.
	FromEmailAddress pulumi.StringInput
	// Recipient group ID.
	ReceiverId pulumi.IntInput
	// Reply-to address. You can enter a valid personal email address that can receive emails. If this parameter is left empty, reply emails will fail to be sent.
	ReplyToAddresses pulumi.StringPtrInput
	// Email subject.
	Subject pulumi.StringInput
	// Task type. 1: immediate; 2: scheduled; 3: recurring.
	TaskType pulumi.IntInput
	// Template when emails are sent using a template.
	Template BatchSendEmailTemplatePtrInput
	// Parameter required for a scheduled sending task.
	TimedParam BatchSendEmailTimedParamPtrInput
	// Unsubscribe link option.  0: Do not add unsubscribe link; 1: English 2: Simplified Chinese;  3: Traditional Chinese; 4: Spanish; 5: French;  6: German; 7: Japanese; 8: Korean;  9: Arabic; 10: Thai.
	Unsubscribe pulumi.StringPtrInput
}

The set of arguments for constructing a BatchSendEmail resource.

func (BatchSendEmailArgs) ElementType added in v0.1.8

func (BatchSendEmailArgs) ElementType() reflect.Type

type BatchSendEmailArray added in v0.1.8

type BatchSendEmailArray []BatchSendEmailInput

func (BatchSendEmailArray) ElementType added in v0.1.8

func (BatchSendEmailArray) ElementType() reflect.Type

func (BatchSendEmailArray) ToBatchSendEmailArrayOutput added in v0.1.8

func (i BatchSendEmailArray) ToBatchSendEmailArrayOutput() BatchSendEmailArrayOutput

func (BatchSendEmailArray) ToBatchSendEmailArrayOutputWithContext added in v0.1.8

func (i BatchSendEmailArray) ToBatchSendEmailArrayOutputWithContext(ctx context.Context) BatchSendEmailArrayOutput

type BatchSendEmailArrayInput added in v0.1.8

type BatchSendEmailArrayInput interface {
	pulumi.Input

	ToBatchSendEmailArrayOutput() BatchSendEmailArrayOutput
	ToBatchSendEmailArrayOutputWithContext(context.Context) BatchSendEmailArrayOutput
}

BatchSendEmailArrayInput is an input type that accepts BatchSendEmailArray and BatchSendEmailArrayOutput values. You can construct a concrete instance of `BatchSendEmailArrayInput` via:

BatchSendEmailArray{ BatchSendEmailArgs{...} }

type BatchSendEmailArrayOutput added in v0.1.8

type BatchSendEmailArrayOutput struct{ *pulumi.OutputState }

func (BatchSendEmailArrayOutput) ElementType added in v0.1.8

func (BatchSendEmailArrayOutput) ElementType() reflect.Type

func (BatchSendEmailArrayOutput) Index added in v0.1.8

func (BatchSendEmailArrayOutput) ToBatchSendEmailArrayOutput added in v0.1.8

func (o BatchSendEmailArrayOutput) ToBatchSendEmailArrayOutput() BatchSendEmailArrayOutput

func (BatchSendEmailArrayOutput) ToBatchSendEmailArrayOutputWithContext added in v0.1.8

func (o BatchSendEmailArrayOutput) ToBatchSendEmailArrayOutputWithContext(ctx context.Context) BatchSendEmailArrayOutput

type BatchSendEmailAttachment added in v0.1.8

type BatchSendEmailAttachment struct {
	// Base64-encoded attachment content. You can send attachments of up to 4 MB in the total size.Note: The TencentCloud API supports a request packet of up to 8 MB in size, and the size of the attachmentcontent will increase by 1.5 times after Base64 encoding. Therefore, you need to keep the total size of allattachments below 4 MB. If the entire request exceeds 8 MB, the API will return an error.
	Content string `pulumi:"content"`
	// Attachment name, which cannot exceed 255 characters. Some attachment types are not supported. For details, see [Attachment Types.](https://www.tencentcloud.com/document/product/1084/42373?has_map=1).
	FileName string `pulumi:"fileName"`
}

type BatchSendEmailAttachmentArgs added in v0.1.8

type BatchSendEmailAttachmentArgs struct {
	// Base64-encoded attachment content. You can send attachments of up to 4 MB in the total size.Note: The TencentCloud API supports a request packet of up to 8 MB in size, and the size of the attachmentcontent will increase by 1.5 times after Base64 encoding. Therefore, you need to keep the total size of allattachments below 4 MB. If the entire request exceeds 8 MB, the API will return an error.
	Content pulumi.StringInput `pulumi:"content"`
	// Attachment name, which cannot exceed 255 characters. Some attachment types are not supported. For details, see [Attachment Types.](https://www.tencentcloud.com/document/product/1084/42373?has_map=1).
	FileName pulumi.StringInput `pulumi:"fileName"`
}

func (BatchSendEmailAttachmentArgs) ElementType added in v0.1.8

func (BatchSendEmailAttachmentArgs) ToBatchSendEmailAttachmentOutput added in v0.1.8

func (i BatchSendEmailAttachmentArgs) ToBatchSendEmailAttachmentOutput() BatchSendEmailAttachmentOutput

func (BatchSendEmailAttachmentArgs) ToBatchSendEmailAttachmentOutputWithContext added in v0.1.8

func (i BatchSendEmailAttachmentArgs) ToBatchSendEmailAttachmentOutputWithContext(ctx context.Context) BatchSendEmailAttachmentOutput

type BatchSendEmailAttachmentArray added in v0.1.8

type BatchSendEmailAttachmentArray []BatchSendEmailAttachmentInput

func (BatchSendEmailAttachmentArray) ElementType added in v0.1.8

func (BatchSendEmailAttachmentArray) ToBatchSendEmailAttachmentArrayOutput added in v0.1.8

func (i BatchSendEmailAttachmentArray) ToBatchSendEmailAttachmentArrayOutput() BatchSendEmailAttachmentArrayOutput

func (BatchSendEmailAttachmentArray) ToBatchSendEmailAttachmentArrayOutputWithContext added in v0.1.8

func (i BatchSendEmailAttachmentArray) ToBatchSendEmailAttachmentArrayOutputWithContext(ctx context.Context) BatchSendEmailAttachmentArrayOutput

type BatchSendEmailAttachmentArrayInput added in v0.1.8

type BatchSendEmailAttachmentArrayInput interface {
	pulumi.Input

	ToBatchSendEmailAttachmentArrayOutput() BatchSendEmailAttachmentArrayOutput
	ToBatchSendEmailAttachmentArrayOutputWithContext(context.Context) BatchSendEmailAttachmentArrayOutput
}

BatchSendEmailAttachmentArrayInput is an input type that accepts BatchSendEmailAttachmentArray and BatchSendEmailAttachmentArrayOutput values. You can construct a concrete instance of `BatchSendEmailAttachmentArrayInput` via:

BatchSendEmailAttachmentArray{ BatchSendEmailAttachmentArgs{...} }

type BatchSendEmailAttachmentArrayOutput added in v0.1.8

type BatchSendEmailAttachmentArrayOutput struct{ *pulumi.OutputState }

func (BatchSendEmailAttachmentArrayOutput) ElementType added in v0.1.8

func (BatchSendEmailAttachmentArrayOutput) Index added in v0.1.8

func (BatchSendEmailAttachmentArrayOutput) ToBatchSendEmailAttachmentArrayOutput added in v0.1.8

func (o BatchSendEmailAttachmentArrayOutput) ToBatchSendEmailAttachmentArrayOutput() BatchSendEmailAttachmentArrayOutput

func (BatchSendEmailAttachmentArrayOutput) ToBatchSendEmailAttachmentArrayOutputWithContext added in v0.1.8

func (o BatchSendEmailAttachmentArrayOutput) ToBatchSendEmailAttachmentArrayOutputWithContext(ctx context.Context) BatchSendEmailAttachmentArrayOutput

type BatchSendEmailAttachmentInput added in v0.1.8

type BatchSendEmailAttachmentInput interface {
	pulumi.Input

	ToBatchSendEmailAttachmentOutput() BatchSendEmailAttachmentOutput
	ToBatchSendEmailAttachmentOutputWithContext(context.Context) BatchSendEmailAttachmentOutput
}

BatchSendEmailAttachmentInput is an input type that accepts BatchSendEmailAttachmentArgs and BatchSendEmailAttachmentOutput values. You can construct a concrete instance of `BatchSendEmailAttachmentInput` via:

BatchSendEmailAttachmentArgs{...}

type BatchSendEmailAttachmentOutput added in v0.1.8

type BatchSendEmailAttachmentOutput struct{ *pulumi.OutputState }

func (BatchSendEmailAttachmentOutput) Content added in v0.1.8

Base64-encoded attachment content. You can send attachments of up to 4 MB in the total size.Note: The TencentCloud API supports a request packet of up to 8 MB in size, and the size of the attachmentcontent will increase by 1.5 times after Base64 encoding. Therefore, you need to keep the total size of allattachments below 4 MB. If the entire request exceeds 8 MB, the API will return an error.

func (BatchSendEmailAttachmentOutput) ElementType added in v0.1.8

func (BatchSendEmailAttachmentOutput) FileName added in v0.1.8

Attachment name, which cannot exceed 255 characters. Some attachment types are not supported. For details, see [Attachment Types.](https://www.tencentcloud.com/document/product/1084/42373?has_map=1).

func (BatchSendEmailAttachmentOutput) ToBatchSendEmailAttachmentOutput added in v0.1.8

func (o BatchSendEmailAttachmentOutput) ToBatchSendEmailAttachmentOutput() BatchSendEmailAttachmentOutput

func (BatchSendEmailAttachmentOutput) ToBatchSendEmailAttachmentOutputWithContext added in v0.1.8

func (o BatchSendEmailAttachmentOutput) ToBatchSendEmailAttachmentOutputWithContext(ctx context.Context) BatchSendEmailAttachmentOutput

type BatchSendEmailCycleParam added in v0.1.8

type BatchSendEmailCycleParam struct {
	// Start time of the task.
	BeginTime string `pulumi:"beginTime"`
	// Task recurrence in hours.
	IntervalTime int `pulumi:"intervalTime"`
	// Specifies whether to end the cycle. This parameter is used to update the task. Valid values: 0: No; 1: Yes.
	TermCycle *int `pulumi:"termCycle"`
}

type BatchSendEmailCycleParamArgs added in v0.1.8

type BatchSendEmailCycleParamArgs struct {
	// Start time of the task.
	BeginTime pulumi.StringInput `pulumi:"beginTime"`
	// Task recurrence in hours.
	IntervalTime pulumi.IntInput `pulumi:"intervalTime"`
	// Specifies whether to end the cycle. This parameter is used to update the task. Valid values: 0: No; 1: Yes.
	TermCycle pulumi.IntPtrInput `pulumi:"termCycle"`
}

func (BatchSendEmailCycleParamArgs) ElementType added in v0.1.8

func (BatchSendEmailCycleParamArgs) ToBatchSendEmailCycleParamOutput added in v0.1.8

func (i BatchSendEmailCycleParamArgs) ToBatchSendEmailCycleParamOutput() BatchSendEmailCycleParamOutput

func (BatchSendEmailCycleParamArgs) ToBatchSendEmailCycleParamOutputWithContext added in v0.1.8

func (i BatchSendEmailCycleParamArgs) ToBatchSendEmailCycleParamOutputWithContext(ctx context.Context) BatchSendEmailCycleParamOutput

func (BatchSendEmailCycleParamArgs) ToBatchSendEmailCycleParamPtrOutput added in v0.1.8

func (i BatchSendEmailCycleParamArgs) ToBatchSendEmailCycleParamPtrOutput() BatchSendEmailCycleParamPtrOutput

func (BatchSendEmailCycleParamArgs) ToBatchSendEmailCycleParamPtrOutputWithContext added in v0.1.8

func (i BatchSendEmailCycleParamArgs) ToBatchSendEmailCycleParamPtrOutputWithContext(ctx context.Context) BatchSendEmailCycleParamPtrOutput

type BatchSendEmailCycleParamInput added in v0.1.8

type BatchSendEmailCycleParamInput interface {
	pulumi.Input

	ToBatchSendEmailCycleParamOutput() BatchSendEmailCycleParamOutput
	ToBatchSendEmailCycleParamOutputWithContext(context.Context) BatchSendEmailCycleParamOutput
}

BatchSendEmailCycleParamInput is an input type that accepts BatchSendEmailCycleParamArgs and BatchSendEmailCycleParamOutput values. You can construct a concrete instance of `BatchSendEmailCycleParamInput` via:

BatchSendEmailCycleParamArgs{...}

type BatchSendEmailCycleParamOutput added in v0.1.8

type BatchSendEmailCycleParamOutput struct{ *pulumi.OutputState }

func (BatchSendEmailCycleParamOutput) BeginTime added in v0.1.8

Start time of the task.

func (BatchSendEmailCycleParamOutput) ElementType added in v0.1.8

func (BatchSendEmailCycleParamOutput) IntervalTime added in v0.1.8

Task recurrence in hours.

func (BatchSendEmailCycleParamOutput) TermCycle added in v0.1.8

Specifies whether to end the cycle. This parameter is used to update the task. Valid values: 0: No; 1: Yes.

func (BatchSendEmailCycleParamOutput) ToBatchSendEmailCycleParamOutput added in v0.1.8

func (o BatchSendEmailCycleParamOutput) ToBatchSendEmailCycleParamOutput() BatchSendEmailCycleParamOutput

func (BatchSendEmailCycleParamOutput) ToBatchSendEmailCycleParamOutputWithContext added in v0.1.8

func (o BatchSendEmailCycleParamOutput) ToBatchSendEmailCycleParamOutputWithContext(ctx context.Context) BatchSendEmailCycleParamOutput

func (BatchSendEmailCycleParamOutput) ToBatchSendEmailCycleParamPtrOutput added in v0.1.8

func (o BatchSendEmailCycleParamOutput) ToBatchSendEmailCycleParamPtrOutput() BatchSendEmailCycleParamPtrOutput

func (BatchSendEmailCycleParamOutput) ToBatchSendEmailCycleParamPtrOutputWithContext added in v0.1.8

func (o BatchSendEmailCycleParamOutput) ToBatchSendEmailCycleParamPtrOutputWithContext(ctx context.Context) BatchSendEmailCycleParamPtrOutput

type BatchSendEmailCycleParamPtrInput added in v0.1.8

type BatchSendEmailCycleParamPtrInput interface {
	pulumi.Input

	ToBatchSendEmailCycleParamPtrOutput() BatchSendEmailCycleParamPtrOutput
	ToBatchSendEmailCycleParamPtrOutputWithContext(context.Context) BatchSendEmailCycleParamPtrOutput
}

BatchSendEmailCycleParamPtrInput is an input type that accepts BatchSendEmailCycleParamArgs, BatchSendEmailCycleParamPtr and BatchSendEmailCycleParamPtrOutput values. You can construct a concrete instance of `BatchSendEmailCycleParamPtrInput` via:

        BatchSendEmailCycleParamArgs{...}

or:

        nil

func BatchSendEmailCycleParamPtr added in v0.1.8

func BatchSendEmailCycleParamPtr(v *BatchSendEmailCycleParamArgs) BatchSendEmailCycleParamPtrInput

type BatchSendEmailCycleParamPtrOutput added in v0.1.8

type BatchSendEmailCycleParamPtrOutput struct{ *pulumi.OutputState }

func (BatchSendEmailCycleParamPtrOutput) BeginTime added in v0.1.8

Start time of the task.

func (BatchSendEmailCycleParamPtrOutput) Elem added in v0.1.8

func (BatchSendEmailCycleParamPtrOutput) ElementType added in v0.1.8

func (BatchSendEmailCycleParamPtrOutput) IntervalTime added in v0.1.8

Task recurrence in hours.

func (BatchSendEmailCycleParamPtrOutput) TermCycle added in v0.1.8

Specifies whether to end the cycle. This parameter is used to update the task. Valid values: 0: No; 1: Yes.

func (BatchSendEmailCycleParamPtrOutput) ToBatchSendEmailCycleParamPtrOutput added in v0.1.8

func (o BatchSendEmailCycleParamPtrOutput) ToBatchSendEmailCycleParamPtrOutput() BatchSendEmailCycleParamPtrOutput

func (BatchSendEmailCycleParamPtrOutput) ToBatchSendEmailCycleParamPtrOutputWithContext added in v0.1.8

func (o BatchSendEmailCycleParamPtrOutput) ToBatchSendEmailCycleParamPtrOutputWithContext(ctx context.Context) BatchSendEmailCycleParamPtrOutput

type BatchSendEmailInput added in v0.1.8

type BatchSendEmailInput interface {
	pulumi.Input

	ToBatchSendEmailOutput() BatchSendEmailOutput
	ToBatchSendEmailOutputWithContext(ctx context.Context) BatchSendEmailOutput
}

type BatchSendEmailMap added in v0.1.8

type BatchSendEmailMap map[string]BatchSendEmailInput

func (BatchSendEmailMap) ElementType added in v0.1.8

func (BatchSendEmailMap) ElementType() reflect.Type

func (BatchSendEmailMap) ToBatchSendEmailMapOutput added in v0.1.8

func (i BatchSendEmailMap) ToBatchSendEmailMapOutput() BatchSendEmailMapOutput

func (BatchSendEmailMap) ToBatchSendEmailMapOutputWithContext added in v0.1.8

func (i BatchSendEmailMap) ToBatchSendEmailMapOutputWithContext(ctx context.Context) BatchSendEmailMapOutput

type BatchSendEmailMapInput added in v0.1.8

type BatchSendEmailMapInput interface {
	pulumi.Input

	ToBatchSendEmailMapOutput() BatchSendEmailMapOutput
	ToBatchSendEmailMapOutputWithContext(context.Context) BatchSendEmailMapOutput
}

BatchSendEmailMapInput is an input type that accepts BatchSendEmailMap and BatchSendEmailMapOutput values. You can construct a concrete instance of `BatchSendEmailMapInput` via:

BatchSendEmailMap{ "key": BatchSendEmailArgs{...} }

type BatchSendEmailMapOutput added in v0.1.8

type BatchSendEmailMapOutput struct{ *pulumi.OutputState }

func (BatchSendEmailMapOutput) ElementType added in v0.1.8

func (BatchSendEmailMapOutput) ElementType() reflect.Type

func (BatchSendEmailMapOutput) MapIndex added in v0.1.8

func (BatchSendEmailMapOutput) ToBatchSendEmailMapOutput added in v0.1.8

func (o BatchSendEmailMapOutput) ToBatchSendEmailMapOutput() BatchSendEmailMapOutput

func (BatchSendEmailMapOutput) ToBatchSendEmailMapOutputWithContext added in v0.1.8

func (o BatchSendEmailMapOutput) ToBatchSendEmailMapOutputWithContext(ctx context.Context) BatchSendEmailMapOutput

type BatchSendEmailOutput added in v0.1.8

type BatchSendEmailOutput struct{ *pulumi.OutputState }

func (BatchSendEmailOutput) AdLocation added in v0.1.8

func (o BatchSendEmailOutput) AdLocation() pulumi.IntPtrOutput

Whether to add an ad tag. 0: Add no tag; 1: Add before the subject; 2: Add after the subject.

func (BatchSendEmailOutput) Attachments added in v0.1.8

Attachment parameters to set when you need to send attachments. This parameter is currently unavailable.

func (BatchSendEmailOutput) CycleParam added in v0.1.8

Parameter required for a recurring sending task.

func (BatchSendEmailOutput) ElementType added in v0.1.8

func (BatchSendEmailOutput) ElementType() reflect.Type

func (BatchSendEmailOutput) FromEmailAddress added in v0.1.8

func (o BatchSendEmailOutput) FromEmailAddress() pulumi.StringOutput

Sender address. Enter a sender address such as noreply@mail.qcloud.com. To display the sender name, enter the address in the following format:sender <email address>. For example:Tencent Cloud team <noreply@mail.qcloud.com>.

func (BatchSendEmailOutput) ReceiverId added in v0.1.8

func (o BatchSendEmailOutput) ReceiverId() pulumi.IntOutput

Recipient group ID.

func (BatchSendEmailOutput) ReplyToAddresses added in v0.1.8

func (o BatchSendEmailOutput) ReplyToAddresses() pulumi.StringPtrOutput

Reply-to address. You can enter a valid personal email address that can receive emails. If this parameter is left empty, reply emails will fail to be sent.

func (BatchSendEmailOutput) Subject added in v0.1.8

Email subject.

func (BatchSendEmailOutput) TaskType added in v0.1.8

func (o BatchSendEmailOutput) TaskType() pulumi.IntOutput

Task type. 1: immediate; 2: scheduled; 3: recurring.

func (BatchSendEmailOutput) Template added in v0.1.8

Template when emails are sent using a template.

func (BatchSendEmailOutput) TimedParam added in v0.1.8

Parameter required for a scheduled sending task.

func (BatchSendEmailOutput) ToBatchSendEmailOutput added in v0.1.8

func (o BatchSendEmailOutput) ToBatchSendEmailOutput() BatchSendEmailOutput

func (BatchSendEmailOutput) ToBatchSendEmailOutputWithContext added in v0.1.8

func (o BatchSendEmailOutput) ToBatchSendEmailOutputWithContext(ctx context.Context) BatchSendEmailOutput

func (BatchSendEmailOutput) Unsubscribe added in v0.1.8

Unsubscribe link option. 0: Do not add unsubscribe link; 1: English 2: Simplified Chinese; 3: Traditional Chinese; 4: Spanish; 5: French; 6: German; 7: Japanese; 8: Korean; 9: Arabic; 10: Thai.

type BatchSendEmailState added in v0.1.8

type BatchSendEmailState struct {
	// Whether to add an ad tag. 0: Add no tag; 1: Add before the subject; 2: Add after the subject.
	AdLocation pulumi.IntPtrInput
	// Attachment parameters to set when you need to send attachments. This parameter is currently unavailable.
	Attachments BatchSendEmailAttachmentArrayInput
	// Parameter required for a recurring sending task.
	CycleParam BatchSendEmailCycleParamPtrInput
	// Sender address. Enter a sender address such as noreply@mail.qcloud.com. To display the sender name, enter the address in the following format:sender <email address>. For example:Tencent Cloud team <noreply@mail.qcloud.com>.
	FromEmailAddress pulumi.StringPtrInput
	// Recipient group ID.
	ReceiverId pulumi.IntPtrInput
	// Reply-to address. You can enter a valid personal email address that can receive emails. If this parameter is left empty, reply emails will fail to be sent.
	ReplyToAddresses pulumi.StringPtrInput
	// Email subject.
	Subject pulumi.StringPtrInput
	// Task type. 1: immediate; 2: scheduled; 3: recurring.
	TaskType pulumi.IntPtrInput
	// Template when emails are sent using a template.
	Template BatchSendEmailTemplatePtrInput
	// Parameter required for a scheduled sending task.
	TimedParam BatchSendEmailTimedParamPtrInput
	// Unsubscribe link option.  0: Do not add unsubscribe link; 1: English 2: Simplified Chinese;  3: Traditional Chinese; 4: Spanish; 5: French;  6: German; 7: Japanese; 8: Korean;  9: Arabic; 10: Thai.
	Unsubscribe pulumi.StringPtrInput
}

func (BatchSendEmailState) ElementType added in v0.1.8

func (BatchSendEmailState) ElementType() reflect.Type

type BatchSendEmailTemplate added in v0.1.8

type BatchSendEmailTemplate struct {
	// Variable parameters in the template. Please use json.dump to format the JSON object into a string type.The object is a set of key-value pairs. Each key denotes a variable, which is represented by {{key}}. The key will be replaced with the correspondingvalue (represented by {{value}}) when sending the email.Note: The parameter value cannot be data of a complex type such as HTML.Example: {name:xxx,age:xx}.
	TemplateData string `pulumi:"templateData"`
	// Template ID. If you do not have any template, please create one.
	TemplateId int `pulumi:"templateId"`
}

type BatchSendEmailTemplateArgs added in v0.1.8

type BatchSendEmailTemplateArgs struct {
	// Variable parameters in the template. Please use json.dump to format the JSON object into a string type.The object is a set of key-value pairs. Each key denotes a variable, which is represented by {{key}}. The key will be replaced with the correspondingvalue (represented by {{value}}) when sending the email.Note: The parameter value cannot be data of a complex type such as HTML.Example: {name:xxx,age:xx}.
	TemplateData pulumi.StringInput `pulumi:"templateData"`
	// Template ID. If you do not have any template, please create one.
	TemplateId pulumi.IntInput `pulumi:"templateId"`
}

func (BatchSendEmailTemplateArgs) ElementType added in v0.1.8

func (BatchSendEmailTemplateArgs) ElementType() reflect.Type

func (BatchSendEmailTemplateArgs) ToBatchSendEmailTemplateOutput added in v0.1.8

func (i BatchSendEmailTemplateArgs) ToBatchSendEmailTemplateOutput() BatchSendEmailTemplateOutput

func (BatchSendEmailTemplateArgs) ToBatchSendEmailTemplateOutputWithContext added in v0.1.8

func (i BatchSendEmailTemplateArgs) ToBatchSendEmailTemplateOutputWithContext(ctx context.Context) BatchSendEmailTemplateOutput

func (BatchSendEmailTemplateArgs) ToBatchSendEmailTemplatePtrOutput added in v0.1.8

func (i BatchSendEmailTemplateArgs) ToBatchSendEmailTemplatePtrOutput() BatchSendEmailTemplatePtrOutput

func (BatchSendEmailTemplateArgs) ToBatchSendEmailTemplatePtrOutputWithContext added in v0.1.8

func (i BatchSendEmailTemplateArgs) ToBatchSendEmailTemplatePtrOutputWithContext(ctx context.Context) BatchSendEmailTemplatePtrOutput

type BatchSendEmailTemplateInput added in v0.1.8

type BatchSendEmailTemplateInput interface {
	pulumi.Input

	ToBatchSendEmailTemplateOutput() BatchSendEmailTemplateOutput
	ToBatchSendEmailTemplateOutputWithContext(context.Context) BatchSendEmailTemplateOutput
}

BatchSendEmailTemplateInput is an input type that accepts BatchSendEmailTemplateArgs and BatchSendEmailTemplateOutput values. You can construct a concrete instance of `BatchSendEmailTemplateInput` via:

BatchSendEmailTemplateArgs{...}

type BatchSendEmailTemplateOutput added in v0.1.8

type BatchSendEmailTemplateOutput struct{ *pulumi.OutputState }

func (BatchSendEmailTemplateOutput) ElementType added in v0.1.8

func (BatchSendEmailTemplateOutput) TemplateData added in v0.1.8

Variable parameters in the template. Please use json.dump to format the JSON object into a string type.The object is a set of key-value pairs. Each key denotes a variable, which is represented by {{key}}. The key will be replaced with the correspondingvalue (represented by {{value}}) when sending the email.Note: The parameter value cannot be data of a complex type such as HTML.Example: {name:xxx,age:xx}.

func (BatchSendEmailTemplateOutput) TemplateId added in v0.1.8

Template ID. If you do not have any template, please create one.

func (BatchSendEmailTemplateOutput) ToBatchSendEmailTemplateOutput added in v0.1.8

func (o BatchSendEmailTemplateOutput) ToBatchSendEmailTemplateOutput() BatchSendEmailTemplateOutput

func (BatchSendEmailTemplateOutput) ToBatchSendEmailTemplateOutputWithContext added in v0.1.8

func (o BatchSendEmailTemplateOutput) ToBatchSendEmailTemplateOutputWithContext(ctx context.Context) BatchSendEmailTemplateOutput

func (BatchSendEmailTemplateOutput) ToBatchSendEmailTemplatePtrOutput added in v0.1.8

func (o BatchSendEmailTemplateOutput) ToBatchSendEmailTemplatePtrOutput() BatchSendEmailTemplatePtrOutput

func (BatchSendEmailTemplateOutput) ToBatchSendEmailTemplatePtrOutputWithContext added in v0.1.8

func (o BatchSendEmailTemplateOutput) ToBatchSendEmailTemplatePtrOutputWithContext(ctx context.Context) BatchSendEmailTemplatePtrOutput

type BatchSendEmailTemplatePtrInput added in v0.1.8

type BatchSendEmailTemplatePtrInput interface {
	pulumi.Input

	ToBatchSendEmailTemplatePtrOutput() BatchSendEmailTemplatePtrOutput
	ToBatchSendEmailTemplatePtrOutputWithContext(context.Context) BatchSendEmailTemplatePtrOutput
}

BatchSendEmailTemplatePtrInput is an input type that accepts BatchSendEmailTemplateArgs, BatchSendEmailTemplatePtr and BatchSendEmailTemplatePtrOutput values. You can construct a concrete instance of `BatchSendEmailTemplatePtrInput` via:

        BatchSendEmailTemplateArgs{...}

or:

        nil

func BatchSendEmailTemplatePtr added in v0.1.8

func BatchSendEmailTemplatePtr(v *BatchSendEmailTemplateArgs) BatchSendEmailTemplatePtrInput

type BatchSendEmailTemplatePtrOutput added in v0.1.8

type BatchSendEmailTemplatePtrOutput struct{ *pulumi.OutputState }

func (BatchSendEmailTemplatePtrOutput) Elem added in v0.1.8

func (BatchSendEmailTemplatePtrOutput) ElementType added in v0.1.8

func (BatchSendEmailTemplatePtrOutput) TemplateData added in v0.1.8

Variable parameters in the template. Please use json.dump to format the JSON object into a string type.The object is a set of key-value pairs. Each key denotes a variable, which is represented by {{key}}. The key will be replaced with the correspondingvalue (represented by {{value}}) when sending the email.Note: The parameter value cannot be data of a complex type such as HTML.Example: {name:xxx,age:xx}.

func (BatchSendEmailTemplatePtrOutput) TemplateId added in v0.1.8

Template ID. If you do not have any template, please create one.

func (BatchSendEmailTemplatePtrOutput) ToBatchSendEmailTemplatePtrOutput added in v0.1.8

func (o BatchSendEmailTemplatePtrOutput) ToBatchSendEmailTemplatePtrOutput() BatchSendEmailTemplatePtrOutput

func (BatchSendEmailTemplatePtrOutput) ToBatchSendEmailTemplatePtrOutputWithContext added in v0.1.8

func (o BatchSendEmailTemplatePtrOutput) ToBatchSendEmailTemplatePtrOutputWithContext(ctx context.Context) BatchSendEmailTemplatePtrOutput

type BatchSendEmailTimedParam added in v0.1.8

type BatchSendEmailTimedParam struct {
	// Start time of a scheduled sending task.
	BeginTime string `pulumi:"beginTime"`
}

type BatchSendEmailTimedParamArgs added in v0.1.8

type BatchSendEmailTimedParamArgs struct {
	// Start time of a scheduled sending task.
	BeginTime pulumi.StringInput `pulumi:"beginTime"`
}

func (BatchSendEmailTimedParamArgs) ElementType added in v0.1.8

func (BatchSendEmailTimedParamArgs) ToBatchSendEmailTimedParamOutput added in v0.1.8

func (i BatchSendEmailTimedParamArgs) ToBatchSendEmailTimedParamOutput() BatchSendEmailTimedParamOutput

func (BatchSendEmailTimedParamArgs) ToBatchSendEmailTimedParamOutputWithContext added in v0.1.8

func (i BatchSendEmailTimedParamArgs) ToBatchSendEmailTimedParamOutputWithContext(ctx context.Context) BatchSendEmailTimedParamOutput

func (BatchSendEmailTimedParamArgs) ToBatchSendEmailTimedParamPtrOutput added in v0.1.8

func (i BatchSendEmailTimedParamArgs) ToBatchSendEmailTimedParamPtrOutput() BatchSendEmailTimedParamPtrOutput

func (BatchSendEmailTimedParamArgs) ToBatchSendEmailTimedParamPtrOutputWithContext added in v0.1.8

func (i BatchSendEmailTimedParamArgs) ToBatchSendEmailTimedParamPtrOutputWithContext(ctx context.Context) BatchSendEmailTimedParamPtrOutput

type BatchSendEmailTimedParamInput added in v0.1.8

type BatchSendEmailTimedParamInput interface {
	pulumi.Input

	ToBatchSendEmailTimedParamOutput() BatchSendEmailTimedParamOutput
	ToBatchSendEmailTimedParamOutputWithContext(context.Context) BatchSendEmailTimedParamOutput
}

BatchSendEmailTimedParamInput is an input type that accepts BatchSendEmailTimedParamArgs and BatchSendEmailTimedParamOutput values. You can construct a concrete instance of `BatchSendEmailTimedParamInput` via:

BatchSendEmailTimedParamArgs{...}

type BatchSendEmailTimedParamOutput added in v0.1.8

type BatchSendEmailTimedParamOutput struct{ *pulumi.OutputState }

func (BatchSendEmailTimedParamOutput) BeginTime added in v0.1.8

Start time of a scheduled sending task.

func (BatchSendEmailTimedParamOutput) ElementType added in v0.1.8

func (BatchSendEmailTimedParamOutput) ToBatchSendEmailTimedParamOutput added in v0.1.8

func (o BatchSendEmailTimedParamOutput) ToBatchSendEmailTimedParamOutput() BatchSendEmailTimedParamOutput

func (BatchSendEmailTimedParamOutput) ToBatchSendEmailTimedParamOutputWithContext added in v0.1.8

func (o BatchSendEmailTimedParamOutput) ToBatchSendEmailTimedParamOutputWithContext(ctx context.Context) BatchSendEmailTimedParamOutput

func (BatchSendEmailTimedParamOutput) ToBatchSendEmailTimedParamPtrOutput added in v0.1.8

func (o BatchSendEmailTimedParamOutput) ToBatchSendEmailTimedParamPtrOutput() BatchSendEmailTimedParamPtrOutput

func (BatchSendEmailTimedParamOutput) ToBatchSendEmailTimedParamPtrOutputWithContext added in v0.1.8

func (o BatchSendEmailTimedParamOutput) ToBatchSendEmailTimedParamPtrOutputWithContext(ctx context.Context) BatchSendEmailTimedParamPtrOutput

type BatchSendEmailTimedParamPtrInput added in v0.1.8

type BatchSendEmailTimedParamPtrInput interface {
	pulumi.Input

	ToBatchSendEmailTimedParamPtrOutput() BatchSendEmailTimedParamPtrOutput
	ToBatchSendEmailTimedParamPtrOutputWithContext(context.Context) BatchSendEmailTimedParamPtrOutput
}

BatchSendEmailTimedParamPtrInput is an input type that accepts BatchSendEmailTimedParamArgs, BatchSendEmailTimedParamPtr and BatchSendEmailTimedParamPtrOutput values. You can construct a concrete instance of `BatchSendEmailTimedParamPtrInput` via:

        BatchSendEmailTimedParamArgs{...}

or:

        nil

func BatchSendEmailTimedParamPtr added in v0.1.8

func BatchSendEmailTimedParamPtr(v *BatchSendEmailTimedParamArgs) BatchSendEmailTimedParamPtrInput

type BatchSendEmailTimedParamPtrOutput added in v0.1.8

type BatchSendEmailTimedParamPtrOutput struct{ *pulumi.OutputState }

func (BatchSendEmailTimedParamPtrOutput) BeginTime added in v0.1.8

Start time of a scheduled sending task.

func (BatchSendEmailTimedParamPtrOutput) Elem added in v0.1.8

func (BatchSendEmailTimedParamPtrOutput) ElementType added in v0.1.8

func (BatchSendEmailTimedParamPtrOutput) ToBatchSendEmailTimedParamPtrOutput added in v0.1.8

func (o BatchSendEmailTimedParamPtrOutput) ToBatchSendEmailTimedParamPtrOutput() BatchSendEmailTimedParamPtrOutput

func (BatchSendEmailTimedParamPtrOutput) ToBatchSendEmailTimedParamPtrOutputWithContext added in v0.1.8

func (o BatchSendEmailTimedParamPtrOutput) ToBatchSendEmailTimedParamPtrOutputWithContext(ctx context.Context) BatchSendEmailTimedParamPtrOutput

type BlackListDelete added in v0.1.8

type BlackListDelete struct {
	pulumi.CustomResourceState

	// Email addresses to be unblocklisted.
	EmailAddress pulumi.StringOutput `pulumi:"emailAddress"`
}

Provides a resource to create a ses blackList

> **NOTE:** Used to remove email addresses from blacklists.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ses.NewBlackListDelete(ctx, "blackList", &Ses.BlackListDeleteArgs{
			EmailAddress: pulumi.String("terraform-tf@gmail.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetBlackListDelete added in v0.1.8

func GetBlackListDelete(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BlackListDeleteState, opts ...pulumi.ResourceOption) (*BlackListDelete, error)

GetBlackListDelete gets an existing BlackListDelete 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 NewBlackListDelete added in v0.1.8

func NewBlackListDelete(ctx *pulumi.Context,
	name string, args *BlackListDeleteArgs, opts ...pulumi.ResourceOption) (*BlackListDelete, error)

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

func (*BlackListDelete) ElementType added in v0.1.8

func (*BlackListDelete) ElementType() reflect.Type

func (*BlackListDelete) ToBlackListDeleteOutput added in v0.1.8

func (i *BlackListDelete) ToBlackListDeleteOutput() BlackListDeleteOutput

func (*BlackListDelete) ToBlackListDeleteOutputWithContext added in v0.1.8

func (i *BlackListDelete) ToBlackListDeleteOutputWithContext(ctx context.Context) BlackListDeleteOutput

type BlackListDeleteArgs added in v0.1.8

type BlackListDeleteArgs struct {
	// Email addresses to be unblocklisted.
	EmailAddress pulumi.StringInput
}

The set of arguments for constructing a BlackListDelete resource.

func (BlackListDeleteArgs) ElementType added in v0.1.8

func (BlackListDeleteArgs) ElementType() reflect.Type

type BlackListDeleteArray added in v0.1.8

type BlackListDeleteArray []BlackListDeleteInput

func (BlackListDeleteArray) ElementType added in v0.1.8

func (BlackListDeleteArray) ElementType() reflect.Type

func (BlackListDeleteArray) ToBlackListDeleteArrayOutput added in v0.1.8

func (i BlackListDeleteArray) ToBlackListDeleteArrayOutput() BlackListDeleteArrayOutput

func (BlackListDeleteArray) ToBlackListDeleteArrayOutputWithContext added in v0.1.8

func (i BlackListDeleteArray) ToBlackListDeleteArrayOutputWithContext(ctx context.Context) BlackListDeleteArrayOutput

type BlackListDeleteArrayInput added in v0.1.8

type BlackListDeleteArrayInput interface {
	pulumi.Input

	ToBlackListDeleteArrayOutput() BlackListDeleteArrayOutput
	ToBlackListDeleteArrayOutputWithContext(context.Context) BlackListDeleteArrayOutput
}

BlackListDeleteArrayInput is an input type that accepts BlackListDeleteArray and BlackListDeleteArrayOutput values. You can construct a concrete instance of `BlackListDeleteArrayInput` via:

BlackListDeleteArray{ BlackListDeleteArgs{...} }

type BlackListDeleteArrayOutput added in v0.1.8

type BlackListDeleteArrayOutput struct{ *pulumi.OutputState }

func (BlackListDeleteArrayOutput) ElementType added in v0.1.8

func (BlackListDeleteArrayOutput) ElementType() reflect.Type

func (BlackListDeleteArrayOutput) Index added in v0.1.8

func (BlackListDeleteArrayOutput) ToBlackListDeleteArrayOutput added in v0.1.8

func (o BlackListDeleteArrayOutput) ToBlackListDeleteArrayOutput() BlackListDeleteArrayOutput

func (BlackListDeleteArrayOutput) ToBlackListDeleteArrayOutputWithContext added in v0.1.8

func (o BlackListDeleteArrayOutput) ToBlackListDeleteArrayOutputWithContext(ctx context.Context) BlackListDeleteArrayOutput

type BlackListDeleteInput added in v0.1.8

type BlackListDeleteInput interface {
	pulumi.Input

	ToBlackListDeleteOutput() BlackListDeleteOutput
	ToBlackListDeleteOutputWithContext(ctx context.Context) BlackListDeleteOutput
}

type BlackListDeleteMap added in v0.1.8

type BlackListDeleteMap map[string]BlackListDeleteInput

func (BlackListDeleteMap) ElementType added in v0.1.8

func (BlackListDeleteMap) ElementType() reflect.Type

func (BlackListDeleteMap) ToBlackListDeleteMapOutput added in v0.1.8

func (i BlackListDeleteMap) ToBlackListDeleteMapOutput() BlackListDeleteMapOutput

func (BlackListDeleteMap) ToBlackListDeleteMapOutputWithContext added in v0.1.8

func (i BlackListDeleteMap) ToBlackListDeleteMapOutputWithContext(ctx context.Context) BlackListDeleteMapOutput

type BlackListDeleteMapInput added in v0.1.8

type BlackListDeleteMapInput interface {
	pulumi.Input

	ToBlackListDeleteMapOutput() BlackListDeleteMapOutput
	ToBlackListDeleteMapOutputWithContext(context.Context) BlackListDeleteMapOutput
}

BlackListDeleteMapInput is an input type that accepts BlackListDeleteMap and BlackListDeleteMapOutput values. You can construct a concrete instance of `BlackListDeleteMapInput` via:

BlackListDeleteMap{ "key": BlackListDeleteArgs{...} }

type BlackListDeleteMapOutput added in v0.1.8

type BlackListDeleteMapOutput struct{ *pulumi.OutputState }

func (BlackListDeleteMapOutput) ElementType added in v0.1.8

func (BlackListDeleteMapOutput) ElementType() reflect.Type

func (BlackListDeleteMapOutput) MapIndex added in v0.1.8

func (BlackListDeleteMapOutput) ToBlackListDeleteMapOutput added in v0.1.8

func (o BlackListDeleteMapOutput) ToBlackListDeleteMapOutput() BlackListDeleteMapOutput

func (BlackListDeleteMapOutput) ToBlackListDeleteMapOutputWithContext added in v0.1.8

func (o BlackListDeleteMapOutput) ToBlackListDeleteMapOutputWithContext(ctx context.Context) BlackListDeleteMapOutput

type BlackListDeleteOutput added in v0.1.8

type BlackListDeleteOutput struct{ *pulumi.OutputState }

func (BlackListDeleteOutput) ElementType added in v0.1.8

func (BlackListDeleteOutput) ElementType() reflect.Type

func (BlackListDeleteOutput) EmailAddress added in v0.1.8

func (o BlackListDeleteOutput) EmailAddress() pulumi.StringOutput

Email addresses to be unblocklisted.

func (BlackListDeleteOutput) ToBlackListDeleteOutput added in v0.1.8

func (o BlackListDeleteOutput) ToBlackListDeleteOutput() BlackListDeleteOutput

func (BlackListDeleteOutput) ToBlackListDeleteOutputWithContext added in v0.1.8

func (o BlackListDeleteOutput) ToBlackListDeleteOutputWithContext(ctx context.Context) BlackListDeleteOutput

type BlackListDeleteState added in v0.1.8

type BlackListDeleteState struct {
	// Email addresses to be unblocklisted.
	EmailAddress pulumi.StringPtrInput
}

func (BlackListDeleteState) ElementType added in v0.1.8

func (BlackListDeleteState) ElementType() reflect.Type

type Domain

type Domain struct {
	pulumi.CustomResourceState

	// DNS configuration details.
	Attributes DomainAttributeArrayOutput `pulumi:"attributes"`
	// Your sender domain. You are advised to use a third-level domain, for example, mail.qcloud.com.
	EmailIdentity pulumi.StringOutput `pulumi:"emailIdentity"`
}

Provides a resource to create a ses domain

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ses.NewDomain(ctx, "domain", &Ses.DomainArgs{
			EmailIdentity: pulumi.String("iac.cloud"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ses domain can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Ses/domain:Domain domain iac.cloud

```

func GetDomain

func GetDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DomainState, opts ...pulumi.ResourceOption) (*Domain, error)

GetDomain gets an existing Domain 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 NewDomain

func NewDomain(ctx *pulumi.Context,
	name string, args *DomainArgs, opts ...pulumi.ResourceOption) (*Domain, error)

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

func (*Domain) ElementType

func (*Domain) ElementType() reflect.Type

func (*Domain) ToDomainOutput

func (i *Domain) ToDomainOutput() DomainOutput

func (*Domain) ToDomainOutputWithContext

func (i *Domain) ToDomainOutputWithContext(ctx context.Context) DomainOutput

type DomainArgs

type DomainArgs struct {
	// Your sender domain. You are advised to use a third-level domain, for example, mail.qcloud.com.
	EmailIdentity pulumi.StringInput
}

The set of arguments for constructing a Domain resource.

func (DomainArgs) ElementType

func (DomainArgs) ElementType() reflect.Type

type DomainArray

type DomainArray []DomainInput

func (DomainArray) ElementType

func (DomainArray) ElementType() reflect.Type

func (DomainArray) ToDomainArrayOutput

func (i DomainArray) ToDomainArrayOutput() DomainArrayOutput

func (DomainArray) ToDomainArrayOutputWithContext

func (i DomainArray) ToDomainArrayOutputWithContext(ctx context.Context) DomainArrayOutput

type DomainArrayInput

type DomainArrayInput interface {
	pulumi.Input

	ToDomainArrayOutput() DomainArrayOutput
	ToDomainArrayOutputWithContext(context.Context) DomainArrayOutput
}

DomainArrayInput is an input type that accepts DomainArray and DomainArrayOutput values. You can construct a concrete instance of `DomainArrayInput` via:

DomainArray{ DomainArgs{...} }

type DomainArrayOutput

type DomainArrayOutput struct{ *pulumi.OutputState }

func (DomainArrayOutput) ElementType

func (DomainArrayOutput) ElementType() reflect.Type

func (DomainArrayOutput) Index

func (DomainArrayOutput) ToDomainArrayOutput

func (o DomainArrayOutput) ToDomainArrayOutput() DomainArrayOutput

func (DomainArrayOutput) ToDomainArrayOutputWithContext

func (o DomainArrayOutput) ToDomainArrayOutputWithContext(ctx context.Context) DomainArrayOutput

type DomainAttribute added in v0.1.8

type DomainAttribute struct {
	// Values that need to be configured.
	ExpectedValue *string `pulumi:"expectedValue"`
	// Domain name.
	SendDomain *string `pulumi:"sendDomain"`
	// Record Type CNAME | A | TXT | MX.
	Type *string `pulumi:"type"`
}

type DomainAttributeArgs added in v0.1.8

type DomainAttributeArgs struct {
	// Values that need to be configured.
	ExpectedValue pulumi.StringPtrInput `pulumi:"expectedValue"`
	// Domain name.
	SendDomain pulumi.StringPtrInput `pulumi:"sendDomain"`
	// Record Type CNAME | A | TXT | MX.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (DomainAttributeArgs) ElementType added in v0.1.8

func (DomainAttributeArgs) ElementType() reflect.Type

func (DomainAttributeArgs) ToDomainAttributeOutput added in v0.1.8

func (i DomainAttributeArgs) ToDomainAttributeOutput() DomainAttributeOutput

func (DomainAttributeArgs) ToDomainAttributeOutputWithContext added in v0.1.8

func (i DomainAttributeArgs) ToDomainAttributeOutputWithContext(ctx context.Context) DomainAttributeOutput

type DomainAttributeArray added in v0.1.8

type DomainAttributeArray []DomainAttributeInput

func (DomainAttributeArray) ElementType added in v0.1.8

func (DomainAttributeArray) ElementType() reflect.Type

func (DomainAttributeArray) ToDomainAttributeArrayOutput added in v0.1.8

func (i DomainAttributeArray) ToDomainAttributeArrayOutput() DomainAttributeArrayOutput

func (DomainAttributeArray) ToDomainAttributeArrayOutputWithContext added in v0.1.8

func (i DomainAttributeArray) ToDomainAttributeArrayOutputWithContext(ctx context.Context) DomainAttributeArrayOutput

type DomainAttributeArrayInput added in v0.1.8

type DomainAttributeArrayInput interface {
	pulumi.Input

	ToDomainAttributeArrayOutput() DomainAttributeArrayOutput
	ToDomainAttributeArrayOutputWithContext(context.Context) DomainAttributeArrayOutput
}

DomainAttributeArrayInput is an input type that accepts DomainAttributeArray and DomainAttributeArrayOutput values. You can construct a concrete instance of `DomainAttributeArrayInput` via:

DomainAttributeArray{ DomainAttributeArgs{...} }

type DomainAttributeArrayOutput added in v0.1.8

type DomainAttributeArrayOutput struct{ *pulumi.OutputState }

func (DomainAttributeArrayOutput) ElementType added in v0.1.8

func (DomainAttributeArrayOutput) ElementType() reflect.Type

func (DomainAttributeArrayOutput) Index added in v0.1.8

func (DomainAttributeArrayOutput) ToDomainAttributeArrayOutput added in v0.1.8

func (o DomainAttributeArrayOutput) ToDomainAttributeArrayOutput() DomainAttributeArrayOutput

func (DomainAttributeArrayOutput) ToDomainAttributeArrayOutputWithContext added in v0.1.8

func (o DomainAttributeArrayOutput) ToDomainAttributeArrayOutputWithContext(ctx context.Context) DomainAttributeArrayOutput

type DomainAttributeInput added in v0.1.8

type DomainAttributeInput interface {
	pulumi.Input

	ToDomainAttributeOutput() DomainAttributeOutput
	ToDomainAttributeOutputWithContext(context.Context) DomainAttributeOutput
}

DomainAttributeInput is an input type that accepts DomainAttributeArgs and DomainAttributeOutput values. You can construct a concrete instance of `DomainAttributeInput` via:

DomainAttributeArgs{...}

type DomainAttributeOutput added in v0.1.8

type DomainAttributeOutput struct{ *pulumi.OutputState }

func (DomainAttributeOutput) ElementType added in v0.1.8

func (DomainAttributeOutput) ElementType() reflect.Type

func (DomainAttributeOutput) ExpectedValue added in v0.1.8

func (o DomainAttributeOutput) ExpectedValue() pulumi.StringPtrOutput

Values that need to be configured.

func (DomainAttributeOutput) SendDomain added in v0.1.8

Domain name.

func (DomainAttributeOutput) ToDomainAttributeOutput added in v0.1.8

func (o DomainAttributeOutput) ToDomainAttributeOutput() DomainAttributeOutput

func (DomainAttributeOutput) ToDomainAttributeOutputWithContext added in v0.1.8

func (o DomainAttributeOutput) ToDomainAttributeOutputWithContext(ctx context.Context) DomainAttributeOutput

func (DomainAttributeOutput) Type added in v0.1.8

Record Type CNAME | A | TXT | MX.

type DomainInput

type DomainInput interface {
	pulumi.Input

	ToDomainOutput() DomainOutput
	ToDomainOutputWithContext(ctx context.Context) DomainOutput
}

type DomainMap

type DomainMap map[string]DomainInput

func (DomainMap) ElementType

func (DomainMap) ElementType() reflect.Type

func (DomainMap) ToDomainMapOutput

func (i DomainMap) ToDomainMapOutput() DomainMapOutput

func (DomainMap) ToDomainMapOutputWithContext

func (i DomainMap) ToDomainMapOutputWithContext(ctx context.Context) DomainMapOutput

type DomainMapInput

type DomainMapInput interface {
	pulumi.Input

	ToDomainMapOutput() DomainMapOutput
	ToDomainMapOutputWithContext(context.Context) DomainMapOutput
}

DomainMapInput is an input type that accepts DomainMap and DomainMapOutput values. You can construct a concrete instance of `DomainMapInput` via:

DomainMap{ "key": DomainArgs{...} }

type DomainMapOutput

type DomainMapOutput struct{ *pulumi.OutputState }

func (DomainMapOutput) ElementType

func (DomainMapOutput) ElementType() reflect.Type

func (DomainMapOutput) MapIndex

func (DomainMapOutput) ToDomainMapOutput

func (o DomainMapOutput) ToDomainMapOutput() DomainMapOutput

func (DomainMapOutput) ToDomainMapOutputWithContext

func (o DomainMapOutput) ToDomainMapOutputWithContext(ctx context.Context) DomainMapOutput

type DomainOutput

type DomainOutput struct{ *pulumi.OutputState }

func (DomainOutput) Attributes added in v0.1.8

DNS configuration details.

func (DomainOutput) ElementType

func (DomainOutput) ElementType() reflect.Type

func (DomainOutput) EmailIdentity

func (o DomainOutput) EmailIdentity() pulumi.StringOutput

Your sender domain. You are advised to use a third-level domain, for example, mail.qcloud.com.

func (DomainOutput) ToDomainOutput

func (o DomainOutput) ToDomainOutput() DomainOutput

func (DomainOutput) ToDomainOutputWithContext

func (o DomainOutput) ToDomainOutputWithContext(ctx context.Context) DomainOutput

type DomainState

type DomainState struct {
	// DNS configuration details.
	Attributes DomainAttributeArrayInput
	// Your sender domain. You are advised to use a third-level domain, for example, mail.qcloud.com.
	EmailIdentity pulumi.StringPtrInput
}

func (DomainState) ElementType

func (DomainState) ElementType() reflect.Type

type EmailAddress

type EmailAddress struct {
	pulumi.CustomResourceState

	// Your sender address. (You can create up to 10 sender addresses for each domain.).
	EmailAddress pulumi.StringOutput `pulumi:"emailAddress"`
	// Sender name.
	EmailSenderName pulumi.StringPtrOutput `pulumi:"emailSenderName"`
}

Provides a resource to create a ses emailAddress

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ses.NewEmailAddress(ctx, "emailAddress", &Ses.EmailAddressArgs{
			EmailAddress:    pulumi.String("aaa@iac-tf.cloud"),
			EmailSenderName: pulumi.String("aaa"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ses email_address can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Ses/emailAddress:EmailAddress email_address aaa@iac-tf.cloud

```

func GetEmailAddress

func GetEmailAddress(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EmailAddressState, opts ...pulumi.ResourceOption) (*EmailAddress, error)

GetEmailAddress gets an existing EmailAddress 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 NewEmailAddress

func NewEmailAddress(ctx *pulumi.Context,
	name string, args *EmailAddressArgs, opts ...pulumi.ResourceOption) (*EmailAddress, error)

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

func (*EmailAddress) ElementType

func (*EmailAddress) ElementType() reflect.Type

func (*EmailAddress) ToEmailAddressOutput

func (i *EmailAddress) ToEmailAddressOutput() EmailAddressOutput

func (*EmailAddress) ToEmailAddressOutputWithContext

func (i *EmailAddress) ToEmailAddressOutputWithContext(ctx context.Context) EmailAddressOutput

type EmailAddressArgs

type EmailAddressArgs struct {
	// Your sender address. (You can create up to 10 sender addresses for each domain.).
	EmailAddress pulumi.StringInput
	// Sender name.
	EmailSenderName pulumi.StringPtrInput
}

The set of arguments for constructing a EmailAddress resource.

func (EmailAddressArgs) ElementType

func (EmailAddressArgs) ElementType() reflect.Type

type EmailAddressArray

type EmailAddressArray []EmailAddressInput

func (EmailAddressArray) ElementType

func (EmailAddressArray) ElementType() reflect.Type

func (EmailAddressArray) ToEmailAddressArrayOutput

func (i EmailAddressArray) ToEmailAddressArrayOutput() EmailAddressArrayOutput

func (EmailAddressArray) ToEmailAddressArrayOutputWithContext

func (i EmailAddressArray) ToEmailAddressArrayOutputWithContext(ctx context.Context) EmailAddressArrayOutput

type EmailAddressArrayInput

type EmailAddressArrayInput interface {
	pulumi.Input

	ToEmailAddressArrayOutput() EmailAddressArrayOutput
	ToEmailAddressArrayOutputWithContext(context.Context) EmailAddressArrayOutput
}

EmailAddressArrayInput is an input type that accepts EmailAddressArray and EmailAddressArrayOutput values. You can construct a concrete instance of `EmailAddressArrayInput` via:

EmailAddressArray{ EmailAddressArgs{...} }

type EmailAddressArrayOutput

type EmailAddressArrayOutput struct{ *pulumi.OutputState }

func (EmailAddressArrayOutput) ElementType

func (EmailAddressArrayOutput) ElementType() reflect.Type

func (EmailAddressArrayOutput) Index

func (EmailAddressArrayOutput) ToEmailAddressArrayOutput

func (o EmailAddressArrayOutput) ToEmailAddressArrayOutput() EmailAddressArrayOutput

func (EmailAddressArrayOutput) ToEmailAddressArrayOutputWithContext

func (o EmailAddressArrayOutput) ToEmailAddressArrayOutputWithContext(ctx context.Context) EmailAddressArrayOutput

type EmailAddressInput

type EmailAddressInput interface {
	pulumi.Input

	ToEmailAddressOutput() EmailAddressOutput
	ToEmailAddressOutputWithContext(ctx context.Context) EmailAddressOutput
}

type EmailAddressMap

type EmailAddressMap map[string]EmailAddressInput

func (EmailAddressMap) ElementType

func (EmailAddressMap) ElementType() reflect.Type

func (EmailAddressMap) ToEmailAddressMapOutput

func (i EmailAddressMap) ToEmailAddressMapOutput() EmailAddressMapOutput

func (EmailAddressMap) ToEmailAddressMapOutputWithContext

func (i EmailAddressMap) ToEmailAddressMapOutputWithContext(ctx context.Context) EmailAddressMapOutput

type EmailAddressMapInput

type EmailAddressMapInput interface {
	pulumi.Input

	ToEmailAddressMapOutput() EmailAddressMapOutput
	ToEmailAddressMapOutputWithContext(context.Context) EmailAddressMapOutput
}

EmailAddressMapInput is an input type that accepts EmailAddressMap and EmailAddressMapOutput values. You can construct a concrete instance of `EmailAddressMapInput` via:

EmailAddressMap{ "key": EmailAddressArgs{...} }

type EmailAddressMapOutput

type EmailAddressMapOutput struct{ *pulumi.OutputState }

func (EmailAddressMapOutput) ElementType

func (EmailAddressMapOutput) ElementType() reflect.Type

func (EmailAddressMapOutput) MapIndex

func (EmailAddressMapOutput) ToEmailAddressMapOutput

func (o EmailAddressMapOutput) ToEmailAddressMapOutput() EmailAddressMapOutput

func (EmailAddressMapOutput) ToEmailAddressMapOutputWithContext

func (o EmailAddressMapOutput) ToEmailAddressMapOutputWithContext(ctx context.Context) EmailAddressMapOutput

type EmailAddressOutput

type EmailAddressOutput struct{ *pulumi.OutputState }

func (EmailAddressOutput) ElementType

func (EmailAddressOutput) ElementType() reflect.Type

func (EmailAddressOutput) EmailAddress

func (o EmailAddressOutput) EmailAddress() pulumi.StringOutput

Your sender address. (You can create up to 10 sender addresses for each domain.).

func (EmailAddressOutput) EmailSenderName

func (o EmailAddressOutput) EmailSenderName() pulumi.StringPtrOutput

Sender name.

func (EmailAddressOutput) ToEmailAddressOutput

func (o EmailAddressOutput) ToEmailAddressOutput() EmailAddressOutput

func (EmailAddressOutput) ToEmailAddressOutputWithContext

func (o EmailAddressOutput) ToEmailAddressOutputWithContext(ctx context.Context) EmailAddressOutput

type EmailAddressState

type EmailAddressState struct {
	// Your sender address. (You can create up to 10 sender addresses for each domain.).
	EmailAddress pulumi.StringPtrInput
	// Sender name.
	EmailSenderName pulumi.StringPtrInput
}

func (EmailAddressState) ElementType

func (EmailAddressState) ElementType() reflect.Type

type GetBlackEmailAddressArgs added in v0.1.8

type GetBlackEmailAddressArgs struct {
	// You can specify an email address to query.
	EmailAddress *string `pulumi:"emailAddress"`
	// End date in the format of `YYYY-MM-DD`.
	EndDate string `pulumi:"endDate"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Start date in the format of `YYYY-MM-DD`.
	StartDate string `pulumi:"startDate"`
	// You can specify a task ID to query.
	TaskId *string `pulumi:"taskId"`
}

A collection of arguments for invoking getBlackEmailAddress.

type GetBlackEmailAddressBlackList added in v0.1.8

type GetBlackEmailAddressBlackList struct {
	// Time when the email address is blocklisted.
	BounceTime string `pulumi:"bounceTime"`
	// You can specify an email address to query.
	EmailAddress string `pulumi:"emailAddress"`
}

type GetBlackEmailAddressBlackListArgs added in v0.1.8

type GetBlackEmailAddressBlackListArgs struct {
	// Time when the email address is blocklisted.
	BounceTime pulumi.StringInput `pulumi:"bounceTime"`
	// You can specify an email address to query.
	EmailAddress pulumi.StringInput `pulumi:"emailAddress"`
}

func (GetBlackEmailAddressBlackListArgs) ElementType added in v0.1.8

func (GetBlackEmailAddressBlackListArgs) ToGetBlackEmailAddressBlackListOutput added in v0.1.8

func (i GetBlackEmailAddressBlackListArgs) ToGetBlackEmailAddressBlackListOutput() GetBlackEmailAddressBlackListOutput

func (GetBlackEmailAddressBlackListArgs) ToGetBlackEmailAddressBlackListOutputWithContext added in v0.1.8

func (i GetBlackEmailAddressBlackListArgs) ToGetBlackEmailAddressBlackListOutputWithContext(ctx context.Context) GetBlackEmailAddressBlackListOutput

type GetBlackEmailAddressBlackListArray added in v0.1.8

type GetBlackEmailAddressBlackListArray []GetBlackEmailAddressBlackListInput

func (GetBlackEmailAddressBlackListArray) ElementType added in v0.1.8

func (GetBlackEmailAddressBlackListArray) ToGetBlackEmailAddressBlackListArrayOutput added in v0.1.8

func (i GetBlackEmailAddressBlackListArray) ToGetBlackEmailAddressBlackListArrayOutput() GetBlackEmailAddressBlackListArrayOutput

func (GetBlackEmailAddressBlackListArray) ToGetBlackEmailAddressBlackListArrayOutputWithContext added in v0.1.8

func (i GetBlackEmailAddressBlackListArray) ToGetBlackEmailAddressBlackListArrayOutputWithContext(ctx context.Context) GetBlackEmailAddressBlackListArrayOutput

type GetBlackEmailAddressBlackListArrayInput added in v0.1.8

type GetBlackEmailAddressBlackListArrayInput interface {
	pulumi.Input

	ToGetBlackEmailAddressBlackListArrayOutput() GetBlackEmailAddressBlackListArrayOutput
	ToGetBlackEmailAddressBlackListArrayOutputWithContext(context.Context) GetBlackEmailAddressBlackListArrayOutput
}

GetBlackEmailAddressBlackListArrayInput is an input type that accepts GetBlackEmailAddressBlackListArray and GetBlackEmailAddressBlackListArrayOutput values. You can construct a concrete instance of `GetBlackEmailAddressBlackListArrayInput` via:

GetBlackEmailAddressBlackListArray{ GetBlackEmailAddressBlackListArgs{...} }

type GetBlackEmailAddressBlackListArrayOutput added in v0.1.8

type GetBlackEmailAddressBlackListArrayOutput struct{ *pulumi.OutputState }

func (GetBlackEmailAddressBlackListArrayOutput) ElementType added in v0.1.8

func (GetBlackEmailAddressBlackListArrayOutput) Index added in v0.1.8

func (GetBlackEmailAddressBlackListArrayOutput) ToGetBlackEmailAddressBlackListArrayOutput added in v0.1.8

func (o GetBlackEmailAddressBlackListArrayOutput) ToGetBlackEmailAddressBlackListArrayOutput() GetBlackEmailAddressBlackListArrayOutput

func (GetBlackEmailAddressBlackListArrayOutput) ToGetBlackEmailAddressBlackListArrayOutputWithContext added in v0.1.8

func (o GetBlackEmailAddressBlackListArrayOutput) ToGetBlackEmailAddressBlackListArrayOutputWithContext(ctx context.Context) GetBlackEmailAddressBlackListArrayOutput

type GetBlackEmailAddressBlackListInput added in v0.1.8

type GetBlackEmailAddressBlackListInput interface {
	pulumi.Input

	ToGetBlackEmailAddressBlackListOutput() GetBlackEmailAddressBlackListOutput
	ToGetBlackEmailAddressBlackListOutputWithContext(context.Context) GetBlackEmailAddressBlackListOutput
}

GetBlackEmailAddressBlackListInput is an input type that accepts GetBlackEmailAddressBlackListArgs and GetBlackEmailAddressBlackListOutput values. You can construct a concrete instance of `GetBlackEmailAddressBlackListInput` via:

GetBlackEmailAddressBlackListArgs{...}

type GetBlackEmailAddressBlackListOutput added in v0.1.8

type GetBlackEmailAddressBlackListOutput struct{ *pulumi.OutputState }

func (GetBlackEmailAddressBlackListOutput) BounceTime added in v0.1.8

Time when the email address is blocklisted.

func (GetBlackEmailAddressBlackListOutput) ElementType added in v0.1.8

func (GetBlackEmailAddressBlackListOutput) EmailAddress added in v0.1.8

You can specify an email address to query.

func (GetBlackEmailAddressBlackListOutput) ToGetBlackEmailAddressBlackListOutput added in v0.1.8

func (o GetBlackEmailAddressBlackListOutput) ToGetBlackEmailAddressBlackListOutput() GetBlackEmailAddressBlackListOutput

func (GetBlackEmailAddressBlackListOutput) ToGetBlackEmailAddressBlackListOutputWithContext added in v0.1.8

func (o GetBlackEmailAddressBlackListOutput) ToGetBlackEmailAddressBlackListOutputWithContext(ctx context.Context) GetBlackEmailAddressBlackListOutput

type GetBlackEmailAddressOutputArgs added in v0.1.8

type GetBlackEmailAddressOutputArgs struct {
	// You can specify an email address to query.
	EmailAddress pulumi.StringPtrInput `pulumi:"emailAddress"`
	// End date in the format of `YYYY-MM-DD`.
	EndDate pulumi.StringInput `pulumi:"endDate"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Start date in the format of `YYYY-MM-DD`.
	StartDate pulumi.StringInput `pulumi:"startDate"`
	// You can specify a task ID to query.
	TaskId pulumi.StringPtrInput `pulumi:"taskId"`
}

A collection of arguments for invoking getBlackEmailAddress.

func (GetBlackEmailAddressOutputArgs) ElementType added in v0.1.8

type GetBlackEmailAddressResult added in v0.1.8

type GetBlackEmailAddressResult struct {
	// List of blocklisted addresses.
	BlackLists []GetBlackEmailAddressBlackList `pulumi:"blackLists"`
	// Blocklisted email address.
	EmailAddress *string `pulumi:"emailAddress"`
	EndDate      string  `pulumi:"endDate"`
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	StartDate        string  `pulumi:"startDate"`
	TaskId           *string `pulumi:"taskId"`
}

A collection of values returned by getBlackEmailAddress.

func GetBlackEmailAddress added in v0.1.8

func GetBlackEmailAddress(ctx *pulumi.Context, args *GetBlackEmailAddressArgs, opts ...pulumi.InvokeOption) (*GetBlackEmailAddressResult, error)

Use this data source to query detailed information of ses blackEmailAddress

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ses.GetBlackEmailAddress(ctx, &ses.GetBlackEmailAddressArgs{
			EmailAddress: pulumi.StringRef("xxx@mail.qcloud.com"),
			EndDate:      "2020-09-23",
			StartDate:    "2020-09-22",
			TaskId:       pulumi.StringRef("7000"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetBlackEmailAddressResultOutput added in v0.1.8

type GetBlackEmailAddressResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBlackEmailAddress.

func GetBlackEmailAddressOutput added in v0.1.8

func (GetBlackEmailAddressResultOutput) BlackLists added in v0.1.8

List of blocklisted addresses.

func (GetBlackEmailAddressResultOutput) ElementType added in v0.1.8

func (GetBlackEmailAddressResultOutput) EmailAddress added in v0.1.8

Blocklisted email address.

func (GetBlackEmailAddressResultOutput) EndDate added in v0.1.8

func (GetBlackEmailAddressResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (GetBlackEmailAddressResultOutput) ResultOutputFile added in v0.1.8

func (GetBlackEmailAddressResultOutput) StartDate added in v0.1.8

func (GetBlackEmailAddressResultOutput) TaskId added in v0.1.8

func (GetBlackEmailAddressResultOutput) ToGetBlackEmailAddressResultOutput added in v0.1.8

func (o GetBlackEmailAddressResultOutput) ToGetBlackEmailAddressResultOutput() GetBlackEmailAddressResultOutput

func (GetBlackEmailAddressResultOutput) ToGetBlackEmailAddressResultOutputWithContext added in v0.1.8

func (o GetBlackEmailAddressResultOutput) ToGetBlackEmailAddressResultOutputWithContext(ctx context.Context) GetBlackEmailAddressResultOutput

type GetEmailIdentitiesArgs added in v0.1.8

type GetEmailIdentitiesArgs struct {
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getEmailIdentities.

type GetEmailIdentitiesEmailIdentity added in v0.1.8

type GetEmailIdentitiesEmailIdentity struct {
	// Current credit rating.
	CurrentReputationLevel int `pulumi:"currentReputationLevel"`
	// Highest number of letters of the day.
	DailyQuota int `pulumi:"dailyQuota"`
	// Sending domain name.
	IdentityName string `pulumi:"identityName"`
	// Authentication type, fixed as DOMAIN.
	IdentityType string `pulumi:"identityType"`
	// Is it verified.
	SendingEnabled bool `pulumi:"sendingEnabled"`
}

type GetEmailIdentitiesEmailIdentityArgs added in v0.1.8

type GetEmailIdentitiesEmailIdentityArgs struct {
	// Current credit rating.
	CurrentReputationLevel pulumi.IntInput `pulumi:"currentReputationLevel"`
	// Highest number of letters of the day.
	DailyQuota pulumi.IntInput `pulumi:"dailyQuota"`
	// Sending domain name.
	IdentityName pulumi.StringInput `pulumi:"identityName"`
	// Authentication type, fixed as DOMAIN.
	IdentityType pulumi.StringInput `pulumi:"identityType"`
	// Is it verified.
	SendingEnabled pulumi.BoolInput `pulumi:"sendingEnabled"`
}

func (GetEmailIdentitiesEmailIdentityArgs) ElementType added in v0.1.8

func (GetEmailIdentitiesEmailIdentityArgs) ToGetEmailIdentitiesEmailIdentityOutput added in v0.1.8

func (i GetEmailIdentitiesEmailIdentityArgs) ToGetEmailIdentitiesEmailIdentityOutput() GetEmailIdentitiesEmailIdentityOutput

func (GetEmailIdentitiesEmailIdentityArgs) ToGetEmailIdentitiesEmailIdentityOutputWithContext added in v0.1.8

func (i GetEmailIdentitiesEmailIdentityArgs) ToGetEmailIdentitiesEmailIdentityOutputWithContext(ctx context.Context) GetEmailIdentitiesEmailIdentityOutput

type GetEmailIdentitiesEmailIdentityArray added in v0.1.8

type GetEmailIdentitiesEmailIdentityArray []GetEmailIdentitiesEmailIdentityInput

func (GetEmailIdentitiesEmailIdentityArray) ElementType added in v0.1.8

func (GetEmailIdentitiesEmailIdentityArray) ToGetEmailIdentitiesEmailIdentityArrayOutput added in v0.1.8

func (i GetEmailIdentitiesEmailIdentityArray) ToGetEmailIdentitiesEmailIdentityArrayOutput() GetEmailIdentitiesEmailIdentityArrayOutput

func (GetEmailIdentitiesEmailIdentityArray) ToGetEmailIdentitiesEmailIdentityArrayOutputWithContext added in v0.1.8

func (i GetEmailIdentitiesEmailIdentityArray) ToGetEmailIdentitiesEmailIdentityArrayOutputWithContext(ctx context.Context) GetEmailIdentitiesEmailIdentityArrayOutput

type GetEmailIdentitiesEmailIdentityArrayInput added in v0.1.8

type GetEmailIdentitiesEmailIdentityArrayInput interface {
	pulumi.Input

	ToGetEmailIdentitiesEmailIdentityArrayOutput() GetEmailIdentitiesEmailIdentityArrayOutput
	ToGetEmailIdentitiesEmailIdentityArrayOutputWithContext(context.Context) GetEmailIdentitiesEmailIdentityArrayOutput
}

GetEmailIdentitiesEmailIdentityArrayInput is an input type that accepts GetEmailIdentitiesEmailIdentityArray and GetEmailIdentitiesEmailIdentityArrayOutput values. You can construct a concrete instance of `GetEmailIdentitiesEmailIdentityArrayInput` via:

GetEmailIdentitiesEmailIdentityArray{ GetEmailIdentitiesEmailIdentityArgs{...} }

type GetEmailIdentitiesEmailIdentityArrayOutput added in v0.1.8

type GetEmailIdentitiesEmailIdentityArrayOutput struct{ *pulumi.OutputState }

func (GetEmailIdentitiesEmailIdentityArrayOutput) ElementType added in v0.1.8

func (GetEmailIdentitiesEmailIdentityArrayOutput) Index added in v0.1.8

func (GetEmailIdentitiesEmailIdentityArrayOutput) ToGetEmailIdentitiesEmailIdentityArrayOutput added in v0.1.8

func (o GetEmailIdentitiesEmailIdentityArrayOutput) ToGetEmailIdentitiesEmailIdentityArrayOutput() GetEmailIdentitiesEmailIdentityArrayOutput

func (GetEmailIdentitiesEmailIdentityArrayOutput) ToGetEmailIdentitiesEmailIdentityArrayOutputWithContext added in v0.1.8

func (o GetEmailIdentitiesEmailIdentityArrayOutput) ToGetEmailIdentitiesEmailIdentityArrayOutputWithContext(ctx context.Context) GetEmailIdentitiesEmailIdentityArrayOutput

type GetEmailIdentitiesEmailIdentityInput added in v0.1.8

type GetEmailIdentitiesEmailIdentityInput interface {
	pulumi.Input

	ToGetEmailIdentitiesEmailIdentityOutput() GetEmailIdentitiesEmailIdentityOutput
	ToGetEmailIdentitiesEmailIdentityOutputWithContext(context.Context) GetEmailIdentitiesEmailIdentityOutput
}

GetEmailIdentitiesEmailIdentityInput is an input type that accepts GetEmailIdentitiesEmailIdentityArgs and GetEmailIdentitiesEmailIdentityOutput values. You can construct a concrete instance of `GetEmailIdentitiesEmailIdentityInput` via:

GetEmailIdentitiesEmailIdentityArgs{...}

type GetEmailIdentitiesEmailIdentityOutput added in v0.1.8

type GetEmailIdentitiesEmailIdentityOutput struct{ *pulumi.OutputState }

func (GetEmailIdentitiesEmailIdentityOutput) CurrentReputationLevel added in v0.1.8

func (o GetEmailIdentitiesEmailIdentityOutput) CurrentReputationLevel() pulumi.IntOutput

Current credit rating.

func (GetEmailIdentitiesEmailIdentityOutput) DailyQuota added in v0.1.8

Highest number of letters of the day.

func (GetEmailIdentitiesEmailIdentityOutput) ElementType added in v0.1.8

func (GetEmailIdentitiesEmailIdentityOutput) IdentityName added in v0.1.8

Sending domain name.

func (GetEmailIdentitiesEmailIdentityOutput) IdentityType added in v0.1.8

Authentication type, fixed as DOMAIN.

func (GetEmailIdentitiesEmailIdentityOutput) SendingEnabled added in v0.1.8

Is it verified.

func (GetEmailIdentitiesEmailIdentityOutput) ToGetEmailIdentitiesEmailIdentityOutput added in v0.1.8

func (o GetEmailIdentitiesEmailIdentityOutput) ToGetEmailIdentitiesEmailIdentityOutput() GetEmailIdentitiesEmailIdentityOutput

func (GetEmailIdentitiesEmailIdentityOutput) ToGetEmailIdentitiesEmailIdentityOutputWithContext added in v0.1.8

func (o GetEmailIdentitiesEmailIdentityOutput) ToGetEmailIdentitiesEmailIdentityOutputWithContext(ctx context.Context) GetEmailIdentitiesEmailIdentityOutput

type GetEmailIdentitiesOutputArgs added in v0.1.8

type GetEmailIdentitiesOutputArgs struct {
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getEmailIdentities.

func (GetEmailIdentitiesOutputArgs) ElementType added in v0.1.8

type GetEmailIdentitiesResult added in v0.1.8

type GetEmailIdentitiesResult struct {
	// Sending domain name list.
	EmailIdentities []GetEmailIdentitiesEmailIdentity `pulumi:"emailIdentities"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Maximum daily sending volume for a single domain name.
	MaxDailyQuota int `pulumi:"maxDailyQuota"`
	// Maximum credit rating.
	MaxReputationLevel int     `pulumi:"maxReputationLevel"`
	ResultOutputFile   *string `pulumi:"resultOutputFile"`
}

A collection of values returned by getEmailIdentities.

func GetEmailIdentities added in v0.1.8

func GetEmailIdentities(ctx *pulumi.Context, args *GetEmailIdentitiesArgs, opts ...pulumi.InvokeOption) (*GetEmailIdentitiesResult, error)

Use this data source to query detailed information of ses emailIdentities

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ses.GetEmailIdentities(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetEmailIdentitiesResultOutput added in v0.1.8

type GetEmailIdentitiesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEmailIdentities.

func GetEmailIdentitiesOutput added in v0.1.8

func (GetEmailIdentitiesResultOutput) ElementType added in v0.1.8

func (GetEmailIdentitiesResultOutput) EmailIdentities added in v0.1.8

Sending domain name list.

func (GetEmailIdentitiesResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (GetEmailIdentitiesResultOutput) MaxDailyQuota added in v0.1.8

Maximum daily sending volume for a single domain name.

func (GetEmailIdentitiesResultOutput) MaxReputationLevel added in v0.1.8

func (o GetEmailIdentitiesResultOutput) MaxReputationLevel() pulumi.IntOutput

Maximum credit rating.

func (GetEmailIdentitiesResultOutput) ResultOutputFile added in v0.1.8

func (GetEmailIdentitiesResultOutput) ToGetEmailIdentitiesResultOutput added in v0.1.8

func (o GetEmailIdentitiesResultOutput) ToGetEmailIdentitiesResultOutput() GetEmailIdentitiesResultOutput

func (GetEmailIdentitiesResultOutput) ToGetEmailIdentitiesResultOutputWithContext added in v0.1.8

func (o GetEmailIdentitiesResultOutput) ToGetEmailIdentitiesResultOutputWithContext(ctx context.Context) GetEmailIdentitiesResultOutput

type GetReceiversArgs added in v0.1.8

type GetReceiversArgs struct {
	// Group name keyword for fuzzy query.
	KeyWord *string `pulumi:"keyWord"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Group status (`1`: to be uploaded; `2`: uploading; `3`: uploaded). To query groups in all states, do not pass in this parameter.
	Status *int `pulumi:"status"`
}

A collection of arguments for invoking getReceivers.

type GetReceiversData added in v0.1.8

type GetReceiversData struct {
	// Total number of recipient email addresses.
	Count int `pulumi:"count"`
	// Creation time, such as 2021-09-28 16:40:35.
	CreateTime string `pulumi:"createTime"`
	// Recipient group descriptionNote: This field may return `null`, indicating that no valid value can be found.
	Desc string `pulumi:"desc"`
	// Recipient group ID.
	ReceiverId int `pulumi:"receiverId"`
	// Recipient group name.
	ReceiversName string `pulumi:"receiversName"`
	// Group status (`1`: to be uploaded; `2` uploading; `3` uploaded)Note: This field may return `null`, indicating that no valid value can be found.
	ReceiversStatus int `pulumi:"receiversStatus"`
}

type GetReceiversDataArgs added in v0.1.8

type GetReceiversDataArgs struct {
	// Total number of recipient email addresses.
	Count pulumi.IntInput `pulumi:"count"`
	// Creation time, such as 2021-09-28 16:40:35.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Recipient group descriptionNote: This field may return `null`, indicating that no valid value can be found.
	Desc pulumi.StringInput `pulumi:"desc"`
	// Recipient group ID.
	ReceiverId pulumi.IntInput `pulumi:"receiverId"`
	// Recipient group name.
	ReceiversName pulumi.StringInput `pulumi:"receiversName"`
	// Group status (`1`: to be uploaded; `2` uploading; `3` uploaded)Note: This field may return `null`, indicating that no valid value can be found.
	ReceiversStatus pulumi.IntInput `pulumi:"receiversStatus"`
}

func (GetReceiversDataArgs) ElementType added in v0.1.8

func (GetReceiversDataArgs) ElementType() reflect.Type

func (GetReceiversDataArgs) ToGetReceiversDataOutput added in v0.1.8

func (i GetReceiversDataArgs) ToGetReceiversDataOutput() GetReceiversDataOutput

func (GetReceiversDataArgs) ToGetReceiversDataOutputWithContext added in v0.1.8

func (i GetReceiversDataArgs) ToGetReceiversDataOutputWithContext(ctx context.Context) GetReceiversDataOutput

type GetReceiversDataArray added in v0.1.8

type GetReceiversDataArray []GetReceiversDataInput

func (GetReceiversDataArray) ElementType added in v0.1.8

func (GetReceiversDataArray) ElementType() reflect.Type

func (GetReceiversDataArray) ToGetReceiversDataArrayOutput added in v0.1.8

func (i GetReceiversDataArray) ToGetReceiversDataArrayOutput() GetReceiversDataArrayOutput

func (GetReceiversDataArray) ToGetReceiversDataArrayOutputWithContext added in v0.1.8

func (i GetReceiversDataArray) ToGetReceiversDataArrayOutputWithContext(ctx context.Context) GetReceiversDataArrayOutput

type GetReceiversDataArrayInput added in v0.1.8

type GetReceiversDataArrayInput interface {
	pulumi.Input

	ToGetReceiversDataArrayOutput() GetReceiversDataArrayOutput
	ToGetReceiversDataArrayOutputWithContext(context.Context) GetReceiversDataArrayOutput
}

GetReceiversDataArrayInput is an input type that accepts GetReceiversDataArray and GetReceiversDataArrayOutput values. You can construct a concrete instance of `GetReceiversDataArrayInput` via:

GetReceiversDataArray{ GetReceiversDataArgs{...} }

type GetReceiversDataArrayOutput added in v0.1.8

type GetReceiversDataArrayOutput struct{ *pulumi.OutputState }

func (GetReceiversDataArrayOutput) ElementType added in v0.1.8

func (GetReceiversDataArrayOutput) Index added in v0.1.8

func (GetReceiversDataArrayOutput) ToGetReceiversDataArrayOutput added in v0.1.8

func (o GetReceiversDataArrayOutput) ToGetReceiversDataArrayOutput() GetReceiversDataArrayOutput

func (GetReceiversDataArrayOutput) ToGetReceiversDataArrayOutputWithContext added in v0.1.8

func (o GetReceiversDataArrayOutput) ToGetReceiversDataArrayOutputWithContext(ctx context.Context) GetReceiversDataArrayOutput

type GetReceiversDataInput added in v0.1.8

type GetReceiversDataInput interface {
	pulumi.Input

	ToGetReceiversDataOutput() GetReceiversDataOutput
	ToGetReceiversDataOutputWithContext(context.Context) GetReceiversDataOutput
}

GetReceiversDataInput is an input type that accepts GetReceiversDataArgs and GetReceiversDataOutput values. You can construct a concrete instance of `GetReceiversDataInput` via:

GetReceiversDataArgs{...}

type GetReceiversDataOutput added in v0.1.8

type GetReceiversDataOutput struct{ *pulumi.OutputState }

func (GetReceiversDataOutput) Count added in v0.1.8

Total number of recipient email addresses.

func (GetReceiversDataOutput) CreateTime added in v0.1.8

Creation time, such as 2021-09-28 16:40:35.

func (GetReceiversDataOutput) Desc added in v0.1.8

Recipient group descriptionNote: This field may return `null`, indicating that no valid value can be found.

func (GetReceiversDataOutput) ElementType added in v0.1.8

func (GetReceiversDataOutput) ElementType() reflect.Type

func (GetReceiversDataOutput) ReceiverId added in v0.1.8

func (o GetReceiversDataOutput) ReceiverId() pulumi.IntOutput

Recipient group ID.

func (GetReceiversDataOutput) ReceiversName added in v0.1.8

func (o GetReceiversDataOutput) ReceiversName() pulumi.StringOutput

Recipient group name.

func (GetReceiversDataOutput) ReceiversStatus added in v0.1.8

func (o GetReceiversDataOutput) ReceiversStatus() pulumi.IntOutput

Group status (`1`: to be uploaded; `2` uploading; `3` uploaded)Note: This field may return `null`, indicating that no valid value can be found.

func (GetReceiversDataOutput) ToGetReceiversDataOutput added in v0.1.8

func (o GetReceiversDataOutput) ToGetReceiversDataOutput() GetReceiversDataOutput

func (GetReceiversDataOutput) ToGetReceiversDataOutputWithContext added in v0.1.8

func (o GetReceiversDataOutput) ToGetReceiversDataOutputWithContext(ctx context.Context) GetReceiversDataOutput

type GetReceiversOutputArgs added in v0.1.8

type GetReceiversOutputArgs struct {
	// Group name keyword for fuzzy query.
	KeyWord pulumi.StringPtrInput `pulumi:"keyWord"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Group status (`1`: to be uploaded; `2`: uploading; `3`: uploaded). To query groups in all states, do not pass in this parameter.
	Status pulumi.IntPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getReceivers.

func (GetReceiversOutputArgs) ElementType added in v0.1.8

func (GetReceiversOutputArgs) ElementType() reflect.Type

type GetReceiversResult added in v0.1.8

type GetReceiversResult struct {
	// Data record.
	Datas []GetReceiversData `pulumi:"datas"`
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	KeyWord          *string `pulumi:"keyWord"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	Status           *int    `pulumi:"status"`
}

A collection of values returned by getReceivers.

func GetReceivers added in v0.1.8

func GetReceivers(ctx *pulumi.Context, args *GetReceiversArgs, opts ...pulumi.InvokeOption) (*GetReceiversResult, error)

Use this data source to query detailed information of ses receivers

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ses.GetReceivers(ctx, &ses.GetReceiversArgs{
			KeyWord: pulumi.StringRef("keep"),
			Status:  pulumi.IntRef(3),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetReceiversResultOutput added in v0.1.8

type GetReceiversResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getReceivers.

func GetReceiversOutput added in v0.1.8

func GetReceiversOutput(ctx *pulumi.Context, args GetReceiversOutputArgs, opts ...pulumi.InvokeOption) GetReceiversResultOutput

func (GetReceiversResultOutput) Datas added in v0.1.8

Data record.

func (GetReceiversResultOutput) ElementType added in v0.1.8

func (GetReceiversResultOutput) ElementType() reflect.Type

func (GetReceiversResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (GetReceiversResultOutput) KeyWord added in v0.1.8

func (GetReceiversResultOutput) ResultOutputFile added in v0.1.8

func (o GetReceiversResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetReceiversResultOutput) Status added in v0.1.8

func (GetReceiversResultOutput) ToGetReceiversResultOutput added in v0.1.8

func (o GetReceiversResultOutput) ToGetReceiversResultOutput() GetReceiversResultOutput

func (GetReceiversResultOutput) ToGetReceiversResultOutputWithContext added in v0.1.8

func (o GetReceiversResultOutput) ToGetReceiversResultOutputWithContext(ctx context.Context) GetReceiversResultOutput

type GetSendEmailStatusArgs added in v0.1.8

type GetSendEmailStatusArgs struct {
	// The MessageId field returned by the SendMail API.
	MessageId *string `pulumi:"messageId"`
	// Date sent. This parameter is required. You can only query the sending status for a single date at a time.
	RequestDate string `pulumi:"requestDate"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Recipient email address.
	ToEmailAddress *string `pulumi:"toEmailAddress"`
}

A collection of arguments for invoking getSendEmailStatus.

type GetSendEmailStatusEmailStatusList added in v0.1.8

type GetSendEmailStatusEmailStatusList struct {
	// Description of the recipient processing status.
	DeliverMessage string `pulumi:"deliverMessage"`
	// Recipient processing status0: Tencent Cloud has accepted the request and added it to the send queue.1: The email is delivered successfully. DeliverTime indicates the time when the email is delivered successfully.2: The email is discarded. DeliverMessage indicates the reason for discarding.3: The recipient's ESP rejects the email, probably because the email address does not exist or due to other reasons.8: The email is delayed by the ESP. DeliverMessage indicates the reason for delay.
	DeliverStatus int `pulumi:"deliverStatus"`
	// Timestamp when Tencent Cloud delivers the email.
	DeliverTime int `pulumi:"deliverTime"`
	// Sender email address.
	FromEmailAddress string `pulumi:"fromEmailAddress"`
	// The MessageId field returned by the SendMail API.
	MessageId string `pulumi:"messageId"`
	// Timestamp when the request arrives at Tencent Cloud.
	RequestTime int `pulumi:"requestTime"`
	// Tencent Cloud processing status: `0`: Successful. `1001`: Internal system exception. `1002`: Internal system exception. `1003`: Internal system exception. `1003`: Internal system exception. `1004`: Email sending timed out. `1005`: Internal system exception. `1006`: You have sent too many emails to the same address in a short period. `1007`: The email address is in the blocklist. `1008`: The sender domain is rejected by the recipient. `1009`: Internal system exception. `1010`: The daily email sending limit is exceeded. `1011`: You have no permission to send custom content. Use a template. `1013`: The sender domain is unsubscribed from by the recipient. `2001`: No results were found. `3007`: The template ID is invalid or the template is unavailable. `3008`: The sender domain is temporarily blocked by the recipient domain. `3009`: You have no permission to use this template. `3010`: The format of the TemplateData field is incorrect. `3014`: The email cannot be sent because the sender domain is not verified. `3020`: The recipient email address is in the blocklist. `3024`: Failed to precheck the email address format. `3030`: Email sending is restricted temporarily due to a high bounce rate. `3033`: The account has insufficient balance or overdue payment.
	SendStatus int `pulumi:"sendStatus"`
	// Recipient email address.
	ToEmailAddress string `pulumi:"toEmailAddress"`
	// Whether the recipient has clicked the links in the email.
	UserClicked bool `pulumi:"userClicked"`
	// Whether the recipient has reported the sender.
	UserComplainted bool `pulumi:"userComplainted"`
	// Whether the recipient has opened the email.
	UserOpened bool `pulumi:"userOpened"`
	// Whether the recipient has unsubscribed from the email sent by the sender.
	UserUnsubscribed bool `pulumi:"userUnsubscribed"`
}

type GetSendEmailStatusEmailStatusListArgs added in v0.1.8

type GetSendEmailStatusEmailStatusListArgs struct {
	// Description of the recipient processing status.
	DeliverMessage pulumi.StringInput `pulumi:"deliverMessage"`
	// Recipient processing status0: Tencent Cloud has accepted the request and added it to the send queue.1: The email is delivered successfully. DeliverTime indicates the time when the email is delivered successfully.2: The email is discarded. DeliverMessage indicates the reason for discarding.3: The recipient's ESP rejects the email, probably because the email address does not exist or due to other reasons.8: The email is delayed by the ESP. DeliverMessage indicates the reason for delay.
	DeliverStatus pulumi.IntInput `pulumi:"deliverStatus"`
	// Timestamp when Tencent Cloud delivers the email.
	DeliverTime pulumi.IntInput `pulumi:"deliverTime"`
	// Sender email address.
	FromEmailAddress pulumi.StringInput `pulumi:"fromEmailAddress"`
	// The MessageId field returned by the SendMail API.
	MessageId pulumi.StringInput `pulumi:"messageId"`
	// Timestamp when the request arrives at Tencent Cloud.
	RequestTime pulumi.IntInput `pulumi:"requestTime"`
	// Tencent Cloud processing status: `0`: Successful. `1001`: Internal system exception. `1002`: Internal system exception. `1003`: Internal system exception. `1003`: Internal system exception. `1004`: Email sending timed out. `1005`: Internal system exception. `1006`: You have sent too many emails to the same address in a short period. `1007`: The email address is in the blocklist. `1008`: The sender domain is rejected by the recipient. `1009`: Internal system exception. `1010`: The daily email sending limit is exceeded. `1011`: You have no permission to send custom content. Use a template. `1013`: The sender domain is unsubscribed from by the recipient. `2001`: No results were found. `3007`: The template ID is invalid or the template is unavailable. `3008`: The sender domain is temporarily blocked by the recipient domain. `3009`: You have no permission to use this template. `3010`: The format of the TemplateData field is incorrect. `3014`: The email cannot be sent because the sender domain is not verified. `3020`: The recipient email address is in the blocklist. `3024`: Failed to precheck the email address format. `3030`: Email sending is restricted temporarily due to a high bounce rate. `3033`: The account has insufficient balance or overdue payment.
	SendStatus pulumi.IntInput `pulumi:"sendStatus"`
	// Recipient email address.
	ToEmailAddress pulumi.StringInput `pulumi:"toEmailAddress"`
	// Whether the recipient has clicked the links in the email.
	UserClicked pulumi.BoolInput `pulumi:"userClicked"`
	// Whether the recipient has reported the sender.
	UserComplainted pulumi.BoolInput `pulumi:"userComplainted"`
	// Whether the recipient has opened the email.
	UserOpened pulumi.BoolInput `pulumi:"userOpened"`
	// Whether the recipient has unsubscribed from the email sent by the sender.
	UserUnsubscribed pulumi.BoolInput `pulumi:"userUnsubscribed"`
}

func (GetSendEmailStatusEmailStatusListArgs) ElementType added in v0.1.8

func (GetSendEmailStatusEmailStatusListArgs) ToGetSendEmailStatusEmailStatusListOutput added in v0.1.8

func (i GetSendEmailStatusEmailStatusListArgs) ToGetSendEmailStatusEmailStatusListOutput() GetSendEmailStatusEmailStatusListOutput

func (GetSendEmailStatusEmailStatusListArgs) ToGetSendEmailStatusEmailStatusListOutputWithContext added in v0.1.8

func (i GetSendEmailStatusEmailStatusListArgs) ToGetSendEmailStatusEmailStatusListOutputWithContext(ctx context.Context) GetSendEmailStatusEmailStatusListOutput

type GetSendEmailStatusEmailStatusListArray added in v0.1.8

type GetSendEmailStatusEmailStatusListArray []GetSendEmailStatusEmailStatusListInput

func (GetSendEmailStatusEmailStatusListArray) ElementType added in v0.1.8

func (GetSendEmailStatusEmailStatusListArray) ToGetSendEmailStatusEmailStatusListArrayOutput added in v0.1.8

func (i GetSendEmailStatusEmailStatusListArray) ToGetSendEmailStatusEmailStatusListArrayOutput() GetSendEmailStatusEmailStatusListArrayOutput

func (GetSendEmailStatusEmailStatusListArray) ToGetSendEmailStatusEmailStatusListArrayOutputWithContext added in v0.1.8

func (i GetSendEmailStatusEmailStatusListArray) ToGetSendEmailStatusEmailStatusListArrayOutputWithContext(ctx context.Context) GetSendEmailStatusEmailStatusListArrayOutput

type GetSendEmailStatusEmailStatusListArrayInput added in v0.1.8

type GetSendEmailStatusEmailStatusListArrayInput interface {
	pulumi.Input

	ToGetSendEmailStatusEmailStatusListArrayOutput() GetSendEmailStatusEmailStatusListArrayOutput
	ToGetSendEmailStatusEmailStatusListArrayOutputWithContext(context.Context) GetSendEmailStatusEmailStatusListArrayOutput
}

GetSendEmailStatusEmailStatusListArrayInput is an input type that accepts GetSendEmailStatusEmailStatusListArray and GetSendEmailStatusEmailStatusListArrayOutput values. You can construct a concrete instance of `GetSendEmailStatusEmailStatusListArrayInput` via:

GetSendEmailStatusEmailStatusListArray{ GetSendEmailStatusEmailStatusListArgs{...} }

type GetSendEmailStatusEmailStatusListArrayOutput added in v0.1.8

type GetSendEmailStatusEmailStatusListArrayOutput struct{ *pulumi.OutputState }

func (GetSendEmailStatusEmailStatusListArrayOutput) ElementType added in v0.1.8

func (GetSendEmailStatusEmailStatusListArrayOutput) Index added in v0.1.8

func (GetSendEmailStatusEmailStatusListArrayOutput) ToGetSendEmailStatusEmailStatusListArrayOutput added in v0.1.8

func (o GetSendEmailStatusEmailStatusListArrayOutput) ToGetSendEmailStatusEmailStatusListArrayOutput() GetSendEmailStatusEmailStatusListArrayOutput

func (GetSendEmailStatusEmailStatusListArrayOutput) ToGetSendEmailStatusEmailStatusListArrayOutputWithContext added in v0.1.8

func (o GetSendEmailStatusEmailStatusListArrayOutput) ToGetSendEmailStatusEmailStatusListArrayOutputWithContext(ctx context.Context) GetSendEmailStatusEmailStatusListArrayOutput

type GetSendEmailStatusEmailStatusListInput added in v0.1.8

type GetSendEmailStatusEmailStatusListInput interface {
	pulumi.Input

	ToGetSendEmailStatusEmailStatusListOutput() GetSendEmailStatusEmailStatusListOutput
	ToGetSendEmailStatusEmailStatusListOutputWithContext(context.Context) GetSendEmailStatusEmailStatusListOutput
}

GetSendEmailStatusEmailStatusListInput is an input type that accepts GetSendEmailStatusEmailStatusListArgs and GetSendEmailStatusEmailStatusListOutput values. You can construct a concrete instance of `GetSendEmailStatusEmailStatusListInput` via:

GetSendEmailStatusEmailStatusListArgs{...}

type GetSendEmailStatusEmailStatusListOutput added in v0.1.8

type GetSendEmailStatusEmailStatusListOutput struct{ *pulumi.OutputState }

func (GetSendEmailStatusEmailStatusListOutput) DeliverMessage added in v0.1.8

Description of the recipient processing status.

func (GetSendEmailStatusEmailStatusListOutput) DeliverStatus added in v0.1.8

Recipient processing status0: Tencent Cloud has accepted the request and added it to the send queue.1: The email is delivered successfully. DeliverTime indicates the time when the email is delivered successfully.2: The email is discarded. DeliverMessage indicates the reason for discarding.3: The recipient's ESP rejects the email, probably because the email address does not exist or due to other reasons.8: The email is delayed by the ESP. DeliverMessage indicates the reason for delay.

func (GetSendEmailStatusEmailStatusListOutput) DeliverTime added in v0.1.8

Timestamp when Tencent Cloud delivers the email.

func (GetSendEmailStatusEmailStatusListOutput) ElementType added in v0.1.8

func (GetSendEmailStatusEmailStatusListOutput) FromEmailAddress added in v0.1.8

Sender email address.

func (GetSendEmailStatusEmailStatusListOutput) MessageId added in v0.1.8

The MessageId field returned by the SendMail API.

func (GetSendEmailStatusEmailStatusListOutput) RequestTime added in v0.1.8

Timestamp when the request arrives at Tencent Cloud.

func (GetSendEmailStatusEmailStatusListOutput) SendStatus added in v0.1.8

Tencent Cloud processing status: `0`: Successful. `1001`: Internal system exception. `1002`: Internal system exception. `1003`: Internal system exception. `1003`: Internal system exception. `1004`: Email sending timed out. `1005`: Internal system exception. `1006`: You have sent too many emails to the same address in a short period. `1007`: The email address is in the blocklist. `1008`: The sender domain is rejected by the recipient. `1009`: Internal system exception. `1010`: The daily email sending limit is exceeded. `1011`: You have no permission to send custom content. Use a template. `1013`: The sender domain is unsubscribed from by the recipient. `2001`: No results were found. `3007`: The template ID is invalid or the template is unavailable. `3008`: The sender domain is temporarily blocked by the recipient domain. `3009`: You have no permission to use this template. `3010`: The format of the TemplateData field is incorrect. `3014`: The email cannot be sent because the sender domain is not verified. `3020`: The recipient email address is in the blocklist. `3024`: Failed to precheck the email address format. `3030`: Email sending is restricted temporarily due to a high bounce rate. `3033`: The account has insufficient balance or overdue payment.

func (GetSendEmailStatusEmailStatusListOutput) ToEmailAddress added in v0.1.8

Recipient email address.

func (GetSendEmailStatusEmailStatusListOutput) ToGetSendEmailStatusEmailStatusListOutput added in v0.1.8

func (o GetSendEmailStatusEmailStatusListOutput) ToGetSendEmailStatusEmailStatusListOutput() GetSendEmailStatusEmailStatusListOutput

func (GetSendEmailStatusEmailStatusListOutput) ToGetSendEmailStatusEmailStatusListOutputWithContext added in v0.1.8

func (o GetSendEmailStatusEmailStatusListOutput) ToGetSendEmailStatusEmailStatusListOutputWithContext(ctx context.Context) GetSendEmailStatusEmailStatusListOutput

func (GetSendEmailStatusEmailStatusListOutput) UserClicked added in v0.1.8

Whether the recipient has clicked the links in the email.

func (GetSendEmailStatusEmailStatusListOutput) UserComplainted added in v0.1.8

Whether the recipient has reported the sender.

func (GetSendEmailStatusEmailStatusListOutput) UserOpened added in v0.1.8

Whether the recipient has opened the email.

func (GetSendEmailStatusEmailStatusListOutput) UserUnsubscribed added in v0.1.8

Whether the recipient has unsubscribed from the email sent by the sender.

type GetSendEmailStatusOutputArgs added in v0.1.8

type GetSendEmailStatusOutputArgs struct {
	// The MessageId field returned by the SendMail API.
	MessageId pulumi.StringPtrInput `pulumi:"messageId"`
	// Date sent. This parameter is required. You can only query the sending status for a single date at a time.
	RequestDate pulumi.StringInput `pulumi:"requestDate"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Recipient email address.
	ToEmailAddress pulumi.StringPtrInput `pulumi:"toEmailAddress"`
}

A collection of arguments for invoking getSendEmailStatus.

func (GetSendEmailStatusOutputArgs) ElementType added in v0.1.8

type GetSendEmailStatusResult added in v0.1.8

type GetSendEmailStatusResult struct {
	// Status of sent emails.
	EmailStatusLists []GetSendEmailStatusEmailStatusList `pulumi:"emailStatusLists"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The MessageId field returned by the SendEmail API.
	MessageId        *string `pulumi:"messageId"`
	RequestDate      string  `pulumi:"requestDate"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Recipient email address.
	ToEmailAddress *string `pulumi:"toEmailAddress"`
}

A collection of values returned by getSendEmailStatus.

func GetSendEmailStatus added in v0.1.8

func GetSendEmailStatus(ctx *pulumi.Context, args *GetSendEmailStatusArgs, opts ...pulumi.InvokeOption) (*GetSendEmailStatusResult, error)

Use this data source to query detailed information of ses sendEmailStatus

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ses.GetSendEmailStatus(ctx, &ses.GetSendEmailStatusArgs{
			MessageId:      pulumi.StringRef("qcloudses-30-4123414323-date-20210101094334-syNARhMTbKI1"),
			RequestDate:    "2020-09-22",
			ToEmailAddress: pulumi.StringRef("example@cloud.com"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSendEmailStatusResultOutput added in v0.1.8

type GetSendEmailStatusResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSendEmailStatus.

func GetSendEmailStatusOutput added in v0.1.8

func (GetSendEmailStatusResultOutput) ElementType added in v0.1.8

func (GetSendEmailStatusResultOutput) EmailStatusLists added in v0.1.8

Status of sent emails.

func (GetSendEmailStatusResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (GetSendEmailStatusResultOutput) MessageId added in v0.1.8

The MessageId field returned by the SendEmail API.

func (GetSendEmailStatusResultOutput) RequestDate added in v0.1.8

func (GetSendEmailStatusResultOutput) ResultOutputFile added in v0.1.8

func (GetSendEmailStatusResultOutput) ToEmailAddress added in v0.1.8

Recipient email address.

func (GetSendEmailStatusResultOutput) ToGetSendEmailStatusResultOutput added in v0.1.8

func (o GetSendEmailStatusResultOutput) ToGetSendEmailStatusResultOutput() GetSendEmailStatusResultOutput

func (GetSendEmailStatusResultOutput) ToGetSendEmailStatusResultOutputWithContext added in v0.1.8

func (o GetSendEmailStatusResultOutput) ToGetSendEmailStatusResultOutputWithContext(ctx context.Context) GetSendEmailStatusResultOutput

type GetSendTasksArgs added in v0.1.8

type GetSendTasksArgs struct {
	// Recipient group ID.
	ReceiverId *int `pulumi:"receiverId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Task status. `1`: to start; `5`: sending; `6`: sending suspended today; `7`: sending error; `10`: sent. To query tasks in all states, do not pass in this parameter.
	Status *int `pulumi:"status"`
	// Task type. `1`: immediate; `2`: scheduled; `3`: recurring. To query tasks of all types, do not pass in this parameter.
	TaskType *int `pulumi:"taskType"`
}

A collection of arguments for invoking getSendTasks.

type GetSendTasksData added in v0.1.8

type GetSendTasksData struct {
	// Number of emails cached.
	CacheCount int `pulumi:"cacheCount"`
	// Task creation time.
	CreateTime string `pulumi:"createTime"`
	// Parameters of a recurring taskNote: This field may return `null`, indicating that no valid value can be found.
	CycleParams []GetSendTasksDataCycleParam `pulumi:"cycleParams"`
	// Task exception informationNote: This field may return `null`, indicating that no valid value can be found.
	ErrMsg string `pulumi:"errMsg"`
	// Sender address.
	FromEmailAddress string `pulumi:"fromEmailAddress"`
	// Recipient group ID.
	ReceiverId int `pulumi:"receiverId"`
	// Recipient group name.
	ReceiversName string `pulumi:"receiversName"`
	// Number of emails requested to be sent.
	RequestCount int `pulumi:"requestCount"`
	// Number of emails sent.
	SendCount int `pulumi:"sendCount"`
	// Email subject.
	Subject string `pulumi:"subject"`
	// Task ID.
	TaskId int `pulumi:"taskId"`
	// Task status. `1`: to start; `5`: sending; `6`: sending suspended today; `7`: sending error; `10`: sent.
	TaskStatus int `pulumi:"taskStatus"`
	// Task type. `1`: immediate; `2`: scheduled; `3`: recurring. To query tasks of all types, do not pass in this parameter.
	TaskType int `pulumi:"taskType"`
	// Template and template dataNote: This field may return `null`, indicating that no valid value can be found.
	Templates []GetSendTasksDataTemplate `pulumi:"templates"`
	// Parameters of a scheduled taskNote: This field may return `null`, indicating that no valid value can be found.
	TimedParams []GetSendTasksDataTimedParam `pulumi:"timedParams"`
	// Task update time.
	UpdateTime string `pulumi:"updateTime"`
}

type GetSendTasksDataArgs added in v0.1.8

type GetSendTasksDataArgs struct {
	// Number of emails cached.
	CacheCount pulumi.IntInput `pulumi:"cacheCount"`
	// Task creation time.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Parameters of a recurring taskNote: This field may return `null`, indicating that no valid value can be found.
	CycleParams GetSendTasksDataCycleParamArrayInput `pulumi:"cycleParams"`
	// Task exception informationNote: This field may return `null`, indicating that no valid value can be found.
	ErrMsg pulumi.StringInput `pulumi:"errMsg"`
	// Sender address.
	FromEmailAddress pulumi.StringInput `pulumi:"fromEmailAddress"`
	// Recipient group ID.
	ReceiverId pulumi.IntInput `pulumi:"receiverId"`
	// Recipient group name.
	ReceiversName pulumi.StringInput `pulumi:"receiversName"`
	// Number of emails requested to be sent.
	RequestCount pulumi.IntInput `pulumi:"requestCount"`
	// Number of emails sent.
	SendCount pulumi.IntInput `pulumi:"sendCount"`
	// Email subject.
	Subject pulumi.StringInput `pulumi:"subject"`
	// Task ID.
	TaskId pulumi.IntInput `pulumi:"taskId"`
	// Task status. `1`: to start; `5`: sending; `6`: sending suspended today; `7`: sending error; `10`: sent.
	TaskStatus pulumi.IntInput `pulumi:"taskStatus"`
	// Task type. `1`: immediate; `2`: scheduled; `3`: recurring. To query tasks of all types, do not pass in this parameter.
	TaskType pulumi.IntInput `pulumi:"taskType"`
	// Template and template dataNote: This field may return `null`, indicating that no valid value can be found.
	Templates GetSendTasksDataTemplateArrayInput `pulumi:"templates"`
	// Parameters of a scheduled taskNote: This field may return `null`, indicating that no valid value can be found.
	TimedParams GetSendTasksDataTimedParamArrayInput `pulumi:"timedParams"`
	// Task update time.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (GetSendTasksDataArgs) ElementType added in v0.1.8

func (GetSendTasksDataArgs) ElementType() reflect.Type

func (GetSendTasksDataArgs) ToGetSendTasksDataOutput added in v0.1.8

func (i GetSendTasksDataArgs) ToGetSendTasksDataOutput() GetSendTasksDataOutput

func (GetSendTasksDataArgs) ToGetSendTasksDataOutputWithContext added in v0.1.8

func (i GetSendTasksDataArgs) ToGetSendTasksDataOutputWithContext(ctx context.Context) GetSendTasksDataOutput

type GetSendTasksDataArray added in v0.1.8

type GetSendTasksDataArray []GetSendTasksDataInput

func (GetSendTasksDataArray) ElementType added in v0.1.8

func (GetSendTasksDataArray) ElementType() reflect.Type

func (GetSendTasksDataArray) ToGetSendTasksDataArrayOutput added in v0.1.8

func (i GetSendTasksDataArray) ToGetSendTasksDataArrayOutput() GetSendTasksDataArrayOutput

func (GetSendTasksDataArray) ToGetSendTasksDataArrayOutputWithContext added in v0.1.8

func (i GetSendTasksDataArray) ToGetSendTasksDataArrayOutputWithContext(ctx context.Context) GetSendTasksDataArrayOutput

type GetSendTasksDataArrayInput added in v0.1.8

type GetSendTasksDataArrayInput interface {
	pulumi.Input

	ToGetSendTasksDataArrayOutput() GetSendTasksDataArrayOutput
	ToGetSendTasksDataArrayOutputWithContext(context.Context) GetSendTasksDataArrayOutput
}

GetSendTasksDataArrayInput is an input type that accepts GetSendTasksDataArray and GetSendTasksDataArrayOutput values. You can construct a concrete instance of `GetSendTasksDataArrayInput` via:

GetSendTasksDataArray{ GetSendTasksDataArgs{...} }

type GetSendTasksDataArrayOutput added in v0.1.8

type GetSendTasksDataArrayOutput struct{ *pulumi.OutputState }

func (GetSendTasksDataArrayOutput) ElementType added in v0.1.8

func (GetSendTasksDataArrayOutput) Index added in v0.1.8

func (GetSendTasksDataArrayOutput) ToGetSendTasksDataArrayOutput added in v0.1.8

func (o GetSendTasksDataArrayOutput) ToGetSendTasksDataArrayOutput() GetSendTasksDataArrayOutput

func (GetSendTasksDataArrayOutput) ToGetSendTasksDataArrayOutputWithContext added in v0.1.8

func (o GetSendTasksDataArrayOutput) ToGetSendTasksDataArrayOutputWithContext(ctx context.Context) GetSendTasksDataArrayOutput

type GetSendTasksDataCycleParam added in v0.1.8

type GetSendTasksDataCycleParam struct {
	// Start time of a scheduled sending task.
	BeginTime string `pulumi:"beginTime"`
	// Task recurrence in hours.
	IntervalTime int `pulumi:"intervalTime"`
	// Specifies whether to end the cycle. This parameter is used to update the task. Valid values: 0: No; 1: Yes.
	TermCycle int `pulumi:"termCycle"`
}

type GetSendTasksDataCycleParamArgs added in v0.1.8

type GetSendTasksDataCycleParamArgs struct {
	// Start time of a scheduled sending task.
	BeginTime pulumi.StringInput `pulumi:"beginTime"`
	// Task recurrence in hours.
	IntervalTime pulumi.IntInput `pulumi:"intervalTime"`
	// Specifies whether to end the cycle. This parameter is used to update the task. Valid values: 0: No; 1: Yes.
	TermCycle pulumi.IntInput `pulumi:"termCycle"`
}

func (GetSendTasksDataCycleParamArgs) ElementType added in v0.1.8

func (GetSendTasksDataCycleParamArgs) ToGetSendTasksDataCycleParamOutput added in v0.1.8

func (i GetSendTasksDataCycleParamArgs) ToGetSendTasksDataCycleParamOutput() GetSendTasksDataCycleParamOutput

func (GetSendTasksDataCycleParamArgs) ToGetSendTasksDataCycleParamOutputWithContext added in v0.1.8

func (i GetSendTasksDataCycleParamArgs) ToGetSendTasksDataCycleParamOutputWithContext(ctx context.Context) GetSendTasksDataCycleParamOutput

type GetSendTasksDataCycleParamArray added in v0.1.8

type GetSendTasksDataCycleParamArray []GetSendTasksDataCycleParamInput

func (GetSendTasksDataCycleParamArray) ElementType added in v0.1.8

func (GetSendTasksDataCycleParamArray) ToGetSendTasksDataCycleParamArrayOutput added in v0.1.8

func (i GetSendTasksDataCycleParamArray) ToGetSendTasksDataCycleParamArrayOutput() GetSendTasksDataCycleParamArrayOutput

func (GetSendTasksDataCycleParamArray) ToGetSendTasksDataCycleParamArrayOutputWithContext added in v0.1.8

func (i GetSendTasksDataCycleParamArray) ToGetSendTasksDataCycleParamArrayOutputWithContext(ctx context.Context) GetSendTasksDataCycleParamArrayOutput

type GetSendTasksDataCycleParamArrayInput added in v0.1.8

type GetSendTasksDataCycleParamArrayInput interface {
	pulumi.Input

	ToGetSendTasksDataCycleParamArrayOutput() GetSendTasksDataCycleParamArrayOutput
	ToGetSendTasksDataCycleParamArrayOutputWithContext(context.Context) GetSendTasksDataCycleParamArrayOutput
}

GetSendTasksDataCycleParamArrayInput is an input type that accepts GetSendTasksDataCycleParamArray and GetSendTasksDataCycleParamArrayOutput values. You can construct a concrete instance of `GetSendTasksDataCycleParamArrayInput` via:

GetSendTasksDataCycleParamArray{ GetSendTasksDataCycleParamArgs{...} }

type GetSendTasksDataCycleParamArrayOutput added in v0.1.8

type GetSendTasksDataCycleParamArrayOutput struct{ *pulumi.OutputState }

func (GetSendTasksDataCycleParamArrayOutput) ElementType added in v0.1.8

func (GetSendTasksDataCycleParamArrayOutput) Index added in v0.1.8

func (GetSendTasksDataCycleParamArrayOutput) ToGetSendTasksDataCycleParamArrayOutput added in v0.1.8

func (o GetSendTasksDataCycleParamArrayOutput) ToGetSendTasksDataCycleParamArrayOutput() GetSendTasksDataCycleParamArrayOutput

func (GetSendTasksDataCycleParamArrayOutput) ToGetSendTasksDataCycleParamArrayOutputWithContext added in v0.1.8

func (o GetSendTasksDataCycleParamArrayOutput) ToGetSendTasksDataCycleParamArrayOutputWithContext(ctx context.Context) GetSendTasksDataCycleParamArrayOutput

type GetSendTasksDataCycleParamInput added in v0.1.8

type GetSendTasksDataCycleParamInput interface {
	pulumi.Input

	ToGetSendTasksDataCycleParamOutput() GetSendTasksDataCycleParamOutput
	ToGetSendTasksDataCycleParamOutputWithContext(context.Context) GetSendTasksDataCycleParamOutput
}

GetSendTasksDataCycleParamInput is an input type that accepts GetSendTasksDataCycleParamArgs and GetSendTasksDataCycleParamOutput values. You can construct a concrete instance of `GetSendTasksDataCycleParamInput` via:

GetSendTasksDataCycleParamArgs{...}

type GetSendTasksDataCycleParamOutput added in v0.1.8

type GetSendTasksDataCycleParamOutput struct{ *pulumi.OutputState }

func (GetSendTasksDataCycleParamOutput) BeginTime added in v0.1.8

Start time of a scheduled sending task.

func (GetSendTasksDataCycleParamOutput) ElementType added in v0.1.8

func (GetSendTasksDataCycleParamOutput) IntervalTime added in v0.1.8

Task recurrence in hours.

func (GetSendTasksDataCycleParamOutput) TermCycle added in v0.1.8

Specifies whether to end the cycle. This parameter is used to update the task. Valid values: 0: No; 1: Yes.

func (GetSendTasksDataCycleParamOutput) ToGetSendTasksDataCycleParamOutput added in v0.1.8

func (o GetSendTasksDataCycleParamOutput) ToGetSendTasksDataCycleParamOutput() GetSendTasksDataCycleParamOutput

func (GetSendTasksDataCycleParamOutput) ToGetSendTasksDataCycleParamOutputWithContext added in v0.1.8

func (o GetSendTasksDataCycleParamOutput) ToGetSendTasksDataCycleParamOutputWithContext(ctx context.Context) GetSendTasksDataCycleParamOutput

type GetSendTasksDataInput added in v0.1.8

type GetSendTasksDataInput interface {
	pulumi.Input

	ToGetSendTasksDataOutput() GetSendTasksDataOutput
	ToGetSendTasksDataOutputWithContext(context.Context) GetSendTasksDataOutput
}

GetSendTasksDataInput is an input type that accepts GetSendTasksDataArgs and GetSendTasksDataOutput values. You can construct a concrete instance of `GetSendTasksDataInput` via:

GetSendTasksDataArgs{...}

type GetSendTasksDataOutput added in v0.1.8

type GetSendTasksDataOutput struct{ *pulumi.OutputState }

func (GetSendTasksDataOutput) CacheCount added in v0.1.8

func (o GetSendTasksDataOutput) CacheCount() pulumi.IntOutput

Number of emails cached.

func (GetSendTasksDataOutput) CreateTime added in v0.1.8

Task creation time.

func (GetSendTasksDataOutput) CycleParams added in v0.1.8

Parameters of a recurring taskNote: This field may return `null`, indicating that no valid value can be found.

func (GetSendTasksDataOutput) ElementType added in v0.1.8

func (GetSendTasksDataOutput) ElementType() reflect.Type

func (GetSendTasksDataOutput) ErrMsg added in v0.1.8

Task exception informationNote: This field may return `null`, indicating that no valid value can be found.

func (GetSendTasksDataOutput) FromEmailAddress added in v0.1.8

func (o GetSendTasksDataOutput) FromEmailAddress() pulumi.StringOutput

Sender address.

func (GetSendTasksDataOutput) ReceiverId added in v0.1.8

func (o GetSendTasksDataOutput) ReceiverId() pulumi.IntOutput

Recipient group ID.

func (GetSendTasksDataOutput) ReceiversName added in v0.1.8

func (o GetSendTasksDataOutput) ReceiversName() pulumi.StringOutput

Recipient group name.

func (GetSendTasksDataOutput) RequestCount added in v0.1.8

func (o GetSendTasksDataOutput) RequestCount() pulumi.IntOutput

Number of emails requested to be sent.

func (GetSendTasksDataOutput) SendCount added in v0.1.8

func (o GetSendTasksDataOutput) SendCount() pulumi.IntOutput

Number of emails sent.

func (GetSendTasksDataOutput) Subject added in v0.1.8

Email subject.

func (GetSendTasksDataOutput) TaskId added in v0.1.8

Task ID.

func (GetSendTasksDataOutput) TaskStatus added in v0.1.8

func (o GetSendTasksDataOutput) TaskStatus() pulumi.IntOutput

Task status. `1`: to start; `5`: sending; `6`: sending suspended today; `7`: sending error; `10`: sent.

func (GetSendTasksDataOutput) TaskType added in v0.1.8

Task type. `1`: immediate; `2`: scheduled; `3`: recurring. To query tasks of all types, do not pass in this parameter.

func (GetSendTasksDataOutput) Templates added in v0.1.8

Template and template dataNote: This field may return `null`, indicating that no valid value can be found.

func (GetSendTasksDataOutput) TimedParams added in v0.1.8

Parameters of a scheduled taskNote: This field may return `null`, indicating that no valid value can be found.

func (GetSendTasksDataOutput) ToGetSendTasksDataOutput added in v0.1.8

func (o GetSendTasksDataOutput) ToGetSendTasksDataOutput() GetSendTasksDataOutput

func (GetSendTasksDataOutput) ToGetSendTasksDataOutputWithContext added in v0.1.8

func (o GetSendTasksDataOutput) ToGetSendTasksDataOutputWithContext(ctx context.Context) GetSendTasksDataOutput

func (GetSendTasksDataOutput) UpdateTime added in v0.1.8

Task update time.

type GetSendTasksDataTemplate added in v0.1.8

type GetSendTasksDataTemplate struct {
	// Variable parameters in the template. Please use `json.dump` to format the JSON object into a string type. The object is a set of key-value pairs. Each key denotes a variable, which is represented by {{key}}. The key will be replaced with the corresponding value (represented by {{value}}) when sending the email.Note: The parameter value cannot be data of a complex type such as HTML.Example: {name:xxx,age:xx}.
	TemplateData string `pulumi:"templateData"`
	// Template ID. If you do not have any template, please create one.
	TemplateId int `pulumi:"templateId"`
}

type GetSendTasksDataTemplateArgs added in v0.1.8

type GetSendTasksDataTemplateArgs struct {
	// Variable parameters in the template. Please use `json.dump` to format the JSON object into a string type. The object is a set of key-value pairs. Each key denotes a variable, which is represented by {{key}}. The key will be replaced with the corresponding value (represented by {{value}}) when sending the email.Note: The parameter value cannot be data of a complex type such as HTML.Example: {name:xxx,age:xx}.
	TemplateData pulumi.StringInput `pulumi:"templateData"`
	// Template ID. If you do not have any template, please create one.
	TemplateId pulumi.IntInput `pulumi:"templateId"`
}

func (GetSendTasksDataTemplateArgs) ElementType added in v0.1.8

func (GetSendTasksDataTemplateArgs) ToGetSendTasksDataTemplateOutput added in v0.1.8

func (i GetSendTasksDataTemplateArgs) ToGetSendTasksDataTemplateOutput() GetSendTasksDataTemplateOutput

func (GetSendTasksDataTemplateArgs) ToGetSendTasksDataTemplateOutputWithContext added in v0.1.8

func (i GetSendTasksDataTemplateArgs) ToGetSendTasksDataTemplateOutputWithContext(ctx context.Context) GetSendTasksDataTemplateOutput

type GetSendTasksDataTemplateArray added in v0.1.8

type GetSendTasksDataTemplateArray []GetSendTasksDataTemplateInput

func (GetSendTasksDataTemplateArray) ElementType added in v0.1.8

func (GetSendTasksDataTemplateArray) ToGetSendTasksDataTemplateArrayOutput added in v0.1.8

func (i GetSendTasksDataTemplateArray) ToGetSendTasksDataTemplateArrayOutput() GetSendTasksDataTemplateArrayOutput

func (GetSendTasksDataTemplateArray) ToGetSendTasksDataTemplateArrayOutputWithContext added in v0.1.8

func (i GetSendTasksDataTemplateArray) ToGetSendTasksDataTemplateArrayOutputWithContext(ctx context.Context) GetSendTasksDataTemplateArrayOutput

type GetSendTasksDataTemplateArrayInput added in v0.1.8

type GetSendTasksDataTemplateArrayInput interface {
	pulumi.Input

	ToGetSendTasksDataTemplateArrayOutput() GetSendTasksDataTemplateArrayOutput
	ToGetSendTasksDataTemplateArrayOutputWithContext(context.Context) GetSendTasksDataTemplateArrayOutput
}

GetSendTasksDataTemplateArrayInput is an input type that accepts GetSendTasksDataTemplateArray and GetSendTasksDataTemplateArrayOutput values. You can construct a concrete instance of `GetSendTasksDataTemplateArrayInput` via:

GetSendTasksDataTemplateArray{ GetSendTasksDataTemplateArgs{...} }

type GetSendTasksDataTemplateArrayOutput added in v0.1.8

type GetSendTasksDataTemplateArrayOutput struct{ *pulumi.OutputState }

func (GetSendTasksDataTemplateArrayOutput) ElementType added in v0.1.8

func (GetSendTasksDataTemplateArrayOutput) Index added in v0.1.8

func (GetSendTasksDataTemplateArrayOutput) ToGetSendTasksDataTemplateArrayOutput added in v0.1.8

func (o GetSendTasksDataTemplateArrayOutput) ToGetSendTasksDataTemplateArrayOutput() GetSendTasksDataTemplateArrayOutput

func (GetSendTasksDataTemplateArrayOutput) ToGetSendTasksDataTemplateArrayOutputWithContext added in v0.1.8

func (o GetSendTasksDataTemplateArrayOutput) ToGetSendTasksDataTemplateArrayOutputWithContext(ctx context.Context) GetSendTasksDataTemplateArrayOutput

type GetSendTasksDataTemplateInput added in v0.1.8

type GetSendTasksDataTemplateInput interface {
	pulumi.Input

	ToGetSendTasksDataTemplateOutput() GetSendTasksDataTemplateOutput
	ToGetSendTasksDataTemplateOutputWithContext(context.Context) GetSendTasksDataTemplateOutput
}

GetSendTasksDataTemplateInput is an input type that accepts GetSendTasksDataTemplateArgs and GetSendTasksDataTemplateOutput values. You can construct a concrete instance of `GetSendTasksDataTemplateInput` via:

GetSendTasksDataTemplateArgs{...}

type GetSendTasksDataTemplateOutput added in v0.1.8

type GetSendTasksDataTemplateOutput struct{ *pulumi.OutputState }

func (GetSendTasksDataTemplateOutput) ElementType added in v0.1.8

func (GetSendTasksDataTemplateOutput) TemplateData added in v0.1.8

Variable parameters in the template. Please use `json.dump` to format the JSON object into a string type. The object is a set of key-value pairs. Each key denotes a variable, which is represented by {{key}}. The key will be replaced with the corresponding value (represented by {{value}}) when sending the email.Note: The parameter value cannot be data of a complex type such as HTML.Example: {name:xxx,age:xx}.

func (GetSendTasksDataTemplateOutput) TemplateId added in v0.1.8

Template ID. If you do not have any template, please create one.

func (GetSendTasksDataTemplateOutput) ToGetSendTasksDataTemplateOutput added in v0.1.8

func (o GetSendTasksDataTemplateOutput) ToGetSendTasksDataTemplateOutput() GetSendTasksDataTemplateOutput

func (GetSendTasksDataTemplateOutput) ToGetSendTasksDataTemplateOutputWithContext added in v0.1.8

func (o GetSendTasksDataTemplateOutput) ToGetSendTasksDataTemplateOutputWithContext(ctx context.Context) GetSendTasksDataTemplateOutput

type GetSendTasksDataTimedParam added in v0.1.8

type GetSendTasksDataTimedParam struct {
	// Start time of a scheduled sending task.
	BeginTime string `pulumi:"beginTime"`
}

type GetSendTasksDataTimedParamArgs added in v0.1.8

type GetSendTasksDataTimedParamArgs struct {
	// Start time of a scheduled sending task.
	BeginTime pulumi.StringInput `pulumi:"beginTime"`
}

func (GetSendTasksDataTimedParamArgs) ElementType added in v0.1.8

func (GetSendTasksDataTimedParamArgs) ToGetSendTasksDataTimedParamOutput added in v0.1.8

func (i GetSendTasksDataTimedParamArgs) ToGetSendTasksDataTimedParamOutput() GetSendTasksDataTimedParamOutput

func (GetSendTasksDataTimedParamArgs) ToGetSendTasksDataTimedParamOutputWithContext added in v0.1.8

func (i GetSendTasksDataTimedParamArgs) ToGetSendTasksDataTimedParamOutputWithContext(ctx context.Context) GetSendTasksDataTimedParamOutput

type GetSendTasksDataTimedParamArray added in v0.1.8

type GetSendTasksDataTimedParamArray []GetSendTasksDataTimedParamInput

func (GetSendTasksDataTimedParamArray) ElementType added in v0.1.8

func (GetSendTasksDataTimedParamArray) ToGetSendTasksDataTimedParamArrayOutput added in v0.1.8

func (i GetSendTasksDataTimedParamArray) ToGetSendTasksDataTimedParamArrayOutput() GetSendTasksDataTimedParamArrayOutput

func (GetSendTasksDataTimedParamArray) ToGetSendTasksDataTimedParamArrayOutputWithContext added in v0.1.8

func (i GetSendTasksDataTimedParamArray) ToGetSendTasksDataTimedParamArrayOutputWithContext(ctx context.Context) GetSendTasksDataTimedParamArrayOutput

type GetSendTasksDataTimedParamArrayInput added in v0.1.8

type GetSendTasksDataTimedParamArrayInput interface {
	pulumi.Input

	ToGetSendTasksDataTimedParamArrayOutput() GetSendTasksDataTimedParamArrayOutput
	ToGetSendTasksDataTimedParamArrayOutputWithContext(context.Context) GetSendTasksDataTimedParamArrayOutput
}

GetSendTasksDataTimedParamArrayInput is an input type that accepts GetSendTasksDataTimedParamArray and GetSendTasksDataTimedParamArrayOutput values. You can construct a concrete instance of `GetSendTasksDataTimedParamArrayInput` via:

GetSendTasksDataTimedParamArray{ GetSendTasksDataTimedParamArgs{...} }

type GetSendTasksDataTimedParamArrayOutput added in v0.1.8

type GetSendTasksDataTimedParamArrayOutput struct{ *pulumi.OutputState }

func (GetSendTasksDataTimedParamArrayOutput) ElementType added in v0.1.8

func (GetSendTasksDataTimedParamArrayOutput) Index added in v0.1.8

func (GetSendTasksDataTimedParamArrayOutput) ToGetSendTasksDataTimedParamArrayOutput added in v0.1.8

func (o GetSendTasksDataTimedParamArrayOutput) ToGetSendTasksDataTimedParamArrayOutput() GetSendTasksDataTimedParamArrayOutput

func (GetSendTasksDataTimedParamArrayOutput) ToGetSendTasksDataTimedParamArrayOutputWithContext added in v0.1.8

func (o GetSendTasksDataTimedParamArrayOutput) ToGetSendTasksDataTimedParamArrayOutputWithContext(ctx context.Context) GetSendTasksDataTimedParamArrayOutput

type GetSendTasksDataTimedParamInput added in v0.1.8

type GetSendTasksDataTimedParamInput interface {
	pulumi.Input

	ToGetSendTasksDataTimedParamOutput() GetSendTasksDataTimedParamOutput
	ToGetSendTasksDataTimedParamOutputWithContext(context.Context) GetSendTasksDataTimedParamOutput
}

GetSendTasksDataTimedParamInput is an input type that accepts GetSendTasksDataTimedParamArgs and GetSendTasksDataTimedParamOutput values. You can construct a concrete instance of `GetSendTasksDataTimedParamInput` via:

GetSendTasksDataTimedParamArgs{...}

type GetSendTasksDataTimedParamOutput added in v0.1.8

type GetSendTasksDataTimedParamOutput struct{ *pulumi.OutputState }

func (GetSendTasksDataTimedParamOutput) BeginTime added in v0.1.8

Start time of a scheduled sending task.

func (GetSendTasksDataTimedParamOutput) ElementType added in v0.1.8

func (GetSendTasksDataTimedParamOutput) ToGetSendTasksDataTimedParamOutput added in v0.1.8

func (o GetSendTasksDataTimedParamOutput) ToGetSendTasksDataTimedParamOutput() GetSendTasksDataTimedParamOutput

func (GetSendTasksDataTimedParamOutput) ToGetSendTasksDataTimedParamOutputWithContext added in v0.1.8

func (o GetSendTasksDataTimedParamOutput) ToGetSendTasksDataTimedParamOutputWithContext(ctx context.Context) GetSendTasksDataTimedParamOutput

type GetSendTasksOutputArgs added in v0.1.8

type GetSendTasksOutputArgs struct {
	// Recipient group ID.
	ReceiverId pulumi.IntPtrInput `pulumi:"receiverId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Task status. `1`: to start; `5`: sending; `6`: sending suspended today; `7`: sending error; `10`: sent. To query tasks in all states, do not pass in this parameter.
	Status pulumi.IntPtrInput `pulumi:"status"`
	// Task type. `1`: immediate; `2`: scheduled; `3`: recurring. To query tasks of all types, do not pass in this parameter.
	TaskType pulumi.IntPtrInput `pulumi:"taskType"`
}

A collection of arguments for invoking getSendTasks.

func (GetSendTasksOutputArgs) ElementType added in v0.1.8

func (GetSendTasksOutputArgs) ElementType() reflect.Type

type GetSendTasksResult added in v0.1.8

type GetSendTasksResult struct {
	// Data record.
	Datas []GetSendTasksData `pulumi:"datas"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Recipient group ID.
	ReceiverId       *int    `pulumi:"receiverId"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	Status           *int    `pulumi:"status"`
	// Task type. `1`: immediate; `2`: scheduled; `3`: recurring.
	TaskType *int `pulumi:"taskType"`
}

A collection of values returned by getSendTasks.

func GetSendTasks added in v0.1.8

func GetSendTasks(ctx *pulumi.Context, args *GetSendTasksArgs, opts ...pulumi.InvokeOption) (*GetSendTasksResult, error)

Use this data source to query detailed information of ses sendTasks

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ses.GetSendTasks(ctx, &ses.GetSendTasksArgs{
			ReceiverId: pulumi.IntRef(1063742),
			Status:     pulumi.IntRef(10),
			TaskType:   pulumi.IntRef(1),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSendTasksResultOutput added in v0.1.8

type GetSendTasksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSendTasks.

func GetSendTasksOutput added in v0.1.8

func GetSendTasksOutput(ctx *pulumi.Context, args GetSendTasksOutputArgs, opts ...pulumi.InvokeOption) GetSendTasksResultOutput

func (GetSendTasksResultOutput) Datas added in v0.1.8

Data record.

func (GetSendTasksResultOutput) ElementType added in v0.1.8

func (GetSendTasksResultOutput) ElementType() reflect.Type

func (GetSendTasksResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (GetSendTasksResultOutput) ReceiverId added in v0.1.8

Recipient group ID.

func (GetSendTasksResultOutput) ResultOutputFile added in v0.1.8

func (o GetSendTasksResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetSendTasksResultOutput) Status added in v0.1.8

func (GetSendTasksResultOutput) TaskType added in v0.1.8

Task type. `1`: immediate; `2`: scheduled; `3`: recurring.

func (GetSendTasksResultOutput) ToGetSendTasksResultOutput added in v0.1.8

func (o GetSendTasksResultOutput) ToGetSendTasksResultOutput() GetSendTasksResultOutput

func (GetSendTasksResultOutput) ToGetSendTasksResultOutputWithContext added in v0.1.8

func (o GetSendTasksResultOutput) ToGetSendTasksResultOutputWithContext(ctx context.Context) GetSendTasksResultOutput

type GetStatisticsReportArgs added in v0.1.8

type GetStatisticsReportArgs struct {
	// Sender domain.
	Domain *string `pulumi:"domain"`
	// End date.
	EndDate string `pulumi:"endDate"`
	// Recipient address type, for example, gmail.com.
	ReceivingMailboxType *string `pulumi:"receivingMailboxType"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Start date.
	StartDate string `pulumi:"startDate"`
}

A collection of arguments for invoking getStatisticsReport.

type GetStatisticsReportDailyVolume added in v0.1.8

type GetStatisticsReportDailyVolume struct {
	// Number of email requests accepted by Tencent Cloud.
	AcceptedCount int `pulumi:"acceptedCount"`
	// Number of bounced emails.
	BounceCount int `pulumi:"bounceCount"`
	// Number of recipients who clicked on links in emails.
	ClickedCount int `pulumi:"clickedCount"`
	// Number of delivered emails.
	DeliveredCount int `pulumi:"deliveredCount"`
	// Number of users (deduplicated) who opened emails.
	OpenedCount int `pulumi:"openedCount"`
	// Number of email requests.
	RequestCount int `pulumi:"requestCount"`
	// Date Note: this field may return null, indicating that no valid values can be obtained.
	SendDate string `pulumi:"sendDate"`
	// Number of users who canceled subscriptions. Note: this field may return null, indicating that no valid values can be obtained.
	UnsubscribeCount int `pulumi:"unsubscribeCount"`
}

type GetStatisticsReportDailyVolumeArgs added in v0.1.8

type GetStatisticsReportDailyVolumeArgs struct {
	// Number of email requests accepted by Tencent Cloud.
	AcceptedCount pulumi.IntInput `pulumi:"acceptedCount"`
	// Number of bounced emails.
	BounceCount pulumi.IntInput `pulumi:"bounceCount"`
	// Number of recipients who clicked on links in emails.
	ClickedCount pulumi.IntInput `pulumi:"clickedCount"`
	// Number of delivered emails.
	DeliveredCount pulumi.IntInput `pulumi:"deliveredCount"`
	// Number of users (deduplicated) who opened emails.
	OpenedCount pulumi.IntInput `pulumi:"openedCount"`
	// Number of email requests.
	RequestCount pulumi.IntInput `pulumi:"requestCount"`
	// Date Note: this field may return null, indicating that no valid values can be obtained.
	SendDate pulumi.StringInput `pulumi:"sendDate"`
	// Number of users who canceled subscriptions. Note: this field may return null, indicating that no valid values can be obtained.
	UnsubscribeCount pulumi.IntInput `pulumi:"unsubscribeCount"`
}

func (GetStatisticsReportDailyVolumeArgs) ElementType added in v0.1.8

func (GetStatisticsReportDailyVolumeArgs) ToGetStatisticsReportDailyVolumeOutput added in v0.1.8

func (i GetStatisticsReportDailyVolumeArgs) ToGetStatisticsReportDailyVolumeOutput() GetStatisticsReportDailyVolumeOutput

func (GetStatisticsReportDailyVolumeArgs) ToGetStatisticsReportDailyVolumeOutputWithContext added in v0.1.8

func (i GetStatisticsReportDailyVolumeArgs) ToGetStatisticsReportDailyVolumeOutputWithContext(ctx context.Context) GetStatisticsReportDailyVolumeOutput

type GetStatisticsReportDailyVolumeArray added in v0.1.8

type GetStatisticsReportDailyVolumeArray []GetStatisticsReportDailyVolumeInput

func (GetStatisticsReportDailyVolumeArray) ElementType added in v0.1.8

func (GetStatisticsReportDailyVolumeArray) ToGetStatisticsReportDailyVolumeArrayOutput added in v0.1.8

func (i GetStatisticsReportDailyVolumeArray) ToGetStatisticsReportDailyVolumeArrayOutput() GetStatisticsReportDailyVolumeArrayOutput

func (GetStatisticsReportDailyVolumeArray) ToGetStatisticsReportDailyVolumeArrayOutputWithContext added in v0.1.8

func (i GetStatisticsReportDailyVolumeArray) ToGetStatisticsReportDailyVolumeArrayOutputWithContext(ctx context.Context) GetStatisticsReportDailyVolumeArrayOutput

type GetStatisticsReportDailyVolumeArrayInput added in v0.1.8

type GetStatisticsReportDailyVolumeArrayInput interface {
	pulumi.Input

	ToGetStatisticsReportDailyVolumeArrayOutput() GetStatisticsReportDailyVolumeArrayOutput
	ToGetStatisticsReportDailyVolumeArrayOutputWithContext(context.Context) GetStatisticsReportDailyVolumeArrayOutput
}

GetStatisticsReportDailyVolumeArrayInput is an input type that accepts GetStatisticsReportDailyVolumeArray and GetStatisticsReportDailyVolumeArrayOutput values. You can construct a concrete instance of `GetStatisticsReportDailyVolumeArrayInput` via:

GetStatisticsReportDailyVolumeArray{ GetStatisticsReportDailyVolumeArgs{...} }

type GetStatisticsReportDailyVolumeArrayOutput added in v0.1.8

type GetStatisticsReportDailyVolumeArrayOutput struct{ *pulumi.OutputState }

func (GetStatisticsReportDailyVolumeArrayOutput) ElementType added in v0.1.8

func (GetStatisticsReportDailyVolumeArrayOutput) Index added in v0.1.8

func (GetStatisticsReportDailyVolumeArrayOutput) ToGetStatisticsReportDailyVolumeArrayOutput added in v0.1.8

func (o GetStatisticsReportDailyVolumeArrayOutput) ToGetStatisticsReportDailyVolumeArrayOutput() GetStatisticsReportDailyVolumeArrayOutput

func (GetStatisticsReportDailyVolumeArrayOutput) ToGetStatisticsReportDailyVolumeArrayOutputWithContext added in v0.1.8

func (o GetStatisticsReportDailyVolumeArrayOutput) ToGetStatisticsReportDailyVolumeArrayOutputWithContext(ctx context.Context) GetStatisticsReportDailyVolumeArrayOutput

type GetStatisticsReportDailyVolumeInput added in v0.1.8

type GetStatisticsReportDailyVolumeInput interface {
	pulumi.Input

	ToGetStatisticsReportDailyVolumeOutput() GetStatisticsReportDailyVolumeOutput
	ToGetStatisticsReportDailyVolumeOutputWithContext(context.Context) GetStatisticsReportDailyVolumeOutput
}

GetStatisticsReportDailyVolumeInput is an input type that accepts GetStatisticsReportDailyVolumeArgs and GetStatisticsReportDailyVolumeOutput values. You can construct a concrete instance of `GetStatisticsReportDailyVolumeInput` via:

GetStatisticsReportDailyVolumeArgs{...}

type GetStatisticsReportDailyVolumeOutput added in v0.1.8

type GetStatisticsReportDailyVolumeOutput struct{ *pulumi.OutputState }

func (GetStatisticsReportDailyVolumeOutput) AcceptedCount added in v0.1.8

Number of email requests accepted by Tencent Cloud.

func (GetStatisticsReportDailyVolumeOutput) BounceCount added in v0.1.8

Number of bounced emails.

func (GetStatisticsReportDailyVolumeOutput) ClickedCount added in v0.1.8

Number of recipients who clicked on links in emails.

func (GetStatisticsReportDailyVolumeOutput) DeliveredCount added in v0.1.8

Number of delivered emails.

func (GetStatisticsReportDailyVolumeOutput) ElementType added in v0.1.8

func (GetStatisticsReportDailyVolumeOutput) OpenedCount added in v0.1.8

Number of users (deduplicated) who opened emails.

func (GetStatisticsReportDailyVolumeOutput) RequestCount added in v0.1.8

Number of email requests.

func (GetStatisticsReportDailyVolumeOutput) SendDate added in v0.1.8

Date Note: this field may return null, indicating that no valid values can be obtained.

func (GetStatisticsReportDailyVolumeOutput) ToGetStatisticsReportDailyVolumeOutput added in v0.1.8

func (o GetStatisticsReportDailyVolumeOutput) ToGetStatisticsReportDailyVolumeOutput() GetStatisticsReportDailyVolumeOutput

func (GetStatisticsReportDailyVolumeOutput) ToGetStatisticsReportDailyVolumeOutputWithContext added in v0.1.8

func (o GetStatisticsReportDailyVolumeOutput) ToGetStatisticsReportDailyVolumeOutputWithContext(ctx context.Context) GetStatisticsReportDailyVolumeOutput

func (GetStatisticsReportDailyVolumeOutput) UnsubscribeCount added in v0.1.8

Number of users who canceled subscriptions. Note: this field may return null, indicating that no valid values can be obtained.

type GetStatisticsReportOutputArgs added in v0.1.8

type GetStatisticsReportOutputArgs struct {
	// Sender domain.
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// End date.
	EndDate pulumi.StringInput `pulumi:"endDate"`
	// Recipient address type, for example, gmail.com.
	ReceivingMailboxType pulumi.StringPtrInput `pulumi:"receivingMailboxType"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Start date.
	StartDate pulumi.StringInput `pulumi:"startDate"`
}

A collection of arguments for invoking getStatisticsReport.

func (GetStatisticsReportOutputArgs) ElementType added in v0.1.8

type GetStatisticsReportOverallVolume added in v0.1.8

type GetStatisticsReportOverallVolume struct {
	// Number of email requests accepted by Tencent Cloud.
	AcceptedCount int `pulumi:"acceptedCount"`
	// Number of bounced emails.
	BounceCount int `pulumi:"bounceCount"`
	// Number of recipients who clicked on links in emails.
	ClickedCount int `pulumi:"clickedCount"`
	// Number of delivered emails.
	DeliveredCount int `pulumi:"deliveredCount"`
	// Number of users (deduplicated) who opened emails.
	OpenedCount int `pulumi:"openedCount"`
	// Number of email requests.
	RequestCount int `pulumi:"requestCount"`
	// Date Note: this field may return null, indicating that no valid values can be obtained.
	SendDate string `pulumi:"sendDate"`
	// Number of users who canceled subscriptions. Note: this field may return null, indicating that no valid values can be obtained.
	UnsubscribeCount int `pulumi:"unsubscribeCount"`
}

type GetStatisticsReportOverallVolumeArgs added in v0.1.8

type GetStatisticsReportOverallVolumeArgs struct {
	// Number of email requests accepted by Tencent Cloud.
	AcceptedCount pulumi.IntInput `pulumi:"acceptedCount"`
	// Number of bounced emails.
	BounceCount pulumi.IntInput `pulumi:"bounceCount"`
	// Number of recipients who clicked on links in emails.
	ClickedCount pulumi.IntInput `pulumi:"clickedCount"`
	// Number of delivered emails.
	DeliveredCount pulumi.IntInput `pulumi:"deliveredCount"`
	// Number of users (deduplicated) who opened emails.
	OpenedCount pulumi.IntInput `pulumi:"openedCount"`
	// Number of email requests.
	RequestCount pulumi.IntInput `pulumi:"requestCount"`
	// Date Note: this field may return null, indicating that no valid values can be obtained.
	SendDate pulumi.StringInput `pulumi:"sendDate"`
	// Number of users who canceled subscriptions. Note: this field may return null, indicating that no valid values can be obtained.
	UnsubscribeCount pulumi.IntInput `pulumi:"unsubscribeCount"`
}

func (GetStatisticsReportOverallVolumeArgs) ElementType added in v0.1.8

func (GetStatisticsReportOverallVolumeArgs) ToGetStatisticsReportOverallVolumeOutput added in v0.1.8

func (i GetStatisticsReportOverallVolumeArgs) ToGetStatisticsReportOverallVolumeOutput() GetStatisticsReportOverallVolumeOutput

func (GetStatisticsReportOverallVolumeArgs) ToGetStatisticsReportOverallVolumeOutputWithContext added in v0.1.8

func (i GetStatisticsReportOverallVolumeArgs) ToGetStatisticsReportOverallVolumeOutputWithContext(ctx context.Context) GetStatisticsReportOverallVolumeOutput

type GetStatisticsReportOverallVolumeArray added in v0.1.8

type GetStatisticsReportOverallVolumeArray []GetStatisticsReportOverallVolumeInput

func (GetStatisticsReportOverallVolumeArray) ElementType added in v0.1.8

func (GetStatisticsReportOverallVolumeArray) ToGetStatisticsReportOverallVolumeArrayOutput added in v0.1.8

func (i GetStatisticsReportOverallVolumeArray) ToGetStatisticsReportOverallVolumeArrayOutput() GetStatisticsReportOverallVolumeArrayOutput

func (GetStatisticsReportOverallVolumeArray) ToGetStatisticsReportOverallVolumeArrayOutputWithContext added in v0.1.8

func (i GetStatisticsReportOverallVolumeArray) ToGetStatisticsReportOverallVolumeArrayOutputWithContext(ctx context.Context) GetStatisticsReportOverallVolumeArrayOutput

type GetStatisticsReportOverallVolumeArrayInput added in v0.1.8

type GetStatisticsReportOverallVolumeArrayInput interface {
	pulumi.Input

	ToGetStatisticsReportOverallVolumeArrayOutput() GetStatisticsReportOverallVolumeArrayOutput
	ToGetStatisticsReportOverallVolumeArrayOutputWithContext(context.Context) GetStatisticsReportOverallVolumeArrayOutput
}

GetStatisticsReportOverallVolumeArrayInput is an input type that accepts GetStatisticsReportOverallVolumeArray and GetStatisticsReportOverallVolumeArrayOutput values. You can construct a concrete instance of `GetStatisticsReportOverallVolumeArrayInput` via:

GetStatisticsReportOverallVolumeArray{ GetStatisticsReportOverallVolumeArgs{...} }

type GetStatisticsReportOverallVolumeArrayOutput added in v0.1.8

type GetStatisticsReportOverallVolumeArrayOutput struct{ *pulumi.OutputState }

func (GetStatisticsReportOverallVolumeArrayOutput) ElementType added in v0.1.8

func (GetStatisticsReportOverallVolumeArrayOutput) Index added in v0.1.8

func (GetStatisticsReportOverallVolumeArrayOutput) ToGetStatisticsReportOverallVolumeArrayOutput added in v0.1.8

func (o GetStatisticsReportOverallVolumeArrayOutput) ToGetStatisticsReportOverallVolumeArrayOutput() GetStatisticsReportOverallVolumeArrayOutput

func (GetStatisticsReportOverallVolumeArrayOutput) ToGetStatisticsReportOverallVolumeArrayOutputWithContext added in v0.1.8

func (o GetStatisticsReportOverallVolumeArrayOutput) ToGetStatisticsReportOverallVolumeArrayOutputWithContext(ctx context.Context) GetStatisticsReportOverallVolumeArrayOutput

type GetStatisticsReportOverallVolumeInput added in v0.1.8

type GetStatisticsReportOverallVolumeInput interface {
	pulumi.Input

	ToGetStatisticsReportOverallVolumeOutput() GetStatisticsReportOverallVolumeOutput
	ToGetStatisticsReportOverallVolumeOutputWithContext(context.Context) GetStatisticsReportOverallVolumeOutput
}

GetStatisticsReportOverallVolumeInput is an input type that accepts GetStatisticsReportOverallVolumeArgs and GetStatisticsReportOverallVolumeOutput values. You can construct a concrete instance of `GetStatisticsReportOverallVolumeInput` via:

GetStatisticsReportOverallVolumeArgs{...}

type GetStatisticsReportOverallVolumeOutput added in v0.1.8

type GetStatisticsReportOverallVolumeOutput struct{ *pulumi.OutputState }

func (GetStatisticsReportOverallVolumeOutput) AcceptedCount added in v0.1.8

Number of email requests accepted by Tencent Cloud.

func (GetStatisticsReportOverallVolumeOutput) BounceCount added in v0.1.8

Number of bounced emails.

func (GetStatisticsReportOverallVolumeOutput) ClickedCount added in v0.1.8

Number of recipients who clicked on links in emails.

func (GetStatisticsReportOverallVolumeOutput) DeliveredCount added in v0.1.8

Number of delivered emails.

func (GetStatisticsReportOverallVolumeOutput) ElementType added in v0.1.8

func (GetStatisticsReportOverallVolumeOutput) OpenedCount added in v0.1.8

Number of users (deduplicated) who opened emails.

func (GetStatisticsReportOverallVolumeOutput) RequestCount added in v0.1.8

Number of email requests.

func (GetStatisticsReportOverallVolumeOutput) SendDate added in v0.1.8

Date Note: this field may return null, indicating that no valid values can be obtained.

func (GetStatisticsReportOverallVolumeOutput) ToGetStatisticsReportOverallVolumeOutput added in v0.1.8

func (o GetStatisticsReportOverallVolumeOutput) ToGetStatisticsReportOverallVolumeOutput() GetStatisticsReportOverallVolumeOutput

func (GetStatisticsReportOverallVolumeOutput) ToGetStatisticsReportOverallVolumeOutputWithContext added in v0.1.8

func (o GetStatisticsReportOverallVolumeOutput) ToGetStatisticsReportOverallVolumeOutputWithContext(ctx context.Context) GetStatisticsReportOverallVolumeOutput

func (GetStatisticsReportOverallVolumeOutput) UnsubscribeCount added in v0.1.8

Number of users who canceled subscriptions. Note: this field may return null, indicating that no valid values can be obtained.

type GetStatisticsReportResult added in v0.1.8

type GetStatisticsReportResult struct {
	// Daily email sending statistics.
	DailyVolumes []GetStatisticsReportDailyVolume `pulumi:"dailyVolumes"`
	Domain       *string                          `pulumi:"domain"`
	EndDate      string                           `pulumi:"endDate"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Overall email sending statistics.
	OverallVolumes       []GetStatisticsReportOverallVolume `pulumi:"overallVolumes"`
	ReceivingMailboxType *string                            `pulumi:"receivingMailboxType"`
	ResultOutputFile     *string                            `pulumi:"resultOutputFile"`
	StartDate            string                             `pulumi:"startDate"`
}

A collection of values returned by getStatisticsReport.

func GetStatisticsReport added in v0.1.8

func GetStatisticsReport(ctx *pulumi.Context, args *GetStatisticsReportArgs, opts ...pulumi.InvokeOption) (*GetStatisticsReportResult, error)

Use this data source to query detailed information of ses statisticsReport

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ses.GetStatisticsReport(ctx, &ses.GetStatisticsReportArgs{
			Domain:               pulumi.StringRef("iac-tf.cloud"),
			EndDate:              "2023-09-05",
			ReceivingMailboxType: pulumi.StringRef("gmail.com"),
			StartDate:            "2020-10-01",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetStatisticsReportResultOutput added in v0.1.8

type GetStatisticsReportResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStatisticsReport.

func GetStatisticsReportOutput added in v0.1.8

func (GetStatisticsReportResultOutput) DailyVolumes added in v0.1.8

Daily email sending statistics.

func (GetStatisticsReportResultOutput) Domain added in v0.1.8

func (GetStatisticsReportResultOutput) ElementType added in v0.1.8

func (GetStatisticsReportResultOutput) EndDate added in v0.1.8

func (GetStatisticsReportResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (GetStatisticsReportResultOutput) OverallVolumes added in v0.1.8

Overall email sending statistics.

func (GetStatisticsReportResultOutput) ReceivingMailboxType added in v0.1.8

func (o GetStatisticsReportResultOutput) ReceivingMailboxType() pulumi.StringPtrOutput

func (GetStatisticsReportResultOutput) ResultOutputFile added in v0.1.8

func (GetStatisticsReportResultOutput) StartDate added in v0.1.8

func (GetStatisticsReportResultOutput) ToGetStatisticsReportResultOutput added in v0.1.8

func (o GetStatisticsReportResultOutput) ToGetStatisticsReportResultOutput() GetStatisticsReportResultOutput

func (GetStatisticsReportResultOutput) ToGetStatisticsReportResultOutputWithContext added in v0.1.8

func (o GetStatisticsReportResultOutput) ToGetStatisticsReportResultOutputWithContext(ctx context.Context) GetStatisticsReportResultOutput

type Receiver added in v0.1.8

type Receiver struct {
	pulumi.CustomResourceState

	// Recipient email and template parameters in array format. The number of recipients is limited to within 20,000. If there is an object in the `data` list that inputs `templateData`, then other objects are also required.
	Datas ReceiverDataArrayOutput `pulumi:"datas"`
	// Recipient group description.
	Desc pulumi.StringPtrOutput `pulumi:"desc"`
	// Recipient group name.
	ReceiversName pulumi.StringOutput `pulumi:"receiversName"`
}

Provides a resource to create a ses receiver

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ses.NewReceiver(ctx, "receiver", &Ses.ReceiverArgs{
			Datas: ses.ReceiverDataArray{
				&ses.ReceiverDataArgs{
					Email: pulumi.String("abc@abc.com"),
				},
				&ses.ReceiverDataArgs{
					Email: pulumi.String("abcd@abcd.com"),
				},
			},
			Desc:          pulumi.String("description"),
			ReceiversName: pulumi.String("terraform_test"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ses.NewReceiver(ctx, "receiver", &Ses.ReceiverArgs{
			Datas: ses.ReceiverDataArray{
				&ses.ReceiverDataArgs{
					Email:        pulumi.String("abc@abc.com"),
					TemplateData: pulumi.String("{\"name\":\"xxx\",\"age\":\"xx\"}"),
				},
				&ses.ReceiverDataArgs{
					Email:        pulumi.String("abcd@abcd.com"),
					TemplateData: pulumi.String("{\"name\":\"xxx\",\"age\":\"xx\"}"),
				},
			},
			Desc:          pulumi.String("description"),
			ReceiversName: pulumi.String("terraform_test"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ses email_address can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Ses/receiver:Receiver receiver receiverId

```

func GetReceiver added in v0.1.8

func GetReceiver(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReceiverState, opts ...pulumi.ResourceOption) (*Receiver, error)

GetReceiver gets an existing Receiver 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 NewReceiver added in v0.1.8

func NewReceiver(ctx *pulumi.Context,
	name string, args *ReceiverArgs, opts ...pulumi.ResourceOption) (*Receiver, error)

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

func (*Receiver) ElementType added in v0.1.8

func (*Receiver) ElementType() reflect.Type

func (*Receiver) ToReceiverOutput added in v0.1.8

func (i *Receiver) ToReceiverOutput() ReceiverOutput

func (*Receiver) ToReceiverOutputWithContext added in v0.1.8

func (i *Receiver) ToReceiverOutputWithContext(ctx context.Context) ReceiverOutput

type ReceiverArgs added in v0.1.8

type ReceiverArgs struct {
	// Recipient email and template parameters in array format. The number of recipients is limited to within 20,000. If there is an object in the `data` list that inputs `templateData`, then other objects are also required.
	Datas ReceiverDataArrayInput
	// Recipient group description.
	Desc pulumi.StringPtrInput
	// Recipient group name.
	ReceiversName pulumi.StringInput
}

The set of arguments for constructing a Receiver resource.

func (ReceiverArgs) ElementType added in v0.1.8

func (ReceiverArgs) ElementType() reflect.Type

type ReceiverArray added in v0.1.8

type ReceiverArray []ReceiverInput

func (ReceiverArray) ElementType added in v0.1.8

func (ReceiverArray) ElementType() reflect.Type

func (ReceiverArray) ToReceiverArrayOutput added in v0.1.8

func (i ReceiverArray) ToReceiverArrayOutput() ReceiverArrayOutput

func (ReceiverArray) ToReceiverArrayOutputWithContext added in v0.1.8

func (i ReceiverArray) ToReceiverArrayOutputWithContext(ctx context.Context) ReceiverArrayOutput

type ReceiverArrayInput added in v0.1.8

type ReceiverArrayInput interface {
	pulumi.Input

	ToReceiverArrayOutput() ReceiverArrayOutput
	ToReceiverArrayOutputWithContext(context.Context) ReceiverArrayOutput
}

ReceiverArrayInput is an input type that accepts ReceiverArray and ReceiverArrayOutput values. You can construct a concrete instance of `ReceiverArrayInput` via:

ReceiverArray{ ReceiverArgs{...} }

type ReceiverArrayOutput added in v0.1.8

type ReceiverArrayOutput struct{ *pulumi.OutputState }

func (ReceiverArrayOutput) ElementType added in v0.1.8

func (ReceiverArrayOutput) ElementType() reflect.Type

func (ReceiverArrayOutput) Index added in v0.1.8

func (ReceiverArrayOutput) ToReceiverArrayOutput added in v0.1.8

func (o ReceiverArrayOutput) ToReceiverArrayOutput() ReceiverArrayOutput

func (ReceiverArrayOutput) ToReceiverArrayOutputWithContext added in v0.1.8

func (o ReceiverArrayOutput) ToReceiverArrayOutputWithContext(ctx context.Context) ReceiverArrayOutput

type ReceiverData added in v0.1.8

type ReceiverData struct {
	// Recipient email addresses.
	Email string `pulumi:"email"`
	// Variable parameters in the template, please use json.dump to format the JSON object as a string type. The object is a set of key-value pairs, where each key represents a variable in the template, and the variables in the template are represented by {{key}}, and the corresponding values will be replaced with {{value}} when sent.Note: Parameter values cannot be complex data such as HTML. The total length of TemplateData (the entire JSON structure) should be less than 800 bytes.
	TemplateData *string `pulumi:"templateData"`
}

type ReceiverDataArgs added in v0.1.8

type ReceiverDataArgs struct {
	// Recipient email addresses.
	Email pulumi.StringInput `pulumi:"email"`
	// Variable parameters in the template, please use json.dump to format the JSON object as a string type. The object is a set of key-value pairs, where each key represents a variable in the template, and the variables in the template are represented by {{key}}, and the corresponding values will be replaced with {{value}} when sent.Note: Parameter values cannot be complex data such as HTML. The total length of TemplateData (the entire JSON structure) should be less than 800 bytes.
	TemplateData pulumi.StringPtrInput `pulumi:"templateData"`
}

func (ReceiverDataArgs) ElementType added in v0.1.8

func (ReceiverDataArgs) ElementType() reflect.Type

func (ReceiverDataArgs) ToReceiverDataOutput added in v0.1.8

func (i ReceiverDataArgs) ToReceiverDataOutput() ReceiverDataOutput

func (ReceiverDataArgs) ToReceiverDataOutputWithContext added in v0.1.8

func (i ReceiverDataArgs) ToReceiverDataOutputWithContext(ctx context.Context) ReceiverDataOutput

type ReceiverDataArray added in v0.1.8

type ReceiverDataArray []ReceiverDataInput

func (ReceiverDataArray) ElementType added in v0.1.8

func (ReceiverDataArray) ElementType() reflect.Type

func (ReceiverDataArray) ToReceiverDataArrayOutput added in v0.1.8

func (i ReceiverDataArray) ToReceiverDataArrayOutput() ReceiverDataArrayOutput

func (ReceiverDataArray) ToReceiverDataArrayOutputWithContext added in v0.1.8

func (i ReceiverDataArray) ToReceiverDataArrayOutputWithContext(ctx context.Context) ReceiverDataArrayOutput

type ReceiverDataArrayInput added in v0.1.8

type ReceiverDataArrayInput interface {
	pulumi.Input

	ToReceiverDataArrayOutput() ReceiverDataArrayOutput
	ToReceiverDataArrayOutputWithContext(context.Context) ReceiverDataArrayOutput
}

ReceiverDataArrayInput is an input type that accepts ReceiverDataArray and ReceiverDataArrayOutput values. You can construct a concrete instance of `ReceiverDataArrayInput` via:

ReceiverDataArray{ ReceiverDataArgs{...} }

type ReceiverDataArrayOutput added in v0.1.8

type ReceiverDataArrayOutput struct{ *pulumi.OutputState }

func (ReceiverDataArrayOutput) ElementType added in v0.1.8

func (ReceiverDataArrayOutput) ElementType() reflect.Type

func (ReceiverDataArrayOutput) Index added in v0.1.8

func (ReceiverDataArrayOutput) ToReceiverDataArrayOutput added in v0.1.8

func (o ReceiverDataArrayOutput) ToReceiverDataArrayOutput() ReceiverDataArrayOutput

func (ReceiverDataArrayOutput) ToReceiverDataArrayOutputWithContext added in v0.1.8

func (o ReceiverDataArrayOutput) ToReceiverDataArrayOutputWithContext(ctx context.Context) ReceiverDataArrayOutput

type ReceiverDataInput added in v0.1.8

type ReceiverDataInput interface {
	pulumi.Input

	ToReceiverDataOutput() ReceiverDataOutput
	ToReceiverDataOutputWithContext(context.Context) ReceiverDataOutput
}

ReceiverDataInput is an input type that accepts ReceiverDataArgs and ReceiverDataOutput values. You can construct a concrete instance of `ReceiverDataInput` via:

ReceiverDataArgs{...}

type ReceiverDataOutput added in v0.1.8

type ReceiverDataOutput struct{ *pulumi.OutputState }

func (ReceiverDataOutput) ElementType added in v0.1.8

func (ReceiverDataOutput) ElementType() reflect.Type

func (ReceiverDataOutput) Email added in v0.1.8

Recipient email addresses.

func (ReceiverDataOutput) TemplateData added in v0.1.8

func (o ReceiverDataOutput) TemplateData() pulumi.StringPtrOutput

Variable parameters in the template, please use json.dump to format the JSON object as a string type. The object is a set of key-value pairs, where each key represents a variable in the template, and the variables in the template are represented by {{key}}, and the corresponding values will be replaced with {{value}} when sent.Note: Parameter values cannot be complex data such as HTML. The total length of TemplateData (the entire JSON structure) should be less than 800 bytes.

func (ReceiverDataOutput) ToReceiverDataOutput added in v0.1.8

func (o ReceiverDataOutput) ToReceiverDataOutput() ReceiverDataOutput

func (ReceiverDataOutput) ToReceiverDataOutputWithContext added in v0.1.8

func (o ReceiverDataOutput) ToReceiverDataOutputWithContext(ctx context.Context) ReceiverDataOutput

type ReceiverInput added in v0.1.8

type ReceiverInput interface {
	pulumi.Input

	ToReceiverOutput() ReceiverOutput
	ToReceiverOutputWithContext(ctx context.Context) ReceiverOutput
}

type ReceiverMap added in v0.1.8

type ReceiverMap map[string]ReceiverInput

func (ReceiverMap) ElementType added in v0.1.8

func (ReceiverMap) ElementType() reflect.Type

func (ReceiverMap) ToReceiverMapOutput added in v0.1.8

func (i ReceiverMap) ToReceiverMapOutput() ReceiverMapOutput

func (ReceiverMap) ToReceiverMapOutputWithContext added in v0.1.8

func (i ReceiverMap) ToReceiverMapOutputWithContext(ctx context.Context) ReceiverMapOutput

type ReceiverMapInput added in v0.1.8

type ReceiverMapInput interface {
	pulumi.Input

	ToReceiverMapOutput() ReceiverMapOutput
	ToReceiverMapOutputWithContext(context.Context) ReceiverMapOutput
}

ReceiverMapInput is an input type that accepts ReceiverMap and ReceiverMapOutput values. You can construct a concrete instance of `ReceiverMapInput` via:

ReceiverMap{ "key": ReceiverArgs{...} }

type ReceiverMapOutput added in v0.1.8

type ReceiverMapOutput struct{ *pulumi.OutputState }

func (ReceiverMapOutput) ElementType added in v0.1.8

func (ReceiverMapOutput) ElementType() reflect.Type

func (ReceiverMapOutput) MapIndex added in v0.1.8

func (ReceiverMapOutput) ToReceiverMapOutput added in v0.1.8

func (o ReceiverMapOutput) ToReceiverMapOutput() ReceiverMapOutput

func (ReceiverMapOutput) ToReceiverMapOutputWithContext added in v0.1.8

func (o ReceiverMapOutput) ToReceiverMapOutputWithContext(ctx context.Context) ReceiverMapOutput

type ReceiverOutput added in v0.1.8

type ReceiverOutput struct{ *pulumi.OutputState }

func (ReceiverOutput) Datas added in v0.1.8

Recipient email and template parameters in array format. The number of recipients is limited to within 20,000. If there is an object in the `data` list that inputs `templateData`, then other objects are also required.

func (ReceiverOutput) Desc added in v0.1.8

Recipient group description.

func (ReceiverOutput) ElementType added in v0.1.8

func (ReceiverOutput) ElementType() reflect.Type

func (ReceiverOutput) ReceiversName added in v0.1.8

func (o ReceiverOutput) ReceiversName() pulumi.StringOutput

Recipient group name.

func (ReceiverOutput) ToReceiverOutput added in v0.1.8

func (o ReceiverOutput) ToReceiverOutput() ReceiverOutput

func (ReceiverOutput) ToReceiverOutputWithContext added in v0.1.8

func (o ReceiverOutput) ToReceiverOutputWithContext(ctx context.Context) ReceiverOutput

type ReceiverState added in v0.1.8

type ReceiverState struct {
	// Recipient email and template parameters in array format. The number of recipients is limited to within 20,000. If there is an object in the `data` list that inputs `templateData`, then other objects are also required.
	Datas ReceiverDataArrayInput
	// Recipient group description.
	Desc pulumi.StringPtrInput
	// Recipient group name.
	ReceiversName pulumi.StringPtrInput
}

func (ReceiverState) ElementType added in v0.1.8

func (ReceiverState) ElementType() reflect.Type

type SendEmail added in v0.1.8

type SendEmail struct {
	pulumi.CustomResourceState

	// Parameters for the attachments to be sent. The TencentCloud API supports a request packet of up to 8 MB in size,and the size of the attachment content will increase by 1.5 times after Base64 encoding. Therefore,you need to keep the total size of all attachments below 4 MB. If the entire request exceeds 8 MB,the API will return an error.
	Attachments SendEmailAttachmentArrayOutput `pulumi:"attachments"`
	// The email address of the cc recipient can support up to 20 cc recipients.
	Bccs pulumi.StringArrayOutput `pulumi:"bccs"`
	// Cc recipient email address, up to 20 people can be copied.
	Ccs pulumi.StringArrayOutput `pulumi:"ccs"`
	// Recipient email addresses. You can send an email to up to 50 recipients at a time. Note: the email content will display all recipient addresses. To send one-to-one emails to several recipients, please call the API multiple times to send the emails.
	Destinations pulumi.StringArrayOutput `pulumi:"destinations"`
	// Sender address. Enter a sender address, for example, noreply@mail.qcloud.com.To display the sender name, enter the address in the following format:Sender.
	FromEmailAddress pulumi.StringOutput `pulumi:"fromEmailAddress"`
	// Reply-to address. You can enter a valid personal email address that can receive emails. If this parameter is left empty, reply emails will fail to be sent.
	ReplyToAddresses pulumi.StringPtrOutput `pulumi:"replyToAddresses"`
	// Email subject.
	Subject pulumi.StringOutput `pulumi:"subject"`
	// Template parameters for template-based sending. As Simple has been disused, Template is required.
	Template SendEmailTemplatePtrOutput `pulumi:"template"`
	// Email triggering type. 0 (default): non-trigger-based, suitable for marketing emails and non-immediate emails;1: trigger-based, suitable for immediate emails such as emails containing verification codes.If the size of an email exceeds a specified value,the system will automatically choose the non-trigger-based type.
	TriggerType pulumi.IntPtrOutput `pulumi:"triggerType"`
	// Unsubscribe link option.  0: Do not add unsubscribe link; 1: English 2: Simplified Chinese;  3: Traditional Chinese; 4: Spanish; 5: French;  6: German; 7: Japanese; 8: Korean;  9: Arabic; 10: Thai.
	Unsubscribe pulumi.StringPtrOutput `pulumi:"unsubscribe"`
}

Provides a resource to create a ses sendEmail

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ses.NewSendEmail(ctx, "sendEmail", &Ses.SendEmailArgs{
			Destinations: pulumi.StringArray{
				pulumi.String("1055482519@qq.com"),
			},
			FromEmailAddress: pulumi.String("aaa@iac-tf.cloud"),
			ReplyToAddresses: pulumi.String("aaa@iac-tf.cloud"),
			Subject:          pulumi.String("test subject"),
			Template: &ses.SendEmailTemplateArgs{
				TemplateData: pulumi.String("{\"name\":\"xxx\",\"age\":\"xx\"}"),
				TemplateId:   pulumi.Int(99629),
			},
			TriggerType: pulumi.Int(1),
			Unsubscribe: pulumi.String("1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetSendEmail added in v0.1.8

func GetSendEmail(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SendEmailState, opts ...pulumi.ResourceOption) (*SendEmail, error)

GetSendEmail gets an existing SendEmail 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 NewSendEmail added in v0.1.8

func NewSendEmail(ctx *pulumi.Context,
	name string, args *SendEmailArgs, opts ...pulumi.ResourceOption) (*SendEmail, error)

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

func (*SendEmail) ElementType added in v0.1.8

func (*SendEmail) ElementType() reflect.Type

func (*SendEmail) ToSendEmailOutput added in v0.1.8

func (i *SendEmail) ToSendEmailOutput() SendEmailOutput

func (*SendEmail) ToSendEmailOutputWithContext added in v0.1.8

func (i *SendEmail) ToSendEmailOutputWithContext(ctx context.Context) SendEmailOutput

type SendEmailArgs added in v0.1.8

type SendEmailArgs struct {
	// Parameters for the attachments to be sent. The TencentCloud API supports a request packet of up to 8 MB in size,and the size of the attachment content will increase by 1.5 times after Base64 encoding. Therefore,you need to keep the total size of all attachments below 4 MB. If the entire request exceeds 8 MB,the API will return an error.
	Attachments SendEmailAttachmentArrayInput
	// The email address of the cc recipient can support up to 20 cc recipients.
	Bccs pulumi.StringArrayInput
	// Cc recipient email address, up to 20 people can be copied.
	Ccs pulumi.StringArrayInput
	// Recipient email addresses. You can send an email to up to 50 recipients at a time. Note: the email content will display all recipient addresses. To send one-to-one emails to several recipients, please call the API multiple times to send the emails.
	Destinations pulumi.StringArrayInput
	// Sender address. Enter a sender address, for example, noreply@mail.qcloud.com.To display the sender name, enter the address in the following format:Sender.
	FromEmailAddress pulumi.StringInput
	// Reply-to address. You can enter a valid personal email address that can receive emails. If this parameter is left empty, reply emails will fail to be sent.
	ReplyToAddresses pulumi.StringPtrInput
	// Email subject.
	Subject pulumi.StringInput
	// Template parameters for template-based sending. As Simple has been disused, Template is required.
	Template SendEmailTemplatePtrInput
	// Email triggering type. 0 (default): non-trigger-based, suitable for marketing emails and non-immediate emails;1: trigger-based, suitable for immediate emails such as emails containing verification codes.If the size of an email exceeds a specified value,the system will automatically choose the non-trigger-based type.
	TriggerType pulumi.IntPtrInput
	// Unsubscribe link option.  0: Do not add unsubscribe link; 1: English 2: Simplified Chinese;  3: Traditional Chinese; 4: Spanish; 5: French;  6: German; 7: Japanese; 8: Korean;  9: Arabic; 10: Thai.
	Unsubscribe pulumi.StringPtrInput
}

The set of arguments for constructing a SendEmail resource.

func (SendEmailArgs) ElementType added in v0.1.8

func (SendEmailArgs) ElementType() reflect.Type

type SendEmailArray added in v0.1.8

type SendEmailArray []SendEmailInput

func (SendEmailArray) ElementType added in v0.1.8

func (SendEmailArray) ElementType() reflect.Type

func (SendEmailArray) ToSendEmailArrayOutput added in v0.1.8

func (i SendEmailArray) ToSendEmailArrayOutput() SendEmailArrayOutput

func (SendEmailArray) ToSendEmailArrayOutputWithContext added in v0.1.8

func (i SendEmailArray) ToSendEmailArrayOutputWithContext(ctx context.Context) SendEmailArrayOutput

type SendEmailArrayInput added in v0.1.8

type SendEmailArrayInput interface {
	pulumi.Input

	ToSendEmailArrayOutput() SendEmailArrayOutput
	ToSendEmailArrayOutputWithContext(context.Context) SendEmailArrayOutput
}

SendEmailArrayInput is an input type that accepts SendEmailArray and SendEmailArrayOutput values. You can construct a concrete instance of `SendEmailArrayInput` via:

SendEmailArray{ SendEmailArgs{...} }

type SendEmailArrayOutput added in v0.1.8

type SendEmailArrayOutput struct{ *pulumi.OutputState }

func (SendEmailArrayOutput) ElementType added in v0.1.8

func (SendEmailArrayOutput) ElementType() reflect.Type

func (SendEmailArrayOutput) Index added in v0.1.8

func (SendEmailArrayOutput) ToSendEmailArrayOutput added in v0.1.8

func (o SendEmailArrayOutput) ToSendEmailArrayOutput() SendEmailArrayOutput

func (SendEmailArrayOutput) ToSendEmailArrayOutputWithContext added in v0.1.8

func (o SendEmailArrayOutput) ToSendEmailArrayOutputWithContext(ctx context.Context) SendEmailArrayOutput

type SendEmailAttachment added in v0.1.8

type SendEmailAttachment struct {
	// Base64-encoded attachment content. You can send attachments of up to 4 MB in the total size.Note: The TencentCloud API supports a request packet of up to 8 MB in size, and the size of the attachmentcontent will increase by 1.5 times after Base64 encoding. Therefore, you need to keep the total size of allattachments below 4 MB. If the entire request exceeds 8 MB, the API will return an error.
	Content string `pulumi:"content"`
	// Attachment name, which cannot exceed 255 characters. Some attachment types are not supported. For details, see [Attachment Types.](https://www.tencentcloud.com/document/product/1084/42373?has_map=1).
	FileName string `pulumi:"fileName"`
}

type SendEmailAttachmentArgs added in v0.1.8

type SendEmailAttachmentArgs struct {
	// Base64-encoded attachment content. You can send attachments of up to 4 MB in the total size.Note: The TencentCloud API supports a request packet of up to 8 MB in size, and the size of the attachmentcontent will increase by 1.5 times after Base64 encoding. Therefore, you need to keep the total size of allattachments below 4 MB. If the entire request exceeds 8 MB, the API will return an error.
	Content pulumi.StringInput `pulumi:"content"`
	// Attachment name, which cannot exceed 255 characters. Some attachment types are not supported. For details, see [Attachment Types.](https://www.tencentcloud.com/document/product/1084/42373?has_map=1).
	FileName pulumi.StringInput `pulumi:"fileName"`
}

func (SendEmailAttachmentArgs) ElementType added in v0.1.8

func (SendEmailAttachmentArgs) ElementType() reflect.Type

func (SendEmailAttachmentArgs) ToSendEmailAttachmentOutput added in v0.1.8

func (i SendEmailAttachmentArgs) ToSendEmailAttachmentOutput() SendEmailAttachmentOutput

func (SendEmailAttachmentArgs) ToSendEmailAttachmentOutputWithContext added in v0.1.8

func (i SendEmailAttachmentArgs) ToSendEmailAttachmentOutputWithContext(ctx context.Context) SendEmailAttachmentOutput

type SendEmailAttachmentArray added in v0.1.8

type SendEmailAttachmentArray []SendEmailAttachmentInput

func (SendEmailAttachmentArray) ElementType added in v0.1.8

func (SendEmailAttachmentArray) ElementType() reflect.Type

func (SendEmailAttachmentArray) ToSendEmailAttachmentArrayOutput added in v0.1.8

func (i SendEmailAttachmentArray) ToSendEmailAttachmentArrayOutput() SendEmailAttachmentArrayOutput

func (SendEmailAttachmentArray) ToSendEmailAttachmentArrayOutputWithContext added in v0.1.8

func (i SendEmailAttachmentArray) ToSendEmailAttachmentArrayOutputWithContext(ctx context.Context) SendEmailAttachmentArrayOutput

type SendEmailAttachmentArrayInput added in v0.1.8

type SendEmailAttachmentArrayInput interface {
	pulumi.Input

	ToSendEmailAttachmentArrayOutput() SendEmailAttachmentArrayOutput
	ToSendEmailAttachmentArrayOutputWithContext(context.Context) SendEmailAttachmentArrayOutput
}

SendEmailAttachmentArrayInput is an input type that accepts SendEmailAttachmentArray and SendEmailAttachmentArrayOutput values. You can construct a concrete instance of `SendEmailAttachmentArrayInput` via:

SendEmailAttachmentArray{ SendEmailAttachmentArgs{...} }

type SendEmailAttachmentArrayOutput added in v0.1.8

type SendEmailAttachmentArrayOutput struct{ *pulumi.OutputState }

func (SendEmailAttachmentArrayOutput) ElementType added in v0.1.8

func (SendEmailAttachmentArrayOutput) Index added in v0.1.8

func (SendEmailAttachmentArrayOutput) ToSendEmailAttachmentArrayOutput added in v0.1.8

func (o SendEmailAttachmentArrayOutput) ToSendEmailAttachmentArrayOutput() SendEmailAttachmentArrayOutput

func (SendEmailAttachmentArrayOutput) ToSendEmailAttachmentArrayOutputWithContext added in v0.1.8

func (o SendEmailAttachmentArrayOutput) ToSendEmailAttachmentArrayOutputWithContext(ctx context.Context) SendEmailAttachmentArrayOutput

type SendEmailAttachmentInput added in v0.1.8

type SendEmailAttachmentInput interface {
	pulumi.Input

	ToSendEmailAttachmentOutput() SendEmailAttachmentOutput
	ToSendEmailAttachmentOutputWithContext(context.Context) SendEmailAttachmentOutput
}

SendEmailAttachmentInput is an input type that accepts SendEmailAttachmentArgs and SendEmailAttachmentOutput values. You can construct a concrete instance of `SendEmailAttachmentInput` via:

SendEmailAttachmentArgs{...}

type SendEmailAttachmentOutput added in v0.1.8

type SendEmailAttachmentOutput struct{ *pulumi.OutputState }

func (SendEmailAttachmentOutput) Content added in v0.1.8

Base64-encoded attachment content. You can send attachments of up to 4 MB in the total size.Note: The TencentCloud API supports a request packet of up to 8 MB in size, and the size of the attachmentcontent will increase by 1.5 times after Base64 encoding. Therefore, you need to keep the total size of allattachments below 4 MB. If the entire request exceeds 8 MB, the API will return an error.

func (SendEmailAttachmentOutput) ElementType added in v0.1.8

func (SendEmailAttachmentOutput) ElementType() reflect.Type

func (SendEmailAttachmentOutput) FileName added in v0.1.8

Attachment name, which cannot exceed 255 characters. Some attachment types are not supported. For details, see [Attachment Types.](https://www.tencentcloud.com/document/product/1084/42373?has_map=1).

func (SendEmailAttachmentOutput) ToSendEmailAttachmentOutput added in v0.1.8

func (o SendEmailAttachmentOutput) ToSendEmailAttachmentOutput() SendEmailAttachmentOutput

func (SendEmailAttachmentOutput) ToSendEmailAttachmentOutputWithContext added in v0.1.8

func (o SendEmailAttachmentOutput) ToSendEmailAttachmentOutputWithContext(ctx context.Context) SendEmailAttachmentOutput

type SendEmailInput added in v0.1.8

type SendEmailInput interface {
	pulumi.Input

	ToSendEmailOutput() SendEmailOutput
	ToSendEmailOutputWithContext(ctx context.Context) SendEmailOutput
}

type SendEmailMap added in v0.1.8

type SendEmailMap map[string]SendEmailInput

func (SendEmailMap) ElementType added in v0.1.8

func (SendEmailMap) ElementType() reflect.Type

func (SendEmailMap) ToSendEmailMapOutput added in v0.1.8

func (i SendEmailMap) ToSendEmailMapOutput() SendEmailMapOutput

func (SendEmailMap) ToSendEmailMapOutputWithContext added in v0.1.8

func (i SendEmailMap) ToSendEmailMapOutputWithContext(ctx context.Context) SendEmailMapOutput

type SendEmailMapInput added in v0.1.8

type SendEmailMapInput interface {
	pulumi.Input

	ToSendEmailMapOutput() SendEmailMapOutput
	ToSendEmailMapOutputWithContext(context.Context) SendEmailMapOutput
}

SendEmailMapInput is an input type that accepts SendEmailMap and SendEmailMapOutput values. You can construct a concrete instance of `SendEmailMapInput` via:

SendEmailMap{ "key": SendEmailArgs{...} }

type SendEmailMapOutput added in v0.1.8

type SendEmailMapOutput struct{ *pulumi.OutputState }

func (SendEmailMapOutput) ElementType added in v0.1.8

func (SendEmailMapOutput) ElementType() reflect.Type

func (SendEmailMapOutput) MapIndex added in v0.1.8

func (SendEmailMapOutput) ToSendEmailMapOutput added in v0.1.8

func (o SendEmailMapOutput) ToSendEmailMapOutput() SendEmailMapOutput

func (SendEmailMapOutput) ToSendEmailMapOutputWithContext added in v0.1.8

func (o SendEmailMapOutput) ToSendEmailMapOutputWithContext(ctx context.Context) SendEmailMapOutput

type SendEmailOutput added in v0.1.8

type SendEmailOutput struct{ *pulumi.OutputState }

func (SendEmailOutput) Attachments added in v0.1.8

Parameters for the attachments to be sent. The TencentCloud API supports a request packet of up to 8 MB in size,and the size of the attachment content will increase by 1.5 times after Base64 encoding. Therefore,you need to keep the total size of all attachments below 4 MB. If the entire request exceeds 8 MB,the API will return an error.

func (SendEmailOutput) Bccs added in v0.1.8

The email address of the cc recipient can support up to 20 cc recipients.

func (SendEmailOutput) Ccs added in v0.1.8

Cc recipient email address, up to 20 people can be copied.

func (SendEmailOutput) Destinations added in v0.1.8

func (o SendEmailOutput) Destinations() pulumi.StringArrayOutput

Recipient email addresses. You can send an email to up to 50 recipients at a time. Note: the email content will display all recipient addresses. To send one-to-one emails to several recipients, please call the API multiple times to send the emails.

func (SendEmailOutput) ElementType added in v0.1.8

func (SendEmailOutput) ElementType() reflect.Type

func (SendEmailOutput) FromEmailAddress added in v0.1.8

func (o SendEmailOutput) FromEmailAddress() pulumi.StringOutput

Sender address. Enter a sender address, for example, noreply@mail.qcloud.com.To display the sender name, enter the address in the following format:Sender.

func (SendEmailOutput) ReplyToAddresses added in v0.1.8

func (o SendEmailOutput) ReplyToAddresses() pulumi.StringPtrOutput

Reply-to address. You can enter a valid personal email address that can receive emails. If this parameter is left empty, reply emails will fail to be sent.

func (SendEmailOutput) Subject added in v0.1.8

func (o SendEmailOutput) Subject() pulumi.StringOutput

Email subject.

func (SendEmailOutput) Template added in v0.1.8

Template parameters for template-based sending. As Simple has been disused, Template is required.

func (SendEmailOutput) ToSendEmailOutput added in v0.1.8

func (o SendEmailOutput) ToSendEmailOutput() SendEmailOutput

func (SendEmailOutput) ToSendEmailOutputWithContext added in v0.1.8

func (o SendEmailOutput) ToSendEmailOutputWithContext(ctx context.Context) SendEmailOutput

func (SendEmailOutput) TriggerType added in v0.1.8

func (o SendEmailOutput) TriggerType() pulumi.IntPtrOutput

Email triggering type. 0 (default): non-trigger-based, suitable for marketing emails and non-immediate emails;1: trigger-based, suitable for immediate emails such as emails containing verification codes.If the size of an email exceeds a specified value,the system will automatically choose the non-trigger-based type.

func (SendEmailOutput) Unsubscribe added in v0.1.8

func (o SendEmailOutput) Unsubscribe() pulumi.StringPtrOutput

Unsubscribe link option. 0: Do not add unsubscribe link; 1: English 2: Simplified Chinese; 3: Traditional Chinese; 4: Spanish; 5: French; 6: German; 7: Japanese; 8: Korean; 9: Arabic; 10: Thai.

type SendEmailState added in v0.1.8

type SendEmailState struct {
	// Parameters for the attachments to be sent. The TencentCloud API supports a request packet of up to 8 MB in size,and the size of the attachment content will increase by 1.5 times after Base64 encoding. Therefore,you need to keep the total size of all attachments below 4 MB. If the entire request exceeds 8 MB,the API will return an error.
	Attachments SendEmailAttachmentArrayInput
	// The email address of the cc recipient can support up to 20 cc recipients.
	Bccs pulumi.StringArrayInput
	// Cc recipient email address, up to 20 people can be copied.
	Ccs pulumi.StringArrayInput
	// Recipient email addresses. You can send an email to up to 50 recipients at a time. Note: the email content will display all recipient addresses. To send one-to-one emails to several recipients, please call the API multiple times to send the emails.
	Destinations pulumi.StringArrayInput
	// Sender address. Enter a sender address, for example, noreply@mail.qcloud.com.To display the sender name, enter the address in the following format:Sender.
	FromEmailAddress pulumi.StringPtrInput
	// Reply-to address. You can enter a valid personal email address that can receive emails. If this parameter is left empty, reply emails will fail to be sent.
	ReplyToAddresses pulumi.StringPtrInput
	// Email subject.
	Subject pulumi.StringPtrInput
	// Template parameters for template-based sending. As Simple has been disused, Template is required.
	Template SendEmailTemplatePtrInput
	// Email triggering type. 0 (default): non-trigger-based, suitable for marketing emails and non-immediate emails;1: trigger-based, suitable for immediate emails such as emails containing verification codes.If the size of an email exceeds a specified value,the system will automatically choose the non-trigger-based type.
	TriggerType pulumi.IntPtrInput
	// Unsubscribe link option.  0: Do not add unsubscribe link; 1: English 2: Simplified Chinese;  3: Traditional Chinese; 4: Spanish; 5: French;  6: German; 7: Japanese; 8: Korean;  9: Arabic; 10: Thai.
	Unsubscribe pulumi.StringPtrInput
}

func (SendEmailState) ElementType added in v0.1.8

func (SendEmailState) ElementType() reflect.Type

type SendEmailTemplate added in v0.1.8

type SendEmailTemplate struct {
	// Variable parameters in the template. Please use json.dump to format the JSON object into a string type.The object is a set of key-value pairs. Each key denotes a variable, which is represented by {{key}}. The key will be replaced with the correspondingvalue (represented by {{value}}) when sending the email.Note: The parameter value cannot be data of a complex type such as HTML.Example: {name:xxx,age:xx}.
	TemplateData string `pulumi:"templateData"`
	// Template ID. If you do not have any template, please create one.
	TemplateId int `pulumi:"templateId"`
}

type SendEmailTemplateArgs added in v0.1.8

type SendEmailTemplateArgs struct {
	// Variable parameters in the template. Please use json.dump to format the JSON object into a string type.The object is a set of key-value pairs. Each key denotes a variable, which is represented by {{key}}. The key will be replaced with the correspondingvalue (represented by {{value}}) when sending the email.Note: The parameter value cannot be data of a complex type such as HTML.Example: {name:xxx,age:xx}.
	TemplateData pulumi.StringInput `pulumi:"templateData"`
	// Template ID. If you do not have any template, please create one.
	TemplateId pulumi.IntInput `pulumi:"templateId"`
}

func (SendEmailTemplateArgs) ElementType added in v0.1.8

func (SendEmailTemplateArgs) ElementType() reflect.Type

func (SendEmailTemplateArgs) ToSendEmailTemplateOutput added in v0.1.8

func (i SendEmailTemplateArgs) ToSendEmailTemplateOutput() SendEmailTemplateOutput

func (SendEmailTemplateArgs) ToSendEmailTemplateOutputWithContext added in v0.1.8

func (i SendEmailTemplateArgs) ToSendEmailTemplateOutputWithContext(ctx context.Context) SendEmailTemplateOutput

func (SendEmailTemplateArgs) ToSendEmailTemplatePtrOutput added in v0.1.8

func (i SendEmailTemplateArgs) ToSendEmailTemplatePtrOutput() SendEmailTemplatePtrOutput

func (SendEmailTemplateArgs) ToSendEmailTemplatePtrOutputWithContext added in v0.1.8

func (i SendEmailTemplateArgs) ToSendEmailTemplatePtrOutputWithContext(ctx context.Context) SendEmailTemplatePtrOutput

type SendEmailTemplateInput added in v0.1.8

type SendEmailTemplateInput interface {
	pulumi.Input

	ToSendEmailTemplateOutput() SendEmailTemplateOutput
	ToSendEmailTemplateOutputWithContext(context.Context) SendEmailTemplateOutput
}

SendEmailTemplateInput is an input type that accepts SendEmailTemplateArgs and SendEmailTemplateOutput values. You can construct a concrete instance of `SendEmailTemplateInput` via:

SendEmailTemplateArgs{...}

type SendEmailTemplateOutput added in v0.1.8

type SendEmailTemplateOutput struct{ *pulumi.OutputState }

func (SendEmailTemplateOutput) ElementType added in v0.1.8

func (SendEmailTemplateOutput) ElementType() reflect.Type

func (SendEmailTemplateOutput) TemplateData added in v0.1.8

func (o SendEmailTemplateOutput) TemplateData() pulumi.StringOutput

Variable parameters in the template. Please use json.dump to format the JSON object into a string type.The object is a set of key-value pairs. Each key denotes a variable, which is represented by {{key}}. The key will be replaced with the correspondingvalue (represented by {{value}}) when sending the email.Note: The parameter value cannot be data of a complex type such as HTML.Example: {name:xxx,age:xx}.

func (SendEmailTemplateOutput) TemplateId added in v0.1.8

func (o SendEmailTemplateOutput) TemplateId() pulumi.IntOutput

Template ID. If you do not have any template, please create one.

func (SendEmailTemplateOutput) ToSendEmailTemplateOutput added in v0.1.8

func (o SendEmailTemplateOutput) ToSendEmailTemplateOutput() SendEmailTemplateOutput

func (SendEmailTemplateOutput) ToSendEmailTemplateOutputWithContext added in v0.1.8

func (o SendEmailTemplateOutput) ToSendEmailTemplateOutputWithContext(ctx context.Context) SendEmailTemplateOutput

func (SendEmailTemplateOutput) ToSendEmailTemplatePtrOutput added in v0.1.8

func (o SendEmailTemplateOutput) ToSendEmailTemplatePtrOutput() SendEmailTemplatePtrOutput

func (SendEmailTemplateOutput) ToSendEmailTemplatePtrOutputWithContext added in v0.1.8

func (o SendEmailTemplateOutput) ToSendEmailTemplatePtrOutputWithContext(ctx context.Context) SendEmailTemplatePtrOutput

type SendEmailTemplatePtrInput added in v0.1.8

type SendEmailTemplatePtrInput interface {
	pulumi.Input

	ToSendEmailTemplatePtrOutput() SendEmailTemplatePtrOutput
	ToSendEmailTemplatePtrOutputWithContext(context.Context) SendEmailTemplatePtrOutput
}

SendEmailTemplatePtrInput is an input type that accepts SendEmailTemplateArgs, SendEmailTemplatePtr and SendEmailTemplatePtrOutput values. You can construct a concrete instance of `SendEmailTemplatePtrInput` via:

        SendEmailTemplateArgs{...}

or:

        nil

func SendEmailTemplatePtr added in v0.1.8

func SendEmailTemplatePtr(v *SendEmailTemplateArgs) SendEmailTemplatePtrInput

type SendEmailTemplatePtrOutput added in v0.1.8

type SendEmailTemplatePtrOutput struct{ *pulumi.OutputState }

func (SendEmailTemplatePtrOutput) Elem added in v0.1.8

func (SendEmailTemplatePtrOutput) ElementType added in v0.1.8

func (SendEmailTemplatePtrOutput) ElementType() reflect.Type

func (SendEmailTemplatePtrOutput) TemplateData added in v0.1.8

Variable parameters in the template. Please use json.dump to format the JSON object into a string type.The object is a set of key-value pairs. Each key denotes a variable, which is represented by {{key}}. The key will be replaced with the correspondingvalue (represented by {{value}}) when sending the email.Note: The parameter value cannot be data of a complex type such as HTML.Example: {name:xxx,age:xx}.

func (SendEmailTemplatePtrOutput) TemplateId added in v0.1.8

Template ID. If you do not have any template, please create one.

func (SendEmailTemplatePtrOutput) ToSendEmailTemplatePtrOutput added in v0.1.8

func (o SendEmailTemplatePtrOutput) ToSendEmailTemplatePtrOutput() SendEmailTemplatePtrOutput

func (SendEmailTemplatePtrOutput) ToSendEmailTemplatePtrOutputWithContext added in v0.1.8

func (o SendEmailTemplatePtrOutput) ToSendEmailTemplatePtrOutputWithContext(ctx context.Context) SendEmailTemplatePtrOutput

type Template

type Template struct {
	pulumi.CustomResourceState

	// Sms Template Content.
	TemplateContent TemplateTemplateContentOutput `pulumi:"templateContent"`
	// smsTemplateName, which must be required.
	TemplateName pulumi.StringOutput `pulumi:"templateName"`
}

Provides a resource to create a ses template.

## Example Usage ### Create a ses html template

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ses.NewTemplate(ctx, "example", &Ses.TemplateArgs{
			TemplateContent: &ses.TemplateTemplateContentArgs{
				Html: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "<!DOCTYPE html>\n", "<html lang=\"en\">\n", "<head>\n", "  <meta charset=\"UTF-8\">\n", "  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n", "  <title>mail title</title>\n", "</head>\n", "<body>\n", "<div class=\"container\">\n", "  <h1>Welcome to our service! </h1>\n", "  <p>Dear user,</p>\n", "  <p>Thank you for using Tencent Cloud:</p>\n", "  <p><a href=\"https://cloud.tencent.com/document/product/1653\">https://cloud.tencent.com/document/product/1653</a></p>\n", "  <p>If you did not request this email, please ignore it. </p>\n", "  <p><strong>from the iac team</strong></p>\n", "</div>\n", "</body>\n", "</html>\n", "\n")),
			},
			TemplateName: pulumi.String("tf_example_ses_temp"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ses template can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Ses/template:Template example template_id

```

func GetTemplate

func GetTemplate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TemplateState, opts ...pulumi.ResourceOption) (*Template, error)

GetTemplate gets an existing Template 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 NewTemplate

func NewTemplate(ctx *pulumi.Context,
	name string, args *TemplateArgs, opts ...pulumi.ResourceOption) (*Template, error)

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

func (*Template) ElementType

func (*Template) ElementType() reflect.Type

func (*Template) ToTemplateOutput

func (i *Template) ToTemplateOutput() TemplateOutput

func (*Template) ToTemplateOutputWithContext

func (i *Template) ToTemplateOutputWithContext(ctx context.Context) TemplateOutput

type TemplateArgs

type TemplateArgs struct {
	// Sms Template Content.
	TemplateContent TemplateTemplateContentInput
	// smsTemplateName, which must be required.
	TemplateName pulumi.StringInput
}

The set of arguments for constructing a Template resource.

func (TemplateArgs) ElementType

func (TemplateArgs) ElementType() reflect.Type

type TemplateArray

type TemplateArray []TemplateInput

func (TemplateArray) ElementType

func (TemplateArray) ElementType() reflect.Type

func (TemplateArray) ToTemplateArrayOutput

func (i TemplateArray) ToTemplateArrayOutput() TemplateArrayOutput

func (TemplateArray) ToTemplateArrayOutputWithContext

func (i TemplateArray) ToTemplateArrayOutputWithContext(ctx context.Context) TemplateArrayOutput

type TemplateArrayInput

type TemplateArrayInput interface {
	pulumi.Input

	ToTemplateArrayOutput() TemplateArrayOutput
	ToTemplateArrayOutputWithContext(context.Context) TemplateArrayOutput
}

TemplateArrayInput is an input type that accepts TemplateArray and TemplateArrayOutput values. You can construct a concrete instance of `TemplateArrayInput` via:

TemplateArray{ TemplateArgs{...} }

type TemplateArrayOutput

type TemplateArrayOutput struct{ *pulumi.OutputState }

func (TemplateArrayOutput) ElementType

func (TemplateArrayOutput) ElementType() reflect.Type

func (TemplateArrayOutput) Index

func (TemplateArrayOutput) ToTemplateArrayOutput

func (o TemplateArrayOutput) ToTemplateArrayOutput() TemplateArrayOutput

func (TemplateArrayOutput) ToTemplateArrayOutputWithContext

func (o TemplateArrayOutput) ToTemplateArrayOutputWithContext(ctx context.Context) TemplateArrayOutput

type TemplateInput

type TemplateInput interface {
	pulumi.Input

	ToTemplateOutput() TemplateOutput
	ToTemplateOutputWithContext(ctx context.Context) TemplateOutput
}

type TemplateMap

type TemplateMap map[string]TemplateInput

func (TemplateMap) ElementType

func (TemplateMap) ElementType() reflect.Type

func (TemplateMap) ToTemplateMapOutput

func (i TemplateMap) ToTemplateMapOutput() TemplateMapOutput

func (TemplateMap) ToTemplateMapOutputWithContext

func (i TemplateMap) ToTemplateMapOutputWithContext(ctx context.Context) TemplateMapOutput

type TemplateMapInput

type TemplateMapInput interface {
	pulumi.Input

	ToTemplateMapOutput() TemplateMapOutput
	ToTemplateMapOutputWithContext(context.Context) TemplateMapOutput
}

TemplateMapInput is an input type that accepts TemplateMap and TemplateMapOutput values. You can construct a concrete instance of `TemplateMapInput` via:

TemplateMap{ "key": TemplateArgs{...} }

type TemplateMapOutput

type TemplateMapOutput struct{ *pulumi.OutputState }

func (TemplateMapOutput) ElementType

func (TemplateMapOutput) ElementType() reflect.Type

func (TemplateMapOutput) MapIndex

func (TemplateMapOutput) ToTemplateMapOutput

func (o TemplateMapOutput) ToTemplateMapOutput() TemplateMapOutput

func (TemplateMapOutput) ToTemplateMapOutputWithContext

func (o TemplateMapOutput) ToTemplateMapOutputWithContext(ctx context.Context) TemplateMapOutput

type TemplateOutput

type TemplateOutput struct{ *pulumi.OutputState }

func (TemplateOutput) ElementType

func (TemplateOutput) ElementType() reflect.Type

func (TemplateOutput) TemplateContent

func (o TemplateOutput) TemplateContent() TemplateTemplateContentOutput

Sms Template Content.

func (TemplateOutput) TemplateName

func (o TemplateOutput) TemplateName() pulumi.StringOutput

smsTemplateName, which must be required.

func (TemplateOutput) ToTemplateOutput

func (o TemplateOutput) ToTemplateOutput() TemplateOutput

func (TemplateOutput) ToTemplateOutputWithContext

func (o TemplateOutput) ToTemplateOutputWithContext(ctx context.Context) TemplateOutput

type TemplateState

type TemplateState struct {
	// Sms Template Content.
	TemplateContent TemplateTemplateContentPtrInput
	// smsTemplateName, which must be required.
	TemplateName pulumi.StringPtrInput
}

func (TemplateState) ElementType

func (TemplateState) ElementType() reflect.Type

type TemplateTemplateContent

type TemplateTemplateContent struct {
	// Html code after base64.
	Html *string `pulumi:"html"`
	// Text content after base64.
	Text *string `pulumi:"text"`
}

type TemplateTemplateContentArgs

type TemplateTemplateContentArgs struct {
	// Html code after base64.
	Html pulumi.StringPtrInput `pulumi:"html"`
	// Text content after base64.
	Text pulumi.StringPtrInput `pulumi:"text"`
}

func (TemplateTemplateContentArgs) ElementType

func (TemplateTemplateContentArgs) ToTemplateTemplateContentOutput

func (i TemplateTemplateContentArgs) ToTemplateTemplateContentOutput() TemplateTemplateContentOutput

func (TemplateTemplateContentArgs) ToTemplateTemplateContentOutputWithContext

func (i TemplateTemplateContentArgs) ToTemplateTemplateContentOutputWithContext(ctx context.Context) TemplateTemplateContentOutput

func (TemplateTemplateContentArgs) ToTemplateTemplateContentPtrOutput

func (i TemplateTemplateContentArgs) ToTemplateTemplateContentPtrOutput() TemplateTemplateContentPtrOutput

func (TemplateTemplateContentArgs) ToTemplateTemplateContentPtrOutputWithContext

func (i TemplateTemplateContentArgs) ToTemplateTemplateContentPtrOutputWithContext(ctx context.Context) TemplateTemplateContentPtrOutput

type TemplateTemplateContentInput

type TemplateTemplateContentInput interface {
	pulumi.Input

	ToTemplateTemplateContentOutput() TemplateTemplateContentOutput
	ToTemplateTemplateContentOutputWithContext(context.Context) TemplateTemplateContentOutput
}

TemplateTemplateContentInput is an input type that accepts TemplateTemplateContentArgs and TemplateTemplateContentOutput values. You can construct a concrete instance of `TemplateTemplateContentInput` via:

TemplateTemplateContentArgs{...}

type TemplateTemplateContentOutput

type TemplateTemplateContentOutput struct{ *pulumi.OutputState }

func (TemplateTemplateContentOutput) ElementType

func (TemplateTemplateContentOutput) Html

Html code after base64.

func (TemplateTemplateContentOutput) Text

Text content after base64.

func (TemplateTemplateContentOutput) ToTemplateTemplateContentOutput

func (o TemplateTemplateContentOutput) ToTemplateTemplateContentOutput() TemplateTemplateContentOutput

func (TemplateTemplateContentOutput) ToTemplateTemplateContentOutputWithContext

func (o TemplateTemplateContentOutput) ToTemplateTemplateContentOutputWithContext(ctx context.Context) TemplateTemplateContentOutput

func (TemplateTemplateContentOutput) ToTemplateTemplateContentPtrOutput

func (o TemplateTemplateContentOutput) ToTemplateTemplateContentPtrOutput() TemplateTemplateContentPtrOutput

func (TemplateTemplateContentOutput) ToTemplateTemplateContentPtrOutputWithContext

func (o TemplateTemplateContentOutput) ToTemplateTemplateContentPtrOutputWithContext(ctx context.Context) TemplateTemplateContentPtrOutput

type TemplateTemplateContentPtrInput

type TemplateTemplateContentPtrInput interface {
	pulumi.Input

	ToTemplateTemplateContentPtrOutput() TemplateTemplateContentPtrOutput
	ToTemplateTemplateContentPtrOutputWithContext(context.Context) TemplateTemplateContentPtrOutput
}

TemplateTemplateContentPtrInput is an input type that accepts TemplateTemplateContentArgs, TemplateTemplateContentPtr and TemplateTemplateContentPtrOutput values. You can construct a concrete instance of `TemplateTemplateContentPtrInput` via:

        TemplateTemplateContentArgs{...}

or:

        nil

type TemplateTemplateContentPtrOutput

type TemplateTemplateContentPtrOutput struct{ *pulumi.OutputState }

func (TemplateTemplateContentPtrOutput) Elem

func (TemplateTemplateContentPtrOutput) ElementType

func (TemplateTemplateContentPtrOutput) Html

Html code after base64.

func (TemplateTemplateContentPtrOutput) Text

Text content after base64.

func (TemplateTemplateContentPtrOutput) ToTemplateTemplateContentPtrOutput

func (o TemplateTemplateContentPtrOutput) ToTemplateTemplateContentPtrOutput() TemplateTemplateContentPtrOutput

func (TemplateTemplateContentPtrOutput) ToTemplateTemplateContentPtrOutputWithContext

func (o TemplateTemplateContentPtrOutput) ToTemplateTemplateContentPtrOutputWithContext(ctx context.Context) TemplateTemplateContentPtrOutput

type VerifyDomain added in v0.1.8

type VerifyDomain struct {
	pulumi.CustomResourceState

	// Domain name requested for verification.
	EmailIdentity pulumi.StringOutput `pulumi:"emailIdentity"`
}

Provides a resource to create a ses verifyDomain

> **NOTE:** Please add the `attributes` information returned by `Ses.Domain` to the domain name resolution record through `Dnspod.Record`, and then verify it.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ses"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ses.NewVerifyDomain(ctx, "verifyDomain", &Ses.VerifyDomainArgs{
			EmailIdentity: pulumi.String("example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetVerifyDomain added in v0.1.8

func GetVerifyDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VerifyDomainState, opts ...pulumi.ResourceOption) (*VerifyDomain, error)

GetVerifyDomain gets an existing VerifyDomain 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 NewVerifyDomain added in v0.1.8

func NewVerifyDomain(ctx *pulumi.Context,
	name string, args *VerifyDomainArgs, opts ...pulumi.ResourceOption) (*VerifyDomain, error)

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

func (*VerifyDomain) ElementType added in v0.1.8

func (*VerifyDomain) ElementType() reflect.Type

func (*VerifyDomain) ToVerifyDomainOutput added in v0.1.8

func (i *VerifyDomain) ToVerifyDomainOutput() VerifyDomainOutput

func (*VerifyDomain) ToVerifyDomainOutputWithContext added in v0.1.8

func (i *VerifyDomain) ToVerifyDomainOutputWithContext(ctx context.Context) VerifyDomainOutput

type VerifyDomainArgs added in v0.1.8

type VerifyDomainArgs struct {
	// Domain name requested for verification.
	EmailIdentity pulumi.StringInput
}

The set of arguments for constructing a VerifyDomain resource.

func (VerifyDomainArgs) ElementType added in v0.1.8

func (VerifyDomainArgs) ElementType() reflect.Type

type VerifyDomainArray added in v0.1.8

type VerifyDomainArray []VerifyDomainInput

func (VerifyDomainArray) ElementType added in v0.1.8

func (VerifyDomainArray) ElementType() reflect.Type

func (VerifyDomainArray) ToVerifyDomainArrayOutput added in v0.1.8

func (i VerifyDomainArray) ToVerifyDomainArrayOutput() VerifyDomainArrayOutput

func (VerifyDomainArray) ToVerifyDomainArrayOutputWithContext added in v0.1.8

func (i VerifyDomainArray) ToVerifyDomainArrayOutputWithContext(ctx context.Context) VerifyDomainArrayOutput

type VerifyDomainArrayInput added in v0.1.8

type VerifyDomainArrayInput interface {
	pulumi.Input

	ToVerifyDomainArrayOutput() VerifyDomainArrayOutput
	ToVerifyDomainArrayOutputWithContext(context.Context) VerifyDomainArrayOutput
}

VerifyDomainArrayInput is an input type that accepts VerifyDomainArray and VerifyDomainArrayOutput values. You can construct a concrete instance of `VerifyDomainArrayInput` via:

VerifyDomainArray{ VerifyDomainArgs{...} }

type VerifyDomainArrayOutput added in v0.1.8

type VerifyDomainArrayOutput struct{ *pulumi.OutputState }

func (VerifyDomainArrayOutput) ElementType added in v0.1.8

func (VerifyDomainArrayOutput) ElementType() reflect.Type

func (VerifyDomainArrayOutput) Index added in v0.1.8

func (VerifyDomainArrayOutput) ToVerifyDomainArrayOutput added in v0.1.8

func (o VerifyDomainArrayOutput) ToVerifyDomainArrayOutput() VerifyDomainArrayOutput

func (VerifyDomainArrayOutput) ToVerifyDomainArrayOutputWithContext added in v0.1.8

func (o VerifyDomainArrayOutput) ToVerifyDomainArrayOutputWithContext(ctx context.Context) VerifyDomainArrayOutput

type VerifyDomainInput added in v0.1.8

type VerifyDomainInput interface {
	pulumi.Input

	ToVerifyDomainOutput() VerifyDomainOutput
	ToVerifyDomainOutputWithContext(ctx context.Context) VerifyDomainOutput
}

type VerifyDomainMap added in v0.1.8

type VerifyDomainMap map[string]VerifyDomainInput

func (VerifyDomainMap) ElementType added in v0.1.8

func (VerifyDomainMap) ElementType() reflect.Type

func (VerifyDomainMap) ToVerifyDomainMapOutput added in v0.1.8

func (i VerifyDomainMap) ToVerifyDomainMapOutput() VerifyDomainMapOutput

func (VerifyDomainMap) ToVerifyDomainMapOutputWithContext added in v0.1.8

func (i VerifyDomainMap) ToVerifyDomainMapOutputWithContext(ctx context.Context) VerifyDomainMapOutput

type VerifyDomainMapInput added in v0.1.8

type VerifyDomainMapInput interface {
	pulumi.Input

	ToVerifyDomainMapOutput() VerifyDomainMapOutput
	ToVerifyDomainMapOutputWithContext(context.Context) VerifyDomainMapOutput
}

VerifyDomainMapInput is an input type that accepts VerifyDomainMap and VerifyDomainMapOutput values. You can construct a concrete instance of `VerifyDomainMapInput` via:

VerifyDomainMap{ "key": VerifyDomainArgs{...} }

type VerifyDomainMapOutput added in v0.1.8

type VerifyDomainMapOutput struct{ *pulumi.OutputState }

func (VerifyDomainMapOutput) ElementType added in v0.1.8

func (VerifyDomainMapOutput) ElementType() reflect.Type

func (VerifyDomainMapOutput) MapIndex added in v0.1.8

func (VerifyDomainMapOutput) ToVerifyDomainMapOutput added in v0.1.8

func (o VerifyDomainMapOutput) ToVerifyDomainMapOutput() VerifyDomainMapOutput

func (VerifyDomainMapOutput) ToVerifyDomainMapOutputWithContext added in v0.1.8

func (o VerifyDomainMapOutput) ToVerifyDomainMapOutputWithContext(ctx context.Context) VerifyDomainMapOutput

type VerifyDomainOutput added in v0.1.8

type VerifyDomainOutput struct{ *pulumi.OutputState }

func (VerifyDomainOutput) ElementType added in v0.1.8

func (VerifyDomainOutput) ElementType() reflect.Type

func (VerifyDomainOutput) EmailIdentity added in v0.1.8

func (o VerifyDomainOutput) EmailIdentity() pulumi.StringOutput

Domain name requested for verification.

func (VerifyDomainOutput) ToVerifyDomainOutput added in v0.1.8

func (o VerifyDomainOutput) ToVerifyDomainOutput() VerifyDomainOutput

func (VerifyDomainOutput) ToVerifyDomainOutputWithContext added in v0.1.8

func (o VerifyDomainOutput) ToVerifyDomainOutputWithContext(ctx context.Context) VerifyDomainOutput

type VerifyDomainState added in v0.1.8

type VerifyDomainState struct {
	// Domain name requested for verification.
	EmailIdentity pulumi.StringPtrInput
}

func (VerifyDomainState) ElementType added in v0.1.8

func (VerifyDomainState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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