feat: 扩展 AWS 实例运行期管理 SDK
test / go (push) Successful in 1m40s

This commit is contained in:
shiran
2026-08-27 16:47:02 +08:00
parent 3d4c2dbb20
commit 8392db9ae3
4 changed files with 55 additions and 8 deletions
+8 -6
View File
@@ -112,12 +112,14 @@ type CreateInstanceRequest struct {
TrafficLimitGiB *float64 `json:"traffic_limit_gib,omitempty"`
}
type PriceEstimate struct {
Currency string `json:"currency"`
HourlyPrice float64 `json:"hourly_price"`
MonthlyPrice float64 `json:"monthly_price"`
CalendarMonthPrice float64 `json:"calendar_month_price"`
Breakdown map[string]any `json:"breakdown"`
Raw map[string]any `json:"-"`
Currency string `json:"currency"`
HourlyPrice float64 `json:"hourly_price"`
MonthlyPrice float64 `json:"monthly_price"`
CalendarMonthPrice float64 `json:"calendar_month_price"`
Breakdown map[string]any `json:"breakdown"`
ConfigurationFingerprint string `json:"configuration_fingerprint,omitempty"`
ResourceSyncedAt time.Time `json:"resource_synced_at,omitempty"`
Raw map[string]any `json:"-"`
}
type Instance struct {
ID string `json:"id"`