ansible-collections / logicmonitor

Repo to house LogicMonitor Collection
BSD 3-Clause "New" or "Revised" License
6 stars 11 forks source link

Set collector group id on device group #18

Open xibriz opened 5 months ago

xibriz commented 5 months ago
SUMMARY

It should be possible to set the collector group id on the device group. Autobalance should also be considered.

ISSUE TYPE
COMPONENT NAME

lm_device_group

ADDITIONAL INFORMATION

When creating or updating a device group, only collector id is possible to set. Additional fields for collector group id and auto balance should be added.

- name: Set Collector group id
  logicmonitor.integration.lm_device_group:
    action: update
    company: "..."
    access_id: "..."
    access_key: "..."
    full_path: "PATH/TO/GROUP"
    auto_balance: true
    collector_group_id: 1
    optype: replace