azurerm_cdn_frontdoor_origin_group

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 {
	// CdnFrontdoorProfileId: string, required
	CdnFrontdoorProfileId terra.StringValue `hcl:"cdn_frontdoor_profile_id,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// RestoreTrafficTimeToHealedOrNewEndpointInMinutes: number, optional
	RestoreTrafficTimeToHealedOrNewEndpointInMinutes terra.NumberValue `hcl:"restore_traffic_time_to_healed_or_new_endpoint_in_minutes,attr"`
	// SessionAffinityEnabled: bool, optional
	SessionAffinityEnabled terra.BoolValue `hcl:"session_affinity_enabled,attr"`
	// HealthProbe: optional
	HealthProbe *HealthProbe `hcl:"health_probe,block"`
	// LoadBalancing: required
	LoadBalancing *LoadBalancing `hcl:"load_balancing,block" validate:"required"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for azurerm_cdn_frontdoor_origin_group.

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ProfileName: string, required
	ProfileName terra.StringValue `hcl:"profile_name,attr" validate:"required"`
	// ResourceGroupName: string, required
	ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"`
	// Timeouts: optional
	Timeouts *DataTimeouts `hcl:"timeouts,block"`
}

DataArgs contains the configurations for azurerm_cdn_frontdoor_origin_group.

type DataHealthProbeAttributes

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

func (DataHealthProbeAttributes) InternalRef

func (hp DataHealthProbeAttributes) InternalRef() (terra.Reference, error)

func (DataHealthProbeAttributes) InternalTokens

func (hp DataHealthProbeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataHealthProbeAttributes) InternalWithRef

func (DataHealthProbeAttributes) IntervalInSeconds

func (hp DataHealthProbeAttributes) IntervalInSeconds() terra.NumberValue

func (DataHealthProbeAttributes) Path

func (DataHealthProbeAttributes) Protocol

func (DataHealthProbeAttributes) RequestType

func (hp DataHealthProbeAttributes) RequestType() terra.StringValue

type DataHealthProbeState

type DataHealthProbeState struct {
	IntervalInSeconds float64 `json:"interval_in_seconds"`
	Path              string  `json:"path"`
	Protocol          string  `json:"protocol"`
	RequestType       string  `json:"request_type"`
}

type DataLoadBalancingAttributes

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

func (DataLoadBalancingAttributes) AdditionalLatencyInMilliseconds

func (lb DataLoadBalancingAttributes) AdditionalLatencyInMilliseconds() terra.NumberValue

func (DataLoadBalancingAttributes) InternalRef

func (lb DataLoadBalancingAttributes) InternalRef() (terra.Reference, error)

func (DataLoadBalancingAttributes) InternalTokens

func (lb DataLoadBalancingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataLoadBalancingAttributes) InternalWithRef

func (DataLoadBalancingAttributes) SampleSize

func (DataLoadBalancingAttributes) SuccessfulSamplesRequired

func (lb DataLoadBalancingAttributes) SuccessfulSamplesRequired() terra.NumberValue

type DataLoadBalancingState

type DataLoadBalancingState struct {
	AdditionalLatencyInMilliseconds float64 `json:"additional_latency_in_milliseconds"`
	SampleSize                      float64 `json:"sample_size"`
	SuccessfulSamplesRequired       float64 `json:"successful_samples_required"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource azurerm_cdn_frontdoor_origin_group.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (acfog *DataSource) Attributes() dataAzurermCdnFrontdoorOriginGroupAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (acfog *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (acfog *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (acfog *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataTimeouts

type DataTimeouts struct {
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
}

type DataTimeoutsAttributes

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

func (DataTimeoutsAttributes) InternalRef

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

func (DataTimeoutsAttributes) InternalTokens

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

func (DataTimeoutsAttributes) InternalWithRef

func (DataTimeoutsAttributes) Read

type DataTimeoutsState

type DataTimeoutsState struct {
	Read string `json:"read"`
}

type HealthProbe

type HealthProbe struct {
	// IntervalInSeconds: number, required
	IntervalInSeconds terra.NumberValue `hcl:"interval_in_seconds,attr" validate:"required"`
	// Path: string, optional
	Path terra.StringValue `hcl:"path,attr"`
	// Protocol: string, required
	Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"`
	// RequestType: string, optional
	RequestType terra.StringValue `hcl:"request_type,attr"`
}

type HealthProbeAttributes

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

func (HealthProbeAttributes) InternalRef

func (hp HealthProbeAttributes) InternalRef() (terra.Reference, error)

func (HealthProbeAttributes) InternalTokens

func (hp HealthProbeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HealthProbeAttributes) InternalWithRef

func (HealthProbeAttributes) IntervalInSeconds

func (hp HealthProbeAttributes) IntervalInSeconds() terra.NumberValue

func (HealthProbeAttributes) Path

func (HealthProbeAttributes) Protocol

func (hp HealthProbeAttributes) Protocol() terra.StringValue

func (HealthProbeAttributes) RequestType

func (hp HealthProbeAttributes) RequestType() terra.StringValue

type HealthProbeState

type HealthProbeState struct {
	IntervalInSeconds float64 `json:"interval_in_seconds"`
	Path              string  `json:"path"`
	Protocol          string  `json:"protocol"`
	RequestType       string  `json:"request_type"`
}

type LoadBalancing

type LoadBalancing struct {
	// AdditionalLatencyInMilliseconds: number, optional
	AdditionalLatencyInMilliseconds terra.NumberValue `hcl:"additional_latency_in_milliseconds,attr"`
	// SampleSize: number, optional
	SampleSize terra.NumberValue `hcl:"sample_size,attr"`
	// SuccessfulSamplesRequired: number, optional
	SuccessfulSamplesRequired terra.NumberValue `hcl:"successful_samples_required,attr"`
}

type LoadBalancingAttributes

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

func (LoadBalancingAttributes) AdditionalLatencyInMilliseconds

func (lb LoadBalancingAttributes) AdditionalLatencyInMilliseconds() terra.NumberValue

func (LoadBalancingAttributes) InternalRef

func (lb LoadBalancingAttributes) InternalRef() (terra.Reference, error)

func (LoadBalancingAttributes) InternalTokens

func (lb LoadBalancingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LoadBalancingAttributes) InternalWithRef

func (LoadBalancingAttributes) SampleSize

func (lb LoadBalancingAttributes) SampleSize() terra.NumberValue

func (LoadBalancingAttributes) SuccessfulSamplesRequired

func (lb LoadBalancingAttributes) SuccessfulSamplesRequired() terra.NumberValue

type LoadBalancingState

type LoadBalancingState struct {
	AdditionalLatencyInMilliseconds float64 `json:"additional_latency_in_milliseconds"`
	SampleSize                      float64 `json:"sample_size"`
	SuccessfulSamplesRequired       float64 `json:"successful_samples_required"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (acfog *Resource) Attributes() azurermCdnFrontdoorOriginGroupAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acfog *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acfog *Resource) State() (*azurermCdnFrontdoorOriginGroupState, bool)

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

func (*Resource) StateMust

func (acfog *Resource) StateMust() *azurermCdnFrontdoorOriginGroupState

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

func (*Resource) Type

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