Azure Networking Services Connection Analyzers API

The ConnectionAnalyzers API from Azure Networking Services — 3 operation(s) for connectionanalyzers.

GitHub OpenAPI

Operations 6

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionAnalyzers Network watchers connection analyzers list #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionAnalyzers/{connectionAnalyzerName} Network watchers connection analyzers get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionAnalyzers/{connectionAnalyzerName} Network watchers connection analyzers create #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionAnalyzers/{connectionAnalyzerName} Network watchers connection analyzers update tags #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionAnalyzers/{connectionAnalyzerName} Network watchers connection analyzers delete #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionAnalyzers/{connectionAnalyzerName}/query Network watchers connection analyzers query #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/azure-networking-services:azure-networking-services-connectionanalyzers-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

azure-networking-services-connectionanalyzers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WebApplicationFirewallManagement Connection Analyzers API
  version: '2026-03-01'
  description: APIs to manage Microsoft Azure network resources.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: ConnectionAnalyzers
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionAnalyzers
  : get:
      operationId: NetworkWatchers_ConnectionAnalyzersList
      tags:
      - ConnectionAnalyzers
      description: Lists all connection analyzers in the specified network watcher.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkWatcherName
        in: path
        description: The name of the network watcher.
        required: true
        schema:
          type: string
          pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectionAnalyzerListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Network watchers connection analyzers list
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionAnalyzers/{connectionAnalyzerName}
  : get:
      operationId: NetworkWatchers_ConnectionAnalyzersGet
      tags:
      - ConnectionAnalyzers
      description: Gets the specified connection analyzer by name.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkWatcherName
        in: path
        description: The name of the network watcher.
        required: true
        schema:
          type: string
          pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$
      - name: connectionAnalyzerName
        in: path
        description: The name of the connection analyzer.
        required: true
        schema:
          type: string
          pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectionAnalyzer'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Network watchers connection analyzers get
      x-summary-source: derived
    put:
      operationId: NetworkWatchers_ConnectionAnalyzersCreate
      tags:
      - ConnectionAnalyzers
      description: Creates or updates a connection analyzer in the specified network watcher.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkWatcherName
        in: path
        description: The name of the network watcher.
        required: true
        schema:
          type: string
          pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$
      - name: connectionAnalyzerName
        in: path
        description: The name of the connection analyzer.
        required: true
        schema:
          type: string
          pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$
      responses:
        '200':
          description: Resource 'ConnectionAnalyzer' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectionAnalyzer'
        '201':
          description: Resource 'ConnectionAnalyzer' create operation succeeded
          headers:
            Azure-AsyncOperation:
              description: A link to the status monitor
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectionAnalyzer'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
        final-state-schema: '#/definitions/ConnectionAnalyzer'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectionAnalyzer'
        description: Parameters that define the operation to create a connection analyzer.
        required: true
      summary: Network watchers connection analyzers create
      x-summary-source: derived
    patch:
      operationId: NetworkWatchers_ConnectionAnalyzersUpdateTags
      tags:
      - ConnectionAnalyzers
      description: Updates the tags of the specified connection analyzer.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkWatcherName
        in: path
        description: The name of the network watcher.
        required: true
        schema:
          type: string
          pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$
      - name: connectionAnalyzerName
        in: path
        description: The name of the connection analyzer.
        required: true
        schema:
          type: string
          pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectionAnalyzer'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagsObject'
        description: Parameters supplied to update connection analyzer tags.
        required: true
      summary: Network watchers connection analyzers update tags
      x-summary-source: derived
    delete:
      operationId: NetworkWatchers_ConnectionAnalyzersDelete
      tags:
      - ConnectionAnalyzers
      description: Deletes the specified connection analyzer.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkWatcherName
        in: path
        description: The name of the network watcher.
        required: true
        schema:
          type: string
          pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$
      - name: connectionAnalyzerName
        in: path
        description: The name of the connection analyzer.
        required: true
        schema:
          type: string
          pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$
      responses:
        '202':
          description: Resource deletion accepted.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: Network watchers connection analyzers delete
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionAnalyzers/{connectionAnalyzerName}/query
  : post:
      operationId: NetworkWatchers_ConnectionAnalyzersQuery
      tags:
      - ConnectionAnalyzers
      description: Queries the specified connection analyzer for diagnostic results.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkWatcherName
        in: path
        description: The name of the network watcher.
        required: true
        schema:
          type: string
          pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$
      - name: connectionAnalyzerName
        in: path
        description: The name of the connection analyzer.
        required: true
        schema:
          type: string
          pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectionAnalyzerQueryStatusResult'
        '202':
          description: Operation succeeded.
          headers:
            Azure-AsyncOperation:
              description: A link to the status monitor
              schema:
                type: string
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
        final-state-schema: '#/definitions/ConnectionAnalyzerQueryStatusResult'
      x-ms-long-running-operation: true
      summary: Network watchers connection analyzers query
      x-summary-source: derived
