GiHome¶
-
class
oci.database.models.GiHome(**kwargs)¶ Bases:
objectDetails of the Grid Infrastructure Home.
Attributes
LIFECYCLE_STATE_AVAILABLEA constant which can be used with the lifecycle_state property of a GiHome. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a GiHome. LIFECYCLE_STATE_INACTIVEA constant which can be used with the lifecycle_state property of a GiHome. LIFECYCLE_STATE_PROVISIONINGA constant which can be used with the lifecycle_state property of a GiHome. LIFECYCLE_STATE_TERMINATEDA constant which can be used with the lifecycle_state property of a GiHome. LIFECYCLE_STATE_TERMINATINGA constant which can be used with the lifecycle_state property of a GiHome. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a GiHome. compartment_id[Required] Gets the compartment_id of this GiHome. db_system_idGets the db_system_id of this GiHome. defined_tagsGets the defined_tags of this GiHome. display_name[Required] Gets the display_name of this GiHome. freeform_tagsGets the freeform_tags of this GiHome. gi_image_idGets the gi_image_id of this GiHome. gi_version[Required] Gets the gi_version of this GiHome. home_path[Required] Gets the home_path of this GiHome. id[Required] Gets the id of this GiHome. is_default_createdGets the is_default_created of this GiHome. lifecycle_state[Required] Gets the lifecycle_state of this GiHome. system_tagsGets the system_tags of this GiHome. time_createdGets the time_created of this GiHome. time_updatedGets the time_updated of this GiHome. Methods
__init__(**kwargs)Initializes a new GiHome object with values from keyword arguments. -
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.
- 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.
- 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.
-
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
-
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
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))
-
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
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)
-
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
-
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
-
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
-
id¶ [Required] Gets the id of this GiHome. The OCID of the Grid Infrastructure Home.
Returns: The id of this GiHome. Return type: str
-
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
-
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
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))
-
time_created¶ 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
-
time_updated¶ 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
-