ResourceAvailability

class oci.limits.models.ResourceAvailability(**kwargs)

Bases: object

The availability of a given resource limit, based on the usage, tenant service limits and quotas set for the tenancy. Note: We cannot guarantee this data for all the limits. In those cases, these fields will be empty.

__init__(**kwargs)

Initializes a new ResourceAvailability object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • used (int) -- The value to assign to the used property of this ResourceAvailability.
  • available (int) -- The value to assign to the available property of this ResourceAvailability.
available

Gets the available of this ResourceAvailability. The count of available resources.

Returns:The available of this ResourceAvailability.
Return type:int
used

Gets the used of this ResourceAvailability. The current usage in the given compartment.

Returns:The used of this ResourceAvailability.
Return type:int