components:
  schemas:
    DiagnosticOperationResult:
      type: object
      description: Result of an individual diagnostic operation run by a connection analyzer.
      properties:
        diagnosticOperation:
          $ref: '#/components/schemas/DiagnosticOperation'
          description: The diagnostic operation that was run.
        error:
          type: string
          description: Error encountered while running the diagnostic operation, if any.
        result:
          type: string
          description: 'The result of the diagnostic operation, serialized as a JSON string.


            The payload shape varies by `diagnosticOperation`. For example, a

            `ConnectivityCheck` operation returns a JSON object such as

            `{ "ConnectivityStatus": "Reachable" }`. Consumers should parse this

            string as JSON according to the corresponding diagnostic operation.'
      required:
      - diagnosticOperation
    ConnectionAnalyzerQueryStatusResult:
      type: object
      description: Status result returned when querying a connection analyzer for its diagnostic results.
      properties:
        id:
          type: string
          description: Resource ID of the connection analyzer.
          readOnly: true
        connectionAnalyzerStatus:
          $ref: '#/components/schemas/ConnectionAnalyzerStatus'
          description: Current execution status of the connection analyzer.
        error:
          type: string
          description: Error message if the connection analyzer operation failed.
        outputStoragePath:
          type: string
          description: Storage path where the connection analyzer output is written.
        expiryInUtc:
          type: string
          format: date-time
          description: UTC time when the connection analyzer expires.
        diagnosticOperationResults:
          type: array
          description: Results of the individual diagnostic operations.
          items:
            $ref: '#/components/schemas/DiagnosticOperationResult'
          x-ms-identifiers:
          - diagnosticOperation
    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
    ProtocolSettings:
      type: object
      description: Protocol-level settings for the connection analyzer.
      properties:
        protocol:
          $ref: '#/components/schemas/Protocol'
          description: Network protocol.
        httpConfiguration:
          $ref: '#/components/schemas/HTTPConfiguration'
          description: HTTP configuration (used when protocol is Http or Https).
    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
    ConnectionAnalyzerListResult:
      type: object
      description: List of connection analyzers.
      properties:
        value:
          type: array
          description: Information about connection analyzers.
          items:
            $ref: '#/components/schemas/ConnectionAnalyzer'
        nextLink:
          type: string
          description: URL to get the next set of results.
    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.
    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.
    OutputSettings:
      type: object
      description: Settings that control where the connection analyzer writes its results.
      properties:
        storageAccountSettings:
          $ref: '#/components/schemas/StorageAccountSettings'
          description: Storage account where output is written.
    HTTPConfiguration:
      type: object
      description: HTTP configuration of the connectivity check.
      properties:
        method:
          $ref: '#/components/schemas/HTTPMethod'
          description: HTTP method.
        headers:
          type: array
          description: List of HTTP headers.
          items:
            $ref: '#/components/schemas/HTTPHeader'
        validStatusCodes:
          type: array
          description: Valid status codes.
          items:
            type: integer
            format: int32
    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
    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: '#/components/schemas/ConnectionAnalyzerEndpointType'
          description: 'The type of the endpoint. Determines which of `resourceId` and `address`

            are 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`,

            `VMSS`, `BastionHost`, or `ApplicationGateway`. Not used when `type` is

            `ExternalAddress`.'
        address:
          type: string
          description: 'IP address or FQDN of the endpoint. Required when `type` is

            `ExternalAddress`. Not used for the resource-typed endpoint kinds (`VM`,

            `VMSS`, `BastionHost`, `ApplicationGateway`).'
        port:
          type: integer
          format: int32
          description: Port to use for the endpoint (0-65535).
          minimum: 0
          maximum: 65535
      required:
      - type
    ErrorResponse:
      type: object
      description: The error object.
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetails'
          title: Error
          description: The error details object.
    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: '#/components/schemas/PreferredIPVersion'
          description: Preferred IP version for the connectivity check.
    DiagnosticOperationsSettings:
      type: object
      description: Diagnostic settings to provide for the ConnectionAnalyzer operation.
      properties:
        connectivityCheckSettings:
          $ref: '#/components/schemas/ConnectivityCheckSettings'
          description: Settings for the ConnectivityCheck diagnostic operation.
        expressRouteDiagnosticsSettings:
          $ref: '#/components/schemas/ExpressRouteDiagnosticsSettings'
          description: Settings for the ExpressRouteDiagnostic diagnostic operation.
    TagsObject:
      type: object
      description: Tags object for patch operations.
      properties:
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
    ConnectionAnalyzer:
      type: object
      description: Defines a connection analyzer resource.
      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: '#/components/schemas/systemData'
          description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
          readOnly: true
        properties:
          $ref: '#/components/schemas/ConnectionAnalyzerProperties'
          description: Properties of the connection analyzer.
      required:
      - location
      - properties
      x-ms-azure-resource: true
    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.
    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
    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
    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.
    ErrorDetails:
      type: object
      description: Common error details representation.
      properties:
        code:
          type: string
          description: Error code.
        target:
          type: string
          description: Error target.
        message:
          type: string
          description: Error message.
    ConnectionAnalyzerProperties:
      type: object
      description: Properties of a connection analyzer.
      properties:
        source:
          $ref: '#/components/schemas/ConnectionAnalyzerEndpoint'
          description: Source endpoint of the connection analyzer.
        destination:
          $ref: '#/components/schemas/ConnectionAnalyzerEndpoint'
          description: Destination endpoint of the connection analyzer.
        diagnosticOperations:
          type: array
          description: List of diagnostic operations to run.
          minItems: 1
          items:
            $ref: '#/components/schemas/DiagnosticOperation'
        protocolSettings:
          $ref: '#/components/schemas/ProtocolSettings'
          description: Protocol-level settings.
        diagnosticOperationsSettings:
          $ref: '#/components/schemas/DiagnosticOperationsSettings'
          description: Per-operation diagnostic settings.
        expiryInDays:
          type: integer
          format: int32
          description: Time-to-live (days) before the analyzer expires.
          minimum: 1
        outputSettings:
          $ref: '#/components/schemas/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: '#/components/schemas/ProvisioningState'
          description: The provisioning state of the connection analyzer resource.
          readOnly: true
        status:
          $ref: '#/components/schemas/ConnectionAnalyzerStatus'
          description: Current execution status of the connection analyzer.
          readOnly: true
      required:
      - source
      - destination
      - diagnosticOperations
    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.
    HTTPMethod:
      type: string
      description: HTTP method.
      enum:
      - Get
      x-ms-enum:
        name: HTTPMethod
        modelAsString: true
        values:
        - name: Get
          value: Get
          description: Get
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.