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

Traits

Properties

$id string
$interface string
$name string
$serviceId string
$region string
$links
$url string

Methods

create (array $data) : 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.

regionMatches (string $value)

No description

interfaceMatches (string $value)

No description

Details

create(array $data)

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

Parameters

$data array {see \OpenStack\Identity\v3\Api::postEndpoints}

Return value

Creatable

Example code

$creatable = $endpoint->create($data);

retrieve()

Retrieve details of the current resource from the remote API.

Return value

void

Example code

$endpoint->retrieve();

update()

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

Return value

void

Example code

$endpoint->update();

delete()

Permanently delete this resource.

Return value

void

Example code

$endpoint->delete();

regionMatches(string $value)

Parameters

$value string

Example code

$endpoint->regionMatches($value);

interfaceMatches(string $value)

Parameters

$value string

Example code

$endpoint->interfaceMatches($value);