Import application from json file.

Request

PUT https://{hostname}:{port}
    /cli/application/import?{parameters}
Accept: application/json
Content-Type: application/json
Table 1. Request parameters
Parameter Type Required Description
componentUpgradeType string false Suppport values are UPGRADE_IF_EXISTS, CREATE_NEW_IF_EXISTS, FAIL_IF_DOESNT_EXIST, UPGRADE_IF_EXISTS, USE_EXISTING_IF_EXISTS. Default is UPGRADE_IF_EXISTS.
applicationUpgradeType string false Suppport values are UPGRADE_IF_EXISTS, CREATE_NEW_IF_EXISTS, FAIL_IF_DOESNT_EXIST, UPGRADE_IF_EXISTS, USE_EXISTING_IF_EXISTS. Default is UPGRADE_IF_EXISTS.
processUpgradeType string false Suppport values are UPGRADE_IF_EXISTS, CREATE_NEW_IF_EXISTS, FAIL_IF_DOESNT_EXIST, UPGRADE_IF_EXISTS, USE_EXISTING_IF_EXISTS. Default is UPGRADE_IF_EXISTS.
resourceTemplateUpgradeType string false Suppport values are UPGRADE_IF_EXISTS, CREATE_NEW_IF_EXISTS, FAIL_IF_DOESNT_EXIST, UPGRADE_IF_EXISTS, USE_EXISTING_IF_EXISTS. Default is UPGRADE_IF_EXISTS.
importFullResourceTrees boolean false Whether to import full resource tree or just base resources. true or false. Default false
disposition string true create or update.
Table 2. Header parameters
Parameter Type Required Description
Content-Type application/json true
Accept application/json true

Related CLI command: importApplication.