template

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email

type Email struct {
	pulumi.CustomResourceState

	// The default language, by default is set to `"en"`.
	DefaultLanguage pulumi.StringPtrOutput `pulumi:"defaultLanguage"`
	// Set of translations for particular template.
	Translations EmailTranslationArrayOutput `pulumi:"translations"`
	// Email template type
	Type pulumi.StringOutput `pulumi:"type"`
}

Creates an Okta Email Template.

This resource allows you to create and configure an Okta Email Template.

> This content is derived from https://github.com/articulate/terraform-provider-okta/blob/master/website/docs/r/template_email.html.markdown.

func GetEmail

func GetEmail(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EmailState, opts ...pulumi.ResourceOption) (*Email, error)

GetEmail gets an existing Email 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 NewEmail

func NewEmail(ctx *pulumi.Context,
	name string, args *EmailArgs, opts ...pulumi.ResourceOption) (*Email, error)

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

type EmailArgs

type EmailArgs struct {
	// The default language, by default is set to `"en"`.
	DefaultLanguage pulumi.StringPtrInput
	// Set of translations for particular template.
	Translations EmailTranslationArrayInput
	// Email template type
	Type pulumi.StringInput
}

The set of arguments for constructing a Email resource.

func (EmailArgs) ElementType added in v1.4.0

func (EmailArgs) ElementType() reflect.Type

type EmailState

type EmailState struct {
	// The default language, by default is set to `"en"`.
	DefaultLanguage pulumi.StringPtrInput
	// Set of translations for particular template.
	Translations EmailTranslationArrayInput
	// Email template type
	Type pulumi.StringPtrInput
}

func (EmailState) ElementType added in v1.4.0

func (EmailState) ElementType() reflect.Type

type EmailTranslation added in v1.4.0

type EmailTranslation struct {
	// The language to map tthe template to.
	Language string `pulumi:"language"`
	// The email subject line.
	Subject string `pulumi:"subject"`
	// The email body.
	Template string `pulumi:"template"`
}

type EmailTranslationArgs added in v1.4.0

type EmailTranslationArgs struct {
	// The language to map tthe template to.
	Language pulumi.StringInput `pulumi:"language"`
	// The email subject line.
	Subject pulumi.StringInput `pulumi:"subject"`
	// The email body.
	Template pulumi.StringInput `pulumi:"template"`
}

func (EmailTranslationArgs) ElementType added in v1.4.0

func (EmailTranslationArgs) ElementType() reflect.Type

func (EmailTranslationArgs) ToEmailTranslationOutput added in v1.4.0

func (i EmailTranslationArgs) ToEmailTranslationOutput() EmailTranslationOutput

func (EmailTranslationArgs) ToEmailTranslationOutputWithContext added in v1.4.0

func (i EmailTranslationArgs) ToEmailTranslationOutputWithContext(ctx context.Context) EmailTranslationOutput

type EmailTranslationArray added in v1.4.0

type EmailTranslationArray []EmailTranslationInput

func (EmailTranslationArray) ElementType added in v1.4.0

func (EmailTranslationArray) ElementType() reflect.Type

func (EmailTranslationArray) ToEmailTranslationArrayOutput added in v1.4.0

func (i EmailTranslationArray) ToEmailTranslationArrayOutput() EmailTranslationArrayOutput

func (EmailTranslationArray) ToEmailTranslationArrayOutputWithContext added in v1.4.0

func (i EmailTranslationArray) ToEmailTranslationArrayOutputWithContext(ctx context.Context) EmailTranslationArrayOutput

type EmailTranslationArrayInput added in v1.4.0

type EmailTranslationArrayInput interface {
	pulumi.Input

	ToEmailTranslationArrayOutput() EmailTranslationArrayOutput
	ToEmailTranslationArrayOutputWithContext(context.Context) EmailTranslationArrayOutput
}

type EmailTranslationArrayOutput added in v1.4.0

type EmailTranslationArrayOutput struct{ *pulumi.OutputState }

func (EmailTranslationArrayOutput) ElementType added in v1.4.0

func (EmailTranslationArrayOutput) Index added in v1.4.0

func (EmailTranslationArrayOutput) ToEmailTranslationArrayOutput added in v1.4.0

func (o EmailTranslationArrayOutput) ToEmailTranslationArrayOutput() EmailTranslationArrayOutput

func (EmailTranslationArrayOutput) ToEmailTranslationArrayOutputWithContext added in v1.4.0

func (o EmailTranslationArrayOutput) ToEmailTranslationArrayOutputWithContext(ctx context.Context) EmailTranslationArrayOutput

type EmailTranslationInput added in v1.4.0

type EmailTranslationInput interface {
	pulumi.Input

	ToEmailTranslationOutput() EmailTranslationOutput
	ToEmailTranslationOutputWithContext(context.Context) EmailTranslationOutput
}

type EmailTranslationOutput added in v1.4.0

type EmailTranslationOutput struct{ *pulumi.OutputState }

func (EmailTranslationOutput) ElementType added in v1.4.0

func (EmailTranslationOutput) ElementType() reflect.Type

func (EmailTranslationOutput) Language added in v1.4.0

The language to map tthe template to.

func (EmailTranslationOutput) Subject added in v1.4.0

The email subject line.

func (EmailTranslationOutput) Template added in v1.4.0

The email body.

func (EmailTranslationOutput) ToEmailTranslationOutput added in v1.4.0

func (o EmailTranslationOutput) ToEmailTranslationOutput() EmailTranslationOutput

func (EmailTranslationOutput) ToEmailTranslationOutputWithContext added in v1.4.0

func (o EmailTranslationOutput) ToEmailTranslationOutputWithContext(ctx context.Context) EmailTranslationOutput

Jump to

Keyboard shortcuts

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