ResizeDataFileDetails¶
- class oci.database_management.models.ResizeDataFileDetails(**kwargs)¶
Bases:
objectThe 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:
A constant which can be used with the file_type property of a ResizeDataFileDetails.
A constant which can be used with the file_type property of a ResizeDataFileDetails.
Gets the auto_extend_max_size of this ResizeDataFileDetails.
Gets the auto_extend_next_size of this ResizeDataFileDetails.
Gets the credential_details of this ResizeDataFileDetails.
[Required] Gets the data_file of this ResizeDataFileDetails.
Gets the database_credential of this ResizeDataFileDetails.
Gets the file_size of this ResizeDataFileDetails.
[Required] Gets the file_type of this ResizeDataFileDetails.
Gets the is_auto_extensible of this ResizeDataFileDetails.
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
credential_details (oci.database_management.models.TablespaceAdminCredentialDetails) – The value to assign to the credential_details property of this ResizeDataFileDetails.
database_credential (oci.database_management.models.DatabaseCredentialDetails) – The value to assign to the database_credential property of this ResizeDataFileDetails.
file_type (str) – The value to assign to the file_type property of this ResizeDataFileDetails. Allowed values for this property are: “DATAFILE”, “TEMPFILE”
data_file (str) – The value to assign to the data_file property of this ResizeDataFileDetails.
file_size (oci.database_management.models.TablespaceStorageSize) – The value to assign to the file_size property of this ResizeDataFileDetails.
is_auto_extensible (bool) – The value to assign to the is_auto_extensible property of this ResizeDataFileDetails.
auto_extend_next_size (oci.database_management.models.TablespaceStorageSize) – The value to assign to the auto_extend_next_size property of this ResizeDataFileDetails.
auto_extend_max_size (oci.database_management.models.TablespaceStorageSize) – The value to assign to the auto_extend_max_size property of this ResizeDataFileDetails.
is_max_size_unlimited (bool) – The value to assign to the is_max_size_unlimited property of this ResizeDataFileDetails.
- property 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
- property 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
- property credential_details¶
Gets the credential_details of this ResizeDataFileDetails.
- Returns
The credential_details of this ResizeDataFileDetails.
- Return type
oci.database_management.models.TablespaceAdminCredentialDetails
- property 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
- property database_credential¶
Gets the database_credential of this ResizeDataFileDetails.
- Returns
The database_credential of this ResizeDataFileDetails.
- Return type
- property 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
- property 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
- property 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
- property 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