DatabaseDetails

class oci.data_safe.models.DatabaseDetails(**kwargs)

Bases: object

Details of the database for the registration in Data Safe.

Attributes

DATABASE_TYPE_AUTONOMOUS_DATABASE A constant which can be used with the database_type property of a DatabaseDetails.
DATABASE_TYPE_DATABASE_CLOUD_SERVICE A constant which can be used with the database_type property of a DatabaseDetails.
DATABASE_TYPE_INSTALLED_DATABASE A constant which can be used with the database_type property of a DatabaseDetails.
INFRASTRUCTURE_TYPE_CLOUD_AT_CUSTOMER A constant which can be used with the infrastructure_type property of a DatabaseDetails.
INFRASTRUCTURE_TYPE_NON_ORACLE_CLOUD A constant which can be used with the infrastructure_type property of a DatabaseDetails.
INFRASTRUCTURE_TYPE_ON_PREMISES A constant which can be used with the infrastructure_type property of a DatabaseDetails.
INFRASTRUCTURE_TYPE_ORACLE_CLOUD A constant which can be used with the infrastructure_type property of a DatabaseDetails.
database_type [Required] Gets the database_type of this DatabaseDetails.
infrastructure_type [Required] Gets the infrastructure_type of this DatabaseDetails.

Methods

__init__(**kwargs) Initializes a new DatabaseDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
DATABASE_TYPE_AUTONOMOUS_DATABASE = 'AUTONOMOUS_DATABASE'

A constant which can be used with the database_type property of a DatabaseDetails. This constant has a value of “AUTONOMOUS_DATABASE”

DATABASE_TYPE_DATABASE_CLOUD_SERVICE = 'DATABASE_CLOUD_SERVICE'

A constant which can be used with the database_type property of a DatabaseDetails. This constant has a value of “DATABASE_CLOUD_SERVICE”

DATABASE_TYPE_INSTALLED_DATABASE = 'INSTALLED_DATABASE'

A constant which can be used with the database_type property of a DatabaseDetails. This constant has a value of “INSTALLED_DATABASE”

INFRASTRUCTURE_TYPE_CLOUD_AT_CUSTOMER = 'CLOUD_AT_CUSTOMER'

A constant which can be used with the infrastructure_type property of a DatabaseDetails. This constant has a value of “CLOUD_AT_CUSTOMER”

INFRASTRUCTURE_TYPE_NON_ORACLE_CLOUD = 'NON_ORACLE_CLOUD'

A constant which can be used with the infrastructure_type property of a DatabaseDetails. This constant has a value of “NON_ORACLE_CLOUD”

INFRASTRUCTURE_TYPE_ON_PREMISES = 'ON_PREMISES'

A constant which can be used with the infrastructure_type property of a DatabaseDetails. This constant has a value of “ON_PREMISES”

INFRASTRUCTURE_TYPE_ORACLE_CLOUD = 'ORACLE_CLOUD'

A constant which can be used with the infrastructure_type property of a DatabaseDetails. This constant has a value of “ORACLE_CLOUD”

__init__(**kwargs)

Initializes a new DatabaseDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • database_type (str) – The value to assign to the database_type property of this DatabaseDetails. Allowed values for this property are: “DATABASE_CLOUD_SERVICE”, “AUTONOMOUS_DATABASE”, “INSTALLED_DATABASE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • infrastructure_type (str) – The value to assign to the infrastructure_type property of this DatabaseDetails. Allowed values for this property are: “ORACLE_CLOUD”, “CLOUD_AT_CUSTOMER”, “ON_PREMISES”, “NON_ORACLE_CLOUD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
database_type

[Required] Gets the database_type of this DatabaseDetails. The database type.

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

Returns:The database_type of this DatabaseDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

infrastructure_type

[Required] Gets the infrastructure_type of this DatabaseDetails. The infrastructure type the database is running on.

Allowed values for this property are: “ORACLE_CLOUD”, “CLOUD_AT_CUSTOMER”, “ON_PREMISES”, “NON_ORACLE_CLOUD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The infrastructure_type of this DatabaseDetails.
Return type:str