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 [Required] Gets the cluster_admin_password of this ReplaceNodeDetails.
node_backup_id [Required] Gets the node_backup_id of this ReplaceNodeDetails.
node_host_name [Required] Gets the node_host_name 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.
  • shape (str) – The value to assign to the shape property of this ReplaceNodeDetails.
cluster_admin_password

[Required] 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
node_backup_id

[Required] 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
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
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