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
parent fcd1486b51
commit 05c6ff79f9
908 changed files with 4822 additions and 4821 deletions

View File

@@ -251,17 +251,17 @@ RETURN = '''
overwrite:
description: Whether to the module was allowed to overwrite the record
returned: success
type: boolean
type: bool
sample: True
record:
description: Fully-qualified domain name of the resource record
returned: success
type: string
type: str
sample: mail.example.com.
state:
description: Whether the record is present or absent
returned: success
type: string
type: str
sample: present
ttl:
description: The time-to-live of the resource record
@@ -271,7 +271,7 @@ ttl:
type:
description: The type of the resource record
returned: success
type: string
type: str
sample: A
record_data:
description: The resource record values
@@ -281,12 +281,12 @@ record_data:
zone:
description: The dns name of the zone
returned: success
type: string
type: str
sample: example.com.
zone_id:
description: The Google Cloud DNS ID of the zone
returned: success
type: string
type: str
sample: example-com
'''

View File

@@ -86,17 +86,17 @@ RETURN = '''
description:
description: The zone's description
returned: success
type: string
type: str
sample: This is an awesome zone
state:
description: Whether the zone is present or absent
returned: success
type: string
type: str
sample: present
zone:
description: The zone's DNS name
returned: success
type: string
type: str
sample: example.com.
'''

View File

@@ -64,17 +64,17 @@ RETURN = '''
address:
description: IP address being operated on
returned: always
type: string
type: str
sample: "35.186.222.233"
name:
description: name of the address being operated on
returned: always
type: string
type: str
sample: "my-address"
region:
description: Which region an address belongs.
returned: always
type: string
type: str
sample: "global"
'''

View File

@@ -159,19 +159,19 @@ RETURN = '''
zone:
description: Zone in which to launch MIG.
returned: always
type: string
type: str
sample: "us-central1-b"
template:
description: Instance Template to use for VMs. Must exist prior to using with MIG.
returned: changed
type: string
type: str
sample: "my-instance-template"
name:
description: Name of the Managed Instance Group.
returned: changed
type: string
type: str
sample: "my-managed-instance-group"
named_ports:

View File

@@ -166,25 +166,25 @@ RETURN = '''
allowed:
description: Rules (ports and protocols) specified by this firewall rule.
returned: When specified
type: string
type: str
sample: "tcp:80;icmp"
fwname:
description: Name of the firewall rule.
returned: When specified
type: string
type: str
sample: "my-fwname"
ipv4_range:
description: IPv4 range of the specified network or subnetwork.
returned: when specified or when a subnetwork is created
type: string
type: str
sample: "10.0.0.0/16"
name:
description: Name of the network.
returned: always
type: string
type: str
sample: "my-network"
src_range:
@@ -202,19 +202,19 @@ src_tags:
state:
description: State of the item operated on.
returned: always
type: string
type: str
sample: "present"
subnet_name:
description: Name of the subnetwork.
returned: when specified or when a subnetwork is created
type: string
type: str
sample: "my-subnetwork"
subnet_region:
description: Region of the specified subnet.
returned: when specified or when a subnetwork is created
type: string
type: str
sample: "us-east1"
target_tags:

View File

@@ -115,17 +115,17 @@ RETURN = '''
backend_service_created:
description: Indicator Backend Service was created.
returned: When a Backend Service is created.
type: boolean
type: bool
sample: "True"
backend_service_deleted:
description: Indicator Backend Service was deleted.
returned: When a Backend Service is deleted.
type: boolean
type: bool
sample: "True"
backend_service_name:
description: Name of the Backend Service.
returned: Always.
type: string
type: str
sample: "my-backend-service"
backends:
description: List of backends (comprised of instance_group) that
@@ -136,7 +136,7 @@ backends:
enable_cdn:
description: If Cloud CDN is enabled. null if not set.
returned: When a backend service exists.
type: boolean
type: bool
sample: "True"
healthchecks:
description: List of healthchecks applied to the Backend Service.
@@ -146,12 +146,12 @@ healthchecks:
protocol:
description: Protocol used to communicate with the Backends.
returned: When a Backend Service exists.
type: string
type: str
sample: "HTTP"
port_name:
description: Name of Backend Port.
returned: When a Backend Service exists.
type: string
type: str
sample: "myhttpport"
timeout:
description: In seconds, how long before a request sent to a backend is