Skip to content

Commit

Permalink
update preferred types filter
Browse files Browse the repository at this point in the history
  • Loading branch information
ramrutha497 committed Oct 16, 2024
1 parent 28bc65c commit 9122bd7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion spotinst_sdk2/models/ocean/gcp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,16 +210,19 @@ class InstanceTypes:
blacklist: List[str]
whitelist: List[str]
filters: Filters
preferred_types: List[str]
"""

def __init__(
self,
blacklist: List[str] = none,
whitelist: List[str] = none,
filters: Filters = none):
filters: Filters = none,
preferred_types: List[str] = none):
self.blacklist = blacklist
self.whitelist = whitelist
self.filters = filters
self.preferred_types = preferred_types


class Labels:
Expand Down Expand Up @@ -889,6 +892,7 @@ class VirtualNodeGroup:
availability_zones: List[str]
filters: Filters
instance_types: List[str]
preferred_types: List[str]
labels: List[Labels]
metadata: List[Metadata]
name: str
Expand All @@ -914,6 +918,7 @@ def __init__(
availability_zones: List[str] = none,
instance_types: List[str] = none,
filters: Filters = none,
preferred_types: List[str] = none,
labels: List[Labels] = none,
metadata: List[Metadata] = none,
name: str = none,
Expand All @@ -936,6 +941,7 @@ def __init__(
self.availability_zones = availability_zones
self.instance_types = instance_types
self.filters = filters
self.preferred_types = preferred_types
self.labels = labels
self.metadata = metadata
self.name = name
Expand Down

0 comments on commit 9122bd7

Please sign in to comment.