kubernetes_asyncio.client.models.v1beta2_capacity_request_policy_range 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.v1beta2_capacity_request_policy_range.V1beta2CapacityRequestPolicyRange(max=None, min=None, step=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 = {'max': 'max', 'min': 'min', 'step': 'step'}
property max

Gets the max of this V1beta2CapacityRequestPolicyRange. # noqa: E501

Max defines the upper limit for capacity that can be requested. Max must be less than or equal to the capacity value. Min and requestPolicy.default must be less than or equal to the maximum. # noqa: E501

Returns:

The max of this V1beta2CapacityRequestPolicyRange. # noqa: E501

Return type:

str

property min

Gets the min of this V1beta2CapacityRequestPolicyRange. # noqa: E501

Min specifies the minimum capacity allowed for a consumption request. Min must be greater than or equal to zero, and less than or equal to the capacity value. requestPolicy.default must be more than or equal to the minimum. # noqa: E501

Returns:

The min of this V1beta2CapacityRequestPolicyRange. # noqa: E501

Return type:

str

openapi_types = {'max': 'str', 'min': 'str', 'step': 'str'}
property step

Gets the step of this V1beta2CapacityRequestPolicyRange. # noqa: E501

Step defines the step size between valid capacity amounts within the range. Max (if set) and requestPolicy.default must be a multiple of Step. Min + Step must be less than or equal to the capacity value. # noqa: E501

Returns:

The step of this V1beta2CapacityRequestPolicyRange. # noqa: E501

Return type:

str

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model