director/lib/director/deployment_plan/resource_pool.rb
def spec
        {
          "name" => @name,
          "cloud_properties" => @cloud_properties,
          "stemcell" => @stemcell.spec
        }
      end
# Returns resource pools spec as Hash (usually for agent to serialize)
# @return [Hash] Resource pool spec
Returns resource pools spec as Hash (usually for agent to serialize)
Returns resource pools spec as Hash ( usually for agent to serialize )
def spec
        {
          "name" => @name,
          "cloud_properties" => @cloud_properties,
          "stemcell" => @stemcell.spec
        }
      end
def spec { "name" => @name , "cloud_properties" => @cloud_properties , "stemcell" => @stemcell . spec } end
Returns resource pools spec as Hash (usually for agent to serialize)
Returns resource pools spec as Hash ( usually for agent to serialize )
Resource pool spec
Resource pool spec
Hash