Module Values.PlatformDeviceSource

The devices that are available on the container instance. The only supported device type is a GPU.

Sourcetype nonrec t = {
  1. id : String_.t;
    (*

    The ID for the GPUs on the container instance. The available GPU IDs can also be obtained on the container instance in the /var/lib/ecs/gpu/nvidia_gpu_info.json file.

    *)
  2. type_ : PlatformDeviceType.t;
    (*

    The type of device that's available on the container instance. The only supported value is GPU.

    *)
}
Sourceval context_ : string
Sourceval make : id:String_.t -> type_:PlatformDeviceType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `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