from latitudesh_python_sdk import Latitudeshimport oswith Latitudesh( bearer=os.getenv("LATITUDESH_BEARER", ""),) as latitudesh: res = latitudesh.firewalls.list_assignments(firewall_id="fw_Qk0Ryqv1dW36X", page_size=20, page_number=1) while res is not None: # Handle items res = res.next()
Returns a list of all servers assigned to a particular firewall.
GET
/
firewalls
/
{firewall_id}
/
assignments
Python (SDK)
Copy
from latitudesh_python_sdk import Latitudeshimport oswith Latitudesh( bearer=os.getenv("LATITUDESH_BEARER", ""),) as latitudesh: res = latitudesh.firewalls.list_assignments(firewall_id="fw_Qk0Ryqv1dW36X", page_size=20, page_number=1) while res is not None: # Handle items res = res.next()