kubernetes_asyncio.client.models.core_v1_resource_claim 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.core_v1_resource_claim.CoreV1ResourceClaim(name=None, request=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 = {'name': 'name', 'request': 'request'}
property name

Gets the name of this CoreV1ResourceClaim. # noqa: E501

Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. # noqa: E501

Returns:

The name of this CoreV1ResourceClaim. # noqa: E501

Return type:

str

openapi_types = {'name': 'str', 'request': 'str'}
property request

Gets the request of this CoreV1ResourceClaim. # noqa: E501

Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. # noqa: E501

Returns:

The request of this CoreV1ResourceClaim. # 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