RemoveDataFileDetails

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

Bases: object

The details required to remove a data file or temp file from the tablespace. It takes either credentialDetails or databaseCredential. It’s recommended to provide databaseCredential

Attributes

FILE_TYPE_DATAFILE A constant which can be used with the file_type property of a RemoveDataFileDetails.
FILE_TYPE_TEMPFILE A constant which can be used with the file_type property of a RemoveDataFileDetails.
credential_details Gets the credential_details of this RemoveDataFileDetails.
data_file [Required] Gets the data_file of this RemoveDataFileDetails.
database_credential Gets the database_credential of this RemoveDataFileDetails.
file_type [Required] Gets the file_type of this RemoveDataFileDetails.

Methods

__init__(**kwargs) Initializes a new RemoveDataFileDetails object with values from keyword arguments.
FILE_TYPE_DATAFILE = 'DATAFILE'

A constant which can be used with the file_type property of a RemoveDataFileDetails. This constant has a value of “DATAFILE”

FILE_TYPE_TEMPFILE = 'TEMPFILE'

A constant which can be used with the file_type property of a RemoveDataFileDetails. This constant has a value of “TEMPFILE”

__init__(**kwargs)

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

Parameters:
  • credential_details (oci.database_management.models.TablespaceAdminCredentialDetails) – The value to assign to the credential_details property of this RemoveDataFileDetails.
  • database_credential (oci.database_management.models.DatabaseCredentialDetails) – The value to assign to the database_credential property of this RemoveDataFileDetails.
  • file_type (str) – The value to assign to the file_type property of this RemoveDataFileDetails. Allowed values for this property are: “DATAFILE”, “TEMPFILE”
  • data_file (str) – The value to assign to the data_file property of this RemoveDataFileDetails.
credential_details

Gets the credential_details of this RemoveDataFileDetails.

Returns:The credential_details of this RemoveDataFileDetails.
Return type:oci.database_management.models.TablespaceAdminCredentialDetails
data_file

[Required] Gets the data_file of this RemoveDataFileDetails. Name of the data file or temp file to be removed from the tablespace.

Returns:The data_file of this RemoveDataFileDetails.
Return type:str
database_credential

Gets the database_credential of this RemoveDataFileDetails.

Returns:The database_credential of this RemoveDataFileDetails.
Return type:oci.database_management.models.DatabaseCredentialDetails
file_type

[Required] Gets the file_type of this RemoveDataFileDetails. Specifies whether the file is a data file or temp file.

Allowed values for this property are: “DATAFILE”, “TEMPFILE”

Returns:The file_type of this RemoveDataFileDetails.
Return type:str