Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Cloud Stack: Current usage is a float (#76)
Browse files Browse the repository at this point in the history
Anytime a stack is actually being used, the client fails unmarshalling. See grafana/terraform-provider-grafana#448
  • Loading branch information
julienduchesne authored Mar 31, 2022
1 parent a550215 commit ba5e458
Showing 1 changed file with 37 additions and 37 deletions.
74 changes: 37 additions & 37 deletions cloud_stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,43 +46,43 @@ type Stack struct {
DashboardCnt int `json:"dashboardCnt"`
DatasourceCnts struct {
} `json:"datasourceCnts"`
UserQuota int `json:"userQuota"`
DashboardQuota int `json:"dashboardQuota"`
AlertQuota int `json:"alertQuota"`
Ssl bool `json:"ssl"`
CustomAuth bool `json:"customAuth"`
CustomDomain bool `json:"customDomain"`
Support bool `json:"support"`
RunningVersion string `json:"runningVersion"`
MachineLearning int `json:"machineLearning"`
HmInstancePromID int `json:"hmInstancePromId"`
HmInstancePromURL string `json:"hmInstancePromUrl"`
HmInstancePromName string `json:"hmInstancePromName"`
HmInstancePromStatus string `json:"hmInstancePromStatus"`
HmInstancePromCurrentUsage int `json:"hmInstancePromCurrentUsage"`
HmInstancePromCurrentActiveSeries int `json:"hmInstancePromCurrentActiveSeries"`
HmInstanceGraphiteID int `json:"hmInstanceGraphiteId"`
HmInstanceGraphiteURL string `json:"hmInstanceGraphiteUrl"`
HmInstanceGraphiteName string `json:"hmInstanceGraphiteName"`
HmInstanceGraphiteType string `json:"hmInstanceGraphiteType"`
HmInstanceGraphiteStatus string `json:"hmInstanceGraphiteStatus"`
HmInstanceGraphiteCurrentUsage int `json:"hmInstanceGraphiteCurrentUsage"`
HlInstanceID int `json:"hlInstanceId"`
HlInstanceURL string `json:"hlInstanceUrl"`
HlInstanceName string `json:"hlInstanceName"`
HlInstanceStatus string `json:"hlInstanceStatus"`
HlInstanceCurrentUsage int `json:"hlInstanceCurrentUsage"`
AmInstanceID int `json:"amInstanceId"`
AmInstanceName string `json:"amInstanceName"`
AmInstanceURL string `json:"amInstanceUrl"`
AmInstanceStatus string `json:"amInstanceStatus"`
AmInstanceGeneratorURL string `json:"amInstanceGeneratorUrl"`
HtInstanceID int `json:"htInstanceId"`
HtInstanceURL string `json:"htInstanceUrl"`
HtInstanceName string `json:"htInstanceName"`
HtInstanceStatus string `json:"htInstanceStatus"`
RegionID int `json:"regionId"`
RegionSlug string `json:"regionSlug"`
UserQuota int `json:"userQuota"`
DashboardQuota int `json:"dashboardQuota"`
AlertQuota int `json:"alertQuota"`
Ssl bool `json:"ssl"`
CustomAuth bool `json:"customAuth"`
CustomDomain bool `json:"customDomain"`
Support bool `json:"support"`
RunningVersion string `json:"runningVersion"`
MachineLearning int `json:"machineLearning"`
HmInstancePromID int `json:"hmInstancePromId"`
HmInstancePromURL string `json:"hmInstancePromUrl"`
HmInstancePromName string `json:"hmInstancePromName"`
HmInstancePromStatus string `json:"hmInstancePromStatus"`
HmInstancePromCurrentUsage float64 `json:"hmInstancePromCurrentUsage"`
HmInstancePromCurrentActiveSeries int `json:"hmInstancePromCurrentActiveSeries"`
HmInstanceGraphiteID int `json:"hmInstanceGraphiteId"`
HmInstanceGraphiteURL string `json:"hmInstanceGraphiteUrl"`
HmInstanceGraphiteName string `json:"hmInstanceGraphiteName"`
HmInstanceGraphiteType string `json:"hmInstanceGraphiteType"`
HmInstanceGraphiteStatus string `json:"hmInstanceGraphiteStatus"`
HmInstanceGraphiteCurrentUsage float64 `json:"hmInstanceGraphiteCurrentUsage"`
HlInstanceID int `json:"hlInstanceId"`
HlInstanceURL string `json:"hlInstanceUrl"`
HlInstanceName string `json:"hlInstanceName"`
HlInstanceStatus string `json:"hlInstanceStatus"`
HlInstanceCurrentUsage float64 `json:"hlInstanceCurrentUsage"`
AmInstanceID int `json:"amInstanceId"`
AmInstanceName string `json:"amInstanceName"`
AmInstanceURL string `json:"amInstanceUrl"`
AmInstanceStatus string `json:"amInstanceStatus"`
AmInstanceGeneratorURL string `json:"amInstanceGeneratorUrl"`
HtInstanceID int `json:"htInstanceId"`
HtInstanceURL string `json:"htInstanceUrl"`
HtInstanceName string `json:"htInstanceName"`
HtInstanceStatus string `json:"htInstanceStatus"`
RegionID int `json:"regionId"`
RegionSlug string `json:"regionSlug"`
Links []struct {
Rel string `json:"rel"`
Href string `json:"href"`
Expand Down

0 comments on commit ba5e458

Please sign in to comment.