DatabaseCloudServiceDetails

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

Bases: oci.data_safe.models.database_details.DatabaseDetails

The details of the cloud database to be registered as a target database in Data Safe.

Attributes

DATABASE_TYPE_AUTONOMOUS_DATABASE str(object=’’) -> str
DATABASE_TYPE_DATABASE_CLOUD_SERVICE str(object=’’) -> str
DATABASE_TYPE_INSTALLED_DATABASE str(object=’’) -> str
INFRASTRUCTURE_TYPE_CLOUD_AT_CUSTOMER str(object=’’) -> str
INFRASTRUCTURE_TYPE_NON_ORACLE_CLOUD str(object=’’) -> str
INFRASTRUCTURE_TYPE_ON_PREMISES str(object=’’) -> str
INFRASTRUCTURE_TYPE_ORACLE_CLOUD str(object=’’) -> str
database_type [Required] Gets the database_type of this DatabaseDetails.
db_system_id Gets the db_system_id of this DatabaseCloudServiceDetails.
infrastructure_type [Required] Gets the infrastructure_type of this DatabaseDetails.
listener_port Gets the listener_port of this DatabaseCloudServiceDetails.
service_name [Required] Gets the service_name of this DatabaseCloudServiceDetails.
vm_cluster_id Gets the vm_cluster_id of this DatabaseCloudServiceDetails.

Methods

__init__(**kwargs) Initializes a new DatabaseCloudServiceDetails 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'
DATABASE_TYPE_DATABASE_CLOUD_SERVICE = 'DATABASE_CLOUD_SERVICE'
DATABASE_TYPE_INSTALLED_DATABASE = 'INSTALLED_DATABASE'
INFRASTRUCTURE_TYPE_CLOUD_AT_CUSTOMER = 'CLOUD_AT_CUSTOMER'
INFRASTRUCTURE_TYPE_NON_ORACLE_CLOUD = 'NON_ORACLE_CLOUD'
INFRASTRUCTURE_TYPE_ON_PREMISES = 'ON_PREMISES'
INFRASTRUCTURE_TYPE_ORACLE_CLOUD = 'ORACLE_CLOUD'
__init__(**kwargs)

Initializes a new DatabaseCloudServiceDetails object with values from keyword arguments. The default value of the database_type attribute of this class is DATABASE_CLOUD_SERVICE and it should not be changed. 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 DatabaseCloudServiceDetails. Allowed values for this property are: “DATABASE_CLOUD_SERVICE”, “AUTONOMOUS_DATABASE”, “INSTALLED_DATABASE”
  • infrastructure_type (str) – The value to assign to the infrastructure_type property of this DatabaseCloudServiceDetails. Allowed values for this property are: “ORACLE_CLOUD”, “CLOUD_AT_CUSTOMER”, “ON_PREMISES”, “NON_ORACLE_CLOUD”
  • vm_cluster_id (str) – The value to assign to the vm_cluster_id property of this DatabaseCloudServiceDetails.
  • db_system_id (str) – The value to assign to the db_system_id property of this DatabaseCloudServiceDetails.
  • listener_port (int) – The value to assign to the listener_port property of this DatabaseCloudServiceDetails.
  • service_name (str) – The value to assign to the service_name property of this DatabaseCloudServiceDetails.
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
db_system_id

Gets the db_system_id of this DatabaseCloudServiceDetails. The OCID of the cloud database registered as a target database in Data Safe.

Returns:The db_system_id of this DatabaseCloudServiceDetails.
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
listener_port

Gets the listener_port of this DatabaseCloudServiceDetails. The port number of the database listener.

Returns:The listener_port of this DatabaseCloudServiceDetails.
Return type:int
service_name

[Required] Gets the service_name of this DatabaseCloudServiceDetails. The database service name.

Returns:The service_name of this DatabaseCloudServiceDetails.
Return type:str
vm_cluster_id

Gets the vm_cluster_id of this DatabaseCloudServiceDetails. The OCID of the VM cluster in which the database is running.

Returns:The vm_cluster_id of this DatabaseCloudServiceDetails.
Return type:str