diff --git a/CHANGELOG.md b/CHANGELOG.md
index d955191d..a4dd26d1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
+## [2.3.2] - 2024-01-12
+### Added
+- Added `caching` field in Azure Stateful Node `OsDisk` and `DataDisk` model.
+
## [2.3.1] - 2023-12-18
### Added
- Added `public_settings` and `protected_settings` fields in Azure Stateful Node `Extension` model.
diff --git a/docs/models/stateful_node.md b/docs/models/stateful_node.md
index a37e1da4..4d8c456a 100644
--- a/docs/models/stateful_node.md
+++ b/docs/models/stateful_node.md
@@ -332,13 +332,29 @@ An enumeration.
ultra_ssd_lrs
+CachingType
+
+```python
+CachingType(cls, value, names=None, *, module, qualname, type, start)
+```
+An enumeration.
+none
+
+
+read_only
+
+
+read_write
+
+
DataDisk
```python
DataDisk(self,
lun: int = 'd3043820717d74d9a17694c176d39733',
size_g_b: int = 'd3043820717d74d9a17694c176d39733',
- type: DataDiskType = 'd3043820717d74d9a17694c176d39733')
+ type: DataDiskType = 'd3043820717d74d9a17694c176d39733',
+ caching: CachingType = 'd3043820717d74d9a17694c176d39733')
```
__Arguments__
@@ -346,6 +362,7 @@ __Arguments__
- __lun__: int
size_g_b = int
- __type__: DataDiskType
+- __caching __: CachingType
Extension
@@ -662,13 +679,15 @@ __Arguments__
```python
OsDisk(self,
size_g_b: int = 'd3043820717d74d9a17694c176d39733',
- type: DataDiskType = 'd3043820717d74d9a17694c176d39733')
+ type: DataDiskType = 'd3043820717d74d9a17694c176d39733',
+ caching: CachingType = 'd3043820717d74d9a17694c176d39733')
```
__Arguments__
- __size_g_b__: int
- __type__: DataDiskType
+- __caching __: CachingType
SourceVault
diff --git a/spotinst_sdk2/models/stateful_node/__init__.py b/spotinst_sdk2/models/stateful_node/__init__.py
index dca41fa3..d2679c28 100644
--- a/spotinst_sdk2/models/stateful_node/__init__.py
+++ b/spotinst_sdk2/models/stateful_node/__init__.py
@@ -254,24 +254,30 @@ class DataDiskType(Enum):
standard_ssd_lrs = "StandardSSD_LRS"
ultra_ssd_lrs = "UltraSSD_LRS"
-
+class CachingType(Enum):
+ none = "None"
+ read_only = "ReadOnly"
+ read_write = "ReadWrite"
+
class DataDisk:
"""
# Arguments
lun: int
size_g_b = int
type: DataDiskType
+ caching : CachingType
"""
def __init__(
self,
lun: int = none,
size_g_b: int = none,
- type: DataDiskType = none):
+ type: DataDiskType = none,
+ caching : CachingType = none):
self.lun = lun
self.size_g_b = size_g_b
self.type = type
-
+ self.caching = caching
class Extension:
"""
@@ -581,15 +587,17 @@ class OsDisk:
# Arguments
size_g_b: int
type: DataDiskType
+ caching : CachingType
"""
def __init__(
self,
size_g_b: int = none,
- type: DataDiskType = none):
+ type: DataDiskType = none,
+ caching : CachingType = none):
self.size_g_b = size_g_b
self.type = type
-
+ self.caching = caching
class SourceVault:
"""
diff --git a/spotinst_sdk2/version.py b/spotinst_sdk2/version.py
index 1c4ddd35..96deb04f 100644
--- a/spotinst_sdk2/version.py
+++ b/spotinst_sdk2/version.py
@@ -1 +1 @@
-__version__ = '2.3.1'
+__version__ = '2.3.2'