func expandCustomizationLinuxPrep(d *schema.ResourceData) *types.CustomizationLinuxPrep {
	obj := &types.CustomizationLinuxPrep{
		HostName: &types.CustomizationFixedName{
			Name: d.Get(cLinuxKeyPrefix + "." + "host_name").(string),
		},
		Domain:     d.Get(cLinuxKeyPrefix + "." + "domain").(string),
		TimeZone:   d.Get(cLinuxKeyPrefix + "." + "time_zone").(string),
		HwClockUTC: structure.GetBoolPtr(d, cLinuxKeyPrefix+"."+"hw_clock_utc"),
	}
	return obj
}
func expandCustomizationLinuxPrep(d *schema.ResourceData) *types.CustomizationLinuxPrep {
	obj := &types.CustomizationLinuxPrep{
		HostName: &types.CustomizationFixedName{
			Name: d.Get(cLinuxKeyPrefix + "." + "host_name").(string),
		},
		Domain:     d.Get(cLinuxKeyPrefix + "." + "domain").(string),
		TimeZone:   d.Get(cLinuxKeyPrefix + "." + "time_zone").(string),
		HwClockUTC: structure.GetBoolPtr(d, cLinuxKeyPrefix+"."+"hw_clock_utc"),
	}
	return obj
}
func expandCustomizationLinuxPrep ( d * schema . ResourceData ) * types . CustomizationLinuxPrep { obj := & types . CustomizationLinuxPrep { HostName : & types . CustomizationFixedName { Name : d . Get ( cLinuxKeyPrefix + " " + " " ) . ( string ) , } , Domain : d . Get ( cLinuxKeyPrefix + " " + " " ) . ( string ) , TimeZone : d . Get ( cLinuxKeyPrefix + " " + " " ) . ( string ) , HwClockUTC : structure . GetBoolPtr ( d , cLinuxKeyPrefix + " " + " " ) , } return obj }
// expandCustomizationLinuxPrep reads certain ResourceData keys and
// returns a CustomizationLinuxPrep.
expandCustomizationLinuxPrep reads certain ResourceData keys and returns a CustomizationLinuxPrep .