GiHomeSummary¶
- class oci.database.models.GiHomeSummary(**kwargs)¶
Bases:
objectA Grid Infrastructure Home summary.
To use any of the API operations, you must be authorized in an IAM policy. If you’re not authorized, talk to an administrator. If you’re an administrator who needs to write policies to give users access, see Getting Started with Policies.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Attributes:
A constant which can be used with the available_actions property of a GiHomeSummary.
A constant which can be used with the available_actions property of a GiHomeSummary.
A constant which can be used with the available_actions property of a GiHomeSummary.
A constant which can be used with the available_actions property of a GiHomeSummary.
A constant which can be used with the available_type property of a GiHomeSummary.
A constant which can be used with the available_type property of a GiHomeSummary.
A constant which can be used with the lifecycle_state property of a GiHomeSummary.
A constant which can be used with the lifecycle_state property of a GiHomeSummary.
A constant which can be used with the lifecycle_state property of a GiHomeSummary.
A constant which can be used with the lifecycle_state property of a GiHomeSummary.
A constant which can be used with the lifecycle_state property of a GiHomeSummary.
A constant which can be used with the lifecycle_state property of a GiHomeSummary.
A constant which can be used with the lifecycle_state property of a GiHomeSummary.
Gets the available_actions of this GiHomeSummary.
Gets the available_type of this GiHomeSummary.
[Required] Gets the compartment_id of this GiHomeSummary.
Gets the db_system_id of this GiHomeSummary.
Gets the defined_tags of this GiHomeSummary.
[Required] Gets the display_name of this GiHomeSummary.
Gets the freeform_tags of this GiHomeSummary.
Gets the gi_image_id of this GiHomeSummary.
[Required] Gets the gi_version of this GiHomeSummary.
[Required] Gets the home_path of this GiHomeSummary.
[Required] Gets the id of this GiHomeSummary.
Gets the is_active of this GiHomeSummary.
Gets the is_default_created of this GiHomeSummary.
Gets the lifecycle_details of this GiHomeSummary.
[Required] Gets the lifecycle_state of this GiHomeSummary.
Gets the system_tags of this GiHomeSummary.
[Required] Gets the time_created of this GiHomeSummary.
[Required] Gets the time_updated of this GiHomeSummary.
Methods:
__init__(**kwargs)Initializes a new GiHomeSummary object with values from keyword arguments.
- AVAILABLE_ACTIONS_PRECHECK = 'PRECHECK'¶
A constant which can be used with the available_actions property of a GiHomeSummary. This constant has a value of “PRECHECK”
- AVAILABLE_ACTIONS_RETRY = 'RETRY'¶
A constant which can be used with the available_actions property of a GiHomeSummary. This constant has a value of “RETRY”
- AVAILABLE_ACTIONS_ROLLBACK = 'ROLLBACK'¶
A constant which can be used with the available_actions property of a GiHomeSummary. This constant has a value of “ROLLBACK”
- AVAILABLE_ACTIONS_ROLLING_APPLY = 'ROLLING_APPLY'¶
A constant which can be used with the available_actions property of a GiHomeSummary. This constant has a value of “ROLLING_APPLY”
- AVAILABLE_TYPE_GI_PATCH = 'GI_PATCH'¶
A constant which can be used with the available_type property of a GiHomeSummary. This constant has a value of “GI_PATCH”
- AVAILABLE_TYPE_GI_UPGRADE = 'GI_UPGRADE'¶
A constant which can be used with the available_type property of a GiHomeSummary. This constant has a value of “GI_UPGRADE”
- LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'¶
A constant which can be used with the lifecycle_state property of a GiHomeSummary. This constant has a value of “AVAILABLE”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a GiHomeSummary. This constant has a value of “FAILED”
- LIFECYCLE_STATE_INACTIVE = 'INACTIVE'¶
A constant which can be used with the lifecycle_state property of a GiHomeSummary. This constant has a value of “INACTIVE”
- LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'¶
A constant which can be used with the lifecycle_state property of a GiHomeSummary. This constant has a value of “PROVISIONING”
- LIFECYCLE_STATE_TERMINATED = 'TERMINATED'¶
A constant which can be used with the lifecycle_state property of a GiHomeSummary. This constant has a value of “TERMINATED”
- LIFECYCLE_STATE_TERMINATING = 'TERMINATING'¶
A constant which can be used with the lifecycle_state property of a GiHomeSummary. This constant has a value of “TERMINATING”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a GiHomeSummary. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new GiHomeSummary 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 GiHomeSummary.
compartment_id (str) – The value to assign to the compartment_id property of this GiHomeSummary.
display_name (str) – The value to assign to the display_name property of this GiHomeSummary.
is_default_created (bool) – The value to assign to the is_default_created property of this GiHomeSummary.
is_active (bool) – The value to assign to the is_active property of this GiHomeSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this GiHomeSummary. Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “UPDATING”, “TERMINATING”, “TERMINATED”, “FAILED”, “INACTIVE”, ‘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 GiHomeSummary.
home_path (str) – The value to assign to the home_path property of this GiHomeSummary.
available_actions (list[str]) – The value to assign to the available_actions property of this GiHomeSummary. Allowed values for items in this list are: “PRECHECK”, “ROLLING_APPLY”, “RETRY”, “ROLLBACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
available_type (str) – The value to assign to the available_type property of this GiHomeSummary. Allowed values for this property are: “GI_UPGRADE”, “GI_PATCH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this GiHomeSummary.
gi_version (str) – The value to assign to the gi_version property of this GiHomeSummary.
gi_image_id (str) – The value to assign to the gi_image_id property of this GiHomeSummary.
time_updated (datetime) – The value to assign to the time_updated property of this GiHomeSummary.
db_system_id (str) – The value to assign to the db_system_id property of this GiHomeSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this GiHomeSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this GiHomeSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this GiHomeSummary.
- property available_actions¶
Gets the available_actions of this GiHomeSummary. The possible Grid Infrastructure update actions that can be performed using this Grid Infrastructure Home.
Allowed values for items in this list are: “PRECHECK”, “ROLLING_APPLY”, “RETRY”, “ROLLBACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The available_actions of this GiHomeSummary.
- Return type
list[str]
- property available_type¶
Gets the available_type of this GiHomeSummary. The type of update that the Grid Infrastructure Home can be used for.
Allowed values for this property are: “GI_UPGRADE”, “GI_PATCH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The available_type of this GiHomeSummary.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this GiHomeSummary. The OCID of the compartment.
- Returns
The compartment_id of this GiHomeSummary.
- Return type
str
- property db_system_id¶
Gets the db_system_id of this GiHomeSummary. The OCID of the DB system.
- Returns
The db_system_id of this GiHomeSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this GiHomeSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Returns
The defined_tags of this GiHomeSummary.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this GiHomeSummary. The user-provided name for the Grid Infrastructure Home. The name does not need to be unique and gets dynamically generated if null.
- Returns
The display_name of this GiHomeSummary.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this GiHomeSummary. 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 GiHomeSummary.
- Return type
dict(str, str)
- property gi_image_id¶
Gets the gi_image_id of this GiHomeSummary. The grid infrastructure home image OCID
- Returns
The gi_image_id of this GiHomeSummary.
- Return type
str
- property gi_version¶
[Required] Gets the gi_version of this GiHomeSummary. A valid Oracle Grid Infrastructure (GI) software version.
- Returns
The gi_version of this GiHomeSummary.
- Return type
str
- property home_path¶
[Required] Gets the home_path of this GiHomeSummary. The path of the Grid Infrastructure Home.
- Returns
The home_path of this GiHomeSummary.
- Return type
str
- property id¶
[Required] Gets the id of this GiHomeSummary. The OCID of the Grid Infrastructure Home.
- Returns
The id of this GiHomeSummary.
- Return type
str
- property is_active¶
Gets the is_active of this GiHomeSummary. Indicates whether the Grid Infrastructure Home is currently active for the cluster.
- Returns
The is_active of this GiHomeSummary.
- Return type
bool
- property is_default_created¶
Gets the is_default_created of this GiHomeSummary. Indicates whether the grid infrastructure home is created by default.
- Returns
The is_default_created of this GiHomeSummary.
- Return type
bool
- property lifecycle_details¶
Gets the lifecycle_details of this GiHomeSummary. Additional information about the current lifecycle state.
- Returns
The lifecycle_details of this GiHomeSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this GiHomeSummary. The current state of the Grid Infrastructure Home.
Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “UPDATING”, “TERMINATING”, “TERMINATED”, “FAILED”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this GiHomeSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this GiHomeSummary. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Returns
The system_tags of this GiHomeSummary.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this GiHomeSummary. The time and date as an RFC3339 formatted string, e.g., 2024-04-11T01:59:07.032Z, when the grid infrastructure home was created
- Returns
The time_created of this GiHomeSummary.
- Return type
datetime
- property time_updated¶
[Required] Gets the time_updated of this GiHomeSummary. The time and date as an RFC3339 formatted string, e.g., 2024-04-11T01:59:07.032Z, when the grid infrastructure home was updated
- Returns
The time_updated of this GiHomeSummary.
- Return type
datetime