LogForwardingDestinations
extends CloudApiBase
in
implements
CloudApiInterface
Class LogForwardingDestinations
Table of Contents
$client | ClientInterface | |
---|---|---|
getAll() | Returns a list of log forwarding destinations. | LogForwardingDestinationsResponse |
get() | Returns a specific log forwarding destination. | LogForwardingDestinationResponse |
create() | Creates a log forwarding destination. | OperationResponse |
delete() | Delete a specific log forwarding destination. | OperationResponse |
disable() | Disables a log forwarding destination. | OperationResponse |
enable() | Enables a log forwarding destination. | OperationResponse |
update() | Updates a log forwarding destination. | OperationResponse |
__construct() | Client constructor. | mixed |
Properties
$client
protected
ClientInterface
$client
Methods
getAll()
Returns a list of log forwarding destinations.
public
getAll(
$environmentUuid :
string
)
: LogForwardingDestinationsResponse
Parameters
- $environmentUuid : string
The environment ID
Return values
LogForwardingDestinationsResponseget()
Returns a specific log forwarding destination.
public
get(
$environmentUuid :
string
, $destinationId :
int
)
: LogForwardingDestinationResponse
Parameters
- $environmentUuid : string
The environment ID
- $destinationId : int
Return values
LogForwardingDestinationResponsecreate()
Creates a log forwarding destination.
public
create(
$environmentUuid :
string
, $label :
string
, $sources :
array
, $consumer :
string
, $credentials :
array
, $address :
string
)
: OperationResponse
Parameters
- $environmentUuid : string
- $label : string
- $sources : array
- $consumer : string
- $credentials : array
- $address : string
Return values
OperationResponsedelete()
Delete a specific log forwarding destination.
public
delete(
$environmentUuid :
string
, $destId :
int
)
: OperationResponse
Parameters
- $environmentUuid : string
- $destId : int
Return values
OperationResponsedisable()
Disables a log forwarding destination.
public
disable(
$environmentUuid :
string
, $destId :
int
)
: OperationResponse
Parameters
- $environmentUuid : string
- $destId : int
Return values
OperationResponseenable()
Enables a log forwarding destination.
public
enable(
$environmentUuid :
string
, $destId :
int
)
: OperationResponse
Parameters
- $environmentUuid : string
- $destId : int
Return values
OperationResponseupdate()
Updates a log forwarding destination.
public
update(
$environmentUuid :
string
, $destId :
int
, $label :
string
, $sources :
array
, $consumer :
string
, $creds :
array
, $address :
string
)
: OperationResponse
Parameters
- $environmentUuid : string
- $destId : int
- $label : string
- $sources : array
- $consumer : string
- $creds : array
- $address : string
Return values
OperationResponse__construct()
Client constructor.
public
__construct(
$client :
ClientInterface
)
: mixed
Parameters
- $client : ClientInterface