| Name |
Type |
Description |
Notes |
| callback_url |
str |
A URL that can be attached to the volume you are creating. This `callback_url` will post any action events that occur to your volume to the provided URL. |
[optional] |
| description |
str |
A brief description or comment about the volume. |
[optional] |
| environment_name |
str |
The name of the environment within which the volume is being created. |
|
| image_id |
int |
The ID of the operating system image that will be associated with the volume. By providing an `image_id` in the create volume request, you will create a bootable volume. |
[optional] |
| name |
str |
The name of the volume being created. |
|
| size |
int |
The size of the volume in GB. 1048576GB storage capacity per volume. |
|
| volume_type |
str |
Specifies the type of volume being created, which determines the storage technology it will use. Call the List volume types endpoint to retrieve a list of available volume model types. |
|
from hyperstack.models.create_volume_payload import CreateVolumePayload
# TODO update the JSON string below
json = "{}"
# create an instance of CreateVolumePayload from a JSON string
create_volume_payload_instance = CreateVolumePayload.from_json(json)
# print the JSON string representation of the object
print(CreateVolumePayload.to_json())
# convert the object into a dict
create_volume_payload_dict = create_volume_payload_instance.to_dict()
# create an instance of CreateVolumePayload from a dict
create_volume_payload_from_dict = CreateVolumePayload.from_dict(create_volume_payload_dict)
[Back to Model list] [Back to API list] [Back to README]