Convert to reduced list of known types (#50010)

This commit is contained in:
Dag Wieers 2018-12-18 22:25:30 +01:00 committed by Jordan Borean
commit 05c6ff79f9
908 changed files with 4822 additions and 4821 deletions

View file

@ -116,37 +116,37 @@ RETURN = '''
href:
description: The API URL to get details about this floating IP.
returned: success when state == present
type: string
type: str
sample: https://api.cloudscale.ch/v1/floating-ips/2001:db8::cafe
network:
description: The CIDR notation of the network that is routed to your server.
returned: success when state == present
type: string
type: str
sample: 2001:db8::cafe/128
next_hop:
description: Your floating IP is routed to this IP address.
returned: success when state == present
type: string
type: str
sample: 2001:db8:dead:beef::42
reverse_ptr:
description: The reverse pointer for this floating IP address.
returned: success when state == present
type: string
type: str
sample: 185-98-122-176.cust.cloudscale.ch
server:
description: The floating IP is routed to this server.
returned: success when state == present
type: string
type: str
sample: 47cec963-fcd2-482f-bdb6-24461b2d47b1
ip:
description: The floating IP address or network. This is always present and used to identify floating IPs after creation.
returned: success
type: string
type: str
sample: 185.98.122.176
state:
description: The current status of the floating IP.
returned: success
type: string
type: str
sample: present
'''

View file

@ -152,32 +152,32 @@ RETURN = '''
href:
description: API URL to get details about this server
returned: success when not state == absent
type: string
type: str
sample: https://api.cloudscale.ch/v1/servers/cfde831a-4e87-4a75-960f-89b0148aa2cc
uuid:
description: The unique identifier for this server
returned: success
type: string
type: str
sample: cfde831a-4e87-4a75-960f-89b0148aa2cc
name:
description: The display name of the server
returned: success
type: string
type: str
sample: its-a-me-mario.cloudscale.ch
state:
description: The current status of the server
returned: success
type: string
type: str
sample: running
flavor:
description: The flavor that has been used for this server
returned: success when not state == absent
type: string
type: str
sample: flex-8
image:
description: The image used for booting this server
returned: success when not state == absent
type: string
type: str
sample: debian-8
volumes:
description: List of volumes attached to the server
@ -202,7 +202,7 @@ ssh_host_keys:
anti_affinity_with:
description: List of servers in the same anti-affinity group
returned: success when not state == absent
type: string
type: str
sample: []
'''