DiskStatistics¶
- class oci.opsi.models.DiskStatistics(**kwargs)¶
Bases:
objectAggregated data per disk.
Methods:
__init__(**kwargs)Initializes a new DiskStatistics object with values from keyword arguments.
Attributes:
[Required] Gets the disk_name of this DiskStatistics.
[Required] Gets the disk_size_in_gbs of this DiskStatistics.
[Required] Gets the disk_unallocated_in_gbs of this DiskStatistics.
[Required] Gets the disk_usage_in_gbs of this DiskStatistics.
- __init__(**kwargs)¶
Initializes a new DiskStatistics object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
disk_name (str) – The value to assign to the disk_name property of this DiskStatistics.
disk_unallocated_in_gbs (float) – The value to assign to the disk_unallocated_in_gbs property of this DiskStatistics.
disk_usage_in_gbs (float) – The value to assign to the disk_usage_in_gbs property of this DiskStatistics.
disk_size_in_gbs (float) – The value to assign to the disk_size_in_gbs property of this DiskStatistics.
- property disk_name¶
[Required] Gets the disk_name of this DiskStatistics. Name of the disk.
- Returns
The disk_name of this DiskStatistics.
- Return type
str
- property disk_size_in_gbs¶
[Required] Gets the disk_size_in_gbs of this DiskStatistics. Size of the disk.
- Returns
The disk_size_in_gbs of this DiskStatistics.
- Return type
float
- property disk_unallocated_in_gbs¶
[Required] Gets the disk_unallocated_in_gbs of this DiskStatistics. Value for unallocated space in a disk.
- Returns
The disk_unallocated_in_gbs of this DiskStatistics.
- Return type
float
- property disk_usage_in_gbs¶
[Required] Gets the disk_usage_in_gbs of this DiskStatistics. Disk usage.
- Returns
The disk_usage_in_gbs of this DiskStatistics.
- Return type
float