AddWorkerNodesDetails

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

Bases: object

The information about added nodes.

Attributes:

NODE_TYPE_COMPUTE_ONLY_WORKER

A constant which can be used with the node_type property of a AddWorkerNodesDetails.

NODE_TYPE_EDGE

A constant which can be used with the node_type property of a AddWorkerNodesDetails.

NODE_TYPE_KAFKA_BROKER

A constant which can be used with the node_type property of a AddWorkerNodesDetails.

NODE_TYPE_WORKER

A constant which can be used with the node_type property of a AddWorkerNodesDetails.

block_volume_size_in_gbs

Gets the block_volume_size_in_gbs of this AddWorkerNodesDetails.

cluster_admin_password

Gets the cluster_admin_password of this AddWorkerNodesDetails.

node_type

[Required] Gets the node_type of this AddWorkerNodesDetails.

number_of_worker_nodes

[Required] Gets the number_of_worker_nodes of this AddWorkerNodesDetails.

secret_id

Gets the secret_id of this AddWorkerNodesDetails.

shape

Gets the shape of this AddWorkerNodesDetails.

shape_config

Gets the shape_config of this AddWorkerNodesDetails.

Methods:

__init__(**kwargs)

Initializes a new AddWorkerNodesDetails object with values from keyword arguments.

NODE_TYPE_COMPUTE_ONLY_WORKER = 'COMPUTE_ONLY_WORKER'

A constant which can be used with the node_type property of a AddWorkerNodesDetails. This constant has a value of “COMPUTE_ONLY_WORKER”

NODE_TYPE_EDGE = 'EDGE'

A constant which can be used with the node_type property of a AddWorkerNodesDetails. This constant has a value of “EDGE”

NODE_TYPE_KAFKA_BROKER = 'KAFKA_BROKER'

A constant which can be used with the node_type property of a AddWorkerNodesDetails. This constant has a value of “KAFKA_BROKER”

NODE_TYPE_WORKER = 'WORKER'

A constant which can be used with the node_type property of a AddWorkerNodesDetails. This constant has a value of “WORKER”

__init__(**kwargs)

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

Parameters
  • cluster_admin_password (str) – The value to assign to the cluster_admin_password property of this AddWorkerNodesDetails.

  • secret_id (str) – The value to assign to the secret_id property of this AddWorkerNodesDetails.

  • number_of_worker_nodes (int) – The value to assign to the number_of_worker_nodes property of this AddWorkerNodesDetails.

  • node_type (str) – The value to assign to the node_type property of this AddWorkerNodesDetails. Allowed values for this property are: “WORKER”, “COMPUTE_ONLY_WORKER”, “EDGE”, “KAFKA_BROKER”

  • shape (str) – The value to assign to the shape property of this AddWorkerNodesDetails.

  • block_volume_size_in_gbs (int) – The value to assign to the block_volume_size_in_gbs property of this AddWorkerNodesDetails.

  • shape_config (oci.bds.models.ShapeConfigDetails) – The value to assign to the shape_config property of this AddWorkerNodesDetails.

property block_volume_size_in_gbs

Gets the block_volume_size_in_gbs of this AddWorkerNodesDetails. The size of block volume in GB to be attached to the given node. This has to be specified when adding compute only worker or edge node at the first time. For EDGE nodes. Each node can have a different block storage size within the valid range (50GB-10TB) and the value must be specified.

Returns

The block_volume_size_in_gbs of this AddWorkerNodesDetails.

Return type

int

property cluster_admin_password

Gets the cluster_admin_password of this AddWorkerNodesDetails. Base-64 encoded password for the cluster (and Cloudera Manager) admin user.

Returns

The cluster_admin_password of this AddWorkerNodesDetails.

Return type

str

property node_type

[Required] Gets the node_type of this AddWorkerNodesDetails. Worker node types, can either be Worker Data node or Compute only worker node.

Allowed values for this property are: “WORKER”, “COMPUTE_ONLY_WORKER”, “EDGE”, “KAFKA_BROKER”

Returns

The node_type of this AddWorkerNodesDetails.

Return type

str

property number_of_worker_nodes

[Required] Gets the number_of_worker_nodes of this AddWorkerNodesDetails. Number of additional worker nodes for the cluster.

Returns

The number_of_worker_nodes of this AddWorkerNodesDetails.

Return type

int

property secret_id

Gets the secret_id of this AddWorkerNodesDetails. The secretId for the clusterAdminPassword.

Returns

The secret_id of this AddWorkerNodesDetails.

Return type

str

property shape

Gets the shape of this AddWorkerNodesDetails. Shape of the node. This has to be specified when adding compute only worker node at the first time. Otherwise, it’s a read-only property.

Returns

The shape of this AddWorkerNodesDetails.

Return type

str

property shape_config

Gets the shape_config of this AddWorkerNodesDetails.

Returns

The shape_config of this AddWorkerNodesDetails.

Return type

oci.bds.models.ShapeConfigDetails