firewall_rules.go
func (c *Client) CreateFirewallRule(ruleOptions *FirewallRuleOptions) (*FirewallRule, error) {
	rule := new(FirewallRule)
	_, err := c.MakeApiRequest("POST", "/1.0/firewall_rules", ruleOptions, &rule)
	if err != nil {
		return nil, err
	}
	return rule, nil
}
func (c *Client) CreateFirewallRule(ruleOptions *FirewallRuleOptions) (*FirewallRule, error) {
	rule := new(FirewallRule)
	_, err := c.MakeApiRequest("POST", "/1.0/firewall_rules", ruleOptions, &rule)
	if err != nil {
		return nil, err
	}
	return rule, nil
}
func ( c * Client ) CreateFirewallRule ( ruleOptions * FirewallRuleOptions ) ( * FirewallRule , error ) { rule := new ( FirewallRule ) _ , err := c . MakeApiRequest ( " " , " " , ruleOptions , & rule ) if err != nil { return nil , err } return rule , nil }
// CreateFirewallRule creates a new firewall rule.
//
// It takes a FirewallRuleOptions struct for specifying name and other
// attributes. Not all attributes can be specified at create time
// (such as Id, which is allocated for you)
CreateFirewallRule creates a new firewall rule . It takes a FirewallRuleOptions struct for specifying name and other attributes . Not all attributes can be specified at create time ( such as Id which is allocated for you )