azurerm_cdn_frontdoor_route

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 {
	// CdnFrontdoorCustomDomainIds: set of string, optional
	CdnFrontdoorCustomDomainIds terra.SetValue[terra.StringValue] `hcl:"cdn_frontdoor_custom_domain_ids,attr"`
	// CdnFrontdoorEndpointId: string, required
	CdnFrontdoorEndpointId terra.StringValue `hcl:"cdn_frontdoor_endpoint_id,attr" validate:"required"`
	// CdnFrontdoorOriginGroupId: string, required
	CdnFrontdoorOriginGroupId terra.StringValue `hcl:"cdn_frontdoor_origin_group_id,attr" validate:"required"`
	// CdnFrontdoorOriginIds: list of string, required
	CdnFrontdoorOriginIds terra.ListValue[terra.StringValue] `hcl:"cdn_frontdoor_origin_ids,attr" validate:"required"`
	// CdnFrontdoorOriginPath: string, optional
	CdnFrontdoorOriginPath terra.StringValue `hcl:"cdn_frontdoor_origin_path,attr"`
	// CdnFrontdoorRuleSetIds: set of string, optional
	CdnFrontdoorRuleSetIds terra.SetValue[terra.StringValue] `hcl:"cdn_frontdoor_rule_set_ids,attr"`
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// ForwardingProtocol: string, optional
	ForwardingProtocol terra.StringValue `hcl:"forwarding_protocol,attr"`
	// HttpsRedirectEnabled: bool, optional
	HttpsRedirectEnabled terra.BoolValue `hcl:"https_redirect_enabled,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// LinkToDefaultDomain: bool, optional
	LinkToDefaultDomain terra.BoolValue `hcl:"link_to_default_domain,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// PatternsToMatch: list of string, required
	PatternsToMatch terra.ListValue[terra.StringValue] `hcl:"patterns_to_match,attr" validate:"required"`
	// SupportedProtocols: set of string, required
	SupportedProtocols terra.SetValue[terra.StringValue] `hcl:"supported_protocols,attr" validate:"required"`
	// Cache: optional
	Cache *Cache `hcl:"cache,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for azurerm_cdn_frontdoor_route.

type Cache

type Cache struct {
	// CompressionEnabled: bool, optional
	CompressionEnabled terra.BoolValue `hcl:"compression_enabled,attr"`
	// ContentTypesToCompress: list of string, optional
	ContentTypesToCompress terra.ListValue[terra.StringValue] `hcl:"content_types_to_compress,attr"`
	// QueryStringCachingBehavior: string, optional
	QueryStringCachingBehavior terra.StringValue `hcl:"query_string_caching_behavior,attr"`
	// QueryStrings: list of string, optional
	QueryStrings terra.ListValue[terra.StringValue] `hcl:"query_strings,attr"`
}

type CacheAttributes

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

func (CacheAttributes) CompressionEnabled

func (c CacheAttributes) CompressionEnabled() terra.BoolValue

func (CacheAttributes) ContentTypesToCompress

func (c CacheAttributes) ContentTypesToCompress() terra.ListValue[terra.StringValue]

func (CacheAttributes) InternalRef

func (c CacheAttributes) InternalRef() (terra.Reference, error)

func (CacheAttributes) InternalTokens

func (c CacheAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CacheAttributes) InternalWithRef

func (c CacheAttributes) InternalWithRef(ref terra.Reference) CacheAttributes

func (CacheAttributes) QueryStringCachingBehavior

func (c CacheAttributes) QueryStringCachingBehavior() terra.StringValue

func (CacheAttributes) QueryStrings

func (c CacheAttributes) QueryStrings() terra.ListValue[terra.StringValue]

type CacheState

type CacheState struct {
	CompressionEnabled         bool     `json:"compression_enabled"`
	ContentTypesToCompress     []string `json:"content_types_to_compress"`
	QueryStringCachingBehavior string   `json:"query_string_caching_behavior"`
	QueryStrings               []string `json:"query_strings"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (acfr *Resource) Attributes() azurermCdnFrontdoorRouteAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acfr *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acfr *Resource) State() (*azurermCdnFrontdoorRouteState, bool)

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

func (*Resource) StateMust

func (acfr *Resource) StateMust() *azurermCdnFrontdoorRouteState

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

func (*Resource) Type

func (acfr *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