package equinoxe-cohttp

  1. Overview
  2. Docs

This module represents the state of a Device in the Equinix API.

type t =
  1. | Active
  2. | Queued
  3. | Provisioning
  4. | Inactive
  5. | Powering_off
  6. | Powering_on

Available state to describe a machine.

val of_string : string -> t

of_string str returns a state in function of a string. If the state is not known, it raises an Unknown_value exception.

val to_string : t -> string

to_string t returns a string representation of the state.

OCaml

Innovation. Community. Security.