Class: Ansible::Ruby::Modules::Ec2_eip
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_eip
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb
Instance Method Summary collapse
-
#device_id ⇒ String?
The id of the device for the EIP.
-
#in_vpc ⇒ Boolean?
Allocate an EIP inside a VPC or not.
-
#public_ip ⇒ Object?
The elastic IP address to associate with the instance.,If absent, allocate a new address.
-
#release_on_disassociation ⇒ Boolean?
Whether or not to automatically release the EIP when it is disassociated.
-
#reuse_existing_ip_allowed ⇒ Boolean?
Reuse an EIP that is not associated to an instance (when available), instead of allocating a new one.
-
#state ⇒ :present, ...
If present, associate the IP with the instance.,If absent, disassociate the IP with the instance.
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
#device_id ⇒ String?
Returns The id of the device for the EIP. Can be an EC2 Instance id or Elastic Network Interface (ENI) id.
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb', line 10 attribute :device_id |
#in_vpc ⇒ Boolean?
Returns allocate an EIP inside a VPC or not.
21 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb', line 21 attribute :in_vpc |
#public_ip ⇒ Object?
Returns The elastic IP address to associate with the instance.,If absent, allocate a new address.
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb', line 14 attribute :public_ip |
#release_on_disassociation ⇒ Boolean?
Returns whether or not to automatically release the EIP when it is disassociated.
29 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb', line 29 attribute :release_on_disassociation |
#reuse_existing_ip_allowed ⇒ Boolean?
Returns Reuse an EIP that is not associated to an instance (when available), instead of allocating a new one.
25 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb', line 25 attribute :reuse_existing_ip_allowed |
#state ⇒ :present, ...
Returns If present, associate the IP with the instance.,If absent, disassociate the IP with the instance.
17 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb', line 17 attribute :state |