Skip to content

Commit a868570

Browse files
authored
feat(environmental_footprint): add network and load balancer categories to enums (#1457)
1 parent 08d8707 commit a868570

File tree

2 files changed

+4
-0
lines changed
  • scaleway-async/scaleway_async/environmental_footprint/v1alpha1
  • scaleway/scaleway/environmental_footprint/v1alpha1

2 files changed

+4
-0
lines changed

scaleway-async/scaleway_async/environmental_footprint/v1alpha1/types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class ProductCategory(str, Enum, metaclass=StrEnumMeta):
2424
ELASTIC_METAL = "elastic_metal"
2525
INSTANCES = "instances"
2626
OBJECT_STORAGE = "object_storage"
27+
LOAD_BALANCER = "load_balancer"
2728

2829
def __str__(self) -> str:
2930
return str(self.value)
@@ -43,6 +44,7 @@ class ServiceCategory(str, Enum, metaclass=StrEnumMeta):
4344
BAREMETAL = "baremetal"
4445
COMPUTE = "compute"
4546
STORAGE = "storage"
47+
NETWORK = "network"
4648

4749
def __str__(self) -> str:
4850
return str(self.value)

scaleway/scaleway/environmental_footprint/v1alpha1/types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class ProductCategory(str, Enum, metaclass=StrEnumMeta):
2424
ELASTIC_METAL = "elastic_metal"
2525
INSTANCES = "instances"
2626
OBJECT_STORAGE = "object_storage"
27+
LOAD_BALANCER = "load_balancer"
2728

2829
def __str__(self) -> str:
2930
return str(self.value)
@@ -43,6 +44,7 @@ class ServiceCategory(str, Enum, metaclass=StrEnumMeta):
4344
BAREMETAL = "baremetal"
4445
COMPUTE = "compute"
4546
STORAGE = "storage"
47+
NETWORK = "network"
4648

4749
def __str__(self) -> str:
4850
return str(self.value)

0 commit comments

Comments
 (0)