{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-cognitive-services/json-schema/microsoft-cognitive-services-outbound-rule-list-result-schema.json",
  "title": "OutboundRuleListResult",
  "description": "List of outbound rules for the managed network 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/OutboundRuleListResult",
  "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 cognitive services accounts. Since this list may be incomplete, the nextLink field should be used to request the next list of cognitive services accounts.",
      "items": {
        "$ref": "#/$defs/OutboundRuleBasicResource"
      }
    }
  },
  "$defs": {
    "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"
      ]
    },
    "OutboundRuleBasicResource": {
      "type": "object",
      "description": "Concrete proxy resource types can be created by aliasing this type using a specific property type.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/OutboundRule",
          "description": "Outbound Rule for the managed network of a cognitive services account."
        }
      },
      "required": [
        "properties"
      ],
      "allOf": [
        {
          "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
        }
      ]
    },
    "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"
          }
        ]
      }
    }
  }
}