Class: Ansible::Ruby::Modules::Digital_ocean_floating_ip
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Digital_ocean_floating_ip
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_floating_ip.rb
Overview
Create/delete/assign a floating IP.
Instance Method Summary collapse
-
#droplet_id ⇒ Integer?
The Droplet that the Floating IP has been assigned to.
-
#ip ⇒ String?
Public IP address of the Floating IP.
-
#oauth_token ⇒ Object
DigitalOcean OAuth token.
-
#region ⇒ String?
The region that the Floating IP is reserved to.
-
#state ⇒ :present, ...
Indicate desired state of the target.
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
#droplet_id ⇒ Integer?
Returns The Droplet that the Floating IP has been assigned to.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_floating_ip.rb', line 24 attribute :droplet_id |
#ip ⇒ String?
Returns Public IP address of the Floating IP. Used to remove an IP.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_floating_ip.rb', line 16 attribute :ip |
#oauth_token ⇒ Object
Returns DigitalOcean OAuth token.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_floating_ip.rb', line 28 attribute :oauth_token |
#region ⇒ String?
Returns The region that the Floating IP is reserved to.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_floating_ip.rb', line 20 attribute :region |
#state ⇒ :present, ...
Returns Indicate desired state of the target.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_floating_ip.rb', line 12 attribute :state |