NSX-T Data Center REST API
Invoke import task
Invoke import task. There can be only one import task run at any point oftime. Hence invocation of another import task will be discarded, when there
exist an already running import task.
Request:
Method:
POST
URI Path(s):
/policy/api/v1/infra/settings/firewall/import
/policy/api/v1/global-infra/settings/firewall/import
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/settings/firewall/import
/policy/api/v1/global-infra/settings/firewall/import
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/settings/firewall/import
Request Headers:
n/a
Query Parameters:
ImportRequestParameter+
Request Body:
n/a
Example Request:
POST https://<policy-mgr>/policy/api/v1/infra/settings/firewall/import with form-data: "file" = "/exported_fw_configs/fw_config_apr2020.zip" "draft_display_name" = "imported_fw_config_apr2020" "draft_description" = "Import of fw_config_apr2020.zip" "passphrase" = "AA12!@bb"Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
ImportTask+