- name: TunnelAverageBandwidth
  description: Average bandwidth of a tunnel in bytes per second
  type: Metric
  verified: false
  visible: true
  tags:
  - alz
  properties:
    metricName: TunnelAverageBandwidth
    metricNamespace: Microsoft.Network/virtualNetworkGateways
    severity: 0
    windowSize: PT5M
    evaluationFrequency: PT1M
    timeAggregation: Average
    operator: LessThan
    threshold: 1
    criterionType: StaticThresholdCriterion
    autoMitigate: false
    enabled: true
  references:
  - name: Supported metrics for microsoft.network/virtualnetworkgateways
    url: https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-network-virtualnetworkgateways-metrics
  deployments:
  - name: Deploy VNetG Tunnel Bandwidth Alert
    template: Deploy-VNETG-BandwidthUtilization-Alert.json
    type: Policy
    tags:
    - alz
    properties:
      scope: Resource
      multiResource: false
  guid: 09bb7f01-a715-437d-b692-325f89e1869e
- name: TunnelEgressBytes
  description: Metric Alert for VNet Gateway Tunnel Egress Bytes
  type: Metric
  verified: false
  visible: true
  tags:
  - alz
  properties:
    metricName: TunnelEgressBytes
    metricNamespace: Microsoft.Network/virtualNetworkGateways
    severity: 0
    windowSize: PT5M
    evaluationFrequency: PT5M
    timeAggregation: Average
    operator: LessThan
    threshold: 1
    criterionType: StaticThresholdCriterion
    autoMitigate: false
    enabled: true
  references:
  - name: Supported metrics for microsoft.network/virtualnetworkgateways
    url: https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-network-virtualnetworkgateways-metrics
  deployments:
  - name: Deploy VNetG Tunnel Egress Alert
    template: Deploy-VNETG-Egress-Alert.json
    type: Policy
    tags:
    - alz
    properties:
      scope: Resource
      multiResource: false
  guid: 092f6e09-1eb5-436d-b7c2-eadb70318920
- name: TunnelEgressPacketDropCount
  description: Metric Alert for Vnet Gateway tunnel TunnelEgressPacketDropCount
  type: Metric
  verified: false
  visible: true
  tags:
  - alz
  properties:
    metricName: TunnelEgressPacketDropCount
    metricNamespace: Microsoft.Network/virtualNetworkGateways
    severity: 3
    windowSize: PT5M
    evaluationFrequency: PT5M
    timeAggregation: Average
    operator: GreaterThan
    criterionType: DynamicThresholdCriterion
    alertSensitivity: Medium
    failingPeriods:
      numberOfEvaluationPeriods: 4
      minFailingPeriodsToAlert: 4
    autoMitigate: false
    enabled: true
  references:
  - name: Supported metrics for microsoft.network/virtualnetworkgateways
    url: https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-network-virtualnetworkgateways-metrics
  deployments:
  - name: Deploy VNetG Egress Packet Drop Count Alert
    template: Deploy-VNETG-EgressPacketDropCount-Alert.json
    type: Policy
    tags:
    - alz
    properties:
      scope: Resource
      multiResource: false
  guid: 6f02e3e8-9bfa-4312-a352-6506139e3dba
- name: TunnelEgressPacketDropTSMismatch
  description: Metric Alert for Vnet Gateway tunnel TunnelEgressPacketDropTSMismatch
  type: Metric
  verified: false
  visible: true
  tags:
  - alz
  properties:
    metricName: TunnelEgressPacketDropTSMismatch
    metricNamespace: Microsoft.Network/virtualNetworkGateways
    severity: 3
    windowSize: PT5M
    evaluationFrequency: PT5M
    timeAggregation: Average
    operator: GreaterThan
    criterionType: DynamicThresholdCriterion
    alertSensitivity: Medium
    failingPeriods:
      numberOfEvaluationPeriods: 4
      minFailingPeriodsToAlert: 4
    autoMitigate: false
    enabled: true
  references:
  - name: Supported metrics for microsoft.network/virtualnetworkgateways
    url: https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-network-virtualnetworkgateways-metrics
  deployments:
  - name: Deploy VNetG Egress Packet Drop Mismatch Alert
    template: Deploy-VNETG-EgressPacketDropMismatch-Alert.json
    type: Policy
    tags:
    - alz
    properties:
      scope: Resource
      multiResource: false
  guid: ca909c09-89c4-467e-bdca-9140e72d6c82
- name: ExpressRouteGatewayBitsPerSecond
  description: Metric Alert for VNet Gateway Express Route Bits Per Second
  type: Metric
  verified: false
  visible: true
  tags:
  - alz
  properties:
    metricName: ExpressRouteGatewayBitsPerSecond
    metricNamespace: Microsoft.Network/virtualNetworkGateways
    severity: 0
    windowSize: PT5M
    evaluationFrequency: PT1M
    timeAggregation: Average
    operator: LessThan
    threshold: 1
    criterionType: StaticThresholdCriterion
    autoMitigate: false
    enabled: true
  references:
  - name: Supported metrics for microsoft.network/virtualnetworkgateways
    url: https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-network-virtualnetworkgateways-metrics
  deployments:
  - name: Deploy VNetG ExpressRoute Bits Per Second Alert
    template: Deploy-VNETG-ERGBitsPerSecond-Alert.json
    type: Policy
    tags:
    - alz
    properties:
      scope: Resource
      multiResource: false
  guid: 4c3c25d2-7473-4d0c-9174-609162571859
