From d442ccaf80cddfce2e534d75cc49701262206808 Mon Sep 17 00:00:00 2001 From: "F. Joe Nichols" <1735406+fjoenichols@users.noreply.github.com> Date: Tue, 28 May 2024 16:19:16 -0600 Subject: [PATCH] Add MdiskMode to BareMetalCreate and BareMetalUpdate structs (#310) Co-authored-by: Joe Nichols --- 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"`