LimitValueSummary¶
-
class
oci.limits.models.
LimitValueSummary
(**kwargs)¶ Bases:
object
The value of a specific resource limit.
Attributes
SCOPE_TYPE_AD
A constant which can be used with the scope_type property of a LimitValueSummary. SCOPE_TYPE_GLOBAL
A constant which can be used with the scope_type property of a LimitValueSummary. SCOPE_TYPE_REGION
A constant which can be used with the scope_type property of a LimitValueSummary. availability_domain
Gets the availability_domain of this LimitValueSummary. name
Gets the name of this LimitValueSummary. scope_type
Gets the scope_type of this LimitValueSummary. value
Gets the value of this LimitValueSummary. Methods
__init__
(**kwargs)Initializes a new LimitValueSummary object with values from keyword arguments. -
SCOPE_TYPE_AD
= 'AD'¶ A constant which can be used with the scope_type property of a LimitValueSummary. This constant has a value of “AD”
-
SCOPE_TYPE_GLOBAL
= 'GLOBAL'¶ A constant which can be used with the scope_type property of a LimitValueSummary. This constant has a value of “GLOBAL”
-
SCOPE_TYPE_REGION
= 'REGION'¶ A constant which can be used with the scope_type property of a LimitValueSummary. This constant has a value of “REGION”
-
__init__
(**kwargs)¶ Initializes a new LimitValueSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this LimitValueSummary.
- scope_type (str) – The value to assign to the scope_type property of this LimitValueSummary. Allowed values for this property are: “GLOBAL”, “REGION”, “AD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- availability_domain (str) – The value to assign to the availability_domain property of this LimitValueSummary.
- value (int) – The value to assign to the value property of this LimitValueSummary.
-
availability_domain
¶ Gets the availability_domain of this LimitValueSummary. If present, the returned value is only specific to this availability domain.
Returns: The availability_domain of this LimitValueSummary. Return type: str
-
name
¶ Gets the name of this LimitValueSummary. The resource limit name. To be used for writing policies (in case of quotas) or other programmatic calls.
Returns: The name of this LimitValueSummary. Return type: str
-
scope_type
¶ Gets the scope_type of this LimitValueSummary. The scope type of the limit.
Allowed values for this property are: “GLOBAL”, “REGION”, “AD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The scope_type of this LimitValueSummary. Return type: str
-
value
¶ Gets the value of this LimitValueSummary. The resource limit value.
Returns: The value of this LimitValueSummary. Return type: int
-