def create_flash_cache(size_in_gib, mode = nil)
      begin
        @flash_cache.create_flash_cache(size_in_gib, mode)
      rescue => ex
        Util.log_exception(ex, caller_locations(1, 1)[0].label)
        raise ex
      end
      
    end
def create_flash_cache(size_in_gib, mode = nil)
      begin
        @flash_cache.create_flash_cache(size_in_gib, mode)
      rescue => ex
        Util.log_exception(ex, caller_locations(1, 1)[0].label)
        raise ex
      end
      
    end
Creates a new FlashCache

 ==== Attributes

 * size_in_gib - Specifies the node pair size of the Flash Cache on the system
      type size_in_gib: Integer
 * mode - Values supported Simulator: 1, Real: 2 (default)
      type mode: Integer

 ==== Raises

 * Hpe3parSdk::HTTPBadRequest
       - NO_SPACE - Not enough space is available for the operation.
 * Hpe3parSdk::HTTPBadRequest
       - INV_INPUT_EXCEEDS_RANGE - A JSON input object contains a name-value pair with a numeric value that exceeds the expected range. Flash Cache exceeds the expected range. The HTTP ref member contains the name.
 * Hpe3parSdk::HTTPConflict
       - EXISTENT_FLASH_CACHE - The Flash Cache already exists.
 * Hpe3parSdk::HTTPForbidden
       - FLASH_CACHE_NOT_SUPPORTED - Flash Cache is not supported.
 * Hpe3parSdk::HTTPBadRequest
       - INV_FLASH_CACHE_SIZE - Invalid Flash Cache size. The size must be a multiple of 16 G.