kubernetes.aio.client.models.v1_node_allocatable_resource_claim_status module

Kubernetes

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

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

class kubernetes.aio.client.models.v1_node_allocatable_resource_claim_status.V1NodeAllocatableResourceClaimStatus(containers=None, resource_claim_name=None, resources=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 = {'containers': 'containers', 'resource_claim_name': 'resourceClaimName', 'resources': 'resources'}
property containers

Gets the containers of this V1NodeAllocatableResourceClaimStatus. # noqa: E501

Containers lists the names of all containers in this pod that reference the claim. # noqa: E501

Returns:

The containers of this V1NodeAllocatableResourceClaimStatus. # noqa: E501

Return type:

list[str]

openapi_types = {'containers': 'list[str]', 'resource_claim_name': 'str', 'resources': 'dict[str, str]'}
property resource_claim_name

Gets the resource_claim_name of this V1NodeAllocatableResourceClaimStatus. # noqa: E501

ResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation. # noqa: E501

Returns:

The resource_claim_name of this V1NodeAllocatableResourceClaimStatus. # noqa: E501

Return type:

str

property resources

Gets the resources of this V1NodeAllocatableResourceClaimStatus. # noqa: E501

Resources is a map of the node-allocatable resource name to the aggregate quantity allocated to the claim. # noqa: E501

Returns:

The resources of this V1NodeAllocatableResourceClaimStatus. # 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