{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intersight/json-schema/intersight-deviceconnector-policy-response-schema.json",
  "title": "deviceconnector.Policy.Response",
  "description": "The response body of a HTTP GET request for the 'deviceconnector.Policy' resource.\nThe value may be one of the following types.\n1. When 'tag' is specified in the URL query, the response schema\n    is a summary of the tag usage.\n1. When '$apply' is specified in the URL query, the response schema\n    is dynamically-generated schema based on the $apply value.\n1. When '$count' is specified in the URL query, the response is\n    a simple object providing the count of the resources.\n1. In all other cases, the response is a list of 'deviceconnector.Policy' resources.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/intersight-deviceconnector-api-openapi.yml#/components/schemas/deviceconnector.Policy.Response",
  "x-one-of-name": "deviceconnector.Policy.Response",
  "oneOf": [
    {
      "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.DocumentCount"
    },
    {
      "$ref": "#/$defs/deviceconnector.Policy.List"
    },
    {
      "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.AggregateTransform"
    },
    {
      "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.TagSummary"
    }
  ],
  "$defs": {
    "deviceconnector.Policy": {
      "title": "Device Connector",
      "description": "The Device Connector Policy is a reusable policy that controls whether configuration changes are permitted directly on a server's local management interface (Cisco IMC) when it is being managed by Intersight.\n#### Purpose\nThe purpose of this policy is to enforce a single source of truth for server configuration. When a server is managed by Intersight, this policy can be used to \"lock\" the configuration on the endpoint, preventing out-of-band changes that could cause configuration drift and conflicts with the settings defined in the Intersight server profile.\n#### Key Concepts\n- **Configuration Lockout:** Its primary feature is the lockoutEnabled flag, which, when set to true, prevents administrators from making configuration changes through the local Cisco IMC interface.\n- **Standalone Server Management:** This policy is specifically designed for servers operating in Standalone Mode (not connected to Fabric Interconnect, i.e. not in IMM mode).\n- **Profile-Based Enforcement:** It is applied to servers by including it in a Server Profile.\n- **Impact Awareness:** Applying this policy can cause a brief management network disconnection, which is flagged by the MgmtNetworkDisconnection disruption type.",
      "x-allOf-name": "deviceconnector.Policy",
      "allOf": [
        {
          "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/policy.AbstractPolicy"
        },
        {
          "type": "object",
          "description": "Definition of the list of properties defined in 'deviceconnector.Policy', excluding properties defined in parent classes.",
          "required": [
            "ClassId",
            "ObjectType"
          ],
          "properties": {
            "ClassId": {
              "description": "The fully-qualified name of the instantiated, concrete type.\nThis property is used as a discriminator to identify the type of the payload\nwhen marshaling and unmarshaling data.",
              "enum": [
                "deviceconnector.Policy"
              ],
              "default": "deviceconnector.Policy",
              "x-enum-as-string": true
            },
            "ObjectType": {
              "description": "The fully-qualified name of the instantiated, concrete type.\nThe value should be the same as the 'ClassId' property.",
              "enum": [
                "deviceconnector.Policy"
              ],
              "default": "deviceconnector.Policy",
              "x-enum-as-string": true
            },
            "LockoutEnabled": {
              "description": "Enables configuration lockout on the endpoint.",
              "type": "boolean",
              "default": true,
              "x-omitempty": true
            },
            "Organization": {
              "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/organization.Organization.Relationship",
              "description": "A reference to a organizationOrganization resource.\nWhen the $expand query parameter is specified, the referenced resource is returned inline.",
              "x-createOnly": true
            },
            "Profiles": {
              "deprecated": true,
              "x-sunset": "2028-03-01",
              "description": "An array of relationships to policyAbstractConfigProfile resources.",
              "type": [
                "array",
                "null"
              ],
              "items": {
                "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/policy.AbstractConfigProfile.Relationship"
              }
            }
          }
        }
      ]
    },
    "deviceconnector.Policy.List": {
      "title": "List of 'deviceconnector.Policy' resources",
      "description": "This resource list is returned as a response to a HTTP GET request that does not include a specific resource identifier.",
      "allOf": [
        {
          "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.BaseResponse"
        },
        {
          "type": "object",
          "properties": {
            "Count": {
              "description": "The total number of 'deviceconnector.Policy' resources matching the request, accross all pages.\nThe 'Count' attribute is included when the HTTP GET request includes the '$inlinecount' parameter.",
              "type": "integer",
              "format": "int32"
            },
            "Results": {
              "description": "The array of 'deviceconnector.Policy' resources matching the request.",
              "type": [
                "array",
                "null"
              ],
              "items": {
                "$ref": "#/$defs/deviceconnector.Policy"
              }
            }
          }
        }
      ]
    }
  }
}