AddDataFilesDetails

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

Bases: object

The details required to add data files or temp files to the tablespace. lease provide 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 AddDataFilesDetails.
FILE_TYPE_TEMPFILE A constant which can be used with the file_type property of a AddDataFilesDetails.
auto_extend_max_size Gets the auto_extend_max_size of this AddDataFilesDetails.
auto_extend_next_size Gets the auto_extend_next_size of this AddDataFilesDetails.
credential_details Gets the credential_details of this AddDataFilesDetails.
data_files Gets the data_files of this AddDataFilesDetails.
database_credential Gets the database_credential of this AddDataFilesDetails.
file_count Gets the file_count of this AddDataFilesDetails.
file_size Gets the file_size of this AddDataFilesDetails.
file_type [Required] Gets the file_type of this AddDataFilesDetails.
is_auto_extensible Gets the is_auto_extensible of this AddDataFilesDetails.
is_max_size_unlimited Gets the is_max_size_unlimited of this AddDataFilesDetails.
is_reusable Gets the is_reusable of this AddDataFilesDetails.

Methods

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

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

FILE_TYPE_TEMPFILE = 'TEMPFILE'

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

__init__(**kwargs)

Initializes a new AddDataFilesDetails 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 AddDataFilesDetails.
  • database_credential (oci.database_management.models.DatabaseCredentialDetails) – The value to assign to the database_credential property of this AddDataFilesDetails.
  • file_type (str) – The value to assign to the file_type property of this AddDataFilesDetails. Allowed values for this property are: “DATAFILE”, “TEMPFILE”
  • data_files (list[str]) – The value to assign to the data_files property of this AddDataFilesDetails.
  • file_count (int) – The value to assign to the file_count property of this AddDataFilesDetails.
  • file_size (oci.database_management.models.TablespaceStorageSize) – The value to assign to the file_size property of this AddDataFilesDetails.
  • is_reusable (bool) – The value to assign to the is_reusable property of this AddDataFilesDetails.
  • is_auto_extensible (bool) – The value to assign to the is_auto_extensible property of this AddDataFilesDetails.
  • auto_extend_next_size (oci.database_management.models.TablespaceStorageSize) – The value to assign to the auto_extend_next_size property of this AddDataFilesDetails.
  • auto_extend_max_size (oci.database_management.models.TablespaceStorageSize) – The value to assign to the auto_extend_max_size property of this AddDataFilesDetails.
  • is_max_size_unlimited (bool) – The value to assign to the is_max_size_unlimited property of this AddDataFilesDetails.
auto_extend_max_size

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

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

Gets the auto_extend_next_size of this AddDataFilesDetails. 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 AddDataFilesDetails.
Return type:oci.database_management.models.TablespaceStorageSize
credential_details

Gets the credential_details of this AddDataFilesDetails.

Returns:The credential_details of this AddDataFilesDetails.
Return type:oci.database_management.models.TablespaceAdminCredentialDetails
data_files

Gets the data_files of this AddDataFilesDetails. The list of data files or temp files added to the tablespace.

Returns:The data_files of this AddDataFilesDetails.
Return type:list[str]
database_credential

Gets the database_credential of this AddDataFilesDetails.

Returns:The database_credential of this AddDataFilesDetails.
Return type:oci.database_management.models.DatabaseCredentialDetails
file_count

Gets the file_count of this AddDataFilesDetails. The number of data files or temp files to be added for the tablespace. This is for Oracle Managed Files only.

Returns:The file_count of this AddDataFilesDetails.
Return type:int
file_size

Gets the file_size of this AddDataFilesDetails. The size of each data file or temp file.

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

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

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

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

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

Returns:The is_max_size_unlimited of this AddDataFilesDetails.
Return type:bool
is_reusable

Gets the is_reusable of this AddDataFilesDetails. Specifies whether Oracle can reuse the data file or temp file. Reuse is only allowed when the file name is provided.

Returns:The is_reusable of this AddDataFilesDetails.
Return type:bool