Import snapshot from zip file.#
Request#
PUT https://{hostname}:{port}
/cli/snapshot/import?{parameters}
Accept: application/json
Content-Type: application/octet-stream
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. |
Parameter | Type | Required | Description |
---|---|---|---|
Content-Type | application/octet-stream |
true | |
Accept | application/json |
true |
Related CLI command: importSnapshot.
Parent topic: snapshot resource