Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.09 KB

SnapshotRestoreRequest.md

File metadata and controls

30 lines (21 loc) · 1.09 KB

SnapshotRestoreRequest

Properties

Name Type Description Notes
contract_id int Contract ID to assign to the newly restored VM [optional]
new_vm_name str The name of the newly restored VM

Example

from hyperstack.models.snapshot_restore_request import SnapshotRestoreRequest

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

# convert the object into a dict
snapshot_restore_request_dict = snapshot_restore_request_instance.to_dict()
# create an instance of SnapshotRestoreRequest from a dict
snapshot_restore_request_from_dict = SnapshotRestoreRequest.from_dict(snapshot_restore_request_dict)

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