Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.51 KB

File metadata and controls

44 lines (35 loc) · 1.51 KB

GetVolumeResponse

Properties

Name Type Description Notes
id int
name str
cluster_id int
backend str
access_mode VolumeAccessMode
status VolumeStatus
pvc_name str
created_at datetime
size_gb int
provider ObjectStorageProvider
bucket str
region str
prefix str [optional]
read_only bool
volume_attributes Dict[str, str] [optional]
mount_options List[str] [optional]

Example

from platform_api_python_client.models.get_volume_response import GetVolumeResponse

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

# convert the object into a dict
get_volume_response_dict = get_volume_response_instance.to_dict()
# create an instance of GetVolumeResponse from a dict
get_volume_response_from_dict = GetVolumeResponse.from_dict(get_volume_response_dict)

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