Class: Ansible::Ruby::Modules::Gcp_compute_firewall

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_firewall.rb

Overview

Each network has its own firewall controlling access to and from the instances. All traffic to instances, even from other instances, is blocked by the firewall unless firewall rules are created to allow it. The default network has automatically created firewall rules that are shown in default firewall rules. No manually created network has automatically created firewall rules except for a default “allow” rule for outgoing traffic and a default “deny” for incoming traffic. For all networks except the default network, you must create any firewall rules you need.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#allowedArray<Hash>, ...



18
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_firewall.rb', line 18

attribute :allowed

#descriptionObject?



22
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_firewall.rb', line 22

attribute :description

#nameString?



25
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_firewall.rb', line 25

attribute :name

#networkObject?



29
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_firewall.rb', line 29

attribute :network

#source_rangesObject?



32
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_firewall.rb', line 32

attribute :source_ranges

#source_tagsArray<String>, ...



35
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_firewall.rb', line 35

attribute :source_tags

#state:present, ...



14
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_firewall.rb', line 14

attribute :state

#target_tagsArray<String>, ...



39
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_firewall.rb', line 39

attribute :target_tags