Show / Hide Table of Contents

Class Email

Creates an Okta Email Template.

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

Example Usage

using Pulumi;
using Okta = Pulumi.Okta;

class MyStack : Stack
{
public MyStack()
{
    var example = new Okta.Template.Email("example", new Okta.Template.EmailArgs
    {
        Translations = 
        {
            new Okta.Template.Inputs.EmailTranslationArgs
            {
                Language = "en",
                Subject = "Stuff",
                Template = $"Hi {user.FirstName},<br/><br/>Blah blah {resetPasswordLink}",
            },
            new Okta.Template.Inputs.EmailTranslationArgs
            {
                Language = "es",
                Subject = "Cosas",
                Template = $"Hola {user.FirstName},<br/><br/>Puedo ir al bano {resetPasswordLink}",
            },
        },
        Type = "email.forgotPassword",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Email
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Okta.Template
Assembly: Pulumi.Okta.dll
Syntax
public class Email : CustomResource

Constructors

View Source

Email(String, EmailArgs, CustomResourceOptions)

Create a Email resource with the given unique name, arguments, and options.

Declaration
public Email(string name, EmailArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

EmailArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

DefaultLanguage

The default language, by default is set to "en".

Declaration
public Output<string> DefaultLanguage { get; }
Property Value
Type Description
Output<System.String>
View Source

Translations

Set of translations for particular template.

Declaration
public Output<ImmutableArray<EmailTranslation>> Translations { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<EmailTranslation>>
View Source

Type

Email template type

Declaration
public Output<string> Type { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, EmailState, CustomResourceOptions)

Get an existing Email resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Email Get(string name, Input<string> id, EmailState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

EmailState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Email
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.