Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListURL ¶
func ListURL(c *gophercloud.ServiceClient) string
func ListWithInstancesURL ¶
func ListWithInstancesURL(c *gophercloud.ServiceClient, scalingGroupId string) string
Types ¶
type ListResult ¶
type ListResult struct {
// contains filtered or unexported fields
}
func List ¶
func List(client *gophercloud.ServiceClient) (r ListResult)
func (ListResult) Extract ¶
func (r ListResult) Extract() (*Quota, error)
type ListWithInstancesResult ¶
type ListWithInstancesResult struct {
// contains filtered or unexported fields
}
func ListWithInstances ¶
func ListWithInstances(client *gophercloud.ServiceClient, scalingGroupId string) (r ListWithInstancesResult)
func (ListWithInstancesResult) Extract ¶
func (r ListWithInstancesResult) Extract() (*Quota, error)
type Resource ¶
type Resource struct { // Specifies the quota type. Type string `json:"type"` // Specifies the used amount of the quota.When type is set to // scaling_Policy or scaling_Instance, this parameter is reserved, and the system // returns -1 as the parameter value. You can query the used quota amount of AS policies // and AS instances in a specified AS group. For details, see Querying Quotas for AS // Policies and AS Instances. Used int `json:"used"` // Specifies the total amount of the quota. Quota int `json:"quota"` // Specifies the quota upper limit. Max int `json:"max"` }
Click to show internal directories.
Click to hide internal directories.