github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/iec/v1/firewalls/urls.go (about)

     1  package firewalls
     2  
     3  import (
     4  	"github.com/huaweicloud/golangsdk"
     5  )
     6  
     7  func rootURL(c *golangsdk.ServiceClient) string {
     8  	return c.ServiceURL("firewalls")
     9  }
    10  
    11  func DeleteURL(c *golangsdk.ServiceClient, firewallId string) string {
    12  	return c.ServiceURL("firewalls", firewallId)
    13  }
    14  
    15  func GetURL(c *golangsdk.ServiceClient, firewallId string) string {
    16  	return c.ServiceURL("firewalls", firewallId)
    17  }
    18  
    19  func UpdateURL(c *golangsdk.ServiceClient, firewallId string) string {
    20  	return c.ServiceURL("firewalls", firewallId)
    21  }
    22  
    23  func UpdateRuleURL(c *golangsdk.ServiceClient, firewallId string) string {
    24  	return c.ServiceURL("firewalls", firewallId, "update_firewall_rules")
    25  }