Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.33 KB

File metadata and controls

29 lines (22 loc) · 1.33 KB

V1PersistentVolumeClaimTemplate

PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.

Properties

Name Type Description Notes
metadata V1ObjectMeta [optional]
spec V1PersistentVolumeClaimSpec

Example

from kubernetes.client.models.v1_persistent_volume_claim_template import V1PersistentVolumeClaimTemplate

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

# convert the object into a dict
v1_persistent_volume_claim_template_dict = v1_persistent_volume_claim_template_instance.to_dict()
# create an instance of V1PersistentVolumeClaimTemplate from a dict
v1_persistent_volume_claim_template_from_dict = V1PersistentVolumeClaimTemplate.from_dict(v1_persistent_volume_claim_template_dict)

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