mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
meraki_admin - Added full return documentation for normal responses (#42487)
* Added full return documentation for normal responses * Changed returned for responses - Old responses were saying always returned, should have been success or something more refined
This commit is contained in:
@@ -121,20 +121,60 @@ EXAMPLES = r'''
|
|||||||
|
|
||||||
RETURN = r'''
|
RETURN = r'''
|
||||||
data:
|
data:
|
||||||
description: Information about the created or manipulated object.
|
description: List of administrators.
|
||||||
returned: info
|
returned: success
|
||||||
type: list
|
type: complex
|
||||||
sample:
|
contains:
|
||||||
[
|
email:
|
||||||
{
|
description: Email address of administrator.
|
||||||
"email": "john@doe.com",
|
returned: success
|
||||||
"id": "12345677890",
|
type: string
|
||||||
"name": "John Doe",
|
sample: your@email.com
|
||||||
"networks": [],
|
id:
|
||||||
"orgAccess": "full",
|
description: Unique identification number of administrator.
|
||||||
"tags": []
|
returned: success
|
||||||
}
|
type: string
|
||||||
]
|
sample: 1234567890
|
||||||
|
name:
|
||||||
|
description: Given name of administrator.
|
||||||
|
returned: success
|
||||||
|
type: string
|
||||||
|
sample: John Doe
|
||||||
|
networks:
|
||||||
|
description: List of networks administrator has access on.
|
||||||
|
returned: success
|
||||||
|
type: complex
|
||||||
|
contains:
|
||||||
|
id:
|
||||||
|
description: The network ID.
|
||||||
|
returned: when network permissions are set
|
||||||
|
type: string
|
||||||
|
sample: N_0123456789
|
||||||
|
access:
|
||||||
|
description: Access level of administrator. Options are 'full', 'read-only', or 'none'.
|
||||||
|
returned: when network permissions are set
|
||||||
|
type: string
|
||||||
|
sample: read-only
|
||||||
|
tags:
|
||||||
|
description: Tags the adminsitrator has access on.
|
||||||
|
returned: success
|
||||||
|
type: complex
|
||||||
|
contains:
|
||||||
|
tag:
|
||||||
|
description: Tag name.
|
||||||
|
returned: when tag permissions are set
|
||||||
|
type: string
|
||||||
|
sample: production
|
||||||
|
access:
|
||||||
|
description: Access level of administrator. Options are 'full', 'read-only', or 'none'.
|
||||||
|
returned: when tag permissions are set
|
||||||
|
type: string
|
||||||
|
sample: full
|
||||||
|
orgAccess:
|
||||||
|
description: The privilege of the dashboard administrator on the organization. Options are 'full', 'read-only', or 'none'.
|
||||||
|
returned: success
|
||||||
|
type: string
|
||||||
|
sample: full
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|||||||
Reference in New Issue
Block a user