UpdateTablespaceDetails

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

Bases: object

The details required to update a tablespace. It takes either credentialDetails or databaseCredential. It’s recommended to provide databaseCredential

Attributes

STATUS_READ_ONLY A constant which can be used with the status property of a UpdateTablespaceDetails.
STATUS_READ_WRITE A constant which can be used with the status property of a UpdateTablespaceDetails.
TYPE_PERMANENT A constant which can be used with the type property of a UpdateTablespaceDetails.
TYPE_TEMPORARY A constant which can be used with the type property of a UpdateTablespaceDetails.
auto_extend_max_size Gets the auto_extend_max_size of this UpdateTablespaceDetails.
auto_extend_next_size Gets the auto_extend_next_size of this UpdateTablespaceDetails.
credential_details Gets the credential_details of this UpdateTablespaceDetails.
database_credential Gets the database_credential of this UpdateTablespaceDetails.
file_size Gets the file_size of this UpdateTablespaceDetails.
is_auto_extensible Gets the is_auto_extensible of this UpdateTablespaceDetails.
is_default Gets the is_default of this UpdateTablespaceDetails.
is_max_size_unlimited Gets the is_max_size_unlimited of this UpdateTablespaceDetails.
name Gets the name of this UpdateTablespaceDetails.
status Gets the status of this UpdateTablespaceDetails.
type Gets the type of this UpdateTablespaceDetails.

Methods

__init__(**kwargs) Initializes a new UpdateTablespaceDetails object with values from keyword arguments.
STATUS_READ_ONLY = 'READ_ONLY'

A constant which can be used with the status property of a UpdateTablespaceDetails. This constant has a value of “READ_ONLY”

STATUS_READ_WRITE = 'READ_WRITE'

A constant which can be used with the status property of a UpdateTablespaceDetails. This constant has a value of “READ_WRITE”

TYPE_PERMANENT = 'PERMANENT'

A constant which can be used with the type property of a UpdateTablespaceDetails. This constant has a value of “PERMANENT”

TYPE_TEMPORARY = 'TEMPORARY'

A constant which can be used with the type property of a UpdateTablespaceDetails. This constant has a value of “TEMPORARY”

__init__(**kwargs)

Initializes a new UpdateTablespaceDetails 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 UpdateTablespaceDetails.
  • database_credential (oci.database_management.models.DatabaseCredentialDetails) – The value to assign to the database_credential property of this UpdateTablespaceDetails.
  • name (str) – The value to assign to the name property of this UpdateTablespaceDetails.
  • type (str) – The value to assign to the type property of this UpdateTablespaceDetails. Allowed values for this property are: “PERMANENT”, “TEMPORARY”
  • file_size (oci.database_management.models.TablespaceStorageSize) – The value to assign to the file_size property of this UpdateTablespaceDetails.
  • status (str) – The value to assign to the status property of this UpdateTablespaceDetails. Allowed values for this property are: “READ_ONLY”, “READ_WRITE”
  • is_auto_extensible (bool) – The value to assign to the is_auto_extensible property of this UpdateTablespaceDetails.
  • auto_extend_next_size (oci.database_management.models.TablespaceStorageSize) – The value to assign to the auto_extend_next_size property of this UpdateTablespaceDetails.
  • auto_extend_max_size (oci.database_management.models.TablespaceStorageSize) – The value to assign to the auto_extend_max_size property of this UpdateTablespaceDetails.
  • is_max_size_unlimited (bool) – The value to assign to the is_max_size_unlimited property of this UpdateTablespaceDetails.
  • is_default (bool) – The value to assign to the is_default property of this UpdateTablespaceDetails.
auto_extend_max_size

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

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

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

Gets the credential_details of this UpdateTablespaceDetails.

Returns:The credential_details of this UpdateTablespaceDetails.
Return type:oci.database_management.models.TablespaceAdminCredentialDetails
database_credential

Gets the database_credential of this UpdateTablespaceDetails.

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

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

Returns:The file_size of this UpdateTablespaceDetails.
Return type:oci.database_management.models.TablespaceStorageSize
is_auto_extensible

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

Returns:The is_auto_extensible of this UpdateTablespaceDetails.
Return type:bool
is_default

Gets the is_default of this UpdateTablespaceDetails. Specifies whether the tablespace is the default tablespace.

Returns:The is_default of this UpdateTablespaceDetails.
Return type:bool
is_max_size_unlimited

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

Returns:The is_max_size_unlimited of this UpdateTablespaceDetails.
Return type:bool
name

Gets the name of this UpdateTablespaceDetails. The name of the tablespace. It must be unique within a database.

Returns:The name of this UpdateTablespaceDetails.
Return type:str
status

Gets the status of this UpdateTablespaceDetails. The status of the tablespace.

Allowed values for this property are: “READ_ONLY”, “READ_WRITE”

Returns:The status of this UpdateTablespaceDetails.
Return type:str
type

Gets the type of this UpdateTablespaceDetails. The type of tablespace.

Allowed values for this property are: “PERMANENT”, “TEMPORARY”

Returns:The type of this UpdateTablespaceDetails.
Return type:str