Import component from json or yaml file
Request
PUT https://{hostname}:{port}
/cli/component/import?{parameters}
Accept: {contentType}
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 |
|
true |
Related CLI command: importComponent.