Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 939 Bytes

File metadata and controls

33 lines (26 loc) · 939 Bytes

Batch

Filters

  • Standard Value Filter (see filters)
  • ARM Resource Filters (see azure_genericarmfilter)
    • Tag Filter - Filter on tag presence and/or values
    • Marked-For-Op Filter - Filter on tag that indicates a scheduled operation for a resource

Actions

  • ARM Resource Actions (see azure_genericarmaction)

Example Policies

This set of policies will find all Azure Batch services that have more than 100 cores as the limit for the dedicated core quota.

policies:
  - name: find-batch-with-high-dedicated-cores
    resource: azure.batch
  resource: azure.batch
  filters:
    - type: value
      key: properties.dedicatedCoreQuota
      op: gt
      value: 100