code: async def read(cls, fabric: Union[Fabric, int]):
          
          if isinstance(fabric, int):
              fabric_id = fabric
          elif isinstance(fabric, Fabric):
              fabric_id = fabric.id
          else:
              raise TypeError(
                  "fabric must be a Fabric or int, not %s"
                  % type(fabric).__name__)
          data = await cls._handler.read(fabric_id=fabric_id)
          return cls(
              cls._object(
                  item, local_data={"fabric_id": fabric_id})
              for item in data)
docs: Get list of `Vlan`'s for `fabric`.
  
          :param fabric: Fabric to get all VLAN's for.
          :type fabric: `Fabric` or `int`