Skip to main content

List load balancer rules

GET 

/load_balancers/load_balancer/rules

Returns a list of all rules for a given load balancer

Scopes

  • load_balancers
  • load_balancers:read

OAuth2 Scopes

When using OAuth2 authentication, scopes are prefixed with api.katapult.io/core/v1/.

Request

Query Parameters

    load_balancer[id] string

    The load balancer to return all load rules for.

    All 'load_balancer[]' params are mutually exclusive, only one can be provided.

    load_balancer[api_reference] string

    The load balancer to return all load rules for.

    All 'load_balancer[]' params are mutually exclusive, only one can be provided.

    page integer

    Possible values: >= 1

    Default value: 1

    The page number to request. If not provided, the first page will be returned.

    per_page integer

    Possible values: >= 1

    Default value: 30

    The number of items to return per page. If not provided, the default value will be used.

Responses

Returns a list of all rules for a given load balancer

Schema

    pagination

    object

    required

    current_page integer

    The current page

    total_pages integernullable

    The total number of pages

    total integernullable

    The total number of items across all pages

    per_page integer

    The number of items per page

    large_set boolean

    Is this a large set and therefore the total number of records cannot be returned?

    load_balancer_rules

    object[]

    required

    The load balancer rules for this load balancer

  • Array [

  • id string
    algorithm LoadBalancerRuleAlgorithmEnum (string)

    Possible values: [round_robin, least_connections, sticky]

    destination_port integer
    listen_port integer
    protocol LoadBalancerRuleProtocolEnum (string)

    Possible values: [HTTPS, TCP, HTTP]

    certificates

    object[]

  • Array [

  • id string
    name string
  • ]

  • check_enabled boolean
  • ]

Loading...