Module Values.CreateNodeRegistrationScriptRequestSource

A request to create a new node registration script.

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

    The ID of the cluster

    *)
  2. id : string option;
    (*

    If you're generating a re-registration script for an already existing node, this is where you provide the id.

    *)
  3. name : string option;
    (*

    Specify a pattern for MediaLive Anywhere to use to assign a name to each Node in the Cluster. The pattern can include the variables $hn (hostname of the node hardware) and $ts for the date and time that the Node is created, in UTC (for example, 2024-08-20T23:35:12Z).

    *)
  4. nodeInterfaceMappings : NodeInterfaceMapping.t list option;
    (*

    Documentation update needed

    *)
  5. requestId : string option;
    (*

    An ID that you assign to a create request. This ID ensures idempotency when creating resources.

    *)
  6. role : NodeRole.t option;
    (*

    The initial role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails.

    *)
}
Sourceval context_ : string
Sourceval make : ?id:??? -> ?name:??? -> ?nodeInterfaceMappings:??? -> ?requestId:??? -> ?role:??? -> clusterId:string -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `String of string ] list | `String of string ]) list ] list | `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