Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResourceFWPolicyV2 ¶
func ResourceFWRuleV2 ¶
Types ¶
type FirewallGroup ¶
type FirewallGroup struct { firewall_groups.FirewallGroup routerinsertion.FirewallGroupExt }
FirewallGroup is an OpenTelekomCloud firewall group.
type FirewallGroupCreateOpts ¶
type FirewallGroupCreateOpts struct { firewall_groups.CreateOpts ValueSpecs map[string]string `json:"value_specs,omitempty"` }
FirewallGroupCreateOpts represents the attributes used when creating a new firewall.
func (FirewallGroupCreateOpts) ToFirewallCreateMap ¶
func (opts FirewallGroupCreateOpts) ToFirewallCreateMap() (map[string]interface{}, error)
ToFirewallCreateMap casts a CreateOptsExt struct to a map. It overrides firewalls.ToFirewallCreateMap to add the ValueSpecs field.
type FirewallGroupUpdateOpts ¶
type FirewallGroupUpdateOpts struct {
firewall_groups.UpdateOptsBuilder
}
FirewallUpdateOpts
func (FirewallGroupUpdateOpts) ToFirewallUpdateMap ¶
func (opts FirewallGroupUpdateOpts) ToFirewallUpdateMap() (map[string]interface{}, error)
type PolicyCreateOpts ¶
type PolicyCreateOpts struct { policies.CreateOpts ValueSpecs map[string]string `json:"value_specs,omitempty"` }
PolicyCreateOpts represents the attributes used when creating a new firewall policy.
func (PolicyCreateOpts) ToFirewallPolicyCreateMap ¶
func (opts PolicyCreateOpts) ToFirewallPolicyCreateMap() (map[string]interface{}, error)
ToPolicyCreateMap casts a CreateOpts struct to a map. It overrides policies.ToFirewallPolicyCreateMap to add the ValueSpecs field.
type RuleCreateOpts ¶
type RuleCreateOpts struct { rules.CreateOpts ValueSpecs map[string]string `json:"value_specs,omitempty"` }
RuleCreateOpts represents the attributes used when creating a new firewall rule.
func (RuleCreateOpts) ToRuleCreateMap ¶
func (opts RuleCreateOpts) ToRuleCreateMap() (map[string]interface{}, error)
ToRuleCreateMap casts a CreateOpts struct to a map. It overrides rules.ToRuleCreateMap to add the ValueSpecs field.