Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.97 KB

GPUV1InstanceInstanceResource.md

File metadata and controls

38 lines (29 loc) · 1.97 KB

GPUV1InstanceInstanceResource

Properties

Name Type Description Notes
id int GPU instance ID [optional]
name str [optional]
status str [optional]
action_lock str Whether an action is in progress on the instance [optional]
action_lock_reason str Action in progress on the instance, `null` when unlocked [optional]
pool GPUV1PoolPoolResource [optional]
pool_instance GPUV1PoolPoolInstanceResource [optional]
os_template GPUV1OsTemplateOsTemplateResource [optional]
llm_model_variant GPUV1LlmModelVariantLlmModelVariantResource [optional]
ssh_keys List[GPUV1SshKeySshKeyResource] Array of `GPU.V1.SshKey.SshKeyResource` [optional]

Example

from hostinger_api.models.gpuv1_instance_instance_resource import GPUV1InstanceInstanceResource

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

# convert the object into a dict
gpuv1_instance_instance_resource_dict = gpuv1_instance_instance_resource_instance.to_dict()
# create an instance of GPUV1InstanceInstanceResource from a dict
gpuv1_instance_instance_resource_from_dict = GPUV1InstanceInstanceResource.from_dict(gpuv1_instance_instance_resource_dict)

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