kubernetes_asyncio.client.models.v1_limit_range_item module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech

class kubernetes_asyncio.client.models.v1_limit_range_item.V1LimitRangeItem(default=None, default_request=None, max=None, max_limit_request_ratio=None, min=None, type=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'default': 'default', 'default_request': 'defaultRequest', 'max': 'max', 'max_limit_request_ratio': 'maxLimitRequestRatio', 'min': 'min', 'type': 'type'}
property default

Gets the default of this V1LimitRangeItem. # noqa: E501

Default resource requirement limit value by resource name if resource limit is omitted. # noqa: E501

Returns:

The default of this V1LimitRangeItem. # noqa: E501

Return type:

dict(str, str)

property default_request

Gets the default_request of this V1LimitRangeItem. # noqa: E501

DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. # noqa: E501

Returns:

The default_request of this V1LimitRangeItem. # noqa: E501

Return type:

dict(str, str)

property max

Gets the max of this V1LimitRangeItem. # noqa: E501

Max usage constraints on this kind by resource name. # noqa: E501

Returns:

The max of this V1LimitRangeItem. # noqa: E501

Return type:

dict(str, str)

property max_limit_request_ratio

Gets the max_limit_request_ratio of this V1LimitRangeItem. # noqa: E501

MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. # noqa: E501

Returns:

The max_limit_request_ratio of this V1LimitRangeItem. # noqa: E501

Return type:

dict(str, str)

property min

Gets the min of this V1LimitRangeItem. # noqa: E501

Min usage constraints on this kind by resource name. # noqa: E501

Returns:

The min of this V1LimitRangeItem. # noqa: E501

Return type:

dict(str, str)

openapi_types = {'default': 'dict(str, str)', 'default_request': 'dict(str, str)', 'max': 'dict(str, str)', 'max_limit_request_ratio': 'dict(str, str)', 'min': 'dict(str, str)', 'type': 'str'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property type

Gets the type of this V1LimitRangeItem. # noqa: E501

Type of resource that this limit applies to. # noqa: E501

Returns:

The type of this V1LimitRangeItem. # noqa: E501

Return type:

str