need elements listed in docs (#3141) (#161)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2020-02-18 22:32:06 -08:00 committed by GitHub
parent bfd4a8d72d
commit 69dc784c16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 159 additions and 0 deletions

View file

@ -59,6 +59,7 @@ options:
description:
- The list of ALLOW rules specified by this firewall. Each rule specifies a protocol
and port-range tuple that describes a permitted connection.
elements: dict
required: false
type: list
suboptions:
@ -77,12 +78,14 @@ options:
or a range. If not specified, this rule applies to connections through any
port.
- 'Example inputs include: ["22"], ["80","443"], and ["12345-12349"].'
elements: str
required: false
type: list
denied:
description:
- The list of DENY rules specified by this firewall. Each rule specifies a protocol
and port-range tuple that describes a denied connection.
elements: dict
required: false
type: list
version_added: '2.8'
@ -102,6 +105,7 @@ options:
or a range. If not specified, this rule applies to connections through any
port.
- 'Example inputs include: ["22"], ["80","443"], and ["12345-12349"].'
elements: str
required: false
type: list
description:
@ -115,6 +119,7 @@ options:
- If destination ranges are specified, the firewall will apply only to traffic
that has destination IP address in these ranges. These ranges must be expressed
in CIDR format. Only IPv4 is supported.
elements: str
required: false
type: list
version_added: '2.8'
@ -197,6 +202,7 @@ options:
sourceRanges OR the source IP that belongs to a tag listed in the sourceTags
property. The connection does not need to match both properties for the firewall
to apply. Only IPv4 is supported.
elements: str
required: false
type: list
source_service_accounts:
@ -210,6 +216,7 @@ options:
OR the source IP belongs to an instance with service account listed in sourceServiceAccount.
The connection does not need to match both properties for the firewall to apply.
sourceServiceAccounts cannot be used at the same time as sourceTags or targetTags.
elements: str
required: false
type: list
version_added: '2.8'
@ -223,6 +230,7 @@ options:
has source IP address within sourceRanges OR the source IP that belongs to a
tag listed in the sourceTags property. The connection does not need to match
both properties for the firewall to apply.
elements: str
required: false
type: list
target_service_accounts:
@ -232,6 +240,7 @@ options:
- targetServiceAccounts cannot be used at the same time as targetTags or sourceTags.
If neither targetServiceAccounts nor targetTags are specified, the firewall
rule applies to all instances on the specified network.
elements: str
required: false
type: list
version_added: '2.8'
@ -241,6 +250,7 @@ options:
that may make network connections as specified in allowed[].
- If no targetTags are specified, the firewall rule applies to all instances on
the specified network.
elements: str
required: false
type: list
project: