mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
cloudstack: add new param api_timeout
This commit is contained in:
parent
218c0bce18
commit
2ca6d151b2
11 changed files with 11 additions and 0 deletions
|
@ -368,6 +368,7 @@ def main():
|
||||||
api_secret = dict(default=None, no_log=True),
|
api_secret = dict(default=None, no_log=True),
|
||||||
api_url = dict(default=None),
|
api_url = dict(default=None),
|
||||||
api_http_method = dict(default='get'),
|
api_http_method = dict(default='get'),
|
||||||
|
api_timeout = dict(type='int', default=10),
|
||||||
),
|
),
|
||||||
required_together = (
|
required_together = (
|
||||||
['api_key', 'api_secret', 'api_url'],
|
['api_key', 'api_secret', 'api_url'],
|
||||||
|
|
|
@ -221,6 +221,7 @@ def main():
|
||||||
api_secret = dict(default=None, no_log=True),
|
api_secret = dict(default=None, no_log=True),
|
||||||
api_url = dict(default=None),
|
api_url = dict(default=None),
|
||||||
api_http_method = dict(default='get'),
|
api_http_method = dict(default='get'),
|
||||||
|
api_timeout = dict(type='int', default=10),
|
||||||
),
|
),
|
||||||
required_together = (
|
required_together = (
|
||||||
['api_key', 'api_secret', 'api_url'],
|
['api_key', 'api_secret', 'api_url'],
|
||||||
|
|
|
@ -420,6 +420,7 @@ def main():
|
||||||
api_secret = dict(default=None, no_log=True),
|
api_secret = dict(default=None, no_log=True),
|
||||||
api_url = dict(default=None),
|
api_url = dict(default=None),
|
||||||
api_http_method = dict(default='get'),
|
api_http_method = dict(default='get'),
|
||||||
|
api_timeout = dict(type='int', default=10),
|
||||||
),
|
),
|
||||||
required_one_of = (
|
required_one_of = (
|
||||||
['ip_address', 'network'],
|
['ip_address', 'network'],
|
||||||
|
|
|
@ -801,6 +801,7 @@ def main():
|
||||||
api_secret = dict(default=None, no_log=True),
|
api_secret = dict(default=None, no_log=True),
|
||||||
api_url = dict(default=None),
|
api_url = dict(default=None),
|
||||||
api_http_method = dict(default='get'),
|
api_http_method = dict(default='get'),
|
||||||
|
api_timeout = dict(type='int', default=10),
|
||||||
),
|
),
|
||||||
required_together = (
|
required_together = (
|
||||||
['api_key', 'api_secret', 'api_url'],
|
['api_key', 'api_secret', 'api_url'],
|
||||||
|
|
|
@ -199,6 +199,7 @@ def main():
|
||||||
api_secret = dict(default=None, no_log=True),
|
api_secret = dict(default=None, no_log=True),
|
||||||
api_url = dict(default=None),
|
api_url = dict(default=None),
|
||||||
api_http_method = dict(default='get'),
|
api_http_method = dict(default='get'),
|
||||||
|
api_timeout = dict(type='int', default=10),
|
||||||
),
|
),
|
||||||
required_together = (
|
required_together = (
|
||||||
['api_key', 'api_secret', 'api_url'],
|
['api_key', 'api_secret', 'api_url'],
|
||||||
|
|
|
@ -331,6 +331,7 @@ def main():
|
||||||
api_secret = dict(default=None, no_log=True),
|
api_secret = dict(default=None, no_log=True),
|
||||||
api_url = dict(default=None),
|
api_url = dict(default=None),
|
||||||
api_http_method = dict(default='get'),
|
api_http_method = dict(default='get'),
|
||||||
|
api_timeout = dict(type='int', default=10),
|
||||||
),
|
),
|
||||||
required_together = (
|
required_together = (
|
||||||
['api_key', 'api_secret', 'api_url'],
|
['api_key', 'api_secret', 'api_url'],
|
||||||
|
|
|
@ -403,6 +403,7 @@ def main():
|
||||||
api_secret = dict(default=None, no_log=True),
|
api_secret = dict(default=None, no_log=True),
|
||||||
api_url = dict(default=None),
|
api_url = dict(default=None),
|
||||||
api_http_method = dict(default='get'),
|
api_http_method = dict(default='get'),
|
||||||
|
api_timeout = dict(type='int', default=10),
|
||||||
),
|
),
|
||||||
required_together = (
|
required_together = (
|
||||||
['api_key', 'api_secret', 'api_url'],
|
['api_key', 'api_secret', 'api_url'],
|
||||||
|
|
|
@ -164,6 +164,7 @@ def main():
|
||||||
api_secret = dict(default=None, no_log=True),
|
api_secret = dict(default=None, no_log=True),
|
||||||
api_url = dict(default=None),
|
api_url = dict(default=None),
|
||||||
api_http_method = dict(default='get'),
|
api_http_method = dict(default='get'),
|
||||||
|
api_timeout = dict(type='int', default=10),
|
||||||
),
|
),
|
||||||
required_together = (
|
required_together = (
|
||||||
['api_key', 'api_secret', 'api_url'],
|
['api_key', 'api_secret', 'api_url'],
|
||||||
|
|
|
@ -400,6 +400,7 @@ def main():
|
||||||
api_secret = dict(default=None, no_log=True),
|
api_secret = dict(default=None, no_log=True),
|
||||||
api_url = dict(default=None),
|
api_url = dict(default=None),
|
||||||
api_http_method = dict(default='get'),
|
api_http_method = dict(default='get'),
|
||||||
|
api_timeout = dict(type='int', default=10),
|
||||||
),
|
),
|
||||||
required_together = (
|
required_together = (
|
||||||
['icmp_type', 'icmp_code'],
|
['icmp_type', 'icmp_code'],
|
||||||
|
|
|
@ -218,6 +218,7 @@ def main():
|
||||||
api_secret = dict(default=None, no_log=True),
|
api_secret = dict(default=None, no_log=True),
|
||||||
api_url = dict(default=None),
|
api_url = dict(default=None),
|
||||||
api_http_method = dict(default='get'),
|
api_http_method = dict(default='get'),
|
||||||
|
api_timeout = dict(type='int', default=10),
|
||||||
),
|
),
|
||||||
required_together = (
|
required_together = (
|
||||||
['api_key', 'api_secret', 'api_url'],
|
['api_key', 'api_secret', 'api_url'],
|
||||||
|
|
|
@ -290,6 +290,7 @@ def main():
|
||||||
api_secret = dict(default=None, no_log=True),
|
api_secret = dict(default=None, no_log=True),
|
||||||
api_url = dict(default=None),
|
api_url = dict(default=None),
|
||||||
api_http_method = dict(default='get'),
|
api_http_method = dict(default='get'),
|
||||||
|
api_timeout = dict(type='int', default=10),
|
||||||
),
|
),
|
||||||
required_together = (
|
required_together = (
|
||||||
['icmp_type', 'icmp_code'],
|
['icmp_type', 'icmp_code'],
|
||||||
|
|
Loading…
Reference in a new issue