{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-event-hubs/json-schema/microsoft-azure-event-hubs-ehnamespace-list-result-schema.json",
  "title": "EHNamespaceListResult",
  "description": "The response of the List Namespace operation.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-event-hubs-namespaces-api-openapi.yml#/components/schemas/EHNamespaceListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EHNamespace"
      },
      "description": "Result of the List Namespace operation."
    },
    "nextLink": {
      "type": "string",
      "description": "Link to the next set of results. Not empty if Value contains incomplete list of namespaces."
    }
  },
  "$defs": {
    "EHNamespace": {
      "type": "object",
      "description": "Single Namespace item in List or Get Operation.",
      "properties": {
        "id": {
          "type": "string",
          "readOnly": true,
          "description": "Fully qualified resource ID for the resource."
        },
        "name": {
          "type": "string",
          "readOnly": true,
          "description": "The name of the resource."
        },
        "type": {
          "type": "string",
          "readOnly": true,
          "description": "The type of the resource."
        },
        "location": {
          "type": "string",
          "description": "Resource location."
        },
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Resource tags."
        },
        "sku": {
          "$ref": "#/$defs/Sku"
        },
        "identity": {
          "$ref": "#/$defs/Identity"
        },
        "properties": {
          "type": "object",
          "properties": {
            "provisioningState": {
              "type": "string",
              "readOnly": true,
              "description": "Provisioning state of the Namespace."
            },
            "status": {
              "type": "string",
              "readOnly": true,
              "description": "Status of the Namespace."
            },
            "createdAt": {
              "type": "string",
              "format": "date-time",
              "readOnly": true,
              "description": "The time the Namespace was created."
            },
            "updatedAt": {
              "type": "string",
              "format": "date-time",
              "readOnly": true,
              "description": "The time the Namespace was updated."
            },
            "serviceBusEndpoint": {
              "type": "string",
              "readOnly": true,
              "description": "Endpoint you can use to perform Service Bus operations."
            },
            "metricId": {
              "type": "string",
              "readOnly": true,
              "description": "Identifier for Azure Insights metrics."
            },
            "clusterArmId": {
              "type": "string",
              "description": "Cluster ARM ID of the Namespace."
            },
            "isAutoInflateEnabled": {
              "type": "boolean",
              "description": "Value that indicates whether AutoInflate is enabled for eventhub namespace."
            },
            "maximumThroughputUnits": {
              "type": "integer",
              "format": "int32",
              "minimum": 0,
              "description": "Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units."
            },
            "kafkaEnabled": {
              "type": "boolean",
              "description": "Value that indicates whether Kafka is enabled for eventhub namespace."
            },
            "zoneRedundant": {
              "type": "boolean",
              "description": "Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones."
            },
            "disableLocalAuth": {
              "type": "boolean",
              "description": "This property disables SAS authentication for the Event Hubs namespace."
            },
            "minimumTlsVersion": {
              "type": "string",
              "description": "The minimum TLS version for the cluster to support, e.g. 1.2.",
              "enum": [
                "1.0",
                "1.1",
                "1.2"
              ]
            },
            "publicNetworkAccess": {
              "type": "string",
              "description": "This determines if traffic is allowed over public network. By default it is enabled.",
              "enum": [
                "Enabled",
                "Disabled",
                "SecuredByPerimeter"
              ],
              "default": "Enabled"
            },
            "encryption": {
              "$ref": "#/$defs/Encryption"
            },
            "privateEndpointConnections": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/PrivateEndpointConnection"
              },
              "description": "List of private endpoint connections."
            },
            "alternateName": {
              "type": "string",
              "description": "Alternate name specified when alias and namespace names are same."
            }
          }
        },
        "systemData": {
          "$ref": "#/$defs/SystemData"
        }
      }
    },
    "Encryption": {
      "type": "object",
      "description": "Properties to configure Encryption.",
      "properties": {
        "keySource": {
          "type": "string",
          "description": "Enumerates the possible value of keySource for Encryption.",
          "enum": [
            "Microsoft.KeyVault"
          ],
          "default": "Microsoft.KeyVault"
        },
        "keyVaultProperties": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/KeyVaultProperties"
          },
          "description": "Properties of KeyVault."
        },
        "requireInfrastructureEncryption": {
          "type": "boolean",
          "description": "Enable Infrastructure Encryption (Double Encryption)."
        }
      }
    },
    "Identity": {
      "type": "object",
      "description": "Properties to configure Identity for the namespace.",
      "properties": {
        "principalId": {
          "type": "string",
          "readOnly": true,
          "description": "ObjectId from the KeyVault."
        },
        "tenantId": {
          "type": "string",
          "readOnly": true,
          "description": "TenantId from the KeyVault."
        },
        "type": {
          "type": "string",
          "description": "Type of managed service identity.",
          "enum": [
            "SystemAssigned",
            "UserAssigned",
            "SystemAssigned, UserAssigned",
            "None"
          ]
        },
        "userAssignedIdentities": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/UserAssignedIdentity"
          },
          "description": "Properties for User Assigned Identities."
        }
      }
    },
    "KeyVaultProperties": {
      "type": "object",
      "description": "Properties of KeyVault.",
      "properties": {
        "keyName": {
          "type": "string",
          "description": "Name of the Key from KeyVault."
        },
        "keyVaultUri": {
          "type": "string",
          "description": "Uri of KeyVault."
        },
        "keyVersion": {
          "type": "string",
          "description": "Key Version."
        },
        "identity": {
          "type": "object",
          "properties": {
            "userAssignedIdentity": {
              "type": "string",
              "description": "ARM ID of user Identity selected for encryption."
            }
          }
        }
      }
    },
    "PrivateEndpointConnection": {
      "type": "object",
      "description": "Properties of the PrivateEndpointConnection.",
      "properties": {
        "id": {
          "type": "string",
          "readOnly": true,
          "description": "Fully qualified resource ID for the resource."
        },
        "name": {
          "type": "string",
          "readOnly": true,
          "description": "The name of the resource."
        },
        "type": {
          "type": "string",
          "readOnly": true,
          "description": "The type of the resource."
        },
        "location": {
          "type": "string",
          "readOnly": true,
          "description": "The geo-location where the resource lives."
        },
        "properties": {
          "type": "object",
          "properties": {
            "privateEndpoint": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The ARM identifier for Private Endpoint."
                }
              }
            },
            "privateLinkServiceConnectionState": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string",
                  "description": "Status of the connection.",
                  "enum": [
                    "Pending",
                    "Approved",
                    "Rejected",
                    "Disconnected"
                  ]
                },
                "description": {
                  "type": "string",
                  "description": "Description of the connection state."
                }
              }
            },
            "provisioningState": {
              "type": "string",
              "description": "Provisioning state of the Private Endpoint Connection.",
              "enum": [
                "Creating",
                "Updating",
                "Deleting",
                "Succeeded",
                "Canceled",
                "Failed"
              ]
            }
          }
        },
        "systemData": {
          "$ref": "#/$defs/SystemData"
        }
      }
    },
    "Sku": {
      "type": "object",
      "description": "SKU parameters supplied to the create namespace operation.",
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of this SKU.",
          "enum": [
            "Basic",
            "Standard",
            "Premium"
          ]
        },
        "tier": {
          "type": "string",
          "description": "The billing tier of this particular SKU.",
          "enum": [
            "Basic",
            "Standard",
            "Premium"
          ]
        },
        "capacity": {
          "type": "integer",
          "format": "int32",
          "minimum": 0,
          "description": "The Event Hubs throughput units for Basic or Standard tiers, where value should be 0 to 20 throughput units. The Event Hubs premium units for Premium tier, where value should be 0 to 10 premium units."
        }
      }
    },
    "SystemData": {
      "type": "object",
      "description": "Metadata pertaining to creation and last modification of the resource.",
      "properties": {
        "createdBy": {
          "type": "string",
          "description": "The identity that created the resource."
        },
        "createdByType": {
          "type": "string",
          "description": "The type of identity that created the resource.",
          "enum": [
            "User",
            "Application",
            "ManagedIdentity",
            "Key"
          ]
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of resource creation (UTC)."
        },
        "lastModifiedBy": {
          "type": "string",
          "description": "The identity that last modified the resource."
        },
        "lastModifiedByType": {
          "type": "string",
          "description": "The type of identity that last modified the resource.",
          "enum": [
            "User",
            "Application",
            "ManagedIdentity",
            "Key"
          ]
        },
        "lastModifiedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of resource last modification (UTC)."
        }
      }
    },
    "UserAssignedIdentity": {
      "type": "object",
      "description": "Recognized Dictionary value.",
      "properties": {
        "clientId": {
          "type": "string",
          "readOnly": true,
          "description": "Client Id of user assigned identity."
        },
        "principalId": {
          "type": "string",
          "readOnly": true,
          "description": "Principal Id of user assigned identity."
        }
      }
    }
  }
}