Search
Preparing search index...
The search index is not available
@devnote-dev/pterojs
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@devnote-dev/pterojs
ServerBuilder
Class ServerBuilder
Hierarchy
Builder
ServerBuilder
Index
Constructors
constructor
Methods
build
set
Allocation
set
Deployment
set
Description
set
Docker
Image
set
Egg
set
Environment
set
External
Id
set
Feature
Limits
set
Limits
set
Name
setOOMDisabled
set
Skip
Scripts
set
Start
On
Completion
set
Startup
set
User
set
Variable
Constructors
constructor
new
Server
Builder
(
)
:
ServerBuilder
Returns
ServerBuilder
Methods
build
build
(
)
:
CreateServerOptions
Returns
CreateServerOptions
set
Allocation
set
Allocation
(
options
:
{
additional
?:
number
[]
;
default
?:
number
}
)
:
ServerBuilder
Parameters
options:
{
additional
?:
number
[]
;
default
?:
number
}
Optional
additional
?:
number
[]
Optional
default
?:
number
Returns
ServerBuilder
set
Deployment
set
Deployment
(
options
:
{
dedicatedIp
?:
boolean
;
locations
?:
number
[]
;
portRange
?:
string
[]
}
)
:
ServerBuilder
Parameters
options:
{
dedicatedIp
?:
boolean
;
locations
?:
number
[]
;
portRange
?:
string
[]
}
Optional
dedicated
Ip
?:
boolean
Optional
locations
?:
number
[]
Optional
port
Range
?:
string
[]
Returns
ServerBuilder
set
Description
set
Description
(
description
:
string
)
:
ServerBuilder
Parameters
description:
string
Returns
ServerBuilder
set
Docker
Image
set
Docker
Image
(
image
:
string
)
:
ServerBuilder
Parameters
image:
string
Returns
ServerBuilder
set
Egg
set
Egg
(
egg
:
number
|
Egg
)
:
ServerBuilder
Parameters
egg:
number
|
Egg
Returns
ServerBuilder
set
Environment
set
Environment
(
variables
:
Record
<
string
,
string
|
number
|
boolean
>
)
:
ServerBuilder
Parameters
variables:
Record
<
string
,
string
|
number
|
boolean
>
Returns
ServerBuilder
set
External
Id
set
External
Id
(
id
:
undefined
|
string
)
:
ServerBuilder
Parameters
id:
undefined
|
string
Returns
ServerBuilder
set
Feature
Limits
set
Feature
Limits
(
featureLimits
:
Partial
<
FeatureLimits
>
)
:
ServerBuilder
Parameters
featureLimits:
Partial
<
FeatureLimits
>
Returns
ServerBuilder
set
Limits
set
Limits
(
limits
:
Partial
<
Limits
>
)
:
ServerBuilder
Parameters
limits:
Partial
<
Limits
>
Returns
ServerBuilder
set
Name
set
Name
(
name
:
string
)
:
ServerBuilder
Parameters
name:
string
Returns
ServerBuilder
setOOMDisabled
setOOMDisabled
(
value
:
boolean
)
:
ServerBuilder
Parameters
value:
boolean
Returns
ServerBuilder
set
Skip
Scripts
set
Skip
Scripts
(
value
:
boolean
)
:
ServerBuilder
Parameters
value:
boolean
Returns
ServerBuilder
set
Start
On
Completion
set
Start
On
Completion
(
value
:
boolean
)
:
ServerBuilder
Parameters
value:
boolean
Returns
ServerBuilder
set
Startup
set
Startup
(
command
:
string
)
:
ServerBuilder
Parameters
command:
string
Returns
ServerBuilder
set
User
set
User
(
user
:
number
|
User
)
:
ServerBuilder
Parameters
user:
number
|
User
Returns
ServerBuilder
set
Variable
set
Variable
(
key
:
string
, value
:
string
|
number
|
boolean
)
:
ServerBuilder
Parameters
key:
string
value:
string
|
number
|
boolean
Returns
ServerBuilder
Exports
Server
Builder
constructor
build
set
Allocation
set
Deployment
set
Description
set
Docker
Image
set
Egg
set
Environment
set
External
Id
set
Feature
Limits
set
Limits
set
Name
setOOMDisabled
set
Skip
Scripts
set
Start
On
Completion
set
Startup
set
User
set
Variable
Generated using
TypeDoc