DbHomeFromAgentResourceId

class oci.database.models.DbHomeFromAgentResourceId(**kwargs)

Bases: object

DbHomeFromAgentResourceId model.

Attributes:

HOME_TYPE_CUSTOMER_MANAGED

A constant which can be used with the home_type property of a DbHomeFromAgentResourceId.

HOME_TYPE_ORACLE_MANAGED

A constant which can be used with the home_type property of a DbHomeFromAgentResourceId.

LIFECYCLE_STATE_AVAILABLE

A constant which can be used with the lifecycle_state property of a DbHomeFromAgentResourceId.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a DbHomeFromAgentResourceId.

LIFECYCLE_STATE_PROVISIONING

A constant which can be used with the lifecycle_state property of a DbHomeFromAgentResourceId.

LIFECYCLE_STATE_TERMINATED

A constant which can be used with the lifecycle_state property of a DbHomeFromAgentResourceId.

LIFECYCLE_STATE_TERMINATING

A constant which can be used with the lifecycle_state property of a DbHomeFromAgentResourceId.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a DbHomeFromAgentResourceId.

compartment_id

[Required] Gets the compartment_id of this DbHomeFromAgentResourceId.

database_software_image_id

Gets the database_software_image_id of this DbHomeFromAgentResourceId.

db_home_location

[Required] Gets the db_home_location of this DbHomeFromAgentResourceId.

db_system_id

Gets the db_system_id of this DbHomeFromAgentResourceId.

db_version

[Required] Gets the db_version of this DbHomeFromAgentResourceId.

defined_tags

Gets the defined_tags of this DbHomeFromAgentResourceId.

display_name

[Required] Gets the display_name of this DbHomeFromAgentResourceId.

freeform_tags

Gets the freeform_tags of this DbHomeFromAgentResourceId.

home_type

Gets the home_type of this DbHomeFromAgentResourceId.

id

[Required] Gets the id of this DbHomeFromAgentResourceId.

is_unified_auditing_enabled

Gets the is_unified_auditing_enabled of this DbHomeFromAgentResourceId.

kms_key_id

Gets the kms_key_id of this DbHomeFromAgentResourceId.

last_patch_history_entry_id

Gets the last_patch_history_entry_id of this DbHomeFromAgentResourceId.

lifecycle_details

Gets the lifecycle_details of this DbHomeFromAgentResourceId.

lifecycle_state

[Required] Gets the lifecycle_state of this DbHomeFromAgentResourceId.

one_off_patches

Gets the one_off_patches of this DbHomeFromAgentResourceId.

system_tags

Gets the system_tags of this DbHomeFromAgentResourceId.

time_created

Gets the time_created of this DbHomeFromAgentResourceId.

vm_cluster_id

Gets the vm_cluster_id of this DbHomeFromAgentResourceId.

Methods:

__init__(**kwargs)

Initializes a new DbHomeFromAgentResourceId object with values from keyword arguments.

HOME_TYPE_CUSTOMER_MANAGED = 'CUSTOMER_MANAGED'

A constant which can be used with the home_type property of a DbHomeFromAgentResourceId. This constant has a value of “CUSTOMER_MANAGED”

HOME_TYPE_ORACLE_MANAGED = 'ORACLE_MANAGED'

A constant which can be used with the home_type property of a DbHomeFromAgentResourceId. This constant has a value of “ORACLE_MANAGED”

LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'

A constant which can be used with the lifecycle_state property of a DbHomeFromAgentResourceId. This constant has a value of “AVAILABLE”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a DbHomeFromAgentResourceId. This constant has a value of “FAILED”

LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'

A constant which can be used with the lifecycle_state property of a DbHomeFromAgentResourceId. This constant has a value of “PROVISIONING”

LIFECYCLE_STATE_TERMINATED = 'TERMINATED'

A constant which can be used with the lifecycle_state property of a DbHomeFromAgentResourceId. This constant has a value of “TERMINATED”

LIFECYCLE_STATE_TERMINATING = 'TERMINATING'

A constant which can be used with the lifecycle_state property of a DbHomeFromAgentResourceId. This constant has a value of “TERMINATING”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a DbHomeFromAgentResourceId. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new DbHomeFromAgentResourceId 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 DbHomeFromAgentResourceId.

  • compartment_id (str) – The value to assign to the compartment_id property of this DbHomeFromAgentResourceId.

  • display_name (str) – The value to assign to the display_name property of this DbHomeFromAgentResourceId.

  • last_patch_history_entry_id (str) – The value to assign to the last_patch_history_entry_id property of this DbHomeFromAgentResourceId.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DbHomeFromAgentResourceId. Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “UPDATING”, “TERMINATING”, “TERMINATED”, “FAILED”

  • db_system_id (str) – The value to assign to the db_system_id property of this DbHomeFromAgentResourceId.

  • vm_cluster_id (str) – The value to assign to the vm_cluster_id property of this DbHomeFromAgentResourceId.

  • db_version (str) – The value to assign to the db_version property of this DbHomeFromAgentResourceId.

  • db_home_location (str) – The value to assign to the db_home_location property of this DbHomeFromAgentResourceId.

  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this DbHomeFromAgentResourceId.

  • time_created (datetime) – The value to assign to the time_created property of this DbHomeFromAgentResourceId.

  • kms_key_id (str) – The value to assign to the kms_key_id property of this DbHomeFromAgentResourceId.

  • one_off_patches (list[str]) – The value to assign to the one_off_patches property of this DbHomeFromAgentResourceId.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DbHomeFromAgentResourceId.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DbHomeFromAgentResourceId.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DbHomeFromAgentResourceId.

  • database_software_image_id (str) – The value to assign to the database_software_image_id property of this DbHomeFromAgentResourceId.

  • is_unified_auditing_enabled (bool) – The value to assign to the is_unified_auditing_enabled property of this DbHomeFromAgentResourceId.

  • home_type (str) – The value to assign to the home_type property of this DbHomeFromAgentResourceId. Allowed values for this property are: “ORACLE_MANAGED”, “CUSTOMER_MANAGED”

