Skip to content

Report PPS Type in KVP / Azure Heath Reports #192

@peytonr18

Description

@peytonr18

In the build_success_health_report() and build_failure_health_report() methods, we build the formatted health report for ingestion by Azure. Instead of hardcoding the PPS value, assign it using the extended IMDS call.

Initial Request:
"Can you file issue to correctly report the pps_type? - this can be retrieved from the extended IMDS call (which we're already using)"

Originally posted by @anhvoms in #188 (comment)

This may require updating the Compute to something like this--

#[derive(Debug, Deserialize, PartialEq, Clone)]
pub struct Compute {
    #[serde(rename = "osProfile")]
    pub os_profile: OsProfile,

    #[serde(rename = "publicKeys")]
    pub public_keys: Vec<PublicKeys>,

    #[serde(rename = "ppsType")]
    pub pps_type: Option<String>,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions