Class: Ansible::Ruby::Modules::Gce_eip
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gce_eip
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gce_eip.rb
Overview
Create (reserve) or Destroy (release) Regional or Global IP Addresses. See U(cloud.google.com/compute/docs/configure-instance-ip-addresses#reserve_new_static) for more on reserving static addresses.
Instance Method Summary collapse
-
#name ⇒ String
Name of Address.
-
#region ⇒ String
Region to create the address in.
-
#state ⇒ :present, ...
The state the address should be in.
Methods inherited from Base
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
#name ⇒ String
Returns Name of Address.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_eip.rb', line 12 attribute :name |
#region ⇒ String
Returns Region to create the address in. Set to ‘global’ to create a global address.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_eip.rb', line 16 attribute :region |
#state ⇒ :present, ...
Returns The state the address should be in. C(present) or C(absent) are the only valid options.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_eip.rb', line 20 attribute :state |