|
|
@ -271,9 +271,9 @@ def main():
|
|
|
|
argument_spec = rax_argument_spec()
|
|
|
|
argument_spec = rax_argument_spec()
|
|
|
|
argument_spec.update(
|
|
|
|
argument_spec.update(
|
|
|
|
dict(
|
|
|
|
dict(
|
|
|
|
entity_id=dict(),
|
|
|
|
entity_id=dict(required=True),
|
|
|
|
label=dict(),
|
|
|
|
label=dict(required=True),
|
|
|
|
check_type=dict(),
|
|
|
|
check_type=dict(required=True),
|
|
|
|
monitoring_zones_poll=dict(),
|
|
|
|
monitoring_zones_poll=dict(),
|
|
|
|
target_hostname=dict(),
|
|
|
|
target_hostname=dict(),
|
|
|
|
target_alias=dict(),
|
|
|
|
target_alias=dict(),
|
|
|
@ -282,7 +282,7 @@ def main():
|
|
|
|
metadata=dict(type='dict', default={}),
|
|
|
|
metadata=dict(type='dict', default={}),
|
|
|
|
period=dict(type='int'),
|
|
|
|
period=dict(type='int'),
|
|
|
|
timeout=dict(type='int'),
|
|
|
|
timeout=dict(type='int'),
|
|
|
|
state=dict(default='present')
|
|
|
|
state=dict(default='present', choices=['present', 'absent'])
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|