kubernetes.aio.client.models.v1_pod_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_pod_resource_claim_status.V1PodResourceClaimStatus(name=None, resource_claim_name=None, local_vars_configuration=None)¶
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- attribute_map = {'name': 'name', 'resource_claim_name': 'resourceClaimName'}¶
- property name¶
Gets the name of this V1PodResourceClaimStatus. # noqa: E501
Name uniquely identifies this resource claim inside the pod. This must match the name of an entry in pod.spec.resourceClaims, which implies that the string must be a DNS_LABEL. # noqa: E501
- Returns:
The name of this V1PodResourceClaimStatus. # noqa: E501
- Return type:
str
- openapi_types = {'name': 'str', 'resource_claim_name': 'str'}¶
- property resource_claim_name¶
Gets the resource_claim_name of this V1PodResourceClaimStatus. # noqa: E501
ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. When the DRAWorkloadResourceClaims feature is enabled and the corresponding PodResourceClaim matches a PodGroupResourceClaim made by the Pod’s PodGroup, then this is the name of the ResourceClaim generated and reserved for the PodGroup. If this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case. # noqa: E501
- Returns:
The resource_claim_name of this V1PodResourceClaimStatus. # 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