{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-cognitive-services/json-schema/microsoft-cognitive-services-managed-network-list-result-schema.json",
  "title": "ManagedNetworkListResult",
  "description": "List of managed networks of a cognitive services account.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-cognitive-services-managednetwork-api-openapi.yml#/components/schemas/ManagedNetworkListResult",
  "type": "object",
  "properties": {
    "nextLink": {
      "type": "string",
      "description": "The link to the next page constructed using the continuationToken.  If null, there are no additional pages."
    },
    "value": {
      "type": "array",
      "description": "The list of managed network settings of an account. Since this list may be incomplete, the nextLink field should be used to request the next list of cognitive services accounts.",
      "items": {
        "$ref": "#/$defs/ManagedNetworkSettingsPropertiesBasicResource"
      }
    }
  },
  "$defs": {
    "FirewallSku": {
      "type": "string",
      "description": "Firewall Sku used for FQDN Rules",
      "enum": [
        "Standard",
        "Basic"
      ],
      "x-ms-enum": {
        "name": "FirewallSku",
        "modelAsString": true,
        "values": [
          {
            "name": "Standard",
            "value": "Standard"
          },
          {
            "name": "Basic",
            "value": "Basic"
          }
        ]
      }
    },
    "IsolationMode": {
      "type": "string",
      "description": "Isolation mode for the managed network of a cognitive services account.",
      "enum": [
        "Disabled",
        "AllowInternetOutbound",
        "AllowOnlyApprovedOutbound"
      ],
      "x-ms-enum": {
        "name": "IsolationMode",
        "modelAsString": true,
        "values": [
          {
            "name": "Disabled",
            "value": "Disabled"
          },
          {
            "name": "AllowInternetOutbound",
            "value": "AllowInternetOutbound"
          },
          {
            "name": "AllowOnlyApprovedOutbound",
            "value": "AllowOnlyApprovedOutbound"
          }
        ]
      }
    },
    "ManagedNetworkKind": {
      "type": "string",
      "description": "The Kind of the managed network. Users can switch from V1 to V2 for granular access controls, but cannot switch back to V1 once V2 is enabled.",
      "enum": [
        "V1",
        "V2"
      ],
      "x-ms-enum": {
        "name": "ManagedNetworkKind",
        "modelAsString": true,
        "values": [
          {
            "name": "V1",
            "value": "V1"
          },
          {
            "name": "V2",
            "value": "V2"
          }
        ]
      }
    },
    "ManagedNetworkProvisionStatus": {
      "type": "object",
      "description": "Status of the Provisioning for the managed network of a cognitive services account.",
      "properties": {
        "status": {
          "$ref": "#/$defs/ManagedNetworkStatus",
          "description": "Status for the managed network of a cognitive services account."
        }
      }
    },
    "ManagedNetworkProvisioningState": {
      "type": "string",
      "enum": [
        "Deferred",
        "Updating",
        "Succeeded",
        "Failed",
        "Deleting",
        "Deleted"
      ],
      "x-ms-enum": {
        "name": "ManagedNetworkProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Deferred",
            "value": "Deferred"
          },
          {
            "name": "Updating",
            "value": "Updating"
          },
          {
            "name": "Succeeded",
            "value": "Succeeded"
          },
          {
            "name": "Failed",
            "value": "Failed"
          },
          {
            "name": "Deleting",
            "value": "Deleting"
          },
          {
            "name": "Deleted",
            "value": "Deleted"
          }
        ]
      },
      "readOnly": true
    },
    "ManagedNetworkSettings": {
      "type": "object",
      "description": "Managed Network settings for a cognitive services account.",
      "properties": {
        "isolationMode": {
          "$ref": "#/$defs/IsolationMode",
          "description": "Isolation mode for the managed network of a cognitive services account."
        },
        "networkId": {
          "type": "string",
          "readOnly": true
        },
        "outboundRules": {
          "type": [
            "object",
            "null"
          ],
          "description": "Dictionary of <OutboundRule>",
          "additionalProperties": {
            "$ref": "#/$defs/OutboundRule"
          }
        },
        "status": {
          "$ref": "#/$defs/ManagedNetworkProvisionStatus",
          "description": "Status of the Provisioning for the managed network of a cognitive services account."
        },
        "firewallSku": {
          "$ref": "#/$defs/FirewallSku",
          "description": "Firewall Sku used for FQDN Rules"
        },
        "managedNetworkKind": {
          "$ref": "#/$defs/ManagedNetworkKind",
          "description": "The Kind of the managed network. Users can switch from V1 to V2 for granular access controls, but cannot switch back to V1 once V2 is enabled."
        },
        "firewallPublicIpAddress": {
          "type": [
            "string",
            "null"
          ],
          "description": "Public IP address assigned to the Azure Firewall.",
          "readOnly": true
        },
        "provisioningState": {
          "$ref": "#/$defs/ManagedNetworkProvisioningState",
          "description": "The provisioning state of the managed network settings.",
          "readOnly": true
        }
      }
    },
    "ManagedNetworkSettingsEx": {
      "type": "object",
      "properties": {
        "changeableIsolationModes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/IsolationMode"
          },
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ManagedNetworkSettings"
        }
      ]
    },
    "ManagedNetworkSettingsProperties": {
      "type": "object",
      "description": "The properties of the managed network settings of a cognitive services account.",
      "properties": {
        "managedNetwork": {
          "$ref": "#/$defs/ManagedNetworkSettingsEx",
          "description": "Managed Network settings for a cognitive services account."
        },
        "provisioningState": {
          "$ref": "#/$defs/ManagedNetworkProvisioningState",
          "description": "The current deployment state of the managed network resource. The provisioningState is to indicate states for resource provisioning.",
          "readOnly": true
        }
      }
    },
    "ManagedNetworkSettingsPropertiesBasicResource": {
      "type": "object",
      "description": "Concrete proxy resource types can be created by aliasing this type using a specific property type.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/ManagedNetworkSettingsProperties",
          "description": "The properties of the managed network settings of a cognitive services account."
        }
      },
      "allOf": [
        {
          "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
        }
      ]
    },
    "ManagedNetworkStatus": {
      "type": "string",
      "description": "Status for the managed network of a cognitive services account.",
      "enum": [
        "Inactive",
        "Active"
      ],
      "x-ms-enum": {
        "name": "ManagedNetworkStatus",
        "modelAsString": true,
        "values": [
          {
            "name": "Inactive",
            "value": "Inactive"
          },
          {
            "name": "Active",
            "value": "Active"
          }
        ]
      }
    },
    "OutboundRule": {
      "type": "object",
      "description": "Outbound Rule for the managed network of a cognitive services account.",
      "properties": {
        "category": {
          "$ref": "#/$defs/RuleCategory",
          "description": "Category of a managed network Outbound Rule of a cognitive services account."
        },
        "status": {
          "$ref": "#/$defs/RuleStatus",
          "description": "Type of a managed network Outbound Rule of a cognitive services account."
        },
        "type": {
          "$ref": "#/$defs/RuleType",
          "description": "Type of a managed network Outbound Rule of a cognitive services account."
        },
        "errorInformation": {
          "type": "string",
          "description": "Error information about an outbound rule of a cognitive services account if RuleStatus is failed.",
          "readOnly": true
        },
        "parentRuleNames": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "readOnly": true
        }
      },
      "required": [
        "type"
      ]
    },
    "RuleCategory": {
      "type": "string",
      "description": "Category of a managed network Outbound Rule of a cognitive services account.",
      "enum": [
        "Required",
        "Recommended",
        "UserDefined",
        "Dependency"
      ],
      "x-ms-enum": {
        "name": "RuleCategory",
        "modelAsString": true,
        "values": [
          {
            "name": "Required",
            "value": "Required"
          },
          {
            "name": "Recommended",
            "value": "Recommended"
          },
          {
            "name": "UserDefined",
            "value": "UserDefined"
          },
          {
            "name": "Dependency",
            "value": "Dependency"
          }
        ]
      }
    },
    "RuleStatus": {
      "type": "string",
      "description": "Type of a managed network Outbound Rule of a cognitive services account.",
      "enum": [
        "Inactive",
        "Active",
        "Provisioning",
        "Deleting",
        "Failed"
      ],
      "x-ms-enum": {
        "name": "RuleStatus",
        "modelAsString": true,
        "values": [
          {
            "name": "Inactive",
            "value": "Inactive"
          },
          {
            "name": "Active",
            "value": "Active"
          },
          {
            "name": "Provisioning",
            "value": "Provisioning"
          },
          {
            "name": "Deleting",
            "value": "Deleting"
          },
          {
            "name": "Failed",
            "value": "Failed"
          }
        ]
      }
    },
    "RuleType": {
      "type": "string",
      "description": "Type of a managed network Outbound Rule of a cognitive services account.",
      "enum": [
        "FQDN",
        "PrivateEndpoint",
        "ServiceTag"
      ],
      "x-ms-enum": {
        "name": "RuleType",
        "modelAsString": true,
        "values": [
          {
            "name": "FQDN",
            "value": "FQDN"
          },
          {
            "name": "PrivateEndpoint",
            "value": "PrivateEndpoint"
          },
          {
            "name": "ServiceTag",
            "value": "ServiceTag"
          }
        ]
      }
    }
  }
}