RemoveDataFileDetails

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

Bases: object

The details required to remove a data file or temp file from the tablespace.

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 [Required] Gets the credential_details of this RemoveDataFileDetails.
data_file [Required] Gets the data_file 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.
  • 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

[Required] 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
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