TablespaceStorageSize¶
- class oci.database_management.models.TablespaceStorageSize(**kwargs)¶
Bases:
objectStorage size.
Attributes:
A constant which can be used with the unit property of a TablespaceStorageSize.
A constant which can be used with the unit property of a TablespaceStorageSize.
A constant which can be used with the unit property of a TablespaceStorageSize.
A constant which can be used with the unit property of a TablespaceStorageSize.
A constant which can be used with the unit property of a TablespaceStorageSize.
[Required] Gets the size of this TablespaceStorageSize.
Gets the unit of this TablespaceStorageSize.
Methods:
__init__(**kwargs)Initializes a new TablespaceStorageSize object with values from keyword arguments.
- UNIT_BYTES = 'BYTES'¶
A constant which can be used with the unit property of a TablespaceStorageSize. This constant has a value of “BYTES”
- UNIT_GIGABYTES = 'GIGABYTES'¶
A constant which can be used with the unit property of a TablespaceStorageSize. This constant has a value of “GIGABYTES”
- UNIT_KILOBYTES = 'KILOBYTES'¶
A constant which can be used with the unit property of a TablespaceStorageSize. This constant has a value of “KILOBYTES”
- UNIT_MEGABYTES = 'MEGABYTES'¶
A constant which can be used with the unit property of a TablespaceStorageSize. This constant has a value of “MEGABYTES”
- UNIT_TERABYTES = 'TERABYTES'¶
A constant which can be used with the unit property of a TablespaceStorageSize. This constant has a value of “TERABYTES”
- __init__(**kwargs)¶
Initializes a new TablespaceStorageSize object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
size (float) – The value to assign to the size property of this TablespaceStorageSize.
unit (str) – The value to assign to the unit property of this TablespaceStorageSize. Allowed values for this property are: “BYTES”, “KILOBYTES”, “MEGABYTES”, “GIGABYTES”, “TERABYTES”
- property size¶
[Required] Gets the size of this TablespaceStorageSize. Storage size number in bytes, kilobytes, megabytes, gigabytes, or terabytes.
- Returns
The size of this TablespaceStorageSize.
- Return type
float
- property unit¶
Gets the unit of this TablespaceStorageSize. Storage size unit: bytes, kilobytes, megabytes, gigabytes, or terabytes.
Allowed values for this property are: “BYTES”, “KILOBYTES”, “MEGABYTES”, “GIGABYTES”, “TERABYTES”
- Returns
The unit of this TablespaceStorageSize.
- Return type
str