mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Clean up module documentation (#36909)
* Clean up module documentation This PR includes: - Removal of `default: None` (and variations) - Removal of `required: false` - Fixing booleans and `type: bool` where required * Fix remaining (new) validation issues
This commit is contained in:
@@ -31,46 +31,34 @@ options:
|
||||
type:
|
||||
description:
|
||||
- Specifies the type of netstream global.
|
||||
required: false
|
||||
choices: ['ip', 'vxlan']
|
||||
default: 'ip'
|
||||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
choices: ['present', 'absent']
|
||||
default: present
|
||||
interface:
|
||||
description:
|
||||
- Netstream global interface.
|
||||
required: true
|
||||
default: null
|
||||
sampler_interval:
|
||||
description:
|
||||
- Specifies the netstream sampler interval, length is 1 - 65535.
|
||||
required: false
|
||||
default: null
|
||||
sampler_direction:
|
||||
description:
|
||||
- Specifies the netstream sampler direction.
|
||||
required: false
|
||||
choices: ['inbound', 'outbound']
|
||||
default: null
|
||||
statistics_direction:
|
||||
description:
|
||||
- Specifies the netstream statistic direction.
|
||||
required: false
|
||||
choices: ['inbound', 'outbound']
|
||||
default: null
|
||||
statistics_record:
|
||||
description:
|
||||
- Specifies the flexible netstream statistic record, length is 1 - 32.
|
||||
required: false
|
||||
default: null
|
||||
index_switch:
|
||||
description:
|
||||
- Specifies the netstream index-switch.
|
||||
required: false
|
||||
choices: ['16', '32']
|
||||
default: '16'
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user