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

     1  /*
     2   Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved.
     3  */
     4  
     5  package datamasking_rules
     6  
     7  import "github.com/huaweicloud/golangsdk"
     8  
     9  func rootURL(c *golangsdk.ServiceClient, policy_id string) string {
    10  	return c.ServiceURL("policy", policy_id, "privacy")
    11  }
    12  
    13  func resourceURL(c *golangsdk.ServiceClient, policy_id, id string) string {
    14  	return c.ServiceURL("policy", policy_id, "privacy", id)
    15  }