Documentation ¶
Index ¶
- type Args
- type Cache
- type CacheAttributes
- func (c CacheAttributes) CompressionEnabled() terra.BoolValue
- func (c CacheAttributes) ContentTypesToCompress() terra.ListValue[terra.StringValue]
- func (c CacheAttributes) InternalRef() (terra.Reference, error)
- func (c CacheAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c CacheAttributes) InternalWithRef(ref terra.Reference) CacheAttributes
- func (c CacheAttributes) QueryStringCachingBehavior() terra.StringValue
- func (c CacheAttributes) QueryStrings() terra.ListValue[terra.StringValue]
- type CacheState
- type Resource
- func (acfr *Resource) Attributes() azurermCdnFrontdoorRouteAttributes
- func (acfr *Resource) Configuration() interface{}
- func (acfr *Resource) DependOn() terra.Reference
- func (acfr *Resource) Dependencies() terra.Dependencies
- func (acfr *Resource) ImportState(state io.Reader) error
- func (acfr *Resource) LifecycleManagement() *terra.Lifecycle
- func (acfr *Resource) LocalName() string
- func (acfr *Resource) State() (*azurermCdnFrontdoorRouteState, bool)
- func (acfr *Resource) StateMust() *azurermCdnFrontdoorRouteState
- func (acfr *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
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 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 (*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) Dependencies ¶
func (acfr *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block 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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
Click to show internal directories.
Click to hide internal directories.