LoadBalancerTypesClient

class LoadBalancerTypesClient(client: Client)[source]
get_all(name: str | None = None) list[BoundLoadBalancerType][source]

Get all Load Balancer types

Parameters:

name – str (optional) Can be used to filter Load Balancer type by their name.

Returns:

List[BoundLoadBalancerType]

get_by_id(id: int) BoundLoadBalancerType[source]

Returns a specific Load Balancer Type.

Parameters:

id – int

Returns:

BoundLoadBalancerType

get_by_name(name: str) BoundLoadBalancerType | None[source]

Get Load Balancer type by name

Parameters:

name – str Used to get Load Balancer type by name.

Returns:

BoundLoadBalancerType

get_list(name: str | None = None, page: int | None = None, per_page: int | None = None) LoadBalancerTypesPageResult[source]

Get a list of Load Balancer types

Parameters:
  • name – str (optional) Can be used to filter Load Balancer type by their name.

  • page – int (optional) Specifies the page to fetch

  • per_page – int (optional) Specifies how many results are returned by page

Returns:

(List[BoundLoadBalancerType], Meta)

class LoadBalancerType(id: int | None = None, name: str | None = None, description: str | None = None, max_connections: int | None = None, max_services: int | None = None, max_targets: int | None = None, max_assigned_certificates: int | None = None, prices: dict | None = None)[source]

LoadBalancerType Domain

Parameters:
  • id – int ID of the Load Balancer type

  • name – str Name of the Load Balancer type

  • description – str Description of the Load Balancer type

  • max_connections – int Max amount of connections the Load Balancer can handle

  • max_services – int Max amount of services the Load Balancer can handle

  • max_targets – int Max amount of targets the Load Balancer can handle

  • max_assigned_certificates – int Max amount of certificates the Load Balancer can serve

  • prices – Dict Prices in different locations