Class: Tiktalik::Computing::VPSNetInterface
- Defined in:
- lib/tiktalik/computing/vpsnetinterface.rb
Instance Attribute Summary collapse
-
#ip ⇒ Object
readonly
String.
-
#mac ⇒ Object
readonly
String.
-
#network ⇒ Object
readonly
String.
-
#seq ⇒ Object
readonly
String.
-
#uuid ⇒ Object
readonly
String.
Instance Method Summary collapse
-
#destroy ⇒ Object
Remove virtual machine network interface.
Methods inherited from Object
Constructor Details
This class inherits a constructor from Tiktalik::Object
Instance Attribute Details
#ip ⇒ Object (readonly)
String
7 8 9 |
# File 'lib/tiktalik/computing/vpsnetinterface.rb', line 7 def ip @ip end |
#mac ⇒ Object (readonly)
String
7 8 9 |
# File 'lib/tiktalik/computing/vpsnetinterface.rb', line 7 def mac @mac end |
#network ⇒ Object (readonly)
String
7 8 9 |
# File 'lib/tiktalik/computing/vpsnetinterface.rb', line 7 def network @network end |
#seq ⇒ Object (readonly)
String
7 8 9 |
# File 'lib/tiktalik/computing/vpsnetinterface.rb', line 7 def seq @seq end |
#uuid ⇒ Object (readonly)
String
7 8 9 |
# File 'lib/tiktalik/computing/vpsnetinterface.rb', line 7 def uuid @uuid end |
Instance Method Details
#destroy ⇒ Object
Remove virtual machine network interface.
14 15 16 17 |
# File 'lib/tiktalik/computing/vpsnetinterface.rb', line 14 def destroy request(:delete, "/computing/instance/#{@instance_uuid}/interface/#{@uuid}") true end |