Skip to content

Commit

Permalink
Add instance user scheme field (vultr#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
optik-aper authored Oct 1, 2024
1 parent e32f33b commit a39baf5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ type Instance struct {
Features []string `json:"features"`
Hostname string `json:"hostname"`
Tags []string `json:"tags"`
UserScheme string `json:"user_scheme"`
}

type instanceBase struct {
Expand Down Expand Up @@ -256,6 +257,7 @@ type InstanceCreateReq struct {
UserData string `json:"user_data,omitempty"`
ReservedIPv4 string `json:"reserved_ipv4,omitempty"`
ActivationEmail *bool `json:"activation_email,omitempty"`
UserScheme string `json:"user_scheme,omitempty"`
AppVariables map[string]string `json:"app_variables,omitempty"`
}

Expand All @@ -278,6 +280,7 @@ type InstanceUpdateReq struct {
DDOSProtection *bool `json:"ddos_protection"`
UserData string `json:"user_data,omitempty"`
FirewallGroupID string `json:"firewall_group_id,omitempty"`
UserScheme string `json:"user_scheme,omitempty"`
}

// ReinstallReq struct used to allow changes during a reinstall
Expand Down

0 comments on commit a39baf5

Please sign in to comment.