Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.39 KB

File metadata and controls

39 lines (30 loc) · 1.39 KB

CreateVolumeRequest

Properties

Name Type Description Notes
name str
cluster_id int
backend str
size_gb int [optional] [default to 100]
provider ObjectStorageProvider [optional]
bucket str
region str
prefix str [optional]
read_only bool [optional] [default to False]
volume_attributes Dict[str, str] [optional]
mount_options List[str] [optional]

Example

from platform_api_python_client.models.create_volume_request import CreateVolumeRequest

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

# convert the object into a dict
create_volume_request_dict = create_volume_request_instance.to_dict()
# create an instance of CreateVolumeRequest from a dict
create_volume_request_from_dict = CreateVolumeRequest.from_dict(create_volume_request_dict)

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