firewall_policies.go
func (c *Client) ApplyFirewallPolicy(policyId string, serverGroupId string) (*FirewallPolicy, error) {
	policy := new(FirewallPolicy)
	_, err := c.MakeApiRequest("POST", "/1.0/firewall_policies/"+policyId+"/apply_to",
		map[string]string{"server_group": serverGroupId}, &policy)
	if err != nil {
		return nil, err
	}
	return policy, nil
}
func (c *Client) ApplyFirewallPolicy(policyId string, serverGroupId string) (*FirewallPolicy, error) {
	policy := new(FirewallPolicy)
	_, err := c.MakeApiRequest("POST", "/1.0/firewall_policies/"+policyId+"/apply_to",
		map[string]string{"server_group": serverGroupId}, &policy)
	if err != nil {
		return nil, err
	}
	return policy, nil
}
func ( c * Client ) ApplyFirewallPolicy ( policyId string , serverGroupId string ) ( * FirewallPolicy , error ) { policy := new ( FirewallPolicy ) _ , err := c . MakeApiRequest ( " " , " " + policyId + " " , map [ string ] string { " " : serverGroupId } , & policy ) if err != nil { return nil , err } return policy , nil }
// ApplyFirewallPolicy issues a request to apply the given firewall policy to
// the given server group.
//
ApplyFirewallPolicy issues a request to apply the given firewall policy to the given server group .