hetzner-ts
    Preparing search index...

    Load Balancer Actions API

    Load balancer actions are used to manage load balancers. https://docs.hetzner.cloud/#load-balancers-actions

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    baseUrl: string
    token: string

    Methods

    • Get a specific action for a specific Load Balancer

      Parameters

      • loadBalancerId: number

        The Load Balancer ID

      • actionId: number

        The action ID

      Returns Promise<
          | { response: LoadBalancerActionResponse; success: true }
          | { response: APIError; success: false },
      >

    • Type Parameters

      • T

      Parameters

      • endpoint: string
      • options: RequestInit = {}

      Returns Promise<{ response: T; success: true } | { response: APIError; success: false }>