- name: IfUnderDDoSAttack
  description: Metric Alert for VNet DDOS Attack
  type: Metric
  verified: false
  visible: true
  tags:
  - alz
  properties:
    metricName: IfUnderDDoSAttack
    metricNamespace: Microsoft.Network/virtualNetworks
    severity: 1
    windowSize: PT5M
    evaluationFrequency: PT1M
    timeAggregation: Maximum
    operator: GreaterThan
    threshold: 0
    criterionType: StaticThresholdCriterion
    autoMitigate: false
    enabled: true
  references:
  - name: Supported metrics for Microsoft.Network/virtualNetworks
    url: https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-network-virtualnetworks-metrics
  deployments:
  - name: Deploy VNet DDoS Attack Alert
    template: Deploy-VNET-DDOSAttack-Alert.json
    type: Policy
    tags:
    - alz
    properties:
      scope: Resource
      multiResource: false
  guid: 72dea6f4-858c-423f-8189-406aac7d20ac
