Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 3.53 KB

CreateInstanceBody.md

File metadata and controls

47 lines (38 loc) · 3.53 KB

CreateInstanceBody

Properties

Name Type Description Notes
shared_snapshot str Identifier of the snapshot that was shared. [optional]
shared_snapshot_password str Password of the shared snapshot named by sharedSnapshot, as set when it was shared. Required when that snapshot was shared with sharing type passwordPublicLink. This is the same value passed as password to POST /v3/snapshots/accept. [optional]
name str The name of the device. [optional]
key str Key used to encrypt the instance (hex). [optional]
flavor str Which device model to create. Use a `flavor` value from `GET /v3/models`. [optional]
project_id str Project the device is created in. The device uses that project's quota (cores, memory, device count). Get IDs from `GET /v3/projects`.
os_version str Operating-system version to install, as listed in `osVersion` by `GET /v3/models/{model}/software`. If you give only `osVersion`, the newest build of that version is used. [optional]
os_build str Exact build to install, as listed in `osBuild` by `GET /v3/models/{model}/software`. Give it together with `osVersion` to pin one build. You must give at least one of `osVersion` and `osBuild`. [optional]
patches List[str] List of patches to apply. [optional]
fw_package str Optional. Boots a specific firmware file instead of choosing one from the model's software list. Either the `id` of an uploaded `fw` image (for example one in your project, see `POST /v3/images`) or an http(s) URL. When set, it wins over the software list; still pass `osVersion` or `osBuild`. A domain-level image is copied into your project first. Models whose `supportsCustomFirmwareImage` is false reject an image ID here. [optional]
original_firmware_package_url str URL that the firmware package is available at. [optional]
encrypt bool Whether to encrypt the instance. [optional]
wifi_mac str WiFi MAC address to assign to the instance. [optional]
wan_access bool Manages internet access. [optional]
volume VolumeOptions [optional]
snapshot str Snapshot ID for this instance to be cloned from if defined. [optional]
boot_options InstanceBootOptions [optional]
sbs bool Should attempt to create springboard snapshot. [optional]
charm_boot_args List[Dict[str, object]] Optional charm boot args. [optional]

Example

from corellium.models.create_instance_body import CreateInstanceBody

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

# convert the object into a dict
create_instance_body_dict = create_instance_body_instance.to_dict()
# create an instance of CreateInstanceBody from a dict
create_instance_body_from_dict = CreateInstanceBody.from_dict(create_instance_body_dict)

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