netunicorn.base.types.NodesRepresentation

class NodesRepresentation[source]

Bases: TypedDict

Nodes JSON representation.

Attributes

node_pool_type

Type of node pool.

node_pool_data

Node pool data (nodes)

node_pool_metadata

Optional additional information for the pool instantiation

Methods

fromkeys

Create a new dictionary with keys from iterable and values set to value.

node_pool_type: str[source]

Type of node pool.

node_pool_data: List[Union[NodeRepresentation, NodesRepresentation]][source]

Node pool data (nodes)

node_pool_metadata: Optional[Any][source]

Optional additional information for the pool instantiation