Class: Softlayer::Tag
- Defined in:
- lib/softlayer/tag.rb,
lib/softlayer/tag/type.rb,
lib/softlayer/tag/reference.rb,
lib/softlayer/tag/reference/network.rb,
lib/softlayer/tag/reference/virtual.rb,
lib/softlayer/tag/reference/hardware.rb,
lib/softlayer/tag/reference/resource.rb,
lib/softlayer/tag/reference/network/vlan.rb,
lib/softlayer/tag/reference/virtual/guest.rb,
lib/softlayer/tag/reference/resource/group.rb,
lib/softlayer/tag/reference/network/application.rb,
lib/softlayer/tag/reference/virtual/guest/block.rb,
lib/softlayer/tag/reference/network/vlan/firewall.rb,
lib/softlayer/tag/reference/virtual/guest/block/device.rb,
lib/softlayer/tag/reference/network/application/delivery.rb,
lib/softlayer/tag/reference/virtual/guest/block/device/template.rb,
lib/softlayer/tag/reference/network/application/delivery/controller.rb,
lib/softlayer/tag/reference/virtual/guest/block/device/template/group.rb
Defined Under Namespace
Classes: Reference, Representer, Type
Constant Summary collapse
- SERVICE =
'SoftLayer_Tag'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#internal ⇒ Object
Returns the value of attribute internal.
-
#name ⇒ Object
Returns the value of attribute name.
-
#reference_count ⇒ Object
Returns the value of attribute reference_count.
-
#references ⇒ Object
Returns the value of attribute references.
Class Method Summary collapse
-
.auto_complete(message) ⇒ Object
tag.
- .get_all_tag_types ⇒ Object
-
.get_tag_by_tag_name(message) ⇒ Object
tag_list.
-
.set_tags(message) ⇒ Object
tags key_name resource_table_id.
Instance Method Summary collapse
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
11 12 13 |
# File 'lib/softlayer/tag.rb', line 11 def account @account end |
#account_id ⇒ Object
Returns the value of attribute account_id.
6 7 8 |
# File 'lib/softlayer/tag.rb', line 6 def account_id @account_id end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/softlayer/tag.rb', line 7 def id @id end |
#internal ⇒ Object
Returns the value of attribute internal.
8 9 10 |
# File 'lib/softlayer/tag.rb', line 8 def internal @internal end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/softlayer/tag.rb', line 9 def name @name end |
#reference_count ⇒ Object
Returns the value of attribute reference_count.
10 11 12 |
# File 'lib/softlayer/tag.rb', line 10 def reference_count @reference_count end |
#references ⇒ Object
Returns the value of attribute references.
12 13 14 |
# File 'lib/softlayer/tag.rb', line 12 def references @references end |
Class Method Details
.auto_complete(message) ⇒ Object
tag
15 16 17 |
# File 'lib/softlayer/tag.rb', line 15 def self.auto_complete() request(:auto_complete, Array[Softlayer::Tag], ) end |
.get_all_tag_types ⇒ Object
23 24 25 |
# File 'lib/softlayer/tag.rb', line 23 def self.get_all_tag_types request(:get_all_tag_types, Array[Softlayer::Tag::Type]) end |
.get_tag_by_tag_name(message) ⇒ Object
tag_list
36 37 38 |
# File 'lib/softlayer/tag.rb', line 36 def self.get_tag_by_tag_name() request(:get_tag_by_tag_name, Array[Softlayer::Tag], ) end |
.set_tags(message) ⇒ Object
tags key_name resource_table_id
43 44 45 |
# File 'lib/softlayer/tag.rb', line 43 def self.() request(:set_tags, Boolean, ) end |