ip_restrictions_rule

package
v0.3.23-beta.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPRestrictionsRuleResource

func IPRestrictionsRuleResource() resource.Resource

Types

type CidrModel

type CidrModel struct {
	Cidr                types.String `tfsdk:"cidr"`
	CidrIpv6            types.String `tfsdk:"cidr_ipv6"`
	ID                  types.Int64  `tfsdk:"id"`
	IPRestrictionRuleID types.Int64  `tfsdk:"ip_restriction_rule_id"`
}

type IPRestrictionsRuleResourceModel

type IPRestrictionsRuleResourceModel struct {
	ID             types.Int64  `tfsdk:"id"`
	Name           types.String `tfsdk:"name"`
	Type           types.String `tfsdk:"type"`
	Description    types.String `tfsdk:"description"`
	RuleSetEnabled types.Bool   `tfsdk:"rule_set_enabled"`
	Cidrs          []CidrModel  `tfsdk:"cidrs"`
}

Jump to

Keyboard shortcuts

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