Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.33 KB

File metadata and controls

38 lines (29 loc) · 1.33 KB

CreateVolumeRequest

Properties

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

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]