Class: Ansible::Ruby::Modules::Gce_eip

Inherits:
Base show all
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

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

#nameString

Returns Name of Address.

Returns:

  • (String)

    Name of Address.



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

attribute :name

#regionString

Returns Region to create the address in. Set to ‘global’ to create a global address.

Returns:

  • (String)

    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.

Returns:

  • (:present, :absent, nil)

    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