{ "abstract": true, "extends": { "$ref": "ResourceReference }, "id": "DSService", "module_id": "DistributedServices", "properties": { "is_valid": { "description": "Will be set to false if the referenced NSX resource has been deleted.", "readonly": true, "required": false, "title": "Target validity", "type": "boolean" }, "service": { "$ref": "NSServiceElement, "description": "Distributed Service API accepts raw protocol and ports as part of NS service element in Distributed Service Rule that describes traffic corresponding to an NSService.", "readonly": false, "required": false, "title": "Distributed Service Network and Security Service element" }, "target_display_name": { "description": "Display name of the NSX resource.", "maxLength": 255, "readonly": true, "required": false, "title": "Target display name", "type": "string" }, "target_id": { "description": "Identifier of the NSX resource.", "maxLength": 64, "readonly": false, "required": false, "title": "Target ID", "type": "string" }, "target_type": { "description": "Type of the NSX resource.", "maxLength": 255, "readonly": false, "required": false, "title": "Target type", "type": "string" } }, "type": "object" }