package equinoxe

  1. Overview
  2. Docs

Module Make.StateSource

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

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

Available state to describe a machine.

Sourceval 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.

Sourceval to_string : t -> string

to_string t returns a string representation of the state.

OCaml

Innovation. Community. Security.