'loadbalancerId', 'operating_status' => 'operatingStatus', 'provisioning_status' => 'provisioningStatus', ]; /** * {@inheritdoc} */ protected function getAliases(): array { return parent::getAliases() + [ 'listeners' => new Alias('listeners', LoadBalancerListener::class, true), ]; } /** * {@inheritdoc} */ public function retrieve() { $response = $this->execute($this->api->getLoadBalancerStatuses(), ['loadbalancerId' => (string) $this->loadbalancerId]); $json = Utils::jsonDecode($response); $this->populateFromArray($json[$this->resourceKey]['loadbalancer']); } }