apiVersion: v1
kind: ConfigMap
metadata:
  name: vrops-exporter-inventory-config
data:
  inventory_config.yaml: |
    query_specs:
      virtual_machines:
        resourceHealth:
          - "GREEN"
          - "YELLOW"
          - "ORANGE"
          - "RED"
          - "GREY"
        resourceStatus:
          # resource data collection stats
    #      - "ERROR"
          - "UNKNOWN"
    #      - "DOWN"
          - "DATA_RECEIVING"
    #      - "OLD_DATA_RECEIVING"
    #      - "NO_DATA_RECEIVING"
    #      - "NO_PARENT_MONITORING"
    #      - "COLLECTOR_DOWN"
        resourceStates:
          # resource states
    #      - "STOPPED"
    #      - "STARTING"
          - "STARTED"
    #      - "STOPPING"
    #      - "UPDATING"
    #      - "FAILED"
    #      - "MAINTAINED"
    #      - "MAINTAINED_MANUAL"
    #      - "REMOVING"
    #      - "NOT_EXISTING"
    #      - "UNKNOWN"

      default:
    #    resourceHealth:
    #  - "GREEN"
    #      - "YELLOW"
    #      - "ORANGE"
    #      - "RED"
    #      - "GREY"
        resourceStatus:
          # resource data collection stats
    #      - "ERROR"
    #      - "UNKNOWN"
    #      - "DOWN"
          - "DATA_RECEIVING"
    #      - "OLD_DATA_RECEIVING"
    #      - "NO_DATA_RECEIVING"
    #      - "NO_PARENT_MONITORING"
    #      - "COLLECTOR_DOWN"
        resourceStates:
          # resource states
    #      - "STOPPED"
    #      - "STARTING"
          - "STARTED"
    #      - "STOPPING"
    #      - "UPDATING"
    #      - "FAILED"
    #      - "MAINTAINED"
    #      - "MAINTAINED_MANUAL"
    #      - "REMOVING"
    #      - "NOT_EXISTING"
    #      - "UNKNOWN"

    resourcekinds:
        vcops_resourcekinds:
          - "vC-Ops-Analytics"
          - "vC-Ops-CaSA"
          - "vC-Ops-Cluster"
          - "vC-Ops-Collector"
          - "vC-Ops-Node"
          - "vC-Ops-Suite-API"
          - "vC-Ops-Watchdog"

        sddc_resourcekinds:
          - "NSXT Server"
          - "VCENTER"
          - "NSXVPostgresService"
          - "SSHService"
          - "NSXReplicatorService"
          - "NSXRabbitmqService"
          - "NSXManagerService"
          - "NSXControllerService"
          - "SDDCHealth Instance"
          - "vCenterBackupJob"
