@@ -29,6 +29,8 @@ type Machine struct {
2929 ShutdownTimeoutForces bool `json:"shutdownTimeoutForces"`
3030 AutoSnapshotFrequency int `json:"autoSnapshotFrequency"`
3131 AutoSnapshotSaveCount int `json:"autoSnapshotSaveCount"`
32+ RestorePointSnapshotID string `json:"restorePointSnapshotId"`
33+ RestorePointFrequency string `json:"restorePointFrequency"`
3234 AgentType string `json:"agentType"`
3335 NetworkID string `json:"networkId"`
3436 PrivateIpAddress string `json:"privateIpAddress"`
@@ -45,20 +47,23 @@ type Machine struct {
4547type MachineCreateParams struct {
4648 RequestParams
4749
48- Name string `json:"name"`
49- Region string `json:"region"`
50- MachineType string `json:"machineType"`
51- Size int `json:"size"`
52- BillingType string `json:"billingType"`
53- TemplateID string `json:"templateId"`
54- UserID string `json:"userId,omitempty"`
55- TeamID string `json:"teamId,omitempty"`
56- ScriptID string `json:"scriptId,omitempty"`
57- NetworkID string `json:"networkId,omitempty"`
58- ShutdownTimeoutInHours int `json:"shutdownTimeoutInHours,omitempty"`
59- AssignPublicIP * bool `json:"assignPublicIP,omitempty"`
60- IsManaged * bool `json:"isManaged,omitempty"`
61- StartOnCreate * bool `json:"startOnCreate,omitempty"`
50+ Name string `json:"name"`
51+ Region string `json:"region"`
52+ MachineType string `json:"machineType"`
53+ Size int `json:"size"`
54+ BillingType string `json:"billingType"`
55+ TemplateID string `json:"templateId"`
56+ UserID string `json:"userId,omitempty"`
57+ TeamID string `json:"teamId,omitempty"`
58+ ScriptID string `json:"scriptId,omitempty"`
59+ NetworkID string `json:"networkId,omitempty"`
60+ ShutdownTimeoutInHours int `json:"shutdownTimeoutInHours,omitempty"`
61+ AssignPublicIP * bool `json:"assignPublicIP,omitempty"`
62+ IsManaged * bool `json:"isManaged,omitempty"`
63+ StartOnCreate * bool `json:"startOnCreate,omitempty"`
64+ TakeInitialSnapshot * bool `json:"takeInitialSnapshot,omitempty"`
65+ MarkSnapshotAsRestorePoint * bool `json:"markSnapshotAsRestorePoint,omitempty"`
66+ RestorePointFrequency string `json:"restorePointFrequency,omitempty"`
6267}
6368
6469type MachineDeleteParams struct {
0 commit comments