Kms.PropertyA property can be used to read or write extra settings on an object (resource).
type id = [ `Property ] Id.tProperties have numeric IDs and names. Only the names are standarised.
module Info : sig ... endMetadata describing properies.
A ('obj, 'value) t is a property on objects of type 'obj with values of type 'value.
val create :
read:(Info.t -> raw_value -> 'v) ->
write:(Info.t -> 'v -> raw_value) ->
string ->
(_, 'v) tcreate ~read ~write name defines a new property.
This is useful if you need a property that isn't pre-defined.
val create_bool : string -> (_, bool) tcreate_bool name is a property whose value is 0 or 1/non-zero for true.
val create_int : string -> (_, int) tcreate_id_opt name is a property whose value is an optional ID.
create_enum name values exposes an enum property using an OCaml variant type.