class Hetzner::Instance
- Hetzner::Instance
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
hetzner/instance.crConstructors
- .new(id : Int32, status : String, instance_name : String, internal_ip : String, external_ip : String)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #host_ip_address
- #id : Int32
- #id=(id : Int32)
- #master?
- #name : String
- #name=(name : String)
- #private_ip_address
- #private_net : Array(Hetzner::NetworkInterface) | Nil
- #public_ip_address
- #public_net : PublicNet | Nil
- #status : String
- #status=(status : String)
Constructor Detail
def self.new(id : Int32, status : String, instance_name : String, internal_ip : String, external_ip : String)
#