Variables
extends CloudApiBase
in
implements
CloudApiInterface
Class Variables
Table of Contents
| $client | ClientInterface | |
|---|---|---|
| getAll() | Fetches all environment variables. | VariablesResponse |
| get() | Returns details about an environment variable. | VariableResponse |
| create() | Adds an environment variable. | OperationResponse |
| update() | Updates an environment variable. | OperationResponse |
| delete() | Deletes an environment variable. | OperationResponse |
| __construct() | Client constructor. | mixed |
Properties
$client
protected
ClientInterface
$client
Methods
getAll()
Fetches all environment variables.
public
getAll(
$environmentUuid :
string
)
: VariablesResponse
Parameters
- $environmentUuid : string
Return values
VariablesResponseget()
Returns details about an environment variable.
public
get(
$environmentUuid :
string
, $name :
string
)
: VariableResponse
Parameters
- $environmentUuid : string
- $name : string
Return values
VariableResponsecreate()
Adds an environment variable.
public
create(
$environmentUuid :
string
, $name :
string
, $value :
string
)
: OperationResponse
Parameters
- $environmentUuid : string
- $name : string
- $value : string
Return values
OperationResponseupdate()
Updates an environment variable.
public
update(
$environmentUuid :
string
, $name :
string
, $value :
string
)
: OperationResponse
Parameters
- $environmentUuid : string
- $name : string
- $value : string
Return values
OperationResponsedelete()
Deletes an environment variable.
public
delete(
$environmentUuid :
string
, $name :
string
)
: OperationResponse
Parameters
- $environmentUuid : string
- $name : string
Return values
OperationResponse__construct()
Client constructor.
public
__construct(
$client :
ClientInterface
)
: mixed
Parameters
- $client : ClientInterface