code: def create_snapshot(self, volume_id_or_uri, snapshot, timeout=-1):
          
          uri = self.__build_volume_snapshot_uri(volume_id_or_uri)
  
          return self._client.create(snapshot, uri=uri, timeout=timeout, default_values=self.DEFAULT_VALUES_SNAPSHOT)
docs: Creates a snapshot for the specified volume.
  
          Args:
              volume_id_or_uri:
                  Can be either the volume ID or the volume URI.
              snapshot (dict):
                  Object to create.
              timeout:
                  Timeout in seconds. Wait for task completion by default. The timeout does not abort the operation in
                  OneView, just stops waiting for its completion.
  
          Returns:
              dict: Storage volume.