InstancePoolRefreshSummary¶
- class oci.core.models.InstancePoolRefreshSummary(**kwargs)¶
Bases:
objectSummary information for an instance pool refresh.
Methods:
__init__(**kwargs)Initializes a new InstancePoolRefreshSummary object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this InstancePoolRefreshSummary.
Gets the defined_tags of this InstancePoolRefreshSummary.
Gets the freeform_tags of this InstancePoolRefreshSummary.
[Required] Gets the id of this InstancePoolRefreshSummary.
[Required] Gets the instance_pool_id of this InstancePoolRefreshSummary.
[Required] Gets the lifecycle_state of this InstancePoolRefreshSummary.
Gets the max_healthy_percent of this InstancePoolRefreshSummary.
Gets the percent_complete of this InstancePoolRefreshSummary.
Gets the remaining_member_count of this InstancePoolRefreshSummary.
Gets the skipped_member_count of this InstancePoolRefreshSummary.
Gets the system_tags of this InstancePoolRefreshSummary.
[Required] Gets the target_instance_configuration_id of this InstancePoolRefreshSummary.
Gets the time_completed of this InstancePoolRefreshSummary.
[Required] Gets the time_created of this InstancePoolRefreshSummary.
Gets the total_member_count of this InstancePoolRefreshSummary.
Gets the warmup_seconds of this InstancePoolRefreshSummary.
- __init__(**kwargs)¶
Initializes a new InstancePoolRefreshSummary 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 InstancePoolRefreshSummary.
compartment_id (str) – The value to assign to the compartment_id property of this InstancePoolRefreshSummary.
instance_pool_id (str) – The value to assign to the instance_pool_id property of this InstancePoolRefreshSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this InstancePoolRefreshSummary.
target_instance_configuration_id (str) – The value to assign to the target_instance_configuration_id property of this InstancePoolRefreshSummary.
max_healthy_percent (int) – The value to assign to the max_healthy_percent property of this InstancePoolRefreshSummary.
warmup_seconds (int) – The value to assign to the warmup_seconds property of this InstancePoolRefreshSummary.
total_member_count (int) – The value to assign to the total_member_count property of this InstancePoolRefreshSummary.
remaining_member_count (int) – The value to assign to the remaining_member_count property of this InstancePoolRefreshSummary.
percent_complete (int) – The value to assign to the percent_complete property of this InstancePoolRefreshSummary.
skipped_member_count (int) – The value to assign to the skipped_member_count property of this InstancePoolRefreshSummary.
time_created (datetime) – The value to assign to the time_created property of this InstancePoolRefreshSummary.
time_completed (datetime) – The value to assign to the time_completed property of this InstancePoolRefreshSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this InstancePoolRefreshSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this InstancePoolRefreshSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this InstancePoolRefreshSummary.
- property compartment_id¶
[Required] Gets the compartment_id of this InstancePoolRefreshSummary. The OCID of the compartment containing the instance pool.
- Returns
The compartment_id of this InstancePoolRefreshSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this InstancePoolRefreshSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this InstancePoolRefreshSummary.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
Gets the freeform_tags of this InstancePoolRefreshSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this InstancePoolRefreshSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this InstancePoolRefreshSummary. The OCID of the instance pool refresh.
- Returns
The id of this InstancePoolRefreshSummary.
- Return type
str
- property instance_pool_id¶
[Required] Gets the instance_pool_id of this InstancePoolRefreshSummary. The OCID of the instance pool.
- Returns
The instance_pool_id of this InstancePoolRefreshSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this InstancePoolRefreshSummary. The current state of the instance pool refresh.
- Returns
The lifecycle_state of this InstancePoolRefreshSummary.
- Return type
str
- property max_healthy_percent¶
Gets the max_healthy_percent of this InstancePoolRefreshSummary. The maximum healthy percentage requested for launch-before-terminate capacity.
- Returns
The max_healthy_percent of this InstancePoolRefreshSummary.
- Return type
int
- property percent_complete¶
Gets the percent_complete of this InstancePoolRefreshSummary. The percentage of the refresh that is complete.
- Returns
The percent_complete of this InstancePoolRefreshSummary.
- Return type
int
- property remaining_member_count¶
Gets the remaining_member_count of this InstancePoolRefreshSummary. The number of instances remaining to be refreshed.
- Returns
The remaining_member_count of this InstancePoolRefreshSummary.
- Return type
int
- property skipped_member_count¶
Gets the skipped_member_count of this InstancePoolRefreshSummary. The number of instances skipped by the refresh.
- Returns
The skipped_member_count of this InstancePoolRefreshSummary.
- Return type
int
- property system_tags¶
Gets the system_tags of this InstancePoolRefreshSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }
- Returns
The system_tags of this InstancePoolRefreshSummary.
- Return type
dict(str, dict(str, object))
- property target_instance_configuration_id¶
[Required] Gets the target_instance_configuration_id of this InstancePoolRefreshSummary. The OCID of the instance configuration captured from the instance pool when the refresh started.
- Returns
The target_instance_configuration_id of this InstancePoolRefreshSummary.
- Return type
str
- property time_completed¶
Gets the time_completed of this InstancePoolRefreshSummary. The date and time the instance pool refresh reached a terminal state, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- Returns
The time_completed of this InstancePoolRefreshSummary.
- Return type
datetime
- property time_created¶
[Required] Gets the time_created of this InstancePoolRefreshSummary. The date and time the instance pool refresh was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- Returns
The time_created of this InstancePoolRefreshSummary.
- Return type
datetime
- property total_member_count¶
Gets the total_member_count of this InstancePoolRefreshSummary. The total number of instances selected for this refresh.
- Returns
The total_member_count of this InstancePoolRefreshSummary.
- Return type
int
- property warmup_seconds¶
Gets the warmup_seconds of this InstancePoolRefreshSummary. The requested warmup duration in seconds.
- Returns
The warmup_seconds of this InstancePoolRefreshSummary.
- Return type
int