Class: Softlayer::Network::Component::Firewall

Inherits:
Entity
  • Object
show all
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

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

#apply_server_rule_subnet_countObject

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_subnetsObject

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_itemObject

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_componentObject

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_idObject

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

#idObject

Returns the value of attribute id.



9
10
11
# File 'lib/softlayer/network/component/firewall.rb', line 9

def id
  @id
end

#network_componentObject

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_idObject

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_requestObject

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_countObject

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_countObject

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

#rulesObject

Returns the value of attribute rules.



21
22
23
# File 'lib/softlayer/network/component/firewall.rb', line 21

def rules
  @rules
end

#statusObject

Returns the value of attribute status.



11
12
13
# File 'lib/softlayer/network/component/firewall.rb', line 11

def status
  @status
end

#subnet_countObject

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

#subnetsObject

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_subnetsObject



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_itemObject



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_componentObject



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_componentObject



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_requestObject



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_objectObject



44
45
46
# File 'lib/softlayer/network/component/firewall.rb', line 44

def get_object
  request(:get_object, Softlayer::Network::Component::Firewall)
end

#get_rulesObject



48
49
50
# File 'lib/softlayer/network/component/firewall.rb', line 48

def get_rules
  request(:get_rules, Array[Softlayer::Network::Component::Firewall::Rule])
end

#get_subnetsObject



52
53
54
# File 'lib/softlayer/network/component/firewall.rb', line 52

def get_subnets
  request(:get_subnets, Array[Softlayer::Network::Subnet])
end