github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/sdrs/v1/attachreplication/urls.go (about) 1 package attachreplication 2 3 import "github.com/opentelekomcloud/gophertelekomcloud" 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 }