-
Hi to everybody I'm a first timer with Netbox so maybe i'm missing something while using the library method VirtualizationClustersList(ctx).Execute() the returned clusters are missing this object... can you point me in the right direction ? the docs are huge and maybe i'm looking at the wrong things. i'll also report my basic use case, to be clear thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, I'm not seeing a {
"id": 2,
"url": "http://localhost:8000/api/virtualization/clusters/2/",
"display_url": "http://localhost:8000/virtualization/clusters/2/",
"display": "woosczpffd",
"name": "woosczpffd",
"type": {
"id": 2,
"url": "http://localhost:8000/api/virtualization/cluster-types/2/",
"display": "xamwtfsvmw",
"name": "xamwtfsvmw",
"slug": "ankqnajtmx",
"description": ""
},
"group": null,
"status": {
"value": "active",
"label": "Active"
},
"tenant": {
"id": 1,
"url": "http://localhost:8000/api/tenancy/tenants/1/",
"display": "Some Tenant",
"name": "Some Tenant",
"slug": "some-tenant",
"description": ""
},
"scope_type": null,
"scope_id": null,
"scope": null,
"description": "",
"comments": "",
"tags": [],
"custom_fields": {},
"created": "2025-02-19T16:44:54.885689Z",
"last_updated": "2025-02-21T15:01:01.118149Z",
"device_count": 0,
"virtualmachine_count": 0,
"allocated_vcpus": null,
"allocated_memory": null,
"allocated_disk": null
} |
Beta Was this translation helpful? Give feedback.
If you do have a custom field defined, then that's accessible through
cluster.CustomFields["your_field_name"]