Skip to content

Latest commit

History

History
37 lines (28 loc) · 1.34 KB

File metadata and controls

37 lines (28 loc) · 1.34 KB

CreateHardwareInstanceRequest

Properties

NameTypeDescriptionNotes
cluster_idint
namestr
gpu_typestr
num_gpuint
cpuint
memoryint
accelerator_resource_keystr
node_affinity_labelsDict[str, str]
accelerator_memoryint

Example

fromplatform_api_python_client.models.create_hardware_instance_requestimportCreateHardwareInstanceRequest# TODO update the JSON string belowjson="{}"# create an instance of CreateHardwareInstanceRequest from a JSON stringcreate_hardware_instance_request_instance=CreateHardwareInstanceRequest.from_json(json)
# print the JSON string representation of the objectprint(CreateHardwareInstanceRequest.to_json())
# convert the object into a dictcreate_hardware_instance_request_dict=create_hardware_instance_request_instance.to_dict()
# create an instance of CreateHardwareInstanceRequest from a dictcreate_hardware_instance_request_from_dict=CreateHardwareInstanceRequest.from_dict(create_hardware_instance_request_dict)

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