Servers
extends CloudApiBase
in
implements
CloudApiInterface
Class Servers
Table of Contents
$client | ClientInterface | |
---|---|---|
get() | Gets information about a single server. | ServerResponse |
update() | Modifies configuration settings for a server. | OperationResponse |
getAll() | Show all servers associated with an environment. | ServersResponse |
__construct() | Client constructor. | mixed |
Properties
$client
protected
ClientInterface
$client
Methods
get()
Gets information about a single server.
public
get(
$environmentUuid :
string
, $serverId :
string
)
: ServerResponse
Parameters
- $environmentUuid : string
- $serverId : string
Return values
ServerResponseupdate()
Modifies configuration settings for a server.
public
update(
$environmentUuid :
string
, $serverId :
string
, $config :
array
)
: OperationResponse
Parameters
- $environmentUuid : string
- $serverId : string
- $config : array
Return values
OperationResponsegetAll()
Show all servers associated with an environment.
public
getAll(
$environmentUuid :
string
)
: ServersResponse
Parameters
- $environmentUuid : string
Return values
ServersResponse__construct()
Client constructor.
public
__construct(
$client :
ClientInterface
)
: mixed
Parameters
- $client : ClientInterface