func Properties(host *object.HostSystem) (*mo.HostSystem, error) {
	ctx, cancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
	defer cancel()
	var props mo.HostSystem
	if err := host.Properties(ctx, host.Reference(), nil, &props); err != nil {
		return nil, err
	}
	return &props, nil
}
func Properties(host *object.HostSystem) (*mo.HostSystem, error) {
	ctx, cancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
	defer cancel()
	var props mo.HostSystem
	if err := host.Properties(ctx, host.Reference(), nil, &props); err != nil {
		return nil, err
	}
	return &props, nil
}
func Properties ( host * object . HostSystem ) ( * mo . HostSystem , error ) { ctx , cancel := context . WithTimeout ( context . Background ( ) , provider . DefaultAPITimeout ) defer cancel ( ) var props mo . HostSystem if err := host . Properties ( ctx , host . Reference ( ) , nil , & props ) ; err != nil { return nil , err } return & props , nil }
// Properties is a convenience method that wraps fetching the HostSystem MO
// from its higher-level object.
Properties is a convenience method that wraps fetching the HostSystem MO from its higher - level object .