ImportRequestParameter (type)

{
  "additionalProperties": false, 
  "description": "This holds the request parameters required to invoke the import task.", 
  "extends": {
    "$ref": "NoRestRequestParameters
  }, 
  "id": "ImportRequestParameter", 
  "module_id": "PolicyTask", 
  "properties": {
    "draft_description": {
      "description": "Description to be set on the draft, which will hold the imported configuration.", 
      "required": false, 
      "title": "Description to be set on the draft", 
      "type": "string"
    }, 
    "draft_display_name": {
      "description": "Display name to be set on the draft, which will hold the imported configuration.", 
      "minLength": 1, 
      "required": true, 
      "title": "Display name to be set on the draft", 
      "type": "string"
    }, 
    "file": {
      "description": "The file having stored firewall configuration. Only zip file will be accepted.", 
      "required": true, 
      "title": "File to be imported", 
      "type": "multipart_file"
    }, 
    "passphrase": {
      "description": "Passphrase to verify imported files. Passphrase needs to be same as provided earlier to export operation which generated these imported files. The passphrase specified must be at least 8 characters in length and must contain at least one lowercase, one uppercase, one numeric character and one non-space special character.", 
      "minLength": 8, 
      "pattern": "^$|^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[^a-zA-Z\\d\\s]).{8,}$", 
      "required": true, 
      "sensitive": true, 
      "title": "Passphrase to verify imported files", 
      "type": "string", 
      "validation_msg_key": "com.vmware.nsx.validation.constraints.BackupRestore.weak_passprase.message"
    }
  }, 
  "title": "Import task request parameters", 
  "type": "object"
}