Module Values.InstanceStateSource

Describes the virtual private server (or instance) status.

Sourcetype nonrec t = {
  1. code : Integer.t option;
    (*

    The status code for the instance.

    *)
  2. name : String_.t option;
    (*

    The state of the instance (running or pending).

    *)
}
Sourceval make : ?code:??? -> ?name:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t