property compartment_id

[Required] Gets the compartment_id of this DbHomeFromAgentResourceId. The OCID of the compartment.

Returns

The compartment_id of this DbHomeFromAgentResourceId.

Return type

str

property database_software_image_id

Gets the database_software_image_id of this DbHomeFromAgentResourceId. The database software image OCID

Returns

The database_software_image_id of this DbHomeFromAgentResourceId.

Return type

str

property db_home_location

[Required] Gets the db_home_location of this DbHomeFromAgentResourceId. The location of the Oracle Database Home.

Returns

The db_home_location of this DbHomeFromAgentResourceId.

Return type

str

property db_system_id

Gets the db_system_id of this DbHomeFromAgentResourceId. The OCID of the DB system.

Returns

The db_system_id of this DbHomeFromAgentResourceId.

Return type

str

property db_version

[Required] Gets the db_version of this DbHomeFromAgentResourceId. The Oracle Database version.

Returns

The db_version of this DbHomeFromAgentResourceId.

Return type

str

property defined_tags

Gets the defined_tags of this DbHomeFromAgentResourceId. 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 DbHomeFromAgentResourceId.

Return type

dict(str, dict(str, object))

property display_name

[Required] Gets the display_name of this DbHomeFromAgentResourceId. The user-provided name for the Database Home. The name does not need to be unique.

Returns

The display_name of this DbHomeFromAgentResourceId.

Return type

str

property freeform_tags

Gets the freeform_tags of this DbHomeFromAgentResourceId. 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 DbHomeFromAgentResourceId.

Return type

dict(str, str)

property home_type

Gets the home_type of this DbHomeFromAgentResourceId. Represents database home will be managed by oracle or customer

Allowed values for this property are: “ORACLE_MANAGED”, “CUSTOMER_MANAGED”

Returns

The home_type of this DbHomeFromAgentResourceId.

Return type

str

property id

[Required] Gets the id of this DbHomeFromAgentResourceId. The OCID of the Database Home.

Returns

The id of this DbHomeFromAgentResourceId.

Return type

str

property is_unified_auditing_enabled

Gets the is_unified_auditing_enabled of this DbHomeFromAgentResourceId. Indicates whether unified autiding is enabled or not.

Returns

The is_unified_auditing_enabled of this DbHomeFromAgentResourceId.

Return type

bool

property kms_key_id

Gets the kms_key_id of this DbHomeFromAgentResourceId. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.

Returns

The kms_key_id of this DbHomeFromAgentResourceId.

Return type

str

property last_patch_history_entry_id

Gets the last_patch_history_entry_id of this DbHomeFromAgentResourceId. The OCID of the last patch history. This value is updated as soon as a patch operation is started.

Returns

The last_patch_history_entry_id of this DbHomeFromAgentResourceId.

Return type

str

property lifecycle_details

Gets the lifecycle_details of this DbHomeFromAgentResourceId. Additional information about the current lifecycle state.

Returns

The lifecycle_details of this DbHomeFromAgentResourceId.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this DbHomeFromAgentResourceId. The current state of the Database Home.

Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “UPDATING”, “TERMINATING”, “TERMINATED”, “FAILED”

Returns

The lifecycle_state of this DbHomeFromAgentResourceId.

Return type

str

property one_off_patches

Gets the one_off_patches of this DbHomeFromAgentResourceId. List of one-off patches for Database Homes.

Returns

The one_off_patches of this DbHomeFromAgentResourceId.

Return type

list[str]

property system_tags

Gets the system_tags of this DbHomeFromAgentResourceId. 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 DbHomeFromAgentResourceId.

Return type

dict(str, dict(str, object))

property time_created

Gets the time_created of this DbHomeFromAgentResourceId. The date and time the Database Home was created.

Returns

The time_created of this DbHomeFromAgentResourceId.

Return type

datetime

property vm_cluster_id

Gets the vm_cluster_id of this DbHomeFromAgentResourceId. The OCID of the VM cluster.

Returns

The vm_cluster_id of this DbHomeFromAgentResourceId.

Return type

str