Class: Ansible::Ruby::Modules::Gce_net
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gce_net
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/google/gce_net.rb
Instance Method Summary collapse
-
#allowed ⇒ Array<String>, ...
The protocol:ports to allow (‘tcp:80’ or ‘tcp:80,443’ or ‘tcp:80-800;udp:1-25’).
-
#credentials_file ⇒ Object?
Path to the JSON file associated with the service account email.
-
#fwname ⇒ String?
Name of the firewall rule.
-
#ipv4_range ⇒ String?
The IPv4 address range in CIDR notation for the network this parameter is not mandatory when you specified existing network in name parameter, but when you create new network, this parameter is mandatory.
-
#name ⇒ String?
Name of the network.
-
#pem_file ⇒ Object?
Path to the pem file associated with the service account email This option is deprecated.
-
#project_id ⇒ Object?
Your GCE project ID.
-
#service_account_email ⇒ Object?
Service account email.
-
#src_range ⇒ Object?
The source IPv4 address range in CIDR notation.
-
#src_tags ⇒ Array<String>, ...
The source instance tags for creating a firewall rule.
-
#state ⇒ :active, ...
Desired state of the network or firewall.
-
#target_tags ⇒ Object?
The target instance tags for creating a firewall rule.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#allowed ⇒ Array<String>, ...
Returns the protocol:ports to allow (‘tcp:80’ or ‘tcp:80,443’ or ‘tcp:80-800;udp:1-25’).
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/google/gce_net.rb', line 10 attribute :allowed |
#credentials_file ⇒ Object?
Returns path to the JSON file associated with the service account email.
46 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/google/gce_net.rb', line 46 attribute :credentials_file |
#fwname ⇒ String?
Returns name of the firewall rule.
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/google/gce_net.rb', line 18 attribute :fwname |
#ipv4_range ⇒ String?
Returns the IPv4 address range in CIDR notation for the network this parameter is not mandatory when you specified existing network in name parameter, but when you create new network, this parameter is mandatory.
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/google/gce_net.rb', line 14 attribute :ipv4_range |
#name ⇒ String?
Returns name of the network.
22 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/google/gce_net.rb', line 22 attribute :name |
#pem_file ⇒ Object?
Returns path to the pem file associated with the service account email This option is deprecated. Use ‘credentials_file’.
43 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/google/gce_net.rb', line 43 attribute :pem_file |
#project_id ⇒ Object?
Returns your GCE project ID.
49 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/google/gce_net.rb', line 49 attribute :project_id |
#service_account_email ⇒ Object?
Returns service account email.
40 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/google/gce_net.rb', line 40 attribute :service_account_email |
#src_range ⇒ Object?
Returns the source IPv4 address range in CIDR notation.
26 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/google/gce_net.rb', line 26 attribute :src_range |
#src_tags ⇒ Array<String>, ...
Returns the source instance tags for creating a firewall rule.
29 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/google/gce_net.rb', line 29 attribute :src_tags |
#state ⇒ :active, ...
Returns desired state of the network or firewall.
36 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/google/gce_net.rb', line 36 attribute :state |
#target_tags ⇒ Object?
Returns the target instance tags for creating a firewall rule.
33 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/google/gce_net.rb', line 33 attribute :target_tags |