class LoadBalancerListener extends OperatorResource implements Creatable, Retrievable, Updateable, Deletable

Represents a Neutron v2 LoadBalancer Listener

Traits

Properties

$name string
$description string
$id string
$tenantId string
$protocol string
$protocolPort integer
$connectionLimit integer
$defaultPoolId string
$adminStateUp boolean
$loadbalancers LoadBalancer[]
$loadbalancerId string
$operatingStatus string
$provisioningStatus string
$pools LoadBalancerPool[]

Methods

create (array $userOptions) : Creatable

Create a new resource according to the configuration set in the options.

retrieve () : void

Retrieve details of the current resource from the remote API.

update () : void

Update the current resource with the configuration set out in the user options.

delete () : void

Permanently delete this resource.

Details

create(array $userOptions)

Create a new resource according to the configuration set in the options.

Parameters

$userOptions array

Return value

Creatable

Example code

$creatable = $loadBalancerListener->create($userOptions);

retrieve()

Retrieve details of the current resource from the remote API.

Return value

void

Example code

$loadBalancerListener->retrieve();

update()

Update the current resource with the configuration set out in the user options.

Return value

void

Example code

$loadBalancerListener->update();

delete()

Permanently delete this resource.

Return value

void

Example code

$loadBalancerListener->delete();