- name: ExpressRouteGatewayCpuUtilization
  description: CPU Utilization of the ExpressRoute Gateway
  type: Metric
  verified: false
  visible: true
  tags:
  - alz
  properties:
    metricName: ExpressRouteGatewayCpuUtilization
    metricNamespace: Microsoft.Network/virtualNetworkGateways
    severity: 1
    windowSize: PT5M
    evaluationFrequency: PT1M
    timeAggregation: Average
    operator: GreaterThan
    threshold: 80
    criterionType: StaticThresholdCriterion
    autoMitigate: false
    enabled: true
  references:
  - name: Supported metrics for microsoft.network/virtualnetworkgateways
    url: https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-network-virtualnetworkgateways-metrics
  deployments:
  - name: Deploy VNetG ExpressRoute CPU Utilization Alert
    template: Deploy-VNETG-ERGCPUUtilization-Alert.json
    type: Policy
    tags:
    - alz
    properties:
      scope: Resource
      multiResource: false
  guid: 56491bc7-1267-42a2-92c6-fe9efe822ff1
- name: TunnelIngressBytes
  description: Metric Alert for VNet Gateway Tunnel ingress Bytes
  type: Metric
  verified: false
  visible: true
  tags:
  - alz
  properties:
    metricName: TunnelIngressBytes
    metricNamespace: Microsoft.Network/virtualNetworkGateways
    severity: 0
    windowSize: PT5M
    evaluationFrequency: PT5M
    timeAggregation: Average
    operator: LessThan
    threshold: 1
    criterionType: StaticThresholdCriterion
    autoMitigate: false
    enabled: true
  references:
  - name: Supported metrics for microsoft.network/virtualnetworkgateways
    url: https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-network-virtualnetworkgateways-metrics
  deployments:
  - name: Deploy VNetG Tunnel Ingress Alert
    template: Deploy-VNETG-Ingress-Alert.json
    type: Policy
    tags:
    - alz
    properties:
      scope: Resource
      multiResource: false
  guid: a34fa329-da3e-4947-8d06-9bd2bee6c8a7
- name: TunnelIngressPacketDropCount
  description: Metric Alert for Vnet Gateway tunnel TunnelIngressPacketDropCount
  type: Metric
  verified: false
  visible: true
  tags:
  - alz
  properties:
    metricName: TunnelIngressPacketDropCount
    metricNamespace: Microsoft.Network/virtualNetworkGateways
    severity: 3
    windowSize: PT5M
    evaluationFrequency: PT5M
    timeAggregation: Average
    operator: GreaterThan
    criterionType: DynamicThresholdCriterion
    alertSensitivity: Medium
    failingPeriods:
      numberOfEvaluationPeriods: 4
      minFailingPeriodsToAlert: 4
    autoMitigate: false
    enabled: true
  references:
  - name: Supported metrics for microsoft.network/virtualnetworkgateways
    url: https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-network-virtualnetworkgateways-metrics
  deployments:
  - name: Deploy VNetG Ingress Packet Drop Count Alert
    template: Deploy-VNETG-IngressPacketDropCount-Alert.json
    type: Policy
    tags:
    - alz
    properties:
      scope: Resource
      multiResource: false
  guid: b511650f-535c-45d1-a089-0ea402245deb
- name: TunnelIngressPacketDropTSMismatch
  description: Metric Alert for Vnet Gateway tunnel TunnelIngressPacketDropTSMismatch
  type: Metric
  verified: false
  visible: true
  tags:
  - alz
  properties:
    metricName: TunnelIngressPacketDropTSMismatch
    metricNamespace: Microsoft.Network/virtualNetworkGateways
    severity: 3
    windowSize: PT5M
    evaluationFrequency: PT5M
    timeAggregation: Average
    operator: GreaterThan
    criterionType: DynamicThresholdCriterion
    alertSensitivity: Medium
    failingPeriods:
      numberOfEvaluationPeriods: 4
      minFailingPeriodsToAlert: 4
    autoMitigate: false
    enabled: true
  references:
  - name: Supported metrics for microsoft.network/virtualnetworkgateways
    url: https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-network-virtualnetworkgateways-metrics
  deployments:
  - name: Deploy VNetG Egress Packet Drop Mismatch Alert
    template: Deploy-VNETG-IngressPacketDropMismatch-Alert.json
    type: Policy
    tags:
    - alz
    properties:
      scope: Resource
      multiResource: false
  guid: 1cc4a539-e4bf-40e8-a280-f4e9e178fb51
- name: AverageBandwidth
  description: Site-to-site bandwidth of a gateway in bytes per second
  type: Metric
  verified: false
  visible: true
  tags:
  - auto-generated
  - agc-342
  properties:
    metricName: AverageBandwidth
    metricNamespace: Microsoft.Network/virtualNetworkGateways
    severity: 3
    windowSize: PT5M
    evaluationFrequency: PT5M
    timeAggregation: Average
    operator: GreaterThan
    criterionType: StaticThresholdCriterion
    threshold: 450000000.0
    enabled: true
  guid: 88642ff7-6c08-486a-9bf2-37764d5bf6a3
