Skip to content

Commit

Permalink
Spotaut 17340 - Added public_settings and protected_settings fiel…
Browse files Browse the repository at this point in the history
…ds in Azure Stateful Node `Extension` model. (#150)

* Added `public_settings` and `protected_settings` fields in Azure Stateful Node `Extension` model.

* Documentation Fix
  • Loading branch information
anuragsharma-123 authored Dec 18, 2023
1 parent 0f4f679 commit 49717bd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.1] - 2023-12-18
### Added
- Added `public_settings` and `protected_settings` fields in Azure Stateful Node `Extension` model.

## [2.3.0] - 2023-11-25
### Added
- Added support for Azure Stateful Node APIs: `swap_os_disk_to_stateful_node`, `get_all_stateful_node_costs`,
Expand Down
2 changes: 2 additions & 0 deletions docs/models/stateful_node.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,8 @@ Extension(
api_version: str = 'd3043820717d74d9a17694c176d39733',
minor_version_auto_upgrade: bool = 'd3043820717d74d9a17694c176d39733',
name: str = 'd3043820717d74d9a17694c176d39733',
protected_settings='d3043820717d74d9a17694c176d39733',
public_settings='d3043820717d74d9a17694c176d39733',
publisher: str = 'd3043820717d74d9a17694c176d39733',
type: str = 'd3043820717d74d9a17694c176d39733')
```
Expand Down
4 changes: 4 additions & 0 deletions spotinst_sdk2/models/stateful_node/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,11 +290,15 @@ def __init__(
api_version: str = none,
minor_version_auto_upgrade: bool = none,
name: str = none,
protected_settings = none,
public_settings = none,
publisher: str = none,
type: str = none):
self.api_version = api_version
self.minor_version_auto_upgrade = minor_version_auto_upgrade
self.name = name
self.protected_settings = protected_settings
self.public_settings = public_settings
self.publisher = publisher
self.type = type

Expand Down
2 changes: 1 addition & 1 deletion spotinst_sdk2/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.3.0'
__version__ = '2.3.1'

0 comments on commit 49717bd

Please sign in to comment.