Class: Ansible::Ruby::Modules::Gce_net

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

Overview

This module can create and destroy Google Compute Engine networks and firewall rules U(cloud.google.com/compute/docs/networking). The I(name) parameter is reserved for referencing a network while the I(fwname) parameter is used to reference firewall rules. IPv4 Address ranges must be specified using the CIDR U(en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) format. Full install/configuration instructions for the gce* modules can be found in the comments of ansible/test/gce_tests.py.

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

#allowedString?



12
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_net.rb', line 12

attribute :allowed

#credentials_fileObject?



47
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_net.rb', line 47

attribute :credentials_file

#fwnameString?



20
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_net.rb', line 20

attribute :fwname

#ipv4_rangeString?



16
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_net.rb', line 16

attribute :ipv4_range

#mode:legacy, ...



53
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_net.rb', line 53

attribute :mode

#nameString?



24
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_net.rb', line 24

attribute :name

#pem_fileObject?



44
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_net.rb', line 44

attribute :pem_file

#project_idObject?



50
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_net.rb', line 50

attribute :project_id

#service_account_emailObject?



41
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_net.rb', line 41

attribute :service_account_email

#src_rangeObject?



28
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_net.rb', line 28

attribute :src_range

#src_tagsObject?



31
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_net.rb', line 31

attribute :src_tags

#state:active, ...



37
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_net.rb', line 37

attribute :state

#subnet_descObject?



65
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_net.rb', line 65

attribute :subnet_desc

#subnet_nameString?



57
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_net.rb', line 57

attribute :subnet_name

#subnet_regionString?



61
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_net.rb', line 61

attribute :subnet_region

#target_tagsObject?



34
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_net.rb', line 34

attribute :target_tags