class Bosh::Template::Test::LinkInstance

Attributes

address[R]
az[R]
bootstrap[R]
id[R]
index[R]
name[R]

Public Class Methods

new( name: 'i-name', id: 'jkl8098', index: 4, az: 'az4', address: 'link.instance.address.com', bootstrap: false) click to toggle source
# File lib/bosh/template/test/link_instance.rb, line 5
def initialize(
  name: 'i-name',
    id: 'jkl8098',
    index: 4,
    az: 'az4',
    address: 'link.instance.address.com',
    bootstrap: false)
  @bootstrap = bootstrap
  @address = address
  @az = az
  @index = index
  @id = id
  @name = name
end

Public Instance Methods

to_h() click to toggle source
# File lib/bosh/template/test/link_instance.rb, line 20
def to_h
  {
    'name' => name,
    'id' => id,
    'index' => index,
    'az' => az,
    'address' => address,
    'bootstrap' => bootstrap
  }
end