azure.postgresql-server

PostgreSQL Server Resource

example:

Finds all PostgreSQL Servers that have had zero active connections in the past week

policies:
  - name: find-all-unused-postgresql-servers
    resource: azure.postgresql-server
    filters:
      - type: metric
        metric: active_connections
        op: eq
        threshold: 0
        timeframe: 168
example:

Finds all PostgreSQL Servers that cost more than 1000 in the last month

policies:
  - name: find-all-costly-postgresql-servers
    resource: azure.postgresql-server
    filters:
      - type: cost
        key: TheLastMonth
        op: gt
        value: 1000

Filters

Actions