hetzner-ts
Preparing search index...
index
HetznerAPI
Class HetznerAPI
Hierarchy (
View Summary
)
BaseAPI
HetznerAPI
Index
Constructors
constructor
Properties
base
Url
token
Accessors
actions
billing
certificates
datacenters
firewalls
floating
Ips
load
Balancers
locations
networks
servers
ssh
Keys
volumes
Methods
request
Constructors
constructor
new
HetznerAPI
(
token
:
string
,
baseUrl
?:
string
)
:
HetznerAPI
Parameters
token
:
string
Optional
baseUrl
:
string
Returns
HetznerAPI
Properties
Protected
base
Url
baseUrl
:
string
Protected
token
token
:
string
Accessors
actions
get
actions
()
:
Actions
Returns
Actions
billing
get
billing
()
:
Billing
Returns
Billing
certificates
get
certificates
()
:
Certificates
Returns
Certificates
datacenters
get
datacenters
()
:
Datacenters
Returns
Datacenters
firewalls
get
firewalls
()
:
Firewalls
Returns
Firewalls
floating
Ips
get
floatingIps
()
:
FloatingIPs
Returns
FloatingIPs
load
Balancers
get
loadBalancers
()
:
LoadBalancers
Returns
LoadBalancers
locations
get
locations
()
:
Locations
Returns
Locations
networks
get
networks
()
:
Networks
Returns
Networks
servers
get
servers
()
:
Servers
Returns
Servers
ssh
Keys
get
sshKeys
()
:
SSHKeys
Returns
SSHKeys
volumes
get
volumes
()
:
Volumes
Returns
Volumes
Methods
request
request
<
T
>
(
endpoint
:
string
,
options
?:
RequestInit
,
)
:
Promise
<
{
response
:
T
;
success
:
true
}
|
{
response
:
APIError
;
success
:
false
}
,
>
Type Parameters
T
Parameters
endpoint
:
string
options
:
RequestInit
= {}
Returns
Promise
<
{
response
:
T
;
success
:
true
}
|
{
response
:
APIError
;
success
:
false
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
base
Url
token
Accessors
actions
billing
certificates
datacenters
firewalls
floating
Ips
load
Balancers
locations
networks
servers
ssh
Keys
volumes
Methods
request
hetzner-ts
Loading...