GiHome¶
- class oci.database.models.GiHome(**kwargs)¶
Bases:
objectDetails of the Grid Infrastructure Home.
Attributes:
A constant which can be used with the available_actions property of a GiHome.
A constant which can be used with the available_actions property of a GiHome.
A constant which can be used with the available_actions property of a GiHome.
A constant which can be used with the available_actions property of a GiHome.
A constant which can be used with the available_type property of a GiHome.
A constant which can be used with the available_type property of a GiHome.
A constant which can be used with the lifecycle_state property of a GiHome.
A constant which can be used with the lifecycle_state property of a GiHome.
A constant which can be used with the lifecycle_state property of a GiHome.
A constant which can be used with the lifecycle_state property of a GiHome.
A constant which can be used with the lifecycle_state property of a GiHome.
A constant which can be used with the lifecycle_state property of a GiHome.
A constant which can be used with the lifecycle_state property of a GiHome.
Gets the available_actions of this GiHome.
Gets the available_type of this GiHome.
[Required] Gets the compartment_id of this GiHome.
Gets the db_system_id of this GiHome.
Gets the defined_tags of this GiHome.
[Required] Gets the display_name of this GiHome.
Gets the freeform_tags of this GiHome.
Gets the gi_image_id of this GiHome.
[Required] Gets the gi_version of this GiHome.
[Required] Gets the home_path of this GiHome.
[Required] Gets the id of this GiHome.
Gets the is_active of this GiHome.
Gets the is_default_created of this GiHome.
Gets the lifecycle_details of this GiHome.
[Required] Gets the lifecycle_state of this GiHome.
Gets the system_tags of this GiHome.
[Required] Gets the time_created of this GiHome.
[Required] Gets the time_updated of this GiHome.
Methods:
__init__(**kwargs)Initializes a new GiHome object with values from keyword arguments.
- AVAILABLE_ACTIONS_PRECHECK = 'PRECHECK'¶
A constant which can be used with the available_actions property of a GiHome. This constant has a value of “PRECHECK”
- AVAILABLE_ACTIONS_RETRY = 'RETRY'¶
A constant which can be used with the available_actions property of a GiHome. This constant has a value of “RETRY”
- AVAILABLE_ACTIONS_ROLLBACK = 'ROLLBACK'¶
A constant which can be used with the available_actions property of a GiHome. 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 GiHome. 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 GiHome. 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 GiHome. 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 GiHome. This constant has a value of “AVAILABLE”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a GiHome. This constant has a value of “FAILED”
- LIFECYCLE_STATE_INACTIVE = 'INACTIVE'¶
A constant which can be used with the lifecycle_state property of a GiHome. This constant has a value of “INACTIVE”
- LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'¶
A constant which can be used with the lifecycle_state property of a GiHome. This constant has a value of “PROVISIONING”
- LIFECYCLE_STATE_TERMINATED = 'TERMINATED'¶
A constant which can be used with the lifecycle_state property of a GiHome. This constant has a value of “TERMINATED”
- LIFECYCLE_STATE_TERMINATING = 'TERMINATING'¶
A constant which can be used with the lifecycle_state property of a GiHome. This constant has a value of “TERMINATING”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a GiHome. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new GiHome 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 GiHome.
compartment_id (str) – The value to assign to the compartment_id property of this GiHome.
display_name (str) – The value to assign to the display_name property of this GiHome.
is_default_created (bool) – The value to assign to the is_default_created property of this GiHome.
is_active (bool) – The value to assign to the is_active property of this GiHome.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this GiHome. 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 GiHome.
home_path (str) – The value to assign to the home_path property of this GiHome.
available_actions (list[str]) – The value to assign to the available_actions property of this GiHome. 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 GiHome. 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 GiHome.
gi_version (str) – The value to assign to the gi_version property of this GiHome.
gi_image_id (str) – The value to assign to the gi_image_id property of this GiHome.
time_updated (datetime) – The value to assign to the time_updated property of this GiHome.
db_system_id (str) – The value to assign to the db_system_id property of this GiHome.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this GiHome.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this GiHome.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this GiHome.
- property available_actions¶
Gets the available_actions of this GiHome. 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 GiHome.
- Return type
list[str]
- property available_type¶
Gets the available_type of this GiHome. 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 GiHome.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this GiHome. The OCID of the compartment.
- Returns
The compartment_id of this GiHome.
- Return type
str
- property db_system_id¶
Gets the db_system_id of this GiHome. The OCID of the DB system.
- Returns
The db_system_id of this GiHome.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this GiHome. 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 GiHome.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this GiHome. 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 GiHome.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this GiHome. 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 GiHome.
- Return type
dict(str, str)
- property gi_image_id¶
Gets the gi_image_id of this GiHome. The grid infrastructure home image OCID
- Returns
The gi_image_id of this GiHome.
- Return type
str
- property gi_version¶
[Required] Gets the gi_version of this GiHome. A valid Oracle Grid Infrastructure (GI) software version.
- Returns
The gi_version of this GiHome.
- Return type
str
- property home_path¶
[Required] Gets the home_path of this GiHome. The path of the Grid Infrastructure Home.
- Returns
The home_path of this GiHome.
- Return type
str
- property id¶
[Required] Gets the id of this GiHome. The OCID of the Grid Infrastructure Home.
- Returns
The id of this GiHome.
- Return type
str
- property is_active¶
Gets the is_active of this GiHome. Indicates whether the Grid Infrastructure Home is currently active for the cluster.
- Returns
The is_active of this GiHome.
- Return type
bool
- property is_default_created¶
Gets the is_default_created of this GiHome. Indicates whether the grid infrastructure home is created by default.
- Returns
The is_default_created of this GiHome.
- Return type
bool
- property lifecycle_details¶
Gets the lifecycle_details of this GiHome. Additional information about the current lifecycle state.
- Returns
The lifecycle_details of this GiHome.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this GiHome. 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 GiHome.
- Return type
str
- property system_tags¶
Gets the system_tags of this GiHome. 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 GiHome.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this GiHome. 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 GiHome.
- Return type
datetime
- property time_updated¶
[Required] Gets the time_updated of this GiHome. 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 GiHome.
- Return type
datetime