azurerm_cdn_frontdoor_origin

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 {
	// CdnFrontdoorOriginGroupId: string, required
	CdnFrontdoorOriginGroupId terra.StringValue `hcl:"cdn_frontdoor_origin_group_id,attr" validate:"required"`
	// CertificateNameCheckEnabled: bool, required
	CertificateNameCheckEnabled terra.BoolValue `hcl:"certificate_name_check_enabled,attr" validate:"required"`
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// HealthProbesEnabled: bool, optional
	HealthProbesEnabled terra.BoolValue `hcl:"health_probes_enabled,attr"`
	// HostName: string, required
	HostName terra.StringValue `hcl:"host_name,attr" validate:"required"`
	// HttpPort: number, optional
	HttpPort terra.NumberValue `hcl:"http_port,attr"`
	// HttpsPort: number, optional
	HttpsPort terra.NumberValue `hcl:"https_port,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// OriginHostHeader: string, optional
	OriginHostHeader terra.StringValue `hcl:"origin_host_header,attr"`
	// Priority: number, optional
	Priority terra.NumberValue `hcl:"priority,attr"`
	// Weight: number, optional
	Weight terra.NumberValue `hcl:"weight,attr"`
	// PrivateLink: optional
	PrivateLink *PrivateLink `hcl:"private_link,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for azurerm_cdn_frontdoor_origin.

type PrivateLink struct {
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// PrivateLinkTargetId: string, required
	PrivateLinkTargetId terra.StringValue `hcl:"private_link_target_id,attr" validate:"required"`
	// RequestMessage: string, optional
	RequestMessage terra.StringValue `hcl:"request_message,attr"`
	// TargetType: string, optional
	TargetType terra.StringValue `hcl:"target_type,attr"`
}

type PrivateLinkAttributes

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

func (PrivateLinkAttributes) InternalRef

func (pl PrivateLinkAttributes) InternalRef() (terra.Reference, error)

func (PrivateLinkAttributes) InternalTokens

func (pl PrivateLinkAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PrivateLinkAttributes) InternalWithRef

func (PrivateLinkAttributes) Location

func (pl PrivateLinkAttributes) Location() terra.StringValue

func (PrivateLinkAttributes) PrivateLinkTargetId

func (pl PrivateLinkAttributes) PrivateLinkTargetId() terra.StringValue

func (PrivateLinkAttributes) RequestMessage

func (pl PrivateLinkAttributes) RequestMessage() terra.StringValue

func (PrivateLinkAttributes) TargetType

func (pl PrivateLinkAttributes) TargetType() terra.StringValue

type PrivateLinkState

type PrivateLinkState struct {
	Location            string `json:"location"`
	PrivateLinkTargetId string `json:"private_link_target_id"`
	RequestMessage      string `json:"request_message"`
	TargetType          string `json:"target_type"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (acfo *Resource) Attributes() azurermCdnFrontdoorOriginAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acfo *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acfo *Resource) State() (*azurermCdnFrontdoorOriginState, bool)

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

func (*Resource) StateMust

func (acfo *Resource) StateMust() *azurermCdnFrontdoorOriginState

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

func (*Resource) Type

func (acfo *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Read

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Read   string `json:"read"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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