{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intersight/json-schema/intersight-networkconfig-policy-inventory-schema.json",
  "title": "Network Connectivity",
  "description": "The Network Connectivity Policy is a reusable policy that configures DNS settings for a server's management interface (Cisco IMC).\n#### Purpose\nThe purpose of this policy is to standardize the DNS configuration for server management across an organization. It allows administrators to define primary and alternate DNS servers for both IPv4 and IPv6, and to control whether the server should attempt to dynamically register its hostname with a DNS server.\n#### Key Concepts\n- **Centralized DNS Configuration:** Provides a single policy to manage DNS server settings, ensuring consistency across multiple endpoints.\n- **IPv4 and IPv6 Support:** The policy allows for separate DNS configurations for both IP address families.\n- **Dynamic DNS (DDNS):** Includes options to enable dynamic DNS and specify a domain, allowing the server's management controller to automatically update its DNS record.\n- **Profile-Based Application:** The policy is attached to a Server Profile to apply the settings to the assigned physical server.\n- **Impact Awareness:** Changes to this policy are flagged with MgmtNetworkDisconnection, as updating DNS settings can cause a brief interruption in management connectivity.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/intersight-networkconfig-api-openapi.yml#/components/schemas/networkconfig.PolicyInventory",
  "x-allOf-name": "networkconfig.PolicyInventory",
  "allOf": [
    {
      "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/policy.AbstractPolicyInventory"
    },
    {
      "type": "object",
      "description": "Definition of the list of properties defined in 'networkconfig.PolicyInventory', 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": [
            "networkconfig.PolicyInventory"
          ],
          "default": "networkconfig.PolicyInventory",
          "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": [
            "networkconfig.PolicyInventory"
          ],
          "default": "networkconfig.PolicyInventory",
          "x-enum-as-string": true
        },
        "AlternateIpv4dnsServer": {
          "description": "IP address of the secondary DNS server.",
          "type": "string",
          "readOnly": true,
          "x-omitempty": true
        },
        "AlternateIpv6dnsServer": {
          "description": "IP address of the secondary DNS server.",
          "type": "string",
          "readOnly": true,
          "x-omitempty": true
        },
        "DynamicDnsDomain": {
          "description": "The domain name appended to a hostname for a Dynamic DNS (DDNS) update. If left blank, only a hostname is sent to the DDNS update request.",
          "type": "string",
          "pattern": "^$|^[a-zA-Z0-9]+([-.]{1}[a-zA-Z0-9]+)*$",
          "minLength": 0,
          "maxLength": 255,
          "readOnly": true,
          "x-omitempty": true
        },
        "EnableDynamicDns": {
          "description": "If enabled, updates the resource records to the DNS from Cisco IMC.",
          "type": "boolean",
          "readOnly": true,
          "x-omitempty": true
        },
        "EnableIpv4dnsFromDhcp": {
          "description": "If enabled, Cisco IMC retrieves the DNS server addresses from DHCP. Use DHCP field must be enabled for IPv4 in Cisco IMC to enable it.",
          "type": "boolean",
          "readOnly": true,
          "x-omitempty": true
        },
        "EnableIpv6": {
          "description": "If enabled, allows to configure IPv6 properties.",
          "type": "boolean",
          "readOnly": true,
          "x-omitempty": true
        },
        "EnableIpv6dnsFromDhcp": {
          "description": "If enabled, Cisco IMC retrieves the DNS server addresses from DHCP. Use DHCP field must be enabled for IPv6 in Cisco IMC to enable it.",
          "type": "boolean",
          "readOnly": true,
          "x-omitempty": true
        },
        "PreferredIpv4dnsServer": {
          "description": "IP address of the primary DNS server.",
          "type": "string",
          "readOnly": true,
          "x-omitempty": true
        },
        "PreferredIpv6dnsServer": {
          "description": "IP address of the primary DNS server.",
          "type": "string",
          "readOnly": true,
          "x-omitempty": true
        },
        "TargetMo": {
          "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.BaseMo.Relationship",
          "description": "A reference to a moBaseMo resource.\nWhen the $expand query parameter is specified, the referenced resource is returned inline.",
          "readOnly": true
        }
      }
    }
  ]
}