mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Fix types
This commit is contained in:
parent
d99cba6dc5
commit
ccc94c0660
1 changed files with 7 additions and 6 deletions
|
@ -1,8 +1,9 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||||
|
|
||||||
from __future__ import absolute_import, division, print_function
|
from __future__ import absolute_import, division, print_function
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
||||||
|
|
||||||
ANSIBLE_METADATA = {
|
ANSIBLE_METADATA = {
|
||||||
'metadata_version': '1.1',
|
'metadata_version': '1.1',
|
||||||
|
@ -86,7 +87,7 @@ error:
|
||||||
raw:
|
raw:
|
||||||
description: The raw output returned by the APIC REST API (xml or json)
|
description: The raw output returned by the APIC REST API (xml or json)
|
||||||
returned: parse error
|
returned: parse error
|
||||||
type: string
|
type: str
|
||||||
sample: '<?xml version="1.0" encoding="UTF-8"?><imdata totalCount="1"><error code="122" text="unknown managed object class foo"/></imdata>'
|
sample: '<?xml version="1.0" encoding="UTF-8"?><imdata totalCount="1"><error code="122" text="unknown managed object class foo"/></imdata>'
|
||||||
sent:
|
sent:
|
||||||
description: The actual/minimal configuration pushed to the APIC
|
description: The actual/minimal configuration pushed to the APIC
|
||||||
|
@ -135,17 +136,17 @@ proposed:
|
||||||
filter_string:
|
filter_string:
|
||||||
description: The filter string used for the request
|
description: The filter string used for the request
|
||||||
returned: failure or debug
|
returned: failure or debug
|
||||||
type: string
|
type: str
|
||||||
sample: ?rsp-prop-include=config-only
|
sample: ?rsp-prop-include=config-only
|
||||||
method:
|
method:
|
||||||
description: The HTTP method used for the request to the APIC
|
description: The HTTP method used for the request to the APIC
|
||||||
returned: failure or debug
|
returned: failure or debug
|
||||||
type: string
|
type: str
|
||||||
sample: POST
|
sample: POST
|
||||||
response:
|
response:
|
||||||
description: The HTTP response from the APIC
|
description: The HTTP response from the APIC
|
||||||
returned: failure or debug
|
returned: failure or debug
|
||||||
type: string
|
type: str
|
||||||
sample: OK (30 bytes)
|
sample: OK (30 bytes)
|
||||||
status:
|
status:
|
||||||
description: The HTTP status from the APIC
|
description: The HTTP status from the APIC
|
||||||
|
@ -155,7 +156,7 @@ status:
|
||||||
url:
|
url:
|
||||||
description: The HTTP url used for the request to the APIC
|
description: The HTTP url used for the request to the APIC
|
||||||
returned: failure or debug
|
returned: failure or debug
|
||||||
type: string
|
type: str
|
||||||
sample: https://10.11.12.13/api/mo/uni/tn-production.json
|
sample: https://10.11.12.13/api/mo/uni/tn-production.json
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue