StorageCapacityDetails¶
- class oci.datacc.models.StorageCapacityDetails(**kwargs)¶
Bases:
objectCapacity details of the Storage disk group.
Attributes:
A constant which can be used with the storage_disk_redundancy property of a StorageCapacityDetails.
A constant which can be used with the storage_disk_redundancy property of a StorageCapacityDetails.
A constant which can be used with the storage_disk_redundancy property of a StorageCapacityDetails.
Gets the disk_group of this StorageCapacityDetails.
Gets the logical_free_space_in_gbs of this StorageCapacityDetails.
Gets the phy_free_space_in_gbs of this StorageCapacityDetails.
Gets the phy_reserved_space_in_gbs of this StorageCapacityDetails.
Gets the phy_total_space_in_gbs of this StorageCapacityDetails.
Gets the storage_disk_redundancy of this StorageCapacityDetails.
Methods:
__init__(**kwargs)Initializes a new StorageCapacityDetails object with values from keyword arguments.
- STORAGE_DISK_REDUNDANCY_FLEX = 'FLEX'¶
A constant which can be used with the storage_disk_redundancy property of a StorageCapacityDetails. This constant has a value of “FLEX”
- STORAGE_DISK_REDUNDANCY_HIGH = 'HIGH'¶
A constant which can be used with the storage_disk_redundancy property of a StorageCapacityDetails. This constant has a value of “HIGH”
- STORAGE_DISK_REDUNDANCY_MIRROR = 'MIRROR'¶
A constant which can be used with the storage_disk_redundancy property of a StorageCapacityDetails. This constant has a value of “MIRROR”
- __init__(**kwargs)¶
Initializes a new StorageCapacityDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
storage_disk_redundancy (str) – The value to assign to the storage_disk_redundancy property of this StorageCapacityDetails. Allowed values for this property are: “HIGH”, “MIRROR”, “FLEX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
disk_group (str) – The value to assign to the disk_group property of this StorageCapacityDetails.
phy_total_space_in_gbs (int) – The value to assign to the phy_total_space_in_gbs property of this StorageCapacityDetails.
phy_reserved_space_in_gbs (int) – The value to assign to the phy_reserved_space_in_gbs property of this StorageCapacityDetails.
phy_free_space_in_gbs (int) – The value to assign to the phy_free_space_in_gbs property of this StorageCapacityDetails.
logical_free_space_in_gbs (int) – The value to assign to the logical_free_space_in_gbs property of this StorageCapacityDetails.
- property disk_group¶
Gets the disk_group of this StorageCapacityDetails. Disk group name.
- Returns
The disk_group of this StorageCapacityDetails.
- Return type
str
- property logical_free_space_in_gbs¶
Gets the logical_free_space_in_gbs of this StorageCapacityDetails. The total amount of logical disk space that is currently available for use in a disk group, in gigabytes (GB).
- Returns
The logical_free_space_in_gbs of this StorageCapacityDetails.
- Return type
int
- property phy_free_space_in_gbs¶
Gets the phy_free_space_in_gbs of this StorageCapacityDetails. The total amount of physical disk space that is currently available for use in a disk group, in gigabytes (GB).
- Returns
The phy_free_space_in_gbs of this StorageCapacityDetails.
- Return type
int
- property phy_reserved_space_in_gbs¶
Gets the phy_reserved_space_in_gbs of this StorageCapacityDetails. The total amount of physical disk space that is reserved for system use in a disk group, in gigabytes (GB).
- Returns
The phy_reserved_space_in_gbs of this StorageCapacityDetails.
- Return type
int
- property phy_total_space_in_gbs¶
Gets the phy_total_space_in_gbs of this StorageCapacityDetails. The total amount of physical disk space available in a disk group, in gigabytes (GB).
- Returns
The phy_total_space_in_gbs of this StorageCapacityDetails.
- Return type
int
- property storage_disk_redundancy¶
Gets the storage_disk_redundancy of this StorageCapacityDetails. The Disk redundancy for Database Infrastructure storage.
Allowed values for this property are: “HIGH”, “MIRROR”, “FLEX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The storage_disk_redundancy of this StorageCapacityDetails.
- Return type
str