internal/scripts/variables.ps1

# All required runtime variables.
$script:graphVersion = "beta"
#$script:apiVersion = "api-version=2020-10-01-preview"
$script:apiVersion = "api-version=2022-01-01"
$script:apiBaseUrl = "https://management.azure.com/"
$script:graphBaseUrl = "https://graph.microsoft.com/{0}" -f $script:graphVersion

[regex] $script:guidRegex = '(?im)^[{(]?[0-9A-F]{8}[-]?(?:[0-9A-F]{4}[-]?){3}[0-9A-F]{12}[)}]?$'
[regex] $script:upnRegex = '^([A-Za-z\d\.\-]*)@([A-Za-z\d\.-]*)$'
[regex] $script:mailNicknameRegex = '^([A-Za-z\d\.]*)@([A-Za-z\d\.-]*)$'
[regex] $script:asterisk = '^\*?\w+\*?$'

$script:activatedConfigurations = @() # Overview of all activated configurations.
$script:desiredConfiguration = @{} # The desired configuration.
$script:cache = @{} # Multi purpose cache variable