Refactor AzState object and improve CacheMode controls
Pre-release
Pre-release
This release makes a breaking change to the AzState object structure.
- (+) Add attributes:
- (+) Raw
- (-) Removes attributes:
- (-) Properties
- (-) ExtendedProperties
The new Raw
attribute is now used to store the original Resource configuration, as downloaded from the Rest API, removing the need to Properties
and ExtendedProperties
to be stored.
This change is designed to provide better supportability with any API changes, as the Raw block will capture the entire state in original form and make identifying and handling changes easier.
The release also provides further updates to how caching is controlled as we move towards supporting full refresh of dependencies when refreshing an AzState object from the API (SkipCache). This includes updating the New-AzState
function to provide control over caching.