Help us shape the future of Go! Take the 2026 Go Developer Survey

resource_rule_function

package
v5.15.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RuleFunctionResourceSchema

func RuleFunctionResourceSchema(ctx context.Context) schema.Schema

Types

type ActionConfigType

type ActionConfigType struct {
	basetypes.ObjectType
}

func (ActionConfigType) Equal

func (t ActionConfigType) Equal(o attr.Type) bool

func (ActionConfigType) String

func (t ActionConfigType) String() string

func (ActionConfigType) ValueFromObject

func (ActionConfigType) ValueFromTerraform

func (t ActionConfigType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (ActionConfigType) ValueType

func (t ActionConfigType) ValueType(ctx context.Context) attr.Value

type ActionConfigValue

type ActionConfigValue struct {
	FnUuid basetypes.StringValue `tfsdk:"fn_uuid"`
	// contains filtered or unexported fields
}

func NewActionConfigValue

func NewActionConfigValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ActionConfigValue, diag.Diagnostics)

func NewActionConfigValueMust

func NewActionConfigValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ActionConfigValue

func NewActionConfigValueNull

func NewActionConfigValueNull() ActionConfigValue

func NewActionConfigValueUnknown

func NewActionConfigValueUnknown() ActionConfigValue

func (ActionConfigValue) AttributeTypes

func (v ActionConfigValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (ActionConfigValue) Equal

func (v ActionConfigValue) Equal(o attr.Value) bool

func (ActionConfigValue) IsNull

func (v ActionConfigValue) IsNull() bool

func (ActionConfigValue) IsUnknown

func (v ActionConfigValue) IsUnknown() bool

func (ActionConfigValue) String

func (v ActionConfigValue) String() string

func (ActionConfigValue) ToObjectValue

func (ActionConfigValue) ToTerraformValue

func (v ActionConfigValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (ActionConfigValue) Type

type RuleFunctionModel

type RuleFunctionModel struct {
	Action             types.String      `tfsdk:"action"`
	ActionConfig       ActionConfigValue `tfsdk:"action_config"`
	Asn                types.String      `tfsdk:"asn"`
	AsnIs              types.List        `tfsdk:"asn_is"`
	AsnIsNot           types.List        `tfsdk:"asn_is_not"`
	CookieName         types.String      `tfsdk:"cookie_name"`
	Country            types.String      `tfsdk:"country"`
	CountryIs          types.List        `tfsdk:"country_is"`
	CountryIsNot       types.List        `tfsdk:"country_is_not"`
	Disabled           types.Bool        `tfsdk:"disabled"`
	Domain             types.List        `tfsdk:"domain"`
	FnUuid             types.String      `tfsdk:"fn_uuid"`
	Ip                 types.String      `tfsdk:"ip"`
	IpIs               types.List        `tfsdk:"ip_is"`
	IpIsNot            types.List        `tfsdk:"ip_is_not"`
	Method             types.String      `tfsdk:"method"`
	MethodIs           types.List        `tfsdk:"method_is"`
	MethodIsNot        types.List        `tfsdk:"method_is_not"`
	Name               types.String      `tfsdk:"name"`
	OnlyWithCookie     types.String      `tfsdk:"only_with_cookie"`
	Organization       types.String      `tfsdk:"organization"`
	Project            types.String      `tfsdk:"project"`
	Rule               types.String      `tfsdk:"rule"`
	RuleId             types.String      `tfsdk:"rule_id"`
	TrafficSource      types.String      `tfsdk:"traffic_source"`
	TrafficSourceIs    types.List        `tfsdk:"traffic_source_is"`
	TrafficSourceIsNot types.List        `tfsdk:"traffic_source_is_not"`
	Ua                 types.String      `tfsdk:"ua"`
	UaIs               types.List        `tfsdk:"ua_is"`
	UaIsNot            types.List        `tfsdk:"ua_is_not"`
	Url                types.List        `tfsdk:"url"`
	Uuid               types.String      `tfsdk:"uuid"`
	Weight             types.Int64       `tfsdk:"weight"`
}

Jump to

Keyboard shortcuts

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