ObjectDefinitions/Rubrik.SLADomainv1.ps1xml
<?xml version="1.0" encoding="utf-8" ?> <Configuration> <ViewDefinitions> <View> <Name>Default</Name> <ViewSelectedBy> <TypeName>Rubrik.SLADomainv1</TypeName> </ViewSelectedBy> <TableControl> <TableHeaders> <TableColumnHeader> <Label>Name</Label> </TableColumnHeader> <TableColumnHeader> <Label>Base Frequency</Label> </TableColumnHeader> <TableColumnHeader> <Label>Object Count</Label> </TableColumnHeader> <TableColumnHeader> <Label>Archival Location</Label> </TableColumnHeader> <TableColumnHeader> <Label>Replication Target</Label> </TableColumnHeader> <TableColumnHeader> <Label>ID</Label> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>name</PropertyName> </TableColumnItem> <TableColumnItem> <ScriptBlock>if ($_.frequencies.hourly) {'{0} Hours' -f $_.frequencies.hourly.frequency} elseif ($_.frequencies.daily) {'{0} Days' -f $_.frequencies.daily.frequency}</ScriptBlock> </TableColumnItem> <TableColumnItem> <ScriptBlock> $_.numVcdVapps + $_.numWindowsHosts + $_.numShares + $_.numNutanixVms + $_.numDbs + $_.numVms + $_.numEc2Instances + $_.numManagedVolumes + $_.numHypervVMs + $_.numLinuxHosts + $_.numFilesets </ScriptBlock> </TableColumnItem> <TableColumnItem> <ScriptBlock>$_.archivalSpecs.locationId</ScriptBlock> </TableColumnItem> <TableColumnItem> <ScriptBlock>$_.replicationSpecs.locationId</ScriptBlock> </TableColumnItem> <TableColumnItem> <PropertyName>id</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> </ViewDefinitions> </Configuration> |