AddBlockStorageDetails

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

Bases: object

The information about added block volumes.

Attributes

NODE_TYPE_COMPUTE_ONLY_WORKER A constant which can be used with the node_type property of a AddBlockStorageDetails.
NODE_TYPE_KAFKA_BROKER A constant which can be used with the node_type property of a AddBlockStorageDetails.
NODE_TYPE_WORKER A constant which can be used with the node_type property of a AddBlockStorageDetails.
block_volume_size_in_gbs [Required] Gets the block_volume_size_in_gbs of this AddBlockStorageDetails.
cluster_admin_password [Required] Gets the cluster_admin_password of this AddBlockStorageDetails.
node_type [Required] Gets the node_type of this AddBlockStorageDetails.

Methods

__init__(**kwargs) Initializes a new AddBlockStorageDetails 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 AddBlockStorageDetails. This constant has a value of “COMPUTE_ONLY_WORKER”

NODE_TYPE_KAFKA_BROKER = 'KAFKA_BROKER'

A constant which can be used with the node_type property of a AddBlockStorageDetails. 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 AddBlockStorageDetails. This constant has a value of “WORKER”

__init__(**kwargs)

Initializes a new AddBlockStorageDetails 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 AddBlockStorageDetails.
  • block_volume_size_in_gbs (int) – The value to assign to the block_volume_size_in_gbs property of this AddBlockStorageDetails.
  • node_type (str) – The value to assign to the node_type property of this AddBlockStorageDetails. Allowed values for this property are: “WORKER”, “COMPUTE_ONLY_WORKER”, “KAFKA_BROKER”
block_volume_size_in_gbs

[Required] Gets the block_volume_size_in_gbs of this AddBlockStorageDetails. The size of block volume in GB to be added to each worker node. All the details needed for attaching the block volume are managed by service itself.

Returns:The block_volume_size_in_gbs of this AddBlockStorageDetails.
Return type:int
cluster_admin_password

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

Returns:The cluster_admin_password of this AddBlockStorageDetails.
Return type:str
node_type

[Required] Gets the node_type of this AddBlockStorageDetails. Worker node types.

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

Returns:The node_type of this AddBlockStorageDetails.
Return type:str