Class: Softlayer::Network::Component::Firewall
- Defined in:
- lib/softlayer/network/component/firewall.rb,
lib/softlayer/network/component/firewall/rule.rb,
lib/softlayer/network/component/firewall/subnets.rb
Defined Under Namespace
Classes: Representer, Rule, Subnets
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Component_Firewall'
Instance Attribute Summary collapse
-
#apply_server_rule_subnet_count ⇒ Object
Returns the value of attribute apply_server_rule_subnet_count.
-
#apply_server_rule_subnets ⇒ Object
Returns the value of attribute apply_server_rule_subnets.
-
#billing_item ⇒ Object
Returns the value of attribute billing_item.
-
#guest_network_component ⇒ Object
Returns the value of attribute guest_network_component.
-
#guest_network_component_id ⇒ Object
Returns the value of attribute guest_network_component_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#network_component ⇒ Object
Returns the value of attribute network_component.
-
#network_component_id ⇒ Object
Returns the value of attribute network_component_id.
-
#network_firewall_update_request ⇒ Object
Returns the value of attribute network_firewall_update_request.
-
#network_firewall_update_request_count ⇒ Object
Returns the value of attribute network_firewall_update_request_count.
-
#rule_count ⇒ Object
Returns the value of attribute rule_count.
-
#rules ⇒ Object
Returns the value of attribute rules.
-
#status ⇒ Object
Returns the value of attribute status.
-
#subnet_count ⇒ Object
Returns the value of attribute subnet_count.
-
#subnets ⇒ Object
Returns the value of attribute subnets.
Instance Method Summary collapse
- #get_apply_server_rule_subnets ⇒ Object
- #get_billing_item ⇒ Object
- #get_guest_network_component ⇒ Object
- #get_network_component ⇒ Object
- #get_network_firewall_update_request ⇒ Object
- #get_object ⇒ Object
- #get_rules ⇒ Object
- #get_subnets ⇒ Object
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
#apply_server_rule_subnet_count ⇒ Object
Returns the value of attribute apply_server_rule_subnet_count.
12 13 14 |
# File 'lib/softlayer/network/component/firewall.rb', line 12 def apply_server_rule_subnet_count @apply_server_rule_subnet_count end |
#apply_server_rule_subnets ⇒ Object
Returns the value of attribute apply_server_rule_subnets.
16 17 18 |
# File 'lib/softlayer/network/component/firewall.rb', line 16 def apply_server_rule_subnets @apply_server_rule_subnets end |
#billing_item ⇒ Object
Returns the value of attribute billing_item.
17 18 19 |
# File 'lib/softlayer/network/component/firewall.rb', line 17 def billing_item @billing_item end |
#guest_network_component ⇒ Object
Returns the value of attribute guest_network_component.
18 19 20 |
# File 'lib/softlayer/network/component/firewall.rb', line 18 def guest_network_component @guest_network_component end |
#guest_network_component_id ⇒ Object
Returns the value of attribute guest_network_component_id.
8 9 10 |
# File 'lib/softlayer/network/component/firewall.rb', line 8 def guest_network_component_id @guest_network_component_id end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/softlayer/network/component/firewall.rb', line 9 def id @id end |
#network_component ⇒ Object
Returns the value of attribute network_component.
19 20 21 |
# File 'lib/softlayer/network/component/firewall.rb', line 19 def network_component @network_component end |
#network_component_id ⇒ Object
Returns the value of attribute network_component_id.
10 11 12 |
# File 'lib/softlayer/network/component/firewall.rb', line 10 def network_component_id @network_component_id end |
#network_firewall_update_request ⇒ Object
Returns the value of attribute network_firewall_update_request.
20 21 22 |
# File 'lib/softlayer/network/component/firewall.rb', line 20 def network_firewall_update_request @network_firewall_update_request end |
#network_firewall_update_request_count ⇒ Object
Returns the value of attribute network_firewall_update_request_count.
13 14 15 |
# File 'lib/softlayer/network/component/firewall.rb', line 13 def network_firewall_update_request_count @network_firewall_update_request_count end |
#rule_count ⇒ Object
Returns the value of attribute rule_count.
14 15 16 |
# File 'lib/softlayer/network/component/firewall.rb', line 14 def rule_count @rule_count end |
#rules ⇒ Object
Returns the value of attribute rules.
21 22 23 |
# File 'lib/softlayer/network/component/firewall.rb', line 21 def rules @rules end |
#status ⇒ Object
Returns the value of attribute status.
11 12 13 |
# File 'lib/softlayer/network/component/firewall.rb', line 11 def status @status end |
#subnet_count ⇒ Object
Returns the value of attribute subnet_count.
15 16 17 |
# File 'lib/softlayer/network/component/firewall.rb', line 15 def subnet_count @subnet_count end |
#subnets ⇒ Object
Returns the value of attribute subnets.
22 23 24 |
# File 'lib/softlayer/network/component/firewall.rb', line 22 def subnets @subnets end |
Instance Method Details
#get_apply_server_rule_subnets ⇒ Object
24 25 26 |
# File 'lib/softlayer/network/component/firewall.rb', line 24 def get_apply_server_rule_subnets request(:get_apply_server_rule_subnets, Array[Softlayer::Network::Subnet]) end |
#get_billing_item ⇒ Object
28 29 30 |
# File 'lib/softlayer/network/component/firewall.rb', line 28 def get_billing_item request(:get_billing_item, Softlayer::Billing::Item) end |
#get_guest_network_component ⇒ Object
32 33 34 |
# File 'lib/softlayer/network/component/firewall.rb', line 32 def get_guest_network_component request(:get_guest_network_component, Softlayer::Virtual::Guest::Network::Component) end |
#get_network_component ⇒ Object
36 37 38 |
# File 'lib/softlayer/network/component/firewall.rb', line 36 def get_network_component request(:get_network_component, Softlayer::Network::Component) end |
#get_network_firewall_update_request ⇒ Object
40 41 42 |
# File 'lib/softlayer/network/component/firewall.rb', line 40 def get_network_firewall_update_request request(:get_network_firewall_update_request, Array[Softlayer::Network::Firewall::Update::Request]) end |
#get_object ⇒ Object
44 45 46 |
# File 'lib/softlayer/network/component/firewall.rb', line 44 def get_object request(:get_object, Softlayer::Network::Component::Firewall) end |