Azure Networking Services · Schema
ConnectionAnalyzer
Defines a connection analyzer resource.
Microsoft AzureCloudInfrastructureMicrosoftNetworking
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Name of the connection analyzer. |
| id | string | Resource ID of the connection analyzer. |
| type | string | Resource type. |
| etag | string | A unique read-only string that changes whenever the resource is updated. |
| location | string | Resource location. |
| tags | object | Resource tags. |
| systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
| properties | object | Properties of the connection analyzer. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/azure-networking-services/json-schema/azure-networking-services-connection-analyzer-schema.json",
"title": "ConnectionAnalyzer",
"description": "Defines a connection analyzer resource.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/azure-networking-services-connectionanalyzers-api-openapi.yml#/components/schemas/ConnectionAnalyzer",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the connection analyzer.",
"readOnly": true
},
"id": {
"type": "string",
"description": "Resource ID of the connection analyzer.",
"readOnly": true
},
"type": {
"type": "string",
"description": "Resource type.",
"readOnly": true
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated.",
"readOnly": true
},
"location": {
"type": "string",
"description": "Resource location.",
"x-ms-mutability": [
"read",
"create"
]
},
"tags": {
"type": "object",
"description": "Resource tags.",
"additionalProperties": {
"type": "string"
}
},
"systemData": {
"$ref": "#/$defs/systemData",
"description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
"readOnly": true
},
"properties": {
"$ref": "#/$defs/ConnectionAnalyzerProperties",
"description": "Properties of the connection analyzer."
}
},
"required": [
"location",
"properties"
],
"x-ms-azure-resource": true,
"$defs": {
"ConnectionAnalyzerEndpoint": {
"type": "object",
"description": "Describes a source or destination endpoint of a connection analyzer.\n\nThe schema is intentionally permissive (a flat object) because the set of\nvalid fields is determined by `type` and is enforced server-side by the\nNetwork Resource Provider. The required and allowed fields per `type` are:\n\n- `VM`, `VMSS`, `BastionHost`, `ApplicationGateway`: `resourceId` is\n required and must be the ARM resource ID of the corresponding resource\n (a virtual machine, virtual machine scale set or VMSS instance, Azure\n Bastion host, or Application Gateway, respectively); `address` is not\n used; `port` is optional.\n- `ExternalAddress`: `address` is required and must be an IP address or\n FQDN reachable from outside Azure; `resourceId` is not used; `port` is\n optional.\n\nRequests that supply fields not allowed for the chosen `type`, or omit a\nrequired field, are rejected by the service with a validation error. This\nfollows the same convention used by `ConnectivitySource` and\n`ConnectivityDestination` on Network Watcher.",
"properties": {
"type": {
"$ref": "#/$defs/ConnectionAnalyzerEndpointType",
"description": "The type of the endpoint. Determines which of `resourceId` and `address`\nare required; see the model-level documentation for the per-type contract."
},
"resourceId": {
"type": "string",
"format": "arm-id",
"description": "ARM resource ID of the endpoint resource. Required when `type` is `VM`,\n`VMSS`, `BastionHost`, or `ApplicationGateway`. Not used when `type` is\n`ExternalAddress`."
},
"address": {
"type": "string",
"description": "IP address or FQDN of the endpoint. Required when `type` is\n`ExternalAddress`. Not used for the resource-typed endpoint kinds (`VM`,\n`VMSS`, `BastionHost`, `ApplicationGateway`)."
},
"port": {
"type": "integer",
"format": "int32",
"description": "Port to use for the endpoint (0-65535).",
"minimum": 0,
"maximum": 65535
}
},
"required": [
"type"
]
},
"ConnectionAnalyzerEndpointType": {
"type": "string",
"description": "The endpoint type for a connection analyzer source or destination.",
"enum": [
"VM",
"VMSS",
"ExternalAddress",
"BastionHost",
"ApplicationGateway"
],
"x-ms-enum": {
"name": "ConnectionAnalyzerEndpointType",
"modelAsString": true,
"values": [
{
"name": "VM",
"value": "VM",
"description": "An Azure virtual machine endpoint, identified by its ARM resource ID."
},
{
"name": "VMSS",
"value": "VMSS",
"description": "An Azure virtual machine scale set (or scale set instance) endpoint, identified by its ARM resource ID."
},
{
"name": "ExternalAddress",
"value": "ExternalAddress",
"description": "An external endpoint reachable from outside Azure, identified by an IP address or FQDN."
},
{
"name": "BastionHost",
"value": "BastionHost",
"description": "An Azure Bastion host endpoint, identified by its ARM resource ID."
},
{
"name": "ApplicationGateway",
"value": "ApplicationGateway",
"description": "An Application Gateway endpoint, identified by its ARM resource ID."
}
]
}
},
"ConnectionAnalyzerProperties": {
"type": "object",
"description": "Properties of a connection analyzer.",
"properties": {
"source": {
"$ref": "#/$defs/ConnectionAnalyzerEndpoint",
"description": "Source endpoint of the connection analyzer."
},
"destination": {
"$ref": "#/$defs/ConnectionAnalyzerEndpoint",
"description": "Destination endpoint of the connection analyzer."
},
"diagnosticOperations": {
"type": "array",
"description": "List of diagnostic operations to run.",
"minItems": 1,
"items": {
"$ref": "#/$defs/DiagnosticOperation"
}
},
"protocolSettings": {
"$ref": "#/$defs/ProtocolSettings",
"description": "Protocol-level settings."
},
"diagnosticOperationsSettings": {
"$ref": "#/$defs/DiagnosticOperationsSettings",
"description": "Per-operation diagnostic settings."
},
"expiryInDays": {
"type": "integer",
"format": "int32",
"description": "Time-to-live (days) before the analyzer expires.",
"minimum": 1
},
"outputSettings": {
"$ref": "#/$defs/OutputSettings",
"description": "Output settings (e.g. storage account)."
},
"requestTime": {
"type": "string",
"format": "date-time",
"description": "UTC time when the connection analyzer request was received.",
"readOnly": true
},
"provisioningState": {
"$ref": "#/$defs/ProvisioningState",
"description": "The provisioning state of the connection analyzer resource.",
"readOnly": true
},
"status": {
"$ref": "#/$defs/ConnectionAnalyzerStatus",
"description": "Current execution status of the connection analyzer.",
"readOnly": true
}
},
"required": [
"source",
"destination",
"diagnosticOperations"
]
},
"ConnectionAnalyzerStatus": {
"type": "string",
"description": "Current execution status of the connection analyzer.",
"enum": [
"NotStarted",
"Running",
"Succeeded",
"Failed"
],
"x-ms-enum": {
"name": "ConnectionAnalyzerStatus",
"modelAsString": true,
"values": [
{
"name": "NotStarted",
"value": "NotStarted",
"description": "The connection analyzer has been created but execution has not yet begun."
},
{
"name": "Running",
"value": "Running",
"description": "The connection analyzer is currently running its diagnostic operations."
},
{
"name": "Succeeded",
"value": "Succeeded",
"description": "The connection analyzer completed all diagnostic operations successfully."
},
{
"name": "Failed",
"value": "Failed",
"description": "The connection analyzer failed to complete its diagnostic operations."
}
]
}
},
"ConnectivityCheckSettings": {
"type": "object",
"description": "Settings that control how connectivity checks are performed by the connection analyzer.",
"properties": {
"generatePath": {
"type": "boolean",
"description": "Whether to generate a hop-by-hop path during the connectivity check. Default value is true.",
"default": true
},
"preferredIPVersion": {
"$ref": "#/$defs/PreferredIPVersion",
"description": "Preferred IP version for the connectivity check."
}
}
},
"DiagnosticOperation": {
"type": "string",
"description": "The type of diagnostic operation to run on a connection analyzer.",
"enum": [
"NextHop",
"NSG",
"PortScan",
"ConnectivityCheck",
"ExpressRouteDiagnostic"
],
"x-ms-enum": {
"name": "DiagnosticOperation",
"modelAsString": true,
"values": [
{
"name": "NextHop",
"value": "NextHop",
"description": "Determines the next hop for traffic from the source to the destination."
},
{
"name": "NSG",
"value": "NSG",
"description": "Evaluates the network security group rules that apply to the traffic."
},
{
"name": "PortScan",
"value": "PortScan",
"description": "Scans the destination ports to determine their reachability."
},
{
"name": "ConnectivityCheck",
"value": "ConnectivityCheck",
"description": "Performs an end-to-end connectivity check between the source and destination."
},
{
"name": "ExpressRouteDiagnostic",
"value": "ExpressRouteDiagnostic",
"description": "Runs Express Route specific diagnostics for the connection."
}
]
}
},
"DiagnosticOperationsSettings": {
"type": "object",
"description": "Diagnostic settings to provide for the ConnectionAnalyzer operation.",
"properties": {
"connectivityCheckSettings": {
"$ref": "#/$defs/ConnectivityCheckSettings",
"description": "Settings for the ConnectivityCheck diagnostic operation."
},
"expressRouteDiagnosticsSettings": {
"$ref": "#/$defs/ExpressRouteDiagnosticsSettings",
"description": "Settings for the ExpressRouteDiagnostic diagnostic operation."
}
}
},
"ExpressRouteDiagnosticsSettings": {
"type": "object",
"description": "Settings that control how Express Route diagnostics are performed by the connection analyzer.",
"properties": {
"erCircuitResourceId": {
"type": "string",
"format": "arm-id",
"description": "Resource ID of the Express Route circuit.",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Network/expressRouteCircuits"
}
]
}
},
"bandwidth": {
"type": "number",
"format": "float",
"description": "Bandwidth (in Mbps) to use for the Express Route diagnostic."
}
}
},
"HTTPConfiguration": {
"type": "object",
"description": "HTTP configuration of the connectivity check.",
"properties": {
"method": {
"$ref": "#/$defs/HTTPMethod",
"description": "HTTP method."
},
"headers": {
"type": "array",
"description": "List of HTTP headers.",
"items": {
"$ref": "#/$defs/HTTPHeader"
}
},
"validStatusCodes": {
"type": "array",
"description": "Valid status codes.",
"items": {
"type": "integer",
"format": "int32"
}
}
}
},
"HTTPHeader": {
"type": "object",
"description": "The HTTP header.",
"properties": {
"name": {
"type": "string",
"description": "The name in HTTP header."
},
"value": {
"type": "string",
"description": "The value in HTTP header."
}
}
},
"HTTPMethod": {
"type": "string",
"description": "HTTP method.",
"enum": [
"Get"
],
"x-ms-enum": {
"name": "HTTPMethod",
"modelAsString": true,
"values": [
{
"name": "Get",
"value": "Get",
"description": "Get"
}
]
}
},
"OutputSettings": {
"type": "object",
"description": "Settings that control where the connection analyzer writes its results.",
"properties": {
"storageAccountSettings": {
"$ref": "#/$defs/StorageAccountSettings",
"description": "Storage account where output is written."
}
}
},
"PreferredIPVersion": {
"type": "string",
"description": "The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters.",
"enum": [
"IPv4",
"IPv6"
],
"x-ms-enum": {
"name": "PreferredIPVersion",
"modelAsString": true,
"values": [
{
"name": "IPv4",
"value": "IPv4",
"description": "IPv4"
},
{
"name": "IPv6",
"value": "IPv6",
"description": "IPv6"
}
]
}
},
"Protocol": {
"type": "string",
"description": "Network protocol.",
"enum": [
"Tcp",
"Http",
"Https",
"Icmp"
],
"x-ms-enum": {
"name": "Protocol",
"modelAsString": true,
"values": [
{
"name": "Tcp",
"value": "Tcp",
"description": "Tcp"
},
{
"name": "Http",
"value": "Http",
"description": "Http"
},
{
"name": "Https",
"value": "Https",
"description": "Https"
},
{
"name": "Icmp",
"value": "Icmp",
"description": "Icmp"
}
]
}
},
"ProtocolSettings": {
"type": "object",
"description": "Protocol-level settings for the connection analyzer.",
"properties": {
"protocol": {
"$ref": "#/$defs/Protocol",
"description": "Network protocol."
},
"httpConfiguration": {
"$ref": "#/$defs/HTTPConfiguration",
"description": "HTTP configuration (used when protocol is Http or Https)."
}
}
},
"ProvisioningState": {
"type": "string",
"description": "Provisioning states of a resource.",
"enum": [
"Failed",
"Succeeded",
"Canceled",
"Creating",
"Updating",
"Deleting"
],
"x-ms-enum": {
"name": "ProvisioningState",
"modelAsString": true,
"values": [
{
"name": "Failed",
"value": "Failed",
"description": "Failed"
},
{
"name": "Succeeded",
"value": "Succeeded",
"description": "Succeeded"
},
{
"name": "Canceled",
"value": "Canceled",
"description": "Canceled"
},
{
"name": "Creating",
"value": "Creating",
"description": "Creating"
},
{
"name": "Updating",
"value": "Updating",
"description": "Updating"
},
{
"name": "Deleting",
"value": "Deleting",
"description": "Deleting"
}
]
}
},
"StorageAccountSettings": {
"type": "object",
"description": "Storage account where the connection analyzer writes its output.",
"properties": {
"storageAccountId": {
"type": "string",
"format": "arm-id",
"description": "Resource ID of the storage account.",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Storage/storageAccounts"
}
]
}
},
"path": {
"type": "string",
"description": "Sub-path within the storage account where results are written."
}
},
"required": [
"storageAccountId"
]
},
"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"
],
"x-ms-enum": {
"name": "createdByType",
"modelAsString": true
}
},
"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"
],
"x-ms-enum": {
"name": "createdByType",
"modelAsString": true
}
},
"lastModifiedAt": {
"type": "string",
"format": "date-time",
"description": "The timestamp of resource last modification (UTC)"
}
},
"readOnly": true
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/azure-networking-services-connection-analyzer"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.