Classes/Configuration.ps1
|
class VSphereEnvironmentConfiguration { [string]$Name [string]$vCenterFQDN [string]$WindowsCredentialEntry } class VSphereNexthinkApiConfiguration { [string]$HostFQDN [string]$LoginFQDN [string]$WindowsCredentialEntry [int]$RequestBatchSize # ISO 8601 duration format (e.g., 'PT1H', 'P1D', 'PT30M') [string]$VmCacheExpiration } class VSphereLoggingConfiguration { [string]$LogLevel [int]$LogRetentionDays } class VSphereConnectorConfiguration { [string]$ScriptRootPath [VSphereEnvironmentConfiguration]$EnvironmentConfig [VSphereNexthinkApiConfiguration]$NexthinkAPI [VSphereLoggingConfiguration]$Logging } |