github.com/chnsz/golangsdk@v0.0.0-20240506093406-85a3fbfa605b/openstack/er/v3/propagations/urls.go (about) 1 package propagations 2 3 import "github.com/chnsz/golangsdk" 4 5 func enableURL(client *golangsdk.ServiceClient, instanceId, routeTableId string) string { 6 return client.ServiceURL("enterprise-router", instanceId, "route-tables", routeTableId, "enable-propagations") 7 } 8 9 func queryURL(client *golangsdk.ServiceClient, instanceId, routeTableId string) string { 10 return client.ServiceURL("enterprise-router", instanceId, "route-tables", routeTableId, "propagations") 11 } 12 13 func disableURL(client *golangsdk.ServiceClient, instanceId, routeTableId string) string { 14 return client.ServiceURL("enterprise-router", instanceId, "route-tables", routeTableId, "disable-propagations") 15 }