ReplaceNodeDetails

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

Bases: object

The information about the node to be replaced.

Methods:

__init__(**kwargs)

Initializes a new ReplaceNodeDetails object with values from keyword arguments.

Attributes:

cluster_admin_password

Gets the cluster_admin_password of this ReplaceNodeDetails.

heterogeneous_shapes

Gets the heterogeneous_shapes of this ReplaceNodeDetails.

node_backup_id

Gets the node_backup_id of this ReplaceNodeDetails.

node_host_name

[Required] Gets the node_host_name of this ReplaceNodeDetails.

secret_id

Gets the secret_id of this ReplaceNodeDetails.

shape

Gets the shape of this ReplaceNodeDetails.

__init__(**kwargs)

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

Parameters
  • node_host_name (str) – The value to assign to the node_host_name property of this ReplaceNodeDetails.

  • node_backup_id (str) – The value to assign to the node_backup_id property of this ReplaceNodeDetails.

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

  • heterogeneous_shapes (list[str]) – The value to assign to the heterogeneous_shapes property of this ReplaceNodeDetails.

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

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

property cluster_admin_password

Gets the cluster_admin_password of this ReplaceNodeDetails. Base-64 encoded password for the cluster admin user.

Returns

The cluster_admin_password of this ReplaceNodeDetails.

Return type

str

property heterogeneous_shapes

Gets the heterogeneous_shapes of this ReplaceNodeDetails. Heterogeneous shape of the node if the default shape is not available.

Returns

The heterogeneous_shapes of this ReplaceNodeDetails.

Return type

list[str]

property node_backup_id

Gets the node_backup_id of this ReplaceNodeDetails. The id of the nodeBackup to use for replacing the node.

Returns

The node_backup_id of this ReplaceNodeDetails.

Return type

str

property node_host_name

[Required] Gets the node_host_name of this ReplaceNodeDetails. Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types

Returns

The node_host_name of this ReplaceNodeDetails.

Return type

str

property secret_id

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

Returns

The secret_id of this ReplaceNodeDetails.

Return type

str

property shape

Gets the shape of this ReplaceNodeDetails. Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the node with the shape of current node.

Returns

The shape of this ReplaceNodeDetails.

Return type

str