Modules/Classes/S2DClasses.ps1
|
# S2DCartographer data model classes # Depends on S2DCapacity (loaded first — Capacity sorts before Classes alphabetically) class S2DStoragePool { [string] $FriendlyName [string] $HealthStatus [string] $OperationalStatus [bool] $IsReadOnly [S2DCapacity] $TotalSize [S2DCapacity] $AllocatedSize [S2DCapacity] $RemainingSize [S2DCapacity] $ProvisionedSize [double] $OvercommitRatio [string] $FaultDomainAwareness [int64] $WriteCacheSizeDefault [object[]] $ResiliencySettings [object[]] $StorageTiers } class S2DVolume { [string] $FriendlyName [string] $FileSystem [string] $ResiliencySettingName [int] $NumberOfDataCopies [int] $PhysicalDiskRedundancy [string] $ProvisioningType [S2DCapacity] $Size [S2DCapacity] $FootprintOnPool [S2DCapacity] $AllocatedSize [string] $OperationalStatus [string] $HealthStatus [bool] $IsDeduplicationEnabled [bool] $IsInfrastructureVolume [double] $EfficiencyPercent [double] $OvercommitRatio } class S2DCacheTier { [string] $CacheMode [bool] $IsAllFlash [bool] $SoftwareCacheEnabled [int] $CacheDiskCount [string] $CacheDiskModel [S2DCapacity] $CacheDiskSize [double] $CacheToCapacityRatio [string] $CacheState [int64] $WriteCacheSizeBytes } class S2DHealthCheck { [string] $CheckName [string] $Severity [string] $Status [string] $Details [string] $Remediation } class S2DWaterfallStage { [int] $Stage [string] $Name [S2DCapacity] $Size [S2DCapacity] $Delta [string] $Description [string] $Status } class S2DCapacityWaterfall { [S2DWaterfallStage[]] $Stages [S2DCapacity] $RawCapacity [S2DCapacity] $UsableCapacity [S2DCapacity] $ReserveRecommended [S2DCapacity] $ReserveActual [string] $ReserveStatus [bool] $IsOvercommitted [double] $OvercommitRatio [int] $NodeCount [double] $BlendedEfficiencyPercent } class S2DClusterData { [string] $ClusterName [string] $ClusterFqdn [int] $NodeCount [string[]] $Nodes [datetime] $CollectedAt [object[]] $PhysicalDisks [S2DStoragePool] $StoragePool [S2DVolume[]] $Volumes [S2DCacheTier] $CacheTier [S2DHealthCheck[]] $HealthChecks [string] $OverallHealth [S2DCapacityWaterfall] $CapacityWaterfall } |