{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-data-lake/json-schema/microsoft-azure-data-lake-virtual-network-rule-schema.json",
  "title": "VirtualNetworkRule",
  "description": "Data Lake Store virtual network rule information.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-data-lake-virtualnetworkrules-api-openapi.yml#/components/schemas/VirtualNetworkRule",
  "allOf": [
    {
      "$ref": "#/$defs/SubResource"
    }
  ],
  "properties": {
    "properties": {
      "readOnly": true,
      "x-ms-client-flatten": true,
      "$ref": "#/$defs/VirtualNetworkRuleProperties",
      "description": "The virtual network rule properties."
    }
  },
  "$defs": {
    "SubResource": {
      "properties": {
        "id": {
          "readOnly": true,
          "type": "string",
          "description": "The resource identifier."
        },
        "name": {
          "readOnly": true,
          "type": "string",
          "description": "The resource name."
        },
        "type": {
          "readOnly": true,
          "type": "string",
          "description": "The resource type."
        }
      },
      "x-ms-azure-resource": true,
      "description": "The resource model definition for a nested resource."
    },
    "VirtualNetworkRuleProperties": {
      "properties": {
        "subnetId": {
          "readOnly": true,
          "type": "string",
          "description": "The resource identifier for the subnet."
        }
      },
      "description": "The virtual network rule properties."
    }
  }
}