Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.37 KB

File metadata and controls

34 lines (25 loc) · 1.37 KB

DeploymentVolumeSpec

Defines a volume attached to the deployment. Automatically created the volume claim and mounts.

Properties

Name Type Description Notes
auto bool When true, enables automatic template [optional]
name str [optional]
mountpath str The mount path for the volume
size object The volume size. E.g. 5Gi [optional]
usenfs bool Set to `true` to use the nfs on the created volume and mount as ReadWriteMany. [optional]

Example

from cloudharness_model.models.deployment_volume_spec import DeploymentVolumeSpec

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

# convert the object into a dict
deployment_volume_spec_dict = deployment_volume_spec_instance.to_dict()
# create an instance of DeploymentVolumeSpec from a dict
deployment_volume_spec_from_dict = DeploymentVolumeSpec.from_dict(deployment_volume_spec_dict)

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