github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/sdrs/v1/attachreplication/urls.go (about) 1 package attachreplication 2 3 import "github.com/huaweicloud/golangsdk" 4 5 func createURL(c *golangsdk.ServiceClient, instanceID string) string { 6 return c.ServiceURL("protected-instances", instanceID, "attachreplication") 7 } 8 9 func deleteURL(c *golangsdk.ServiceClient, instanceID string, replicationID string) string { 10 return c.ServiceURL("protected-instances", instanceID, "detachreplication", replicationID) 11 }