{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instaclustr/json-schema/instaclustr-account-azure-vnet-peers-v2-schema.json",
  "title": "AccountAzureVnetPeersV2",
  "description": "A listable data source of all Azure Virtual Network Peering requests in an Instaclustr Account.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instaclustr-azure-vnet-peer-v2-api-openapi.yml#/components/schemas/AccountAzureVnetPeersV2",
  "type": "object",
  "properties": {
    "accountId": {
      "type": "string",
      "description": "UUID of the Instaclustr Account.",
      "x-terraform-id": true
    },
    "peeringRequests": {
      "type": "array",
      "description": "",
      "items": {
        "$ref": "#/$defs/AzureVnetPeerSummaryV2"
      }
    }
  },
  "$defs": {
    "AzureVnetPeerSummaryV2": {
      "title": "Root Type for AzureVnetPeerSummaryV2",
      "required": [
        "cdcId",
        "peerResourceGroup",
        "peerSubnets",
        "peerSubscriptionId",
        "peerVirtualNetworkName"
      ],
      "type": "object",
      "properties": {
        "dataCentreResourceGroup": {
          "type": "string",
          "description": "Resource Group Name of the Data Centre Virtual Network.",
          "readOnly": true
        },
        "peerVirtualNetworkName": {
          "type": "string",
          "description": "The name of the VPC Network you wish to peer to.",
          "x-terraform-force-new": true
        },
        "peerSubnets": {
          "type": "array",
          "description": "The subnets for the peering VPC.",
          "items": {
            "type": "string"
          },
          "x-terraform-force-new": true,
          "x-terraform-ignore-order": true
        },
        "name": {
          "type": "string",
          "description": "Name of the Vpc Peering Connection.",
          "readOnly": true
        },
        "peerAdObjectId": {
          "type": "string",
          "description": "ID of the Active Directory Object to give peering permissions to, required for cross subscription peering.",
          "x-terraform-force-new": true
        },
        "id": {
          "type": "string",
          "description": "ID of the VPC peering connection.",
          "readOnly": true
        },
        "dataCentreSubscriptionId": {
          "type": "string",
          "description": "Subscription ID of the Data Centre Virtual Network.",
          "readOnly": true
        },
        "peerResourceGroup": {
          "type": "string",
          "description": "Resource Group Name of the Virtual Network.",
          "x-terraform-force-new": true
        },
        "peerSubscriptionId": {
          "type": "string",
          "description": "Subscription ID of the Virtual Network.",
          "x-terraform-force-new": true
        },
        "cdcId": {
          "type": "string",
          "description": "ID of the Cluster Data Centre.",
          "format": "uuid",
          "x-terraform-force-new": true
        },
        "dataCentreVirtualNetworkName": {
          "type": "string",
          "description": "The name of the Data Centre Virtual Network.",
          "readOnly": true
        }
      },
      "description": ""
    }
  }
}