googleworkspace_gmail_send_as_alias

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// IsDefault: bool, optional
	IsDefault terra.BoolValue `hcl:"is_default,attr"`
	// PrimaryEmail: string, required
	PrimaryEmail terra.StringValue `hcl:"primary_email,attr" validate:"required"`
	// ReplyToAddress: string, optional
	ReplyToAddress terra.StringValue `hcl:"reply_to_address,attr"`
	// SendAsEmail: string, required
	SendAsEmail terra.StringValue `hcl:"send_as_email,attr" validate:"required"`
	// Signature: string, optional
	Signature terra.StringValue `hcl:"signature,attr"`
	// TreatAsAlias: bool, optional
	TreatAsAlias terra.BoolValue `hcl:"treat_as_alias,attr"`
	// SmtpMsa: optional
	SmtpMsa *SmtpMsa `hcl:"smtp_msa,block"`
}

Args contains the configurations for googleworkspace_gmail_send_as_alias.

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource googleworkspace_gmail_send_as_alias.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (ggsaa *Resource) Attributes() googleworkspaceGmailSendAsAliasAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (ggsaa *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (ggsaa *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (ggsaa *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (ggsaa *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (ggsaa *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (ggsaa *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (ggsaa *Resource) State() (*googleworkspaceGmailSendAsAliasState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (ggsaa *Resource) StateMust() *googleworkspaceGmailSendAsAliasState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (ggsaa *Resource) Type() string

Type returns the Terraform object type for Resource.

type SmtpMsa

type SmtpMsa struct {
	// Host: string, required
	Host terra.StringValue `hcl:"host,attr" validate:"required"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// Port: number, required
	Port terra.NumberValue `hcl:"port,attr" validate:"required"`
	// SecurityMode: string, optional
	SecurityMode terra.StringValue `hcl:"security_mode,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
}

type SmtpMsaAttributes

type SmtpMsaAttributes struct {
	// contains filtered or unexported fields
}

func (SmtpMsaAttributes) Host

func (SmtpMsaAttributes) InternalRef

func (sm SmtpMsaAttributes) InternalRef() (terra.Reference, error)

func (SmtpMsaAttributes) InternalTokens

func (sm SmtpMsaAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SmtpMsaAttributes) InternalWithRef

func (sm SmtpMsaAttributes) InternalWithRef(ref terra.Reference) SmtpMsaAttributes

func (SmtpMsaAttributes) Password

func (sm SmtpMsaAttributes) Password() terra.StringValue

func (SmtpMsaAttributes) Port

func (SmtpMsaAttributes) SecurityMode

func (sm SmtpMsaAttributes) SecurityMode() terra.StringValue

func (SmtpMsaAttributes) Username

func (sm SmtpMsaAttributes) Username() terra.StringValue

type SmtpMsaState

type SmtpMsaState struct {
	Host         string  `json:"host"`
	Password     string  `json:"password"`
	Port         float64 `json:"port"`
	SecurityMode string  `json:"security_mode"`
	Username     string  `json:"username"`
}

Jump to

Keyboard shortcuts

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