NSX-T Data Center REST API

NetworkPolicyImportResponse (type)

{
  "additional_properties": false, 
  "description": "The response contains the count of network policies imported. If there are any failures, then the error response is also included", 
  "id": "NetworkPolicyImportResponse", 
  "module_id": "PolicyFirewallConfiguration", 
  "properties": {
    "errors": {
      "description": "Contains a list of errors against each of the network policy id that failed during import.", 
      "items": {
        "$ref": "ImportErrorMessage
      }, 
      "title": "List of errors, if any specific to networkpolicy", 
      "type": "array"
    }, 
    "errors_general": {
      "description": "contains a list of errors agains general errors", 
      "items": {
        "$ref": "ImportErrorMessage
      }, 
      "title": "List of general errors", 
      "type": "array"
    }, 
    "request_count": {
      "description": "This is the count of the network policies that were contained in the import request", 
      "title": "The total number of network policies in the import request", 
      "type": "int"
    }, 
    "success_count": {
      "description": "The count of the successfully imported network policies.", 
      "required": false, 
      "title": "The count of successfully imported policies", 
      "type": "int"
    }
  }, 
  "title": "Summary response of the import action", 
  "type": "object"
}