ResizeDataFileDetails

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

Bases: object

The details required to resize a data file or temp file within 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 ResizeDataFileDetails.
FILE_TYPE_TEMPFILE A constant which can be used with the file_type property of a ResizeDataFileDetails.
auto_extend_max_size Gets the auto_extend_max_size of this ResizeDataFileDetails.
auto_extend_next_size Gets the auto_extend_next_size of this ResizeDataFileDetails.
credential_details Gets the credential_details of this ResizeDataFileDetails.
data_file [Required] Gets the data_file of this ResizeDataFileDetails.
database_credential Gets the database_credential of this ResizeDataFileDetails.
file_size Gets the file_size of this ResizeDataFileDetails.
file_type [Required] Gets the file_type of this ResizeDataFileDetails.
is_auto_extensible Gets the is_auto_extensible of this ResizeDataFileDetails.
is_max_size_unlimited Gets the is_max_size_unlimited of this ResizeDataFileDetails.

Methods

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

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

FILE_TYPE_TEMPFILE = 'TEMPFILE'

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

__init__(**kwargs)

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

Parameters:
auto_extend_max_size

Gets the auto_extend_max_size of this ResizeDataFileDetails. The maximum disk space allowed for automatic extension of the data files or temp files.

Returns:The auto_extend_max_size of this ResizeDataFileDetails.
Return type:oci.database_management.models.TablespaceStorageSize
auto_extend_next_size

Gets the auto_extend_next_size of this ResizeDataFileDetails. The size of the next increment of disk space to be allocated automatically when more extents are required.

Returns:The auto_extend_next_size of this ResizeDataFileDetails.
Return type:oci.database_management.models.TablespaceStorageSize
credential_details

Gets the credential_details of this ResizeDataFileDetails.

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

[Required] Gets the data_file of this ResizeDataFileDetails. Name of the data file or temp file to be resized.

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

Gets the database_credential of this ResizeDataFileDetails.

Returns:The database_credential of this ResizeDataFileDetails.
Return type:oci.database_management.models.DatabaseCredentialDetails
file_size

Gets the file_size of this ResizeDataFileDetails. The new size of the data file or temp file.

Returns:The file_size of this ResizeDataFileDetails.
Return type:oci.database_management.models.TablespaceStorageSize
file_type

[Required] Gets the file_type of this ResizeDataFileDetails. 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 ResizeDataFileDetails.
Return type:str
is_auto_extensible

Gets the is_auto_extensible of this ResizeDataFileDetails. Specifies whether the data file or temp file can be extended automatically.

Returns:The is_auto_extensible of this ResizeDataFileDetails.
Return type:bool
is_max_size_unlimited

Gets the is_max_size_unlimited of this ResizeDataFileDetails. Specifies whether the disk space of the data file or temp file can be limited.

Returns:The is_max_size_unlimited of this ResizeDataFileDetails.
Return type:bool