diff --git a/spotinst_sdk2/models/ocean/azure/__init__.py b/spotinst_sdk2/models/ocean/azure/__init__.py index ba39b6f7..e004aca7 100644 --- a/spotinst_sdk2/models/ocean/azure/__init__.py +++ b/spotinst_sdk2/models/ocean/azure/__init__.py @@ -119,6 +119,20 @@ def __init__( self.is_enabled = is_enabled self.time_windows = time_windows +class SuspensionHours: + """ + # Arguments + is_enabled: bool + time_windows: List[str] + """ + + def __init__( + self, + is_enabled: bool = none, + time_windows: List[str] = none): + self.is_enabled = is_enabled + self.time_windows = time_windows + class ClusterRoll: """ @@ -194,8 +208,10 @@ class Scheduling: def __init__( self, shutdown_hours: ShutdownHours = none, + suspension_hours : SuspensionHours = none, tasks: List[Task] = none): self.shutdown_hours = shutdown_hours + self.suspension_hours = suspension_hours self.tasks = tasks # endregion diff --git a/spotinst_sdk2/version.py b/spotinst_sdk2/version.py index 447562b9..8576e6e6 100644 --- a/spotinst_sdk2/version.py +++ b/spotinst_sdk2/version.py @@ -1 +1 @@ -__version__ = '3.12.0' +__version__ = '3.13.0'