We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 45d48db + 74bb76a commit f92a7bbCopy full SHA for f92a7bb
2 files changed
src/Networking/v2/Extensions/Layer3/Api.php
@@ -34,7 +34,9 @@ public function getFloatingIps(): array
34
return [
35
'method' => 'GET',
36
'path' => $this->pathPrefix . '/floatingips',
37
- 'params' => [],
+ 'params' => [
38
+ 'tenantId' => $this->params->queryTenantId(),
39
+ ],
40
];
41
}
42
src/Networking/v2/Extensions/Layer3/Service.php
@@ -42,9 +42,9 @@ public function getFloatingIp($id): FloatingIp
/**
43
* @return \Generator
44
*/
45
- public function listFloatingIps(): \Generator
+ public function listFloatingIps(array $options = []): \Generator
46
{
47
- return $this->floatingIp()->enumerate($this->api->getFloatingIps());
+ return $this->floatingIp()->enumerate($this->api->getFloatingIps(), $options);
48
49
50
0 commit comments