adding ansible types in documentation (#303)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-07-16 14:19:07 -07:00 committed by Alex Stephen
parent 72e4cc7214
commit 43536a1e38
81 changed files with 844 additions and 0 deletions

View file

@ -68,6 +68,7 @@ options:
- An optional description of this resource. Provide this property when you create
the resource. This field can be set only at resource creation time.
required: false
type: str
ip_cidr_range:
description:
- The range of internal addresses that are owned by this subnetwork.
@ -75,6 +76,7 @@ options:
or 192.168.0.0/16. Ranges must be unique and non-overlapping within a network.
Only IPv4 is supported.
required: true
type: str
name:
description:
- The name of the resource, provided by the client when initially creating the
@ -84,6 +86,7 @@ options:
characters must be a dash, lowercase letter, or digit, except the last character,
which cannot be a dash.
required: true
type: str
network:
description:
- The network this subnet belongs to.
@ -94,6 +97,7 @@ options:
to a gcp_compute_network task and then set this network field to "{{ name-of-resource
}}"'
required: true
type: dict
enable_flow_logs:
description:
- Whether to enable flow logging for this subnetwork.
@ -106,6 +110,7 @@ options:
in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange
of the subnetwork. The alias IPs may belong to either primary or secondary ranges.
required: false
type: list
version_added: 2.8
suboptions:
range_name:
@ -114,6 +119,7 @@ options:
an alias IP range to a VM instance. The name must be 1-63 characters long,
and comply with RFC1035. The name must be unique within the subnetwork.
required: true
type: str
ip_cidr_range:
description:
- The range of IP addresses belonging to this subnetwork secondary range.
@ -121,6 +127,7 @@ options:
- Ranges must be unique and non-overlapping with all primary and secondary
IP ranges within a network. Only IPv4 is supported.
required: true
type: str
private_ip_google_access:
description:
- When enabled, VMs in this subnetwork without external IP addresses can access
@ -131,6 +138,7 @@ options:
description:
- URL of the GCP region for this subnetwork.
required: true
type: str
extends_documentation_fragment: gcp
notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/beta/subnetworks)'