Skip to content

Latest commit

History

History
40 lines (31 loc) · 1.43 KB

File metadata and controls

40 lines (31 loc) · 1.43 KB

CreateVolumeRequest

Properties

NameTypeDescriptionNotes
namestr
cluster_idint
backendstr
size_gbint[optional] [default to 100]
storage_classstr[optional]
providerObjectStorageProvider[optional]
bucketstr
regionstr
prefixstr[optional]
read_onlybool[optional] [default to False]
volume_attributesDict[str, str][optional]
mount_optionsList[str][optional]

Example

fromplatform_api_python_client.models.create_volume_requestimportCreateVolumeRequest# TODO update the JSON string belowjson="{}"# create an instance of CreateVolumeRequest from a JSON stringcreate_volume_request_instance=CreateVolumeRequest.from_json(json)
# print the JSON string representation of the objectprint(CreateVolumeRequest.to_json())
# convert the object into a dictcreate_volume_request_dict=create_volume_request_instance.to_dict()
# create an instance of CreateVolumeRequest from a dictcreate_volume_request_from_dict=CreateVolumeRequest.from_dict(create_volume_request_dict)

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