# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.

trigger:
  branches:
    include:
    - main
    - hotfix/*
    - release/*
    - restapi*
  paths:
    include:
    - sdk/monitor/

pr:
  branches:
    include:
    - main
    - feature/*
    - hotfix/*
    - release/*
    - restapi*
  paths:
    include:
    - sdk/monitor/

extends:
  template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
  parameters:
    ServiceDirectory: monitor
    TestProxy: true
    BuildTargetingString: '*'
    Artifacts:
    - name: azure-mgmt-monitor
      safeName: azuremgmtmonitor
    - name: azure-monitor-opentelemetry-exporter
      safeName: azuremonitoropentelemetryexporter
    - name: azure-monitor-query
      safeName: azuremonitorquery
    - name: azure-monitor-ingestion
      safeName: azuremonitoringestion