Import component from json file.#

Request#

PUT https://{hostname}:{port}
    /cli/component/import?{parameters}
Accept: application/json

Parameter Type Required Description
componentTemplateUpgradeType 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.
disposition string true create or update
Parameter Type Required Description
Accept application/json true  

Related CLI command: importComponent.

Parent topic: component resource