github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/waf/v1/ccattackprotection_rules/urls.go (about) 1 package ccattackprotection_rules 2 3 import "github.com/huaweicloud/golangsdk" 4 5 func rootURL(c *golangsdk.ServiceClient, policyID string) string { 6 return c.ServiceURL("policy", policyID, "cc") 7 } 8 9 func resourceURL(c *golangsdk.ServiceClient, policyID, id string) string { 10 return c.ServiceURL("policy", policyID, "cc", id) 11 }