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

     1  package configurations
     2  
     3  import (
     4  	"github.com/huaweicloud/golangsdk"
     5  )
     6  
     7  const resourcePath = "scaling_configuration"
     8  
     9  func createURL(client *golangsdk.ServiceClient) string {
    10  	return client.ServiceURL(resourcePath)
    11  }
    12  
    13  func getURL(client *golangsdk.ServiceClient, id string) string {
    14  	return client.ServiceURL(resourcePath, id)
    15  }
    16  
    17  func deleteURL(client *golangsdk.ServiceClient, id string) string {
    18  	return client.ServiceURL(resourcePath, id)
    19  }
    20  
    21  func listURL(client *golangsdk.ServiceClient) string {
    22  	return client.ServiceURL(resourcePath)
    23  }