Skip to content

Commit e55fa6f

Browse files
feat(ipam): add support for listing by ip_address and mac_address (#1078)
Co-authored-by: Rémy Léone <[email protected]>
1 parent 4daed38 commit e55fa6f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

scaleway-async/scaleway_async/ipam/v1/types.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ class ListIPsRequestOrderBy(str, Enum, metaclass=StrEnumMeta):
2323
UPDATED_AT_ASC = "updated_at_asc"
2424
ATTACHED_AT_DESC = "attached_at_desc"
2525
ATTACHED_AT_ASC = "attached_at_asc"
26+
IP_ADDRESS_DESC = "ip_address_desc"
27+
IP_ADDRESS_ASC = "ip_address_asc"
28+
MAC_ADDRESS_DESC = "mac_address_desc"
29+
MAC_ADDRESS_ASC = "mac_address_asc"
2630

2731
def __str__(self) -> str:
2832
return str(self.value)

scaleway/scaleway/ipam/v1/types.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ class ListIPsRequestOrderBy(str, Enum, metaclass=StrEnumMeta):
2323
UPDATED_AT_ASC = "updated_at_asc"
2424
ATTACHED_AT_DESC = "attached_at_desc"
2525
ATTACHED_AT_ASC = "attached_at_asc"
26+
IP_ADDRESS_DESC = "ip_address_desc"
27+
IP_ADDRESS_ASC = "ip_address_asc"
28+
MAC_ADDRESS_DESC = "mac_address_desc"
29+
MAC_ADDRESS_ASC = "mac_address_asc"
2630

2731
def __str__(self) -> str:
2832
return str(self.value)

0 commit comments

Comments
 (0)