def create_orchestrator_blueprint_template(
    self,
    mode: str,
    download: str = "",
) -> dict:
    """Create an Orchestrator blueprint template and download. This
    operation takes a significant amount of time to run.

    .. list-table::
        :header-rows: 1

        * - Swagger Section
          - Method
          - Endpoint
        * - gmsBackup
          - GET
          - /gms/backup/exportTemplate?mode={mode}&download={download}

    For the ``mode`` parameter: \n
    * Value of ``template`` includes all Orchestrator configuration
      except for the following: \n
        * All stats and large historical data (including audit logs,
          report histories, etc.)
        * Not allowed if appliances are in orchestrator.
    * Value of ``migration`` Includes all Orchestrator configuration
      except for the following: \n
        * All stats and large historical data (including audit logs,
          report histories, etc.)
        * Should be used to migrate from cloud to on premise or vice
          versa.

    :param mode: Accepted values are ``template`` or ``migration``
    :type mode: str
    :param download: Any supplied value will be considered as true,
        defaults to ""
    :type download: str, optional
    :return: Returns string of all Orchestrator blueprint config
    :rtype: str
    """
    return self._get(
        "/gms/backup/exportTemplate?mode={}&download={}".format(
            mode, download
        ),
        return_type="text",
    )