Documentation

Environments extends CloudApiBase implements CloudApiInterface

Class Environments

Table of Contents

$client ClientInterface
copyFiles() Copies files from an environment to another environment. OperationResponse
get() Gets information about an environment. EnvironmentResponse
getAll() Shows all environments in an application. EnvironmentsResponse
update() Modifies configuration settings for an environment. OperationResponse
rename() Renames an environment. OperationResponse
enableLiveDev() Enable livedev mode for an environment. OperationResponse
disableLiveDev() Disable livedev mode for an environment. OperationResponse
enableProductionMode() Enable production mode for an environment. OperationResponse
disableProductionMode() Disable production mode for an environment. OperationResponse
create() Add a new continuous delivery environment to an application. OperationResponse
delete() Deletes a CD environment. OperationResponse
__construct() Client constructor. mixed

Properties

Methods

copyFiles()

Copies files from an environment to another environment.

public copyFiles( $environmentUuidFrom : string , $environmentUuidTo : string ) : OperationResponse
Parameters
$environmentUuidFrom : string
$environmentUuidTo : string
Return values
OperationResponse

update()

Modifies configuration settings for an environment.

public update( $environmentUuid : string , $config : array ) : OperationResponse
Parameters
$environmentUuid : string
$config : array
Return values
OperationResponse

create()

Add a new continuous delivery environment to an application.

public create( $applicationUuid : string , $label : string , $branch : string , $databases : array ) : OperationResponse
Parameters
$applicationUuid : string
$label : string
$branch : string
$databases : array
Return values
OperationResponse

Search results