This is a simple module that supports creating or removing NIC Flowlogs. This module has a dependency on ionoscloud >= 6.0.2
Example Syntax
name:Create a nic flowlogionoscloudsdk.ionoscloud.nic_flowlog:name:'AnsibleAutoTestCompute'action:ACCEPTEDdirection:INGRESSbucket:sdktestdatacenter:''server:''nic:''register:flowlog_responsename:Update a nic flowlogionoscloudsdk.ionoscloud.nic_flowlog:name:'AnsibleAutoTestCompute'action:ALLdirection:INGRESSbucket:sdktestdatacenter:''server:''nic:''flowlog:''state:updateregister:flowlog_update_responsename:Delete a nic flowlogionoscloudsdk.ionoscloud.nic_flowlog:datacenter:''server:''nic:''flowlog:''name:'AnsibleAutoTestCompute'state:absentwait:trueregister:flowlog_delete_response
For more examples please check out the tests here.
state: present
name:Create a nic flowlogionoscloudsdk.ionoscloud.nic_flowlog:name:'AnsibleAutoTestCompute'action:ACCEPTEDdirection:INGRESSbucket:sdktestdatacenter:''server:''nic:''register:flowlog_response
Available parameters for state present:
state: absent
name:Delete a nic flowlogionoscloudsdk.ionoscloud.nic_flowlog:datacenter:''server:''nic:''flowlog:''name:'AnsibleAutoTestCompute'state:absentwait:trueregister:flowlog_delete_response
Available parameters for state absent:
state: update
name:Update a nic flowlogionoscloudsdk.ionoscloud.nic_flowlog:name:'AnsibleAutoTestCompute'action:ALLdirection:INGRESSbucket:sdktestdatacenter:''server:''nic:''flowlog:''state:updateregister:flowlog_update_response