Class: HCloud::LoadBalancerType
- Defined in:
- lib/hcloud/resources/load_balancer_type.rb
Overview
Represents a load balancer type
List all load balancer types
HCloud::LoadBalancerType.all
# => [#<HCloud::LoadBalancerType id: 1, ...>, ...]
Search load balancer types
HCloud::LoadBalancerType.where(name: "cx11")
# => #<HCloud::LoadBalancerType id: 1, ...>
Find load balancer type by ID
HCloud::LoadBalancerType.find(1)
# => #<HCloud::LoadBalancerType id: 1, ...>
Method Summary
Methods inherited from Resource
#==, attribute, client, #initialize, #inspect, resource_name, #to_h
Constructor Details
This class inherits a constructor from HCloud::Resource