LogicalPortAttachmentState (type)

{
  "id": "LogicalPortAttachmentState", 
  "module_id": "LogicalPort", 
  "properties": {
    "attachers": {
      "items": {
        "$ref": "PortAttacher
      }, 
      "readonly": true, 
      "required": false, 
      "title": "VM or vmknic entities that are attached to the LogicalPort", 
      "type": "array"
    }, 
    "id": {
      "readonly": true, 
      "required": false, 
      "title": "VIF ID", 
      "type": "string"
    }, 
    "state": {
      "description": "A logicalPort must be in one of following state. FREE - If there are no active attachers. The LogicalPort may or may not have an attachment ID configured on it. This state is applicable only to LogialPort of static type. ATTACHED - LogicalPort has exactly one active attacher and no further configuration is pending. ATTACHED_PENDING_CONF - LogicalPort has exactly one attacher, however it may not have been configured completely. Additional configuration will be provided by other nsx components. ATTACHED_IN_MOTION - LogicalPort has multiple active attachers. This state represents a scenario where VM is moving from one location (host or storage) to another (e.g. vmotion, vSphere HA) DETACHED - A temporary state after all LogialPort attachers have been detached. This state is applicable only to LogicalPort of ephemeral type and the LogicalPort will soon be deleted.", 
      "enum": [
        "FREE", 
        "ATTACHED", 
        "ATTACHED_PENDING_CONF", 
        "ATTACHED_IN_MOTION", 
        "DETACHED"
      ], 
      "readonly": true, 
      "required": true, 
      "title": "State of the VIF attached to LogicalPort", 
      "type": "string"
    }
  }, 
  "title": "VIF attachment state of a logical port", 
  "type": "object"
}