Normalized representation of a running or tracked compute resource.
:raw holds the provider's native response for callers that need access to
fields ExAtlas doesn't normalize.
Summary
Types
@type port_binding() :: %{ internal: pos_integer(), external: pos_integer() | nil, protocol: :http | :tcp, url: String.t() | nil }
@type status() :: :provisioning | :running | :stopped | :terminated | :failed
@type t() :: %ExAtlas.Spec.Compute{ auth: auth_handle() | nil, cost_per_hour: float() | Decimal.t() | nil, created_at: DateTime.t() | nil, gpu_count: pos_integer(), gpu_type: String.t() | nil, id: String.t(), image: String.t() | nil, name: String.t() | nil, ports: [port_binding()], provider: atom(), public_ip: String.t() | nil, raw: map(), region: String.t() | nil, status: status() }