InstanceDetails

class oci.database_management.models.InstanceDetails(**kwargs)

Bases: object

The details of the Oracle Real Application Clusters (Oracle RAC) database instance.

Attributes

STATUS_DOWN A constant which can be used with the status property of a InstanceDetails.
STATUS_UNKNOWN A constant which can be used with the status property of a InstanceDetails.
STATUS_UP A constant which can be used with the status property of a InstanceDetails.
host_name [Required] Gets the host_name of this InstanceDetails.
id [Required] Gets the id of this InstanceDetails.
name [Required] Gets the name of this InstanceDetails.
status [Required] Gets the status of this InstanceDetails.

Methods

__init__(**kwargs) Initializes a new InstanceDetails object with values from keyword arguments.
STATUS_DOWN = 'DOWN'

A constant which can be used with the status property of a InstanceDetails. This constant has a value of “DOWN”

STATUS_UNKNOWN = 'UNKNOWN'

A constant which can be used with the status property of a InstanceDetails. This constant has a value of “UNKNOWN”

STATUS_UP = 'UP'

A constant which can be used with the status property of a InstanceDetails. This constant has a value of “UP”

__init__(**kwargs)

Initializes a new InstanceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (int) – The value to assign to the id property of this InstanceDetails.
  • name (str) – The value to assign to the name property of this InstanceDetails.
  • host_name (str) – The value to assign to the host_name property of this InstanceDetails.
  • status (str) – The value to assign to the status property of this InstanceDetails. Allowed values for this property are: “UP”, “DOWN”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
host_name

[Required] Gets the host_name of this InstanceDetails. The name of the host of the Oracle RAC database instance.

Returns:The host_name of this InstanceDetails.
Return type:str
id

[Required] Gets the id of this InstanceDetails. The ID of the Oracle RAC database instance.

Returns:The id of this InstanceDetails.
Return type:int
name

[Required] Gets the name of this InstanceDetails. The name of the Oracle RAC database instance.

Returns:The name of this InstanceDetails.
Return type:str
status

[Required] Gets the status of this InstanceDetails. The status of the Oracle RAC database instance.

Allowed values for this property are: “UP”, “DOWN”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The status of this InstanceDetails.
Return type:str