pub async fn apply_hw_configuration(
infra: &InfraContext<'_>,
shasta_token: &str,
p: ApplyHwConfigurationParams<'_>,
) -> Result<ApplyHwResult, Error>Expand description
Service entry point for POST /hardware-clusters/{target}/configuration.
ยงErrors
- [
Error::InvalidPattern] whenp.patterncannot be parsed. - [
Error::NotFound] when the target group is missing andp.create_target_groupis false. - [
Error::BadRequest] when a dry-run would require creating the target group. - [
Error::InsufficientResources] when the parent group cannot supply enough of any component named in the pattern. - [
Error::NetError] / [Error::CsmError] from any of theget_group/ hardware-inventory / membership-mutation backend calls.