manta_shared/shared/params/hardware.rs
1//! Parameters for `GET /hardware-clusters` and `GET /hardware-nodes-list`.
2
3/// Typed parameters for fetching cluster hardware inventory.
4pub struct GetHardwareClusterParams {
5 pub hsm_group_name: Option<String>,
6 pub settings_hsm_group_name: Option<String>,
7}
8
9/// Typed parameters for fetching hardware inventory for a list of nodes.
10#[derive(Debug)]
11pub struct GetHardwareNodesListParams {
12 /// Comma-separated xnames.
13 pub xnames: String,
14}