azurerm_cdn_endpoint

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 {
	// ContentTypesToCompress: set of string, optional
	ContentTypesToCompress terra.SetValue[terra.StringValue] `hcl:"content_types_to_compress,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IsCompressionEnabled: bool, optional
	IsCompressionEnabled terra.BoolValue `hcl:"is_compression_enabled,attr"`
	// IsHttpAllowed: bool, optional
	IsHttpAllowed terra.BoolValue `hcl:"is_http_allowed,attr"`
	// IsHttpsAllowed: bool, optional
	IsHttpsAllowed terra.BoolValue `hcl:"is_https_allowed,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// OptimizationType: string, optional
	OptimizationType terra.StringValue `hcl:"optimization_type,attr"`
	// OriginHostHeader: string, optional
	OriginHostHeader terra.StringValue `hcl:"origin_host_header,attr"`
	// OriginPath: string, optional
	OriginPath terra.StringValue `hcl:"origin_path,attr"`
	// ProbePath: string, optional
	ProbePath terra.StringValue `hcl:"probe_path,attr"`
	// ProfileName: string, required
	ProfileName terra.StringValue `hcl:"profile_name,attr" validate:"required"`
	// QuerystringCachingBehaviour: string, optional
	QuerystringCachingBehaviour terra.StringValue `hcl:"querystring_caching_behaviour,attr"`
	// ResourceGroupName: string, required
	ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// DeliveryRule: min=0
	DeliveryRule []DeliveryRule `hcl:"delivery_rule,block" validate:"min=0"`
	// GeoFilter: min=0
	GeoFilter []GeoFilter `hcl:"geo_filter,block" validate:"min=0"`
	// GlobalDeliveryRule: optional
	GlobalDeliveryRule *GlobalDeliveryRule `hcl:"global_delivery_rule,block"`
	// Origin: min=1
	Origin []Origin `hcl:"origin,block" validate:"min=1"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for azurerm_cdn_endpoint.

type DeliveryRule

type DeliveryRule struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Order: number, required
	Order terra.NumberValue `hcl:"order,attr" validate:"required"`
	// DeliveryRuleCacheExpirationAction: optional
	CacheExpirationAction *DeliveryRuleCacheExpirationAction `hcl:"cache_expiration_action,block"`
	// DeliveryRuleCacheKeyQueryStringAction: optional
	CacheKeyQueryStringAction *DeliveryRuleCacheKeyQueryStringAction `hcl:"cache_key_query_string_action,block"`
	// DeliveryRuleCookiesCondition: min=0
	CookiesCondition []DeliveryRuleCookiesCondition `hcl:"cookies_condition,block" validate:"min=0"`
	// DeliveryRuleDeviceCondition: optional
	DeviceCondition *DeliveryRuleDeviceCondition `hcl:"device_condition,block"`
	// DeliveryRuleHttpVersionCondition: min=0
	HttpVersionCondition []DeliveryRuleHttpVersionCondition `hcl:"http_version_condition,block" validate:"min=0"`
	// DeliveryRuleModifyRequestHeaderAction: min=0
	ModifyRequestHeaderAction []DeliveryRuleModifyRequestHeaderAction `hcl:"modify_request_header_action,block" validate:"min=0"`
	// DeliveryRuleModifyResponseHeaderAction: min=0
	ModifyResponseHeaderAction []DeliveryRuleModifyResponseHeaderAction `hcl:"modify_response_header_action,block" validate:"min=0"`
	// DeliveryRulePostArgCondition: min=0
	PostArgCondition []DeliveryRulePostArgCondition `hcl:"post_arg_condition,block" validate:"min=0"`
	// DeliveryRuleQueryStringCondition: min=0
	QueryStringCondition []DeliveryRuleQueryStringCondition `hcl:"query_string_condition,block" validate:"min=0"`
	// DeliveryRuleRemoteAddressCondition: min=0
	RemoteAddressCondition []DeliveryRuleRemoteAddressCondition `hcl:"remote_address_condition,block" validate:"min=0"`
	// DeliveryRuleRequestBodyCondition: min=0
	RequestBodyCondition []DeliveryRuleRequestBodyCondition `hcl:"request_body_condition,block" validate:"min=0"`
	// DeliveryRuleRequestHeaderCondition: min=0
	RequestHeaderCondition []DeliveryRuleRequestHeaderCondition `hcl:"request_header_condition,block" validate:"min=0"`
	// DeliveryRuleRequestMethodCondition: optional
	RequestMethodCondition *DeliveryRuleRequestMethodCondition `hcl:"request_method_condition,block"`
	// DeliveryRuleRequestSchemeCondition: optional
	RequestSchemeCondition *DeliveryRuleRequestSchemeCondition `hcl:"request_scheme_condition,block"`
	// DeliveryRuleRequestUriCondition: min=0
	RequestUriCondition []DeliveryRuleRequestUriCondition `hcl:"request_uri_condition,block" validate:"min=0"`
	// DeliveryRuleUrlFileExtensionCondition: min=0
	UrlFileExtensionCondition []DeliveryRuleUrlFileExtensionCondition `hcl:"url_file_extension_condition,block" validate:"min=0"`
	// DeliveryRuleUrlFileNameCondition: min=0
	UrlFileNameCondition []DeliveryRuleUrlFileNameCondition `hcl:"url_file_name_condition,block" validate:"min=0"`
	// DeliveryRuleUrlPathCondition: min=0
	UrlPathCondition []DeliveryRuleUrlPathCondition `hcl:"url_path_condition,block" validate:"min=0"`
	// DeliveryRuleUrlRedirectAction: optional
	UrlRedirectAction *DeliveryRuleUrlRedirectAction `hcl:"url_redirect_action,block"`
	// DeliveryRuleUrlRewriteAction: optional
	UrlRewriteAction *DeliveryRuleUrlRewriteAction `hcl:"url_rewrite_action,block"`
}

type DeliveryRuleAttributes

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

func (DeliveryRuleAttributes) CacheExpirationAction

func (DeliveryRuleAttributes) CacheKeyQueryStringAction

func (DeliveryRuleAttributes) CookiesCondition

func (DeliveryRuleAttributes) DeviceCondition

func (DeliveryRuleAttributes) HttpVersionCondition

func (DeliveryRuleAttributes) InternalRef

func (dr DeliveryRuleAttributes) InternalRef() (terra.Reference, error)

func (DeliveryRuleAttributes) InternalTokens

func (dr DeliveryRuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DeliveryRuleAttributes) InternalWithRef

func (DeliveryRuleAttributes) ModifyRequestHeaderAction

func (DeliveryRuleAttributes) ModifyResponseHeaderAction

func (DeliveryRuleAttributes) Name

func (DeliveryRuleAttributes) Order

func (DeliveryRuleAttributes) PostArgCondition

func (DeliveryRuleAttributes) QueryStringCondition

func (DeliveryRuleAttributes) RemoteAddressCondition

func (DeliveryRuleAttributes) RequestBodyCondition

func (DeliveryRuleAttributes) RequestHeaderCondition

func (DeliveryRuleAttributes) RequestMethodCondition

func (DeliveryRuleAttributes) RequestSchemeCondition

func (DeliveryRuleAttributes) RequestUriCondition

func (DeliveryRuleAttributes) UrlFileExtensionCondition

func (DeliveryRuleAttributes) UrlFileNameCondition

func (DeliveryRuleAttributes) UrlPathCondition

func (DeliveryRuleAttributes) UrlRedirectAction

func (DeliveryRuleAttributes) UrlRewriteAction

type DeliveryRuleCacheExpirationAction

type DeliveryRuleCacheExpirationAction struct {
	// Behavior: string, required
	Behavior terra.StringValue `hcl:"behavior,attr" validate:"required"`
	// Duration: string, optional
	Duration terra.StringValue `hcl:"duration,attr"`
}

type DeliveryRuleCacheExpirationActionAttributes

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

func (DeliveryRuleCacheExpirationActionAttributes) Behavior

func (DeliveryRuleCacheExpirationActionAttributes) Duration

func (DeliveryRuleCacheExpirationActionAttributes) InternalRef

func (DeliveryRuleCacheExpirationActionAttributes) InternalTokens

func (DeliveryRuleCacheExpirationActionAttributes) InternalWithRef

type DeliveryRuleCacheExpirationActionState

type DeliveryRuleCacheExpirationActionState struct {
	Behavior string `json:"behavior"`
	Duration string `json:"duration"`
}

type DeliveryRuleCacheKeyQueryStringAction

type DeliveryRuleCacheKeyQueryStringAction struct {
	// Behavior: string, required
	Behavior terra.StringValue `hcl:"behavior,attr" validate:"required"`
	// Parameters: string, optional
	Parameters terra.StringValue `hcl:"parameters,attr"`
}

type DeliveryRuleCacheKeyQueryStringActionAttributes

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

func (DeliveryRuleCacheKeyQueryStringActionAttributes) Behavior

func (DeliveryRuleCacheKeyQueryStringActionAttributes) InternalRef

func (DeliveryRuleCacheKeyQueryStringActionAttributes) InternalTokens

func (DeliveryRuleCacheKeyQueryStringActionAttributes) InternalWithRef

func (DeliveryRuleCacheKeyQueryStringActionAttributes) Parameters

type DeliveryRuleCacheKeyQueryStringActionState

type DeliveryRuleCacheKeyQueryStringActionState struct {
	Behavior   string `json:"behavior"`
	Parameters string `json:"parameters"`
}

type DeliveryRuleCookiesCondition

type DeliveryRuleCookiesCondition struct {
	// MatchValues: set of string, optional
	MatchValues terra.SetValue[terra.StringValue] `hcl:"match_values,attr"`
	// NegateCondition: bool, optional
	NegateCondition terra.BoolValue `hcl:"negate_condition,attr"`
	// Operator: string, required
	Operator terra.StringValue `hcl:"operator,attr" validate:"required"`
	// Selector: string, required
	Selector terra.StringValue `hcl:"selector,attr" validate:"required"`
	// Transforms: list of string, optional
	Transforms terra.ListValue[terra.StringValue] `hcl:"transforms,attr"`
}

type DeliveryRuleCookiesConditionAttributes

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

func (DeliveryRuleCookiesConditionAttributes) InternalRef

func (DeliveryRuleCookiesConditionAttributes) InternalTokens

func (DeliveryRuleCookiesConditionAttributes) InternalWithRef

func (DeliveryRuleCookiesConditionAttributes) MatchValues

func (DeliveryRuleCookiesConditionAttributes) NegateCondition

func (DeliveryRuleCookiesConditionAttributes) Operator

func (DeliveryRuleCookiesConditionAttributes) Selector

func (DeliveryRuleCookiesConditionAttributes) Transforms

type DeliveryRuleCookiesConditionState

type DeliveryRuleCookiesConditionState struct {
	MatchValues     []string `json:"match_values"`
	NegateCondition bool     `json:"negate_condition"`
	Operator        string   `json:"operator"`
	Selector        string   `json:"selector"`
	Transforms      []string `json:"transforms"`
}

type DeliveryRuleDeviceCondition

type DeliveryRuleDeviceCondition struct {
	// MatchValues: set of string, required
	MatchValues terra.SetValue[terra.StringValue] `hcl:"match_values,attr" validate:"required"`
	// NegateCondition: bool, optional
	NegateCondition terra.BoolValue `hcl:"negate_condition,attr"`
	// Operator: string, optional
	Operator terra.StringValue `hcl:"operator,attr"`
}

type DeliveryRuleDeviceConditionAttributes

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

func (DeliveryRuleDeviceConditionAttributes) InternalRef

func (DeliveryRuleDeviceConditionAttributes) InternalTokens

func (DeliveryRuleDeviceConditionAttributes) InternalWithRef

func (DeliveryRuleDeviceConditionAttributes) MatchValues

func (DeliveryRuleDeviceConditionAttributes) NegateCondition

func (DeliveryRuleDeviceConditionAttributes) Operator

type DeliveryRuleDeviceConditionState

type DeliveryRuleDeviceConditionState struct {
	MatchValues     []string `json:"match_values"`
	NegateCondition bool     `json:"negate_condition"`
	Operator        string   `json:"operator"`
}

type DeliveryRuleHttpVersionCondition

type DeliveryRuleHttpVersionCondition struct {
	// MatchValues: set of string, required
	MatchValues terra.SetValue[terra.StringValue] `hcl:"match_values,attr" validate:"required"`
	// NegateCondition: bool, optional
	NegateCondition terra.BoolValue `hcl:"negate_condition,attr"`
	// Operator: string, optional
	Operator terra.StringValue `hcl:"operator,attr"`
}

type DeliveryRuleHttpVersionConditionAttributes

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

func (DeliveryRuleHttpVersionConditionAttributes) InternalRef

func (DeliveryRuleHttpVersionConditionAttributes) InternalTokens

func (DeliveryRuleHttpVersionConditionAttributes) InternalWithRef

func (DeliveryRuleHttpVersionConditionAttributes) MatchValues

func (DeliveryRuleHttpVersionConditionAttributes) NegateCondition

func (DeliveryRuleHttpVersionConditionAttributes) Operator

type DeliveryRuleHttpVersionConditionState

type DeliveryRuleHttpVersionConditionState struct {
	MatchValues     []string `json:"match_values"`
	NegateCondition bool     `json:"negate_condition"`
	Operator        string   `json:"operator"`
}

type DeliveryRuleModifyRequestHeaderAction

type DeliveryRuleModifyRequestHeaderAction struct {
	// Action: string, required
	Action terra.StringValue `hcl:"action,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type DeliveryRuleModifyRequestHeaderActionAttributes

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

func (DeliveryRuleModifyRequestHeaderActionAttributes) Action

func (DeliveryRuleModifyRequestHeaderActionAttributes) InternalRef

func (DeliveryRuleModifyRequestHeaderActionAttributes) InternalTokens

func (DeliveryRuleModifyRequestHeaderActionAttributes) InternalWithRef

func (DeliveryRuleModifyRequestHeaderActionAttributes) Name

func (DeliveryRuleModifyRequestHeaderActionAttributes) Value

type DeliveryRuleModifyRequestHeaderActionState

type DeliveryRuleModifyRequestHeaderActionState struct {
	Action string `json:"action"`
	Name   string `json:"name"`
	Value  string `json:"value"`
}

type DeliveryRuleModifyResponseHeaderAction

type DeliveryRuleModifyResponseHeaderAction struct {
	// Action: string, required
	Action terra.StringValue `hcl:"action,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type DeliveryRuleModifyResponseHeaderActionAttributes

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

func (DeliveryRuleModifyResponseHeaderActionAttributes) Action

func (DeliveryRuleModifyResponseHeaderActionAttributes) InternalRef

func (DeliveryRuleModifyResponseHeaderActionAttributes) InternalTokens

func (DeliveryRuleModifyResponseHeaderActionAttributes) InternalWithRef

func (DeliveryRuleModifyResponseHeaderActionAttributes) Name

func (DeliveryRuleModifyResponseHeaderActionAttributes) Value

type DeliveryRuleModifyResponseHeaderActionState

type DeliveryRuleModifyResponseHeaderActionState struct {
	Action string `json:"action"`
	Name   string `json:"name"`
	Value  string `json:"value"`
}

type DeliveryRulePostArgCondition

type DeliveryRulePostArgCondition struct {
	// MatchValues: set of string, optional
	MatchValues terra.SetValue[terra.StringValue] `hcl:"match_values,attr"`
	// NegateCondition: bool, optional
	NegateCondition terra.BoolValue `hcl:"negate_condition,attr"`
	// Operator: string, required
	Operator terra.StringValue `hcl:"operator,attr" validate:"required"`
	// Selector: string, required
	Selector terra.StringValue `hcl:"selector,attr" validate:"required"`
	// Transforms: list of string, optional
	Transforms terra.ListValue[terra.StringValue] `hcl:"transforms,attr"`
}

type DeliveryRulePostArgConditionAttributes

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

func (DeliveryRulePostArgConditionAttributes) InternalRef

func (DeliveryRulePostArgConditionAttributes) InternalTokens

func (DeliveryRulePostArgConditionAttributes) InternalWithRef

func (DeliveryRulePostArgConditionAttributes) MatchValues

func (DeliveryRulePostArgConditionAttributes) NegateCondition

func (DeliveryRulePostArgConditionAttributes) Operator

func (DeliveryRulePostArgConditionAttributes) Selector

func (DeliveryRulePostArgConditionAttributes) Transforms

type DeliveryRulePostArgConditionState

type DeliveryRulePostArgConditionState struct {
	MatchValues     []string `json:"match_values"`
	NegateCondition bool     `json:"negate_condition"`
	Operator        string   `json:"operator"`
	Selector        string   `json:"selector"`
	Transforms      []string `json:"transforms"`
}

type DeliveryRuleQueryStringCondition

type DeliveryRuleQueryStringCondition struct {
	// MatchValues: set of string, optional
	MatchValues terra.SetValue[terra.StringValue] `hcl:"match_values,attr"`
	// NegateCondition: bool, optional
	NegateCondition terra.BoolValue `hcl:"negate_condition,attr"`
	// Operator: string, required
	Operator terra.StringValue `hcl:"operator,attr" validate:"required"`
	// Transforms: list of string, optional
	Transforms terra.ListValue[terra.StringValue] `hcl:"transforms,attr"`
}

type DeliveryRuleQueryStringConditionAttributes

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

func (DeliveryRuleQueryStringConditionAttributes) InternalRef

func (DeliveryRuleQueryStringConditionAttributes) InternalTokens

func (DeliveryRuleQueryStringConditionAttributes) InternalWithRef

func (DeliveryRuleQueryStringConditionAttributes) MatchValues

func (DeliveryRuleQueryStringConditionAttributes) NegateCondition

func (DeliveryRuleQueryStringConditionAttributes) Operator

func (DeliveryRuleQueryStringConditionAttributes) Transforms

type DeliveryRuleQueryStringConditionState

type DeliveryRuleQueryStringConditionState struct {
	MatchValues     []string `json:"match_values"`
	NegateCondition bool     `json:"negate_condition"`
	Operator        string   `json:"operator"`
	Transforms      []string `json:"transforms"`
}

type DeliveryRuleRemoteAddressCondition

type DeliveryRuleRemoteAddressCondition struct {
	// MatchValues: set of string, optional
	MatchValues terra.SetValue[terra.StringValue] `hcl:"match_values,attr"`
	// NegateCondition: bool, optional
	NegateCondition terra.BoolValue `hcl:"negate_condition,attr"`
	// Operator: string, required
	Operator terra.StringValue `hcl:"operator,attr" validate:"required"`
}

type DeliveryRuleRemoteAddressConditionAttributes

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

func (DeliveryRuleRemoteAddressConditionAttributes) InternalRef

func (DeliveryRuleRemoteAddressConditionAttributes) InternalTokens

func (DeliveryRuleRemoteAddressConditionAttributes) InternalWithRef

func (DeliveryRuleRemoteAddressConditionAttributes) MatchValues

func (DeliveryRuleRemoteAddressConditionAttributes) NegateCondition

func (DeliveryRuleRemoteAddressConditionAttributes) Operator

type DeliveryRuleRemoteAddressConditionState

type DeliveryRuleRemoteAddressConditionState struct {
	MatchValues     []string `json:"match_values"`
	NegateCondition bool     `json:"negate_condition"`
	Operator        string   `json:"operator"`
}

type DeliveryRuleRequestBodyCondition

type DeliveryRuleRequestBodyCondition struct {
	// MatchValues: set of string, optional
	MatchValues terra.SetValue[terra.StringValue] `hcl:"match_values,attr"`
	// NegateCondition: bool, optional
	NegateCondition terra.BoolValue `hcl:"negate_condition,attr"`
	// Operator: string, required
	Operator terra.StringValue `hcl:"operator,attr" validate:"required"`
	// Transforms: list of string, optional
	Transforms terra.ListValue[terra.StringValue] `hcl:"transforms,attr"`
}

type DeliveryRuleRequestBodyConditionAttributes

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

func (DeliveryRuleRequestBodyConditionAttributes) InternalRef

func (DeliveryRuleRequestBodyConditionAttributes) InternalTokens

func (DeliveryRuleRequestBodyConditionAttributes) InternalWithRef

func (DeliveryRuleRequestBodyConditionAttributes) MatchValues

func (DeliveryRuleRequestBodyConditionAttributes) NegateCondition

func (DeliveryRuleRequestBodyConditionAttributes) Operator

func (DeliveryRuleRequestBodyConditionAttributes) Transforms

type DeliveryRuleRequestBodyConditionState

type DeliveryRuleRequestBodyConditionState struct {
	MatchValues     []string `json:"match_values"`
	NegateCondition bool     `json:"negate_condition"`
	Operator        string   `json:"operator"`
	Transforms      []string `json:"transforms"`
}

type DeliveryRuleRequestHeaderCondition

type DeliveryRuleRequestHeaderCondition struct {
	// MatchValues: set of string, optional
	MatchValues terra.SetValue[terra.StringValue] `hcl:"match_values,attr"`
	// NegateCondition: bool, optional
	NegateCondition terra.BoolValue `hcl:"negate_condition,attr"`
	// Operator: string, required
	Operator terra.StringValue `hcl:"operator,attr" validate:"required"`
	// Selector: string, required
	Selector terra.StringValue `hcl:"selector,attr" validate:"required"`
	// Transforms: list of string, optional
	Transforms terra.ListValue[terra.StringValue] `hcl:"transforms,attr"`
}

type DeliveryRuleRequestHeaderConditionAttributes

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

func (DeliveryRuleRequestHeaderConditionAttributes) InternalRef

func (DeliveryRuleRequestHeaderConditionAttributes) InternalTokens

func (DeliveryRuleRequestHeaderConditionAttributes) InternalWithRef

func (DeliveryRuleRequestHeaderConditionAttributes) MatchValues

func (DeliveryRuleRequestHeaderConditionAttributes) NegateCondition

func (DeliveryRuleRequestHeaderConditionAttributes) Operator

func (DeliveryRuleRequestHeaderConditionAttributes) Selector

func (DeliveryRuleRequestHeaderConditionAttributes) Transforms

type DeliveryRuleRequestHeaderConditionState

type DeliveryRuleRequestHeaderConditionState struct {
	MatchValues     []string `json:"match_values"`
	NegateCondition bool     `json:"negate_condition"`
	Operator        string   `json:"operator"`
	Selector        string   `json:"selector"`
	Transforms      []string `json:"transforms"`
}

type DeliveryRuleRequestMethodCondition

type DeliveryRuleRequestMethodCondition struct {
	// MatchValues: set of string, required
	MatchValues terra.SetValue[terra.StringValue] `hcl:"match_values,attr" validate:"required"`
	// NegateCondition: bool, optional
	NegateCondition terra.BoolValue `hcl:"negate_condition,attr"`
	// Operator: string, optional
	Operator terra.StringValue `hcl:"operator,attr"`
}

type DeliveryRuleRequestMethodConditionAttributes

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

func (DeliveryRuleRequestMethodConditionAttributes) InternalRef

func (DeliveryRuleRequestMethodConditionAttributes) InternalTokens

func (DeliveryRuleRequestMethodConditionAttributes) InternalWithRef

func (DeliveryRuleRequestMethodConditionAttributes) MatchValues

func (DeliveryRuleRequestMethodConditionAttributes) NegateCondition

func (DeliveryRuleRequestMethodConditionAttributes) Operator

type DeliveryRuleRequestMethodConditionState

type DeliveryRuleRequestMethodConditionState struct {
	MatchValues     []string `json:"match_values"`
	NegateCondition bool     `json:"negate_condition"`
	Operator        string   `json:"operator"`
}

type DeliveryRuleRequestSchemeCondition

type DeliveryRuleRequestSchemeCondition struct {
	// MatchValues: set of string, required
	MatchValues terra.SetValue[terra.StringValue] `hcl:"match_values,attr" validate:"required"`
	// NegateCondition: bool, optional
	NegateCondition terra.BoolValue `hcl:"negate_condition,attr"`
	// Operator: string, optional
	Operator terra.StringValue `hcl:"operator,attr"`
}

type DeliveryRuleRequestSchemeConditionAttributes

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

func (DeliveryRuleRequestSchemeConditionAttributes) InternalRef

func (DeliveryRuleRequestSchemeConditionAttributes) InternalTokens

func (DeliveryRuleRequestSchemeConditionAttributes) InternalWithRef

func (DeliveryRuleRequestSchemeConditionAttributes) MatchValues

func (DeliveryRuleRequestSchemeConditionAttributes) NegateCondition

func (DeliveryRuleRequestSchemeConditionAttributes) Operator

type DeliveryRuleRequestSchemeConditionState

type DeliveryRuleRequestSchemeConditionState struct {
	MatchValues     []string `json:"match_values"`
	NegateCondition bool     `json:"negate_condition"`
	Operator        string   `json:"operator"`
}

type DeliveryRuleRequestUriCondition

type DeliveryRuleRequestUriCondition struct {
	// MatchValues: set of string, optional
	MatchValues terra.SetValue[terra.StringValue] `hcl:"match_values,attr"`
	// NegateCondition: bool, optional
	NegateCondition terra.BoolValue `hcl:"negate_condition,attr"`
	// Operator: string, required
	Operator terra.StringValue `hcl:"operator,attr" validate:"required"`
	// Transforms: list of string, optional
	Transforms terra.ListValue[terra.StringValue] `hcl:"transforms,attr"`
}

type DeliveryRuleRequestUriConditionAttributes

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

func (DeliveryRuleRequestUriConditionAttributes) InternalRef

func (DeliveryRuleRequestUriConditionAttributes) InternalTokens

func (DeliveryRuleRequestUriConditionAttributes) InternalWithRef

func (DeliveryRuleRequestUriConditionAttributes) MatchValues

func (DeliveryRuleRequestUriConditionAttributes) NegateCondition

func (DeliveryRuleRequestUriConditionAttributes) Operator

func (DeliveryRuleRequestUriConditionAttributes) Transforms

type DeliveryRuleRequestUriConditionState

type DeliveryRuleRequestUriConditionState struct {
	MatchValues     []string `json:"match_values"`
	NegateCondition bool     `json:"negate_condition"`
	Operator        string   `json:"operator"`
	Transforms      []string `json:"transforms"`
}

type DeliveryRuleState

type DeliveryRuleState struct {
	Name                       string                                        `json:"name"`
	Order                      float64                                       `json:"order"`
	CacheExpirationAction      []DeliveryRuleCacheExpirationActionState      `json:"cache_expiration_action"`
	CacheKeyQueryStringAction  []DeliveryRuleCacheKeyQueryStringActionState  `json:"cache_key_query_string_action"`
	CookiesCondition           []DeliveryRuleCookiesConditionState           `json:"cookies_condition"`
	DeviceCondition            []DeliveryRuleDeviceConditionState            `json:"device_condition"`
	HttpVersionCondition       []DeliveryRuleHttpVersionConditionState       `json:"http_version_condition"`
	ModifyRequestHeaderAction  []DeliveryRuleModifyRequestHeaderActionState  `json:"modify_request_header_action"`
	ModifyResponseHeaderAction []DeliveryRuleModifyResponseHeaderActionState `json:"modify_response_header_action"`
	PostArgCondition           []DeliveryRulePostArgConditionState           `json:"post_arg_condition"`
	QueryStringCondition       []DeliveryRuleQueryStringConditionState       `json:"query_string_condition"`
	RemoteAddressCondition     []DeliveryRuleRemoteAddressConditionState     `json:"remote_address_condition"`
	RequestBodyCondition       []DeliveryRuleRequestBodyConditionState       `json:"request_body_condition"`
	RequestHeaderCondition     []DeliveryRuleRequestHeaderConditionState     `json:"request_header_condition"`
	RequestMethodCondition     []DeliveryRuleRequestMethodConditionState     `json:"request_method_condition"`
	RequestSchemeCondition     []DeliveryRuleRequestSchemeConditionState     `json:"request_scheme_condition"`
	RequestUriCondition        []DeliveryRuleRequestUriConditionState        `json:"request_uri_condition"`
	UrlFileExtensionCondition  []DeliveryRuleUrlFileExtensionConditionState  `json:"url_file_extension_condition"`
	UrlFileNameCondition       []DeliveryRuleUrlFileNameConditionState       `json:"url_file_name_condition"`
	UrlPathCondition           []DeliveryRuleUrlPathConditionState           `json:"url_path_condition"`
	UrlRedirectAction          []DeliveryRuleUrlRedirectActionState          `json:"url_redirect_action"`
	UrlRewriteAction           []DeliveryRuleUrlRewriteActionState           `json:"url_rewrite_action"`
}

type DeliveryRuleUrlFileExtensionCondition

type DeliveryRuleUrlFileExtensionCondition struct {
	// MatchValues: set of string, optional
	MatchValues terra.SetValue[terra.StringValue] `hcl:"match_values,attr"`
	// NegateCondition: bool, optional
	NegateCondition terra.BoolValue `hcl:"negate_condition,attr"`
	// Operator: string, required
	Operator terra.StringValue `hcl:"operator,attr" validate:"required"`
	// Transforms: list of string, optional
	Transforms terra.ListValue[terra.StringValue] `hcl:"transforms,attr"`
}

type DeliveryRuleUrlFileExtensionConditionAttributes

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

func (DeliveryRuleUrlFileExtensionConditionAttributes) InternalRef

func (DeliveryRuleUrlFileExtensionConditionAttributes) InternalTokens

func (DeliveryRuleUrlFileExtensionConditionAttributes) InternalWithRef

func (DeliveryRuleUrlFileExtensionConditionAttributes) MatchValues

func (DeliveryRuleUrlFileExtensionConditionAttributes) NegateCondition

func (DeliveryRuleUrlFileExtensionConditionAttributes) Operator

func (DeliveryRuleUrlFileExtensionConditionAttributes) Transforms

type DeliveryRuleUrlFileExtensionConditionState

type DeliveryRuleUrlFileExtensionConditionState struct {
	MatchValues     []string `json:"match_values"`
	NegateCondition bool     `json:"negate_condition"`
	Operator        string   `json:"operator"`
	Transforms      []string `json:"transforms"`
}

type DeliveryRuleUrlFileNameCondition

type DeliveryRuleUrlFileNameCondition struct {
	// MatchValues: set of string, optional
	MatchValues terra.SetValue[terra.StringValue] `hcl:"match_values,attr"`
	// NegateCondition: bool, optional
	NegateCondition terra.BoolValue `hcl:"negate_condition,attr"`
	// Operator: string, required
	Operator terra.StringValue `hcl:"operator,attr" validate:"required"`
	// Transforms: list of string, optional
	Transforms terra.ListValue[terra.StringValue] `hcl:"transforms,attr"`
}

type DeliveryRuleUrlFileNameConditionAttributes

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

func (DeliveryRuleUrlFileNameConditionAttributes) InternalRef

func (DeliveryRuleUrlFileNameConditionAttributes) InternalTokens

func (DeliveryRuleUrlFileNameConditionAttributes) InternalWithRef

func (DeliveryRuleUrlFileNameConditionAttributes) MatchValues

func (DeliveryRuleUrlFileNameConditionAttributes) NegateCondition

func (DeliveryRuleUrlFileNameConditionAttributes) Operator

func (DeliveryRuleUrlFileNameConditionAttributes) Transforms

type DeliveryRuleUrlFileNameConditionState

type DeliveryRuleUrlFileNameConditionState struct {
	MatchValues     []string `json:"match_values"`
	NegateCondition bool     `json:"negate_condition"`
	Operator        string   `json:"operator"`
	Transforms      []string `json:"transforms"`
}

type DeliveryRuleUrlPathCondition

type DeliveryRuleUrlPathCondition struct {
	// MatchValues: set of string, optional
	MatchValues terra.SetValue[terra.StringValue] `hcl:"match_values,attr"`
	// NegateCondition: bool, optional
	NegateCondition terra.BoolValue `hcl:"negate_condition,attr"`
	// Operator: string, required
	Operator terra.StringValue `hcl:"operator,attr" validate:"required"`
	// Transforms: list of string, optional
	Transforms terra.ListValue[terra.StringValue] `hcl:"transforms,attr"`
}

type DeliveryRuleUrlPathConditionAttributes

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

func (DeliveryRuleUrlPathConditionAttributes) InternalRef

func (DeliveryRuleUrlPathConditionAttributes) InternalTokens

func (DeliveryRuleUrlPathConditionAttributes) InternalWithRef

func (DeliveryRuleUrlPathConditionAttributes) MatchValues

func (DeliveryRuleUrlPathConditionAttributes) NegateCondition

func (DeliveryRuleUrlPathConditionAttributes) Operator

func (DeliveryRuleUrlPathConditionAttributes) Transforms

type DeliveryRuleUrlPathConditionState

type DeliveryRuleUrlPathConditionState struct {
	MatchValues     []string `json:"match_values"`
	NegateCondition bool     `json:"negate_condition"`
	Operator        string   `json:"operator"`
	Transforms      []string `json:"transforms"`
}

type DeliveryRuleUrlRedirectAction

type DeliveryRuleUrlRedirectAction struct {
	// Fragment: string, optional
	Fragment terra.StringValue `hcl:"fragment,attr"`
	// Hostname: string, optional
	Hostname terra.StringValue `hcl:"hostname,attr"`
	// Path: string, optional
	Path terra.StringValue `hcl:"path,attr"`
	// Protocol: string, optional
	Protocol terra.StringValue `hcl:"protocol,attr"`
	// QueryString: string, optional
	QueryString terra.StringValue `hcl:"query_string,attr"`
	// RedirectType: string, required
	RedirectType terra.StringValue `hcl:"redirect_type,attr" validate:"required"`
}

type DeliveryRuleUrlRedirectActionAttributes

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

func (DeliveryRuleUrlRedirectActionAttributes) Fragment

func (DeliveryRuleUrlRedirectActionAttributes) Hostname

func (DeliveryRuleUrlRedirectActionAttributes) InternalRef

func (DeliveryRuleUrlRedirectActionAttributes) InternalTokens

func (DeliveryRuleUrlRedirectActionAttributes) InternalWithRef

func (DeliveryRuleUrlRedirectActionAttributes) Path

func (DeliveryRuleUrlRedirectActionAttributes) Protocol

func (DeliveryRuleUrlRedirectActionAttributes) QueryString

func (DeliveryRuleUrlRedirectActionAttributes) RedirectType

type DeliveryRuleUrlRedirectActionState

type DeliveryRuleUrlRedirectActionState struct {
	Fragment     string `json:"fragment"`
	Hostname     string `json:"hostname"`
	Path         string `json:"path"`
	Protocol     string `json:"protocol"`
	QueryString  string `json:"query_string"`
	RedirectType string `json:"redirect_type"`
}

type DeliveryRuleUrlRewriteAction

type DeliveryRuleUrlRewriteAction struct {
	// Destination: string, required
	Destination terra.StringValue `hcl:"destination,attr" validate:"required"`
	// PreserveUnmatchedPath: bool, optional
	PreserveUnmatchedPath terra.BoolValue `hcl:"preserve_unmatched_path,attr"`
	// SourcePattern: string, required
	SourcePattern terra.StringValue `hcl:"source_pattern,attr" validate:"required"`
}

type DeliveryRuleUrlRewriteActionAttributes

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

func (DeliveryRuleUrlRewriteActionAttributes) Destination

func (DeliveryRuleUrlRewriteActionAttributes) InternalRef

func (DeliveryRuleUrlRewriteActionAttributes) InternalTokens

func (DeliveryRuleUrlRewriteActionAttributes) InternalWithRef

func (DeliveryRuleUrlRewriteActionAttributes) PreserveUnmatchedPath

func (ura DeliveryRuleUrlRewriteActionAttributes) PreserveUnmatchedPath() terra.BoolValue

func (DeliveryRuleUrlRewriteActionAttributes) SourcePattern

type DeliveryRuleUrlRewriteActionState

type DeliveryRuleUrlRewriteActionState struct {
	Destination           string `json:"destination"`
	PreserveUnmatchedPath bool   `json:"preserve_unmatched_path"`
	SourcePattern         string `json:"source_pattern"`
}

type GeoFilter

type GeoFilter struct {
	// Action: string, required
	Action terra.StringValue `hcl:"action,attr" validate:"required"`
	// CountryCodes: list of string, required
	CountryCodes terra.ListValue[terra.StringValue] `hcl:"country_codes,attr" validate:"required"`
	// RelativePath: string, required
	RelativePath terra.StringValue `hcl:"relative_path,attr" validate:"required"`
}

type GeoFilterAttributes

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

func (GeoFilterAttributes) Action

func (GeoFilterAttributes) CountryCodes

func (GeoFilterAttributes) InternalRef

func (gf GeoFilterAttributes) InternalRef() (terra.Reference, error)

func (GeoFilterAttributes) InternalTokens

func (gf GeoFilterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GeoFilterAttributes) InternalWithRef

func (gf GeoFilterAttributes) InternalWithRef(ref terra.Reference) GeoFilterAttributes

func (GeoFilterAttributes) RelativePath

func (gf GeoFilterAttributes) RelativePath() terra.StringValue

type GeoFilterState

type GeoFilterState struct {
	Action       string   `json:"action"`
	CountryCodes []string `json:"country_codes"`
	RelativePath string   `json:"relative_path"`
}

type GlobalDeliveryRule

type GlobalDeliveryRule struct {
	// GlobalDeliveryRuleCacheExpirationAction: optional
	CacheExpirationAction *GlobalDeliveryRuleCacheExpirationAction `hcl:"cache_expiration_action,block"`
	// GlobalDeliveryRuleCacheKeyQueryStringAction: optional
	CacheKeyQueryStringAction *GlobalDeliveryRuleCacheKeyQueryStringAction `hcl:"cache_key_query_string_action,block"`
	// GlobalDeliveryRuleModifyRequestHeaderAction: min=0
	ModifyRequestHeaderAction []GlobalDeliveryRuleModifyRequestHeaderAction `hcl:"modify_request_header_action,block" validate:"min=0"`
	// GlobalDeliveryRuleModifyResponseHeaderAction: min=0
	ModifyResponseHeaderAction []GlobalDeliveryRuleModifyResponseHeaderAction `hcl:"modify_response_header_action,block" validate:"min=0"`
	// GlobalDeliveryRuleUrlRedirectAction: optional
	UrlRedirectAction *GlobalDeliveryRuleUrlRedirectAction `hcl:"url_redirect_action,block"`
	// GlobalDeliveryRuleUrlRewriteAction: optional
	UrlRewriteAction *GlobalDeliveryRuleUrlRewriteAction `hcl:"url_rewrite_action,block"`
}

type GlobalDeliveryRuleAttributes

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

func (GlobalDeliveryRuleAttributes) CacheExpirationAction

func (GlobalDeliveryRuleAttributes) CacheKeyQueryStringAction

func (GlobalDeliveryRuleAttributes) InternalRef

func (gdr GlobalDeliveryRuleAttributes) InternalRef() (terra.Reference, error)

func (GlobalDeliveryRuleAttributes) InternalTokens

func (gdr GlobalDeliveryRuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GlobalDeliveryRuleAttributes) InternalWithRef

func (GlobalDeliveryRuleAttributes) ModifyRequestHeaderAction

func (GlobalDeliveryRuleAttributes) ModifyResponseHeaderAction

func (GlobalDeliveryRuleAttributes) UrlRedirectAction

func (GlobalDeliveryRuleAttributes) UrlRewriteAction

type GlobalDeliveryRuleCacheExpirationAction

type GlobalDeliveryRuleCacheExpirationAction struct {
	// Behavior: string, required
	Behavior terra.StringValue `hcl:"behavior,attr" validate:"required"`
	// Duration: string, optional
	Duration terra.StringValue `hcl:"duration,attr"`
}

type GlobalDeliveryRuleCacheExpirationActionAttributes

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

func (GlobalDeliveryRuleCacheExpirationActionAttributes) Behavior

func (GlobalDeliveryRuleCacheExpirationActionAttributes) Duration

func (GlobalDeliveryRuleCacheExpirationActionAttributes) InternalRef

func (GlobalDeliveryRuleCacheExpirationActionAttributes) InternalTokens

func (GlobalDeliveryRuleCacheExpirationActionAttributes) InternalWithRef

type GlobalDeliveryRuleCacheExpirationActionState

type GlobalDeliveryRuleCacheExpirationActionState struct {
	Behavior string `json:"behavior"`
	Duration string `json:"duration"`
}

type GlobalDeliveryRuleCacheKeyQueryStringAction

type GlobalDeliveryRuleCacheKeyQueryStringAction struct {
	// Behavior: string, required
	Behavior terra.StringValue `hcl:"behavior,attr" validate:"required"`
	// Parameters: string, optional
	Parameters terra.StringValue `hcl:"parameters,attr"`
}

type GlobalDeliveryRuleCacheKeyQueryStringActionAttributes

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

func (GlobalDeliveryRuleCacheKeyQueryStringActionAttributes) Behavior

func (GlobalDeliveryRuleCacheKeyQueryStringActionAttributes) InternalRef

func (GlobalDeliveryRuleCacheKeyQueryStringActionAttributes) InternalTokens

func (GlobalDeliveryRuleCacheKeyQueryStringActionAttributes) InternalWithRef

func (GlobalDeliveryRuleCacheKeyQueryStringActionAttributes) Parameters

type GlobalDeliveryRuleCacheKeyQueryStringActionState

type GlobalDeliveryRuleCacheKeyQueryStringActionState struct {
	Behavior   string `json:"behavior"`
	Parameters string `json:"parameters"`
}

type GlobalDeliveryRuleModifyRequestHeaderAction

type GlobalDeliveryRuleModifyRequestHeaderAction struct {
	// Action: string, required
	Action terra.StringValue `hcl:"action,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type GlobalDeliveryRuleModifyRequestHeaderActionAttributes

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

func (GlobalDeliveryRuleModifyRequestHeaderActionAttributes) Action

func (GlobalDeliveryRuleModifyRequestHeaderActionAttributes) InternalRef

func (GlobalDeliveryRuleModifyRequestHeaderActionAttributes) InternalTokens

func (GlobalDeliveryRuleModifyRequestHeaderActionAttributes) InternalWithRef

func (GlobalDeliveryRuleModifyRequestHeaderActionAttributes) Name

func (GlobalDeliveryRuleModifyRequestHeaderActionAttributes) Value

type GlobalDeliveryRuleModifyRequestHeaderActionState

type GlobalDeliveryRuleModifyRequestHeaderActionState struct {
	Action string `json:"action"`
	Name   string `json:"name"`
	Value  string `json:"value"`
}

type GlobalDeliveryRuleModifyResponseHeaderAction

type GlobalDeliveryRuleModifyResponseHeaderAction struct {
	// Action: string, required
	Action terra.StringValue `hcl:"action,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type GlobalDeliveryRuleModifyResponseHeaderActionAttributes

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

func (GlobalDeliveryRuleModifyResponseHeaderActionAttributes) Action

func (GlobalDeliveryRuleModifyResponseHeaderActionAttributes) InternalRef

func (GlobalDeliveryRuleModifyResponseHeaderActionAttributes) InternalTokens

func (GlobalDeliveryRuleModifyResponseHeaderActionAttributes) InternalWithRef

func (GlobalDeliveryRuleModifyResponseHeaderActionAttributes) Name

func (GlobalDeliveryRuleModifyResponseHeaderActionAttributes) Value

type GlobalDeliveryRuleModifyResponseHeaderActionState

type GlobalDeliveryRuleModifyResponseHeaderActionState struct {
	Action string `json:"action"`
	Name   string `json:"name"`
	Value  string `json:"value"`
}

type GlobalDeliveryRuleState

type GlobalDeliveryRuleState struct {
	CacheExpirationAction      []GlobalDeliveryRuleCacheExpirationActionState      `json:"cache_expiration_action"`
	CacheKeyQueryStringAction  []GlobalDeliveryRuleCacheKeyQueryStringActionState  `json:"cache_key_query_string_action"`
	ModifyRequestHeaderAction  []GlobalDeliveryRuleModifyRequestHeaderActionState  `json:"modify_request_header_action"`
	ModifyResponseHeaderAction []GlobalDeliveryRuleModifyResponseHeaderActionState `json:"modify_response_header_action"`
	UrlRedirectAction          []GlobalDeliveryRuleUrlRedirectActionState          `json:"url_redirect_action"`
	UrlRewriteAction           []GlobalDeliveryRuleUrlRewriteActionState           `json:"url_rewrite_action"`
}

type GlobalDeliveryRuleUrlRedirectAction

type GlobalDeliveryRuleUrlRedirectAction struct {
	// Fragment: string, optional
	Fragment terra.StringValue `hcl:"fragment,attr"`
	// Hostname: string, optional
	Hostname terra.StringValue `hcl:"hostname,attr"`
	// Path: string, optional
	Path terra.StringValue `hcl:"path,attr"`
	// Protocol: string, optional
	Protocol terra.StringValue `hcl:"protocol,attr"`
	// QueryString: string, optional
	QueryString terra.StringValue `hcl:"query_string,attr"`
	// RedirectType: string, required
	RedirectType terra.StringValue `hcl:"redirect_type,attr" validate:"required"`
}

type GlobalDeliveryRuleUrlRedirectActionAttributes

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

func (GlobalDeliveryRuleUrlRedirectActionAttributes) Fragment

func (GlobalDeliveryRuleUrlRedirectActionAttributes) Hostname

func (GlobalDeliveryRuleUrlRedirectActionAttributes) InternalRef

func (GlobalDeliveryRuleUrlRedirectActionAttributes) InternalTokens

func (GlobalDeliveryRuleUrlRedirectActionAttributes) InternalWithRef

func (GlobalDeliveryRuleUrlRedirectActionAttributes) Path

func (GlobalDeliveryRuleUrlRedirectActionAttributes) Protocol

func (GlobalDeliveryRuleUrlRedirectActionAttributes) QueryString

func (GlobalDeliveryRuleUrlRedirectActionAttributes) RedirectType

type GlobalDeliveryRuleUrlRedirectActionState

type GlobalDeliveryRuleUrlRedirectActionState struct {
	Fragment     string `json:"fragment"`
	Hostname     string `json:"hostname"`
	Path         string `json:"path"`
	Protocol     string `json:"protocol"`
	QueryString  string `json:"query_string"`
	RedirectType string `json:"redirect_type"`
}

type GlobalDeliveryRuleUrlRewriteAction

type GlobalDeliveryRuleUrlRewriteAction struct {
	// Destination: string, required
	Destination terra.StringValue `hcl:"destination,attr" validate:"required"`
	// PreserveUnmatchedPath: bool, optional
	PreserveUnmatchedPath terra.BoolValue `hcl:"preserve_unmatched_path,attr"`
	// SourcePattern: string, required
	SourcePattern terra.StringValue `hcl:"source_pattern,attr" validate:"required"`
}

type GlobalDeliveryRuleUrlRewriteActionAttributes

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

func (GlobalDeliveryRuleUrlRewriteActionAttributes) Destination

func (GlobalDeliveryRuleUrlRewriteActionAttributes) InternalRef

func (GlobalDeliveryRuleUrlRewriteActionAttributes) InternalTokens

func (GlobalDeliveryRuleUrlRewriteActionAttributes) InternalWithRef

func (GlobalDeliveryRuleUrlRewriteActionAttributes) PreserveUnmatchedPath

func (ura GlobalDeliveryRuleUrlRewriteActionAttributes) PreserveUnmatchedPath() terra.BoolValue

func (GlobalDeliveryRuleUrlRewriteActionAttributes) SourcePattern

type GlobalDeliveryRuleUrlRewriteActionState

type GlobalDeliveryRuleUrlRewriteActionState struct {
	Destination           string `json:"destination"`
	PreserveUnmatchedPath bool   `json:"preserve_unmatched_path"`
	SourcePattern         string `json:"source_pattern"`
}

type Origin

type Origin struct {
	// 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"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
}

type OriginAttributes

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

func (OriginAttributes) HostName

func (o OriginAttributes) HostName() terra.StringValue

func (OriginAttributes) HttpPort

func (o OriginAttributes) HttpPort() terra.NumberValue

func (OriginAttributes) HttpsPort

func (o OriginAttributes) HttpsPort() terra.NumberValue

func (OriginAttributes) InternalRef

func (o OriginAttributes) InternalRef() (terra.Reference, error)

func (OriginAttributes) InternalTokens

func (o OriginAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OriginAttributes) InternalWithRef

func (o OriginAttributes) InternalWithRef(ref terra.Reference) OriginAttributes

func (OriginAttributes) Name

type OriginState

type OriginState struct {
	HostName  string  `json:"host_name"`
	HttpPort  float64 `json:"http_port"`
	HttpsPort float64 `json:"https_port"`
	Name      string  `json:"name"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (ace *Resource) Attributes() azurermCdnEndpointAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (ace *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (ace *Resource) State() (*azurermCdnEndpointState, bool)

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

func (*Resource) StateMust

func (ace *Resource) StateMust() *azurermCdnEndpointState

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

func (*Resource) Type

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