TablespaceStorageSize¶
-
class
oci.database_management.models.TablespaceStorageSize(**kwargs)¶ Bases:
objectStorage size.
Attributes
UNIT_BYTESA constant which can be used with the unit property of a TablespaceStorageSize. UNIT_GIGABYTESA constant which can be used with the unit property of a TablespaceStorageSize. UNIT_KILOBYTESA constant which can be used with the unit property of a TablespaceStorageSize. UNIT_MEGABYTESA constant which can be used with the unit property of a TablespaceStorageSize. UNIT_TERABYTESA constant which can be used with the unit property of a TablespaceStorageSize. size[Required] Gets the size of this TablespaceStorageSize. unitGets 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”
-
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
-
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
-