Documentation ¶
Index ¶
- Constants
- func Alias() *schema.Resource
- func IPSet() *schema.Resource
- func Options() *schema.Resource
- func Rules() *schema.Resource
- func RulesCreate(ctx context.Context, api firewall.Rule, d *schema.ResourceData) diag.Diagnostics
- func RulesDelete(ctx context.Context, api firewall.Rule, d *schema.ResourceData) diag.Diagnostics
- func RulesRead(ctx context.Context, api firewall.Rule, d *schema.ResourceData) diag.Diagnostics
- func RulesUpdate(ctx context.Context, api firewall.Rule, d *schema.ResourceData) diag.Diagnostics
Constants ¶
View Source
const (
// MkRule defines the name of the rule resource in the schema.
MkRule = "rule"
)
Variables ¶
This section is empty.
Functions ¶
func RulesCreate ¶
func RulesCreate(ctx context.Context, api firewall.Rule, d *schema.ResourceData) diag.Diagnostics
RulesCreate creates new firewall rules.
func RulesDelete ¶
func RulesDelete(ctx context.Context, api firewall.Rule, d *schema.ResourceData) diag.Diagnostics
RulesDelete deletes all rules.
func RulesRead ¶
func RulesRead(ctx context.Context, api firewall.Rule, d *schema.ResourceData) diag.Diagnostics
RulesRead reads rules from the API and updates the state.
func RulesUpdate ¶
func RulesUpdate(ctx context.Context, api firewall.Rule, d *schema.ResourceData) diag.Diagnostics
RulesUpdate updates rules.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.