pub struct RunMicrovmWire {
pub image_identifier: String,
pub image_version: Option<String>,
pub execution_role_arn: Option<String>,
pub ingress_network_connectors: Vec<String>,
pub egress_network_connectors: Option<Vec<String>>,
pub idle_policy: IdlePolicy,
pub maximum_duration_in_seconds: u32,
pub run_hook_payload: String,
pub logging: Option<Logging>,
/* private fields */
}Expand description
RunMicrovmRequest.
runHookPayload is the only per-VM secret channel the platform offers and is checked
against the 4096-byte ceiling before this struct is built (TRAP-5).
Fields§
§image_identifier: String§image_version: Option<String>Version, absent unless the caller pinned one.
Absent means “whatever the image’s latestActiveImageVersion is”, which is what this
client always sent. Pinning it is the launch half of the blue/green story: a canary
launches against exactly the version it means to test, and a rollback re-pins to the
previous one rather than hoping the image’s notion of latest has moved back.
A version set INACTIVE by UpdateMicrovmImageVersion refuses to launch when pinned
here — measured, see crate::control::ControlPlane::set_image_version_status.
execution_role_arn: Option<String>§ingress_network_connectors: Vec<String>Derived ARNs, never caller strings (TRAP-4).
egress_network_connectors: Option<Vec<String>>Managed internet or customer-managed VPC egress connector ARNs. Absent when neither was requested; omission does not block internet access.
idle_policy: IdlePolicy§maximum_duration_in_seconds: u32§run_hook_payload: String§logging: Option<Logging>Per-VM logging, absent unless the caller configured it (#201). Absent leaves the
service’s default destination in place.