From cd1734bd0e022643b425854b2a4a80ef894048e1 Mon Sep 17 00:00:00 2001 From: Joe Nichols Date: Tue, 28 May 2024 15:10:35 -0600 Subject: [PATCH] add MdiskMode to BareMetalCreate and BareMetalUpdate structs --- bare_metal_server.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bare_metal_server.go b/bare_metal_server.go index 5d0acc6..6ad0fdd 100644 --- a/bare_metal_server.go +++ b/bare_metal_server.go @@ -95,6 +95,7 @@ type BareMetalCreate struct { UserData string `json:"user_data,omitempty"` ActivationEmail *bool `json:"activation_email,omitempty"` Hostname string `json:"hostname,omitempty"` + MdiskMode string `json:"mdisk_mode,omitempty"` // Deprecated: Tag should no longer be used. Instead, use Tags. Tag string `json:"tag,omitempty"` ReservedIPv4 string `json:"reserved_ipv4,omitempty"` @@ -114,6 +115,7 @@ type BareMetalUpdate struct { AppID int `json:"app_id,omitempty"` ImageID string `json:"image_id,omitempty"` UserData string `json:"user_data,omitempty"` + MdiskMode string `json:"mdisk_mode,omitempty"` // Deprecated: Tag should no longer be used. Instead, use Tags. Tag *string `json:"tag,omitempty"` Tags []string `json:"tags"`