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_EDGE 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 Gets the cluster_admin_password of this AddBlockStorageDetails.
node_ids Gets the node_ids of this AddBlockStorageDetails.
node_type [Required] Gets the node_type of this AddBlockStorageDetails.
secret_id Gets the secret_id 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_EDGE = 'EDGE'

A constant which can be used with the node_type property of a AddBlockStorageDetails. 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 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.
  • secret_id (str) – The value to assign to the secret_id 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”, “EDGE”
  • node_ids (list[str]) – The value to assign to the node_ids property of this AddBlockStorageDetails.
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. For WORKER, COMPUTE_ONLY_WORKER, and KAFKA_BROKER nodes, the same size will be added to all nodes of that type. For EDGE nodes, this size can be different per node when nodeId is specified. 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

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_ids

Gets the node_ids of this AddBlockStorageDetails. Optional. List of OCIDs of specific nodes to add storage to. Only supported for EDGE nodes. When omitted, storage is added to all nodes of the specified type.

Returns:The node_ids of this AddBlockStorageDetails.
Return type:list[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”, “EDGE”

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

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

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