Class: Ansible::Ruby::Modules::Ec2_eni
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_eni
- Defined in:
- lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb
Instance Method Summary collapse
-
#delete_on_termination ⇒ Boolean?
Delete the interface when the instance it is attached to is terminated.
-
#description ⇒ String?
Optional description of the ENI.
-
#device_index ⇒ Integer?
The index of the device for the network interface attachment on the instance.
-
#eni_id ⇒ String, ...
The ID of the ENI.
-
#force_detach ⇒ Boolean?
Force detachment of the interface.
-
#instance_id ⇒ String?
Instance ID that you wish to attach ENI to.
-
#private_ip_address ⇒ String?
Private IP address.
-
#security_groups ⇒ Object?
List of security groups associated with the interface.
-
#source_dest_check ⇒ Object?
By default, interfaces perform source/destination checks.
-
#state ⇒ :present, ...
Create or delete ENI.
-
#subnet_id ⇒ String
ID of subnet in which to create the ENI.
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
#delete_on_termination ⇒ Boolean?
Returns Delete the interface when the instance it is attached to is terminated. You can only specify this flag when the interface is being modified, not on creation.
45 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 45 attribute :delete_on_termination |
#description ⇒ String?
Returns Optional description of the ENI.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 26 attribute :description |
#device_index ⇒ Integer?
Returns The index of the device for the network interface attachment on the instance.
37 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 37 attribute :device_index |
#eni_id ⇒ String, ...
Returns The ID of the ENI.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 10 attribute :eni_id |
#force_detach ⇒ Boolean?
Returns Force detachment of the interface. This applies either when explicitly detaching the interface by setting instance_id to None or when deleting an interface with state=absent.
41 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 41 attribute :force_detach |
#instance_id ⇒ String?
Returns Instance ID that you wish to attach ENI to. To detach an ENI from an instance, use ‘None’.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 14 attribute :instance_id |
#private_ip_address ⇒ String?
Returns Private IP address.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 18 attribute :private_ip_address |
#security_groups ⇒ Object?
Returns List of security groups associated with the interface. Only used when state=present.
30 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 30 attribute :security_groups |
#source_dest_check ⇒ Object?
Returns By default, interfaces perform source/destination checks. NAT instances however need this check to be disabled. You can only specify this flag when the interface is being modified, not on creation.
49 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 49 attribute :source_dest_check |
#state ⇒ :present, ...
Returns Create or delete ENI.
33 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 33 attribute :state |
#subnet_id ⇒ String
Returns ID of subnet in which to create the ENI. Only required when state=present.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 22 attribute :subnet_id |