FetchProtectedDatabaseConfigurationDetails

class oci.recovery.models.FetchProtectedDatabaseConfigurationDetails(**kwargs)

Bases: object

Provides which configuration details to get.

Attributes

CONFIGURATION_TYPE_ALL A constant which can be used with the configuration_type property of a FetchProtectedDatabaseConfigurationDetails.
CONFIGURATION_TYPE_CABUNDLE A constant which can be used with the configuration_type property of a FetchProtectedDatabaseConfigurationDetails.
CONFIGURATION_TYPE_HOSTS A constant which can be used with the configuration_type property of a FetchProtectedDatabaseConfigurationDetails.
CONFIGURATION_TYPE_TNSNAMES A constant which can be used with the configuration_type property of a FetchProtectedDatabaseConfigurationDetails.
configuration_type Gets the configuration_type of this FetchProtectedDatabaseConfigurationDetails.

Methods

__init__(**kwargs) Initializes a new FetchProtectedDatabaseConfigurationDetails object with values from keyword arguments.
CONFIGURATION_TYPE_ALL = 'ALL'

A constant which can be used with the configuration_type property of a FetchProtectedDatabaseConfigurationDetails. This constant has a value of “ALL”

CONFIGURATION_TYPE_CABUNDLE = 'CABUNDLE'

A constant which can be used with the configuration_type property of a FetchProtectedDatabaseConfigurationDetails. This constant has a value of “CABUNDLE”

CONFIGURATION_TYPE_HOSTS = 'HOSTS'

A constant which can be used with the configuration_type property of a FetchProtectedDatabaseConfigurationDetails. This constant has a value of “HOSTS”

CONFIGURATION_TYPE_TNSNAMES = 'TNSNAMES'

A constant which can be used with the configuration_type property of a FetchProtectedDatabaseConfigurationDetails. This constant has a value of “TNSNAMES”

__init__(**kwargs)

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

Parameters:configuration_type (str) – The value to assign to the configuration_type property of this FetchProtectedDatabaseConfigurationDetails. Allowed values for this property are: “CABUNDLE”, “TNSNAMES”, “HOSTS”, “ALL”
configuration_type

Gets the configuration_type of this FetchProtectedDatabaseConfigurationDetails. Currently has four config options ALL, TNSNAMES, HOSTS and CABUNDLE. All will return a zipped folder containing the contents of both tnsnames and the certificateChainPem.

Allowed values for this property are: “CABUNDLE”, “TNSNAMES”, “HOSTS”, “ALL”

Returns:The configuration_type of this FetchProtectedDatabaseConfigurationDetails.
Return type:str