Module Values.UpdateNodeStateRequestSource

A request to update the state of a node.

Sourcetype nonrec t = {
  1. clusterId : string;
    (*

    The ID of the cluster

    *)
  2. nodeId : string;
    (*

    The ID of the node.

    *)
  3. state : UpdateNodeState.t option;
    (*

    The state to apply to the Node. Set to ACTIVE (COMMISSIONED) to indicate that the Node is deployable. MediaLive Anywhere will consider this node it needs a Node to run a Channel on, or when it needs a Node to promote from a backup node to an active node. Set to DRAINING to isolate the Node so that MediaLive Anywhere won't use it.

    *)
}
Sourceval context_ : string
Sourceval make : ?state:??? -> clusterId:string -> nodeId:string -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of string ]) 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