Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.34 KB

File metadata and controls

29 lines (22 loc) · 1.34 KB

CoreV1ResourceClaim

ResourceClaim references one entry in PodSpec.ResourceClaims.

Properties

Name Type Description Notes
name str 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.
request str 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. [optional]

Example

from kubernetes.client.models.core_v1_resource_claim import CoreV1ResourceClaim

# TODO update the JSON string below
json = "{}"
# create an instance of CoreV1ResourceClaim from a JSON string
core_v1_resource_claim_instance = CoreV1ResourceClaim.from_json(json)
# print the JSON string representation of the object
print(CoreV1ResourceClaim.to_json())

# convert the object into a dict
core_v1_resource_claim_dict = core_v1_resource_claim_instance.to_dict()
# create an instance of CoreV1ResourceClaim from a dict
core_v1_resource_claim_from_dict = CoreV1ResourceClaim.from_dict(core_v1_resource_claim_dict)

[Back to Model list] [Back to API list] [Back to README]