NodeTypeShapeConfig

class oci.bds.models.NodeTypeShapeConfig(**kwargs)

Bases: object

Shape configuration at node type level. Start cluster will start all nodes as is if no config is specified.

Methods

__init__(**kwargs) Initializes a new NodeTypeShapeConfig object with values from keyword arguments.

Attributes

node_type [Required] Gets the node_type of this NodeTypeShapeConfig.
shape [Required] Gets the shape of this NodeTypeShapeConfig.
__init__(**kwargs)

Initializes a new NodeTypeShapeConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • node_type (str) – The value to assign to the node_type property of this NodeTypeShapeConfig.
  • shape (str) – The value to assign to the shape property of this NodeTypeShapeConfig.
node_type

[Required] Gets the node_type of this NodeTypeShapeConfig. The Big Data Service cluster node type.

Returns:The node_type of this NodeTypeShapeConfig.
Return type:str
shape

[Required] Gets the shape of this NodeTypeShapeConfig. Shape of the node. This has to be specified when starting the cluster. Defaults to wn0 for homogeneous clusters and remains empty for heterogeneous clusters. If provided, all nodes in the node type will adopt the specified shape; otherwise, nodes retain their original shapes.

Returns:The shape of this NodeTypeShapeConfig.
Return type:str