pub struct ApplyBootConfigRequest {
pub hosts_expression: String,
pub boot_image_id: Option<String>,
pub boot_image_configuration: Option<String>,
pub kernel_parameters: Option<String>,
pub runtime_configuration: Option<String>,
pub dry_run: bool,
}Expand description
Request body for POST /api/v1/boot-config.
Applies a combined boot configuration (image + runtime config +
kernel parameters) to the nodes named by hosts_expression. The
field is a hosts expression — xnames, NIDs, or hostlist notation;
HSM group names are not accepted here (resolve them client-side
first if needed).
Fields§
§hosts_expression: StringHosts expression (xnames, NIDs, or hostlist notation) naming the target nodes.
boot_image_id: Option<String>IMS image ID to set as the boot image.
boot_image_configuration: Option<String>CFS configuration name associated with the boot image; the
server resolves the most recent image built against this
configuration when boot_image_id is absent.
kernel_parameters: Option<String>Kernel command-line parameters to apply.
runtime_configuration: Option<String>CFS configuration to assign as the runtime desired-config.
dry_run: boolWhen true, return the computed changeset without persisting it.
Trait Implementations§
Source§impl Debug for ApplyBootConfigRequest
impl Debug for ApplyBootConfigRequest
Source§impl<'de> Deserialize<'de> for ApplyBootConfigRequest
impl<'de> Deserialize<'de> for ApplyBootConfigRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ApplyBootConfigRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ApplyBootConfigRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for ApplyBootConfigRequest
impl Serialize for ApplyBootConfigRequest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Freeze for ApplyBootConfigRequest
impl RefUnwindSafe for ApplyBootConfigRequest
impl Send for ApplyBootConfigRequest
impl Sync for ApplyBootConfigRequest
impl Unpin for ApplyBootConfigRequest
impl UnwindSafe for ApplyBootConfigRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more