NodeReplaceConfiguration¶
-
class
oci.bds.models.NodeReplaceConfiguration(**kwargs)¶ Bases:
objectThe information about the NodeReplaceConfiguration.
Attributes
LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a NodeReplaceConfiguration. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a NodeReplaceConfiguration. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a NodeReplaceConfiguration. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a NodeReplaceConfiguration. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a NodeReplaceConfiguration. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a NodeReplaceConfiguration. METRIC_TYPE_INSTANCE_ACCESSIBILITY_STATUSA constant which can be used with the metric_type property of a NodeReplaceConfiguration. METRIC_TYPE_INSTANCE_STATUSA constant which can be used with the metric_type property of a NodeReplaceConfiguration. bds_instance_id[Required] Gets the bds_instance_id of this NodeReplaceConfiguration. display_name[Required] Gets the display_name of this NodeReplaceConfiguration. duration_in_minutes[Required] Gets the duration_in_minutes of this NodeReplaceConfiguration. id[Required] Gets the id of this NodeReplaceConfiguration. level_type_details[Required] Gets the level_type_details of this NodeReplaceConfiguration. lifecycle_state[Required] Gets the lifecycle_state of this NodeReplaceConfiguration. metric_type[Required] Gets the metric_type of this NodeReplaceConfiguration. time_created[Required] Gets the time_created of this NodeReplaceConfiguration. time_updated[Required] Gets the time_updated of this NodeReplaceConfiguration. Methods
__init__(**kwargs)Initializes a new NodeReplaceConfiguration object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a NodeReplaceConfiguration. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a NodeReplaceConfiguration. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a NodeReplaceConfiguration. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a NodeReplaceConfiguration. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a NodeReplaceConfiguration. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a NodeReplaceConfiguration. This constant has a value of “UPDATING”
-
METRIC_TYPE_INSTANCE_ACCESSIBILITY_STATUS= 'INSTANCE_ACCESSIBILITY_STATUS'¶ A constant which can be used with the metric_type property of a NodeReplaceConfiguration. This constant has a value of “INSTANCE_ACCESSIBILITY_STATUS”
-
METRIC_TYPE_INSTANCE_STATUS= 'INSTANCE_STATUS'¶ A constant which can be used with the metric_type property of a NodeReplaceConfiguration. This constant has a value of “INSTANCE_STATUS”
-
__init__(**kwargs)¶ Initializes a new NodeReplaceConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this NodeReplaceConfiguration.
- bds_instance_id (str) – The value to assign to the bds_instance_id property of this NodeReplaceConfiguration.
- display_name (str) – The value to assign to the display_name property of this NodeReplaceConfiguration.
- level_type_details (oci.bds.models.LevelTypeDetails) – The value to assign to the level_type_details property of this NodeReplaceConfiguration.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this NodeReplaceConfiguration. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this NodeReplaceConfiguration.
- time_updated (datetime) – The value to assign to the time_updated property of this NodeReplaceConfiguration.
- metric_type (str) – The value to assign to the metric_type property of this NodeReplaceConfiguration. Allowed values for this property are: “INSTANCE_STATUS”, “INSTANCE_ACCESSIBILITY_STATUS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- duration_in_minutes (int) – The value to assign to the duration_in_minutes property of this NodeReplaceConfiguration.
-
bds_instance_id¶ [Required] Gets the bds_instance_id of this NodeReplaceConfiguration. The OCID of the bdsInstance which is the parent resource id.
Returns: The bds_instance_id of this NodeReplaceConfiguration. Return type: str
-
display_name¶ [Required] Gets the display_name of this NodeReplaceConfiguration. 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 NodeReplaceConfiguration. Return type: str
-
duration_in_minutes¶ [Required] Gets the duration_in_minutes of this NodeReplaceConfiguration. This value is the minimum period of time to wait for metric emission before triggering node replacement. The value is in minutes.
Returns: The duration_in_minutes of this NodeReplaceConfiguration. Return type: int
-
id¶ [Required] Gets the id of this NodeReplaceConfiguration. The unique identifier for the NodeReplaceConfiguration.
Returns: The id of this NodeReplaceConfiguration. Return type: str
-
level_type_details¶ [Required] Gets the level_type_details of this NodeReplaceConfiguration.
Returns: The level_type_details of this NodeReplaceConfiguration. Return type: oci.bds.models.LevelTypeDetails
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this NodeReplaceConfiguration. The state of the NodeReplaceConfiguration.
Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this NodeReplaceConfiguration. Return type: str
-
metric_type¶ [Required] Gets the metric_type of this NodeReplaceConfiguration. Type of compute instance health metric to use for node replacement
Allowed values for this property are: “INSTANCE_STATUS”, “INSTANCE_ACCESSIBILITY_STATUS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The metric_type of this NodeReplaceConfiguration. Return type: str
-
time_created¶ [Required] Gets the time_created of this NodeReplaceConfiguration. The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted datetime string.
Returns: The time_created of this NodeReplaceConfiguration. Return type: datetime
-
time_updated¶ [Required] Gets the time_updated of this NodeReplaceConfiguration. The time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted datetime string.
Returns: The time_updated of this NodeReplaceConfiguration. Return type: datetime
-