Documentation
¶
Index ¶
- func RuleFunctionResourceSchema(ctx context.Context) schema.Schema
- type ActionConfigType
- func (t ActionConfigType) Equal(o attr.Type) bool
- func (t ActionConfigType) String() string
- func (t ActionConfigType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t ActionConfigType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t ActionConfigType) ValueType(ctx context.Context) attr.Value
- type ActionConfigValue
- func NewActionConfigValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ActionConfigValue, diag.Diagnostics)
- func NewActionConfigValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ActionConfigValue
- func NewActionConfigValueNull() ActionConfigValue
- func NewActionConfigValueUnknown() ActionConfigValue
- func (v ActionConfigValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v ActionConfigValue) Equal(o attr.Value) bool
- func (v ActionConfigValue) IsNull() bool
- func (v ActionConfigValue) IsUnknown() bool
- func (v ActionConfigValue) String() string
- func (v ActionConfigValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v ActionConfigValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v ActionConfigValue) Type(ctx context.Context) attr.Type
- type RuleFunctionModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActionConfigType ¶
type ActionConfigType struct {
basetypes.ObjectType
}
func (ActionConfigType) String ¶
func (t ActionConfigType) String() string
func (ActionConfigType) ValueFromObject ¶
func (t ActionConfigType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (ActionConfigType) ValueFromTerraform ¶
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 NewActionConfigValueNull ¶
func NewActionConfigValueNull() ActionConfigValue
func NewActionConfigValueUnknown ¶
func NewActionConfigValueUnknown() ActionConfigValue
func (ActionConfigValue) AttributeTypes ¶
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 (v ActionConfigValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (ActionConfigValue) ToTerraformValue ¶
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"`
}
Click to show internal directories.
Click to hide internal directories.