'Get the disk type(s) of an aggregate.'

def get_aggregate_disk_types(self, aggregate_name):

    disk_types = set()
    disk_types.update(self._get_aggregate_disk_types(aggregate_name))
    if self.features.ADVANCED_DISK_PARTITIONING:
        disk_types.update(self._get_aggregate_disk_types(aggregate_name, shared=True))
    return (list(disk_types) if disk_types else None)
