github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/waf_hw/v1/webtamperprotection_rules/urls.go (about) 1 /* 2 Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved. 3 */ 4 5 package webtamperprotection_rules 6 7 import "github.com/huaweicloud/golangsdk" 8 9 func rootURL(c *golangsdk.ServiceClient, policyID string) string { 10 return c.ServiceURL("policy", policyID, "antitamper") 11 } 12 13 func resourceURL(c *golangsdk.ServiceClient, policyID, id string) string { 14 return c.ServiceURL("policy", policyID, "antitamper", id) 15 }