@finalclass MicrovmA MicroVM as GetMicrovm last described it.
Constructor
Section titled “Constructor”Microvm declares no __new__ or __init__, so it is not constructed directly: an instance comes back from another call in this package.
Properties
Section titled “Properties”endpoint
Section titled “endpoint”endpoint: strThe proxy endpoint. Pair it with the agent token in Session.attach.
id: stridle_policy
Section titled “idle_policy”idle_policy: IdlePolicy | NoneThe idle policy the service reports, or None when it sent none.
image_arn
Section titled “image_arn”image_arn: strimage_version
Section titled “image_version”image_version: strmaximum_duration_seconds
Section titled “maximum_duration_seconds”maximum_duration_seconds: int | NonemaximumDurationInSeconds. Suspended time counts toward it.
started_at
Section titled “started_at”started_at: float | NoneWhen the VM first started, as Unix seconds.
state: str"PENDING", "RUNNING", "SUSPENDING", "SUSPENDED", "TERMINATING", or
"TERMINATED", as the service spells it. Eventually consistent.
state_reason
Section titled “state_reason”state_reason: str | NoneWhy the VM is in this state, when the service said.
terminated_at
Section titled “terminated_at”terminated_at: float | NoneWhen the VM terminated, as Unix seconds, once it has.
Special methods
Section titled “Special methods”__repr__
Section titled “__repr__”def __repr__() -> strProvenance
Section titled “Provenance”This page is generated from bindings/microvms-py/microvms.pyi by Griffe 2.3.0, run from site/scripts/gen-reference.mjs on every pnpm run sync, so an edit made here is overwritten by the next run.
To change the page, change the doc comment in the binding’s Rust source, then regenerate the declarations with mise run stubs. mise run stubs:check fails when the committed file no longer matches the source.