Import component from json or yaml file

Request

PUT https://{hostname}:{port}
    /cli/component/import?{parameters}
Accept: {contentType}
Table 1. Request parameters
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
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Related CLI command: importComponent.