CreateNodeDetails¶
- class oci.bds.models.CreateNodeDetails(**kwargs)¶
Bases:
objectThe information about the new node.
Methods:
__init__(**kwargs)Initializes a new CreateNodeDetails object with values from keyword arguments.
Attributes:
[Required] Gets the block_volume_size_in_gbs of this CreateNodeDetails.
[Required] Gets the node_type of this CreateNodeDetails.
[Required] Gets the shape of this CreateNodeDetails.
Gets the shape_config of this CreateNodeDetails.
[Required] Gets the subnet_id of this CreateNodeDetails.
- __init__(**kwargs)¶
Initializes a new CreateNodeDetails 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 CreateNodeDetails.
shape (str) – The value to assign to the shape property of this CreateNodeDetails.
block_volume_size_in_gbs (int) – The value to assign to the block_volume_size_in_gbs property of this CreateNodeDetails.
subnet_id (str) – The value to assign to the subnet_id property of this CreateNodeDetails.
shape_config (oci.bds.models.ShapeConfigDetails) – The value to assign to the shape_config property of this CreateNodeDetails.
- property block_volume_size_in_gbs¶
[Required] Gets the block_volume_size_in_gbs of this CreateNodeDetails. The size of block volume in GB to be attached to a given node. All the details needed for attaching the block volume are managed by service itself.
- Returns
The block_volume_size_in_gbs of this CreateNodeDetails.
- Return type
int
- property node_type¶
[Required] Gets the node_type of this CreateNodeDetails. The Big Data Service cluster node type.
- Returns
The node_type of this CreateNodeDetails.
- Return type
str
- property shape¶
[Required] Gets the shape of this CreateNodeDetails. Shape of the node.
- Returns
The shape of this CreateNodeDetails.
- Return type
str
- property shape_config¶
Gets the shape_config of this CreateNodeDetails.
- Returns
The shape_config of this CreateNodeDetails.
- Return type
- property subnet_id¶
[Required] Gets the subnet_id of this CreateNodeDetails. The OCID of the subnet in which the node will be created.
- Returns
The subnet_id of this CreateNodeDetails.
- Return type
str