kubernetes_asyncio.client.models.v1_volume_resource_requirements 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_volume_resource_requirements.V1VolumeResourceRequirements(limits=None, requests=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 = {'limits': 'limits', 'requests': 'requests'}
property limits

Gets the limits of this V1VolumeResourceRequirements. # noqa: E501

Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ # noqa: E501

Returns:

The limits of this V1VolumeResourceRequirements. # noqa: E501

Return type:

dict(str, str)

openapi_types = {'limits': 'dict(str, str)', 'requests': 'dict(str, str)'}
property requests

Gets the requests of this V1VolumeResourceRequirements. # noqa: E501

Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ # noqa: E501

Returns:

The requests of this V1VolumeResourceRequirements. # noqa: E501

Return type:

dict(str, str)

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model