mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-26 22:51:30 -07:00
removing documentation fragment
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
d7f9a2782f
commit
84e760b022
130 changed files with 6177 additions and 370 deletions
|
@ -40,7 +40,7 @@ description:
|
|||
incoming traffic. For all networks except the default network, you must create any
|
||||
firewall rules you need.
|
||||
short_description: Creates a GCP Firewall
|
||||
version_added: 2.6
|
||||
version_added: '2.6'
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
- python >= 2.6
|
||||
|
@ -85,7 +85,7 @@ options:
|
|||
and port-range tuple that describes a denied connection.
|
||||
required: false
|
||||
type: list
|
||||
version_added: 2.8
|
||||
version_added: '2.8'
|
||||
suboptions:
|
||||
ip_protocol:
|
||||
description:
|
||||
|
@ -117,7 +117,7 @@ options:
|
|||
in CIDR format. Only IPv4 is supported.
|
||||
required: false
|
||||
type: list
|
||||
version_added: 2.8
|
||||
version_added: '2.8'
|
||||
direction:
|
||||
description:
|
||||
- 'Direction of traffic to which this firewall applies; default is INGRESS. Note:
|
||||
|
@ -126,7 +126,7 @@ options:
|
|||
- 'Some valid choices include: "INGRESS", "EGRESS"'
|
||||
required: false
|
||||
type: str
|
||||
version_added: 2.8
|
||||
version_added: '2.8'
|
||||
disabled:
|
||||
description:
|
||||
- Denotes whether the firewall rule is disabled, i.e not applied to the network
|
||||
|
@ -135,7 +135,7 @@ options:
|
|||
rule will be enabled.
|
||||
required: false
|
||||
type: bool
|
||||
version_added: 2.8
|
||||
version_added: '2.8'
|
||||
name:
|
||||
description:
|
||||
- Name of the resource. Provided by the client when the resource is created. The
|
||||
|
@ -173,7 +173,7 @@ options:
|
|||
required: false
|
||||
default: '1000'
|
||||
type: int
|
||||
version_added: 2.8
|
||||
version_added: '2.8'
|
||||
source_ranges:
|
||||
description:
|
||||
- If source ranges are specified, the firewall will apply only to traffic that
|
||||
|
@ -198,7 +198,7 @@ options:
|
|||
sourceServiceAccounts cannot be used at the same time as sourceTags or targetTags.
|
||||
required: false
|
||||
type: list
|
||||
version_added: 2.8
|
||||
version_added: '2.8'
|
||||
source_tags:
|
||||
description:
|
||||
- If source tags are specified, the firewall will apply only to traffic with source
|
||||
|
@ -220,7 +220,7 @@ options:
|
|||
rule applies to all instances on the specified network.
|
||||
required: false
|
||||
type: list
|
||||
version_added: 2.8
|
||||
version_added: '2.8'
|
||||
target_tags:
|
||||
description:
|
||||
- A list of instance tags indicating sets of instances located in the network
|
||||
|
@ -229,10 +229,56 @@ options:
|
|||
the specified network.
|
||||
required: false
|
||||
type: list
|
||||
extends_documentation_fragment: gcp
|
||||
project:
|
||||
description:
|
||||
- The Google Cloud Platform project to use.
|
||||
type: str
|
||||
auth_kind:
|
||||
description:
|
||||
- The type of credential used.
|
||||
type: str
|
||||
required: true
|
||||
choices:
|
||||
- application
|
||||
- machineaccount
|
||||
- serviceaccount
|
||||
service_account_contents:
|
||||
description:
|
||||
- The contents of a Service Account JSON file, either in a dictionary or as a
|
||||
JSON string that represents it.
|
||||
type: jsonarg
|
||||
service_account_file:
|
||||
description:
|
||||
- The path of a Service Account JSON file if serviceaccount is selected as type.
|
||||
type: path
|
||||
service_account_email:
|
||||
description:
|
||||
- An optional service account email address if machineaccount is selected and
|
||||
the user does not wish to use the default email.
|
||||
type: str
|
||||
scopes:
|
||||
description:
|
||||
- Array of scopes to be used
|
||||
type: list
|
||||
env_type:
|
||||
description:
|
||||
- Specifies which Ansible environment you're running this module within.
|
||||
- This should not be set unless you know what you're doing.
|
||||
- This only alters the User Agent string for any API requests.
|
||||
type: str
|
||||
notes:
|
||||
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/firewalls)'
|
||||
- 'Official Documentation: U(https://cloud.google.com/vpc/docs/firewalls)'
|
||||
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
|
||||
env variable.
|
||||
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
|
||||
env variable.
|
||||
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
|
||||
env variable.
|
||||
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
|
||||
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
|
||||
- Environment variables values will only be used if the playbook values are not set.
|
||||
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue