Class: Ansible::Ruby::Modules::Gcp_compute_network

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

Overview

Represents a Network resource. Your Cloud Platform Console project can contain multiple networks, and each network can have multiple instances attached to it. A network allows you to define a gateway IP and the network range for the instances attached to that network. Every project is provided with a default network with preset configurations and firewall rules. You can choose to customize the default network by adding or removing rules, or you can create new networks in that project. Generally, most users only need one network, although you can have up to five networks per project by default. A network belongs to only one project, and each instance can only belong to one network. All Compute Engine networks use the IPv4 protocol. Compute Engine currently does not support IPv6. However, Google is a major advocate of IPv6 and it is an important future direction.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#auto_create_subnetworksSymbol?



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

attribute :auto_create_subnetworks

#descriptionObject?



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

attribute :description

#gateway_ipv4Object?



21
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_network.rb', line 21

attribute :gateway_ipv4

#ipv4_rangeObject?



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

attribute :ipv4_range

#nameString?



27
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_network.rb', line 27

attribute :name

#state:present, ...



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

attribute :state