PUT /api/compute_resources/980190968-compute_resource4/associate { "compute_resource": {} } 200 { "total": 10, "subtotal": 10, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "ip": null, "ip6": null, "environment_id": null, "environment_name": null, "last_report": null, "mac": null, "realm_id": null, "realm_name": null, "sp_mac": null, "sp_ip": null, "sp_name": null, "domain_id": null, "domain_name": null, "architecture_id": null, "architecture_name": null, "operatingsystem_id": null, "operatingsystem_name": null, "subnet_id": null, "subnet_name": null, "subnet6_id": null, "subnet6_name": null, "sp_subnet_id": null, "ptable_id": null, "ptable_name": null, "medium_id": null, "medium_name": null, "pxe_loader": null, "build": false, "comment": null, "disk": null, "installed_at": null, "model_id": null, "hostgroup_id": null, "owner_id": 135138680, "owner_name": "Admin User", "owner_type": "User", "enabled": true, "managed": false, "use_image": null, "image_file": "", "uuid": "73762417-8f9c-4ab2-8927-ec2c1bc0f552", "compute_resource_id": 980190968, "compute_resource_name": "compute_resource4", "compute_profile_id": null, "compute_profile_name": null, "capabilities": [ "image", "key_pair" ], "provision_method": "image", "certname": "host8", "image_id": null, "image_name": null, "created_at": "2020-11-04 15:06:02 UTC", "updated_at": "2020-11-04 15:06:02 UTC", "last_compile": null, "global_status": 0, "global_status_label": "OK", "uptime_seconds": null, "organization_id": 447626438, "organization_name": "Organization 1", "location_id": 255093256, "location_name": "Location 1", "puppet_status": 0, "model_name": null, "name": "host8", "id": 6, "puppet_proxy_id": null, "puppet_proxy_name": null, "puppet_ca_proxy_id": null, "puppet_ca_proxy_name": null, "puppet_proxy": null, "puppet_ca_proxy": null, "registration_token": "eyJhbGciOiJIUzI1NiJ9.eyJob3N0X2lkIjo2LCJpYXQiOjE2MDQ1MDIzNjIsImp0aSI6IjQwZDAxZTIwZWIzYmExZjQ1OWMyNzk1NzgyNDE3NDQwYWFmNDAxOWFmN2M5YzQyOTM3YzI3YWIzMzg5M2E0MmYiLCJleHAiOjE2MDQ1ODg3NjIsIm5iZiI6MTYwNDQ5ODc2Mn0.9ElHPfztFNfzWqZndfSM-XFEAG5Nc8ZSECfIBtcqJlg", "hostgroup_name": null, "hostgroup_title": null } ] }
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|