Release parallel processing and New-AzStateDiscovery
Pre-release
Pre-release
This release includes a release-ready version of the parallel processing methods within [AzState]
and introduces the first release of New-AzStateDiscovery
function to perform iterative discovery of child resources form the specified Root ID(s).
New-AzStateDiscovery supports the following input parameters:
[String[]]$RootId
specifies the ID to use for the start of discovery, supports multiple inputs including from pipeline[String[]]$ExcludePathIds
is used to specify onw or more resource IDs to exclude from discovery, allowing partial discovery[Switch]$IncludeManagementGroups
if specified will discover child resources of typeMicrosoft.Management/managementGroups
[Switch]$IncludeSubscriptions
if specified will discover child resources of typeMicrosoft.Management/managementGroups/subscriptions
andMicrosoft.Resources/subscriptions
[Switch]$IncludeResourceGroups
if specified will discover child resources of typeMicrosoft.Resources/resourceGroups
[Switch]$IncludeResources
if specified will discover child resources of Resource Groups[Switch]$IncludeIAM
if specified will discover allAccess control (IAM)
settings for supported resources[Switch]$IncludePolicy
if specified will discover allPolicy
settings for supported resources[Switch]$Recurse
if specified will perform a recursive discovery on all discovered resources[Int]$ThrottleLimit
is specified will change the number of threads to use for parallel processing (default =4
)[CacheMode]$CacheMode
is specified will control whether the command uses cache, or not (supported values =UseCache
andSkipCache
To support the processing of New-AzStateDiscovery
, a private function Get-AzStateChildrenByType
is included but not exported as this isn't expected to be used directly.
This release also includes the follow minor bug fixes:
- Update AzProviderCache to case insensitive (to support resources returned from API with incorrect case in ID)
- Bugfix set Raw value using DirectFromScope (to ensure AzState is populated with Raw value using this method)
This release skips 0.0.6
and 0.0.7
which were used for internal testing only.