kubernetes_asyncio.client.models.v1_resource_quota_spec 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_resource_quota_spec.V1ResourceQuotaSpec(hard=None, scope_selector=None, scopes=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 = {'hard': 'hard', 'scope_selector': 'scopeSelector', 'scopes': 'scopes'}
property hard

Gets the hard of this V1ResourceQuotaSpec. # noqa: E501

hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ # noqa: E501

Returns:

The hard of this V1ResourceQuotaSpec. # noqa: E501

Return type:

dict(str, str)

openapi_types = {'hard': 'dict(str, str)', 'scope_selector': 'V1ScopeSelector', 'scopes': 'list[str]'}
property scope_selector

Gets the scope_selector of this V1ResourceQuotaSpec. # noqa: E501

Returns:

The scope_selector of this V1ResourceQuotaSpec. # noqa: E501

Return type:

V1ScopeSelector

property scopes

Gets the scopes of this V1ResourceQuotaSpec. # noqa: E501

A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. # noqa: E501

Returns:

The scopes of this V1ResourceQuotaSpec. # noqa: E501

Return type:

list[str]

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model