CreateNodeReplaceConfigurationDetails

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

Bases: object

The information about the NodeReplaceConfiguration

Methods

__init__(**kwargs) Initializes a new CreateNodeReplaceConfigurationDetails object with values from keyword arguments.

Attributes

cluster_admin_password [Required] Gets the cluster_admin_password of this CreateNodeReplaceConfigurationDetails.
display_name Gets the display_name of this CreateNodeReplaceConfigurationDetails.
duration_in_minutes [Required] Gets the duration_in_minutes of this CreateNodeReplaceConfigurationDetails.
level_type_details [Required] Gets the level_type_details of this CreateNodeReplaceConfigurationDetails.
metric_type [Required] Gets the metric_type of this CreateNodeReplaceConfigurationDetails.
__init__(**kwargs)

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

Parameters:
  • level_type_details (oci.bds.models.LevelTypeDetails) – The value to assign to the level_type_details property of this CreateNodeReplaceConfigurationDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateNodeReplaceConfigurationDetails.
  • cluster_admin_password (str) – The value to assign to the cluster_admin_password property of this CreateNodeReplaceConfigurationDetails.
  • metric_type (str) – The value to assign to the metric_type property of this CreateNodeReplaceConfigurationDetails.
  • duration_in_minutes (int) – The value to assign to the duration_in_minutes property of this CreateNodeReplaceConfigurationDetails.
cluster_admin_password

[Required] Gets the cluster_admin_password of this CreateNodeReplaceConfigurationDetails. Base-64 encoded password for the cluster admin user.

Returns:The cluster_admin_password of this CreateNodeReplaceConfigurationDetails.
Return type:str
display_name

Gets the display_name of this CreateNodeReplaceConfigurationDetails. A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.

Returns:The display_name of this CreateNodeReplaceConfigurationDetails.
Return type:str
duration_in_minutes

[Required] Gets the duration_in_minutes of this CreateNodeReplaceConfigurationDetails. This value is the minimum period of time to wait before triggering node replacement. The value is in minutes.

Returns:The duration_in_minutes of this CreateNodeReplaceConfigurationDetails.
Return type:int
level_type_details

[Required] Gets the level_type_details of this CreateNodeReplaceConfigurationDetails.

Returns:The level_type_details of this CreateNodeReplaceConfigurationDetails.
Return type:oci.bds.models.LevelTypeDetails
metric_type

[Required] Gets the metric_type of this CreateNodeReplaceConfigurationDetails. Type of compute instance health metric to use for node replacement

Returns:The metric_type of this CreateNodeReplaceConfigurationDetails.
Return type:str